Class: Google::Apis::ContentV2_1::VerifyPhoneNumberResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VerifyPhoneNumberResponse

Returns a new instance of VerifyPhoneNumberResponse.



14019
14020
14021
# File 'lib/google/apis/content_v2_1/classes.rb', line 14019

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#verified_phone_numberString

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

Returns:

  • (String)


14017
14018
14019
# File 'lib/google/apis/content_v2_1/classes.rb', line 14017

def verified_phone_number
  @verified_phone_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14024
14025
14026
# File 'lib/google/apis/content_v2_1/classes.rb', line 14024

def update!(**args)
  @verified_phone_number = args[:verified_phone_number] if args.key?(:verified_phone_number)
end