Class: Google::Apis::SpectrumV1explorer::SpectrumSchedule
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SpectrumV1explorer::SpectrumSchedule
 
- 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 schedule element combines an event time with spectrum profile to define a time period in which the profile is valid.
Instance Attribute Summary collapse
- 
  
    
      #event_time  ⇒ Google::Apis::SpectrumV1explorer::EventTime 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The start and stop times of an event. 
- 
  
    
      #spectra  ⇒ Array<Google::Apis::SpectrumV1explorer::SpectrumMessage> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A list of spectrum messages representing the usable profile. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SpectrumSchedule 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of SpectrumSchedule. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SpectrumSchedule
Returns a new instance of SpectrumSchedule
| 1464 1465 1466 | # File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1464 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#event_time ⇒ Google::Apis::SpectrumV1explorer::EventTime
The start and stop times of an event. This is used to indicate the time period
for which a spectrum profile is valid.
Both times are expressed using the format, YYYY-MM-DDThh:mm:ssZ, as defined in
RFC3339. The times must be expressed using UTC.
Corresponds to the JSON property eventTime
| 1456 1457 1458 | # File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1456 def event_time @event_time end | 
#spectra ⇒ Array<Google::Apis::SpectrumV1explorer::SpectrumMessage>
A list of spectrum messages representing the usable profile. It will always be
present, but may be empty when there is no available spectrum.
Corresponds to the JSON property spectra
| 1462 1463 1464 | # File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1462 def spectra @spectra end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1469 1470 1471 1472 | # File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 1469 def update!(**args) @event_time = args[:event_time] if args.key?(:event_time) @spectra = args[:spectra] if args.key?(:spectra) end |