Class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceAreaSummary
- Inherits:
-
Object
- Object
- Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceAreaSummary
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/places_v1/classes.rb,
lib/google/apis/places_v1/representations.rb,
lib/google/apis/places_v1/representations.rb
Overview
Experimental: See https://developers.google.com/maps/documentation/places/web- service/experimental/places-generative for more details. AI-generated summary of the area that the place is in.
Instance Attribute Summary collapse
-
#content_blocks ⇒ Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1ContentBlock>
Content blocks that compose the area summary.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleMapsPlacesV1PlaceAreaSummary
constructor
A new instance of GoogleMapsPlacesV1PlaceAreaSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleMapsPlacesV1PlaceAreaSummary
Returns a new instance of GoogleMapsPlacesV1PlaceAreaSummary.
1687 1688 1689 |
# File 'lib/google/apis/places_v1/classes.rb', line 1687 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content_blocks ⇒ Array<Google::Apis::PlacesV1::GoogleMapsPlacesV1ContentBlock>
Content blocks that compose the area summary. Each block has a separate topic
about the area.
Corresponds to the JSON property contentBlocks
1685 1686 1687 |
# File 'lib/google/apis/places_v1/classes.rb', line 1685 def content_blocks @content_blocks end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1692 1693 1694 |
# File 'lib/google/apis/places_v1/classes.rb', line 1692 def update!(**args) @content_blocks = args[:content_blocks] if args.key?(:content_blocks) end |