Google Cloud Net App V1 Client - Class UpdateHostGroupRequest (1.10.1)

Reference documentation and code samples for the Google Cloud Net App V1 Client class UpdateHostGroupRequest.

UpdateHostGroupRequest for updating a host group.

Generated from protobuf message google.cloud.netapp.v1.UpdateHostGroupRequest

Namespace

Google \ Cloud \ NetApp \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ host_group HostGroup

Required. The host group to update. The host group's name field is used to identify the host group. Format: projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}.

↳ update_mask Google\Protobuf\FieldMask

Optional. The list of fields to update.

getHostGroup

Required. The host group to update.

The host group's name field is used to identify the host group. Format: projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}.

Returns
Type Description
HostGroup|null

hasHostGroup

clearHostGroup

setHostGroup

Required. The host group to update.

The host group's name field is used to identify the host group. Format: projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}.

Parameter
Name Description
var HostGroup
Returns
Type Description
$this

getUpdateMask

Optional. The list of fields to update.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. The list of fields to update.

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

static::build

Parameters
Name Description
hostGroup HostGroup

Required. The host group to update. The host group's name field is used to identify the host group. Format: projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}.

updateMask Google\Protobuf\FieldMask

Optional. The list of fields to update.

Returns
Type Description
UpdateHostGroupRequest