pubSubWebhookSubscriptionCreate mutation

Version unstable

Creates a new Google Cloud Pub/Sub webhook subscription.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
topic ( WebhookSubscriptionTopic! ) required

The type of event that triggers the webhook.

webhookSubscription ( PubSubWebhookSubscriptionInput! ) required

Specifies the input fields for a Google Cloud Pub/Sub webhook subscription.

PubSubWebhookSubscriptionInput fields

  • The format in which the webhook subscription should send the data.

  • includeFields ([String!])

    The list of fields to be included in the webhook subscription.

  • metafieldNamespaces ([String!])

    The list of namespaces for any metafields that should be included in the webhook subscription.

  • pubSubProject (String!) Required

    The Pub/Sub project ID.

  • pubSubTopic (String!) Required

    The Pub/Sub topic ID.

Return fields

Version 2021-10 (Release candidate)

Creates a new Google Cloud Pub/Sub webhook subscription.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments