Class AsyncModelMetadata (1.4.3)

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

The long running operation metadata for async model related methods.

Attributes

NameDescription
state google.cloud.optimization_v1.types.AsyncModelMetadata.State
The state of the current operation.
state_message str
A message providing more details about the current state of the operation. For example, the error message if the operation is failed.
create_time google.protobuf.timestamp_pb2.Timestamp
The creation time of the operation.
update_time google.protobuf.timestamp_pb2.Timestamp
The last update time of the operation.

Classes

State

State(value)

Possible states of the operation.

Values: STATE_UNSPECIFIED (0): The default value. This value is used if the state is omitted. RUNNING (1): Request is being processed. SUCCEEDED (2): The operation completed successfully. CANCELLED (3): The operation was cancelled. FAILED (4): The operation has failed.