Class: Google::Apis::LanguageV2::XpsXpsOperationMetadata

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) ⇒ XpsXpsOperationMetadata

Returns a new instance of XpsXpsOperationMetadata.



5165
5166
5167
# File 'lib/google/apis/language_v2/classes.rb', line 5165

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

Instance Attribute Details

#example_countFixnum

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

Returns:

  • (Fixnum)


5132
5133
5134
# File 'lib/google/apis/language_v2/classes.rb', line 5132

def example_count
  @example_count
end

#reporting_metricsGoogle::Apis::LanguageV2::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



5143
5144
5145
# File 'lib/google/apis/language_v2/classes.rb', line 5143

def reporting_metrics
  @reporting_metrics
end

#tables_training_operation_metadataGoogle::Apis::LanguageV2::XpsTablesTrainingOperationMetadata

Corresponds to the JSON property tablesTrainingOperationMetadata



5148
5149
5150
# File 'lib/google/apis/language_v2/classes.rb', line 5148

def 
  @tables_training_operation_metadata
end

#video_batch_predict_operation_metadataGoogle::Apis::LanguageV2::XpsVideoBatchPredictOperationMetadata

Corresponds to the JSON property videoBatchPredictOperationMetadata



5153
5154
5155
# File 'lib/google/apis/language_v2/classes.rb', line 5153

def 
  @video_batch_predict_operation_metadata
end

#video_training_operation_metadataGoogle::Apis::LanguageV2::XpsVideoTrainingOperationMetadata

Corresponds to the JSON property videoTrainingOperationMetadata



5158
5159
5160
# File 'lib/google/apis/language_v2/classes.rb', line 5158

def 
  @video_training_operation_metadata
end

#vision_training_operation_metadataGoogle::Apis::LanguageV2::XpsVisionTrainingOperationMetadata

Corresponds to the JSON property visionTrainingOperationMetadata



5163
5164
5165
# File 'lib/google/apis/language_v2/classes.rb', line 5163

def 
  @vision_training_operation_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5170
5171
5172
5173
5174
5175
5176
5177
# File 'lib/google/apis/language_v2/classes.rb', line 5170

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