Google Cloud Tpu V2 Client - Class CreateQueuedResourceRequest (2.1.0)

Reference documentation and code samples for the Google Cloud Tpu V2 Client class CreateQueuedResourceRequest.

Request for CreateQueuedResource.

Generated from protobuf message google.cloud.tpu.v2.CreateQueuedResourceRequest

Namespace

Google \ Cloud \ Tpu \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource name.

↳ queued_resource_id string

Optional. The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$ regex format.

↳ queued_resource QueuedResource

Required. The queued resource.

↳ request_id string

Optional. Idempotent request UUID.

getParent

Required. The parent resource name.

Returns
Type Description
string

setParent

Required. The parent resource name.

Parameter
Name Description
var string
Returns
Type Description
$this

getQueuedResourceId

Optional. The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$ regex format.

Returns
Type Description
string

setQueuedResourceId

Optional. The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$ regex format.

Parameter
Name Description
var string
Returns
Type Description
$this

getQueuedResource

Required. The queued resource.

Returns
Type Description
QueuedResource|null

hasQueuedResource

clearQueuedResource

setQueuedResource

Required. The queued resource.

Parameter
Name Description
var QueuedResource
Returns
Type Description
$this

getRequestId

Optional. Idempotent request UUID.

Returns
Type Description
string

setRequestId

Optional. Idempotent request UUID.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent resource name. Please see TpuClient::locationName() for help formatting this field.

queuedResource QueuedResource

Required. The queued resource.

queuedResourceId string

Optional. The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$ regex format.

Returns
Type Description
CreateQueuedResourceRequest