Reference documentation and code samples for the Google Cloud Design Center V1 Client class Framework.

Framework for assessment.

Generated from protobuf message `google.cloud.designcenter.v1.Framework`

## Namespace

Google \\ Cloud \\ DesignCenter \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The framework name. |
| `↳ major_revision_id` | `int` Optional. The major revision id of the framework. |
| `↳ parent_domain` | `https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.Domain` Required. The domain to which this framework belongs. |
| `↳ display_name` | `string` Optional. The framework display name. |
| `↳ description` | `string` Optional. The framework description. |
| `↳ url` | `string` Optional. The URL to a framework. |
| `↳ active` | `bool` Optional. Whether the framework is active. |
| `↳ cloud_control_details` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.CloudControl>` Optional. The cloud controls that are associated with the framework. |
| `↳ deployment_status` | `int` Optional. The deployment status of the framework. |
| `↳ managed_project_applicable` | `bool` Output only. Indicates if the framework is defined in the managed project. Only managed-project frameworks can be manually attached. |

### getName

Required. The framework name.

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

### setName

Required. The framework name.

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

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

### getMajorRevisionId

Optional. The major revision id of the framework.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setMajorRevisionId

Optional. The major revision id of the framework.

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

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

### getParentDomain

Required. The domain to which this framework belongs.

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

### hasParentDomain

### clearParentDomain

### setParentDomain

Required. The domain to which this framework belongs.

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

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

### getDisplayName

Optional. The framework display name.

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

### setDisplayName

Optional. The framework display name.

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

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

### getDescription

Optional. The framework description.

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

### setDescription

Optional. The framework description.

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

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

### getUrl

Optional. The URL to a framework.

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

### setUrl

Optional. The URL to a framework.

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

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

### getActive

Optional. Whether the framework is active.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setActive

Optional. Whether the framework is active.

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

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

### getCloudControlDetails

Optional. The cloud controls that are associated with the framework.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.CloudControl>` |   |

### setCloudControlDetails

Optional. The cloud controls that are associated with the framework.

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

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

### getDeploymentStatus

Optional. The deployment status of the framework.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [DeploymentStatus](https://docs.cloud.google.com/php/docs/reference/cloud-designcenter/latest/V1.Framework.DeploymentStatus). |

### setDeploymentStatus

Optional. The deployment status of the framework.

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

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

### getManagedProjectApplicable

Output only. Indicates if the framework is defined in the managed project.

Only managed-project frameworks can be manually attached.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setManagedProjectApplicable

Output only. Indicates if the framework is defined in the managed project.

Only managed-project frameworks can be manually attached.

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

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