Method: enterprises.structures.get
Pobiera strukturę zarządzaną przez firmę.
Żądanie HTTP
GET https://smartdevicemanagement.googleapis.com/v1/{name=enterprises/*/structures/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Nazwa żądanej struktury. Na przykład: „przedsiębiorstwa/XYZ/structures/ABC”.
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu Structure
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/sdm.service
Więcej informacji znajdziesz w artykule Omówienie protokołu OAuth 2.0.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-08-10 UTC.
[null,null,["Ostatnia aktualizacja: 2024-08-10 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"]]