/** * Google Workspace Admin Node - Version 1 * Discriminator: resource=device, operation=getAll */ interface Credentials { gSuiteAdminOAuth2Api: CredentialReference; } /** Get many ChromeOS devices */ export type GSuiteAdminV1DeviceGetAllParams = { resource: 'device'; 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; /** * What subset of fields to fetch for this device * @default basic */ projection?: 'basic' | 'full' | Expression; /** * Whether to include devices from organizational units below your specified organizational unit * @default false */ includeChildOrgunits?: boolean | Expression; /** * Filter * @default {} */ filter?: { /** Specify the organizational unit name or ID. Choose from the list or use an expression. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. * @default [] */ orgUnitPath?: string | Expression; /** Use Google's querying syntax to filter results */ query?: string | Expression | PlaceholderValue; }; /** * Define sorting rules for the results * @default {} */ sort?: { /** Sort Rules */ sortRules?: { /** Field to sort the results by */ orderBy?: 'annotatedLocation' | 'annotatedUser' | 'lastSync' | 'notes' | 'serialNumber' | 'status' | Expression; /** Sort order direction */ sortBy?: 'ascending' | 'descending' | Expression; }; }; }; export type GSuiteAdminV1DeviceGetAllNode = { type: 'n8n-nodes-base.gSuiteAdmin'; version: 1; credentials?: Credentials; config: NodeConfig; };