Class: Google::Apis::SqladminV1::AvailableDatabaseVersion
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::SqladminV1::AvailableDatabaseVersion
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/sqladmin_v1/classes.rb,
lib/google/apis/sqladmin_v1/representations.rb,
lib/google/apis/sqladmin_v1/representations.rb 
Overview
An available database version. It can be a major or a minor version.
Instance Attribute Summary collapse
- 
  
    
      #display_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The database version's display name.
 - 
  
    
      #major_version  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The version's major version name.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The database version name.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AvailableDatabaseVersion 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of AvailableDatabaseVersion.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ AvailableDatabaseVersion
Returns a new instance of AvailableDatabaseVersion.
      172 173 174  | 
    
      # File 'lib/google/apis/sqladmin_v1/classes.rb', line 172 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#display_name ⇒ String
The database version's display name.
Corresponds to the JSON property displayName
      159 160 161  | 
    
      # File 'lib/google/apis/sqladmin_v1/classes.rb', line 159 def display_name @display_name end  | 
  
#major_version ⇒ String
The version's major version name.
Corresponds to the JSON property majorVersion
      164 165 166  | 
    
      # File 'lib/google/apis/sqladmin_v1/classes.rb', line 164 def major_version @major_version end  | 
  
#name ⇒ String
The database version name. For MySQL 8.0, this string provides the database
major and minor version.
Corresponds to the JSON property name
      170 171 172  | 
    
      # File 'lib/google/apis/sqladmin_v1/classes.rb', line 170 def name @name end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      177 178 179 180 181  | 
    
      # File 'lib/google/apis/sqladmin_v1/classes.rb', line 177 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @major_version = args[:major_version] if args.key?(:major_version) @name = args[:name] if args.key?(:name) end  |