Google Cloud Oracle Database V1 Client - Class UpdateCloudVmClusterRequest (0.15.0)

Reference documentation and code samples for the Google Cloud Oracle Database V1 Client class UpdateCloudVmClusterRequest.

The request for CloudVmCluster.Update.

Generated from protobuf message google.cloud.oracledatabase.v1.UpdateCloudVmClusterRequest

Namespace

Google \ Cloud \ OracleDatabase \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ update_mask Google\Protobuf\FieldMask

Optional. A mask specifying which fields in the VM Cluster should be updated. A field specified in the mask is overwritten. If a mask isn't provided, the service treats this as an implied field mask equivalent to all fields that are populated (have a non-empty value). To clear or unset a field, the field must be explicitly specified in the update_mask.

↳ cloud_vm_cluster CloudVmCluster

Required. The resource being updated. Note only labels can be updated. The provided labels will completely replace the existing labels. Any existing label keys that are not included in the update request will be deleted. Not providing labels and update_mask will not update the labels. To clear all labels, specify labels in the update_mask and omit or leave the labels field empty in the update request.

↳ request_id string

Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

getUpdateMask

Optional. A mask specifying which fields in the VM Cluster should be updated. A field specified in the mask is overwritten. If a mask isn't provided, the service treats this as an implied field mask equivalent to all fields that are populated (have a non-empty value). To clear or unset a field, the field must be explicitly specified in the update_mask.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. A mask specifying which fields in the VM Cluster should be updated. A field specified in the mask is overwritten. If a mask isn't provided, the service treats this as an implied field mask equivalent to all fields that are populated (have a non-empty value). To clear or unset a field, the field must be explicitly specified in the update_mask.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

getCloudVmCluster

Required. The resource being updated. Note only labels can be updated.

The provided labels will completely replace the existing labels. Any existing label keys that are not included in the update request will be deleted. Not providing labels and update_mask will not update the labels. To clear all labels, specify labels in the update_mask and omit or leave the labels field empty in the update request.

Returns
Type Description
CloudVmCluster|null

hasCloudVmCluster

clearCloudVmCluster

setCloudVmCluster

Required. The resource being updated. Note only labels can be updated.

The provided labels will completely replace the existing labels. Any existing label keys that are not included in the update request will be deleted. Not providing labels and update_mask will not update the labels. To clear all labels, specify labels in the update_mask and omit or leave the labels field empty in the update request.

Parameter
Name Description
var CloudVmCluster
Returns
Type Description
$this

getRequestId

Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Returns
Type Description
string

setRequestId

Optional. An optional ID to identify the request. This value is used to identify duplicate requests. If you make a request with the same request ID and the original request is still in progress or completed, the server ignores the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
cloudVmCluster CloudVmCluster

Required. The resource being updated. Note only labels can be updated. The provided labels will completely replace the existing labels. Any existing label keys that are not included in the update request will be deleted. Not providing labels and update_mask will not update the labels. To clear all labels, specify labels in the update_mask and omit or leave the labels field empty in the update request.

updateMask Google\Protobuf\FieldMask

Optional. A mask specifying which fields in the VM Cluster should be updated. A field specified in the mask is overwritten. If a mask isn't provided, the service treats this as an implied field mask equivalent to all fields that are populated (have a non-empty value). To clear or unset a field, the field must be explicitly specified in the update_mask.

Returns
Type Description
UpdateCloudVmClusterRequest