Google Cloud Tpu V1 Client - Class CreateNodeRequest (1.4.6)

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

Namespace

Google \ Cloud \ Tpu \ V1

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