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-
(::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_nameis always present and can be used as a fallback identifier.
#agent_resource_name
def agent_resource_name() -> ::String-
(::String) — Output only. The resource name or identifier of the agent that ran this
session. Matches
AgentResource.agenton the correspondingMonitoredAgent, so the format depends on that agent'sAgentResource.agent_type. For the format of each agent type, see AgentResource.agent.
#agent_state
def agent_state() -> ::Google::Cloud::AIPlatform::V1::MonitoredAgent::EnablementState- (::Google::Cloud::AIPlatform::V1::MonitoredAgent::EnablementState) — Output only. The current enablement state of the MonitoredAgent that owns this session (for example, ACTIVE, DISABLED, or ENABLING). Defaults to ENABLEMENT_STATE_UNSPECIFIED when the agent is not enrolled or its state is unknown.
#agent_type
def agent_type() -> ::Google::Cloud::AIPlatform::V1::AgentResource::AgentType-
(::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_UNSPECIFIEDmeans the runtime is unknown to this service -- the agent is not enrolled as aMonitoredAgent, or was enrolled before its runtime was recorded. That is distinct fromAGENT_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- (::Google::Cloud::AIPlatform::V1::Assessment) — Output only. Overall security assessment. Populated only in FULL view.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. The creation time of the session.
#latest_analyzed_time
def latest_analyzed_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. The latest analyzed time of the session.
#location
def location() -> ::String-
(::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- (::String) — Identifier. The resource name of the AnalyzedSession.
#name=
def name=(value) -> ::String- value (::String) — Identifier. The resource name of the AnalyzedSession.
- (::String) — Identifier. The resource name of the AnalyzedSession.
#session_id
def session_id() -> ::String- (::String) — Output only. The session ID.
#session_state
def session_state() -> ::Google::Cloud::AIPlatform::V1::AnalyzedSession::SessionState- (::Google::Cloud::AIPlatform::V1::AnalyzedSession::SessionState) — Output only. The state of the session.
#severities
def severities() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::AIPlatform::V1::AnalyzedSession::SeveritySummary}-
(::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- (::String) — Output only. The user ID.