Class: Google::Apis::MybusinessverificationsV1::GenerateVerificationTokenRequest
- Inherits:
-
Object
- Object
- Google::Apis::MybusinessverificationsV1::GenerateVerificationTokenRequest
- 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
Request message for Verifications.GenerateVerificationToken.
Instance Attribute Summary collapse
-
#location ⇒ Google::Apis::MybusinessverificationsV1::Location
A subset of location info.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenerateVerificationTokenRequest
constructor
A new instance of GenerateVerificationTokenRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenerateVerificationTokenRequest
Returns a new instance of GenerateVerificationTokenRequest.
212 213 214 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 212 def initialize(**args) update!(**args) end |
Instance Attribute Details
#location ⇒ Google::Apis::MybusinessverificationsV1::Location
A subset of location info. See the help center article for a detailed description of these fields,
or the category endpoint for a
list of valid business categories.
Corresponds to the JSON property location
210 211 212 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 210 def location @location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
217 218 219 |
# File 'lib/google/apis/mybusinessverifications_v1/classes.rb', line 217 def update!(**args) @location = args[:location] if args.key?(:location) end |