1.1.6 (latest) 1.1.4 1.0.4 0.5.5 0.4.2 0.3.2 0.2.7 Reference documentation and code samples for the Google Cloud Apigee Registry V1 Client class DeleteArtifactRequest.

Request message for DeleteArtifact.

Generated from protobuf message `google.cloud.apigeeregistry.v1.DeleteArtifactRequest`

## Namespace

Google \\ Cloud \\ ApigeeRegistry \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The name of the artifact to delete. Format: `{parent}/artifacts/*` |

### getName

Required. The name of the artifact to delete.

Format: `{parent}/artifacts/*`

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

### setName

Required. The name of the artifact to delete.

Format: `{parent}/artifacts/*`

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The name of the artifact to delete. Format: `{parent}/artifacts/*` Please see RegistryClient::artifactName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-apigee-registry/latest/V1.DeleteArtifactRequest` |   |