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 \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
Google\Protobuf\FieldMask
|
Returns | |
---|---|
Type | Description |
$this |
getNode
Required. The node. Only fields specified in update_mask are updated.
Returns | |
---|---|
Type | Description |
Node|null |
hasNode
clearNode
setNode
Required. The node. Only fields specified in update_mask are updated.
Parameter | |
---|---|
Name | Description |
var |
Node
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
node |
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 | |
---|---|
Type | Description |
UpdateNodeRequest |