package
0.11.0
Repository: https://github.com/raystack/meteor.git
Documentation: pkg.go.dev

# README

G-Suite

Usage

source:
  scope: my-scope
  type: gsuite
  config:
    service_account_json: "XXX"
    user_email: [email protected]

Inputs

KeyValueExampleDescription
user_emailstring[email protected]User email authorized to access the APIsrequired
service_account_jsonstring{"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 objectrequired

Outputs

FieldSample Value
email[email protected]
full_nameJon Doe
statussuspended
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