Method: customers.deployments.devices.create
HTTP-Anfrage
POST https://sasportal.googleapis.com/v1alpha1/{parent=customers/*/deployments/*}/devices
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
parent |
string
Erforderlich. Der Name der übergeordneten Ressource.
|
Anfragetext
Der Anfragetext enthält eine Instanz von Device
.
Antworttext
Bei Erfolg enthält der Antworttext eine neu erstellte Instanz von Device
.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/sasportal
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2022-11-02 (UTC).
[null,null,["Zuletzt aktualisiert: 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"]]