Grafeas V1 Client - Class CisBenchmark (0.8.3)

Reference documentation and code samples for the Grafeas V1 Client class CisBenchmark.

A compliance check that is a CIS benchmark.

Generated from protobuf message grafeas.v1.ComplianceNote.CisBenchmark

Namespace

Grafeas \ V1 \ ComplianceNote

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ profile_level int
↳ severity int

getProfileLevel

Generated from protobuf field int32 profile_level = 1;

Returns
TypeDescription
int

setProfileLevel

Generated from protobuf field int32 profile_level = 1;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getSeverity

Generated from protobuf field .grafeas.v1.Severity severity = 2;

Returns
TypeDescription
int

setSeverity

Generated from protobuf field .grafeas.v1.Severity severity = 2;

Parameter
NameDescription
var int
Returns
TypeDescription
$this