Class: Google::Apis::ContentV2_1::RequestPhoneVerificationResponse

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 RequestPhoneVerification method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RequestPhoneVerificationResponse

Returns a new instance of RequestPhoneVerificationResponse.



12252
12253
12254
# File 'lib/google/apis/content_v2_1/classes.rb', line 12252

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

Instance Attribute Details

#verification_idString

The verification ID to use in subsequent calls to verifyphonenumber. Corresponds to the JSON property verificationId

Returns:

  • (String)


12250
12251
12252
# File 'lib/google/apis/content_v2_1/classes.rb', line 12250

def verification_id
  @verification_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12257
12258
12259
# File 'lib/google/apis/content_v2_1/classes.rb', line 12257

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