Method: customers.devices.signDevice
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
HTTP リクエスト
POST https://sasportal.googleapis.com/v1alpha1/{device.name=customers/*/devices/*}:signDevice
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
device.name |
string
出力のみ。リソースパス名。
|
リクエスト本文
リクエストの本文には次の構造のデータが含まれます。
JSON 表現 |
{
"device": {
"name": string,
"fccId": string,
"serialNumber": string,
"preloadedConfig": {
object (DeviceConfig )
},
"activeConfig": {
object (DeviceConfig )
},
"state": enum (State ),
"grants": [
{
object (DeviceGrant )
}
]
}
} |
フィールド |
device.fccId |
string
デバイスの FCC 識別子。
|
device.serialNumber |
string
デバイスのメーカーがデバイスに割り当てるシリアル番号。
|
device.preloadedConfig |
object (DeviceConfig )
デバイスの構成。SAS Portal API で指定します。
|
device.activeConfig |
object (DeviceConfig )
出力のみ。SAS に登録されているデバイスの現在の構成。
|
device.state |
enum (State )
出力のみ。デバイスの状態。
|
device.grants[] |
object (DeviceGrant )
出力のみ。デバイスに保持されている権限。
|
レスポンスの本文
成功すると、レスポンスの本文は空になります。
認証スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/userinfo.email
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2022-09-26 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2022-09-26 UTC。"],[[["Signs a device with the provided FCC ID and serial number using the SAS Portal API."],["Requires a POST request to the specific endpoint `https://sasportal.googleapis.com/v1alpha1/{device.name=customers/*/devices/*}:signDevice`."],["The request body includes device details like FCC ID, serial number, preloaded and active configurations."],["Upon successful signing, the response body will be empty."],["Needs authorization with the scope `https://www.googleapis.com/auth/userinfo.email`."]]],["This document details how to sign a device using a POST HTTP request to `https://sasportal.googleapis.com/v1alpha1/{device.name=customers/*/devices/*}:signDevice`. The request requires a JSON body including the device's `fccId`, `serialNumber`, `preloadedConfig`, `activeConfig`, `state`, and `grants`. `device.name` is a path parameter indicating the resource path. A successful request returns an empty body. Authorization requires the `https://www.googleapis.com/auth/userinfo.email` OAuth scope.\n"]]