Class: Google::Apis::MybusinessverificationsV1::GenerateInstantVerificationTokenResponse
- Inherits:
-
Object
- Object
- Google::Apis::MybusinessverificationsV1::GenerateInstantVerificationTokenResponse
- 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
-
#instant_verification_token ⇒ String
The generated instant verification token.
-
#result ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenerateInstantVerificationTokenResponse
constructor
A new instance of GenerateInstantVerificationTokenResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_token ⇒ String
The generated instant verification token.
Corresponds to the JSON property instantVerificationToken
233 234 235 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 233 def instant_verification_token @instant_verification_token end |
#result ⇒ String
Output only. The result of the instant verification token generation.
Corresponds to the JSON property result
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 |