Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingChunkMaps
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingChunkMaps
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
Chunk from Google Maps.
Instance Attribute Summary collapse
-
#place_answer_sources ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSources
Sources used to generate the place answer.
-
#place_id ⇒ String
This Place's resource name, in
places/place_id`` format. -
#text ⇒ String
Text of the chunk.
-
#title ⇒ String
Title of the chunk.
-
#uri ⇒ String
URI reference of the chunk.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1GroundingChunkMaps
constructor
A new instance of GoogleCloudAiplatformV1GroundingChunkMaps.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1GroundingChunkMaps
Returns a new instance of GoogleCloudAiplatformV1GroundingChunkMaps.
13582 13583 13584 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13582 def initialize(**args) update!(**args) end |
Instance Attribute Details
#place_answer_sources ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingChunkMapsPlaceAnswerSources
Sources used to generate the place answer.
Corresponds to the JSON property placeAnswerSources
13559 13560 13561 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13559 def place_answer_sources @place_answer_sources end |
#place_id ⇒ String
This Place's resource name, in places/place_id`format. Can be used to look
up the Place.
Corresponds to the JSON propertyplaceId`
13565 13566 13567 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13565 def place_id @place_id end |
#text ⇒ String
Text of the chunk.
Corresponds to the JSON property text
13570 13571 13572 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13570 def text @text end |
#title ⇒ String
Title of the chunk.
Corresponds to the JSON property title
13575 13576 13577 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13575 def title @title end |
#uri ⇒ String
URI reference of the chunk.
Corresponds to the JSON property uri
13580 13581 13582 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13580 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13587 13588 13589 13590 13591 13592 13593 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13587 def update!(**args) @place_answer_sources = args[:place_answer_sources] if args.key?(:place_answer_sources) @place_id = args[:place_id] if args.key?(:place_id) @text = args[:text] if args.key?(:text) @title = args[:title] if args.key?(:title) @uri = args[:uri] if args.key?(:uri) end |