Method: deployments.devices.signDevice
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Żądanie HTTP
POST https://sasportal.googleapis.com/v1alpha1/{device.name=deployments/*/devices/*}:signDevice
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
device.name |
string
Tylko dane wyjściowe. Nazwa ścieżki zasobu.
|
Treść żądania
Treść żądania zawiera dane o następującej strukturze:
Zapis JSON |
{
"device": {
"name": string,
"fccId": string,
"serialNumber": string,
"preloadedConfig": {
"category": enum (DeviceCategory ),
"model": {
object (DeviceModel )
},
"airInterface": {
object (DeviceAirInterface )
},
"installationParams": {
object (InstallationParams )
},
"measurementCapabilities": [
enum (MeasurementCapability )
],
"userId": string,
"callSign": string,
"state": enum (State ),
"isSigned": boolean,
"updateTime": string
},
"activeConfig": {
"category": enum (DeviceCategory ),
"model": {
object (DeviceModel )
},
"airInterface": {
object (DeviceAirInterface )
},
"installationParams": {
object (InstallationParams )
},
"measurementCapabilities": [
enum (MeasurementCapability )
],
"userId": string,
"callSign": string,
"state": enum (State ),
"isSigned": boolean,
"updateTime": string
},
"state": enum (State ),
"grants": [
{
"maxEirp": number,
"frequencyRange": {
object (FrequencyRange )
},
"state": enum (GrantState ),
"channelType": enum (ChannelType ),
"moveList": [
{
object (DpaMoveList )
}
],
"expireTime": string,
"suspensionReason": [
string
],
"grantId": string,
"lastHeartbeatTransmitExpireTime": string
}
],
"displayName": string,
"deviceMetadata": {
"interferenceCoordinationGroup": string,
"commonChannelGroup": string,
"antennaModel": string,
"nrqzValidated": boolean,
"nrqzValidation": {
object (NrqzValidation )
}
},
"currentChannels": [
{
"frequencyRange": {
object (FrequencyRange )
},
"score": number
}
],
"grantRangeAllowlists": [
{
"lowFrequencyMhz": number,
"highFrequencyMhz": number
}
]
}
} |
Pola |
device.fccId |
string
Identyfikator FCC urządzenia.
|
device.serialNumber |
string
Numer seryjny przypisany do urządzenia przez producenta.
|
device.preloadedConfig |
object (DeviceConfig )
Konfiguracja urządzenia określona za pomocą interfejsu SAS Portal API.
|
device.activeConfig |
object (DeviceConfig )
Tylko dane wyjściowe. Obecna konfiguracja urządzenia zarejestrowana w SAS.
|
device.state |
enum (State )
Tylko dane wyjściowe. Stan urządzenia.
|
device.grants[] |
object (DeviceGrant )
Tylko dane wyjściowe. Przyznane urządzenia.
|
device.displayName |
string
Wyświetlana nazwa urządzenia.
|
device.deviceMetadata |
object (DeviceMetadata )
Parametry urządzenia, które mogą być zastąpione przez żądania rejestracji w portalu SAS i żądania SAS.
|
device.currentChannels[] (deprecated) |
object (ChannelWithScore )
Tylko dane wyjściowe. Aktualne kanały z wynikami.
|
device.grantRangeAllowlists[] |
object (FrequencyRange )
Tylko nowe zakresy na liście dozwolonych są dostępne dla nowych grantów.
|
Treść odpowiedzi
Jeśli operacja się uda, treść odpowiedzi będzie pusta.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/sasportal
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2022-11-02 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2022-11-02 UTC."],[[["Signs a device, requiring the `https://www.googleapis.com/auth/sasportal` OAuth scope for authorization."],["The HTTP request uses the `POST` method and gRPC Transcoding syntax with the URL `https://sasportal.googleapis.com/v1alpha1/{device.name=deployments/*/devices/*}:signDevice`."],["Path parameters include `device.name` which represents the resource path name."],["The request body requires data specifying device details such as FCC ID, serial number, configuration, state, grants, display name, metadata, and allowed frequency ranges."],["A successful response will return an empty body."]]],[]]