Reference documentation and code samples for the Google Cloud Network Security V1 Client class CreateSecurityProfileGroupRequest.
Request used by the CreateSecurityProfileGroup method.
Generated from protobuf message google.cloud.networksecurity.v1.CreateSecurityProfileGroupRequest
Namespace
Google \ Cloud \ NetworkSecurity \ V1Methods
__construct
Constructor.
| Parameter | |
|---|---|
| Name | Description |
data |
mixed
|
getParent
Required. The parent resource of the SecurityProfileGroup. Must be in the
format projects|organizations/*/locations/{location}.
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The parent resource of the SecurityProfileGroup. Must be in the
format projects|organizations/*/locations/{location}.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSecurityProfileGroupId
Required. Short name of the SecurityProfileGroup resource to be created.
This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "security_profile_group1".
| Returns | |
|---|---|
| Type | Description |
string |
|
setSecurityProfileGroupId
Required. Short name of the SecurityProfileGroup resource to be created.
This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "security_profile_group1".
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSecurityProfileGroup
Required. SecurityProfileGroup resource to be created.
| Returns | |
|---|---|
| Type | Description |
SecurityProfileGroup|null |
|
hasSecurityProfileGroup
clearSecurityProfileGroup
setSecurityProfileGroup
Required. SecurityProfileGroup resource to be created.
| Parameter | |
|---|---|
| Name | Description |
var |
SecurityProfileGroup
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The parent resource of the SecurityProfileGroup. Must be in the
format |
securityProfileGroup |
SecurityProfileGroup
Required. SecurityProfileGroup resource to be created. |
securityProfileGroupId |
string
Required. Short name of the SecurityProfileGroup resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "security_profile_group1". |
| Returns | |
|---|---|
| Type | Description |
CreateSecurityProfileGroupRequest |
|