Reference documentation and code samples for the Google Cloud Tpu V2 Client class QueuedResource.
A QueuedResource represents a request for resources that will be placed in a queue and fulfilled when the necessary resources are available.
Generated from protobuf message google.cloud.tpu.v2.QueuedResource
Namespace
Google \ Cloud \ Tpu \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. Immutable. The name of the QueuedResource.
↳ create_time
↳ tpu
↳ spot
↳ guaranteed
↳ queueing_policy
↳ state
↳ reservation_name
string
Optional. Name of the reservation in which the resource should be provisioned. Format: projects/{project}/locations/{zone}/reservations/{reservation}
getName
Output only. Immutable. The name of the QueuedResource.
string
setName
Output only. Immutable. The name of the QueuedResource.
var
string
$this
getCreateTime
Output only. The time when the QueuedResource was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time when the QueuedResource was created.
$this
getTpu
Optional. Defines a TPU resource.
hasTpu
setTpu
Optional. Defines a TPU resource.
$this
getSpot
Optional. The Spot tier.
hasSpot
setSpot
Optional. The Spot tier.
$this
getGuaranteed
Optional. The Guaranteed tier
hasGuaranteed
setGuaranteed
Optional. The Guaranteed tier
$this
getQueueingPolicy
Optional. The queueing policy of the QueuedRequest.
hasQueueingPolicy
clearQueueingPolicy
setQueueingPolicy
Optional. The queueing policy of the QueuedRequest.
$this
getState
Output only. State of the QueuedResource request.
hasState
clearState
setState
Output only. State of the QueuedResource request.
$this
getReservationName
Optional. Name of the reservation in which the resource should be provisioned. Format: projects/{project}/locations/{zone}/reservations/{reservation}
string
setReservationName
Optional. Name of the reservation in which the resource should be provisioned. Format: projects/{project}/locations/{zone}/reservations/{reservation}
var
string
$this
getResource
string
getTier
string

