Class: Google::Apis::LanguageV1beta2::XpsXpsOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::LanguageV1beta2::XpsXpsOperationMetadata
- 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
-
#example_count ⇒ Fixnum
Optional.
-
#reporting_metrics ⇒ Google::Apis::LanguageV1beta2::XpsReportingMetrics
Metrics for the operation.
-
#tables_training_operation_metadata ⇒ Google::Apis::LanguageV1beta2::XpsTablesTrainingOperationMetadata
Corresponds to the JSON property
tablesTrainingOperationMetadata
. -
#video_batch_predict_operation_metadata ⇒ Google::Apis::LanguageV1beta2::XpsVideoBatchPredictOperationMetadata
Corresponds to the JSON property
videoBatchPredictOperationMetadata
. -
#video_training_operation_metadata ⇒ Google::Apis::LanguageV1beta2::XpsVideoTrainingOperationMetadata
Corresponds to the JSON property
videoTrainingOperationMetadata
. -
#vision_training_operation_metadata ⇒ Google::Apis::LanguageV1beta2::XpsVisionTrainingOperationMetadata
Corresponds to the JSON property
visionTrainingOperationMetadata
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ XpsXpsOperationMetadata
constructor
A new instance of XpsXpsOperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ XpsXpsOperationMetadata
Returns a new instance of XpsXpsOperationMetadata.
5471 5472 5473 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5471 def initialize(**args) update!(**args) end |
Instance Attribute Details
#example_count ⇒ Fixnum
Optional. XPS server can opt to provide example count of the long running
operation (e.g. training, data importing, batch prediction).
Corresponds to the JSON property exampleCount
5438 5439 5440 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5438 def example_count @example_count end |
#reporting_metrics ⇒ Google::Apis::LanguageV1beta2::XpsReportingMetrics
Metrics for the operation. By the time the operation is terminated (whether
succeeded or failed) as returned from XPS, AutoML BE assumes the metrics are
finalized. AutoML BE transparently posts the metrics to Chemist if it's not
empty, regardless of the response content or error type. If user is supposed
to be charged in case of cancellation/error, this field should be set. In the
case where the type of LRO doesn't require any billing, this field should be
left unset.
Corresponds to the JSON property reportingMetrics
5449 5450 5451 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5449 def reporting_metrics @reporting_metrics end |
#tables_training_operation_metadata ⇒ Google::Apis::LanguageV1beta2::XpsTablesTrainingOperationMetadata
Corresponds to the JSON property tablesTrainingOperationMetadata
5454 5455 5456 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5454 def @tables_training_operation_metadata end |
#video_batch_predict_operation_metadata ⇒ Google::Apis::LanguageV1beta2::XpsVideoBatchPredictOperationMetadata
Corresponds to the JSON property videoBatchPredictOperationMetadata
5459 5460 5461 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5459 def @video_batch_predict_operation_metadata end |
#video_training_operation_metadata ⇒ Google::Apis::LanguageV1beta2::XpsVideoTrainingOperationMetadata
Corresponds to the JSON property videoTrainingOperationMetadata
5464 5465 5466 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5464 def @video_training_operation_metadata end |
#vision_training_operation_metadata ⇒ Google::Apis::LanguageV1beta2::XpsVisionTrainingOperationMetadata
Corresponds to the JSON property visionTrainingOperationMetadata
5469 5470 5471 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5469 def @vision_training_operation_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5476 5477 5478 5479 5480 5481 5482 5483 |
# File 'lib/google/apis/language_v1beta2/classes.rb', line 5476 def update!(**args) @example_count = args[:example_count] if args.key?(:example_count) @reporting_metrics = args[:reporting_metrics] if args.key?(:reporting_metrics) @tables_training_operation_metadata = args[:tables_training_operation_metadata] if args.key?(:tables_training_operation_metadata) @video_batch_predict_operation_metadata = args[:video_batch_predict_operation_metadata] if args.key?(:video_batch_predict_operation_metadata) @video_training_operation_metadata = args[:video_training_operation_metadata] if args.key?(:video_training_operation_metadata) @vision_training_operation_metadata = args[:vision_training_operation_metadata] if args.key?(:vision_training_operation_metadata) end |