Class: Google::Apis::LanguageV2::XpsReportingMetrics

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ XpsReportingMetrics

Returns a new instance of XpsReportingMetrics.



2956
2957
2958
# File 'lib/google/apis/language_v2/classes.rb', line 2956

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

Instance Attribute Details

#effective_training_durationString

The effective time training used. If set, this is used for quota management and billing. Deprecated. AutoML BE doesn't use this. Don't set. Corresponds to the JSON property effectiveTrainingDuration

Returns:

  • (String)


2949
2950
2951
# File 'lib/google/apis/language_v2/classes.rb', line 2949

def effective_training_duration
  @effective_training_duration
end

#metric_entriesArray<Google::Apis::LanguageV2::XpsMetricEntry>

One entry per metric name. The values must be aggregated per metric name. Corresponds to the JSON property metricEntries



2954
2955
2956
# File 'lib/google/apis/language_v2/classes.rb', line 2954

def metric_entries
  @metric_entries
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2961
2962
2963
2964
# File 'lib/google/apis/language_v2/classes.rb', line 2961

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