Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiAgentConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb

Overview

Config for scraping a Gemini Agent (a Vertex AI Agent resource scraped via the Vertex Interactions API).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1GeminiAgentConfig

Returns a new instance of GoogleCloudAiplatformV1beta1GeminiAgentConfig.



26773
26774
26775
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26773

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

Instance Attribute Details

#gemini_agentString

Required. The resource name of the Gemini Agent. Format: projects/project/ locations/location/agents/agent`. For example:projects/123/locations/us- central1/agents/my-agent. Corresponds to the JSON propertygeminiAgent`

Returns:

  • (String)


26771
26772
26773
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26771

def gemini_agent
  @gemini_agent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



26778
26779
26780
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 26778

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