Class: Google::Apis::SpectrumV1explorer::DeviceCapabilities

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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_rangesArray<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