Method: customers.devices.create
HTTP-Anfrage
POST https://sasportal.googleapis.com/v1alpha1/{parent=customers/*}/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."],["Uses `POST https://sasportal.googleapis.com/v1alpha1/{parent=customers/*}/devices` with gRPC Transcoding syntax for the request."],["Requires the `parent` path parameter specifying the name of the parent resource (node or customer)."],["Request body should contain a `Device` instance and a successful response returns the created `Device` instance."],["Needs `https://www.googleapis.com/auth/sasportal` OAuth scope for authorization."]]],["A `POST` request is made to `https://sasportal.googleapis.com/v1alpha1/{parent=customers/*}/devices` to create a device. The `parent` path parameter, a string specifying the parent resource, is required. The request body must include a `Device` instance. Upon success, the response contains the newly created `Device`. Authorization requires the `https://www.googleapis.com/auth/sasportal` OAuth scope.\n"]]