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.
1841 1842 1843 |
# File 'lib/google/apis/places_v1/classes.rb', line 1841 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
1817 1818 1819 |
# File 'lib/google/apis/places_v1/classes.rb', line 1817 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
1822 1823 1824 |
# File 'lib/google/apis/places_v1/classes.rb', line 1822 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
1827 1828 1829 |
# File 'lib/google/apis/places_v1/classes.rb', line 1827 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
1832 1833 1834 |
# File 'lib/google/apis/places_v1/classes.rb', line 1832 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
1839 1840 1841 |
# File 'lib/google/apis/places_v1/classes.rb', line 1839 def references @references end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1846 1847 1848 1849 1850 1851 1852 |
# File 'lib/google/apis/places_v1/classes.rb', line 1846 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 |