Google Cloud PubSub Account

Overview

You can use this account type to connect Google PubSub Snaps with data sources that use the Google PubSub Account. Google PubSub Snaps uses this account to get the ServiceAccount credentials.

google-pubsub-service-account-overview.png

Create a Service Account in Google PubSub and download the related JSON file. The downloaded JSON file contains the values required to configure this account.

Account settings

Legend:
  • Expression icon (): Allows using JavaScript syntax to access SnapLogic Expressions to set field values dynamically (if enabled). If disabled, you can provide a static value. Learn more.
  • SnapGPT (): Generates SnapLogic Expressions based on natural language using SnapGPT. Learn more.
  • Suggestion icon (): Populates a list of values dynamically based on your Snap configuration. You can select only one attribute at a time using the icon. Type into the field if it supports a comma-separated list of values.
  • Upload : Uploads files. Learn more.
Learn more about the icons in the Snap settings dialog.
Field/Field set Description
Label

String

Specify a unique name for the Snap. Modify this to be more appropriate, especially if more than one of the same Snaps is in the pipeline.

Default value: N/A

Example: Google PubSub Service Account

Client ID

String/Expression

Optional. Specify the Service account client ID.

Default value: N/A

Example: 123456789012345678901

Email ID

String/Expression

Optional. Specify the Google service email ID.

Default value: N/A

Example: [email protected]

Private Key

String/Expression

Optional. Specify the Service account private key.

Default value: N/A

Example: -----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASC...\n-----END PRIVATE KEY-----\n

Private Key ID

String/Expression

Optional. Specify the Service account private key ID.

Default value: N/A

Example: 123abc456def789ghi012jkl345mno678pqr901stu

Project ID

String/Expression

Optional. Specify the Service account project ID.

Default value: N/A

Example: your-project-id

Scopes

String

Optional. Specify the service account scopes required for the application's execution. For example, you can include only the scope for reading data from Google.

Default value: https://www.googleapis.com/auth/pubsub

Example: https://www.googleapis.com/auth/pubsub