Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::AnalyzedSession (v1.52.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::AnalyzedSession.

Represents an analyzed session for a monitored agent.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#agent_display_name

def agent_display_name() -> ::String
Returns
  • (::String) — Output only. The human-readable display name of the MonitoredAgent that owns this session. May be empty when the session's agent is not enrolled as a MonitoredAgent; the agent_resource_name is always present and can be used as a fallback identifier.

#agent_resource_name

def agent_resource_name() -> ::String
Returns
  • (::String) — Output only. The resource name or identifier of the agent that ran this session. Matches AgentResource.agent on the corresponding MonitoredAgent, so the format depends on that agent's AgentResource.agent_type. For the format of each agent type, see AgentResource.agent.

#agent_state

def agent_state() -> ::Google::Cloud::AIPlatform::V1::MonitoredAgent::EnablementState
Returns

#agent_type

def agent_type() -> ::Google::Cloud::AIPlatform::V1::AgentResource::AgentType
Returns
  • (::Google::Cloud::AIPlatform::V1::AgentResource::AgentType) — Output only. The runtime that the agent which ran this session is hosted on (for example, CLOUD_RUN_SERVICE).

    AGENT_TYPE_UNSPECIFIED means the runtime is unknown to this service -- the agent is not enrolled as a MonitoredAgent, or was enrolled before its runtime was recorded. That is distinct from AGENT_TYPE_OTHER, which means the runtime is known and is not one of the other enumerated runtimes.

#assessment

def assessment() -> ::Google::Cloud::AIPlatform::V1::Assessment
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#latest_analyzed_time

def latest_analyzed_time() -> ::Google::Protobuf::Timestamp
Returns

#location

def location() -> ::String
Returns
  • (::String) — Output only. The region of the agent that ran this session, in the same form as AgentResource.location (for example, us-central1). Empty when the agent is not enrolled or its location is unknown.

#name

def name() -> ::String
Returns
  • (::String) — Identifier. The resource name of the AnalyzedSession.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. The resource name of the AnalyzedSession.
Returns
  • (::String) — Identifier. The resource name of the AnalyzedSession.

#session_id

def session_id() -> ::String
Returns
  • (::String) — Output only. The session ID.

#session_state

def session_state() -> ::Google::Cloud::AIPlatform::V1::AnalyzedSession::SessionState
Returns

#severities

def severities() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::AIPlatform::V1::AnalyzedSession::SeveritySummary}
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::AIPlatform::V1::AnalyzedSession::SeveritySummary}) — Output only. Map of the detectors that flagged this session, grouped by severity. The key is the string representation of Severity. Populated only for flagged sessions, in both views. In AgentAnomalyDetectionService.ListAnalyzedSessions responses, the map holds only the session's highest severity.

#user_id

def user_id() -> ::String
Returns
  • (::String) — Output only. The user ID.