Class: Google::Apis::ContentV2_1::VerifyPhoneNumberResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2_1::VerifyPhoneNumberResponse
- 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
Response message for the VerifyPhoneNumber method.
Instance Attribute Summary collapse
-
#verified_phone_number ⇒ String
Verified phone number if verification is successful.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VerifyPhoneNumberResponse
constructor
A new instance of VerifyPhoneNumberResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VerifyPhoneNumberResponse
Returns a new instance of VerifyPhoneNumberResponse.
14765 14766 14767 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 14765 def initialize(**args) update!(**args) end |
Instance Attribute Details
#verified_phone_number ⇒ String
Verified phone number if verification is successful. This phone number can
only be replaced by another verified phone number.
Corresponds to the JSON property verifiedPhoneNumber
14763 14764 14765 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 14763 def verified_phone_number @verified_phone_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14770 14771 14772 |
# File 'lib/google/apis/content_v2_1/classes.rb', line 14770 def update!(**args) @verified_phone_number = args[:verified_phone_number] if args.key?(:verified_phone_number) end |