Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MonitoredAgent
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MonitoredAgent
- 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
Represents a monitored agent in a specific Location.
Instance Attribute Summary collapse
-
#agent_resource ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AgentResource
Defines the identity of an agent being monitored.
-
#create_time ⇒ String
Output only.
-
#display_name ⇒ String
Optional.
-
#name ⇒ String
Identifier.
-
#state ⇒ String
Output only.
-
#status_message ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1MonitoredAgent
constructor
A new instance of GoogleCloudAiplatformV1beta1MonitoredAgent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1MonitoredAgent
Returns a new instance of GoogleCloudAiplatformV1beta1MonitoredAgent.
39181 39182 39183 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 39181 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent_resource ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AgentResource
Defines the identity of an agent being monitored.
Corresponds to the JSON property agentResource
39149 39150 39151 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 39149 def agent_resource @agent_resource end |
#create_time ⇒ String
Output only. The time the MonitoredAgent was created.
Corresponds to the JSON property createTime
39154 39155 39156 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 39154 def create_time @create_time end |
#display_name ⇒ String
Optional. The display name of the MonitoredAgent.
Corresponds to the JSON property displayName
39159 39160 39161 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 39159 def display_name @display_name end |
#name ⇒ String
Identifier. The resource name of the MonitoredAgent.
Corresponds to the JSON property name
39164 39165 39166 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 39164 def name @name end |
#state ⇒ String
Output only. The current state of the agent's enablement.
Corresponds to the JSON property state
39169 39170 39171 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 39169 def state @state end |
#status_message ⇒ String
Output only. A brief message explaining the current state.
Corresponds to the JSON property statusMessage
39174 39175 39176 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 39174 def @status_message end |
#update_time ⇒ String
Output only. The time the MonitoredAgent was last updated.
Corresponds to the JSON property updateTime
39179 39180 39181 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 39179 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
39186 39187 39188 39189 39190 39191 39192 39193 39194 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 39186 def update!(**args) @agent_resource = args[:agent_resource] if args.key?(:agent_resource) @create_time = args[:create_time] if args.key?(:create_time) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) @status_message = args[:status_message] if args.key?(:status_message) @update_time = args[:update_time] if args.key?(:update_time) end |