Retrieve a list of all devices. Note: This action only supports service account connections.
External DocumentationTo learn more, visit the Google Cloud Identity documentation.

Basic Parameters

ParameterDescription
CustomerThe resource name of the customer, formatted as: customers/{customer}.

Note: Use customers/my_customer if you’re managing your own organization’s devices. Otherwise, use customers/{customer}, where {customer} is the customer who owns the device.
FilterOptional filters applied when retrieving a list of devices, formatted as: field:value. Separate multiple search fields by the space character. For example:

apps:com.android.mms brand:google default_language:English

For a list of search fields, please refer to Google’s Documentation.
Return All PagesAutomatically fetch all resources, page by page.
ViewSpecify which devices and device information to include in the response.
* COMPANY_INVENTORY - This view contains all devices imported by the company admin. Each device in the response contains all information specified by the company admin when importing the device (i.e. asset tags). This includes devices that may be unassigned or assigned to users.
* USER_ASSIGNED_DEVICES - This view contains all devices with at least one user registered on the device. Each device in the response contains all device information, except for asset tags.

Advanced Parameters

ParameterDescription
Delegated User OverridePerform the action on behalf of another user, overriding the delegated user defined in the connection.

If not specified, the delegated user is the one provided in the connection.

Has no effect when using an OAuth connection.

NOTE: the connection details are not edited by this input.
Page SizeThe maximum number of objects to retrieve in a single execution.
Page TokenA page token, received from a previous List Devices execution. Provide this to retrieve the subsequent page. When paginating, all other parameters provided must match the execution that provided the page token.

Example Output

{
  "devices": [
    {
      "name": string,
      "createTime": string,
      "lastSyncTime": string,
      "ownerType": enum (DeviceOwnership),
      "model": string,
      "osVersion": string,
      "deviceType": enum (DeviceType),
      "serialNumber": string,
      "assetTag": string,
      "imei": string,
      "meid": string,
      "wifiMacAddresses": [
        string
      ],
      "networkOperator": string,
      "manufacturer": string,
      "releaseVersion": string,
      "brand": string,
      "buildNumber": string,
      "kernelVersion": string,
      "basebandVersion": string,
      "enabledDeveloperOptions": boolean,
      "otherAccounts": [
        string
      ],
      "enabledUsbDebugging": boolean,
      "securityPatchTime": string,
      "bootloaderVersion": string,
      "encryptionState": enum (EncryptionState),
      "androidSpecificAttributes": {},
      "managementState": enum (ManagementState),
      "compromisedState": enum (CompromisedState),
      "endpointVerificationSpecificAttributes": {},
      "deviceId": string,
      "unifiedDeviceId": string,
      "hostname": string,
      "clientTypes": [
        enum (ClientType)
      ]
    }
  ],
  "nextPageToken": string
}

Workflow Library Example

List Devices with Google Cloud Identity and Send Results Via Email
Workflow LibraryPreview this Workflow on desktop