Class: Google::Apis::MybusinessverificationsV1::GenerateVerificationTokenResponse
- Inherits:
-
Object
- Object
- Google::Apis::MybusinessverificationsV1::GenerateVerificationTokenResponse
- 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
-
#token ⇒ Google::Apis::MybusinessverificationsV1::VerificationToken
Token generated by a vetted partner.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenerateVerificationTokenResponse
constructor
A new instance of GenerateVerificationTokenResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenerateVerificationTokenResponse
Returns a new instance of GenerateVerificationTokenResponse.
232 233 234 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 232 def initialize(**args) update!(**args) end |
Instance Attribute Details
#token ⇒ Google::Apis::MybusinessverificationsV1::VerificationToken
Token generated by a vetted partner.
Corresponds to the JSON property token
230 231 232 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 230 def token @token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
237 238 239 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 237 def update!(**args) @token = args[:token] if args.key?(:token) end |