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/sasportal
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[[["\u003cp\u003eCreates a device under a node or customer.\u003c/p\u003e\n"],["\u003cp\u003eUses \u003ccode\u003ePOST https://sasportal.googleapis.com/v1alpha1/{parent=customers/*}/devices\u003c/code\u003e with gRPC Transcoding syntax for the request.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003eparent\u003c/code\u003e path parameter specifying the name of the parent resource (node or customer).\u003c/p\u003e\n"],["\u003cp\u003eRequest body should contain a \u003ccode\u003eDevice\u003c/code\u003e instance and a successful response returns the created \u003ccode\u003eDevice\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eNeeds \u003ccode\u003ehttps://www.googleapis.com/auth/sasportal\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"]]],["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"],null,["# Method: customers.devices.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization Scopes](#body.aspect)\n\nCreates a [device](/spectrum-access-system/reference/rest/v1alpha1/customers.deployments.devices#Device) under a [node](/spectrum-access-system/reference/rest/v1alpha1/customers.nodes#Node) or [customer](/spectrum-access-system/reference/rest/v1alpha1/customers#Customer).\n\n### HTTP request\n\n`POST https://sasportal.googleapis.com/v1alpha1/{parent=customers/*}/devices`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|-----------------------------------------------------|\n| `parent` | `string` Required. The name of the parent resource. |\n\n### Request body\n\nThe request body contains an instance of [Device](/spectrum-access-system/reference/rest/v1alpha1/customers.deployments.devices#Device).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [Device](/spectrum-access-system/reference/rest/v1alpha1/customers.deployments.devices#Device).\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/sasportal`"]]