Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class Compliance.
Contains compliance information about a security standard indicating unmet recommendations.
Generated from protobuf message google.cloud.securitycenter.v1.Compliance
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ standard |
string
Refers to industry wide standards or benchmarks e.g. "cis", "pci", "owasp", etc. |
↳ version |
string
Version of the standard/benchmark e.g. 1.1 |
↳ ids |
array
Policies within the standard/benchmark e.g. A.12.4.1 |
getStandard
Refers to industry wide standards or benchmarks e.g. "cis", "pci", "owasp", etc.
Generated from protobuf field string standard = 1;
Returns | |
---|---|
Type | Description |
string |
setStandard
Refers to industry wide standards or benchmarks e.g. "cis", "pci", "owasp", etc.
Generated from protobuf field string standard = 1;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getVersion
Version of the standard/benchmark e.g. 1.1
Generated from protobuf field string version = 2;
Returns | |
---|---|
Type | Description |
string |
setVersion
Version of the standard/benchmark e.g. 1.1
Generated from protobuf field string version = 2;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getIds
Policies within the standard/benchmark e.g. A.12.4.1
Generated from protobuf field repeated string ids = 3;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setIds
Policies within the standard/benchmark e.g. A.12.4.1
Generated from protobuf field repeated string ids = 3;
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |