/**
 * Google Drive Node - Version 3
 * Discriminator: resource=drive, operation=get
 */


interface Credentials {
  googleApi: CredentialReference;
  googleDriveOAuth2Api: CredentialReference;
}

/** Get a shared drive */
export type GoogleDriveV3DriveGetParams = {
  resource: 'drive';
  operation: 'get';
  authentication?: 'oAuth2' | 'serviceAccount' | Expression<string>;
/**
 * The shared drive to get
 * @default {"mode":"list","value":""}
 */
    driveId?: { __rl: true; mode: 'list' | 'url' | 'id'; value: string; cachedResultName?: string };
/**
 * Options
 * @default {}
 */
    options?: {
    /** Whether to issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the shared drive belongs
     * @default false
     */
    useDomainAdminAccess?: boolean | Expression<boolean>;
  };
};

export type GoogleDriveV3DriveGetOutput = {
  id?: string;
  kind?: string;
  name?: string;
};

export type GoogleDriveV3DriveGetNode = {
  type: 'n8n-nodes-base.googleDrive';
  version: 3;
  credentials?: Credentials;
  config: NodeConfig<GoogleDriveV3DriveGetParams>;
  output?: Items<GoogleDriveV3DriveGetOutput>;
};