Class OperationMetadata (1.10.0)

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

Metadata describing an operation.

Attributes

NameDescription
state google.cloud.orchestration.airflow.service_v1.types.OperationMetadata.State
Output only. The current operation state.
operation_type google.cloud.orchestration.airflow.service_v1.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. SUCCEEDED (3): The operation completed successfully. SUCCESSFUL (3): No description available. 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. DATABASE_FAILOVER (7): Triggers failover of environment's Cloud SQL instance (only for highly resilient environments).