Class: Google::Apis::SpectrumV1explorer::DbUpdateSpec
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SpectrumV1explorer::DbUpdateSpec
 
- 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
This message is provided by the database to notify devices of an upcoming change to the database URI.
Instance Attribute Summary collapse
- 
  
    
      #databases  ⇒ Array<Google::Apis::SpectrumV1explorer::DatabaseSpec> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A required list of one or more databases. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ DbUpdateSpec 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of DbUpdateSpec. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DbUpdateSpec
Returns a new instance of DbUpdateSpec
| 99 100 101 | # File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 99 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#databases ⇒ Array<Google::Apis::SpectrumV1explorer::DatabaseSpec>
A required list of one or more databases. A device should update its
preconfigured list of databases to replace (only) the database that provided
the response with the specified entries.
Corresponds to the JSON property databases
| 97 98 99 | # File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 97 def databases @databases end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 104 105 106 | # File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 104 def update!(**args) @databases = args[:databases] if args.key?(:databases) end |