Resource: Verification
A verification represents a verification attempt on a location.
JSON representation | |
---|---|
{ "name": string, "method": enum ( |
Fields | |
---|---|
name |
Resource name of the verification. |
method |
The method of the verification. |
state |
The state of the verification. |
createTime |
The timestamp when the verification is requested. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
VerificationMethod
Specifies the processes used by Google to verify a location.
Enums | |
---|---|
VERIFICATION_METHOD_UNSPECIFIED |
Default value, will result in errors. |
ADDRESS |
Send a postcard with a verification PIN to a specific mailing address. The PIN is used to complete verification with Google. |
EMAIL |
Send an email with a verification PIN to a specific email address. The PIN is used to complete verification with Google. |
PHONE_CALL |
Make a phone call with a verification PIN to a specific phone number. The PIN is used to complete verification with Google. |
SMS |
Send an SMS with a verification PIN to a specific phone number. The PIN is used to complete verification with Google. |
AUTO |
Verify the location without additional user action. This option may not be available for all locations. |
VerificationState
All possible verification states.
Enums | |
---|---|
VERIFICATION_STATE_UNSPECIFIED |
Default value, will result in errors. |
PENDING |
The verification is pending. |
COMPLETED |
The verification is completed. |
FAILED |
The verification is failed. |
Methods |
|
---|---|
|
Completes a PENDING verification. |
|
List verifications of a location, ordered by create time. |