Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class CloudControlDetails.
The details of a cloud control.
Generated from protobuf message google.cloud.cloudsecuritycompliance.v1.CloudControlDetails
Namespace
Google \ Cloud \ CloudSecurityCompliance \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The name of the cloud control, in the format |
↳ major_revision_id |
int|string
Required. The major version of the cloud control. |
↳ parameters |
array<Parameter>
Optional. Parameters are key-value pairs that let you provide your custom location requirements, environment requirements, or other settings that are relevant to the cloud control. An example parameter is |
getName
Required. The name of the cloud control, in the format
organizations/{organization}/locations/{location}/cloudControls/{cloud-control}.
The only supported location is global.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. The name of the cloud control, in the format
organizations/{organization}/locations/{location}/cloudControls/{cloud-control}.
The only supported location is global.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMajorRevisionId
Required. The major version of the cloud control.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setMajorRevisionId
Required. The major version of the cloud control.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getParameters
Optional. Parameters are key-value pairs that let you provide your custom
location requirements, environment requirements, or other settings that are
relevant to the cloud control. An example parameter is
{"name": "location","value": "us-west-1"}.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setParameters
Optional. Parameters are key-value pairs that let you provide your custom
location requirements, environment requirements, or other settings that are
relevant to the cloud control. An example parameter is
{"name": "location","value": "us-west-1"}.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Parameter>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|