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: sasportal1-alpha1 --scope <scope> customers deployments-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=voluptua.
    • Conditional. This field specifies the radio access technology that is used for the CBSD.
  • supported-spec=at

    • 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.
  • .. call-sign=sanctus

    • The call sign of the device operator.
  • category=sed
    • FCC category of the device.
  • installation-params antenna-azimuth=99
    • 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=42
    • 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=49
    • 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=81
    • Peak antenna gain in dBi. This parameter is an integer with a value between -127 and +128 (dBi) inclusive.
  • antenna-model=ipsum
    • 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=50
    • 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.9922470725858205
    • Device antenna height in meters. When the heightType parameter value is "AGL", the antenna height should be given relative to ground level. When the heightType parameter value is "AMSL", it is given with respect to WGS84 datum.
  • height-type=eos
    • Specifies how the height is measured.
  • horizontal-accuracy=0.7615363125225725
    • 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=true
    • Whether the device antenna is indoor or not. true: indoor. false: outdoor.
  • latitude=0.1092883976212714
    • 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.8204376297831348
    • 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.39873905405496446

    • 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=false

    • Output only. Whether the configuration has been signed by a CPI.
  • measurement-capabilities=ut
    • Measurement reporting capabilities of the device.
    • Each invocation of this argument appends the given value to the array.
  • model firmware-version=gubergren
    • The firmware version of the device.
  • hardware-version=rebum.
    • The hardware version of the device.
  • name=est
    • The name of the device model.
  • software-version=ipsum
    • The software version of the device.
  • vendor=ipsum

    • The name of the device vendor.
  • .. state=est

    • State of the configuration.
  • update-time=gubergren
    • Output only. The last time the device configuration was edited.
  • user-id=ea

    • The identifier of a device user.
  • ..device-metadata antenna-model=dolor

    • If populated, the Antenna Model Pattern to use. Format is: RecordCreatorId:PatternId
  • common-channel-group=lorem
    • 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=eos
    • 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=false
    • Output only. Set to true if a CPI has validated that they have coordinated with the National Quiet Zone office.
  • nrqz-validation case-id=sed
    • Validation case ID.
  • cpi-id=duo
    • CPI who signed the validation.
  • latitude=0.9575633866430626
    • Device latitude that's associated with the validation.
  • longitude=0.7957202632117738
    • Device longitude that's associated with the validation.
  • state=no

    • State of the NRQZ validation info.
  • ... display-name=stet

    • Device display name.
  • fcc-id=kasd
    • 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=sed
    • Conditional. This field specifies the radio access technology that is used for the CBSD.
  • supported-spec=et

    • 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.
  • .. call-sign=et

    • The call sign of the device operator.
  • category=vero
    • FCC category of the device.
  • installation-params antenna-azimuth=70
    • 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=8
    • 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=81
    • 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=67
    • Peak antenna gain in dBi. This parameter is an integer with a value between -127 and +128 (dBi) inclusive.
  • antenna-model=et
    • 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=9
    • 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.40747000249106957
    • Device antenna height in meters. When the heightType parameter value is "AGL", the antenna height should be given relative to ground level. When the heightType parameter value is "AMSL", it is given with respect to WGS84 datum.
  • height-type=et
    • Specifies how the height is measured.
  • horizontal-accuracy=0.901889097837698
    • 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.
  • latitude=0.6755988748158552
    • 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.6349978834153693
    • 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.1970220513983837

    • 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=vero
    • Measurement reporting capabilities of the device.
    • Each invocation of this argument appends the given value to the array.
  • model firmware-version=elitr
    • The firmware version of the device.
  • hardware-version=lorem
    • The hardware version of the device.
  • name=diam
    • The name of the device model.
  • software-version=no
    • The software version of the device.
  • vendor=ipsum

    • The name of the device vendor.
  • .. state=accusam

    • State of the configuration.
  • update-time=takimata
    • Output only. The last time the device configuration was edited.
  • user-id=consetetur

    • The identifier of a device user.
  • .. serial-number=voluptua.

    • A serial number assigned to the device by the device manufacturer.
  • state=et
    • 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.

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").