Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AnalyzedSession
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AnalyzedSession
- 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
-
#agent_display_name ⇒ String
Output only.
-
#agent_resource_name ⇒ String
Output only.
-
#agent_state ⇒ String
Output only.
-
#assessment ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Assessment
Detailed assessment for an analyzed session.
-
#create_time ⇒ String
Output only.
-
#latest_analyzed_time ⇒ String
Output only.
-
#location ⇒ String
Output only.
-
#name ⇒ String
Identifier.
-
#session_id ⇒ String
Output only.
-
#session_state ⇒ String
Output only.
-
#severities ⇒ Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AnalyzedSessionSeveritySummary>
Output only.
-
#user_id ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AnalyzedSession
constructor
A new instance of GoogleCloudAiplatformV1beta1AnalyzedSession.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AnalyzedSession
Returns a new instance of GoogleCloudAiplatformV1beta1AnalyzedSession.
7052 7053 7054 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7052 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent_display_name ⇒ String
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
6987 6988 6989 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6987 def agent_display_name @agent_display_name end |
#agent_resource_name ⇒ String
Output only. The agent resource name. Format: projects/project/locations/
location/reasoningEngines/agent`
Corresponds to the JSON propertyagentResourceName`
6993 6994 6995 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6993 def agent_resource_name @agent_resource_name end |
#agent_state ⇒ String
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
7002 7003 7004 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7002 def agent_state @agent_state end |
#assessment ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Assessment
Detailed assessment for an analyzed session.
Corresponds to the JSON property assessment
7007 7008 7009 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7007 def assessment @assessment end |
#create_time ⇒ String
Output only. The creation time of the session.
Corresponds to the JSON property createTime
7012 7013 7014 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7012 def create_time @create_time end |
#latest_analyzed_time ⇒ String
Output only. The latest analyzed time of the session.
Corresponds to the JSON property latestAnalyzedTime
7017 7018 7019 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7017 def latest_analyzed_time @latest_analyzed_time end |
#location ⇒ String
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
7024 7025 7026 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7024 def location @location end |
#name ⇒ String
Identifier. The resource name of the AnalyzedSession.
Corresponds to the JSON property name
7029 7030 7031 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7029 def name @name end |
#session_id ⇒ String
Output only. The session ID.
Corresponds to the JSON property sessionId
7034 7035 7036 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7034 def session_id @session_id end |
#session_state ⇒ String
Output only. The state of the session.
Corresponds to the JSON property sessionState
7039 7040 7041 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7039 def session_state @session_state end |
#severities ⇒ Hash<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
7045 7046 7047 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7045 def severities @severities end |
#user_id ⇒ String
Output only. The user ID.
Corresponds to the JSON property userId
7050 7051 7052 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7050 def user_id @user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7057 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 |