# Google Cloud Security Compliance V1 Client - Class Framework (0.4.0)

0.4.0 (latest) 0.3.0 0.2.1 0.1.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 one of the following formats: `organizations/{organization}/locations/{location}/frameworks/{framework}` or `projects/{project}/locations/{location}/frameworks/{framework}`. 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<https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.CloudControlDetails>` Optional. The cloud control details that are directly added without any grouping in the framework. |
| `↳ category` | `int[]` Optional. The category of the framework. |
| `↳ supported_cloud_providers` | `int[]` Output only. The cloud providers that are supported by the framework. |
| `↳ supported_target_resource_types` | `int[]` Output only. The target resource types that are supported by the framework. |
| `↳ supported_enforcement_modes` | `int[]` Output only. The supported enforcement modes of the framework. |

### getName

Required. Identifier. The name of the framework, in one of the following
formats:
`organizations/{organization}/locations/{location}/frameworks/{framework}`
or
`projects/{project}/locations/{location}/frameworks/{framework}`.

The only supported location is `global`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Required. Identifier. The name of the framework, in one of the following
formats:
`organizations/{organization}/locations/{location}/frameworks/{framework}`
or
`projects/{project}/locations/{location}/frameworks/{framework}`.

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](https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.Framework.FrameworkType). |

### setType

Output only. The type of framework.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [FrameworkType](https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.Framework.FrameworkType). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCloudControlDetails

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.CloudControlDetails>` |   |

### setCloudControlDetails

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.CloudControlDetails>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCategory

Optional. The category of the framework.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<int>` |   |

### 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** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<int>` |   |

### 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** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<int>` |   |

### 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** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<int>` |   |

### setSupportedEnforcementModes

Output only. The supported enforcement modes of the framework.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |