Class: Google::Apis::MybusinessV3::Places

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

Overview

Defines the union of areas represented by a set of places.

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

Returns a new instance of Places



1483
1484
1485
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1483

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

Instance Attribute Details

#place_infosArray<Google::Apis::MybusinessV3::PlaceInfo>

The areas represented by place IDs. Corresponds to the JSON property placeInfos



1481
1482
1483
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1481

def place_infos
  @place_infos
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1488
1489
1490
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1488

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