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

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

A framework is a collection of cloud controls and regulatory controls that represent security best practices or industry-defined standards such as FedRAMP or NIST.

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

Namespace

Google \ Cloud \ CloudSecurityCompliance \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Identifier. The name of the framework, in the format organizations/{organization}/locations/{location}/frameworks/{framework_id}. The only supported location is global.

↳ major_revision_id int|string

Output only. The major version of the framework, which is incremented in ascending order.

↳ display_name string

Optional. The friendly name of the framework. The maximum length is 200 characters.

↳ description string

Optional. The description of the framework. The maximum length is 2000 characters.

↳ type int

Output only. The type of framework.

↳ cloud_control_details array<CloudControlDetails>

Optional. The cloud control details that are directly added without any grouping in the framework.

↳ category array

Optional. The category of the framework.

↳ supported_cloud_providers array

Output only. The cloud providers that are supported by the framework.

↳ supported_target_resource_types array

Output only. The target resource types that are supported by the framework.

↳ supported_enforcement_modes array

Output only. The supported enforcement modes of the framework.

getName

Required. Identifier. The name of the framework, in the format organizations/{organization}/locations/{location}/frameworks/{framework_id}.

The only supported location is global.

Returns
Type Description
string

setName

Required. Identifier. The name of the framework, in the format organizations/{organization}/locations/{location}/frameworks/{framework_id}.

The only supported location is global.

Parameter
Name Description
var string
Returns
Type Description
$this

getMajorRevisionId

Output only. The major version of the framework, which is incremented in ascending order.

Returns
Type Description
int|string

setMajorRevisionId

Output only. The major version of the framework, which is incremented in ascending order.

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

getDisplayName

Optional. The friendly name of the framework. The maximum length is 200 characters.

Returns
Type Description
string

setDisplayName

Optional. The friendly name of the framework. The maximum length is 200 characters.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

Optional. The description of the framework. The maximum length is 2000 characters.

Returns
Type Description
string

setDescription

Optional. The description of the framework. The maximum length is 2000 characters.

Parameter
Name Description
var string
Returns
Type Description
$this

getType

Output only. The type of framework.

Returns
Type Description
int Enum of type FrameworkType.

setType

Output only. The type of framework.

Parameter
Name Description
var int

Enum of type FrameworkType.

Returns
Type Description
$this

getCloudControlDetails

Optional. The cloud control details that are directly added without any grouping in the framework.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setCloudControlDetails

Optional. The cloud control details that are directly added without any grouping in the framework.

Parameter
Name Description
var array<CloudControlDetails>
Returns
Type Description
$this

getCategory

Optional. The category of the framework.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setCategory

Optional. The category of the framework.

Parameter
Name Description
var int[]
Returns
Type Description
$this

getSupportedCloudProviders

Output only. The cloud providers that are supported by the framework.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSupportedCloudProviders

Output only. The cloud providers that are supported by the framework.

Parameter
Name Description
var int[]
Returns
Type Description
$this

getSupportedTargetResourceTypes

Output only. The target resource types that are supported by the framework.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSupportedTargetResourceTypes

Output only. The target resource types that are supported by the framework.

Parameter
Name Description
var int[]
Returns
Type Description
$this

getSupportedEnforcementModes

Output only. The supported enforcement modes of the framework.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSupportedEnforcementModes

Output only. The supported enforcement modes of the framework.

Parameter
Name Description
var int[]
Returns
Type Description
$this