Google Cloud Tpu V2 Client - Class UpdateNodeRequest (1.3.2)

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

Request for UpdateNode.

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

Namespace

Google \ Cloud \ Tpu \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ update_mask Google\Protobuf\FieldMask

Required. Mask of fields from Node to update. Supported fields: [description, tags, labels, metadata, network_config.enable_external_ips].

↳ node Google\Cloud\Tpu\V2\Node

Required. The node. Only fields specified in update_mask are updated.

getUpdateMask

Required. Mask of fields from Node to update.

Supported fields: [description, tags, labels, metadata, network_config.enable_external_ips].

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Mask of fields from Node to update.

Supported fields: [description, tags, labels, metadata, network_config.enable_external_ips].

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

getNode

Required. The node. Only fields specified in update_mask are updated.

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

hasNode

clearNode

setNode

Required. The node. Only fields specified in update_mask are updated.

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

static::build

Parameters
NameDescription
node Google\Cloud\Tpu\V2\Node

Required. The node. Only fields specified in update_mask are updated.

updateMask Google\Protobuf\FieldMask

Required. Mask of fields from Node to update. Supported fields: [description, tags, labels, metadata, network_config.enable_external_ips].

Returns
TypeDescription
Google\Cloud\Tpu\V2\UpdateNodeRequest