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

Breaks down anomalies by severity.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AnalyzedSessionSeveritySummary

Returns a new instance of GoogleCloudAiplatformV1beta1AnalyzedSessionSeveritySummary.



8207
8208
8209
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8207

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>)


8191
8192
8193
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8191

def detector_ids
  @detector_ids
end

#sessions_countFixnum

Output only. The number of distinct sessions whose maximum severity equals severity_level. Each session is counted in exactly one bucket (its highest severity). Scope depends on where this appears: a global count on AggregateAnalyzedSessionsResponse.summary, per-agent on agent_aggregates entries, and page-scoped on ListAnalyzedSessionsResponse. Corresponds to the JSON property sessionsCount

Returns:

  • (Fixnum)


8200
8201
8202
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8200

def sessions_count
  @sessions_count
end

#severity_levelString

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

Returns:

  • (String)


8205
8206
8207
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8205

def severity_level
  @severity_level
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8212
8213
8214
8215
8216
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 8212

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