Class: Google::Apis::MybusinessbusinessinformationV1::Places

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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