Google Directory - Google Service Account
In this article
Overview
You can use this account type to connect the Google Directory Snaps with data sources that use Google Service Account.
When using the Google Service Account, you must pass the customerID as a filter key and set the filter value (for example, C125v1gta) in the Filter attributes settings in the Google Directory Read Snap, although the filter attributes are optional when using other accounts. This step is mandatory when using the Google Directory Read Snap configured with the Google Service Account as it is not associated with any customer by default. Learn more about finding the customer ID in the Google Workspace.
Alternatively, you can follow the below steps to obtain the Customer ID:
Sign in using your administrator account in Google Workspace.
Navigate to your Admin Console.
Click on Account > Select Account Settings.
Check for Customer ID.
Â
Prerequisites
Valid JSON key. Learn how to create a JSON key.
Limitations
When you read a Group Resource using the userkey as a filter key under the Filter attributes settings in the Google Directory Read Snap, a
404
error is displayed because the get API for the Google Resource supports only the groupkey as the filter key. Learn more.
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 fieldset.
Remove icon ( ): Indicates that you can remove fields from the fieldset.
Field Name | Field Type | Description |
---|---|---|
Label* Â Default Value:Â Google Service Account | String | Specify a unique label for the account. Â |
JSON key* Â Default Value:Â N/A | String/Expression | Specify the JSON key created for the service account. Learn how to create a JSON key. |
Troubleshooting
Error | Reason | Resolution |
---|---|---|
| Unable to make a call and access the Google directory API. | Provide the correct credentials and try again. |
|
| Provide the customerID as Google Service Account is not associated with any customer. Ensure that the scope is correctly defined for the action/resource being executed. |
| Either provide customer or domain information as Google Service Account is not associated with any customer or domain. |
Â
Related Links
Have feedback? Email documentation@snaplogic.com | Ask a question in the SnapLogic Community
© 2017-2024 SnapLogic, Inc.