Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingMetadata

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

Metadata returned to client when grounding is enabled.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1GroundingMetadata

Returns a new instance of GoogleCloudAiplatformV1GroundingMetadata.



9938
9939
9940
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9938

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#grounding_attributionsArray<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingAttribution>

Optional. List of grounding attributions. Corresponds to the JSON property groundingAttributions



9931
9932
9933
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9931

def grounding_attributions
  @grounding_attributions
end

#web_search_queriesArray<String>

Optional. Web search queries for the following-up web search. Corresponds to the JSON property webSearchQueries

Returns:

  • (Array<String>)


9936
9937
9938
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9936

def web_search_queries
  @web_search_queries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9943
9944
9945
9946
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9943

def update!(**args)
  @grounding_attributions = args[:grounding_attributions] if args.key?(:grounding_attributions)
  @web_search_queries = args[:web_search_queries] if args.key?(:web_search_queries)
end