---
title: Getting Started with Datadog
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > Infrastructure > Datadog Resource Catalog
---

# gcp_connectors_event_subscription{% #gcp_connectors_event_subscription %}

## `ancestors`{% #ancestors %}

**Type**: `UNORDERED_LIST_STRING`

## `create_time`{% #create_time %}

**Type**: `TIMESTAMP`**Provider name**: `createTime`**Description**: Output only. Created time.

## `destinations`{% #destinations %}

**Type**: `STRUCT`**Provider name**: `destinations`**Description**: Optional. The destination to hit when we receive an event

- `endpoint`**Type**: `STRUCT`**Provider name**: `endpoint`**Description**: OPTION 1: Hit an endpoint when we receive an event.
  - `endpoint_uri`**Type**: `STRING`**Provider name**: `endpointUri`**Description**: The URI of the Endpoint.
  - `headers`**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `headers`**Description**: List of Header to be added to the Endpoint.
    - `key`**Type**: `STRING`**Provider name**: `key`**Description**: Key of Header.
    - `value`**Type**: `STRING`**Provider name**: `value`**Description**: Value of Header.
- `pubsub`**Type**: `STRUCT`**Provider name**: `pubsub`**Description**: OPTION 3: Write the event to Pub/Sub topic.
  - `config_variables`**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `configVariables`**Description**: Optional. Configuration for configuring the trigger
    - `bool_value`**Type**: `BOOLEAN`**Provider name**: `boolValue`**Description**: Value is a bool.
    - `encryption_key_value`**Type**: `STRUCT`**Provider name**: `encryptionKeyValue`**Description**: Value is a Encryption Key.
      - `kms_key_name`**Type**: `STRING`**Provider name**: `kmsKeyName`**Description**: The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed.
      - `type`**Type**: `STRING`**Provider name**: `type`**Description**: Type.**Possible values**:
        - `TYPE_UNSPECIFIED` - Value type is not specified.
        - `GOOGLE_MANAGED` - Google Managed.
        - `CUSTOMER_MANAGED` - Customer Managed.
    - `int_value`**Type**: `INT64`**Provider name**: `intValue`**Description**: Value is an integer
    - `key`**Type**: `STRING`**Provider name**: `key`**Description**: Key of the config variable.
    - `secret_value`**Type**: `STRUCT`**Provider name**: `secretValue`**Description**: Value is a secret.
      - `secret_version`**Type**: `STRING`**Provider name**: `secretVersion`**Description**: The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
    - `string_value`**Type**: `STRING`**Provider name**: `stringValue`**Description**: Value is a string.
  - `project_id`**Type**: `STRING`**Provider name**: `projectId`**Description**: Required. The project id which has the Pub/Sub topic.
  - `topic_id`**Type**: `STRING`**Provider name**: `topicId`**Description**: Required. The topic id of the Pub/Sub topic.
- `service_account`**Type**: `STRING`**Provider name**: `serviceAccount`**Description**: Service account needed for runtime plane to trigger IP workflow.
- `type`**Type**: `STRING`**Provider name**: `type`**Description**: type of the destination**Possible values**:
  - `TYPE_UNSPECIFIED` - Default state.
  - `ENDPOINT` - Endpoint - Hit the value of endpoint when event is received
  - `GCS` - Cloud Storage - Write the event to Cloud Storage bucket
  - `PUBSUB` - Pub/Sub - Write the event to Pub/Sub topic

## `event_type_id`{% #event_type_id %}

**Type**: `STRING`**Provider name**: `eventTypeId`**Description**: Optional. Event type id of the event of current EventSubscription.

## `gcp_status`{% #gcp_status %}

**Type**: `STRUCT`**Provider name**: `status`**Description**: Optional. Status indicates the status of the event subscription resource

- `description`**Type**: `STRING`**Provider name**: `description`**Description**: Output only. Description of the state.
- `state`**Type**: `STRING`**Provider name**: `state`**Description**: Output only. State of Event Subscription resource.**Possible values**:
  - `STATE_UNSPECIFIED` - Default state.
  - `CREATING` - EventSubscription creation is in progress.
  - `UPDATING` - EventSubscription is in Updating status.
  - `ACTIVE` - EventSubscription is in Active state and is ready to receive events.
  - `SUSPENDED` - EventSubscription is currently suspended.
  - `ERROR` - EventSubscription is in Error state.

## `jms`{% #jms %}

**Type**: `STRUCT`**Provider name**: `jms`**Description**: Optional. JMS is the source for the event listener.

- `name`**Type**: `STRING`**Provider name**: `name`**Description**: Optional. Name of the JMS source. i.e. queueName or topicName
- `type`**Type**: `STRING`**Provider name**: `type`**Description**: Optional. Type of the JMS Source. i.e. Queue or Topic**Possible values**:
  - `TYPE_UNSPECIFIED` - Default state.
  - `QUEUE` - JMS Queue.
  - `TOPIC` - JMS Topic.

## `labels`{% #labels %}

**Type**: `UNORDERED_LIST_STRING`

## `name`{% #name %}

**Type**: `STRING`**Provider name**: `name`**Description**: Required. Resource name of the EventSubscription. Format: projects/{project}/locations/{location}/connections/{connection}/eventSubscriptions/{event_subscription}

## `organization_id`{% #organization_id %}

**Type**: `STRING`

## `parent`{% #parent %}

**Type**: `STRING`

## `project_id`{% #project_id %}

**Type**: `STRING`

## `project_number`{% #project_number %}

**Type**: `STRING`

## `region_id`{% #region_id %}

**Type**: `STRING`

## `resource_name`{% #resource_name %}

**Type**: `STRING`

## `subscriber`{% #subscriber %}

**Type**: `STRING`**Provider name**: `subscriber`**Description**: Optional. name of the Subscriber for the current EventSubscription.

## `subscriber_link`{% #subscriber_link %}

**Type**: `STRING`**Provider name**: `subscriberLink`**Description**: Optional. Link for Subscriber of the current EventSubscription.

## `tags`{% #tags %}

**Type**: `UNORDERED_LIST_STRING`

## `trigger_config_variables`{% #trigger_config_variables %}

**Type**: `UNORDERED_LIST_STRUCT`**Provider name**: `triggerConfigVariables`**Description**: Optional. Configuration for configuring the trigger

- `bool_value`**Type**: `BOOLEAN`**Provider name**: `boolValue`**Description**: Value is a bool.
- `encryption_key_value`**Type**: `STRUCT`**Provider name**: `encryptionKeyValue`**Description**: Value is a Encryption Key.
  - `kms_key_name`**Type**: `STRING`**Provider name**: `kmsKeyName`**Description**: The [KMS key name] with which the content of the Operation is encrypted. The expected format: `projects/*/locations/*/keyRings/*/cryptoKeys/*`. Will be empty string if google managed.
  - `type`**Type**: `STRING`**Provider name**: `type`**Description**: Type.**Possible values**:
    - `TYPE_UNSPECIFIED` - Value type is not specified.
    - `GOOGLE_MANAGED` - Google Managed.
    - `CUSTOMER_MANAGED` - Customer Managed.
- `int_value`**Type**: `INT64`**Provider name**: `intValue`**Description**: Value is an integer
- `key`**Type**: `STRING`**Provider name**: `key`**Description**: Key of the config variable.
- `secret_value`**Type**: `STRUCT`**Provider name**: `secretValue`**Description**: Value is a secret.
  - `secret_version`**Type**: `STRING`**Provider name**: `secretVersion`**Description**: The resource name of the secret version in the format, format as: `projects/*/secrets/*/versions/*`.
- `string_value`**Type**: `STRING`**Provider name**: `stringValue`**Description**: Value is a string.

## `update_time`{% #update_time %}

**Type**: `TIMESTAMP`**Provider name**: `updateTime`**Description**: Output only. Updated time.

## `zone_id`{% #zone_id %}

**Type**: `STRING`
