Google Cloud Security Compliance V1 Client - Class FrameworkReference (0.1.0)

Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class FrameworkReference.

FrameworkReference contains the reference of a framework.

Generated from protobuf message google.cloud.cloudsecuritycompliance.v1.FrameworkReference

Namespace

Google \ Cloud \ CloudSecurityCompliance \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ framework string

Required. In the format: organizations/{org}/locations/{location}/frameworks/{framework}

↳ major_revision_id int|string

Optional. Major revision id of the framework. If not specified, corresponds to the latest revision of the framework.

getFramework

Required. In the format: organizations/{org}/locations/{location}/frameworks/{framework}

Returns
Type Description
string

setFramework

Required. In the format: organizations/{org}/locations/{location}/frameworks/{framework}

Parameter
Name Description
var string
Returns
Type Description
$this

getMajorRevisionId

Optional. Major revision id of the framework. If not specified, corresponds to the latest revision of the framework.

Returns
Type Description
int|string

hasMajorRevisionId

clearMajorRevisionId

setMajorRevisionId

Optional. Major revision id of the framework. If not specified, corresponds to the latest revision of the framework.

Parameter
Name Description
var int|string
Returns
Type Description
$this