class Google::Apis::VisionV1p2beta1::GoogleCloudVisionV1p4beta1BatchOperationMetadata
Metadata for the batch operations such as the current state. This is included in the `metadata` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.
Attributes
end_time[RW]
The time when the batch request is finished and google.longrunning.Operation. done is set to true. Corresponds to the JSON property `endTime` @return [String]
state[RW]
The current state of the batch operation. Corresponds to the JSON property `state` @return [String]
submit_time[RW]
The time when the batch request was submitted to the server. Corresponds to the JSON property `submitTime` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/vision_v1p2beta1/classes.rb, line 6984 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/vision_v1p2beta1/classes.rb, line 6989 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @state = args[:state] if args.key?(:state) @submit_time = args[:submit_time] if args.key?(:submit_time) end