Class: Google::Apis::ContentV2_1::VerifyPhoneNumberRequest
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::VerifyPhoneNumberRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb
Overview
Request message for the VerifyPhoneNumber method.
Instance Attribute Summary collapse
-
#phone_verification_method ⇒ String
Verification method used to receive verification code.
-
#verification_code ⇒ String
The verification code that was sent to the phone number for validation.
-
#verification_id ⇒ String
The verification ID returned by
requestphoneverification.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VerifyPhoneNumberRequest
constructor
A new instance of VerifyPhoneNumberRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VerifyPhoneNumberRequest
Returns a new instance of VerifyPhoneNumberRequest.
13997 13998 13999 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13997 def initialize(**args) update!(**args) end |
Instance Attribute Details
#phone_verification_method ⇒ String
Verification method used to receive verification code.
Corresponds to the JSON property phoneVerificationMethod
13985 13986 13987 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13985 def phone_verification_method @phone_verification_method end |
#verification_code ⇒ String
The verification code that was sent to the phone number for validation.
Corresponds to the JSON property verificationCode
13990 13991 13992 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13990 def verification_code @verification_code end |
#verification_id ⇒ String
The verification ID returned by requestphoneverification.
Corresponds to the JSON property verificationId
13995 13996 13997 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 13995 def verification_id @verification_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14002 14003 14004 14005 14006 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 14002 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 |