Method: customers.nodes.devices.create
Żądanie HTTP
POST https://sasportal.googleapis.com/v1alpha1/{parent=customers/*/nodes/*}/devices
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
parent |
string
Wymagany. Nazwa zasobu nadrzędnego.
|
Treść żądania
Treść żądania zawiera wystąpienie elementu Device
.
Treść odpowiedzi
Jeśli operacja się uda, treść odpowiedzi będzie zawierała nowo utworzoną instancję Device
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/sasportal
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: 2022-11-02 UTC.
[null,null,["Ostatnia aktualizacja: 2022-11-02 UTC."],[[["Creates a device under a node or customer."],["Sends a POST request to `https://sasportal.googleapis.com/v1alpha1/{parent=customers/*/nodes/*}/devices`."],["Requires specifying the parent resource (node or customer) in the path parameter."],["The request body should contain a `Device` object and a successful response will return the created `Device` object."],["Needs `https://www.googleapis.com/auth/sasportal` OAuth scope for authorization."]]],["This describes the creation of a device resource. Key actions involve sending a `POST` request to a specific URL (`https://sasportal.googleapis.com/v1alpha1/{parent=customers/*/nodes/*}/devices`). The request requires a `parent` path parameter, identifying the node or customer, and a request body containing device information. Upon success, a new device instance is returned in the response. The process needs `https://www.googleapis.com/auth/sasportal` authorization scope.\n"]]