Google Cloud Pub/Sub Connection Details

To establish the connection successfully, you must configure the Google Cloud Pub/Sub instance. The connection details dialog contains the following fields:

Name Description
Connection Name

(Required: Yes)

Name of the connection

Description

(Required: No)

Description of the connection

Project ID

(Required: Yes)

Project ID of the subscription or the topic.

Service Account Key

(Required: Yes)

Service Account Key (in JSON format) to access the Google Cloud Pub/Sub service. The following permissions must be given to the role configured in the service account of Google Cloud Pub/Sub:

pubsub.subscriptions.consume (required for subscriber trigger)
pubsub.subscriptions.get (required for subscriber trigger)
pubsub.topics.publish (required for publisher activity)
Note: To change the Service Account Key during deployment (for example, when deploying the application to the staging environment or production environment), encode the contents of the Service Account Key (in JSON format) by using any base64 encoder tool.

Set the base64 encoded value to the GoogleCloudPubSub.<connection_name>.Service_Account_Key application property.