Reference documentation and code samples for the Google Cloud Net App V1 Client class CreateHostGroupRequest.
CreateHostGroupRequest for creating a host group.
Generated from protobuf message google.cloud.netapp.v1.CreateHostGroupRequest
Namespace
Google \ Cloud \ NetApp \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. Parent value for CreateHostGroupRequest |
↳ host_group |
HostGroup
Required. Fields of the host group to create. |
↳ host_group_id |
string
Required. ID of the host group to create. Must be unique within the parent resource. Must contain only letters, numbers, and hyphen, with the first character a letter or underscore, the last a letter or underscore or a number, and a 63 character maximum. |
getParent
Required. Parent value for CreateHostGroupRequest
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. Parent value for CreateHostGroupRequest
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getHostGroup
Required. Fields of the host group to create.
| Returns | |
|---|---|
| Type | Description |
HostGroup|null |
|
hasHostGroup
clearHostGroup
setHostGroup
Required. Fields of the host group to create.
| Parameter | |
|---|---|
| Name | Description |
var |
HostGroup
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getHostGroupId
Required. ID of the host group to create. Must be unique within the parent resource. Must contain only letters, numbers, and hyphen, with the first character a letter or underscore, the last a letter or underscore or a number, and a 63 character maximum.
| Returns | |
|---|---|
| Type | Description |
string |
|
setHostGroupId
Required. ID of the host group to create. Must be unique within the parent resource. Must contain only letters, numbers, and hyphen, with the first character a letter or underscore, the last a letter or underscore or a number, and a 63 character maximum.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. Parent value for CreateHostGroupRequest Please see NetAppClient::locationName() for help formatting this field. |
hostGroup |
HostGroup
Required. Fields of the host group to create. |
hostGroupId |
string
Required. ID of the host group to create. Must be unique within the parent resource. Must contain only letters, numbers, and hyphen, with the first character a letter or underscore, the last a letter or underscore or a number, and a 63 character maximum. |
| Returns | |
|---|---|
| Type | Description |
CreateHostGroupRequest |
|