Creates a device under a node or customer.
Scopes
You will need authorization for at least one of the following scopes to make a valid call:
- https://www.googleapis.com/auth/cloud-platform
- https://www.googleapis.com/auth/sasportal
If unset, the scope for this method defaults to https://www.googleapis.com/auth/cloud-platform.
You can set the scope for this method like this: prod-tt-sasportal1-alpha1 --scope <scope> customers nodes-devices-create ...
Required Scalar Argument
- <parent> (string)
- Required. The name of the parent resource.
Required Request Value
The request value is a data-structure with various fields. Each field may be a simple scalar or another data-structure. In the latter case it is advised to set the field-cursor to the data-structure's field to specify values more concisely.
For example, a structure like this:
SasPortalDevice:
active-config:
air-interface:
radio-technology: string
supported-spec: string
call-sign: string
category: string
installation-params:
antenna-azimuth: integer
antenna-beamwidth: integer
antenna-downtilt: integer
antenna-gain: integer
antenna-model: string
cpe-cbsd-indication: boolean
eirp-capability: integer
height: number
height-type: string
horizontal-accuracy: number
indoor-deployment: boolean
latitude: number
longitude: number
vertical-accuracy: number
is-signed: boolean
measurement-capabilities: [string]
model:
firmware-version: string
hardware-version: string
name: string
software-version: string
vendor: string
state: string
update-time: string
user-id: string
device-metadata:
antenna-model: string
common-channel-group: string
interference-coordination-group: string
nrqz-validated: boolean
nrqz-validation:
case-id: string
cpi-id: string
latitude: number
longitude: number
state: string
display-name: string
fcc-id: string
name: string
preloaded-config:
air-interface:
radio-technology: string
supported-spec: string
call-sign: string
category: string
installation-params:
antenna-azimuth: integer
antenna-beamwidth: integer
antenna-downtilt: integer
antenna-gain: integer
antenna-model: string
cpe-cbsd-indication: boolean
eirp-capability: integer
height: number
height-type: string
horizontal-accuracy: number
indoor-deployment: boolean
latitude: number
longitude: number
vertical-accuracy: number
is-signed: boolean
measurement-capabilities: [string]
model:
firmware-version: string
hardware-version: string
name: string
software-version: string
vendor: string
state: string
update-time: string
user-id: string
serial-number: string
state: string
can be set completely with the following arguments which are assumed to be executed in the given order. Note how the cursor position is adjusted to the respective structures, allowing simple field names to be used most of the time.
-r .active-config.air-interface radio-technology=sed
- Conditional. This field specifies the radio access technology that is used for the CBSD.
-
supported-spec=stet
- Optional. This field is related to the
radioTechnology
and provides the air interface specification that the CBSD is compliant with at the time of registration.
- Optional. This field is related to the
-
.. call-sign=aliquyam
- The call sign of the device operator.
category=kasd
- FCC category of the device.
installation-params antenna-azimuth=0
- Boresight direction of the horizontal plane of the antenna in degrees with respect to true north. The value of this parameter is an integer with a value between 0 and 359 inclusive. A value of 0 degrees means true north; a value of 90 degrees means east. This parameter is optional for Category A devices and conditional for Category B devices.
antenna-beamwidth=53
- 3-dB antenna beamwidth of the antenna in the horizontal-plane in degrees. This parameter is an unsigned integer having a value between 0 and 360 (degrees) inclusive; it is optional for Category A devices and conditional for Category B devices.
antenna-downtilt=38
- Antenna downtilt in degrees and is an integer with a value between -90 and +90 inclusive; a negative value means the antenna is tilted up (above horizontal). This parameter is optional for Category A devices and conditional for Category B devices.
antenna-gain=62
- Peak antenna gain in dBi. This parameter is an integer with a value between -127 and +128 (dBi) inclusive.
antenna-model=dolor
- If an external antenna is used, the antenna model is optionally provided in this field. The string has a maximum length of 128 octets.
cpe-cbsd-indication=false
- If present, this parameter specifies whether the CBSD is a CPE-CBSD or not.
eirp-capability=98
- This parameter is the maximum device EIRP in units of dBm/10MHz and is an integer with a value between -127 and +47 (dBm/10 MHz) inclusive. If not included, SAS interprets it as maximum allowable EIRP in units of dBm/10MHz for device category.
height=0.6642185324610259
- Device antenna height in meters. When the
heightType
parameter value is "AGL", the antenna height should be given relative to ground level. When theheightType
parameter value is "AMSL", it is given with respect to WGS84 datum.
- Device antenna height in meters. When the
height-type=ipsum
- Specifies how the height is measured.
horizontal-accuracy=0.7560863763305231
- A positive number in meters to indicate accuracy of the device antenna horizontal location. This optional parameter should only be present if its value is less than the FCC requirement of 50 meters.
indoor-deployment=false
- Whether the device antenna is indoor or not.
true
: indoor.false
: outdoor.
- Whether the device antenna is indoor or not.
latitude=0.08920170932611438
- Latitude of the device antenna location in degrees relative to the WGS 84 datum. The allowed range is from -90.000000 to +90.000000. Positive values represent latitudes north of the equator; negative values south of the equator.
longitude=0.7917185653269195
- Longitude of the device antenna location in degrees relative to the WGS 84 datum. The allowed range is from -180.000000 to +180.000000. Positive values represent longitudes east of the prime meridian; negative values west of the prime meridian.
-
vertical-accuracy=0.8201834988730824
- A positive number in meters to indicate accuracy of the device antenna vertical location. This optional parameter should only be present if its value is less than the FCC requirement of 3 meters.
-
.. is-signed=true
- Output only. Whether the configuration has been signed by a CPI.
measurement-capabilities=consetetur
- Measurement reporting capabilities of the device.
- Each invocation of this argument appends the given value to the array.
model firmware-version=et
- The firmware version of the device.
hardware-version=sit
- The hardware version of the device.
name=lorem
- The name of the device model.
software-version=nonumy
- The software version of the device.
-
vendor=diam
- The name of the device vendor.
-
.. state=ipsum
- State of the configuration.
update-time=invidunt
- Output only. The last time the device configuration was edited.
-
user-id=stet
- The identifier of a device user.
-
..device-metadata antenna-model=voluptua.
- If populated, the Antenna Model Pattern to use. Format is:
RecordCreatorId:PatternId
- If populated, the Antenna Model Pattern to use. Format is:
common-channel-group=at
- Common Channel Group (CCG). A group of CBSDs in the same ICG requesting a common primary channel assignment. For more details, see CBRSA-TS-2001 V3.0.0.
interference-coordination-group=diam
- Interference Coordination Group (ICG). A group of CBSDs that manage their own interference with the group. For more details, see CBRSA-TS-2001 V3.0.0.
nrqz-validated=true
- Output only. Set to
true
if a CPI has validated that they have coordinated with the National Quiet Zone office.
- Output only. Set to
nrqz-validation case-id=at
- Validation case ID.
cpi-id=eirmod
- CPI who signed the validation.
latitude=0.966361549129164
- Device latitude that's associated with the validation.
longitude=0.6396928915604001
- Device longitude that's associated with the validation.
-
state=erat
- State of the NRQZ validation info.
-
... display-name=sit
- Device display name.
fcc-id=accusam
- 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=et
- Output only. The resource path name.
preloaded-config.air-interface radio-technology=nonumy
- Conditional. This field specifies the radio access technology that is used for the CBSD.
-
supported-spec=accusam
- Optional. This field is related to the
radioTechnology
and provides the air interface specification that the CBSD is compliant with at the time of registration.
- Optional. This field is related to the
-
.. call-sign=ut
- The call sign of the device operator.
category=voluptua.
- FCC category of the device.
installation-params antenna-azimuth=55
- Boresight direction of the horizontal plane of the antenna in degrees with respect to true north. The value of this parameter is an integer with a value between 0 and 359 inclusive. A value of 0 degrees means true north; a value of 90 degrees means east. This parameter is optional for Category A devices and conditional for Category B devices.
antenna-beamwidth=2
- 3-dB antenna beamwidth of the antenna in the horizontal-plane in degrees. This parameter is an unsigned integer having a value between 0 and 360 (degrees) inclusive; it is optional for Category A devices and conditional for Category B devices.
antenna-downtilt=54
- Antenna downtilt in degrees and is an integer with a value between -90 and +90 inclusive; a negative value means the antenna is tilted up (above horizontal). This parameter is optional for Category A devices and conditional for Category B devices.
antenna-gain=66
- Peak antenna gain in dBi. This parameter is an integer with a value between -127 and +128 (dBi) inclusive.
antenna-model=aliquyam
- If an external antenna is used, the antenna model is optionally provided in this field. The string has a maximum length of 128 octets.
cpe-cbsd-indication=true
- If present, this parameter specifies whether the CBSD is a CPE-CBSD or not.
eirp-capability=13
- This parameter is the maximum device EIRP in units of dBm/10MHz and is an integer with a value between -127 and +47 (dBm/10 MHz) inclusive. If not included, SAS interprets it as maximum allowable EIRP in units of dBm/10MHz for device category.
height=0.713862500521518
- Device antenna height in meters. When the
heightType
parameter value is "AGL", the antenna height should be given relative to ground level. When theheightType
parameter value is "AMSL", it is given with respect to WGS84 datum.
- Device antenna height in meters. When the
height-type=duo
- Specifies how the height is measured.
horizontal-accuracy=0.32140179933248514
- A positive number in meters to indicate accuracy of the device antenna horizontal location. This optional parameter should only be present if its value is less than the FCC requirement of 50 meters.
indoor-deployment=false
- Whether the device antenna is indoor or not.
true
: indoor.false
: outdoor.
- Whether the device antenna is indoor or not.
latitude=0.9967765115914052
- Latitude of the device antenna location in degrees relative to the WGS 84 datum. The allowed range is from -90.000000 to +90.000000. Positive values represent latitudes north of the equator; negative values south of the equator.
longitude=0.8773482329441525
- Longitude of the device antenna location in degrees relative to the WGS 84 datum. The allowed range is from -180.000000 to +180.000000. Positive values represent longitudes east of the prime meridian; negative values west of the prime meridian.
-
vertical-accuracy=0.36678791662527754
- A positive number in meters to indicate accuracy of the device antenna vertical location. This optional parameter should only be present if its value is less than the FCC requirement of 3 meters.
-
.. is-signed=true
- Output only. Whether the configuration has been signed by a CPI.
measurement-capabilities=sit
- Measurement reporting capabilities of the device.
- Each invocation of this argument appends the given value to the array.
model firmware-version=amet.
- The firmware version of the device.
hardware-version=ipsum
- The hardware version of the device.
name=at
- The name of the device model.
software-version=vero
- The software version of the device.
-
vendor=takimata
- The name of the device vendor.
-
.. state=gubergren
- State of the configuration.
update-time=et
- Output only. The last time the device configuration was edited.
-
user-id=invidunt
- The identifier of a device user.
-
.. serial-number=magna
- A serial number assigned to the device by the device manufacturer.
state=sit
- Output only. Device state.
About Cursors
The cursor position is key to comfortably set complex nested structures. The following rules apply:
- The cursor position is always set relative to the current one, unless the field name starts with the
.
character. Fields can be nested such as in-r f.s.o
. - The cursor position is set relative to the top-level structure if it starts with
.
, e.g.-r .s.s
- You can also set nested fields without setting the cursor explicitly. For example, to set a value relative to the current cursor position, you would specify
-r struct.sub_struct=bar
. - You can move the cursor one level up by using
..
. Each additional.
moves it up one additional level. E.g....
would go three levels up.
Optional Output Flags
The method's return value a JSON encoded structure, which will be written to standard output by default.
- -o out
- out specifies the destination to which to write the server's result to.
It will be a JSON-encoded structure.
The destination may be
-
to indicate standard output, or a filepath that is to contain the received bytes. If unset, it defaults to standard output.
- out specifies the destination to which to write the server's result to.
It will be a JSON-encoded structure.
The destination may be
Optional General Properties
The following properties can configure any call, and are not specific to this method.
-
-p $-xgafv=string
- V1 error format.
-
-p access-token=string
- OAuth access token.
-
-p alt=string
- Data format for response.
-
-p callback=string
- JSONP
-
-p fields=string
- Selector specifying which fields to include in a partial response.
-
-p key=string
- API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
-
-p oauth-token=string
- OAuth 2.0 token for the current user.
-
-p pretty-print=boolean
- Returns response with indentations and line breaks.
-
-p quota-user=string
- Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
-
-p upload-type=string
- Legacy upload protocol for media (e.g. "media", "multipart").
-
-p upload-protocol=string
- Upload protocol for media (e.g. "raw", "multipart").