Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MonitoredAgent

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

Represents a monitored agent in a specific Location.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1MonitoredAgent

Returns a new instance of GoogleCloudAiplatformV1beta1MonitoredAgent.



37603
37604
37605
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 37603

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

Instance Attribute Details

#agent_resourceGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AgentResource

Defines the identity of an agent being monitored. Corresponds to the JSON property agentResource



37571
37572
37573
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 37571

def agent_resource
  @agent_resource
end

#create_timeString

Output only. The time the MonitoredAgent was created. Corresponds to the JSON property createTime

Returns:

  • (String)


37576
37577
37578
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 37576

def create_time
  @create_time
end

#display_nameString

Optional. The display name of the MonitoredAgent. Corresponds to the JSON property displayName

Returns:

  • (String)


37581
37582
37583
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 37581

def display_name
  @display_name
end

#nameString

Identifier. The resource name of the MonitoredAgent. Corresponds to the JSON property name

Returns:

  • (String)


37586
37587
37588
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 37586

def name
  @name
end

#stateString

Output only. The current state of the agent's enablement. Corresponds to the JSON property state

Returns:

  • (String)


37591
37592
37593
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 37591

def state
  @state
end

#status_messageString

Output only. A brief message explaining the current state. Corresponds to the JSON property statusMessage

Returns:

  • (String)


37596
37597
37598
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 37596

def status_message
  @status_message
end

#update_timeString

Output only. The time the MonitoredAgent was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


37601
37602
37603
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 37601

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



37608
37609
37610
37611
37612
37613
37614
37615
37616
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 37608

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