Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AnalyzedSessionSeveritySummary

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

Breakdown of anomalies by severity.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AnalyzedSessionSeveritySummary

Returns a new instance of GoogleCloudAiplatformV1beta1AnalyzedSessionSeveritySummary.



7284
7285
7286
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7284

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

Instance Attribute Details

#detector_idsArray<String>

The list of detectors summaries for this severity level. Corresponds to the JSON property detectorIds

Returns:

  • (Array<String>)


7258
7259
7260
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7258

def detector_ids
  @detector_ids
end

#sessions_countFixnum

Output only. The number of distinct sessions whose MAX severity equals severity_level. Each session is counted in exactly one bucket -- the highest severity that any of its detectors reached -- so summing sessions_count across all populated entries in a severities map equals the total anomalous session count for that scope (per-agent or view summary). Distinct from detector_ids.size: a session whose detectors fire at LOW and CRITICAL contributes one entry to sessions_count (in CRITICAL only) but contributes detector IDs to BOTH the LOW and CRITICAL buckets' detector_ids lists. For AAD audit landing-page scorecards, prefer sessions_count -- "Critical anomalies" means sessions ranked critical, not distinct critical-firing detectors. On AggregateAnalyzedSessionsResponse.summary, this is a TRUE GLOBAL count across all anomalous active agents in scope (not page-scoped). On per- agent entries within agent_aggregates, it's per-agent. On ListAnalyzedSessionsResponse, it is currently page-scoped to match the existing summary semantics on that API. Corresponds to the JSON property sessionsCount

Returns:

  • (Fixnum)


7277
7278
7279
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7277

def sessions_count
  @sessions_count
end

#severity_levelString

The severity level of the detector. Corresponds to the JSON property severityLevel

Returns:

  • (String)


7282
7283
7284
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7282

def severity_level
  @severity_level
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7289
7290
7291
7292
7293
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 7289

def update!(**args)
  @detector_ids = args[:detector_ids] if args.key?(:detector_ids)
  @sessions_count = args[:sessions_count] if args.key?(:sessions_count)
  @severity_level = args[:severity_level] if args.key?(:severity_level)
end