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.
7084 7085 7086 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7084 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`
7071 7072 7073 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7071 def agent @agent end |
#agent_type ⇒ String
Required. The type of the agent.
Corresponds to the JSON property agentType
7076 7077 7078 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7076 def agent_type @agent_type end |
#location ⇒ String
Output only. The Google Cloud location (region) of the agent resource (for
example, us-central1).
Corresponds to the JSON property location
7082 7083 7084 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7082 def location @location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7089 7090 7091 7092 7093 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7089 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 |