Class: Google::Apis::MybusinessverificationsV1::GenerateInstantVerificationTokenResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/mybusinessverifications_v1/classes.rb,
lib/google/apis/mybusinessverifications_v1/representations.rb,
lib/google/apis/mybusinessverifications_v1/representations.rb

Overview

Response message for Verifications.GenerateInstantVerificationToken.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenerateInstantVerificationTokenResponse

Returns a new instance of GenerateInstantVerificationTokenResponse.



247
248
249
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 247

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

Instance Attribute Details

#instant_verification_tokenString

The generated instant verification token. Corresponds to the JSON property instantVerificationToken

Returns:

  • (String)


240
241
242
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 240

def instant_verification_token
  @instant_verification_token
end

#resultString

Output only. The result of the instant verification token generation. Corresponds to the JSON property result

Returns:

  • (String)


245
246
247
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 245

def result
  @result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



252
253
254
255
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 252

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