Actions
List Devices
Lists/Searches devices.
Basic Parameters
Parameter | Description |
---|---|
Customer | Resource name of the customer, in the format: customers/{customer} , where customer is the customer to whom the device belongs. If you’re using this API for your own organization, use customers/my_customer. If you’re using this API to manage another organization, use customers/{customer}, where customer is the customer to whom the device belongs. |
Filter | Additional restrictions when fetching list of devices. For a list of search fields, refer to (Mobile device search)[https://developers.google.com/admin-sdk/directory/v1/search-operators] fields. Multiple search fields are separated by the space character. |
View | The view to use for the List request.VIEWUNSPECIFIED - Default value. The value is unused. The returned results are the same as in the Devices tab in the Google Workspace Mobile & Endpoints UI.COMPANYINVENTORY - 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 unaassigned or assigned to users.USERASSIGNEDDEVICES - 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
Parameter | Description |
---|---|
Delegated User Override | Perform 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. |
Order By | Order specification for devices in the response. Only one of the following field names may be used to specify the order: createTime, lastSyncTime, model, osVersion, deviceType and serialNumber. desc may be specified optionally to specify results to be sorted in descending order. Default order is ascending. |
Page Size | The maximum number of objects to return. The maximum value is 100; values above 100 will be coerced to 100. |
Page Token | A page token, received from a previous devices.list call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided must match the call that provided the page token. |
Example Output
Workflow Library Example
List Devices with Google Workspace and Send Results Via Email
Preview this Workflow on desktop
Was this page helpful?