Class: Google::Apis::AiplatformV1::IntelligenceCloudAutomlXpsMetricEntry

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IntelligenceCloudAutomlXpsMetricEntry

Returns a new instance of IntelligenceCloudAutomlXpsMetricEntry.



28320
28321
28322
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28320

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

Instance Attribute Details

#argentum_metric_idString

For billing metrics that are using legacy sku's, set the legacy billing metric id here. This will be sent to Chemist as the "cloudbilling.googleapis.com/ argentum_metric_id" label. Otherwise leave empty. Corresponds to the JSON property argentumMetricId

Returns:

  • (String)


28298
28299
28300
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28298

def argentum_metric_id
  @argentum_metric_id
end

#double_valueFloat

A double value. Corresponds to the JSON property doubleValue

Returns:

  • (Float)


28303
28304
28305
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28303

def double_value
  @double_value
end

#int64_valueFixnum

A signed 64-bit integer value. Corresponds to the JSON property int64Value

Returns:

  • (Fixnum)


28308
28309
28310
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28308

def int64_value
  @int64_value
end

#metric_nameString

The metric name defined in the service configuration. Corresponds to the JSON property metricName

Returns:

  • (String)


28313
28314
28315
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28313

def metric_name
  @metric_name
end

#system_labelsArray<Google::Apis::AiplatformV1::IntelligenceCloudAutomlXpsMetricEntryLabel>

Billing system labels for this (metric, value) pair. Corresponds to the JSON property systemLabels



28318
28319
28320
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28318

def system_labels
  @system_labels
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28325
28326
28327
28328
28329
28330
28331
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28325

def update!(**args)
  @argentum_metric_id = args[:argentum_metric_id] if args.key?(:argentum_metric_id)
  @double_value = args[:double_value] if args.key?(:double_value)
  @int64_value = args[:int64_value] if args.key?(:int64_value)
  @metric_name = args[:metric_name] if args.key?(:metric_name)
  @system_labels = args[:system_labels] if args.key?(:system_labels)
end