---
title: "PATCH /v1/{+name}"
method: PATCH
path: "/v1/{+name}"
tags: ["projects"]
---

# PATCH /v1/{+name}

`PATCH /v1/{+name}`

Update a single Enrollment.

## Path parameters

- `name` string, required

## Query parameters

- `allowMissing` boolean
- `updateMask` string
- `validateOnly` boolean

## Request body

- Enrollment — An enrollment represents a subscription for messages on a particular message bus. It defines a matching criteria for messages on the bus and the subscriber endpoint where matched messages should be delivered.
  - `etag` string — Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on update and delete requests to ensure that the client has an up-to-date value before proceeding.
  - `labels` object — Optional. Resource labels.
  - `annotations` object — Optional. Resource annotations.
  - `messageBus` string — Required. Immutable. Resource name of the message bus identifying the source of the messages. It matches the form projects/{project}/locations/{location}/messageBuses/{messageBus}.
  - `displayName` string — Optional. Resource display name.
  - `destination` string — Required. Destination is the Pipeline that the Enrollment is delivering to. It must point to the full resource name of a Pipeline. Format: "projects/{PROJECT_ID}/locations/{region}/pipelines/{PIPELINE_ID)"
  - `uid` string — Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
  - `createTime` string, google-datetime — Output only. The creation time.
  - `name` string — Identifier. Resource name of the form projects/{project}/locations/{location}/enrollments/{enrollment}
  - `updateTime` string, google-datetime — Output only. The last-modified time.
  - `celMatch` string — Required. A CEL expression identifying which messages this enrollment applies to.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/eventarc.md) · [All operations](https://skmtc.net/google/apis/eventarc/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/eventarc/versions/d60df8f49319/schema)
