Google Cloud Tpu V1 Client - Class CreateNodeRequest (1.0.5)

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

Request for CreateNode.

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

Methods

__construct

Constructor.

Parameters
NameDescription
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\V1\Node

Required. The node.

getParent

Required. The parent resource name.

Returns
TypeDescription
string

setParent

Required. The parent resource name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getNodeId

The unqualified resource name.

Returns
TypeDescription
string

setNodeId

The unqualified resource name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getNode

Required. The node.

Returns
TypeDescription
Google\Cloud\Tpu\V1\Node|null

hasNode

clearNode

setNode

Required. The node.

Parameter
NameDescription
var Google\Cloud\Tpu\V1\Node
Returns
TypeDescription
$this