class Google::Apis::MybusinessverificationsV1::VerifyLocationRequest
Request message for Verifications.VerifyLocation.
Attributes
Additional data for service business verification. Corresponds to the JSON property `context` @return [Google::Apis::MybusinessverificationsV1::ServiceBusinessContext]
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. Corresponds to the JSON property `emailAddress` @return [String]
Optional. The BCP 47 language code representing the language that is to be used for the verification process. Corresponds to the JSON property `languageCode` @return [String]
Optional. The input for ADDRESS method. Contact name the mail should be sent to. Corresponds to the JSON property `mailerContact` @return [String]
Required. Verification
method. Corresponds to the JSON property `method` @return [String]
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. Corresponds to the JSON property `phoneNumber` @return [String]
Token generated by a vetted [partner](support.google.com/business/ answer/7674102). Corresponds to the JSON property `token` @return [Google::Apis::MybusinessverificationsV1::VerificationToken]
Public Class Methods
# File lib/google/apis/mybusinessverifications_v1/classes.rb, line 676 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/mybusinessverifications_v1/classes.rb, line 681 def update!(**args) @context = args[:context] if args.key?(:context) @email_address = args[:email_address] if args.key?(:email_address) @language_code = args[:language_code] if args.key?(:language_code) @mailer_contact = args[:mailer_contact] if args.key?(:mailer_contact) @method_prop = args[:method_prop] if args.key?(:method_prop) @phone_number = args[:phone_number] if args.key?(:phone_number) @token = args[:token] if args.key?(:token) end