Class: Google::Apis::MybusinessbusinessinformationV1::Places
- Inherits:
-
Object
- Object
- Google::Apis::MybusinessbusinessinformationV1::Places
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/mybusinessbusinessinformation_v1/classes.rb,
lib/google/apis/mybusinessbusinessinformation_v1/representations.rb,
lib/google/apis/mybusinessbusinessinformation_v1/representations.rb
Overview
Defines the union of areas represented by a set of places.
Instance Attribute Summary collapse
-
#place_infos ⇒ Array<Google::Apis::MybusinessbusinessinformationV1::PlaceInfo>
The areas represented by place IDs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Places
constructor
A new instance of Places.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Places
Returns a new instance of Places.
1221 1222 1223 |
# File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 1221 def initialize(**args) update!(**args) end |
Instance Attribute Details
#place_infos ⇒ Array<Google::Apis::MybusinessbusinessinformationV1::PlaceInfo>
The areas represented by place IDs. Limited to a maximum of 20 places.
Corresponds to the JSON property placeInfos
1219 1220 1221 |
# File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 1219 def place_infos @place_infos end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1226 1227 1228 |
# File 'lib/google/apis/mybusinessbusinessinformation_v1/classes.rb', line 1226 def update!(**args) @place_infos = args[:place_infos] if args.key?(:place_infos) end |