# Eventarc API

Build event-driven applications on Google Cloud Platform.

- [REST Resource: v1.projects.locations](https://docs.cloud.google.com/eventarc/docs/reference/rest#v1.projects.locations)
- [REST Resource: v1.projects.locations.channelConnections](https://docs.cloud.google.com/eventarc/docs/reference/rest#v1.projects.locations.channelConnections)
- [REST Resource: v1.projects.locations.channels](https://docs.cloud.google.com/eventarc/docs/reference/rest#v1.projects.locations.channels)
- [REST Resource: v1.projects.locations.enrollments](https://docs.cloud.google.com/eventarc/docs/reference/rest#v1.projects.locations.enrollments)
- [REST Resource: v1.projects.locations.googleApiSources](https://docs.cloud.google.com/eventarc/docs/reference/rest#v1.projects.locations.googleApiSources)
- [REST Resource: v1.projects.locations.messageBuses](https://docs.cloud.google.com/eventarc/docs/reference/rest#v1.projects.locations.messageBuses)
- [REST Resource: v1.projects.locations.operations](https://docs.cloud.google.com/eventarc/docs/reference/rest#v1.projects.locations.operations)
- [REST Resource: v1.projects.locations.pipelines](https://docs.cloud.google.com/eventarc/docs/reference/rest#v1.projects.locations.pipelines)
- [REST Resource: v1.projects.locations.providers](https://docs.cloud.google.com/eventarc/docs/reference/rest#v1.projects.locations.providers)
- [REST Resource: v1.projects.locations.triggers](https://docs.cloud.google.com/eventarc/docs/reference/rest#v1.projects.locations.triggers)

## Service: eventarc.googleapis.com

To call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

### Discovery document

A [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:

- <https://eventarc.googleapis.com/$discovery/rest?version=v1>

### Service endpoint

A [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

- `https://eventarc.googleapis.com`

### Regional service endpoint

A regional service endpoint is a base URL that specifies the network address of an API service in a single region. A service that is available in multiple regions might have multiple regional endpoints. Select a location to see its regional service endpoint for this service.
<button value="global" default="">global</button> <button value="asia-south1">asia-south1</button> <button value="asia-south2">asia-south2</button> <button value="europe-central2">europe-central2</button> <button value="europe-north1">europe-north1</button> <button value="europe-north2">europe-north2</button> <button value="europe-southwest1">europe-southwest1</button> <button value="europe-west1">europe-west1</button> <button value="europe-west10">europe-west10</button> <button value="europe-west12">europe-west12</button> <button value="europe-west3">europe-west3</button> <button value="europe-west4">europe-west4</button> <button value="europe-west6">europe-west6</button> <button value="europe-west8">europe-west8</button> <button value="europe-west9">europe-west9</button> <button value="me-central2">me-central2</button> <button value="northamerica-northeast1">northamerica-northeast1</button> <button value="northamerica-northeast2">northamerica-northeast2</button> <button value="us-central1">us-central1</button> <button value="us-east1">us-east1</button> <button value="us-east4">us-east4</button> <button value="us-east5">us-east5</button> <button value="us-south1">us-south1</button> <button value="us-west1">us-west1</button> <button value="us-west2">us-west2</button> <button value="us-west3">us-west3</button> <button value="us-west4">us-west4</button> <button value="us-west8">us-west8</button> <button value="us">us</button> <button value="eu">eu</button>   
- `https://eventarc.googleapis.com`

<br />

## REST Resource: [v1.projects.locations](https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations/get` | `GET /v1/{name=projects/*/locations/*}` Gets information about a location. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations/getGoogleChannelConfig` | `GET /v1/{name=projects/*/locations/*/googleChannelConfig}` Get a GoogleChannelConfig. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations/list` | `GET /v1/{name=projects/*}/locations` Lists information about the supported locations for this service. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations/updateGoogleChannelConfig` | `PATCH /v1/{googleChannelConfig.name=projects/*/locations/*/googleChannelConfig}` Update a single GoogleChannelConfig |

## REST Resource: [v1.projects.locations.channelConnections](https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.channelConnections)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.channelConnections/create` | `POST /v1/{parent=projects/*/locations/*}/channelConnections` Create a new ChannelConnection in a particular project and location. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.channelConnections/delete` | `DELETE /v1/{name=projects/*/locations/*/channelConnections/*}` Delete a single ChannelConnection. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.channelConnections/get` | `GET /v1/{name=projects/*/locations/*/channelConnections/*}` Get a single ChannelConnection. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.channelConnections/getIamPolicy` | `GET /v1/{resource=projects/*/locations/*/channelConnections/*}:getIamPolicy` Gets the access control policy for a resource. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.channelConnections/list` | `GET /v1/{parent=projects/*/locations/*}/channelConnections` List channel connections. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.channelConnections/setIamPolicy` | `POST /v1/{resource=projects/*/locations/*/channelConnections/*}:setIamPolicy` Sets the access control policy on the specified resource. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.channelConnections/testIamPermissions` | `POST /v1/{resource=projects/*/locations/*/channelConnections/*}:testIamPermissions` Returns permissions that a caller has on the specified resource. |

## REST Resource: [v1.projects.locations.channels](https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.channels)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.channels/create` | `POST /v1/{parent=projects/*/locations/*}/channels` Create a new channel in a particular project and location. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.channels/delete` | `DELETE /v1/{name=projects/*/locations/*/channels/*}` Delete a single channel. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.channels/get` | `GET /v1/{name=projects/*/locations/*/channels/*}` Get a single Channel. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.channels/getIamPolicy` | `GET /v1/{resource=projects/*/locations/*/channels/*}:getIamPolicy` Gets the access control policy for a resource. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.channels/list` | `GET /v1/{parent=projects/*/locations/*}/channels` List channels. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.channels/patch` | `PATCH /v1/{channel.name=projects/*/locations/*/channels/*}` Update a single channel. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.channels/setIamPolicy` | `POST /v1/{resource=projects/*/locations/*/channels/*}:setIamPolicy` Sets the access control policy on the specified resource. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.channels/testIamPermissions` | `POST /v1/{resource=projects/*/locations/*/channels/*}:testIamPermissions` Returns permissions that a caller has on the specified resource. |

## REST Resource: [v1.projects.locations.enrollments](https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.enrollments)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.enrollments/create` | `POST /v1/{parent=projects/*/locations/*}/enrollments` Create a new Enrollment in a particular project and location. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.enrollments/delete` | `DELETE /v1/{name=projects/*/locations/*/enrollments/*}` Delete a single Enrollment. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.enrollments/get` | `GET /v1/{name=projects/*/locations/*/enrollments/*}` Get a single Enrollment. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.enrollments/getIamPolicy` | `GET /v1/{resource=projects/*/locations/*/enrollments/*}:getIamPolicy` Gets the access control policy for a resource. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.enrollments/list` | `GET /v1/{parent=projects/*/locations/*}/enrollments` List Enrollments. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.enrollments/patch` | `PATCH /v1/{enrollment.name=projects/*/locations/*/enrollments/*}` Update a single Enrollment. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.enrollments/setIamPolicy` | `POST /v1/{resource=projects/*/locations/*/enrollments/*}:setIamPolicy` Sets the access control policy on the specified resource. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.enrollments/testIamPermissions` | `POST /v1/{resource=projects/*/locations/*/enrollments/*}:testIamPermissions` Returns permissions that a caller has on the specified resource. |

## REST Resource: [v1.projects.locations.googleApiSources](https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.googleApiSources)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.googleApiSources/create` | `POST /v1/{parent=projects/*/locations/*}/googleApiSources` Create a new GoogleApiSource in a particular project and location. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.googleApiSources/delete` | `DELETE /v1/{name=projects/*/locations/*/googleApiSources/*}` Delete a single GoogleApiSource. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.googleApiSources/get` | `GET /v1/{name=projects/*/locations/*/googleApiSources/*}` Get a single GoogleApiSource. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.googleApiSources/getIamPolicy` | `GET /v1/{resource=projects/*/locations/*/googleApiSources/*}:getIamPolicy` Gets the access control policy for a resource. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.googleApiSources/list` | `GET /v1/{parent=projects/*/locations/*}/googleApiSources` List GoogleApiSources. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.googleApiSources/patch` | `PATCH /v1/{googleApiSource.name=projects/*/locations/*/googleApiSources/*}` Update a single GoogleApiSource. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.googleApiSources/setIamPolicy` | `POST /v1/{resource=projects/*/locations/*/googleApiSources/*}:setIamPolicy` Sets the access control policy on the specified resource. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.googleApiSources/testIamPermissions` | `POST /v1/{resource=projects/*/locations/*/googleApiSources/*}:testIamPermissions` Returns permissions that a caller has on the specified resource. |

## REST Resource: [v1.projects.locations.messageBuses](https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.messageBuses)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.messageBuses/create` | `POST /v1/{parent=projects/*/locations/*}/messageBuses` Create a new MessageBus in a particular project and location. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.messageBuses/delete` | `DELETE /v1/{name=projects/*/locations/*/messageBuses/*}` Delete a single message bus. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.messageBuses/get` | `GET /v1/{name=projects/*/locations/*/messageBuses/*}` Get a single MessageBus. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.messageBuses/getIamPolicy` | `GET /v1/{resource=projects/*/locations/*/messageBuses/*}:getIamPolicy` Gets the access control policy for a resource. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.messageBuses/list` | `GET /v1/{parent=projects/*/locations/*}/messageBuses` List message buses. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.messageBuses/listEnrollments` | `GET /v1/{parent=projects/*/locations/*/messageBuses/*}:listEnrollments` List message bus enrollments. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.messageBuses/patch` | `PATCH /v1/{messageBus.name=projects/*/locations/*/messageBuses/*}` Update a single message bus. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.messageBuses/setIamPolicy` | `POST /v1/{resource=projects/*/locations/*/messageBuses/*}:setIamPolicy` Sets the access control policy on the specified resource. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.messageBuses/testIamPermissions` | `POST /v1/{resource=projects/*/locations/*/messageBuses/*}:testIamPermissions` Returns permissions that a caller has on the specified resource. |

## REST Resource: [v1.projects.locations.operations](https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.operations)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.operations/cancel` | `POST /v1/{name=projects/*/locations/*/operations/*}:cancel` Starts asynchronous cancellation on a long-running operation. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.operations/delete` | `DELETE /v1/{name=projects/*/locations/*/operations/*}` Deletes a long-running operation. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.operations/get` | `GET /v1/{name=projects/*/locations/*/operations/*}` Gets the latest state of a long-running operation. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.operations/list` | `GET /v1/{name=projects/*/locations/*}/operations` Lists operations that match the specified filter in the request. |

## REST Resource: [v1.projects.locations.pipelines](https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.pipelines)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.pipelines/create` | `POST /v1/{parent=projects/*/locations/*}/pipelines` Create a new Pipeline in a particular project and location. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.pipelines/delete` | `DELETE /v1/{name=projects/*/locations/*/pipelines/*}` Delete a single pipeline. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.pipelines/get` | `GET /v1/{name=projects/*/locations/*/pipelines/*}` Get a single Pipeline. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.pipelines/getIamPolicy` | `GET /v1/{resource=projects/*/locations/*/pipelines/*}:getIamPolicy` Gets the access control policy for a resource. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.pipelines/list` | `GET /v1/{parent=projects/*/locations/*}/pipelines` List pipelines. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.pipelines/patch` | `PATCH /v1/{pipeline.name=projects/*/locations/*/pipelines/*}` Update a single pipeline. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.pipelines/setIamPolicy` | `POST /v1/{resource=projects/*/locations/*/pipelines/*}:setIamPolicy` Sets the access control policy on the specified resource. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.pipelines/testIamPermissions` | `POST /v1/{resource=projects/*/locations/*/pipelines/*}:testIamPermissions` Returns permissions that a caller has on the specified resource. |

## REST Resource: [v1.projects.locations.providers](https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.providers)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.providers/get` | `GET /v1/{name=projects/*/locations/*/providers/*}` Get a single Provider. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.providers/list` | `GET /v1/{parent=projects/*/locations/*}/providers` List providers. |

## REST Resource: [v1.projects.locations.triggers](https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.triggers)

| Methods ||
|---|---|
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.triggers/create` | `POST /v1/{parent=projects/*/locations/*}/triggers` Create a new trigger in a particular project and location. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.triggers/delete` | `DELETE /v1/{name=projects/*/locations/*/triggers/*}` Delete a single trigger. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.triggers/get` | `GET /v1/{name=projects/*/locations/*/triggers/*}` Get a single trigger. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.triggers/getIamPolicy` | `GET /v1/{resource=projects/*/locations/*/triggers/*}:getIamPolicy` Gets the access control policy for a resource. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.triggers/list` | `GET /v1/{parent=projects/*/locations/*}/triggers` List triggers. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.triggers/patch` | `PATCH /v1/{trigger.name=projects/*/locations/*/triggers/*}` Update a single trigger. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.triggers/setIamPolicy` | `POST /v1/{resource=projects/*/locations/*/triggers/*}:setIamPolicy` Sets the access control policy on the specified resource. |
| `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.triggers/testIamPermissions` | `POST /v1/{resource=projects/*/locations/*/triggers/*}:testIamPermissions` Returns permissions that a caller has on the specified resource. |