Class: Google::Apis::SpectrumV1explorer::DeviceCapabilities
- Inherits:
-
Object
- Object
- Google::Apis::SpectrumV1explorer::DeviceCapabilities
- 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
Device capabilities provide additional information that may be used by a device to provide additional information to the database that may help it to determine available spectrum. If the database does not support device capabilities it will ignore the parameter altogether.
Instance Attribute Summary collapse
-
#frequency_ranges ⇒ Array<Google::Apis::SpectrumV1explorer::FrequencyRange>
An optional list of frequency ranges supported by the device.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeviceCapabilities
constructor
A new instance of DeviceCapabilities.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DeviceCapabilities
Returns a new instance of DeviceCapabilities
124 125 126 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 124 def initialize(**args) update!(**args) end |
Instance Attribute Details
#frequency_ranges ⇒ Array<Google::Apis::SpectrumV1explorer::FrequencyRange>
An optional list of frequency ranges supported by the device. Each element
must contain start and stop frequencies in which the device can operate.
Channel identifiers are optional. When specified, the database should not
return available spectrum that falls outside these ranges or channel IDs.
Corresponds to the JSON property frequencyRanges
122 123 124 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 122 def frequency_ranges @frequency_ranges end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
129 130 131 |
# File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 129 def update!(**args) @frequency_ranges = args[:frequency_ranges] if args.key?(:frequency_ranges) end |