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.
13567 13568 13569 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13567 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
13544 13545 13546 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13544 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`
13550 13551 13552 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13550 def place_id @place_id end |
#text ⇒ String
Text of the chunk.
Corresponds to the JSON property text
13555 13556 13557 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13555 def text @text end |
#title ⇒ String
Title of the chunk.
Corresponds to the JSON property title
13560 13561 13562 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13560 def title @title end |
#uri ⇒ String
URI reference of the chunk.
Corresponds to the JSON property uri
13565 13566 13567 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13565 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13572 13573 13574 13575 13576 13577 13578 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13572 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 |