v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-134680139.0 KB
projects

Updates an existing host group.

patch/v1/{+name}

Path parameters

namestring required

Identifier. The resource name of the host group. Format: projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}.

Query parameters

updateMaskstring

Optional. The list of fields to update.

Request body

osType'OS_TYPE_UNSPECIFIED' | 'LINUX' | 'WINDOWS' | 'ESXI'

Required. The OS type of the host group. It indicates the type of operating system used by all of the hosts in the HostGroup. All hosts in a HostGroup must be of the same OS type. This can be set only when creating a HostGroup.

state'STATE_UNSPECIFIED' | 'CREATING' | 'READY' | 'UPDATING' | 'DELETING' | 'DISABLED'

Output only. State of the host group.

hostsstring[]

Required. The list of hosts associated with the host group.

descriptionstring

Optional. Description of the host group.

namestring

Identifier. The resource name of the host group. Format: projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}.

createTimestring google-datetime

Output only. Create time of the host group.

type'TYPE_UNSPECIFIED' | 'ISCSI_INITIATOR'

Required. Type of the host group.

labelsobject

Optional. Labels of the host group.

Response

Successful response