REST Resource: nodes.deployments.devices
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
资源:设备
JSON 表示法 |
{
"name": string,
"fccId": string,
"serialNumber": string,
"preloadedConfig": {
object (DeviceConfig )
},
"activeConfig": {
object (DeviceConfig )
},
"state": enum (State ),
"grants": [
{
object (DeviceGrant )
}
],
"displayName": string,
"deviceMetadata": {
object (DeviceMetadata )
},
"currentChannels": [
{
object (ChannelWithScore )
}
],
"grantRangeAllowlists": [
{
object (FrequencyRange )
}
]
} |
字段 |
name |
string
仅限输出。资源路径名称。
|
fccId |
string
设备的 FCC 标识符。
|
serialNumber |
string
设备制造商为设备分配的序列号。
|
preloadedConfig |
object (DeviceConfig )
设备的配置,通过 SAS 门户 API 指定。
|
activeConfig |
object (DeviceConfig )
仅限输出。设备当前向 SAS 注册的配置。
|
state |
enum (State )
仅限输出。设备状态。
|
grants[] |
object (DeviceGrant )
仅限输出。设备持有的授权。
|
displayName |
string
设备显示名称。
|
deviceMetadata |
object (DeviceMetadata )
可由 SAS 门户和 SAS 注册请求替换的设备参数。
|
currentChannels[] (deprecated) |
object (ChannelWithScore )
仅限输出。当前有得分的渠道。
|
grantRangeAllowlists[] |
object (FrequencyRange )
只有在许可名单中的范围可用于新授权。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThis documentation outlines the \u003ccode\u003eDevice\u003c/code\u003e resource within the Spectrum Access System, detailing its properties like FCC ID, serial number, configuration, and operational state.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDevice\u003c/code\u003e resource includes nested objects for configuration, grants, metadata, and frequency ranges for spectrum access.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can manage \u003ccode\u003eDevice\u003c/code\u003e resources using methods like \u003ccode\u003ecreate\u003c/code\u003e, \u003ccode\u003ecreateSigned\u003c/code\u003e, and \u003ccode\u003elist\u003c/code\u003e to register and track devices.\u003c/p\u003e\n"],["\u003cp\u003eA JSON representation of the \u003ccode\u003eDevice\u003c/code\u003e resource is provided, illustrating its structure and data fields for integration purposes.\u003c/p\u003e\n"]]],["The provided content defines a \"Device\" resource, detailing its JSON representation and associated methods. A device includes properties like `name`, `fccId`, `serialNumber`, `preloadedConfig`, `activeConfig`, `state`, `grants`, `displayName`, `deviceMetadata`, `currentChannels` (deprecated), and `grantRangeAllowlists`. Key actions include creating a device under a node or customer, creating a signed device, and listing devices. Device parameters can be overriden by both SAS Portal and SAS registration requests.\n"],null,["# REST Resource: nodes.deployments.devices\n\n- [Resource: Device](#Device)\n - [JSON representation](#Device.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Device\n----------------\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"fccId\": string, \"serialNumber\": string, \"preloadedConfig\": { object (/spectrum-access-system/reference/rest/v1alpha1/customers.deployments.devices#Device.DeviceConfig) }, \"activeConfig\": { object (/spectrum-access-system/reference/rest/v1alpha1/customers.deployments.devices#Device.DeviceConfig) }, \"state\": enum (/spectrum-access-system/reference/rest/v1alpha1/customers.deployments.devices#Device.State_1), \"grants\": [ { object (/spectrum-access-system/reference/rest/v1alpha1/customers.deployments.devices#Device.DeviceGrant) } ], \"displayName\": string, \"deviceMetadata\": { object (/spectrum-access-system/reference/rest/v1alpha1/customers.deployments.devices#Device.DeviceMetadata) }, \"currentChannels\": [ { object (/spectrum-access-system/reference/rest/v1alpha1/customers.deployments.devices#Device.ChannelWithScore) } ], \"grantRangeAllowlists\": [ { object (/spectrum-access-system/reference/rest/v1alpha1/customers.deployments.devices#Device.FrequencyRange) } ] } ``` |\n\n| Fields ||\n|--------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. The resource path name. |\n| `fccId` | `string` The FCC identifier of the device. |\n| `serialNumber` | `string` A serial number assigned to the device by the device manufacturer. |\n| `preloadedConfig` | `object (`[DeviceConfig](/spectrum-access-system/reference/rest/v1alpha1/customers.deployments.devices#Device.DeviceConfig)`)` Configuration of the device, as specified via SAS Portal API. |\n| `activeConfig` | `object (`[DeviceConfig](/spectrum-access-system/reference/rest/v1alpha1/customers.deployments.devices#Device.DeviceConfig)`)` Output only. Current configuration of the device as registered to the SAS. |\n| `state` | `enum (`[State](/spectrum-access-system/reference/rest/v1alpha1/customers.deployments.devices#Device.State_1)`)` Output only. Device state. |\n| `grants[]` | `object (`[DeviceGrant](/spectrum-access-system/reference/rest/v1alpha1/customers.deployments.devices#Device.DeviceGrant)`)` Output only. Grants held by the device. |\n| `displayName` | `string` Device display name. |\n| `deviceMetadata` | `object (`[DeviceMetadata](/spectrum-access-system/reference/rest/v1alpha1/customers.deployments.devices#Device.DeviceMetadata)`)` Device parameters that can be overridden by both SAS Portal and SAS registration requests. |\n| `currentChannels[]` **(deprecated)** | `object (`[ChannelWithScore](/spectrum-access-system/reference/rest/v1alpha1/customers.deployments.devices#Device.ChannelWithScore)`)` | This item is deprecated! Output only. Current channels with scores. |\n| `grantRangeAllowlists[]` | `object (`[FrequencyRange](/spectrum-access-system/reference/rest/v1alpha1/customers.deployments.devices#Device.FrequencyRange)`)` Only ranges that are within the allowlists are available for new grants. |\n\n| Methods ------- ||\n|------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### [create](/spectrum-access-system/reference/rest/v1alpha1/nodes.deployments.devices/create) | Creates 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| ### [createSigned](/spectrum-access-system/reference/rest/v1alpha1/nodes.deployments.devices/createSigned) | Creates a signed [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| ### [list](/spectrum-access-system/reference/rest/v1alpha1/nodes.deployments.devices/list) | Lists [devices](/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). |"]]