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 TagApiDeploymentRevisionRequest.

Request message for TagApiDeploymentRevision.

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

## 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 deployment to be tagged, including the revision ID. |
| `↳ tag` | `string` Required. The tag to apply. The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`. |

### getName

Required. The name of the deployment to be tagged, including the revision ID.

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

### setName

Required. The name of the deployment to be tagged, including the revision ID.

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

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

### getTag

Required. The tag to apply.

The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.

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

### setTag

Required. The tag to apply.

The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.

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

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