# REST Resource: projects.locations.mirroringDeployments

## Resource: MirroringDeployment

A deployment represents a zonal mirroring backend ready to accept GENEVE-encapsulated replica traffic, e.g. a zonal instance group fronted by an internal passthrough load balancer. Deployments are always part of a global deployment group which represents a global mirroring service.

| JSON representation |
|---|
| ``` { "name": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "forwardingRule": string, "mirroringDeploymentGroup": string, "state": enum (`State`), "reconciling": boolean, "description": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Immutable. Identifier. The resource name of this deployment, for example: `projects/123456789/locations/us-central1-a/mirroringDeployments/my-dep`. See <https://google.aip.dev/122> for more details. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The timestamp when the resource was created. See <https://google.aip.dev/148#timestamps>. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `updateTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The timestamp when the resource was most recently updated. See <https://google.aip.dev/148#timestamps>. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `labels` | `map (key: string, value: string)` Optional. Labels are key/value pairs that help to organize and filter resources. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `forwardingRule` | `string` Required. Immutable. The regional forwarding rule that fronts the mirroring collectors, for example: `projects/123456789/regions/us-central1/forwardingRules/my-rule`. See <https://google.aip.dev/124>. |
| `mirroringDeploymentGroup` | `string` Required. Immutable. The deployment group that this deployment is a part of, for example: `projects/123456789/locations/global/mirroringDeploymentGroups/my-dg`. See <https://google.aip.dev/124>. |
| `state` | ``enum (`State`)`` Output only. The current state of the deployment. See <https://google.aip.dev/216>. |
| `reconciling` | `boolean` Output only. The current state of the resource does not match the user's intended state, and the system is working to reconcile them. This part of the normal operation (e.g. linking a new association to the parent group). See <https://google.aip.dev/128>. |
| `description` | `string` Optional. User-provided description of the deployment. Used as additional context for the deployment. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/network-security-integration/docs/reference/rest/v1/projects.locations.mirroringDeployments/create` | Creates a deployment in a given project and location. |
| ### `https://docs.cloud.google.com/network-security-integration/docs/reference/rest/v1/projects.locations.mirroringDeployments/delete` | Deletes a deployment. |
| ### `https://docs.cloud.google.com/network-security-integration/docs/reference/rest/v1/projects.locations.mirroringDeployments/get` | Gets a specific deployment. |
| ### `https://docs.cloud.google.com/network-security-integration/docs/reference/rest/v1/projects.locations.mirroringDeployments/list` | Lists deployments in a given project and location. |
| ### `https://docs.cloud.google.com/network-security-integration/docs/reference/rest/v1/projects.locations.mirroringDeployments/patch` | Updates a deployment. |