/
API Suite—Google Service Account

API Suite—Google Service Account

In this article

Overview

You can use this account type to connect the HTTP Client Snap with Google Cloud endpoints, such as Analytics 4 and Compute Engine.

Prerequisites

  • Service Account in the Google Cloud. Learn more: How to create a Service Account in the Google Cloud console.

  • Custom role access for the Service account. Learn more: How to create and manage custom roles. Add the following permissions to the custom role (insufficient permissions causes the Snap to fail):

    • storage.objects.get (Read)

    • storage.objects.list (Read)

    • storage.objects.create (Write)

    • storage.objects.update (Write)

    • storage.objects.delete (Write)

    • storage.buckets.list (required for Snap Account Validation)

  • JSON file containing the public/private key pair. This file is downloaded to your machine when you create the Google Service Account. You need to upload it to the SLDB. Learn more: Service account keys.

Limitations and Known Issues

None.

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 field set.

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

Field Name

Field Type

Description

Field Name

Field Type

Description

Label*

 

Default Value: N/A
ExampleGoogle Service Account

String

Specify a unique label for the account.

 

JSON key*

 

Default Value: N/A
Examplefluid-tix-21901-9f2k4n17bc.json

String/Expression

Specify the JSON key created for the service account. Learn more about generating JSON keys.

Relative path of the JSON key in the SLDB:

  • You can upload the JSON file to the SLDB by clicking the Upload icon. 

  • You can configure the JSON string of the Service Account key directly.

  • You can pass the JSON strings using the pipeline parameters.

  • You can access a secret key value configured in your secrets manager.

Authorization scopes*

Use this field set to define the authorization scopes to be requested.

Authorization scope

 

Default Value: N/A
Expression: https://www.googleapis.com/auth/drive

String/Expression

Specify the OAuth2.0 scope to be requested. You can provide multiple authorization scopes either in the same field (space-separated) or different rows.

To use the access token for the HTTP Client Snap, enable expressions for the field and enter account.access_token.

Snap Pack History

 


Related Links