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



1381
1382
1383
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1381

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>)


1379
1380
1381
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1379

def location_names
  @location_names
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1386
1387
1388
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1386

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