Class: Google::Apis::MybusinessV3::BatchGetLocationsRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/mybusiness_v3/classes.rb,
generated/google/apis/mybusiness_v3/representations.rb,
generated/google/apis/mybusiness_v3/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ BatchGetLocationsRequest

Returns a new instance of BatchGetLocationsRequest



419
420
421
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 419

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

Instance Attribute Details

#location_namesArray<String>

A collection of locations to fetch, specified by their names. Corresponds to the JSON property locationNames

Returns:

  • (Array<String>)


417
418
419
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 417

def location_names
  @location_names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



424
425
426
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 424

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