Reference documentation and code samples for the Google Cloud Tpu V2 Client class QueuedResourceState.
QueuedResourceState defines the details of the QueuedResource request.
Generated from protobuf message google.cloud.tpu.v2.QueuedResourceState
Namespace
Google \ Cloud \ Tpu \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ state |
int
Output only. State of the QueuedResource request. |
↳ creating_data |
QueuedResourceState\CreatingData
Output only. Further data for the creating state. |
↳ accepted_data |
QueuedResourceState\AcceptedData
Output only. Further data for the accepted state. |
↳ provisioning_data |
QueuedResourceState\ProvisioningData
Output only. Further data for the provisioning state. |
↳ failed_data |
QueuedResourceState\FailedData
Output only. Further data for the failed state. |
↳ deleting_data |
QueuedResourceState\DeletingData
Output only. Further data for the deleting state. |
↳ active_data |
QueuedResourceState\ActiveData
Output only. Further data for the active state. |
↳ suspending_data |
QueuedResourceState\SuspendingData
Output only. Further data for the suspending state. |
↳ suspended_data |
QueuedResourceState\SuspendedData
Output only. Further data for the suspended state. |
↳ state_initiator |
int
Output only. The initiator of the QueuedResources's current state. Used to indicate whether the SUSPENDING/SUSPENDED state was initiated by the user or the service. |
getState
Output only. State of the QueuedResource request.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type State. |
setState
Output only. State of the QueuedResource request.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type State. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCreatingData
Output only. Further data for the creating state.
| Returns | |
|---|---|
| Type | Description |
QueuedResourceState\CreatingData|null |
|
hasCreatingData
setCreatingData
Output only. Further data for the creating state.
| Parameter | |
|---|---|
| Name | Description |
var |
QueuedResourceState\CreatingData
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAcceptedData
Output only. Further data for the accepted state.
| Returns | |
|---|---|
| Type | Description |
QueuedResourceState\AcceptedData|null |
|
hasAcceptedData
setAcceptedData
Output only. Further data for the accepted state.
| Parameter | |
|---|---|
| Name | Description |
var |
QueuedResourceState\AcceptedData
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getProvisioningData
Output only. Further data for the provisioning state.
| Returns | |
|---|---|
| Type | Description |
QueuedResourceState\ProvisioningData|null |
|
hasProvisioningData
setProvisioningData
Output only. Further data for the provisioning state.
| Parameter | |
|---|---|
| Name | Description |
var |
QueuedResourceState\ProvisioningData
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFailedData
Output only. Further data for the failed state.
| Returns | |
|---|---|
| Type | Description |
QueuedResourceState\FailedData|null |
|
hasFailedData
setFailedData
Output only. Further data for the failed state.
| Parameter | |
|---|---|
| Name | Description |
var |
QueuedResourceState\FailedData
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDeletingData
Output only. Further data for the deleting state.
| Returns | |
|---|---|
| Type | Description |
QueuedResourceState\DeletingData|null |
|
hasDeletingData
setDeletingData
Output only. Further data for the deleting state.
| Parameter | |
|---|---|
| Name | Description |
var |
QueuedResourceState\DeletingData
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getActiveData
Output only. Further data for the active state.
| Returns | |
|---|---|
| Type | Description |
QueuedResourceState\ActiveData|null |
|
hasActiveData
setActiveData
Output only. Further data for the active state.
| Parameter | |
|---|---|
| Name | Description |
var |
QueuedResourceState\ActiveData
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSuspendingData
Output only. Further data for the suspending state.
| Returns | |
|---|---|
| Type | Description |
QueuedResourceState\SuspendingData|null |
|
hasSuspendingData
setSuspendingData
Output only. Further data for the suspending state.
| Parameter | |
|---|---|
| Name | Description |
var |
QueuedResourceState\SuspendingData
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSuspendedData
Output only. Further data for the suspended state.
| Returns | |
|---|---|
| Type | Description |
QueuedResourceState\SuspendedData|null |
|
hasSuspendedData
setSuspendedData
Output only. Further data for the suspended state.
| Parameter | |
|---|---|
| Name | Description |
var |
QueuedResourceState\SuspendedData
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStateInitiator
Output only. The initiator of the QueuedResources's current state. Used to indicate whether the SUSPENDING/SUSPENDED state was initiated by the user or the service.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type StateInitiator. |
setStateInitiator
Output only. The initiator of the QueuedResources's current state. Used to indicate whether the SUSPENDING/SUSPENDED state was initiated by the user or the service.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type StateInitiator. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStateData
| Returns | |
|---|---|
| Type | Description |
string |
|