Class: Google::Apis::SpectrumV1explorer::DatabaseSpec
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SpectrumV1explorer::DatabaseSpec
 
- 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 contains the name and URI of a database.
Instance Attribute Summary collapse
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The display name for a database. 
- 
  
    
      #uri  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The corresponding URI of the database. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ DatabaseSpec 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of DatabaseSpec. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DatabaseSpec
Returns a new instance of DatabaseSpec
| 76 77 78 | # File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 76 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#name ⇒ String
The display name for a database.
Corresponds to the JSON property name
| 69 70 71 | # File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 69 def name @name end | 
#uri ⇒ String
The corresponding URI of the database.
Corresponds to the JSON property uri
| 74 75 76 | # File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 74 def uri @uri end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 81 82 83 84 | # File 'generated/google/apis/spectrum_v1explorer/classes.rb', line 81 def update!(**args) @name = args[:name] if args.key?(:name) @uri = args[:uri] if args.key?(:uri) end |