Class: Google::Apis::SpectrumV1explorer::SpectrumMessage
- Inherits:
-
Object
- Object
- Google::Apis::SpectrumV1explorer::SpectrumMessage
- 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
Available spectrum can be logically characterized by a list of frequency ranges and permissible power levels for each range.
Instance Attribute Summary collapse
-
#bandwidth ⇒ Float
The bandwidth (in Hertz) for which permissible power levels are specified.
-
#frequency_ranges ⇒ Array<Google::Apis::SpectrumV1explorer::FrequencyRange>
The list of frequency ranges and permissible power levels.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SpectrumMessage
constructor
A new instance of SpectrumMessage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SpectrumMessage
Returns a new instance of SpectrumMessage
1434 1435 1436 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1434 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bandwidth ⇒ Float
The bandwidth (in Hertz) for which permissible power levels are specified. For
example, FCC regulation would require only one spectrum specification at 6MHz
bandwidth, but Ofcom regulation would require two specifications, at 0.1MHz
and 8MHz. This parameter may be empty if there is no available spectrum. It
will be present otherwise.
Corresponds to the JSON property bandwidth
1426 1427 1428 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1426 def bandwidth @bandwidth end |
#frequency_ranges ⇒ Array<Google::Apis::SpectrumV1explorer::FrequencyRange>
The list of frequency ranges and permissible power levels. The list may be
empty if there is no available spectrum, otherwise it will be present.
Corresponds to the JSON property frequencyRanges
1432 1433 1434 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1432 def frequency_ranges @frequency_ranges end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1439 1440 1441 1442 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1439 def update!(**args) @bandwidth = args[:bandwidth] if args.key?(:bandwidth) @frequency_ranges = args[:frequency_ranges] if args.key?(:frequency_ranges) end |