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.



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

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)


233
234
235
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 233

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)


238
239
240
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 238

def result
  @result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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