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.



14418
14419
14420
# File 'lib/google/apis/content_v2_1/classes.rb', line 14418

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)


14416
14417
14418
# File 'lib/google/apis/content_v2_1/classes.rb', line 14416

def verified_phone_number
  @verified_phone_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14423
14424
14425
# File 'lib/google/apis/content_v2_1/classes.rb', line 14423

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