Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AgentResource

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

Defines the identity of an agent being monitored.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AgentResource

Returns a new instance of GoogleCloudAiplatformV1beta1AgentResource.



6871
6872
6873
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6871

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

Instance Attribute Details

#agentString

Required. The full resource name of the agent to monitor. For REASONING_ENGINE, format: projects/project/locations/location/reasoningEngines/agent` Corresponds to the JSON propertyagent`

Returns:

  • (String)


6858
6859
6860
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6858

def agent
  @agent
end

#agent_typeString

Required. The type of the agent. Corresponds to the JSON property agentType

Returns:

  • (String)


6863
6864
6865
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6863

def agent_type
  @agent_type
end

#locationString

Output only. The GCP location (region) of the agent resource (e.g. us- central1). Corresponds to the JSON property location

Returns:

  • (String)


6869
6870
6871
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6869

def location
  @location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6876
6877
6878
6879
6880
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6876

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