Class: Google::Apis::MybusinessverificationsV1::GenerateVerificationTokenRequest

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

Request message for Verifications.GenerateVerificationToken.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#locationGoogle::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