public sealed class AnalyzedSession : IMessage<AnalyzedSession>, IEquatable<AnalyzedSession>, IDeepCloneable<AnalyzedSession>, IBufferMessage, IMessageReference documentation and code samples for the Vertex AI v1 API class AnalyzedSession.
Represents an analyzed session for a monitored agent.
Implements
IMessageAnalyzedSession, IEquatableAnalyzedSession, IDeepCloneableAnalyzedSession, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Assembly
Google.Cloud.AIPlatform.V1.dll
Constructors
AnalyzedSession()
public AnalyzedSession()AnalyzedSession(AnalyzedSession)
public AnalyzedSession(AnalyzedSession other)| Parameter | |
|---|---|
| Name | Description |
other |
AnalyzedSession |
Properties
AgentDisplayName
public string AgentDisplayName { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
string |
|
AgentResourceName
public string AgentResourceName { get; set; }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][google.cloud.aiplatform.v1.AgentResource.agent].
| Property Value | |
|---|---|
| Type | Description |
string |
|
AgentResourceNameAsResourceName
public IResourceName AgentResourceNameAsResourceName { get; set; }IResourceName-typed view over the AgentResourceName resource name property.
| Property Value | |
|---|---|
| Type | Description |
IResourceName |
|
AgentState
public MonitoredAgent.Types.EnablementState AgentState { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
MonitoredAgentTypesEnablementState |
|
AgentType
public AgentResource.Types.AgentType AgentType { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
AgentResourceTypesAgentType |
|
AnalyzedSessionName
public AnalyzedSessionName AnalyzedSessionName { get; set; }AnalyzedSessionName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
AnalyzedSessionName |
|
Assessment
public Assessment Assessment { get; set; }Output only. Overall security assessment. Populated only in FULL view.
| Property Value | |
|---|---|
| Type | Description |
Assessment |
|
CreateTime
public Timestamp CreateTime { get; set; }Output only. The creation time of the session.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
LatestAnalyzedTime
public Timestamp LatestAnalyzedTime { get; set; }Output only. The latest analyzed time of the session.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
Location
public string Location { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Name
public string Name { get; set; }Identifier. The resource name of the AnalyzedSession.
| Property Value | |
|---|---|
| Type | Description |
string |
|
SessionId
public string SessionId { get; set; }Output only. The session ID.
| Property Value | |
|---|---|
| Type | Description |
string |
|
SessionState
public AnalyzedSession.Types.SessionState SessionState { get; set; }Output only. The state of the session.
| Property Value | |
|---|---|
| Type | Description |
AnalyzedSessionTypesSessionState |
|
Severities
public MapField<string, AnalyzedSession.Types.SeveritySummary> Severities { get; }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][google.cloud.aiplatform.v1.AgentAnomalyDetectionService.ListAnalyzedSessions]
responses, the map holds only the session's highest severity.
| Property Value | |
|---|---|
| Type | Description |
MapFieldstringAnalyzedSessionTypesSeveritySummary |
|
UserId
public string UserId { get; set; }Output only. The user ID.
| Property Value | |
|---|---|
| Type | Description |
string |
|