# Google Cloud Security Compliance V1 Client - Class FrameworkReference (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 FrameworkReference.

The reference of a framework, in one of the following formats:

- `organizations/{organization}/locations/{location}/frameworks/{framework}`
- `projects/{project}/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` |   |