Class: Google::Apis::SqladminV1beta4::InstancesDemoteMasterRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SqladminV1beta4::InstancesDemoteMasterRequest
 
- 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 demote master request.
Instance Attribute Summary collapse
- 
  
    
      #demote_master_context  ⇒ Google::Apis::SqladminV1beta4::DemoteMasterContext 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Database instance demote master context. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ InstancesDemoteMasterRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of InstancesDemoteMasterRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ InstancesDemoteMasterRequest
Returns a new instance of InstancesDemoteMasterRequest
| 1095 1096 1097 | # File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1095 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#demote_master_context ⇒ Google::Apis::SqladminV1beta4::DemoteMasterContext
Database instance demote master context.
Corresponds to the JSON property demoteMasterContext
| 1093 1094 1095 | # File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1093 def demote_master_context @demote_master_context end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1100 1101 1102 | # File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1100 def update!(**args) @demote_master_context = args[:demote_master_context] if args.key?(:demote_master_context) end |