Method: enterprises.structures.list

Lists structures managed by the enterprise.

HTTP request

GET https://smartdevicemanagement.googleapis.com/v1/{parent=enterprises/*}/structures

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

The parent enterprise to list structures under. E.g. "enterprises/XYZ".

Query parameters

Parameters
pageSize

integer

Requested page size. Server may return fewer structures than requested. If unspecified, server will pick an appropriate default.

pageToken

string

The token of the page to retrieve.

filter

string

Optional filter to list structures.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Response message for SmartDeviceManagementService.ListStructures

JSON representation
{
  "structures": [
    {
      object (Structure)
    }
  ],
  "nextPageToken": string
}
Fields
structures[]

object (Structure)

The list of structures.

nextPageToken

string

The pagination token to retrieve the next page of results. If this field is omitted, there are no subsequent pages.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/sdm.service

For more information, see the OAuth 2.0 Overview.