Class OperationMetadata (1.8.0)

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

Metadata describing an operation.

Attributes

NameDescription
state google.cloud.orchestration.airflow.service_v1beta1.types.OperationMetadata.State
Output only. The current operation state.
operation_type google.cloud.orchestration.airflow.service_v1beta1.types.OperationMetadata.Type
Output only. The type of operation being performed.
resource str
Output only. The resource being operated on, as a `relative resource name `__.
resource_uuid str
Output only. The UUID of the resource being operated on.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time the operation was submitted to the server.
end_time google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the operation terminated, regardless of its success. This field is unset if the operation is still ongoing.

Classes

State

State(value)

An enum describing the overall state of an operation.

Values: STATE_UNSPECIFIED (0): Unused. PENDING (1): The operation has been created but is not yet started. RUNNING (2): The operation is underway. SUCCESSFUL (3): The operation completed successfully. FAILED (4): The operation is no longer running but did not succeed.

Type

Type(value)

Type of longrunning operation.

Values: TYPE_UNSPECIFIED (0): Unused. CREATE (1): A resource creation operation. DELETE (2): A resource deletion operation. UPDATE (3): A resource update operation. CHECK (4): A resource check operation. SAVE_SNAPSHOT (5): Saves snapshot of the resource operation. LOAD_SNAPSHOT (6): Loads snapshot of the resource operation.