Google Cloud Tpu V2 Client - Class QueuedResourceState (2.1.2)

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 \ V2

Methods

__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

hasCreatingData

setCreatingData

Output only. Further data for the creating state.

Parameter
Name
Description
Returns
Type
Description
$this

getAcceptedData

Output only. Further data for the accepted state.

Returns
Type
Description

hasAcceptedData

setAcceptedData

Output only. Further data for the accepted state.

Parameter
Name
Description
Returns
Type
Description
$this

getProvisioningData

Output only. Further data for the provisioning state.

Returns
Type
Description

hasProvisioningData

setProvisioningData

Output only. Further data for the provisioning state.

Parameter
Name
Description
Returns
Type
Description
$this

getFailedData

Output only. Further data for the failed state.

Returns
Type
Description

hasFailedData

setFailedData

Output only. Further data for the failed state.

Parameter
Name
Description
Returns
Type
Description
$this

getDeletingData

Output only. Further data for the deleting state.

Returns
Type
Description

hasDeletingData

setDeletingData

Output only. Further data for the deleting state.

Parameter
Name
Description
Returns
Type
Description
$this

getActiveData

Output only. Further data for the active state.

Returns
Type
Description

hasActiveData

setActiveData

Output only. Further data for the active state.

Parameter
Name
Description
Returns
Type
Description
$this

getSuspendingData

Output only. Further data for the suspending state.

Returns
Type
Description

hasSuspendingData

setSuspendingData

Output only. Further data for the suspending state.

Parameter
Name
Description
Returns
Type
Description
$this

getSuspendedData

Output only. Further data for the suspended state.

Returns
Type
Description

hasSuspendedData

setSuspendedData

Output only. Further data for the suspended state.

Parameter
Name
Description
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
Create a Mobile Website
View Site in Mobile | Classic
Share by: