Class VerifyLocationRequest
Request message for Verifications.VerifyLocation.
Implements
Inherited Members
Namespace: Google.Apis.MyBusinessVerifications.v1.Data
Assembly: Google.Apis.MyBusinessVerifications.v1.dll
Syntax
public class VerifyLocationRequest : IDirectResponseSchema
Properties
Context
Optional. Extra context information for the verification of service businesses. It is only required for the locations whose business type is CUSTOMER_LOCATION_ONLY. For ADDRESS verification, the address will be used to send out postcard. For other methods, it should be the same as the one that is passed to GetVerificationOptions. INVALID_ARGUMENT will be thrown if it is set for other types of business locations.
Declaration
[JsonProperty("context")]
public virtual ServiceBusinessContext Context { get; set; }
Property Value
Type | Description |
---|---|
ServiceBusinessContext |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EmailAddress
Optional. The input for EMAIL method. Email address where the PIN should be sent to. An email address is accepted only if it is one of the addresses provided by FetchVerificationOptions. If the EmailVerificationData has is_user_name_editable set to true, the client may specify a different user name (local-part) but must match the domain name.
Declaration
[JsonProperty("emailAddress")]
public virtual string EmailAddress { get; set; }
Property Value
Type | Description |
---|---|
string |
LanguageCode
Optional. The BCP 47 language code representing the language that is to be used for the verification process.
Declaration
[JsonProperty("languageCode")]
public virtual string LanguageCode { get; set; }
Property Value
Type | Description |
---|---|
string |
MailerContact
Optional. The input for ADDRESS method. Contact name the mail should be sent to.
Declaration
[JsonProperty("mailerContact")]
public virtual string MailerContact { get; set; }
Property Value
Type | Description |
---|---|
string |
Method
Required. Verification method.
Declaration
[JsonProperty("method")]
public virtual string Method { get; set; }
Property Value
Type | Description |
---|---|
string |
PhoneNumber
Optional. The input for PHONE_CALL/SMS method The phone number that should be called or be sent SMS to. It must be one of the phone numbers in the eligible options.
Declaration
[JsonProperty("phoneNumber")]
public virtual string PhoneNumber { get; set; }
Property Value
Type | Description |
---|---|
string |
Token
Optional. The input for VETTED_PARTNER method available to select partners. The input is not needed for a vetted account. Token that is associated to the location. Token that is associated to the location.
Declaration
[JsonProperty("token")]
public virtual VerificationToken Token { get; set; }
Property Value
Type | Description |
---|---|
VerificationToken |