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.
-
#description_flag_content_uri ⇒ String
A link where users can flag a problem with the description summary.
-
#overview ⇒ Google::Apis::PlacesV1::GoogleTypeLocalizedText
Localized variant of a text in a particular language.
-
#overview_flag_content_uri ⇒ String
A link where users can flag a problem with the overview summary.
-
#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.
1779 1780 1781 |
# File 'lib/google/apis/places_v1/classes.rb', line 1779 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
1755 1756 1757 |
# File 'lib/google/apis/places_v1/classes.rb', line 1755 def description @description end |
#description_flag_content_uri ⇒ String
A link where users can flag a problem with the description summary.
Corresponds to the JSON property descriptionFlagContentUri
1760 1761 1762 |
# File 'lib/google/apis/places_v1/classes.rb', line 1760 def description_flag_content_uri @description_flag_content_uri end |
#overview ⇒ Google::Apis::PlacesV1::GoogleTypeLocalizedText
Localized variant of a text in a particular language.
Corresponds to the JSON property overview
1765 1766 1767 |
# File 'lib/google/apis/places_v1/classes.rb', line 1765 def overview @overview end |
#overview_flag_content_uri ⇒ String
A link where users can flag a problem with the overview summary.
Corresponds to the JSON property overviewFlagContentUri
1770 1771 1772 |
# File 'lib/google/apis/places_v1/classes.rb', line 1770 def overview_flag_content_uri @overview_flag_content_uri 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
1777 1778 1779 |
# File 'lib/google/apis/places_v1/classes.rb', line 1777 def references @references end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1784 1785 1786 1787 1788 1789 1790 |
# File 'lib/google/apis/places_v1/classes.rb', line 1784 def update!(**args) @description = args[:description] if args.key?(:description) @description_flag_content_uri = args[:description_flag_content_uri] if args.key?(:description_flag_content_uri) @overview = args[:overview] if args.key?(:overview) @overview_flag_content_uri = args[:overview_flag_content_uri] if args.key?(:overview_flag_content_uri) @references = args[:references] if args.key?(:references) end |