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

The request message for DeleteFrameworkDeployment.

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

## Namespace

Google \\ Cloud \\ CloudSecurityCompliance \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The name of the framework deployment that you want to delete, in the format `organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment}` or `projects/{project}/locations/{location}/frameworkDeployments/{framework_deployment}`. The only supported location is `global`. |
| `↳ etag` | `string` Optional. An opaque identifier for the current version of the resource. If you provide this value, then it must match the existing value. If the values don't match, then the request fails with an [`ABORTED`](https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Code.html#_Google_Rpc_Code__ABORTED) error. If you omit this value, then the resource is deleted regardless of its current `etag` value. |

### getName

Required. The name of the framework deployment that you want to delete,
in the format
`organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment}`
or
`projects/{project}/locations/{location}/frameworkDeployments/{framework_deployment}`.

The only supported location is `global`.

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

### setName

Required. The name of the framework deployment that you want to delete,
in the format
`organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment}`
or
`projects/{project}/locations/{location}/frameworkDeployments/{framework_deployment}`.

The only supported location is `global`.

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

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

### getEtag

Optional. An opaque identifier for the current version of the resource.

If you provide this value, then it must match the existing value. If the
values don't match, then the request fails with an
[`ABORTED`](https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Code.html#_Google_Rpc_Code__ABORTED) error.
If you omit this value, then the resource is deleted regardless of its
current `etag` value.

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

### setEtag

Optional. An opaque identifier for the current version of the resource.

If you provide this value, then it must match the existing value. If the
values don't match, then the request fails with an
[`ABORTED`](https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Rpc.Code.html#_Google_Rpc_Code__ABORTED) error.
If you omit this value, then the resource is deleted regardless of its
current `etag` value.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the framework deployment that you want to delete, in the format `organizations/{organization}/locations/{location}/frameworkDeployments/{framework_deployment}` or `projects/{project}/locations/{location}/frameworkDeployments/{framework_deployment}`. The only supported location is `global`. Please see DeploymentClient::frameworkDeploymentName() for help formatting this field. |

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