Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AgentResource
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AgentResource
- 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
-
#agent ⇒ String
Required.
-
#agent_type ⇒ String
Required.
-
#location ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AgentResource
constructor
A new instance of GoogleCloudAiplatformV1beta1AgentResource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AgentResource
Returns a new instance of GoogleCloudAiplatformV1beta1AgentResource.
6693 6694 6695 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6693 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent ⇒ String
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`
6680 6681 6682 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6680 def agent @agent end |
#agent_type ⇒ String
Required. The type of the agent.
Corresponds to the JSON property agentType
6685 6686 6687 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6685 def agent_type @agent_type end |
#location ⇒ String
Output only. The GCP location (region) of the agent resource (e.g. us-
central1).
Corresponds to the JSON property location
6691 6692 6693 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6691 def location @location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6698 6699 6700 6701 6702 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6698 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 |