# README
G-Suite
Usage
source:
scope: my-scope
type: gsuite
config:
service_account_json: "XXX"
user_email: [email protected]
Inputs
Key | Value | Example | Description | |
---|---|---|---|---|
user_email | string | [email protected] | User email authorized to access the APIs | required |
service_account_json | string | {"type": "service_account","project_id": "XXXXXX","private_key_id": "XXXXXX","private_key": "XXXXXX","client_email": "XXXXXX","client_id": "XXXXXX","auth_uri": "https://accounts.google.com/o/oauth2/auth","token_uri": "https://oauth2.googleapis.com/token","auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs","client_x509_cert_url": "XXXXXX"} | Service Account JSON object | required |
Outputs
Field | Sample Value |
---|---|
email | [email protected] |
full_name | Jon Doe |
status | suspended |
attributes | {"aliases":"[email protected]","custom_schemas":{}, |
"org_unit_path":"/","organizations": | |
[{"costCenter": "raystack"}], | |
"relations":[{"type":"manager", | |
"value":"[email protected]"}]} |
Notes
- The service account must have a delegated domain wide authority
- User Email : Only users with access to the Admin APIs can access the Admin SDK Directory API, therefore your service account needs to impersonate one of those users to access the Admin SDK Directory API.
Contributing
Refer to the contribution guidelines for information on contributing to this module.
# Functions
New returns a pointer to an initialized Extractor Object.
# Structs
No description provided by the author
No description provided by the author
Extractor manages the extraction of data from the extractor.
# Interfaces
No description provided by the author
No description provided by the author