Class: Google::Apis::SqladminV1beta4::FailoverContext
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::SqladminV1beta4::FailoverContext
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/sqladmin_v1beta4/classes.rb,
generated/google/apis/sqladmin_v1beta4/representations.rb,
generated/google/apis/sqladmin_v1beta4/representations.rb 
Overview
Database instance failover context.
Instance Attribute Summary collapse
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
This is always sql#failoverContext.
 - 
  
    
      #settings_version  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The current settings version of this instance.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ FailoverContext 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of FailoverContext.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ FailoverContext
Returns a new instance of FailoverContext
      892 893 894  | 
    
      # File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 892 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#kind ⇒ String
This is always sql#failoverContext.
Corresponds to the JSON property kind
      884 885 886  | 
    
      # File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 884 def kind @kind end  | 
  
#settings_version ⇒ Fixnum
The current settings version of this instance. Request will be rejected if
this version doesn't match the current settings version.
Corresponds to the JSON property settingsVersion
      890 891 892  | 
    
      # File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 890 def settings_version @settings_version end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      897 898 899 900  | 
    
      # File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 897 def update!(**args) @kind = args[:kind] if args.key?(:kind) @settings_version = args[:settings_version] if args.key?(:settings_version) end  |