Method: nodes.nodes.devices.create
HTTP リクエスト
POST https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*/nodes/*}/devices
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
parent |
string
必須。親リソースの名前。
|
リクエスト本文
リクエストの本文には Device
のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には、新しく作成された Device
のインスタンスが含まれます。
認証スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/sasportal
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2022-11-02 UTC。
[null,null,["最終更新日 2022-11-02 UTC。"],[[["Creates a device under a node or customer."],["Uses `POST https://sasportal.googleapis.com/v1alpha1/{parent=nodes/*/nodes/*}/devices` as the HTTP request."],["Requires `parent` as a path parameter to specify the name of the parent resource."],["The request body should contain a Device instance, and a successful response will return the newly created Device instance."],["Needs `https://www.googleapis.com/auth/sasportal` authorization scope."]]],["This describes the creation of a device resource. A `POST` request is sent to a specified URL, with the parent resource name provided as a path parameter. The request body includes a `Device` instance. Upon success, a new `Device` instance is returned in the response body. The operation requires a specific OAuth scope: `https://www.googleapis.com/auth/sasportal`. The URL uses gRPC Transcoding syntax.\n"]]