Class: Google::Apis::MybusinessverificationsV1::VerificationToken

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

Token generated by a vetted partner.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VerificationToken

Returns a new instance of VerificationToken.



502
503
504
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 502

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

Instance Attribute Details

#token_stringString

The token string. Corresponds to the JSON property tokenString

Returns:

  • (String)


500
501
502
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 500

def token_string
  @token_string
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



507
508
509
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 507

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