On this Page
Table of Contents | ||||
---|---|---|---|---|
|
Snap type: | Write | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description: | This Snap creates users, groups and org units in Google Directory.
| |||||||||||||
Prerequisites: | [None] | |||||||||||||
Support and limitations: | Works in Ultra Pipelines. | |||||||||||||
Account: | This Snap uses account references created on the Accounts page of SnapLogic Manager to handle access to this endpoint. See /wiki/spaces/DRWIP/pages/1438788Google/wiki/spaces/DRWIP/pages/1438788/wiki/spaces/DRWIP/pages/1438788for Google Directory Accounts for information on setting up this type of account.
| |||||||||||||
Views: |
| |||||||||||||
Settings | ||||||||||||||
Label | Required. The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your pipeline. | |||||||||||||
Resource | Required. The type of resource to be created. The options available include:
Default value: user | |||||||||||||
|
|
Supported Attributes by Resource
The following attributes must be passed through to the Google Delete Snap for the insert to process.
Note |
---|
If the information provided for these attributes does not match the expected format (such as an email address with an incorrect domain), you may receive a "forbidden" error message. Verify your information is correct before continuing. |
User
- name object with familyName and givenName - All required.
- password - Required.
- primaryEmail - Required.
- See the API documentation referenced at the bottom of the page for the complete list of optional properties.
Note:
- hashFunction is set to MD5.
- changePasswordAtNextLogin is set to false.
Orgunit
- name - Required.
- parentOrgUnitPath - Required.
Group
- email - Required.
- description - Optional.
- name - Optional.
Examples
JSON for Inserting a User (Basic)
Code Block |
---|
[ { "name": { "familyName": "Account", "givenName": "Google" }, "password": "test123it", "primaryEmail": "googleaccount@example.com" } ] |
JSON for Inserting a Group
Code Block |
---|
[ { "email": "googletestgroup@example.com" } ] |
JSON for Inserting an Orgunit
Code Block |
---|
[ { "customerID": "C04a4dvn5", "name": "TestOrgABeta", "parentOrgUnitPath": "/TestOrg/Subtest" } ] |
See Also
Refer to the following documentation for information on the input data:
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|