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.



15911
15912
15913
# File 'lib/google/apis/content_v2_1/classes.rb', line 15911

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)


15909
15910
15911
# File 'lib/google/apis/content_v2_1/classes.rb', line 15909

def verified_phone_number
  @verified_phone_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15916
15917
15918
# File 'lib/google/apis/content_v2_1/classes.rb', line 15916

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