Reference documentation and code samples for the Google Cloud Net App V1 Client class HostGroup.
Host group is a collection of hosts that can be used for accessing a Block Volume.
Generated from protobuf message google.cloud.netapp.v1.HostGroup
Namespace
Google \ Cloud \ NetApp \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The resource name of the host group. Format: projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}
.
↳ type
int
Required. Type of the host group.
↳ state
int
Output only. State of the host group.
↳ create_time
↳ hosts
string[]
Required. The list of hosts associated with the host group.
↳ os_type
int
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.
↳ description
string
Optional. Description of the host group.
↳ labels
getName
Identifier. The resource name of the host group.
Format: projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}
.
string
setName
Identifier. The resource name of the host group.
Format: projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}
.
var
string
$this
getType
Required. Type of the host group.
setType
Required. Type of the host group.
$this
getState
Output only. State of the host group.
setState
Output only. State of the host group.
$this
getCreateTime
Output only. Create time of the host group.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Create time of the host group.
$this
getHosts
Required. The list of hosts associated with the host group.
setHosts
Required. The list of hosts associated with the host group.
var
string[]
$this
getOsType
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.
setOsType
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.
$this
getDescription
Optional. Description of the host group.
string
setDescription
Optional. Description of the host group.
var
string
$this
getLabels
Optional. Labels of the host group.
setLabels
Optional. Labels of the host group.
$this

