Class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceAreaSummary

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleMapsPlacesV1PlaceAreaSummary

Returns a new instance of GoogleMapsPlacesV1PlaceAreaSummary.



1548
1549
1550
# File 'lib/google/apis/places_v1/classes.rb', line 1548

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#content_blocksArray<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



1546
1547
1548
# File 'lib/google/apis/places_v1/classes.rb', line 1546

def content_blocks
  @content_blocks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1553
1554
1555
# File 'lib/google/apis/places_v1/classes.rb', line 1553

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