Class: Google::Apis::SpectrumV1explorer::FrequencyRange
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SpectrumV1explorer::FrequencyRange
 
- 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
A specific range of frequencies together with the associated maximum power level and channel identifier.
Instance Attribute Summary collapse
- 
  
    
      #channel_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The database may include a channel identifier, when applicable. 
- 
  
    
      #max_power_d_bm  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The maximum total power level (EIRP)—computed over the corresponding operating bandwidth—that is permitted within the frequency range. 
- 
  
    
      #start_hz  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The required inclusive start of the frequency range (in Hertz). 
- 
  
    
      #stop_hz  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The required exclusive end of the frequency range (in Hertz). 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ FrequencyRange 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of FrequencyRange. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ FrequencyRange
Returns a new instance of FrequencyRange
| 375 376 377 | # File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 375 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#channel_id ⇒ String
The database may include a channel identifier, when applicable. When it is
included, the device should treat it as informative. The length of the
identifier should not exceed 16 characters.
Corresponds to the JSON property channelId
| 352 353 354 | # File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 352 def channel_id @channel_id end | 
#max_power_d_bm ⇒ Float
The maximum total power level (EIRP)—computed over the corresponding operating
bandwidth—that is permitted within the frequency range. Depending on the
context in which the frequency-range element appears, this value may be
required. For example, it is required in the available-spectrum response,
available-spectrum-batch response, and spectrum-use notification message, but
it should not be present (it is not applicable) when the frequency range
appears inside a device-capabilities message.
Corresponds to the JSON property maxPowerDBm
| 363 364 365 | # File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 363 def max_power_d_bm @max_power_d_bm end | 
#start_hz ⇒ Float
The required inclusive start of the frequency range (in Hertz).
Corresponds to the JSON property startHz
| 368 369 370 | # File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 368 def start_hz @start_hz end | 
#stop_hz ⇒ Float
The required exclusive end of the frequency range (in Hertz).
Corresponds to the JSON property stopHz
| 373 374 375 | # File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 373 def stop_hz @stop_hz end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 380 381 382 383 384 385 | # File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 380 def update!(**args) @channel_id = args[:channel_id] if args.key?(:channel_id) @max_power_d_bm = args[:max_power_d_bm] if args.key?(:max_power_d_bm) @start_hz = args[:start_hz] if args.key?(:start_hz) @stop_hz = args[:stop_hz] if args.key?(:stop_hz) end |