Class BatchOperationMetadata (3.7.1)

BatchOperationMetadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

NameDescription
state google.cloud.vision_v1p4beta1.types.BatchOperationMetadata.State
The current state of the batch operation.
submit_time google.protobuf.timestamp_pb2.Timestamp
The time when the batch request was submitted to the server.
end_time google.protobuf.timestamp_pb2.Timestamp
The time when the batch request is finished and google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.

Classes

State

State(value)

Enumerates the possible states that the batch request can be in.

Values: STATE_UNSPECIFIED (0): Invalid. PROCESSING (1): Request is actively being processed. SUCCESSFUL (2): The request is done and at least one item has been successfully processed. FAILED (3): The request is done and no item has been successfully processed. CANCELLED (4): The request is done after the longrunning.Operations.CancelOperation has been called by the user. Any records that were processed before the cancel command are output as specified in the request.