Class: Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceGenerativeSummary
- Inherits:
-
Object
- Object
- Google::Apis::PlacesV1::GoogleMapsPlacesV1PlaceGenerativeSummary
- 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 place.
Instance Attribute Summary collapse
-
#description ⇒ Google::Apis::PlacesV1::GoogleTypeLocalizedText
Localized variant of a text in a particular language.
-
#overview ⇒ Google::Apis::PlacesV1::GoogleTypeLocalizedText
Localized variant of a text in a particular language.
-
#references ⇒ Google::Apis::PlacesV1::GoogleMapsPlacesV1References
Experimental: See https://developers.google.com/maps/documentation/places/web- service/experimental/places-generative for more details.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleMapsPlacesV1PlaceGenerativeSummary
constructor
A new instance of GoogleMapsPlacesV1PlaceGenerativeSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleMapsPlacesV1PlaceGenerativeSummary
Returns a new instance of GoogleMapsPlacesV1PlaceGenerativeSummary.
1606 1607 1608 |
# File 'lib/google/apis/places_v1/classes.rb', line 1606 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ Google::Apis::PlacesV1::GoogleTypeLocalizedText
Localized variant of a text in a particular language.
Corresponds to the JSON property description
1592 1593 1594 |
# File 'lib/google/apis/places_v1/classes.rb', line 1592 def description @description end |
#overview ⇒ Google::Apis::PlacesV1::GoogleTypeLocalizedText
Localized variant of a text in a particular language.
Corresponds to the JSON property overview
1597 1598 1599 |
# File 'lib/google/apis/places_v1/classes.rb', line 1597 def overview @overview end |
#references ⇒ Google::Apis::PlacesV1::GoogleMapsPlacesV1References
Experimental: See https://developers.google.com/maps/documentation/places/web-
service/experimental/places-generative for more details. Reference that the
generative content is related to.
Corresponds to the JSON property references
1604 1605 1606 |
# File 'lib/google/apis/places_v1/classes.rb', line 1604 def references @references end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1611 1612 1613 1614 1615 |
# File 'lib/google/apis/places_v1/classes.rb', line 1611 def update!(**args) @description = args[:description] if args.key?(:description) @overview = args[:overview] if args.key?(:overview) @references = args[:references] if args.key?(:references) end |