Class: Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BatchOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BatchOperationMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/vision_v1p1beta1/classes.rb,
generated/google/apis/vision_v1p1beta1/representations.rb,
generated/google/apis/vision_v1p1beta1/representations.rb
Overview
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.
Instance Attribute Summary collapse
-
#end_time ⇒ String
The time when the batch request is finished and google.longrunning.Operation.done is set to true.
-
#state ⇒ String
The current state of the batch operation.
-
#submit_time ⇒ String
The time when the batch request was submitted to the server.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudVisionV1p3beta1BatchOperationMetadata
constructor
A new instance of GoogleCloudVisionV1p3beta1BatchOperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudVisionV1p3beta1BatchOperationMetadata
Returns a new instance of GoogleCloudVisionV1p3beta1BatchOperationMetadata
5106 5107 5108 |
# File 'generated/google/apis/vision_v1p1beta1/classes.rb', line 5106 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
The time when the batch request is finished and
google.longrunning.Operation.done is set to true.
Corresponds to the JSON property endTime
5094 5095 5096 |
# File 'generated/google/apis/vision_v1p1beta1/classes.rb', line 5094 def end_time @end_time end |
#state ⇒ String
The current state of the batch operation.
Corresponds to the JSON property state
5099 5100 5101 |
# File 'generated/google/apis/vision_v1p1beta1/classes.rb', line 5099 def state @state end |
#submit_time ⇒ String
The time when the batch request was submitted to the server.
Corresponds to the JSON property submitTime
5104 5105 5106 |
# File 'generated/google/apis/vision_v1p1beta1/classes.rb', line 5104 def submit_time @submit_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5111 5112 5113 5114 5115 |
# File 'generated/google/apis/vision_v1p1beta1/classes.rb', line 5111 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 |