Class: Google::Apis::SpectrumV1explorer::PawsNotifySpectrumUseRequest
- Inherits:
-
Object
- Object
- Google::Apis::SpectrumV1explorer::PawsNotifySpectrumUseRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/spectrum_v1explorer/classes.rb,
generated/google/apis/spectrum_v1explorer/representations.rb,
generated/google/apis/spectrum_v1explorer/representations.rb
Overview
The spectrum-use notification message which must contain the geolocation of the Device and parameters required by the regulatory domain.
Instance Attribute Summary collapse
-
#device_desc ⇒ Google::Apis::SpectrumV1explorer::DeviceDescriptor
The device descriptor contains parameters that identify the specific device, such as its manufacturer serial number, regulatory-specific identifier (e.g., FCC ID), and any other device characteristics required by regulatory domains.
-
#location ⇒ Google::Apis::SpectrumV1explorer::GeoLocation
This parameter is used to specify the geolocation of the device.
-
#spectra ⇒ Array<Google::Apis::SpectrumV1explorer::SpectrumMessage>
A spectrum list is required in the spectrum-use notification.
-
#type ⇒ String
The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...).
-
#version ⇒ String
The PAWS version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PawsNotifySpectrumUseRequest
constructor
A new instance of PawsNotifySpectrumUseRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PawsNotifySpectrumUseRequest
Returns a new instance of PawsNotifySpectrumUseRequest
1114 1115 1116 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1114 def initialize(**args) update!(**args) end |
Instance Attribute Details
#device_desc ⇒ Google::Apis::SpectrumV1explorer::DeviceDescriptor
The device descriptor contains parameters that identify the specific device,
such as its manufacturer serial number, regulatory-specific identifier (e.g.,
FCC ID), and any other device characteristics required by regulatory domains.
Corresponds to the JSON property deviceDesc
1078 1079 1080 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1078 def device_desc @device_desc end |
#location ⇒ Google::Apis::SpectrumV1explorer::GeoLocation
This parameter is used to specify the geolocation of the device.
Corresponds to the JSON property location
1083 1084 1085 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1083 def location @location end |
#spectra ⇒ Array<Google::Apis::SpectrumV1explorer::SpectrumMessage>
A spectrum list is required in the spectrum-use notification. The list
specifies the spectrum that the device expects to use, which includes
frequency ranges and maximum power levels. The list may be empty if the device
decides not to use any of spectrum. For consistency, the psdBandwidthHz value
should match that from one of the spectrum elements in the corresponding
available spectrum response previously sent to the device by the database.
Note that maximum power levels in the spectrum element must be expressed as
power spectral density over the specified psdBandwidthHz value. The actual
bandwidth to be used (as computed from the start and stop frequencies) may be
different from the psdBandwidthHz value. As an example, when regulatory rules
express maximum power spectral density in terms of maximum power over any 100
kHz band, then the psdBandwidthHz value should be set to 100 kHz, even though
the actual bandwidth used can be 20 kHz.
Corresponds to the JSON property spectra
1100 1101 1102 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1100 def spectra @spectra end |
#type ⇒ String
The message type (e.g., INIT_REQ, AVAIL_SPECTRUM_REQ, ...).
Required field.
Corresponds to the JSON property type
1106 1107 1108 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1106 def type @type end |
#version ⇒ String
The PAWS version. Must be exactly 1.0.
Required field.
Corresponds to the JSON property version
1112 1113 1114 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1112 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1119 1120 1121 1122 1123 1124 1125 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1119 def update!(**args) @device_desc = args[:device_desc] if args.key?(:device_desc) @location = args[:location] if args.key?(:location) @spectra = args[:spectra] if args.key?(:spectra) @type = args[:type] if args.key?(:type) @version = args[:version] if args.key?(:version) end |