# Google Cloud Certificate Manager V1 Client - Class DeleteTrustConfigRequest (1.1.2)

1.1.2 (latest) 1.1.1 1.0.4 0.7.3 0.6.0 0.5.2 0.4.2 0.3.7 Reference documentation and code samples for the Google Cloud Certificate Manager V1 Client class DeleteTrustConfigRequest.

Request for the `DeleteTrustConfig` method.

Generated from protobuf message `google.cloud.certificatemanager.v1.DeleteTrustConfigRequest`

## Namespace

Google \\ Cloud \\ CertificateManager \\ V1

## Methods

### __construct

Constructor.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `data` | `mixed` |

### getName

Required. A name of the TrustConfig to delete. Must be in the format
`projects/*/locations/*/trustConfigs/*`.

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

### setName

Required. A name of the TrustConfig to delete. Must be in the format
`projects/*/locations/*/trustConfigs/*`.

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

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

### getEtag

The current etag of the TrustConfig.

If an etag is provided and does not match the current etag of the resource,
deletion will be blocked and an ABORTED error will be returned.

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

### setEtag

The current etag of the TrustConfig.

If an etag is provided and does not match the current etag of the resource,
deletion will be blocked and an ABORTED error will be returned.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. A name of the TrustConfig to delete. Must be in the format `projects/*/locations/*/trustConfigs/*`. Please see CertificateManagerClient::trustConfigName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-certificate-manager/latest/V1.DeleteTrustConfigRequest` |   |