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

The request message for UpdateFramework.

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

## Namespace

Google \\ Cloud \\ CloudSecurityCompliance \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ update_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Optional. A field mask is used to specify the fields to be overwritten in the framework resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If you don't provide a mask then all fields present in the request will be overwritten. |
| `↳ framework` | `https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.Framework` Required. The resource that is being updated. |
| `↳ major_revision_id` | `int|string` Optional. The major version ID of the framework to update. |

### getUpdateMask

Optional. A field mask is used to specify the fields to be overwritten in
the framework resource by the update. The fields specified in the
`update_mask` are relative to the resource, not the full request. A field
is overwritten if it is in the mask. If you don't provide a mask then all
fields present in the request will be overwritten.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask|null` |   |

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

Optional. A field mask is used to specify the fields to be overwritten in
the framework resource by the update. The fields specified in the
`update_mask` are relative to the resource, not the full request. A field
is overwritten if it is in the mask. If you don't provide a mask then all
fields present in the request will be overwritten.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` |

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

### getFramework

Required. The resource that is being updated.

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

### hasFramework

### clearFramework

### setFramework

Required. The resource that is being updated.

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

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

### getMajorRevisionId

Optional. The major version ID of the framework to update.

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

### setMajorRevisionId

Optional. The major version ID of the framework to update.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `framework` | `https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.Framework` Required. The resource that is being updated. |
| `updateMask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Optional. A field mask is used to specify the fields to be overwritten in the framework resource by the update. The fields specified in the `update_mask` are relative to the resource, not the full request. A field is overwritten if it is in the mask. If you don't provide a mask then all fields present in the request will be overwritten. |

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