Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AnalyzedSession

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

An analyzed session for a monitored agent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AnalyzedSession

Returns a new instance of GoogleCloudAiplatformV1beta1AnalyzedSession.



7230
7231
7232
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7230

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

Instance Attribute Details

#agent_display_nameString

Output only. The human-readable display name of the MonitoredAgent that owns this session, denormalized from monitored_agents.display_name so the UI can render an agent name in the per-session feed without an extra getMonitoredAgent round-trip. May be empty when the session's agent_id is not enrolled as a MonitoredAgent (i.e. the JOIN missed); the agent_resource_name URN is always present and can be used as a fallback identifier. Corresponds to the JSON property agentDisplayName

Returns:

  • (String)


7165
7166
7167
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7165

def agent_display_name
  @agent_display_name
end

#agent_resource_nameString

Output only. The agent resource name. Format: projects/project/locations/ location/reasoningEngines/agent` Corresponds to the JSON propertyagentResourceName`

Returns:

  • (String)


7171
7172
7173
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7171

def agent_resource_name
  @agent_resource_name
end

#agent_stateString

Output only. The current enablement state of the MonitoredAgent that owns this session (e.g. ACTIVE, DISABLED, ENABLING, INELIGIBLE, NEEDS_ACTION), denormalized from monitored_agents.state. Defaults to ENABLEMENT_STATE_UNSPECIFIED when the agent is not enrolled (the JOIN missed) or its state column is empty / unknown. Corresponds to the JSON property agentState

Returns:

  • (String)


7180
7181
7182
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7180

def agent_state
  @agent_state
end

#assessmentGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Assessment

Detailed assessment for an analyzed session. Corresponds to the JSON property assessment



7185
7186
7187
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7185

def assessment
  @assessment
end

#create_timeString

Output only. The creation time of the session. Corresponds to the JSON property createTime

Returns:

  • (String)


7190
7191
7192
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7190

def create_time
  @create_time
end

#latest_analyzed_timeString

Output only. The latest analyzed time of the session. Corresponds to the JSON property latestAnalyzedTime

Returns:

  • (String)


7195
7196
7197
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7195

def latest_analyzed_time
  @latest_analyzed_time
end

#locationString

Output only. The GCP location (region) of the agent that ran this session (e.g. us-central1). Denormalized from monitored_agents.location; empty when the agent is not enrolled or its location column is empty. Corresponds to the JSON property location

Returns:

  • (String)


7202
7203
7204
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7202

def location
  @location
end

#nameString

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

Returns:

  • (String)


7207
7208
7209
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7207

def name
  @name
end

#session_idString

Output only. The session ID. Corresponds to the JSON property sessionId

Returns:

  • (String)


7212
7213
7214
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7212

def session_id
  @session_id
end

#session_stateString

Output only. The state of the session. Corresponds to the JSON property sessionState

Returns:

  • (String)


7217
7218
7219
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7217

def session_state
  @session_state
end

#severitiesHash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AnalyzedSessionSeveritySummary>

Output only. Map of severity counts for listing analyzed sessions. The key is the string representation of Severity. Populated in BASIC view only. Corresponds to the JSON property severities



7223
7224
7225
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7223

def severities
  @severities
end

#user_idString

Output only. The user ID. Corresponds to the JSON property userId

Returns:

  • (String)


7228
7229
7230
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7228

def user_id
  @user_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7235

def update!(**args)
  @agent_display_name = args[:agent_display_name] if args.key?(:agent_display_name)
  @agent_resource_name = args[:agent_resource_name] if args.key?(:agent_resource_name)
  @agent_state = args[:agent_state] if args.key?(:agent_state)
  @assessment = args[:assessment] if args.key?(:assessment)
  @create_time = args[:create_time] if args.key?(:create_time)
  @latest_analyzed_time = args[:latest_analyzed_time] if args.key?(:latest_analyzed_time)
  @location = args[:location] if args.key?(:location)
  @name = args[:name] if args.key?(:name)
  @session_id = args[:session_id] if args.key?(:session_id)
  @session_state = args[:session_state] if args.key?(:session_state)
  @severities = args[:severities] if args.key?(:severities)
  @user_id = args[:user_id] if args.key?(:user_id)
end