Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringGenAiStats

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

A collection of data points that describes the time-varying values of a gen ai metric.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ModelMonitoringGenAiStats

Returns a new instance of GoogleCloudAiplatformV1beta1ModelMonitoringGenAiStats.



16856
16857
16858
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16856

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

Instance Attribute Details

#data_pointsArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPoint>

The data points of this time series. When listing time series, points are returned in reverse time order. Corresponds to the JSON property dataPoints



16843
16844
16845
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16843

def data_points
  @data_points
end

#objective_typeString

One of the supported monitoring objectives: gen-ai-general gen-ai- evaluation gen-ai-safety Corresponds to the JSON property objectiveType

Returns:

  • (String)


16849
16850
16851
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16849

def objective_type
  @objective_type
end

#stats_nameString

The stats name. Corresponds to the JSON property statsName

Returns:

  • (String)


16854
16855
16856
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16854

def stats_name
  @stats_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16861
16862
16863
16864
16865
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 16861

def update!(**args)
  @data_points = args[:data_points] if args.key?(:data_points)
  @objective_type = args[:objective_type] if args.key?(:objective_type)
  @stats_name = args[:stats_name] if args.key?(:stats_name)
end