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.
-
#flag_content_uri ⇒ String
A link where users can flag a problem with the 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.
1710 1711 1712 |
# File 'lib/google/apis/places_v1/classes.rb', line 1710 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
1703 1704 1705 |
# File 'lib/google/apis/places_v1/classes.rb', line 1703 def content_blocks @content_blocks end |
#flag_content_uri ⇒ String
A link where users can flag a problem with the summary.
Corresponds to the JSON property flagContentUri
1708 1709 1710 |
# File 'lib/google/apis/places_v1/classes.rb', line 1708 def flag_content_uri @flag_content_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1715 1716 1717 1718 |
# File 'lib/google/apis/places_v1/classes.rb', line 1715 def update!(**args) @content_blocks = args[:content_blocks] if args.key?(:content_blocks) @flag_content_uri = args[:flag_content_uri] if args.key?(:flag_content_uri) end |