Class: Google::Apis::SqladminV1beta3::OperationError
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SqladminV1beta3::OperationError
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sqladmin_v1beta3/classes.rb,
 generated/google/apis/sqladmin_v1beta3/representations.rb,
 generated/google/apis/sqladmin_v1beta3/representations.rb
Overview
Database instance operation error.
Instance Attribute Summary collapse
- 
  
    
      #code  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Identifies the specific error that occurred. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    This is always sql#operationError. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ OperationError 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of OperationError. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ OperationError
Returns a new instance of OperationError
| 1202 1203 1204 | # File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1202 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#code ⇒ String
Identifies the specific error that occurred.
Corresponds to the JSON property code
| 1195 1196 1197 | # File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1195 def code @code end | 
#kind ⇒ String
This is always sql#operationError.
Corresponds to the JSON property kind
| 1200 1201 1202 | # File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1200 def kind @kind end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1207 1208 1209 1210 | # File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 1207 def update!(**args) @code = args[:code] if args.key?(:code) @kind = args[:kind] if args.key?(:kind) end |