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.


975
976
977
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 975

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


973
974
975
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 973

def place_infos
  @place_infos
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


980
981
982
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 980

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