Google Cloud Tpu V2 Client - Class CreateNodeRequest (1.4.5)

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

Request for CreateNode.

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

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.

↳ node_id string

The unqualified resource name.

↳ node Google\Cloud\Tpu\V2\Node

Required. The node.

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

getNodeId

The unqualified resource name.

Returns
Type Description
string

setNodeId

The unqualified resource name.

Parameter
Name Description
var string
Returns
Type Description
$this

getNode

Required. The node.

Returns
Type Description
Google\Cloud\Tpu\V2\Node|null

hasNode

clearNode

setNode

Required. The node.

Parameter
Name Description
var Google\Cloud\Tpu\V2\Node
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent resource name. Please see Google\Cloud\Tpu\V2\TpuClient::locationName() for help formatting this field.

node Google\Cloud\Tpu\V2\Node

Required. The node.

nodeId string

The unqualified resource name.

Returns
Type Description
Google\Cloud\Tpu\V2\CreateNodeRequest