Method: enterprises.structures.list
Stay organized with collections
Save and categorize content based on your preferences.
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 |
filter |
string
Optional filter to list structures.
|
Request body
The request body must be empty.
Response body
Response message for SmartDeviceManagementService.ListStructures
If successful, the response body contains data with the following structure:
JSON representation |
{
"structures": [
{
object (Structure )
}
]
} |
Fields |
structures[] |
object (Structure )
The list of structures.
|
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/sdm.service
For more information, see the OAuth 2.0 Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-07 UTC."],[[["Lists device access structures managed by an enterprise using the provided endpoint."],["Allows filtering structures via an optional query parameter."],["Requires authorization using the `https://www.googleapis.com/auth/sdm.service` scope."],["Returns a list of structures if successful, formatted as outlined in the response body section."]]],["This document details retrieving a list of enterprise-managed structures. It uses a `GET` request to a specific URL: `https://smartdevicemanagement.googleapis.com/v1/{parent=enterprises/*}/structures`. The `parent` path parameter specifies the enterprise. An optional `filter` query parameter refines the structure list. The request body is empty. The successful response includes a list of `structures` in JSON format. This action requires the `https://www.googleapis.com/auth/sdm.service` authorization scope.\n"]]