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.



12261
12262
12263
# File 'lib/google/apis/content_v2_1/classes.rb', line 12261

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)


12259
12260
12261
# File 'lib/google/apis/content_v2_1/classes.rb', line 12259

def verification_id
  @verification_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12266
12267
12268
# File 'lib/google/apis/content_v2_1/classes.rb', line 12266

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