Class: Google::Apis::MybusinessverificationsV1::GenerateVerificationTokenResponse

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.GenerateVerificationToken.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenerateVerificationTokenResponse

Returns a new instance of GenerateVerificationTokenResponse.



227
228
229
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 227

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

Instance Attribute Details

#tokenGoogle::Apis::MybusinessverificationsV1::VerificationToken

Token generated by a vetted partner. Corresponds to the JSON property token



225
226
227
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 225

def token
  @token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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