Method: customers.deployments.devices.create
Richiesta HTTP
POST https://sasportal.googleapis.com/v1alpha1/{parent=customers/*/deployments/*}/devices
L'URL utilizza la sintassi gRPC Transcoding.
Parametri del percorso
Parametri |
parent |
string
Obbligatorio. Il nome della risorsa padre.
|
Corpo della richiesta
Il corpo della richiesta contiene un'istanza di Device
.
Corpo della risposta
In caso di esito positivo, il corpo della risposta contiene un'istanza di Device
appena creata.
Ambiti di autorizzazione
Richiede il seguente ambito OAuth:
https://www.googleapis.com/auth/sasportal
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2022-11-02 UTC.
[null,null,["Ultimo aggiornamento 2022-11-02 UTC."],[[["Creates a device under a node or customer using an HTTP POST request."],["The request should be sent to the URL `https://sasportal.googleapis.com/v1alpha1/{parent=customers/*/deployments/*}/devices` with the parent resource name specified as a path parameter."],["The request body should contain an instance of the Device object, and a successful response will return the newly created Device object."],["Authorization requires the `https://www.googleapis.com/auth/sasportal` OAuth scope."]]],["This content outlines the process of creating a device within a hierarchical structure. A `POST` request is sent to the specified URL, which includes the `parent` resource name as a required path parameter. The request body must contain an instance of a `Device`. Upon success, the response body returns the newly created `Device`. Authorization for this operation requires the `https://www.googleapis.com/auth/sasportal` OAuth scope. The process is also based on a gRPC Transcoding syntax.\n"]]