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.
6871 6872 6873 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6871 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`
6858 6859 6860 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6858 def agent @agent end |
#agent_type ⇒ String
Required. The type of the agent.
Corresponds to the JSON property agentType
6863 6864 6865 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6863 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
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 |