Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class Compliance.
Contains compliance information about a security standard indicating unmet recommendations.
Generated from protobuf message google.cloud.securitycenter.v2.Compliance
Namespace
Google \ Cloud \ SecurityCenter \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ standard |
string
Industry-wide compliance standards or benchmarks, such as CIS, PCI, and OWASP. |
↳ version |
string
Version of the standard or benchmark, for example, 1.1 |
↳ ids |
array
Policies within the standard or benchmark, for example, A.12.4.1 |
getStandard
Industry-wide compliance standards or benchmarks, such as CIS, PCI, and OWASP.
| Returns | |
|---|---|
| Type | Description |
string |
|
setStandard
Industry-wide compliance standards or benchmarks, such as CIS, PCI, and OWASP.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVersion
Version of the standard or benchmark, for example, 1.1
| Returns | |
|---|---|
| Type | Description |
string |
|
setVersion
Version of the standard or benchmark, for example, 1.1
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIds
Policies within the standard or benchmark, for example, A.12.4.1
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setIds
Policies within the standard or benchmark, for example, A.12.4.1
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|