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.



15352
15353
15354
# File 'lib/google/apis/content_v2_1/classes.rb', line 15352

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

Instance Attribute Details

#verified_phone_numberString

Verified phone number if verification is successful. Corresponds to the JSON property verifiedPhoneNumber

Returns:

  • (String)


15350
15351
15352
# File 'lib/google/apis/content_v2_1/classes.rb', line 15350

def verified_phone_number
  @verified_phone_number
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15357
15358
15359
# File 'lib/google/apis/content_v2_1/classes.rb', line 15357

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