Skip to main content

Gcp/admin

@swamp/gcp/adminv2026.07.24.1· 1d agoMODELS
01README

Google Cloud admin infrastructure models

02Release Notes
  • Updated: activities
03Models31
activities.tsv2026.07.24.1

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
userKeystringRepresents the profile ID or the user email for which the data should be filtered. Can be `all` for all information, or `userKey` for a user's unique Google Workspace profile ID or their primary email address. Must not be a deleted user. For a deleted user, call `users.list` in Directory API with `showDeleted=true`, then use the returned `ID` as the `userKey`.
applicationNamestringApplication name for which the events are to be retrieved.
fn get(identifier: string)
Get a activities
ArgumentTypeDescription
identifierstringThe name of the activities
fn sync(identifier?: string)
Sync activities state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific activities by name (e.g. one discovered by list)
fn list(actorIpAddress?: string, applicationInfoFilter?: string, customerId?: string, endTime?: string, eventName?: string, filters?: string, groupIdFilter?: string, includeSensitiveData?: boolean, maxResults?: number, networkInfoFilter?: string, orgUnitID?: string, resourceDetailsFilter?: string, startTime?: string, statusFilter?: string, maxPages?: number)
List activities resources
ArgumentTypeDescription
actorIpAddress?stringThe Internet Protocol (IP) Address of host where the event was performed. This is an additional way to filter a report's summary using the IP address of the user whose activity is being reported. This IP address may or may not reflect the user's physical location. For example, the IP address can be the user's proxy server's address or a virtual private network (VPN) address. This parameter supports both IPv4 and IPv6 address versions.
applicationInfoFilter?stringOptional. Used to filter on the `oAuthClientId` field present in [`ApplicationInfo`](#applicationinfo) message. **Usage** ``` GET...&applicationInfoFilter=oAuthClientId="clientId" GET...&applicationInfoFilter=oAuthClientId=%22clientId%22 ```
customerId?stringThe unique ID of the customer to retrieve data for.
endTime?stringSets the end of the range of time shown in the report. The date is in the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The default value is the approximate time of the API request. An API report has three basic time concepts: - *Date of the API's request for a report*: When the API created and retrieved the report. - *Report's start time*: The beginning of the timespan shown in the report. The `startTime` must be before the `endTime` (if specified) and the current time when the request is made, or the API returns an error. - *Report's end time*: The end of the timespan shown in the report. For example, the timespan of events summarized in a report can start in April and end in May. The report itself can be requested in August. If the `endTime` is not specified, the report returns all activities from the `startTime` until the current time or the most recent 180 days if the `startTime` is more than 180 days in the past. For Gmail requests, `startTime` and `endTime` must be provided and the difference must not be greater than 30 days.
eventName?stringThe name of the event being queried by the API. Each `eventName` is related to a specific Google Workspace service or feature which the API organizes into types of events. An example is the Google Calendar events in the Admin console application's reports. The Calendar Settings `type` structure has all of the Calendar `eventName` activities reported by the API. When an administrator changes a Calendar setting, the API reports this activity in the Calendar Settings `type` and `eventName` parameters. For more information about `eventName` query strings and parameters, see the list of event names for various applications above in `applicationName`.
filters?stringThe `filters` query string is a comma-separated list composed of event parameters manipulated by relational operators. Event parameters are in the form `{parameter1 name}{relational operator}{parameter1 value},{parameter2 name}{relational operator}{parameter2 value},...` These event parameters are associated with a specific `eventName`. An empty report is returned if the request's parameter doesn't belong to the `eventName`. For more information about the available `eventName` fields for each application and their associated parameters, go to the [ApplicationName](#applicationname) table, then click through to the Activity Events page in the Appendix for the application you want. In the following Drive activity examples, the returned list consists of all `edit` events where the `doc_id` parameter value matches the conditions defined by the relational operator. In the first example, the request returns all edited documents with a `doc_id` value equal to `12345`. In the second example, the report returns any edited documents where the `doc_id` value is not equal to `98765`. The `<>` operator is URL-encoded in the request's query string (`%3C%3E`): ``` GET...&eventName=edit&filters=doc_id==12345 GET...&eventName=edit&filters=doc_id%3C%3E98765 ``` A `filters` query supports these relational operators: * `==`—'equal to'. * `<>`—'not equal to'. Must be URL-encoded (%3C%3E). * `<`—'less than'. Must be URL-encoded (%3C). * `<=`—'less than or equal to'. Must be URL-encoded (%3C=). * `>`—'greater than'. Must be URL-encoded (%3E). * `>=`—'greater than or equal to'. Must be URL-encoded (%3E=). **Note:** The API doesn't accept multiple values of the same parameter. If a parameter is supplied more than once in the API request, the API only accepts the last value of that parameter. In addition, if an invalid parameter is supplied in the API request, the API ignores that parameter and returns the response corresponding to the remaining valid parameters. If no parameters are requested, all parameters are returned.
groupIdFilter?stringComma separated group ids (obfuscated) on which user activities are filtered, i.e. the response will contain activities for only those users that are a part of at least one of the group ids mentioned here. Format: "id:abc123,id:xyz456" *Important:* To filter by groups, you must explicitly add the groups to your filtering groups allowlist. For more information about adding groups to filtering groups allowlist, see [Filter results by Google Group](https://support.google.com/a/answer/11482175)
includeSensitiveData?booleanOptional. When set to `true`, this field allows sensitive user-generated content to be included in the returned audit logs. This parameter is supported only for Rules (DLP) and Chat applications; using it with any other application will result in a permission error.
maxResults?numberDetermines how many activity records are shown on each response page. For example, if the request sets `maxResults=1` and the report has two activities, the report has two pages. The response's `nextPageToken` property has the token to the second page. The `maxResults` query string is optional in the request. The default value is 1000.
networkInfoFilter?stringOptional. Used to filter on the `regionCode` field present in [`NetworkInfo`](#networkinfo) message. **Usage** ``` GET...&networkInfoFilter=regionCode="IN" GET...&networkInfoFilter=regionCode=%22IN%22 ```
orgUnitID?stringID of the organizational unit to report on. Activity records will be shown only for users who belong to the specified organizational unit. Data before Dec 17, 2018 doesn't appear in the filtered results.
resourceDetailsFilter?stringOptional. The `resourceDetailsFilter` query string is an AND separated list composed of [Resource Details](#resourcedetails) fields manipulated by relational operators. Resource Details Filters are in the form `{resourceDetails.field1}{relational operator}{field1 value} AND {resourceDetails.field2}{relational operator}{field2 value}...` All the inner fields are traversed using the `.` operator, as shown in the following example: ``` resourceDetails.id = "resourceId" AND resourceDetails.appliedLabels.id = "appliedLabelId" AND resourceDetails.appliedLabels.fieldValue.id = "fieldValueId" ``` `resourceDetailsFilter` query supports these relational operators: * `=`—\'equal to\'. * `!=`—\'not equal to\'. * `:`—\'exists\'. This is used for filtering on repeated fields. [`FieldValue`](#fieldvalue) types that are repeated in nature uses `exists` operator for filtering. The following [`FieldValue`](#fieldvalue) types are repeated: * [`TextListValue`](#textlistvalue) * [`SelectionListValue`](#selectionlistvalue) * [`UserListValue`](#userlistvalue) For example, in the following filter, [`SelectionListValue`](#selectionlistvalue), is a repeated field. The filter checks whether [`SelectionListValue`](#selectionlistvalue) contains `selection_id`: ``` resourceDetails.id = "resourceId" AND resourceDetails.appliedLabels.id = "appliedLabelId" AND resourceDetails.appliedLabels.fieldValue.id = "fieldValueId" AND resourceDetails.appliedLabels.fieldValue.type = "SELECTION_LIST_VALUE" AND resourceDetails.appliedLabels.fieldValue.selectionListValue.id: "id" ``` **Usage** ``` GET...&resourceDetailsFilter=resourceDetails.id = "resourceId" AND resourceDetails.appliedLabels.id = "appliedLabelId" GET...&resourceDetailsFilter=resourceDetails.id=%22resourceId%22%20AND%20resourceDetails.appliedLabels.id=%22appliedLabelId%22 ``` **Note the following**: * You must URL encode the query string before sending the request. * The API supports a maximum of 5 fields separated by the AND operator. - When filtering on deeper levels (e.g., [`AppliedLabel`](#appliedlabel), [`FieldValue`](#fieldvalue)), the IDs of all preceding levels in the hierarchy must be included in the filter. For example: Filtering on [`FieldValue`](#fieldvalue) requires [`AppliedLabel`](#appliedlabel) ID and resourceDetails ID to be present. *Sample Query*: ``` resourceDetails.id = "resourceId" AND resourceDetails.appliedLabels.id = "appliedLabelId" AND resourceDetails.appliedLabels.fieldValue.id = "fieldValueId" ``` * Filtering on inner [`FieldValue`](#fieldvalue) types like `longTextValue` and `textValue` requires `resourceDetails.appliedLabels.fieldValue.type` to be present. * Only Filtering on a single [`AppliedLabel`](#appliedlabel) id and [`FieldValue`](#fieldvalue) id is supported.
startTime?stringSets the beginning of the range of time shown in the report. The date is in the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The report returns all activities from `startTime` until `endTime`. The `startTime` must be before the `endTime` (if specified) and the current time when the request is made, or the API returns an error. For Gmail requests, `startTime` and `endTime` must be provided and the difference must not be greater than 30 days.
statusFilter?stringOptional. Used to filter on the `statusCode` field present in [`Status`](#status) message. **Usage** ``` GET...&statusFilter=statusCode="200" GET...&statusFilter=statusCode=%22200%22 ```
maxPages?numberMaximum number of pages to fetch (default: 10)
fn watch(address?: any, expiration?: any, id?: any, kind?: any, params?: any, payload?: any, resourceId?: any, resourceUri?: any, token?: any, type?: any)
watch
ArgumentTypeDescription
address?any
expiration?any
id?any
kind?any
params?any
payload?any
resourceId?any
resourceUri?any
token?any
type?any
applications.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
fn get(identifier: string)
Get a applications
ArgumentTypeDescription
identifierstringThe name of the applications
fn sync(identifier?: string)
Sync applications state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific applications by name (e.g. one discovered by list)
fn list(customerId?: string, maxResults?: number, maxPages?: number)
List applications resources
ArgumentTypeDescription
customerId?stringImmutable ID of the Google Workspace account.
maxResults?numberMaximum number of results to return. Default is 100.
maxPages?numberMaximum number of pages to fetch (default: 10)
asps.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
userKeystringIdentifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.
fn get(identifier: string)
Get a asps
ArgumentTypeDescription
identifierstringThe name of the asps
fn delete(identifier: string)
Delete the asps
ArgumentTypeDescription
identifierstringThe name of the asps
fn sync(identifier?: string)
Sync asps state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific asps by name (e.g. one discovered by list)
fn list(maxPages?: number)
List asps resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
chromeosdevices.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
activeTimeRanges?arrayDuration of usage in milliseconds.
annotatedAssetId?stringThe asset identifier as noted by an administrator or specified during enrollment.
annotatedLocation?stringThe address or location of the device as noted by the administrator. Maximum length is `200` characters. Empty values are allowed.
annotatedUser?stringThe user of the device as noted by the administrator. Maximum length is 100 characters. Empty values are allowed.
autoUpdateThrough?stringOutput only. The timestamp after which the device will stop receiving Chrome updates or support.
backlightInfo?arrayOutput only. Current brightness of the backlight, between 0 and max_brightness.
bluetoothAdapterInfo?arrayOutput only. The MAC address of the adapter.
bootMode?stringThe boot mode for the device. The possible values are: * `Verified`: The device is running a valid version of the Chrome OS. * `Dev`: The devices's developer hardware switch is enabled. When booted, the device has a command line shell. For an example of a developer switch, see the [Chromebook developer information](https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices/samsung-series-5-chromebook#TOC-Developer-switch).
chromeOsType?enumOutput only. Chrome OS type of the device.
cpuInfo?arrayThe CPU architecture.
cpuStatusReports?arrayCPU label
deprovisionReason?enum(Read-only) Deprovision reason.
deviceFiles?arrayDate and time the file was created
deviceId?stringThe unique ID of the Chrome device.
deviceLicenseType?enumOutput only. Device license type.
diskSpaceUsage?objectOutput only. The total capacity value, in bytes.
diskVolumeReports?arrayFree disk space [in bytes]
dockMacAddress?string(Read-only) Built-in MAC address for the docking station that the device connected to. Factory sets Media access control address (MAC address) assigned for use by a dock. It is reserved specifically for MAC pass through device policy. The format is twelve (12) hexadecimal digits without any delimiter (uppercase letters). This is only relevant for some devices.
etag?stringETag of the resource.
ethernetMacAddress?stringThe device's MAC address on the ethernet network interface.
ethernetMacAddress0?string(Read-only) MAC address used by the Chromebook’s internal ethernet port, and for onboard network (ethernet) interface. The format is twelve (12) hexadecimal digits without any delimiter (uppercase letters). This is only relevant for some devices.
extendedSupportEligible?booleanOutput only. Whether or not the device requires the extended support opt in.
extendedSupportEnabled?booleanOutput only. Whether extended support policy is enabled on the device.
extendedSupportStart?stringOutput only. Date of the device when extended support policy for automatic updates starts.
fanInfo?arrayOutput only. Fan speed in RPM.
firmwareVersion?stringThe Chrome device's firmware version.
firstEnrollmentTime?stringDate and time for the first time the device was enrolled.
kind?stringThe type of resource. For the Chromeosdevices resource, the value is `admin#directory#chromeosdevice`.
lastDeprovisionTimestamp?string(Read-only) Date and time for the last deprovision of the device.
lastEnrollmentTime?stringDate and time the device was last enrolled (Read-only)
lastKnownNetwork?arrayThe IP address.
lastSync?stringDate and time the device was last synchronized with the policy settings in the G Suite administrator control panel (Read-only)
macAddress?stringThe device's wireless MAC address. If the device does not have this information, it is not included in the response.
manufactureDate?string(Read-only) The date the device was manufactured in yyyy-mm-dd format.
meid?stringThe Mobile Equipment Identifier (MEID) or the International Mobile Equipment Identity (IMEI) for the 3G mobile card in a mobile device. A MEID/IMEI is typically used when adding a device to a wireless carrier's post-pay service plan. If the device does not have this information, this property is not included in the response. For more information on how to export a MEID/IMEI list, see the [Developer's Guide](https://developers.google.com/workspace/admin/directory/v1/guides/manage-chrome-devices.html#export_meid).
model?stringThe device's model information. If the device does not have this information, this property is not included in the response.
notes?stringNotes about this device added by the administrator. This property can be [searched](https://support.google.com/chrome/a/answer/1698333) with the [list](https://developers.google.com/workspace/admin/directory/v1/reference/chromeosdevices/list) method's `query` parameter. Maximum length is 500 characters. Empty values are allowed.
orderNumber?stringThe device's order number. Only devices directly purchased from Google have an order number.
orgUnitId?stringThe unique ID of the organizational unit. orgUnitPath is the human readable version of orgUnitId. While orgUnitPath may change by renaming an organizational unit within the path, orgUnitId is unchangeable for one organizational unit. This property can be [updated](https://developers.google.com/workspace/admin/directory/v1/guides/manage-chrome-devices#move_chrome_devices_to_ou) using the API. For more information about how to create an organizational structure for your device, see the [administration help center](https://support.google.com/a/answer/182433).
orgUnitPath?stringThe full parent path with the organizational unit's name associated with the device. Path names are case insensitive. If the parent organizational unit is the top-level organization, it is represented as a forward slash, `/`. This property can be [updated](https://developers.google.com/workspace/admin/directory/v1/guides/manage-chrome-devices#move_chrome_devices_to_ou) using the API. For more information about how to create an organizational structure for your device, see the [administration help center](https://support.google.com/a/answer/182433).
osUpdateStatus?objectDate and time of the last reboot.
osVersion?stringThe Chrome device's operating system version.
osVersionCompliance?enumOutput only. Device policy compliance status of the OS version.
platformVersion?stringThe Chrome device's platform version.
recentUsers?arrayThe user's email address. This is only present if the user type is `USER_TYPE_MANAGED`.
screenshotFiles?arrayDate and time the file was created
serialNumber?stringThe Chrome device serial number entered when the device was enabled. This value is the same as the Admin console's *Serial Number* in the *Chrome OS Devices* tab.
status?stringThe status of the device.
supportEndDate?stringFinal date the device will be supported (Read-only)
systemRamFreeReports?arrayDate and time the report was received.
systemRamTotal?stringTotal RAM on the device [in bytes] (Read-only)
tpmVersionInfo?objectTPM family. We use the TPM 2.0 style encoding, e.g.: TPM 1.2: "1.2" -> 312e3200 TPM 2.0: "2.0" -> 322e3000
willAutoRenew?booleanDetermines if the device will auto renew its support after the support end date. This is a read-only property.
customerIdstringThe unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users resource](https://developers.google.com/workspace/admin/directory/v1/reference/users).
fn get(identifier: string)
Get a chromeosdevices
ArgumentTypeDescription
identifierstringThe name of the chromeosdevices
fn update(identifier?: string)
Update chromeosdevices attributes
ArgumentTypeDescription
identifier?stringTarget a specific chromeosdevices by name (e.g. one discovered by list)
fn sync(identifier?: string)
Sync chromeosdevices state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific chromeosdevices by name (e.g. one discovered by list)
fn list(includeChildOrgunits?: boolean, maxResults?: number, orderBy?: string, orgUnitPath?: string, projection?: string, query?: string, sortOrder?: string, maxPages?: number)
List chromeosdevices resources
ArgumentTypeDescription
includeChildOrgunits?booleanReturn devices from all child orgunits, as well as the specified org unit. If this is set to true, 'orgUnitPath' must be provided.
maxResults?numberMaximum number of results to return. Value should not exceed 300.
orderBy?stringDevice property to use for sorting results.
orgUnitPath?stringThe full path of the organizational unit (minus the leading `/`) or its unique ID.
projection?stringDetermines whether the response contains the full list of properties or only a subset.
query?stringSearch string in the format given at [List query operators](https://developers.google.com/workspace/admin/directory/v1/list-query-operators).
sortOrder?stringWhether to return results in ascending or descending order. Must be used with the `orderBy` parameter.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn action(action?: any, deprovisionReason?: any)
action
ArgumentTypeDescription
action?any
deprovisionReason?any
fn move_devices_to_ou(deviceIds?: any)
move devices to ou
ArgumentTypeDescription
deviceIds?any
customer_devices_chromeos_commands.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
customerIdstringImmutable. ID of the Google Workspace account.
deviceIdstringImmutable. ID of Chrome OS Device.
fn get(identifier: string)
Get a commands
ArgumentTypeDescription
identifierstringThe name of the commands
fn sync(identifier?: string)
Sync commands state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific commands by name (e.g. one discovered by list)
customers.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
alternateEmail?stringThe customer's secondary contact email address. This email address cannot be on the same domain as the `customerDomain`
customerCreationTime?stringThe customer's creation time (Readonly)
customerDomain?stringThe customer's primary domain name string. Do not include the `www` prefix when creating a new customer.
etag?stringETag of the resource.
id?stringThe unique ID for the customer's Google Workspace account. (Readonly)
kind?stringIdentifies the resource as a customer. Value: `admin#directory#customer`
language?stringThe customer's ISO 639-2 language code. See the [Language Codes](https://developers.google.com/workspace/admin/directory/v1/languages) page for the list of supported codes. Valid language codes outside the supported set will be accepted by the API but may lead to unexpected behavior. The default value is `en`.
phoneNumber?stringThe customer's contact phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format.
postalAddress?objectA customer's physical address. The address can be composed of one to three lines.
fn get(identifier: string)
Get a customers
ArgumentTypeDescription
identifierstringThe name of the customers
fn update(identifier?: string)
Update customers attributes
ArgumentTypeDescription
identifier?stringTarget a specific customers by name (e.g. one discovered by list)
fn sync(identifier?: string)
Sync customers state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific customers by name (e.g. one discovered by list)
customers_chrome_printers.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
description?stringEditable. Description of printer.
displayName?stringEditable. Name of printer.
id?stringId of the printer. (During printer creation leave empty)
makeAndModel?stringEditable. Make and model of printer. e.g. Lexmark MS610de Value must be in format as seen in ListPrinterModels response.
name?stringIdentifier. The resource name of the Printer object, in the format customers/{customer-id}/printers/{printer-id} (During printer creation leave empty)
orgUnitId?stringOrganization Unit that owns this printer (Only can be set during Printer creation)
uri?stringEditable. Printer URI.
useDriverlessConfig?booleanEditable. flag to use driverless configuration or not. If it's set to be true, make_and_model can be ignored
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
fn create()
Create a printers
fn get(identifier: string)
Get a printers
ArgumentTypeDescription
identifierstringThe name of the printers
fn update(identifier?: string)
Update printers attributes
ArgumentTypeDescription
identifier?stringTarget a specific printers by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the printers
ArgumentTypeDescription
identifierstringThe name of the printers
fn sync(identifier?: string)
Sync printers state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific printers by name (e.g. one discovered by list)
fn list(filter?: string, orderBy?: string, orgUnitId?: string, pageSize?: number, maxPages?: number)
List printers resources
ArgumentTypeDescription
filter?stringSearch query. Search syntax is shared between this api and Admin Console printers pages.
orderBy?stringThe order to sort results by. Must be one of display_name, description, make_and_model, or create_time. Default order is ascending, but descending order can be returned by appending "desc" to the order_by field. For instance, "description desc" will return the printers sorted by description in descending order.
orgUnitId?stringOrganization Unit that we want to list the printers for. When org_unit is not present in the request then all printers of the customer are returned (or filtered). When org_unit is present in the request then only printers available to this OU will be returned (owned or inherited). You may see if printer is owned or inherited for this OU by looking at Printer.org_unit_id.
pageSize?numberThe maximum number of objects to return. The service may return fewer than this value.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn batch_create_printers(requests?: any)
batch create printers
ArgumentTypeDescription
requests?any
fn batch_delete_printers(printerIds?: any)
batch delete printers
ArgumentTypeDescription
printerIds?any
fn list_printer_models()
list printer models
customers_chrome_printservers.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
description?stringEditable. Description of the print server (as shown in the Admin console).
displayName?stringEditable. Display name of the print server (as shown in the Admin console).
id?stringImmutable. ID of the print server. Leave empty when creating.
name?stringIdentifier. Resource name of the print server. Leave empty when creating. Format: `customers/{customer.id}/printServers/{print_server.id}`
orgUnitId?stringID of the organization unit (OU) that owns this print server. This value can only be set when the print server is initially created. If it's not populated, the print server is placed under the root OU. The `org_unit_id` can be retrieved using the [Directory API](https://developers.google.com/workspace/admin/directory/reference/rest/v1/orgunits).
uri?stringEditable. Print server URI.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
fn create()
Create a printServers
fn get(identifier: string)
Get a printServers
ArgumentTypeDescription
identifierstringThe name of the printServers
fn update(identifier?: string)
Update printServers attributes
ArgumentTypeDescription
identifier?stringTarget a specific printServers by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the printServers
ArgumentTypeDescription
identifierstringThe name of the printServers
fn sync(identifier?: string)
Sync printServers state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific printServers by name (e.g. one discovered by list)
fn list(filter?: string, orderBy?: string, orgUnitId?: string, pageSize?: number, maxPages?: number)
List printServers resources
ArgumentTypeDescription
filter?stringSearch query in [Common Expression Language syntax](https://github.com/google/cel-spec). Supported filters are `display_name`, `description`, and `uri`. Example: `printServer.displayName=='marketing-queue'`.
orderBy?stringSort order for results. Supported values are `display_name`, `description`, or `create_time`. Default order is ascending, but descending order can be returned by appending \"desc\" to the `order_by` field. For instance, `orderBy=='description desc'` returns the print servers sorted by description in descending order.
orgUnitId?stringIf `org_unit_id` is present in the request, only print servers owned or inherited by the organizational unit (OU) are returned. If the `PrintServer` resource's `org_unit_id` matches the one in the request, the OU owns the server. If `org_unit_id` is not specified in the request, all print servers are returned or filtered against.
pageSize?numberThe maximum number of objects to return (default `100`, max `100`). The service might return fewer than this value.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn batch_create_print_servers(requests?: any)
batch create print servers
ArgumentTypeDescription
requests?any
fn batch_delete_print_servers(printServerIds?: any)
batch delete print servers
ArgumentTypeDescription
printServerIds?any
customerusagereports.tsv2026.07.21.2

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
fn get(identifier: string)
Get a customerUsageReports
ArgumentTypeDescription
identifierstringThe name of the customerUsageReports
fn sync(identifier?: string)
Sync customerUsageReports state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific customerUsageReports by name (e.g. one discovered by list)
domainaliases.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
creationTime?stringThe creation time of the domain alias. (Read-only).
domainAliasName?stringThe domain alias name.
parentDomainName?stringThe parent domain name that the domain alias is associated with. This can either be a primary or secondary domain name within a customer.
verified?booleanIndicates the verification state of a domain alias. (Read-only)
customerstringImmutable ID of the Google Workspace account.
fn create()
Create a domainAliases
fn get(identifier: string)
Get a domainAliases
ArgumentTypeDescription
identifierstringThe name of the domainAliases
fn delete(identifier: string)
Delete the domainAliases
ArgumentTypeDescription
identifierstringThe name of the domainAliases
fn sync(identifier?: string)
Sync domainAliases state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific domainAliases by name (e.g. one discovered by list)
fn list(parentDomainName?: string, maxPages?: number)
List domainAliases resources
ArgumentTypeDescription
parentDomainName?stringName of the parent domain for which domain aliases are to be fetched.
maxPages?numberMaximum number of pages to fetch (default: 10)
domains.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
creationTime?stringCreation time of the domain. Expressed in [Unix time](https://en.wikipedia.org/wiki/Epoch_time) format. (Read-only).
domainAliases?arrayThe creation time of the domain alias. (Read-only).
domainNamestringThe domain name of the customer.
isPrimary?booleanIndicates if the domain is a primary domain (Read-only).
verified?booleanIndicates the verification state of a domain. (Read-only).
customerstringImmutable ID of the Google Workspace account.
fn create()
Create a domains
fn get(identifier: string)
Get a domains
ArgumentTypeDescription
identifierstringThe name of the domains
fn delete(identifier: string)
Delete the domains
ArgumentTypeDescription
identifierstringThe name of the domains
fn sync(identifier?: string)
Sync domains state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific domains by name (e.g. one discovered by list)
fn list(maxPages?: number)
List domains resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
entityusagereports.tsv2026.07.21.2

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
entityTypestringRepresents the type of entity for the report.
entityKeystringRepresents the key of the object to filter the data with. It is a string which can take the value `all` to get activity events for all users, or any other value for an app-specific entity. For details on how to obtain the `entityKey` for a particular `entityType`, see the Entities Usage parameters reference guides.
fn get(identifier: string)
Get a entityUsageReports
ArgumentTypeDescription
identifierstringThe name of the entityUsageReports
fn sync(identifier?: string)
Sync entityUsageReports state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific entityUsageReports by name (e.g. one discovered by list)
groups.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
adminCreated?booleanRead-only. Value is `true` if this group was created by an administrator rather than a user.
aliases?arrayRead-only. The list of a group's alias email addresses. To add, update, or remove a group's aliases, use the `groups.aliases` methods. If edited in a group's POST or PUT request, the edit is ignored.
description?stringAn extended description to help users determine the purpose of a group. For example, you can include information about who should join the group, the types of messages to send to the group, links to FAQs about the group, or related groups. Maximum length is `4,096` characters.
directMembersCount?stringThe number of users that are direct members of the group. If a group is a member (child) of this group (the parent), members of the child group are not counted in the `directMembersCount` property of the parent group.
emailstringThe group's email address. If your account has multiple domains, select the appropriate domain for the email address. The `email` must be unique. This property is required when creating a group. Group email addresses are subject to the same character usage rules as usernames, see the [help center](https://support.google.com/a/answer/9193374) for details.
id?stringRead-only. The unique ID of a group. A group `id` can be used as a group request URI's `groupKey`.
name?stringThe group's display name.
nonEditableAliases?arrayRead-only. The list of the group's non-editable alias email addresses that are outside of the account's primary domain or subdomains. These are functioning email addresses used by the group. This is a read-only property returned in the API's response for a group. If edited in a group's POST or PUT request, the edit is ignored.
fn create()
Create a groups
fn get(identifier: string)
Get a groups
ArgumentTypeDescription
identifierstringThe name of the groups
fn update(identifier?: string)
Update groups attributes
ArgumentTypeDescription
identifier?stringTarget a specific groups by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the groups
ArgumentTypeDescription
identifierstringThe name of the groups
fn sync(identifier?: string)
Sync groups state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific groups by name (e.g. one discovered by list)
fn list(customer?: string, domain?: string, maxResults?: number, orderBy?: string, query?: string, sortOrder?: string, userKey?: string, maxPages?: number)
List groups resources
ArgumentTypeDescription
customer?stringThe unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users](https://developers.google.com/workspace/admin/directory/v1/reference/users) resource. You must provide either the `customer` or the `domain` parameter.
domain?stringThe domain name. Use this field to get groups from only one domain. To return all domains for a customer account, use the `customer` query parameter instead.
maxResults?numberMaximum number of results to return. Max allowed value is 200.
orderBy?stringColumn to use for sorting results
query?stringQuery string search. Contains one or more search clauses, each with a field, operator, and value. For complete documentation, go to [Search for groups](https://developers.google.com/workspace/admin/directory/v1/guides/search-groups).
sortOrder?stringWhether to return results in ascending or descending order. Only of use when orderBy is also used
userKey?stringEmail or immutable ID of the user if only those groups are to be listed, the given user is a member of. If it's an ID, it should match with the ID of the user object. Cannot be used with the `customer` parameter.
maxPages?numberMaximum number of pages to fetch (default: 10)
groups_aliases.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
alias?string
id?string
primaryEmail?string
groupKeystringIdentifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID.
fn create()
Create a aliases
fn get(identifier: string)
Get a aliases
ArgumentTypeDescription
identifierstringThe name of the aliases
fn delete(identifier: string)
Delete the aliases
ArgumentTypeDescription
identifierstringThe name of the aliases
fn sync(identifier?: string)
Sync aliases state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific aliases by name (e.g. one discovered by list)
members.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
delivery_settings?stringDefines mail delivery preferences of member. This field is only supported by `insert`, `update`, and `get` methods.
email?stringThe member's email address. A member can be a user or another group. This property is required when adding a member to a group. The `email` must be unique and cannot be an alias of another group. If the email address is changed, the API automatically reflects the email address changes.
id?stringThe unique ID of the group member. A member `id` can be used as a member request URI's `memberKey`.
role?stringThe member's role in a group. The API returns an error for cycles in group memberships. For example, if `group1` is a member of `group2`, `group2` cannot be a member of `group1`. For more information about a member's role, see the [administration help center](https://support.google.com/a/answer/167094).
status?stringStatus of member (Immutable)
type?stringThe type of group member.
groupKeystringIdentifies the group in the API request. The value can be the group's email address, group alias, or the unique group ID.
fn create()
Create a members
fn get(identifier: string)
Get a members
ArgumentTypeDescription
identifierstringThe name of the members
fn update(identifier?: string)
Update members attributes
ArgumentTypeDescription
identifier?stringTarget a specific members by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the members
ArgumentTypeDescription
identifierstringThe name of the members
fn sync(identifier?: string)
Sync members state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific members by name (e.g. one discovered by list)
fn list(includeDerivedMembership?: boolean, maxResults?: number, roles?: string, maxPages?: number)
List members resources
ArgumentTypeDescription
includeDerivedMembership?booleanWhether to list indirect memberships. Default: false.
maxResults?numberMaximum number of results to return. Max allowed value is 200.
roles?stringThe `roles` query parameter allows you to retrieve group members by role. Allowed values are `OWNER`, `MANAGER`, and `MEMBER`.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn has_member()
has member
mobiledevices.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
customerIdstringThe unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users resource](https://developers.google.com/workspace/admin/directory/v1/reference/users).
fn get(identifier: string)
Get a mobiledevices
ArgumentTypeDescription
identifierstringThe id of the mobiledevices
fn delete(identifier: string)
Delete the mobiledevices
ArgumentTypeDescription
identifierstringThe id of the mobiledevices
fn sync(identifier?: string)
Sync mobiledevices state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific mobiledevices by id (e.g. one discovered by list)
fn list(maxResults?: number, orderBy?: string, projection?: string, query?: string, sortOrder?: string, maxPages?: number)
List mobiledevices resources
ArgumentTypeDescription
maxResults?numberMaximum number of results to return. Max allowed value is 100.
orderBy?stringDevice property to use for sorting results.
projection?stringRestrict information returned to a set of selected fields.
query?stringSearch string in the format given at https://developers.google.com/workspace/admin/directory/v1/search-operators
sortOrder?stringWhether to return results in ascending or descending order. Must be used with the `orderBy` parameter.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn action(action?: any)
action
ArgumentTypeDescription
action?any
orgunits.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
description?stringDescription of the organizational unit.
namestringThe organizational unit's path name. For example, an organizational unit's name within the /corp/support/sales_support parent path is sales_support. Required.
orgUnitId?stringThe unique ID of the organizational unit.
orgUnitPath?stringThe full path to the organizational unit. The `orgUnitPath` is a derived property. When listed, it is derived from `parentOrgunitPath` and organizational unit's `name`. For example, for an organizational unit named 'apps' under parent organization '/engineering', the orgUnitPath is '/engineering/apps'. In order to edit an `orgUnitPath`, either update the name of the organization or the `parentOrgunitPath`. A user's organizational unit determines which Google Workspace services the user has access to. If the user is moved to a new organization, the user's access changes. For more information about organization structures, see the [administration help center](https://support.google.com/a/answer/4352075). For more information about moving a user to a different organization, see [Update a user](https://developers.google.com/workspace/admin/directory/v1/guides/manage-users.html#update_user).
parentOrgUnitId?stringThe unique ID of the parent organizational unit. Required, unless `parentOrgUnitPath` is set.
parentOrgUnitPath?stringThe organizational unit's parent path. For example, /corp/sales is the parent path for /corp/sales/sales_support organizational unit. Required, unless `parentOrgUnitId` is set.
customerIdstringThe unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users resource](https://developers.google.com/workspace/admin/directory/v1/reference/users).
fn create()
Create a orgunits
fn get(identifier: string)
Get a orgunits
ArgumentTypeDescription
identifierstringThe name of the orgunits
fn update(identifier?: string)
Update orgunits attributes
ArgumentTypeDescription
identifier?stringTarget a specific orgunits by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the orgunits
ArgumentTypeDescription
identifierstringThe name of the orgunits
fn sync(identifier?: string)
Sync orgunits state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific orgunits by name (e.g. one discovered by list)
fn list(orgUnitPath?: string, type?: string, maxPages?: number)
List orgunits resources
ArgumentTypeDescription
orgUnitPath?stringThe full path to the organizational unit or its unique ID. Returns the children of the specified organizational unit.
type?stringWhether to return all sub-organizations or just immediate children.
maxPages?numberMaximum number of pages to fetch (default: 10)
privileges.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
customerstringThe unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all groups for a customer, use this field instead of `domain`. You can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users](https://developers.google.com/workspace/admin/directory/v1/reference/users) resource. You must provide either the `customer` or the `domain` parameter.
fn get(identifier: string)
Get a privileges
ArgumentTypeDescription
identifierstringThe name of the privileges
fn sync(identifier?: string)
Sync privileges state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific privileges by name (e.g. one discovered by list)
fn list(maxPages?: number)
List privileges resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
resources_buildings.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
address?objectUnstructured address lines describing the lower levels of an address.
buildingId?stringUnique identifier for the building. The maximum length is 100 characters.
buildingName?stringThe building name as seen by users in Calendar. Must be unique for the customer. For example, "NYC-CHEL". The maximum length is 100 characters.
coordinates?objectLatitude in decimal degrees.
description?stringA brief description of the building. For example, "Chelsea Market".
etags?stringETag of the resource.
floorNames?arrayThe display names for all floors in this building. The floors are expected to be sorted in ascending order, from lowest floor to highest floor. For example, ["B2", "B1", "L", "1", "2", "2M", "3", "PH"] Must contain at least one entry.
customerstringThe unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID.
coordinatesSource?stringSource from which Building.coordinates are derived.
fn create()
Create a buildings
fn get(identifier: string)
Get a buildings
ArgumentTypeDescription
identifierstringThe name of the buildings
fn update(identifier?: string)
Update buildings attributes
ArgumentTypeDescription
identifier?stringTarget a specific buildings by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the buildings
ArgumentTypeDescription
identifierstringThe name of the buildings
fn sync(identifier?: string)
Sync buildings state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific buildings by name (e.g. one discovered by list)
fn list(maxResults?: number, maxPages?: number)
List buildings resources
ArgumentTypeDescription
maxResults?numberMaximum number of results to return.
maxPages?numberMaximum number of pages to fetch (default: 10)
resources_calendars.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
buildingId?stringUnique ID for the building a resource is located in.
capacity?numberCapacity of a resource, number of seats in a room.
etags?stringETag of the resource.
featureInstances?stringInstances of features for the calendar resource.
floorName?stringName of the floor a resource is located on.
floorSection?stringName of the section within a floor a resource is located in.
generatedResourceName?stringThe read-only auto-generated name of the calendar resource which includes metadata about the resource such as building name, floor, capacity, etc. For example, "NYC-2-Training Room 1A (16)".
resourceCategory?stringThe category of the calendar resource. Either CONFERENCE_ROOM or OTHER. Legacy data is set to CATEGORY_UNKNOWN.
resourceDescription?stringDescription of the resource, visible only to admins.
resourceEmail?stringThe read-only email for the calendar resource. Generated as part of creating a new calendar resource.
resourceIdstringThe unique ID for the calendar resource.
resourceNamestringThe name of the calendar resource. For example, "Training Room 1A".
resourceType?stringThe type of the calendar resource, intended for non-room resources.
userVisibleDescription?stringDescription of the resource, visible to users and admins.
customerstringThe unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID.
fn create()
Create a calendars
fn get(identifier: string)
Get a calendars
ArgumentTypeDescription
identifierstringThe name of the calendars
fn update(identifier?: string)
Update calendars attributes
ArgumentTypeDescription
identifier?stringTarget a specific calendars by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the calendars
ArgumentTypeDescription
identifierstringThe name of the calendars
fn sync(identifier?: string)
Sync calendars state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific calendars by name (e.g. one discovered by list)
fn list(maxResults?: number, orderBy?: string, query?: string, maxPages?: number)
List calendars resources
ArgumentTypeDescription
maxResults?numberMaximum number of results to return.
orderBy?stringField(s) to sort results by in either ascending or descending order. Supported fields include `resourceId`, `resourceName`, `capacity`, `buildingId`, and `floorName`. If no order is specified, defaults to ascending. Should be of the form "field [asc|desc], field [asc|desc], ...". For example `buildingId, capacity desc` would return results sorted first by `buildingId` in ascending order then by `capacity` in descending order.
query?stringString query used to filter results. Contains one or more search clauses, each with a field, operator, and value. A field can be any of supported fields and operators can be any of supported operations. Operators include '=' for exact match, '!=' for mismatch and ':' for prefix match or HAS match where applicable. For prefix match, the value should always be followed by a *. Logical operators NOT and AND are supported (in this order of precedence). Supported fields include `generatedResourceName`, `name`, `buildingId`, `floor_name`, `capacity`, `featureInstances.feature.name`, `resourceEmail`, `resourceCategory`. For example `buildingId=US-NYC-9TH AND featureInstances.feature.name:Phone`.
maxPages?numberMaximum number of pages to fetch (default: 10)
resources_features.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
etags?stringETag of the resource.
namestringThe name of the feature.
customerstringThe unique ID for the customer's Google Workspace account. As an account administrator, you can also use the `my_customer` alias to represent your account's customer ID.
fn create()
Create a features
fn get(identifier: string)
Get a features
ArgumentTypeDescription
identifierstringThe name of the features
fn update(identifier?: string)
Update features attributes
ArgumentTypeDescription
identifier?stringTarget a specific features by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the features
ArgumentTypeDescription
identifierstringThe name of the features
fn sync(identifier?: string)
Sync features state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific features by name (e.g. one discovered by list)
fn list(maxResults?: number, maxPages?: number)
List features resources
ArgumentTypeDescription
maxResults?numberMaximum number of results to return.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn rename(newName?: any)
rename
ArgumentTypeDescription
newName?any
roleassignments.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
assignedTo?stringThe unique ID of the entity this role is assigned to—either the `user_id` of a user, the `group_id` of a group, or the `uniqueId` of a service account as defined in [Identity and Access Management (IAM)](https://cloud.google.com/iam/docs/reference/rest/v1/projects.serviceAccounts).
condition?stringOptional. The condition associated with this role assignment. Note: Feature is available to Enterprise Standard, Enterprise Plus, Google Workspace for Education Plus and Cloud Identity Premium customers. A `RoleAssignment` with the `condition` field set will only take effect when the resource being accessed meets the condition. If `condition` is empty, the role (`role_id`) is applied to the actor (`assigned_to`) at the scope (`scope_type`) unconditionally. Currently, the following conditions are supported: - To make the `RoleAssignment` only applicable to [Security Groups](https://cloud.google.com/identity/docs/groups#group_types): `api.getAttribute('cloudidentity.googleapis.com/groups.labels', []).hasAny(['groups.security']) && resource.type == 'cloudidentity.googleapis.com/Group'` - To make the `RoleAssignment` not applicable to [Security Groups](https://cloud.google.com/identity/docs/groups#group_types): `!api.getAttribute('cloudidentity.googleapis.com/groups.labels', []).hasAny(['groups.security']) && resource.type == 'cloudidentity.googleapis.com/Group'` Currently, the condition strings have to be verbatim and they only work with the following [pre-built administrator roles](https://support.google.com/a/answer/2405986): - Groups Editor - Groups Reader The condition follows [Cloud IAM condition syntax](https://cloud.google.com/iam/docs/conditions-overview). - To make the `RoleAssignment` not applicable to [Locked Groups](https://cloud.google.com/identity/docs/groups#group_types): `!api.getAttribute('cloudidentity.googleapis.com/groups.labels', []).hasAny(['groups.locked']) && resource.type == 'cloudidentity.googleapis.com/Group'` This condition can also be used in conjunction with a Security-related condition.
orgUnitId?stringIf the role is restricted to an organization unit, this contains the ID for the organization unit the exercise of this role is restricted to.
roleAssignmentId?stringID of this roleAssignment.
roleId?stringThe ID of the role that is assigned.
scopeType?stringThe scope in which this role is assigned.
customerstringImmutable ID of the Google Workspace account.
fn create()
Create a roleAssignments
fn get(identifier: string)
Get a roleAssignments
ArgumentTypeDescription
identifierstringThe name of the roleAssignments
fn delete(identifier: string)
Delete the roleAssignments
ArgumentTypeDescription
identifierstringThe name of the roleAssignments
fn sync(identifier?: string)
Sync roleAssignments state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific roleAssignments by name (e.g. one discovered by list)
fn list(includeIndirectRoleAssignments?: boolean, maxResults?: number, roleId?: string, userKey?: string, maxPages?: number)
List roleAssignments resources
ArgumentTypeDescription
includeIndirectRoleAssignments?booleanWhen set to `true`, fetches indirect role assignments (i.e. role assignment via a group) as well as direct ones. Defaults to `false`. You must specify `user_key` or the indirect role assignments will not be included.
maxResults?numberMaximum number of results to return.
roleId?stringImmutable ID of a role. If included in the request, returns only role assignments containing this role ID.
userKey?stringThe primary email address, alias email address, or unique user or group ID. If included in the request, returns role assignments only for this user or group.
maxPages?numberMaximum number of pages to fetch (default: 10)
roles.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
isSuperAdminRole?booleanReturns `true` if the role is a super admin role.
isSystemRole?booleanReturns `true` if this is a pre-defined system role.
roleDescription?stringA short description of the role.
roleId?stringID of the role.
roleNamestringName of the role.
rolePrivileges?arrayThe name of the privilege.
customerstringImmutable ID of the Google Workspace account.
fn create()
Create a roles
fn get(identifier: string)
Get a roles
ArgumentTypeDescription
identifierstringThe name of the roles
fn update(identifier?: string)
Update roles attributes
ArgumentTypeDescription
identifier?stringTarget a specific roles by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the roles
ArgumentTypeDescription
identifierstringThe name of the roles
fn sync(identifier?: string)
Sync roles state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific roles by name (e.g. one discovered by list)
fn list(maxResults?: number, maxPages?: number)
List roles resources
ArgumentTypeDescription
maxResults?numberMaximum number of results to return.
maxPages?numberMaximum number of pages to fetch (default: 10)
schemas.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
displayNamestringDisplay name for the schema.
fields?arrayDisplay Name of the field.
schemaId?stringThe unique identifier of the schema (Read-only)
schemaNamestringThe schema's name. Each `schema_name` must be unique within a customer. Reusing a name results in a `409: Entity already exists` error.
customerIdstringImmutable ID of the Google Workspace account.
fn create()
Create a schemas
fn get(identifier: string)
Get a schemas
ArgumentTypeDescription
identifierstringThe name of the schemas
fn update(identifier?: string)
Update schemas attributes
ArgumentTypeDescription
identifier?stringTarget a specific schemas by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the schemas
ArgumentTypeDescription
identifierstringThe name of the schemas
fn sync(identifier?: string)
Sync schemas state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific schemas by name (e.g. one discovered by list)
fn list(maxPages?: number)
List schemas resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
tokens.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
userKeystringIdentifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.
fn get(identifier: string)
Get a tokens
ArgumentTypeDescription
identifierstringThe name of the tokens
fn delete(identifier: string)
Delete the tokens
ArgumentTypeDescription
identifierstringThe name of the tokens
fn sync(identifier?: string)
Sync tokens state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific tokens by name (e.g. one discovered by list)
fn list(maxPages?: number)
List tokens resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
transfers.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
applicationDataTransfers?arrayThe application's ID.
id?stringRead-only. The transfer's ID.
newOwnerUserId?stringID of the user to whom the data is being transferred.
oldOwnerUserId?stringID of the user whose data is being transferred.
overallTransferStatusCode?stringRead-only. Overall transfer status.
requestTime?stringRead-only. The time at which the data transfer was requested.
fn create()
Create a transfers
fn get(identifier: string)
Get a transfers
ArgumentTypeDescription
identifierstringThe name of the transfers
fn sync(identifier?: string)
Sync transfers state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific transfers by name (e.g. one discovered by list)
fn list(customerId?: string, maxResults?: number, newOwnerUserId?: string, oldOwnerUserId?: string, status?: string, maxPages?: number)
List transfers resources
ArgumentTypeDescription
customerId?stringImmutable ID of the Google Workspace account.
maxResults?numberMaximum number of results to return. Default is 100.
newOwnerUserId?stringDestination user's profile ID.
oldOwnerUserId?stringSource user's profile ID.
status?stringStatus of the transfer.
maxPages?numberMaximum number of pages to fetch (default: 10)
users.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
addresses?stringThe list of the user's addresses. The maximum allowed data size for this field is 10KB.
archived?booleanIndicates if user is archived.
changePasswordAtNextLogin?booleanIndicates if the user is forced to change their password at next login. This setting doesn't apply when [the user signs in via a third-party identity provider](https://support.google.com/a/answer/60224).
creationTime?stringUser's G Suite account creation time. (Read-only)
customSchemas?recordCustom fields of the user. The key is a `schema_name` and its values are `'field_name': 'field_value'`.
deletionTime?string
emails?stringThe list of the user's email addresses. The maximum allowed data size for this field is 10KB. This excludes `publicKeyEncryptionCertificates`.
externalIds?stringThe list of external IDs for the user, such as an employee or network ID. The maximum allowed data size for this field is 2KB.
gender?stringThe user's gender. The maximum allowed data size for this field is 1KB.
guestAccountInfo?objectImmutable. The guest's external email.
hashFunction?stringStores the hash format of the `password` property. The following `hashFunction` values are allowed: * `MD5` - Accepts simple hex-encoded values. * `SHA-1` - Accepts simple hex-encoded values. * `crypt` - Compliant with the [C crypt library](https://en.wikipedia.org/wiki/Crypt_%28C%29). Supports the DES, MD5 (hash prefix `$1$`), SHA-256 (hash prefix `$5$`), and SHA-512 (hash prefix `$6$`) hash algorithms. If rounds are specified as part of the prefix, they must be 10,000 or fewer.
id?stringThe unique ID for the user. A user `id` can be used as a user request URI's `userKey`.
ims?stringThe list of the user's Instant Messenger (IM) accounts. A user account can have multiple ims properties. But, only one of these ims properties can be the primary IM contact. The maximum allowed data size for this field is 2KB.
includeInGlobalAddressList?booleanIndicates if the user's profile is visible in the Google Workspace global address list when the contact sharing feature is enabled for the domain. For more information about excluding user profiles, see the [administration help center](https://support.google.com/a/answer/1285988).
ipWhitelisted?booleanIf `true`, the user's IP address is subject to a deprecated IP address [`allowlist`](https://support.google.com/a/answer/60752) configuration.
isGuestUser?booleanImmutable. Indicates if the inserted user is a guest.
keywords?stringThe list of the user's keywords. The maximum allowed data size for this field is 1KB.
languages?stringThe user's languages. The maximum allowed data size for this field is 1KB.
lastLoginTime?stringUser's last login time. (Read-only)
locations?stringThe user's locations. The maximum allowed data size for this field is 10KB.
name?objectThe user's display name. Limit: 256 characters.
notes?stringNotes for the user.
orgUnitPath?stringThe full path of the parent organization associated with the user. If the parent organization is the top-level, it is represented as a forward slash (`/`).
organizations?stringThe list of organizations the user belongs to. The maximum allowed data size for this field is 10KB.
passwordstringUser's password
phones?stringThe list of the user's phone numbers. The maximum allowed data size for this field is 1KB.
posixAccounts?stringThe list of [POSIX](https://www.opengroup.org/austin/papers/posix_faq.html) account information for the user.
primaryEmailstringThe user's primary email address. This property is required in a request to create a user account. The `primaryEmail` must be unique and cannot be an alias of another user.
recoveryEmail?stringRecovery email of the user.
recoveryPhone?stringRecovery phone of the user. The phone number must be in the E.164 format, starting with the plus sign (+). Example: *+16506661212*.
relations?stringThe list of the user's relationships to other users. The maximum allowed data size for this field is 2KB.
sshPublicKeys?stringA list of SSH public keys.
suspended?booleanIndicates if user is suspended.
websites?stringThe user's websites. The maximum allowed data size for this field is 2KB.
resolveConflictAccount?stringOptional. If set to `true`, the option selected for [handling unmanaged user accounts](https://support.google.com/a/answer/11112794) will apply. Default: `false`
fn create()
Create a users
fn get(identifier: string)
Get a users
ArgumentTypeDescription
identifierstringThe name of the users
fn update(identifier?: string)
Update users attributes
ArgumentTypeDescription
identifier?stringTarget a specific users by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the users
ArgumentTypeDescription
identifierstringThe name of the users
fn sync(identifier?: string)
Sync users state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific users by name (e.g. one discovered by list)
fn list(customFieldMask?: string, customer?: string, domain?: string, event?: string, maxResults?: number, orderBy?: string, projection?: string, query?: string, showDeleted?: string, sortOrder?: string, viewType?: string, maxPages?: number)
List users resources
ArgumentTypeDescription
customFieldMask?stringA comma-separated list of schema names. All fields from these schemas are fetched. This should only be set when `projection=custom`.
customer?stringThe unique ID for the customer's Google Workspace account. In case of a multi-domain account, to fetch all users for a customer, use this field instead of `domain`. You can also use the `my_customer` alias to represent your account's `customerId`. The `customerId` is also returned as part of the [Users](https://developers.google.com/workspace/admin/directory/v1/reference/users) resource. You must provide either the `customer` or the `domain` parameter.
domain?stringThe domain name. Use this field to get users from only one domain. To return all domains for a customer account, use the `customer` query parameter instead. Either the `customer` or the `domain` parameter must be provided.
event?stringEvent on which subscription is intended (if subscribing)
maxResults?numberMaximum number of results to return.
orderBy?stringProperty to use for sorting results.
projection?stringWhat subset of fields to fetch for this user.
query?stringQuery string for searching user fields. For more information on constructing user queries, see [Search for Users](https://developers.google.com/workspace/admin/directory/v1/guides/search-users).
showDeleted?stringIf set to `true`, retrieves the list of deleted users. (Default: `false`)
sortOrder?stringWhether to return results in ascending or descending order, ignoring case.
viewType?stringWhether to fetch the administrator-only or domain-wide public view of the user. For more information, see [Retrieve a user as a non-administrator](https://developers.google.com/workspace/admin/directory/v1/guides/manage-users#retrieve_users_non_admin).
maxPages?numberMaximum number of pages to fetch (default: 10)
fn create_guest(customer?: any, primaryGuestEmail?: any)
create guest
ArgumentTypeDescription
customer?any
primaryGuestEmail?any
fn make_admin(status?: any)
make admin
ArgumentTypeDescription
status?any
fn sign_out()
sign out
fn undelete(orgUnitPath?: any)
undelete
ArgumentTypeDescription
orgUnitPath?any
fn watch(address?: any, expiration?: any, id?: any, kind?: any, params?: any, payload?: any, resourceId?: any, resourceUri?: any, token?: any, type?: any)
watch
ArgumentTypeDescription
address?any
expiration?any
id?any
kind?any
params?any
payload?any
resourceId?any
resourceUri?any
token?any
type?any
users_aliases.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
alias?string
id?string
primaryEmail?string
userKeystringIdentifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.
fn create()
Create a aliases
fn get(identifier: string)
Get a aliases
ArgumentTypeDescription
identifierstringThe name of the aliases
fn delete(identifier: string)
Delete the aliases
ArgumentTypeDescription
identifierstringThe name of the aliases
fn sync(identifier?: string)
Sync aliases state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific aliases by name (e.g. one discovered by list)
fn watch(address?: any, expiration?: any, id?: any, kind?: any, params?: any, payload?: any, resourceId?: any, resourceUri?: any, token?: any, type?: any)
watch
ArgumentTypeDescription
address?any
expiration?any
id?any
kind?any
params?any
payload?any
resourceId?any
resourceUri?any
token?any
type?any
users_photos.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
etag?stringETag of the resource.
height?numberHeight of the photo in pixels.
id?stringThe ID the API uses to uniquely identify the user.
kind?stringThe type of the API resource. For Photo resources, this is `admin#directory#user#photo`.
mimeType?stringThe MIME type of the photo. Allowed values are `JPEG`, `PNG`, `GIF`, `BMP`, `TIFF`, and web-safe base64 encoding.
photoData?stringThe user photo's upload data in [web-safe Base64](https://en.wikipedia.org/wiki/Base64#URL_applications) format in bytes. This means: * The slash (/) character is replaced with the underscore (_) character. * The plus sign (+) character is replaced with the hyphen (-) character. * The equals sign (=) character is replaced with the asterisk (*). * For padding, the period (.) character is used instead of the RFC-4648 baseURL definition which uses the equals sign (=) for padding. This is done to simplify URL-parsing. * Whatever the size of the photo being uploaded, the API downsizes it to 96x96 pixels.
primaryEmail?stringThe user's primary email address.
width?numberWidth of the photo in pixels.
fn get(identifier: string)
Get a photos
ArgumentTypeDescription
identifierstringThe name of the photos
fn update(identifier?: string)
Update photos attributes
ArgumentTypeDescription
identifier?stringTarget a specific photos by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the photos
ArgumentTypeDescription
identifierstringThe name of the photos
fn sync(identifier?: string)
Sync photos state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific photos by name (e.g. one discovered by list)
userusagereport.tsv2026.07.21.2

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
userKeystringRepresents the profile ID or the user email for which the data should be filtered. Can be `all` for all information, or `userKey` for a user's unique Google Workspace profile ID or their primary email address. Must not be a deleted user. For a deleted user, call `users.list` in Directory API with `showDeleted=true`, then use the returned `ID` as the `userKey`.
fn get(identifier: string)
Get a userUsageReport
ArgumentTypeDescription
identifierstringThe name of the userUsageReport
fn sync(identifier?: string)
Sync userUsageReport state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific userUsageReport by name (e.g. one discovered by list)
verificationcodes.tsv2026.07.21.1

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
userKeystringIdentifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.
fn get(identifier: string)
Get a verificationCodes
ArgumentTypeDescription
identifierstringThe name of the verificationCodes
fn sync(identifier?: string)
Sync verificationCodes state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific verificationCodes by name (e.g. one discovered by list)
fn list(maxPages?: number)
List verificationCodes resources
ArgumentTypeDescription
maxPages?numberMaximum number of pages to fetch (default: 10)
fn generate()
generate
fn invalidate()
invalidate
04Previous Versions19
2026.07.21.4
  • Added: applications, transfers, asps, chromeosdevices, customer_devices_chromeos_commands, customers, customers_chrome_printservers, customers_chrome_printers, domainaliases, domains, groups, groups_aliases, members, mobiledevices, orgunits, privileges, resources_buildings, resources_calendars, resources_features, roleassignments, roles, schemas, tokens, users, users_aliases, users_photos, verificationcodes
2026.07.21.1
  • Updated: transfers, chromeosdevices, customers, domainaliases, domains, groups_aliases, members, resources_buildings, resources_calendars, roleassignments, roles, users, users_aliases
2026.07.20.2
  • Added: applications, transfers, asps, chromeosdevices, customer_devices_chromeos_commands, customers, customers_chrome_printservers, customers_chrome_printers, domainaliases, domains, groups, groups_aliases, members, mobiledevices, orgunits, privileges, resources_buildings, resources_calendars, resources_features, roleassignments, roles, schemas, tokens, users, users_aliases, users_photos, verificationcodes

Added 1, removed 4 models

2026.07.20.1
  • Updated: activities, customerusagereports, entityusagereports, userusagereport

Added 4, removed 1 models

2026.07.19.2
  • Updated: asps, chromeosdevices, customer_devices_chromeos_commands, mobiledevices, privileges, tokens, verificationcodes, activities, entityusagereports, userusagereport
2026.07.19.1
  • Updated: applications, transfers, asps, chromeosdevices, customer_devices_chromeos_commands, customers, customers_chrome_printservers, customers_chrome_printers, domainaliases, domains, groups, groups_aliases, members, mobiledevices, orgunits, privileges, resources_buildings, resources_calendars, resources_features, roleassignments, roles, schemas, tokens, users, users_aliases, users_photos, verificationcodes, activities, customerusagereports, entityusagereports, userusagereport
2026.07.18.2
  • Updated: asps, chromeosdevices, customer_devices_chromeos_commands, customers, customers_chrome_printservers, customers_chrome_printers, domainaliases, domains, groups, groups_aliases, members, mobiledevices, orgunits, privileges, resources_buildings, resources_calendars, resources_features, roleassignments, roles, schemas, tokens, users, users_aliases, users_photos, verificationcodes
2026.07.17.2
  • Updated: customers_chrome_printservers, customers_chrome_printers, groups, orgunits, resources_features, users
2026.07.17.1
  • Updated: resources_buildings, users
2026.06.08.2
  • Updated: applications, transfers, asps, chromeosdevices, customer_devices_chromeos_commands, customers, customers_chrome_printservers, customers_chrome_printers, domainaliases, domains, groups, groups_aliases, members, mobiledevices, orgunits, privileges, resources_buildings, resources_calendars, resources_features, roleassignments, roles, schemas, tokens, users, users_aliases, users_photos, verificationcodes, activities, customerusagereports, entityusagereports, userusagereport
2026.06.07.1
  • Updated: applications, transfers, asps, chromeosdevices, customer_devices_chromeos_commands, customers, customers_chrome_printservers, customers_chrome_printers, domainaliases, domains, groups, groups_aliases, members, mobiledevices, orgunits, privileges, resources_buildings, resources_calendars, resources_features, roleassignments, roles, schemas, tokens, users, users_aliases, users_photos, verificationcodes, activities, customerusagereports, entityusagereports, userusagereport
2026.06.05.1
  • Added: applications, transfers, asps, chromeosdevices, customer_devices_chromeos_commands, customers, customers_chrome_printservers, customers_chrome_printers, domainaliases, domains, groups, groups_aliases, members, mobiledevices, orgunits, privileges, resources_buildings, resources_calendars, resources_features, roleassignments, roles, schemas, tokens, users, users_aliases, users_photos, verificationcodes

Added 1, removed 4 models

2026.05.25.1
  • Updated: activities, customerusagereports, entityusagereports, userusagereport

Modified 1 models

2026.05.24.1
  • Updated: activities, customerusagereports, entityusagereports, userusagereport
2026.05.21.2
  • Updated: activities, customerusagereports, entityusagereports, userusagereport
2026.05.21.1
2026.05.19.2
2026.05.19.1
2026.04.23.1
05Stats
A
100 / 100
Downloads
3
Archive size
282.3 KB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
06Platforms
07Labels