Method: customers.devices.create
HTTP リクエスト
POST https://sasportal.googleapis.com/v1alpha1/{parent=customers/*}/devices
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
parent |
string
必須。親リソースの名前。
|
リクエスト本文
リクエストの本文には Device
のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には、新しく作成された Device
のインスタンスが含まれます。
認証スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/userinfo.email
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2022-09-26 UTC。
[null,null,["最終更新日 2022-09-26 UTC。"],[[["Creates a device under a node or customer using an HTTP POST request."],["Requires specifying the parent resource (node or customer) in the URL path."],["The request body must contain a Device object, as defined in the provided documentation."],["A successful response returns the newly created Device object."],["Requires authorization with the `https://www.googleapis.com/auth/userinfo.email` scope."]]],[]]