Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringStats

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

Represents the collection of statistics for a metric.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelMonitoringStats

Returns a new instance of GoogleCloudAiplatformV1beta1ModelMonitoringStats.



17853
17854
17855
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17853

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

Instance Attribute Details

#gen_ai_statsGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringGenAiStats

A collection of data points that describes the time-varying values of a gen ai metric. Corresponds to the JSON property genAiStats



17845
17846
17847
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17845

def gen_ai_stats
  @gen_ai_stats
end

#tabular_statsGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringTabularStats

A collection of data points that describes the time-varying values of a tabular metric. Corresponds to the JSON property tabularStats



17851
17852
17853
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17851

def tabular_stats
  @tabular_stats
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17858
17859
17860
17861
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 17858

def update!(**args)
  @gen_ai_stats = args[:gen_ai_stats] if args.key?(:gen_ai_stats)
  @tabular_stats = args[:tabular_stats] if args.key?(:tabular_stats)
end