n8n-nodes-base
Version:
Base nodes of n8n
32 lines (28 loc) • 793 B
text/typescript
/**
* Google Workspace Admin Node - Version 1
* Discriminator: resource=device, operation=get
*/
interface Credentials {
gSuiteAdminOAuth2Api: CredentialReference;
}
/** Get a ChromeOS device */
export type GSuiteAdminV1DeviceGetParams = {
resource: 'device';
operation: 'get';
/**
* Select the device you want to retrieve
* @default {"mode":"list","value":""}
*/
deviceId?: { __rl: true; mode: 'list' | 'deviceId'; value: string; cachedResultName?: string };
/**
* What subset of fields to fetch for this device
* @default basic
*/
projection?: 'basic' | 'full' | Expression<string>;
};
export type GSuiteAdminV1DeviceGetNode = {
type: 'n8n-nodes-base.gSuiteAdmin';
version: 1;
credentials?: Credentials;
config: NodeConfig<GSuiteAdminV1DeviceGetParams>;
};