Google Cloud Vmware Engine V1 Client - Class UpdateSubnetRequest (0.5.6)

Reference documentation and code samples for the Google Cloud Vmware Engine V1 Client class UpdateSubnetRequest.

Request message for VmwareEngine.UpdateSubnet

Generated from protobuf message google.cloud.vmwareengine.v1.UpdateSubnetRequest

Namespace

Google \ Cloud \ VmwareEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ update_mask Google\Protobuf\FieldMask

Required. Field mask is used to specify the fields to be overwritten in the Subnet resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

↳ subnet Google\Cloud\VmwareEngine\V1\Subnet

Required. Subnet description.

getUpdateMask

Required. Field mask is used to specify the fields to be overwritten in the Subnet resource by the update.

The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Field mask is used to specify the fields to be overwritten in the Subnet resource by the update.

The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

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

getSubnet

Required. Subnet description.

Returns
Type Description
Google\Cloud\VmwareEngine\V1\Subnet|null

hasSubnet

clearSubnet

setSubnet

Required. Subnet description.

Parameter
Name Description
var Google\Cloud\VmwareEngine\V1\Subnet
Returns
Type Description
$this

static::build

Parameters
Name Description
subnet Google\Cloud\VmwareEngine\V1\Subnet

Required. Subnet description.

updateMask Google\Protobuf\FieldMask

Required. Field mask is used to specify the fields to be overwritten in the Subnet resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

Returns
Type Description
Google\Cloud\VmwareEngine\V1\UpdateSubnetRequest