class Google::Apis::ContentV2_1::VerifyPhoneNumberRequest

Request message for the VerifyPhoneNumber method.

Attributes

phone_verification_method[RW]

Verification method used to receive verification code. Corresponds to the JSON property `phoneVerificationMethod` @return [String]

verification_code[RW]

The verification code that was sent to the phone number for validation. Corresponds to the JSON property `verificationCode` @return [String]

verification_id[RW]

The verification ID returned by `requestphoneverification`. Corresponds to the JSON property `verificationId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 15658
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/content_v2_1/classes.rb, line 15663
def update!(**args)
  @phone_verification_method = args[:phone_verification_method] if args.key?(:phone_verification_method)
  @verification_code = args[:verification_code] if args.key?(:verification_code)
  @verification_id = args[:verification_id] if args.key?(:verification_id)
end