Class: Google::Apis::LanguageV1beta2::XpsReportingMetrics
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV1beta2::XpsReportingMetrics
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/language_v1beta2/classes.rb,
lib/google/apis/language_v1beta2/representations.rb,
lib/google/apis/language_v1beta2/representations.rb
Instance Attribute Summary collapse
-
#effective_training_duration ⇒ String
The effective time training used.
-
#metric_entries ⇒ Array<Google::Apis::LanguageV1beta2::XpsMetricEntry>
One entry per metric name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsReportingMetrics
constructor
A new instance of XpsReportingMetrics.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsReportingMetrics
Returns a new instance of XpsReportingMetrics.
3257 3258 3259 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3257 def initialize(**args) update!(**args) end |
Instance Attribute Details
#effective_training_duration ⇒ String
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
3250 3251 3252 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3250 def effective_training_duration @effective_training_duration end |
#metric_entries ⇒ Array<Google::Apis::LanguageV1beta2::XpsMetricEntry>
One entry per metric name. The values must be aggregated per metric name.
Corresponds to the JSON property metricEntries
3255 3256 3257 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3255 def metric_entries @metric_entries end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3262 3263 3264 3265 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 3262 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 |