class Google::Apis::JobsV4::BatchOperationMetadata
Metadata used for long running operations returned by CTS batch APIs. It's used to replace google.longrunning.Operation.metadata.
Attributes
The time when the batch operation is created. Corresponds to the JSON property `createTime` @return [String]
The time when the batch operation is finished and google.longrunning.Operation. done is set to `true`. Corresponds to the JSON property `endTime` @return [String]
Count of failed item(s) inside an operation. Corresponds to the JSON property `failureCount` @return [Fixnum]
The state of a long running operation. Corresponds to the JSON property `state` @return [String]
More detailed information about operation state. Corresponds to the JSON property `stateDescription` @return [String]
Count of successful item(s) inside an operation. Corresponds to the JSON property `successCount` @return [Fixnum]
Count of total item(s) inside an operation. Corresponds to the JSON property `totalCount` @return [Fixnum]
The time when the batch operation status is updated. The metadata and the update_time
is refreshed every minute otherwise cached data is returned. Corresponds to the JSON property `updateTime` @return [String]
Public Class Methods
# File lib/google/apis/jobs_v4/classes.rb, line 192 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/jobs_v4/classes.rb, line 197 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @end_time = args[:end_time] if args.key?(:end_time) @failure_count = args[:failure_count] if args.key?(:failure_count) @state = args[:state] if args.key?(:state) @state_description = args[:state_description] if args.key?(:state_description) @success_count = args[:success_count] if args.key?(:success_count) @total_count = args[:total_count] if args.key?(:total_count) @update_time = args[:update_time] if args.key?(:update_time) end