Method: enterprises.structures.get
Получает структуру, управляемую предприятием.
HTTP-запрос
GET https://smartdevicemanagement.googleapis.com/v1/{name=enterprises/*/structures/*}
URL-адрес использует синтаксис транскодирования gRPC .
Параметры пути
Параметры |
---|
name | string Имя запрошенной структуры. Например: «предприятия/XYZ/структуры/ABC». |
Тело запроса
Тело запроса должно быть пустым.
Тело ответа
В случае успеха тело ответа содержит экземпляр Structure
.
Области авторизации
Требуется следующая область действия OAuth:
-
https://www.googleapis.com/auth/sdm.service
Дополнительную информацию см. в обзоре OAuth 2.0 .
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2024-10-30 UTC.
[null,null,["Последнее обновление: 2024-10-30 UTC."],[[["Retrieves a specific structure within a given enterprise using its unique name."],["Requires authorization with the `sdm.service` scope for accessing the Smart Device Management API."],["Uses a `GET` request with the structure's name as a path parameter and an empty request body."],["Returns a `Structure` object containing information about the requested structure upon successful execution."]]],["This document details retrieving a managed structure via an HTTP GET request. The request URL, using gRPC Transcoding, specifies the structure's name via the `name` path parameter (e.g., \"enterprises/XYZ/structures/ABC\"). The request body must be empty. A successful request returns a `Structure` instance in the response body. The operation requires the `https://www.googleapis.com/auth/sdm.service` OAuth scope for authorization. Examples are available within the document.\n"]]