Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingChunkMaps

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_sourcesGoogle::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_idString

This Place's resource name, in places/place_id`format. Can be used to look up the Place. Corresponds to the JSON propertyplaceId`

Returns:

  • (String)


13565
13566
13567
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13565

def place_id
  @place_id
end

#textString

Text of the chunk. Corresponds to the JSON property text

Returns:

  • (String)


13570
13571
13572
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13570

def text
  @text
end

#titleString

Title of the chunk. Corresponds to the JSON property title

Returns:

  • (String)


13575
13576
13577
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 13575

def title
  @title
end

#uriString

URI reference of the chunk. Corresponds to the JSON property uri

Returns:

  • (String)


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