# REST Resource: projects.locations.providers

- [Resource: Provider](https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.providers#Provider)
  - [JSON representation](https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.providers#Provider.SCHEMA_REPRESENTATION)
- [EventType](https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.providers#EventType)
  - [JSON representation](https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.providers#EventType.SCHEMA_REPRESENTATION)
- [FilteringAttribute](https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.providers#FilteringAttribute)
  - [JSON representation](https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.providers#FilteringAttribute.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.providers#METHODS_SUMMARY)

## Resource: Provider

A representation of the Provider resource.

| JSON representation |
|---|
| ``` { "name": string, "displayName": string, "eventTypes": [ { object (`https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.providers#EventType`) } ] } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. In `projects/{project}/locations/{location}/providers/{providerId}` format. |
| `displayName` | `string` Output only. Human friendly name for the Provider. For example "Cloud Storage". |
| `eventTypes[]` | ``object (`https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.providers#EventType`)`` Output only. Event types for this provider. |

## EventType

A representation of the event type resource.

| JSON representation |
|---|
| ``` { "type": string, "description": string, "filteringAttributes": [ { object (`https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.providers#FilteringAttribute`) } ], "eventSchemaUri": string } ``` |

| Fields ||
|---|---|
| `type` | `string` Output only. The full name of the event type (for example, "google.cloud.storage.object.v1.finalized"). In the form of {provider-specific-prefix}.{resource}.{version}.{verb}. Types MUST be versioned and event schemas are guaranteed to remain backward compatible within one version. Note that event type versions and API versions do not need to match. |
| `description` | `string` Output only. Human friendly description of what the event type is about. For example "Bucket created in Cloud Storage". |
| `filteringAttributes[]` | ``object (`https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.providers#FilteringAttribute`)`` Output only. Filtering attributes for the event type. |
| `eventSchemaUri` | `string` Output only. URI for the event schema. For example "https://github.com/googleapis/google-cloudevents/blob/master/proto/google/events/cloud/storage/v1/events.proto" |

## FilteringAttribute

A representation of the FilteringAttribute resource. Filtering attributes are per event type.

| JSON representation |
|---|
| ``` { "attribute": string, "description": string, "required": boolean, "pathPatternSupported": boolean } ``` |

| Fields ||
|---|---|
| `attribute` | `string` Output only. Attribute used for filtering the event type. |
| `description` | `string` Output only. Description of the purpose of the attribute. |
| `required` | `boolean` Output only. If true, the triggers for this provider should always specify a filter on these attributes. Trigger creation will fail otherwise. |
| `pathPatternSupported` | `boolean` Output only. If true, the attribute accepts matching expressions in the Eventarc PathPattern format. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.providers/get` | Get a single Provider. |
| ### `https://docs.cloud.google.com/eventarc/docs/reference/rest/v1/projects.locations.providers/list` | List providers. |