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

The request message for CreateFramework.

Generated from protobuf message `google.cloud.cloudsecuritycompliance.v1.CreateFrameworkRequest`

## Namespace

Google \\ Cloud \\ CloudSecurityCompliance \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The parent resource name, in one of the following formats: - `organizations/{organization}/locations/{location}` - `projects/{project}/locations/{location}`. The only supported location is `global`. |
| `↳ framework_id` | `string` Required. The identifier (ID) of the framework. The ID is not the full name of the framework; it's the last part of the full name of the framework. |
| `↳ framework` | `https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.Framework` Required. The resource being created. |

### getParent

Required. The parent resource name, in one of the following formats:

- `organizations/{organization}/locations/{location}`
- `projects/{project}/locations/{location}`.

The only supported location is `global`.

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

### setParent

Required. The parent resource name, in one of the following formats:

- `organizations/{organization}/locations/{location}`
- `projects/{project}/locations/{location}`.

The only supported location is `global`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getFrameworkId

Required. The identifier (ID) of the framework. The ID is not the full name
of the framework; it's the last part of the full name of the framework.

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

### setFrameworkId

Required. The identifier (ID) of the framework. The ID is not the full name
of the framework; it's the last part of the full name of the framework.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getFramework

Required. The resource being created.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.Framework|null` |   |

### hasFramework

### clearFramework

### setFramework

Required. The resource being created.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The parent resource name, in one of the following formats: - `organizations/{organization}/locations/{location}` - `projects/{project}/locations/{location}`. The only supported location is `global`. Please see ConfigClient::organizationLocationName() for help formatting this field. |
| `framework` | `https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.Framework` Required. The resource being created. |
| `frameworkId` | `string` Required. The identifier (ID) of the framework. The ID is not the full name of the framework; it's the last part of the full name of the framework. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.CreateFrameworkRequest` |   |