devices
Creates, updates, deletes, gets or lists a devices resource.
Overview
| Name | devices |
| Type | Resource |
| Id | google.sasportal.devices |
Fields
The following fields are returned by SELECT queries:
- deployments_devices_get
- nodes_nodes_devices_list
- nodes_devices_get
- nodes_deployments_devices_list
- customers_devices_get
- customers_deployments_devices_list
- customers_nodes_devices_list
- nodes_devices_list
- customers_devices_list
| Name | Datatype | Description |
|---|---|---|
name | string | Output only. The resource path name. |
activeConfig | object | Output only. Current configuration of the device as registered to the SAS. (id: SasPortalDeviceConfig) |
currentChannels | array | Output only. Current channels with scores. |
deviceMetadata | object | Device parameters that can be overridden by both SAS Portal and SAS registration requests. (id: SasPortalDeviceMetadata) |
displayName | string | Device display name. |
fccId | string | The FCC identifier of the device. Refer to https://www.fcc.gov/oet/ea/fccid for FccID format. Accept underscores and periods because some test-SAS customers use them. |
grantRangeAllowlists | array | Only ranges that are within the allowlists are available for new grants. |
grants | array | Output only. Grants held by the device. |
preloadedConfig | object | Configuration of the device, as specified via SAS Portal API. (id: SasPortalDeviceConfig) |
serialNumber | string | A serial number assigned to the device by the device manufacturer. |
state | string | Output only. Device state. (DEVICE_STATE_UNSPECIFIED, RESERVED, REGISTERED, DEREGISTERED) |
| Name | Datatype | Description |
|---|---|---|
name | string | Output only. The resource path name. |
activeConfig | object | Output only. Current configuration of the device as registered to the SAS. (id: SasPortalDeviceConfig) |
currentChannels | array | Output only. Current channels with scores. |
deviceMetadata | object | Device parameters that can be overridden by both SAS Portal and SAS registration requests. (id: SasPortalDeviceMetadata) |
displayName | string | Device display name. |
fccId | string | The FCC identifier of the device. Refer to https://www.fcc.gov/oet/ea/fccid for FccID format. Accept underscores and periods because some test-SAS customers use them. |
grantRangeAllowlists | array | Only ranges that are within the allowlists are available for new grants. |
grants | array | Output only. Grants held by the device. |
preloadedConfig | object | Configuration of the device, as specified via SAS Portal API. (id: SasPortalDeviceConfig) |
serialNumber | string | A serial number assigned to the device by the device manufacturer. |
state | string | Output only. Device state. (DEVICE_STATE_UNSPECIFIED, RESERVED, REGISTERED, DEREGISTERED) |
| Name | Datatype | Description |
|---|---|---|
name | string | Output only. The resource path name. |
activeConfig | object | Output only. Current configuration of the device as registered to the SAS. (id: SasPortalDeviceConfig) |
currentChannels | array | Output only. Current channels with scores. |
deviceMetadata | object | Device parameters that can be overridden by both SAS Portal and SAS registration requests. (id: SasPortalDeviceMetadata) |
displayName | string | Device display name. |
fccId | string | The FCC identifier of the device. Refer to https://www.fcc.gov/oet/ea/fccid for FccID format. Accept underscores and periods because some test-SAS customers use them. |
grantRangeAllowlists | array | Only ranges that are within the allowlists are available for new grants. |
grants | array | Output only. Grants held by the device. |
preloadedConfig | object | Configuration of the device, as specified via SAS Portal API. (id: SasPortalDeviceConfig) |
serialNumber | string | A serial number assigned to the device by the device manufacturer. |
state | string | Output only. Device state. (DEVICE_STATE_UNSPECIFIED, RESERVED, REGISTERED, DEREGISTERED) |
| Name | Datatype | Description |
|---|---|---|
name | string | Output only. The resource path name. |
activeConfig | object | Output only. Current configuration of the device as registered to the SAS. (id: SasPortalDeviceConfig) |
currentChannels | array | Output only. Current channels with scores. |
deviceMetadata | object | Device parameters that can be overridden by both SAS Portal and SAS registration requests. (id: SasPortalDeviceMetadata) |
displayName | string | Device display name. |
fccId | string | The FCC identifier of the device. Refer to https://www.fcc.gov/oet/ea/fccid for FccID format. Accept underscores and periods because some test-SAS customers use them. |
grantRangeAllowlists | array | Only ranges that are within the allowlists are available for new grants. |
grants | array | Output only. Grants held by the device. |
preloadedConfig | object | Configuration of the device, as specified via SAS Portal API. (id: SasPortalDeviceConfig) |
serialNumber | string | A serial number assigned to the device by the device manufacturer. |
state | string | Output only. Device state. (DEVICE_STATE_UNSPECIFIED, RESERVED, REGISTERED, DEREGISTERED) |
| Name | Datatype | Description |
|---|---|---|
name | string | Output only. The resource path name. |
activeConfig | object | Output only. Current configuration of the device as registered to the SAS. (id: SasPortalDeviceConfig) |
currentChannels | array | Output only. Current channels with scores. |
deviceMetadata | object | Device parameters that can be overridden by both SAS Portal and SAS registration requests. (id: SasPortalDeviceMetadata) |
displayName | string | Device display name. |
fccId | string | The FCC identifier of the device. Refer to https://www.fcc.gov/oet/ea/fccid for FccID format. Accept underscores and periods because some test-SAS customers use them. |
grantRangeAllowlists | array | Only ranges that are within the allowlists are available for new grants. |
grants | array | Output only. Grants held by the device. |
preloadedConfig | object | Configuration of the device, as specified via SAS Portal API. (id: SasPortalDeviceConfig) |
serialNumber | string | A serial number assigned to the device by the device manufacturer. |
state | string | Output only. Device state. (DEVICE_STATE_UNSPECIFIED, RESERVED, REGISTERED, DEREGISTERED) |
| Name | Datatype | Description |
|---|---|---|
name | string | Output only. The resource path name. |
activeConfig | object | Output only. Current configuration of the device as registered to the SAS. (id: SasPortalDeviceConfig) |
currentChannels | array | Output only. Current channels with scores. |
deviceMetadata | object | Device parameters that can be overridden by both SAS Portal and SAS registration requests. (id: SasPortalDeviceMetadata) |
displayName | string | Device display name. |
fccId | string | The FCC identifier of the device. Refer to https://www.fcc.gov/oet/ea/fccid for FccID format. Accept underscores and periods because some test-SAS customers use them. |
grantRangeAllowlists | array | Only ranges that are within the allowlists are available for new grants. |
grants | array | Output only. Grants held by the device. |
preloadedConfig | object | Configuration of the device, as specified via SAS Portal API. (id: SasPortalDeviceConfig) |
serialNumber | string | A serial number assigned to the device by the device manufacturer. |
state | string | Output only. Device state. (DEVICE_STATE_UNSPECIFIED, RESERVED, REGISTERED, DEREGISTERED) |
| Name | Datatype | Description |
|---|---|---|
name | string | Output only. The resource path name. |
activeConfig | object | Output only. Current configuration of the device as registered to the SAS. (id: SasPortalDeviceConfig) |
currentChannels | array | Output only. Current channels with scores. |
deviceMetadata | object | Device parameters that can be overridden by both SAS Portal and SAS registration requests. (id: SasPortalDeviceMetadata) |
displayName | string | Device display name. |
fccId | string | The FCC identifier of the device. Refer to https://www.fcc.gov/oet/ea/fccid for FccID format. Accept underscores and periods because some test-SAS customers use them. |
grantRangeAllowlists | array | Only ranges that are within the allowlists are available for new grants. |
grants | array | Output only. Grants held by the device. |
preloadedConfig | object | Configuration of the device, as specified via SAS Portal API. (id: SasPortalDeviceConfig) |
serialNumber | string | A serial number assigned to the device by the device manufacturer. |
state | string | Output only. Device state. (DEVICE_STATE_UNSPECIFIED, RESERVED, REGISTERED, DEREGISTERED) |
| Name | Datatype | Description |
|---|---|---|
name | string | Output only. The resource path name. |
activeConfig | object | Output only. Current configuration of the device as registered to the SAS. (id: SasPortalDeviceConfig) |
currentChannels | array | Output only. Current channels with scores. |
deviceMetadata | object | Device parameters that can be overridden by both SAS Portal and SAS registration requests. (id: SasPortalDeviceMetadata) |
displayName | string | Device display name. |
fccId | string | The FCC identifier of the device. Refer to https://www.fcc.gov/oet/ea/fccid for FccID format. Accept underscores and periods because some test-SAS customers use them. |
grantRangeAllowlists | array | Only ranges that are within the allowlists are available for new grants. |
grants | array | Output only. Grants held by the device. |
preloadedConfig | object | Configuration of the device, as specified via SAS Portal API. (id: SasPortalDeviceConfig) |
serialNumber | string | A serial number assigned to the device by the device manufacturer. |
state | string | Output only. Device state. (DEVICE_STATE_UNSPECIFIED, RESERVED, REGISTERED, DEREGISTERED) |
| Name | Datatype | Description |
|---|---|---|
name | string | Output only. The resource path name. |
activeConfig | object | Output only. Current configuration of the device as registered to the SAS. (id: SasPortalDeviceConfig) |
currentChannels | array | Output only. Current channels with scores. |
deviceMetadata | object | Device parameters that can be overridden by both SAS Portal and SAS registration requests. (id: SasPortalDeviceMetadata) |
displayName | string | Device display name. |
fccId | string | The FCC identifier of the device. Refer to https://www.fcc.gov/oet/ea/fccid for FccID format. Accept underscores and periods because some test-SAS customers use them. |
grantRangeAllowlists | array | Only ranges that are within the allowlists are available for new grants. |
grants | array | Output only. Grants held by the device. |
preloadedConfig | object | Configuration of the device, as specified via SAS Portal API. (id: SasPortalDeviceConfig) |
serialNumber | string | A serial number assigned to the device by the device manufacturer. |
state | string | Output only. Device state. (DEVICE_STATE_UNSPECIFIED, RESERVED, REGISTERED, DEREGISTERED) |
Methods
The following methods are available for this resource:
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
customersId | string | |
deploymentsId | string | |
devicesId | string | |
nodesId | string | |
nodesId1 | string | |
filter | string | |
pageSize | integer (int32) | |
pageToken | string | |
updateMask | string (google-fieldmask) |
SELECT examples
- deployments_devices_get
- nodes_nodes_devices_list
- nodes_devices_get
- nodes_deployments_devices_list
- customers_devices_get
- customers_deployments_devices_list
- customers_nodes_devices_list
- nodes_devices_list
- customers_devices_list
Gets details about a device.
SELECT
name,
activeConfig,
currentChannels,
deviceMetadata,
displayName,
fccId,
grantRangeAllowlists,
grants,
preloadedConfig,
serialNumber,
state
FROM google.sasportal.devices
WHERE deploymentsId = '{{ deploymentsId }}' -- required
AND devicesId = '{{ devicesId }}' -- required
;
Lists devices under a node or customer.
SELECT
name,
activeConfig,
currentChannels,
deviceMetadata,
displayName,
fccId,
grantRangeAllowlists,
grants,
preloadedConfig,
serialNumber,
state
FROM google.sasportal.devices
WHERE nodesId = '{{ nodesId }}' -- required
AND nodesId1 = '{{ nodesId1 }}' -- required
AND filter = '{{ filter }}'
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
;
Gets details about a device.
SELECT
name,
activeConfig,
currentChannels,
deviceMetadata,
displayName,
fccId,
grantRangeAllowlists,
grants,
preloadedConfig,
serialNumber,
state
FROM google.sasportal.devices
WHERE nodesId = '{{ nodesId }}' -- required
AND devicesId = '{{ devicesId }}' -- required
;
Lists devices under a node or customer.
SELECT
name,
activeConfig,
currentChannels,
deviceMetadata,
displayName,
fccId,
grantRangeAllowlists,
grants,
preloadedConfig,
serialNumber,
state
FROM google.sasportal.devices
WHERE nodesId = '{{ nodesId }}' -- required
AND deploymentsId = '{{ deploymentsId }}' -- required
AND filter = '{{ filter }}'
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
;
Gets details about a device.
SELECT
name,
activeConfig,
currentChannels,
deviceMetadata,
displayName,
fccId,
grantRangeAllowlists,
grants,
preloadedConfig,
serialNumber,
state
FROM google.sasportal.devices
WHERE customersId = '{{ customersId }}' -- required
AND devicesId = '{{ devicesId }}' -- required
;
Lists devices under a node or customer.
SELECT
name,
activeConfig,
currentChannels,
deviceMetadata,
displayName,
fccId,
grantRangeAllowlists,
grants,
preloadedConfig,
serialNumber,
state
FROM google.sasportal.devices
WHERE customersId = '{{ customersId }}' -- required
AND deploymentsId = '{{ deploymentsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND filter = '{{ filter }}'
;
Lists devices under a node or customer.
SELECT
name,
activeConfig,
currentChannels,
deviceMetadata,
displayName,
fccId,
grantRangeAllowlists,
grants,
preloadedConfig,
serialNumber,
state
FROM google.sasportal.devices
WHERE customersId = '{{ customersId }}' -- required
AND nodesId = '{{ nodesId }}' -- required
AND filter = '{{ filter }}'
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
;
Lists devices under a node or customer.
SELECT
name,
activeConfig,
currentChannels,
deviceMetadata,
displayName,
fccId,
grantRangeAllowlists,
grants,
preloadedConfig,
serialNumber,
state
FROM google.sasportal.devices
WHERE nodesId = '{{ nodesId }}' -- required
AND filter = '{{ filter }}'
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
;
Lists devices under a node or customer.
SELECT
name,
activeConfig,
currentChannels,
deviceMetadata,
displayName,
fccId,
grantRangeAllowlists,
grants,
preloadedConfig,
serialNumber,
state
FROM google.sasportal.devices
WHERE customersId = '{{ customersId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND filter = '{{ filter }}'
;
INSERT examples
- nodes_nodes_devices_create
- nodes_deployments_devices_create
- customers_deployments_devices_create
- customers_nodes_devices_create
- nodes_devices_create
- customers_devices_create
- Manifest
Creates a device under a node or customer.
INSERT INTO google.sasportal.devices (
data__name,
data__preloadedConfig,
data__displayName,
data__deviceMetadata,
data__fccId,
data__activeConfig,
data__grantRangeAllowlists,
data__serialNumber,
data__state,
data__grants,
nodesId,
nodesId1
)
SELECT
'{{ name }}',
'{{ preloadedConfig }}',
'{{ displayName }}',
'{{ deviceMetadata }}',
'{{ fccId }}',
'{{ activeConfig }}',
'{{ grantRangeAllowlists }}',
'{{ serialNumber }}',
'{{ state }}',
'{{ grants }}',
'{{ nodesId }}',
'{{ nodesId1 }}'
RETURNING
name,
activeConfig,
currentChannels,
deviceMetadata,
displayName,
fccId,
grantRangeAllowlists,
grants,
preloadedConfig,
serialNumber,
state
;
Creates a device under a node or customer.
INSERT INTO google.sasportal.devices (
data__name,
data__preloadedConfig,
data__displayName,
data__deviceMetadata,
data__fccId,
data__activeConfig,
data__grantRangeAllowlists,
data__serialNumber,
data__state,
data__grants,
nodesId,
deploymentsId
)
SELECT
'{{ name }}',
'{{ preloadedConfig }}',
'{{ displayName }}',
'{{ deviceMetadata }}',
'{{ fccId }}',
'{{ activeConfig }}',
'{{ grantRangeAllowlists }}',
'{{ serialNumber }}',
'{{ state }}',
'{{ grants }}',
'{{ nodesId }}',
'{{ deploymentsId }}'
RETURNING
name,
activeConfig,
currentChannels,
deviceMetadata,
displayName,
fccId,
grantRangeAllowlists,
grants,
preloadedConfig,
serialNumber,
state
;
Creates a device under a node or customer.
INSERT INTO google.sasportal.devices (
data__name,
data__preloadedConfig,
data__displayName,
data__deviceMetadata,
data__fccId,
data__activeConfig,
data__grantRangeAllowlists,
data__serialNumber,
data__state,
data__grants,
customersId,
deploymentsId
)
SELECT
'{{ name }}',
'{{ preloadedConfig }}',
'{{ displayName }}',
'{{ deviceMetadata }}',
'{{ fccId }}',
'{{ activeConfig }}',
'{{ grantRangeAllowlists }}',
'{{ serialNumber }}',
'{{ state }}',
'{{ grants }}',
'{{ customersId }}',
'{{ deploymentsId }}'
RETURNING
name,
activeConfig,
currentChannels,
deviceMetadata,
displayName,
fccId,
grantRangeAllowlists,
grants,
preloadedConfig,
serialNumber,
state
;
Creates a device under a node or customer.
INSERT INTO google.sasportal.devices (
data__name,
data__preloadedConfig,
data__displayName,
data__deviceMetadata,
data__fccId,
data__activeConfig,
data__grantRangeAllowlists,
data__serialNumber,
data__state,
data__grants,
customersId,
nodesId
)
SELECT
'{{ name }}',
'{{ preloadedConfig }}',
'{{ displayName }}',
'{{ deviceMetadata }}',
'{{ fccId }}',
'{{ activeConfig }}',
'{{ grantRangeAllowlists }}',
'{{ serialNumber }}',
'{{ state }}',
'{{ grants }}',
'{{ customersId }}',
'{{ nodesId }}'
RETURNING
name,
activeConfig,
currentChannels,
deviceMetadata,
displayName,
fccId,
grantRangeAllowlists,
grants,
preloadedConfig,
serialNumber,
state
;
Creates a device under a node or customer.
INSERT INTO google.sasportal.devices (
data__name,
data__preloadedConfig,
data__displayName,
data__deviceMetadata,
data__fccId,
data__activeConfig,
data__grantRangeAllowlists,
data__serialNumber,
data__state,
data__grants,
nodesId
)
SELECT
'{{ name }}',
'{{ preloadedConfig }}',
'{{ displayName }}',
'{{ deviceMetadata }}',
'{{ fccId }}',
'{{ activeConfig }}',
'{{ grantRangeAllowlists }}',
'{{ serialNumber }}',
'{{ state }}',
'{{ grants }}',
'{{ nodesId }}'
RETURNING
name,
activeConfig,
currentChannels,
deviceMetadata,
displayName,
fccId,
grantRangeAllowlists,
grants,
preloadedConfig,
serialNumber,
state
;
Creates a device under a node or customer.
INSERT INTO google.sasportal.devices (
data__name,
data__preloadedConfig,
data__displayName,
data__deviceMetadata,
data__fccId,
data__activeConfig,
data__grantRangeAllowlists,
data__serialNumber,
data__state,
data__grants,
customersId
)
SELECT
'{{ name }}',
'{{ preloadedConfig }}',
'{{ displayName }}',
'{{ deviceMetadata }}',
'{{ fccId }}',
'{{ activeConfig }}',
'{{ grantRangeAllowlists }}',
'{{ serialNumber }}',
'{{ state }}',
'{{ grants }}',
'{{ customersId }}'
RETURNING
name,
activeConfig,
currentChannels,
deviceMetadata,
displayName,
fccId,
grantRangeAllowlists,
grants,
preloadedConfig,
serialNumber,
state
;
# Description fields are for documentation purposes
- name: devices
props:
- name: nodesId
value: "{{ nodesId }}"
description: Required parameter for the devices resource.
- name: nodesId1
value: "{{ nodesId1 }}"
description: Required parameter for the devices resource.
- name: deploymentsId
value: "{{ deploymentsId }}"
description: Required parameter for the devices resource.
- name: customersId
value: "{{ customersId }}"
description: Required parameter for the devices resource.
- name: name
value: "{{ name }}"
description: |
Output only. The resource path name.
- name: preloadedConfig
description: |
Configuration of the device, as specified via SAS Portal API.
value:
state: "{{ state }}"
airInterface:
radioTechnology: "{{ radioTechnology }}"
supportedSpec: "{{ supportedSpec }}"
updateTime: "{{ updateTime }}"
measurementCapabilities:
- "{{ measurementCapabilities }}"
callSign: "{{ callSign }}"
isSigned: {{ isSigned }}
installationParams:
horizontalAccuracy: {{ horizontalAccuracy }}
latitude: {{ latitude }}
longitude: {{ longitude }}
antennaAzimuth: {{ antennaAzimuth }}
verticalAccuracy: {{ verticalAccuracy }}
eirpCapability: {{ eirpCapability }}
height: {{ height }}
antennaModel: "{{ antennaModel }}"
heightType: "{{ heightType }}"
antennaBeamwidth: {{ antennaBeamwidth }}
antennaGain: {{ antennaGain }}
antennaDowntilt: {{ antennaDowntilt }}
indoorDeployment: {{ indoorDeployment }}
cpeCbsdIndication: {{ cpeCbsdIndication }}
category: "{{ category }}"
model:
vendor: "{{ vendor }}"
name: "{{ name }}"
softwareVersion: "{{ softwareVersion }}"
hardwareVersion: "{{ hardwareVersion }}"
firmwareVersion: "{{ firmwareVersion }}"
userId: "{{ userId }}"
- name: displayName
value: "{{ displayName }}"
description: |
Device display name.
- name: deviceMetadata
description: |
Device parameters that can be overridden by both SAS Portal and SAS registration requests.
value:
antennaModel: "{{ antennaModel }}"
nrqzValidated: {{ nrqzValidated }}
nrqzValidation:
longitude: {{ longitude }}
caseId: "{{ caseId }}"
state: "{{ state }}"
latitude: {{ latitude }}
cpiId: "{{ cpiId }}"
interferenceCoordinationGroup: "{{ interferenceCoordinationGroup }}"
commonChannelGroup: "{{ commonChannelGroup }}"
- name: fccId
value: "{{ fccId }}"
description: |
The FCC identifier of the device. Refer to https://www.fcc.gov/oet/ea/fccid for FccID format. Accept underscores and periods because some test-SAS customers use them.
- name: activeConfig
description: |
Output only. Current configuration of the device as registered to the SAS.
value:
state: "{{ state }}"
airInterface:
radioTechnology: "{{ radioTechnology }}"
supportedSpec: "{{ supportedSpec }}"
updateTime: "{{ updateTime }}"
measurementCapabilities:
- "{{ measurementCapabilities }}"
callSign: "{{ callSign }}"
isSigned: {{ isSigned }}
installationParams:
horizontalAccuracy: {{ horizontalAccuracy }}
latitude: {{ latitude }}
longitude: {{ longitude }}
antennaAzimuth: {{ antennaAzimuth }}
verticalAccuracy: {{ verticalAccuracy }}
eirpCapability: {{ eirpCapability }}
height: {{ height }}
antennaModel: "{{ antennaModel }}"
heightType: "{{ heightType }}"
antennaBeamwidth: {{ antennaBeamwidth }}
antennaGain: {{ antennaGain }}
antennaDowntilt: {{ antennaDowntilt }}
indoorDeployment: {{ indoorDeployment }}
cpeCbsdIndication: {{ cpeCbsdIndication }}
category: "{{ category }}"
model:
vendor: "{{ vendor }}"
name: "{{ name }}"
softwareVersion: "{{ softwareVersion }}"
hardwareVersion: "{{ hardwareVersion }}"
firmwareVersion: "{{ firmwareVersion }}"
userId: "{{ userId }}"
- name: grantRangeAllowlists
description: |
Only ranges that are within the allowlists are available for new grants.
value:
- lowFrequencyMhz: {{ lowFrequencyMhz }}
highFrequencyMhz: {{ highFrequencyMhz }}
- name: serialNumber
value: "{{ serialNumber }}"
description: |
A serial number assigned to the device by the device manufacturer.
- name: state
value: "{{ state }}"
description: |
Output only. Device state.
valid_values: ['DEVICE_STATE_UNSPECIFIED', 'RESERVED', 'REGISTERED', 'DEREGISTERED']
- name: grants
description: |
Output only. Grants held by the device.
value:
- lastHeartbeatTransmitExpireTime: "{{ lastHeartbeatTransmitExpireTime }}"
frequencyRange:
lowFrequencyMhz: {{ lowFrequencyMhz }}
highFrequencyMhz: {{ highFrequencyMhz }}
state: "{{ state }}"
channelType: "{{ channelType }}"
suspensionReason: "{{ suspensionReason }}"
expireTime: "{{ expireTime }}"
grantId: "{{ grantId }}"
maxEirp: {{ maxEirp }}
moveList: "{{ moveList }}"
UPDATE examples
- deployments_devices_patch
- nodes_devices_patch
- customers_devices_patch
Updates a device.
UPDATE google.sasportal.devices
SET
data__name = '{{ name }}',
data__preloadedConfig = '{{ preloadedConfig }}',
data__displayName = '{{ displayName }}',
data__deviceMetadata = '{{ deviceMetadata }}',
data__fccId = '{{ fccId }}',
data__activeConfig = '{{ activeConfig }}',
data__grantRangeAllowlists = '{{ grantRangeAllowlists }}',
data__serialNumber = '{{ serialNumber }}',
data__state = '{{ state }}',
data__grants = '{{ grants }}'
WHERE
deploymentsId = '{{ deploymentsId }}' --required
AND devicesId = '{{ devicesId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
activeConfig,
currentChannels,
deviceMetadata,
displayName,
fccId,
grantRangeAllowlists,
grants,
preloadedConfig,
serialNumber,
state;
Updates a device.
UPDATE google.sasportal.devices
SET
data__name = '{{ name }}',
data__preloadedConfig = '{{ preloadedConfig }}',
data__displayName = '{{ displayName }}',
data__deviceMetadata = '{{ deviceMetadata }}',
data__fccId = '{{ fccId }}',
data__activeConfig = '{{ activeConfig }}',
data__grantRangeAllowlists = '{{ grantRangeAllowlists }}',
data__serialNumber = '{{ serialNumber }}',
data__state = '{{ state }}',
data__grants = '{{ grants }}'
WHERE
nodesId = '{{ nodesId }}' --required
AND devicesId = '{{ devicesId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
activeConfig,
currentChannels,
deviceMetadata,
displayName,
fccId,
grantRangeAllowlists,
grants,
preloadedConfig,
serialNumber,
state;
Updates a device.
UPDATE google.sasportal.devices
SET
data__name = '{{ name }}',
data__preloadedConfig = '{{ preloadedConfig }}',
data__displayName = '{{ displayName }}',
data__deviceMetadata = '{{ deviceMetadata }}',
data__fccId = '{{ fccId }}',
data__activeConfig = '{{ activeConfig }}',
data__grantRangeAllowlists = '{{ grantRangeAllowlists }}',
data__serialNumber = '{{ serialNumber }}',
data__state = '{{ state }}',
data__grants = '{{ grants }}'
WHERE
customersId = '{{ customersId }}' --required
AND devicesId = '{{ devicesId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
activeConfig,
currentChannels,
deviceMetadata,
displayName,
fccId,
grantRangeAllowlists,
grants,
preloadedConfig,
serialNumber,
state;
DELETE examples
- deployments_devices_delete
- nodes_devices_delete
- customers_devices_delete
Deletes a device.
DELETE FROM google.sasportal.devices
WHERE deploymentsId = '{{ deploymentsId }}' --required
AND devicesId = '{{ devicesId }}' --required
;
Deletes a device.
DELETE FROM google.sasportal.devices
WHERE nodesId = '{{ nodesId }}' --required
AND devicesId = '{{ devicesId }}' --required
;
Deletes a device.
DELETE FROM google.sasportal.devices
WHERE customersId = '{{ customersId }}' --required
AND devicesId = '{{ devicesId }}' --required
;
Lifecycle Methods
- deployments_devices_sign_device
- deployments_devices_move
- nodes_devices_move
- nodes_devices_sign_device
- customers_devices_move
- customers_devices_sign_device
Signs a device.
EXEC google.sasportal.devices.deployments_devices_sign_device
@deploymentsId='{{ deploymentsId }}' --required,
@devicesId='{{ devicesId }}' --required
@@json=
'{
"device": "{{ device }}"
}'
;
Moves a device under another node or customer.
EXEC google.sasportal.devices.deployments_devices_move
@deploymentsId='{{ deploymentsId }}' --required,
@devicesId='{{ devicesId }}' --required
@@json=
'{
"destination": "{{ destination }}"
}'
;
Moves a device under another node or customer.
EXEC google.sasportal.devices.nodes_devices_move
@nodesId='{{ nodesId }}' --required,
@devicesId='{{ devicesId }}' --required
@@json=
'{
"destination": "{{ destination }}"
}'
;
Signs a device.
EXEC google.sasportal.devices.nodes_devices_sign_device
@nodesId='{{ nodesId }}' --required,
@devicesId='{{ devicesId }}' --required
@@json=
'{
"device": "{{ device }}"
}'
;
Moves a device under another node or customer.
EXEC google.sasportal.devices.customers_devices_move
@customersId='{{ customersId }}' --required,
@devicesId='{{ devicesId }}' --required
@@json=
'{
"destination": "{{ destination }}"
}'
;
Signs a device.
EXEC google.sasportal.devices.customers_devices_sign_device
@customersId='{{ customersId }}' --required,
@devicesId='{{ devicesId }}' --required
@@json=
'{
"device": "{{ device }}"
}'
;