Class QueuedResourceState (1.13.0)

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

QueuedResourceState defines the details of the QueuedResource request.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
state google.cloud.tpu_v2alpha1.types.QueuedResourceState.State
State of the QueuedResource request.
creating_data google.cloud.tpu_v2alpha1.types.QueuedResourceState.CreatingData
Further data for the creating state. This field is a member of oneof_ state_data.
accepted_data google.cloud.tpu_v2alpha1.types.QueuedResourceState.AcceptedData
Further data for the accepted state. This field is a member of oneof_ state_data.
provisioning_data google.cloud.tpu_v2alpha1.types.QueuedResourceState.ProvisioningData
Further data for the provisioning state. This field is a member of oneof_ state_data.
failed_data google.cloud.tpu_v2alpha1.types.QueuedResourceState.FailedData
Further data for the failed state. This field is a member of oneof_ state_data.
deleting_data google.cloud.tpu_v2alpha1.types.QueuedResourceState.DeletingData
Further data for the deleting state. This field is a member of oneof_ state_data.
active_data google.cloud.tpu_v2alpha1.types.QueuedResourceState.ActiveData
Further data for the active state. This field is a member of oneof_ state_data.
suspending_data google.cloud.tpu_v2alpha1.types.QueuedResourceState.SuspendingData
Further data for the suspending state. This field is a member of oneof_ state_data.
suspended_data google.cloud.tpu_v2alpha1.types.QueuedResourceState.SuspendedData
Further data for the suspended state. This field is a member of oneof_ state_data.

Classes

AcceptedData

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

Further data for the accepted state.

ActiveData

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

Further data for the active state.

CreatingData

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

Further data for the creating state.

DeletingData

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

Further data for the deleting state.

FailedData

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

Further data for the failed state.

ProvisioningData

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

Further data for the provisioning state.

State

State(value)

Output only state of the request

Values: STATE_UNSPECIFIED (0): State of the QueuedResource request is not known/set. CREATING (1): The QueuedResource request has been received. We're still working on determining if we will be able to honor this request. ACCEPTED (2): The QueuedResource request has passed initial validation/admission control and has been persisted in the queue. PROVISIONING (3): The QueuedResource request has been selected. The associated resources are currently being provisioned (or very soon will begin provisioning). FAILED (4): The request could not be completed. This may be due to some late-discovered problem with the request itself, or due to unavailability of resources within the constraints of the request (e.g., the 'valid until' start timing constraint expired). DELETING (5): The QueuedResource is being deleted. ACTIVE (6): The resources specified in the QueuedResource request have been provisioned and are ready for use by the end-user/consumer. SUSPENDING (7): The resources specified in the QueuedResource request are being deleted. This may have been initiated by the user, or the Cloud TPU service. Inspect the state data for more details. SUSPENDED (8): The resources specified in the QueuedResource request have been deleted.

SuspendedData

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

Further data for the suspended state.

SuspendingData

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

Further data for the suspending state.