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

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

The reference of a framework, in the format organizations/{organization}/locations/{location}/frameworks/{framework}.

The only supported location is global.

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. The major version of the framework. If not specified, the version corresponds to the latest version of the framework.

↳ major_revision_id int|string

Optional. The major version of the framework. If not specified, the version corresponds to the latest version of the framework.

getFramework

Required. The major version of the framework. If not specified, the version corresponds to the latest version of the framework.

Returns
Type Description
string

setFramework

Required. The major version of the framework. If not specified, the version corresponds to the latest version of the framework.

Parameter
Name Description
var string
Returns
Type Description
$this

getMajorRevisionId

Optional. The major version of the framework. If not specified, the version corresponds to the latest version of the framework.

Returns
Type Description
int|string

hasMajorRevisionId

clearMajorRevisionId

setMajorRevisionId

Optional. The major version of the framework. If not specified, the version corresponds to the latest version of the framework.

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