interface GSuiteAdminNodeParameters {
action?: "reenable" | "disable";
additionalFields?:
| { description?: string }
| {
changePasswordAtNextLogin?: boolean;
customFields?: {
fieldValues: {
fieldName: string;
schemaName?: string;
value: string;
}[];
};
emailUi?: {
emailValues: {
address?: string;
type?: "home"
| "work"
| "other";
}[];
};
phoneUi?: {
phoneValues: {
primary?: boolean;
type?: | "main"
| "custom"
| "home"
| "work"
| "mobile"
| "other"
| "assistant"
| "radio"
| "callback"
| "car"
| "company_main"
| "grand_central"
| "home_fax"
| "isdn"
| "other_fax"
| "pager"
| "telex"
| "tty_tdd"
| "work_fax"
| "work_mobile"
| "work_pager";
value?: string;
}[];
};
roles?: (
| "directorySyncAdmin"
| "groupsAdmin"
| "groupsEditor"
| "groupsReader"
| "helpDeskAdmin"
| "inventoryReportingAdmin"
| "mobileAdmin"
| "servicesAdmin"
| "storageAdmin"
| "superAdmin"
| "userManagement"
)[];
};
customFieldMask?: unknown[];
deviceId?: { mode: "list"
| "deviceId"; value: string };
domain?: string;
email?: string;
fields?: (
| "name"
| "suspended"
| "creationTime"
| "isAdmin"
| "kind"
| "lastLoginTime"
| "primaryEmail"
)[];
filter?: | { orgUnitPath?: string; query?: string }
| {
customer?: string;
domain?: string;
query?: string;
userId?: string;
}
| {
customer?: string;
domain?: string;
query?: string;
showDeleted?: boolean;
};
firstName?: string;
groupId?: | { mode: "list"
| "GroupId"; value: string }
| { mode: "list" | "groupId"; value: string };
includeChildOrgunits?: boolean;
lastName?: string;
limit?: number;
name?: string;
operation?:
| "create"
| "get"
| "getAll"
| "update"
| "delete"
| "addToGroup"
| "removeFromGroup"
| "changeStatus";
output?: "raw"
| "simplified"
| "select";
password?: string;
projection?: "custom" | "basic" | "full";
resource?: "user" | "group" | "device";
returnAll?: boolean;
sort?:
| {
sortRules: {
orderBy?: | "status"
| "annotatedLocation"
| "annotatedUser"
| "lastSync"
| "notes"
| "serialNumber";
sortBy?: "ascending"
| "descending";
};
}
| {
sortRules: {
orderBy?: "email";
sortOrder?: "ASCENDING"
| "DESCENDING";
};
}
| {
sortRules: {
orderBy?: "email"
| "familyName"
| "givenName";
sortOrder?: "ASCENDING" | "DESCENDING";
};
};
updateFields?: | {
description?: string;
email?: string;
name?: string;
}
| {
archived?: boolean;
changePasswordAtNextLogin?: boolean;
customFields?: {
fieldValues: {
fieldName: string;
schemaName?: string;
value: string;
}[];
};
emailUi?: {
emailValues: {
address?: string;
type?: "home"
| "work"
| "other";
}[];
};
firstName?: string;
lastName?: string;
password?: string;
phoneUi?: {
phoneValues: {
primary?: boolean;
type?: | "main"
| "custom"
| "home"
| "work"
| "mobile"
| "other"
| "assistant"
| "radio"
| "callback"
| "car"
| "company_main"
| "grand_central"
| "home_fax"
| "isdn"
| "other_fax"
| "pager"
| "telex"
| "tty_tdd"
| "work_fax"
| "work_mobile"
| "work_pager";
value?: string;
}[];
};
primaryEmail?: string;
roles?: (
| "directorySyncAdmin"
| "groupsAdmin"
| "groupsEditor"
| "groupsReader"
| "helpDeskAdmin"
| "inventoryReportingAdmin"
| "mobileAdmin"
| "servicesAdmin"
| "storageAdmin"
| "superAdmin"
| "userManagement"
)[];
suspendUi?: boolean;
};
updateOptions?: {
annotatedAssetId?: string;
annotatedLocation?: string;
annotatedUser?: string;
notes?: string;
orgUnitPath?: string;
};
userId?: {
mode: "list"
| "userEmail"
| "userId";
value: string;
};
username?: string;
}
Properties§
Source§readonly additional Fields?:
| { description?: string }
| {
changePasswordAtNextLogin?: boolean;
customFields?: {
fieldValues: {
fieldName: string;
schemaName?: string;
value: string;
}[];
};
emailUi?: {
emailValues: {
address?: string;
type?: "home"
| "work"
| "other";
}[];
};
phoneUi?: {
phoneValues: {
primary?: boolean;
type?: | "main"
| "custom"
| "home"
| "work"
| "mobile"
| "other"
| "assistant"
| "radio"
| "callback"
| "car"
| "company_main"
| "grand_central"
| "home_fax"
| "isdn"
| "other_fax"
| "pager"
| "telex"
| "tty_tdd"
| "work_fax"
| "work_mobile"
| "work_pager";
value?: string;
}[];
};
roles?: (
| "directorySyncAdmin"
| "groupsAdmin"
| "groupsEditor"
| "groupsReader"
| "helpDeskAdmin"
| "inventoryReportingAdmin"
| "mobileAdmin"
| "servicesAdmin"
| "storageAdmin"
| "superAdmin"
| "userManagement"
)[];
}
readonly additional Fields?:
| { description?: string }
| {
changePasswordAtNextLogin?: boolean;
customFields?: {
fieldValues: {
fieldName: string;
schemaName?: string;
value: string;
}[];
};
emailUi?: {
emailValues: {
address?: string;
type?: "home"
| "work"
| "other";
}[];
};
phoneUi?: {
phoneValues: {
primary?: boolean;
type?: | "main"
| "custom"
| "home"
| "work"
| "mobile"
| "other"
| "assistant"
| "radio"
| "callback"
| "car"
| "company_main"
| "grand_central"
| "home_fax"
| "isdn"
| "other_fax"
| "pager"
| "telex"
| "tty_tdd"
| "work_fax"
| "work_mobile"
| "work_pager";
value?: string;
}[];
};
roles?: (
| "directorySyncAdmin"
| "groupsAdmin"
| "groupsEditor"
| "groupsReader"
| "helpDeskAdmin"
| "inventoryReportingAdmin"
| "mobileAdmin"
| "servicesAdmin"
| "storageAdmin"
| "superAdmin"
| "userManagement"
)[];
}
Default: {}
Source§readonly custom Field Mask?: unknown[]
readonly custom Field Mask?: unknown[]
A comma-separated list of schema names. All fields from these schemas are fetched. Choose from the list, or specify IDs using an expression. Default: [] Type options: {"loadOptionsMethod":"getSchemas"}
Source§readonly device Id?: { mode: "list" | "deviceId"; value: string }
readonly device Id?: { mode: "list" | "deviceId"; value: string }
Select the device you want to retrieve Default: {"mode":"list","value":""}
Source§readonly domain?: string
readonly domain?: string
Choose from the list, or specify an ID using an expression Type options: {"loadOptionsMethod":"getDomains"}
Source§readonly email?: string
readonly email?: string
The group's email address. If your account has multiple domains, select the appropriate domain for the email address. The email must be unique
Source§readonly fields?: (
| "name"
| "suspended"
| "creationTime"
| "isAdmin"
| "kind"
| "lastLoginTime"
| "primaryEmail"
)[]
readonly fields?: (
| "name"
| "suspended"
| "creationTime"
| "isAdmin"
| "kind"
| "lastLoginTime"
| "primaryEmail"
)[]
Fields to include in the response when "Select Included Fields" is chosen Default: []
Source§readonly filter?:
| { orgUnitPath?: string; query?: string }
| {
customer?: string;
domain?: string;
query?: string;
userId?: string;
}
| {
customer?: string;
domain?: string;
query?: string;
showDeleted?: boolean;
}
readonly filter?:
| { orgUnitPath?: string; query?: string }
| {
customer?: string;
domain?: string;
query?: string;
userId?: string;
}
| {
customer?: string;
domain?: string;
query?: string;
showDeleted?: boolean;
}
Default: {}
Source§readonly group Id?:
| { mode: "list"
| "GroupId"; value: string }
| { mode: "list" | "groupId"; value: string }
readonly group Id?:
| { mode: "list"
| "GroupId"; value: string }
| { mode: "list" | "groupId"; value: string }
Select the group to perform the operation on Default: {"mode":"list","value":""}
Source§readonly include Child Orgunits?: boolean
readonly include Child Orgunits?: boolean
Whether to include devices from organizational units below your specified organizational unit
Source§readonly limit?: number
readonly limit?: number
Max number of results to return Default: 100 Type options: {"minValue":1,"maxValue":500}
Source§readonly operation?:
| "create"
| "get"
| "getAll"
| "update"
| "delete"
| "addToGroup"
| "removeFromGroup"
| "changeStatus"
readonly operation?:
| "create"
| "get"
| "getAll"
| "update"
| "delete"
| "addToGroup"
| "removeFromGroup"
| "changeStatus"
Default: "get"
Source§readonly password?: string
readonly password?: string
Stores the password for the user account. A minimum of 8 characters is required. The maximum length is 100 characters. Type options: {"password":true}
Source§readonly projection?: "custom" | "basic" | "full"
readonly projection?: "custom" | "basic" | "full"
What subset of fields to fetch for this device Default: "basic"
Source§readonly sort?:
| {
sortRules: {
orderBy?: | "status"
| "annotatedLocation"
| "annotatedUser"
| "lastSync"
| "notes"
| "serialNumber";
sortBy?: "ascending"
| "descending";
};
}
| {
sortRules: {
orderBy?: "email";
sortOrder?: "ASCENDING"
| "DESCENDING";
};
}
| {
sortRules: {
orderBy?: "email"
| "familyName"
| "givenName";
sortOrder?: "ASCENDING" | "DESCENDING";
};
}
readonly sort?:
| {
sortRules: {
orderBy?: | "status"
| "annotatedLocation"
| "annotatedUser"
| "lastSync"
| "notes"
| "serialNumber";
sortBy?: "ascending"
| "descending";
};
}
| {
sortRules: {
orderBy?: "email";
sortOrder?: "ASCENDING"
| "DESCENDING";
};
}
| {
sortRules: {
orderBy?: "email"
| "familyName"
| "givenName";
sortOrder?: "ASCENDING" | "DESCENDING";
};
}
Define sorting rules for the results Default: {}
Source§readonly update Fields?:
| {
description?: string;
email?: string;
name?: string;
}
| {
archived?: boolean;
changePasswordAtNextLogin?: boolean;
customFields?: {
fieldValues: {
fieldName: string;
schemaName?: string;
value: string;
}[];
};
emailUi?: {
emailValues: {
address?: string;
type?: "home"
| "work"
| "other";
}[];
};
firstName?: string;
lastName?: string;
password?: string;
phoneUi?: {
phoneValues: {
primary?: boolean;
type?: | "main"
| "custom"
| "home"
| "work"
| "mobile"
| "other"
| "assistant"
| "radio"
| "callback"
| "car"
| "company_main"
| "grand_central"
| "home_fax"
| "isdn"
| "other_fax"
| "pager"
| "telex"
| "tty_tdd"
| "work_fax"
| "work_mobile"
| "work_pager";
value?: string;
}[];
};
primaryEmail?: string;
roles?: (
| "directorySyncAdmin"
| "groupsAdmin"
| "groupsEditor"
| "groupsReader"
| "helpDeskAdmin"
| "inventoryReportingAdmin"
| "mobileAdmin"
| "servicesAdmin"
| "storageAdmin"
| "superAdmin"
| "userManagement"
)[];
suspendUi?: boolean;
}
readonly update Fields?:
| {
description?: string;
email?: string;
name?: string;
}
| {
archived?: boolean;
changePasswordAtNextLogin?: boolean;
customFields?: {
fieldValues: {
fieldName: string;
schemaName?: string;
value: string;
}[];
};
emailUi?: {
emailValues: {
address?: string;
type?: "home"
| "work"
| "other";
}[];
};
firstName?: string;
lastName?: string;
password?: string;
phoneUi?: {
phoneValues: {
primary?: boolean;
type?: | "main"
| "custom"
| "home"
| "work"
| "mobile"
| "other"
| "assistant"
| "radio"
| "callback"
| "car"
| "company_main"
| "grand_central"
| "home_fax"
| "isdn"
| "other_fax"
| "pager"
| "telex"
| "tty_tdd"
| "work_fax"
| "work_mobile"
| "work_pager";
value?: string;
}[];
};
primaryEmail?: string;
roles?: (
| "directorySyncAdmin"
| "groupsAdmin"
| "groupsEditor"
| "groupsReader"
| "helpDeskAdmin"
| "inventoryReportingAdmin"
| "mobileAdmin"
| "servicesAdmin"
| "storageAdmin"
| "superAdmin"
| "userManagement"
)[];
suspendUi?: boolean;
}
Default: {}
Source§readonly update Options?: {
annotatedAssetId?: string;
annotatedLocation?: string;
annotatedUser?: string;
notes?: string;
orgUnitPath?: string;
}
readonly update Options?: {
annotatedAssetId?: string;
annotatedLocation?: string;
annotatedUser?: string;
notes?: string;
orgUnitPath?: string;
}
Default: {}
Source§readonly user Id?: { mode: "list" | "userEmail" | "userId"; value: string }
readonly user Id?: { mode: "list" | "userEmail" | "userId"; value: string }
Select the user to perform the operation on Default: {"mode":"list","value":""}
Source§readonly username?: string
readonly username?: string
The username that will be set to the user. Example: If you domain is example.com and you set the username to n.smith then the user's final email address will be n.smith@example.com.
Set the status of a device Default: "reenable"