/** * Google Workspace Admin Node - Version 1 * Discriminator: resource=group, operation=getAll */ interface Credentials { gSuiteAdminOAuth2Api: CredentialReference; } /** Get many ChromeOS devices */ export type GSuiteAdminV1GroupGetAllParams = { resource: 'group'; operation: 'getAll'; /** * Whether to return all results or only up to a given limit * @default false */ returnAll?: boolean | Expression; /** * Max number of results to return * @displayOptions.show { returnAll: [false] } * @default 100 */ limit?: number | Expression; /** * Filter * @default {} */ filter?: { /** The unique ID for the customer's Google Workspace account */ customer?: string | Expression | PlaceholderValue; /** The domain name. Use this field to get groups from a specific domain. */ domain?: string | Expression | PlaceholderValue; /** Query string to filter the results. Follow Google Admin SDK documentation. <a href="https://developers.google.com/admin-sdk/directory/v1/guides/search-groups#examples" target="_blank">More info</a>. */ query?: string | Expression | PlaceholderValue; /** Email or immutable ID of a user to list groups they are a member of */ userId?: string | Expression | PlaceholderValue; }; /** * Sort * @default {} */ sort?: { /** Sort Rules */ sortRules?: { /** Field to sort the results by * @default email */ orderBy?: 'email' | Expression; /** Sort order direction * @default ASCENDING */ sortOrder?: 'ASCENDING' | 'DESCENDING' | Expression; }; }; }; export type GSuiteAdminV1GroupGetAllOutput = { adminCreated?: boolean; aliases?: Array; description?: string; directMembersCount?: string; email?: string; etag?: string; id?: string; kind?: string; name?: string; nonEditableAliases?: Array; }; export type GSuiteAdminV1GroupGetAllNode = { type: 'n8n-nodes-base.gSuiteAdmin'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };