Google Cloud PubSub Account

Google Cloud PubSub Account

In this article

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

 

Prerequisites

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

  • Asterisk ( * ): Indicates a mandatory field.

  • Suggestion icon ( ): Indicates a list that is dynamically populated based on the configuration.

  • Expression icon ( ): Indicates the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.

  • Add icon ( ): Indicates that you can add fields in the fieldset.

  • Remove icon ( ): Indicates that you can remove fields from the fieldset.

Field Name*

Field Type

Description

Field Name*

Field Type

Description

Label*

 

 

String

Specify a unique label for the account.

 

Default Value: N/A
Example: Google PubSub Service Account

Client ID

 

 

String/Expression

Specify the Service account client ID.

 

Default Value: N/A
Example: 123456789012345678901

Email ID

 

String/Expression

Specify the Google service email ID.

 

Default Value: N/A
Example: pubsub-client@your-project-id.iam.gserviceaccount.com

Private Key

 

 

String/Expression

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

 

Specify the Service account private key ID.

 

Default Value: N/A
Example: 123abc456def789ghi012jkl345mno678pqr901stu

Project ID

String/Expression

Specify the Service account project ID.

 

Default Value: N/A
Example: your-project-id

Scopes

 

 

String

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

 

Snap Pack History


Related Links