Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class CreateCloudControlRequest.
The request message for CreateCloudControl.
Generated from protobuf message google.cloud.cloudsecuritycompliance.v1.CreateCloudControlRequest
Namespace
Google \ Cloud \ CloudSecurityCompliance \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent resource name, in the format |
↳ cloud_control_id |
string
Required. The identifier for the cloud control, which is the last segment of the cloud control name. The format is |
↳ cloud_control |
CloudControl
Required. The cloud control that's being created. |
getParent
Required. The parent resource name, in the format
organizations/{organization}/locations/{location}.
The only supported location is global.
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The parent resource name, in the format
organizations/{organization}/locations/{location}.
The only supported location is global.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCloudControlId
Required. The identifier for the cloud control, which is the last segment
of the cloud control name. The format is
^[a-zA-Z][a-zA-Z0-9-]{0,61}[a-zA-Z0-9]$.
| Returns | |
|---|---|
| Type | Description |
string |
|
setCloudControlId
Required. The identifier for the cloud control, which is the last segment
of the cloud control name. The format is
^[a-zA-Z][a-zA-Z0-9-]{0,61}[a-zA-Z0-9]$.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCloudControl
Required. The cloud control that's being created.
| Returns | |
|---|---|
| Type | Description |
CloudControl|null |
|
hasCloudControl
clearCloudControl
setCloudControl
Required. The cloud control that's being created.
| Parameter | |
|---|---|
| Name | Description |
var |
CloudControl
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The parent resource name, in the format
|
cloudControl |
CloudControl
Required. The cloud control that's being created. |
cloudControlId |
string
Required. The identifier for the cloud control, which is the last segment
of the cloud control name. The format is
|
| Returns | |
|---|---|
| Type | Description |
CreateCloudControlRequest |
|