Google Cloud Tpu V2 Client - Class CreateNodeRequest (1.4.6)

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 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
Node|null

hasNode

clearNode

setNode

Required. The node.

Parameter
Name Description
var Node
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.

node Node

Required. The node.

nodeId string

The unqualified resource name.

Returns
Type Description
CreateNodeRequest