Class: Google::Apis::SqladminV1beta4::OperationError
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1beta4::OperationError
- 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 operation error.
Instance Attribute Summary collapse
-
#code ⇒ String
Identifies the specific error that occurred.
-
#kind ⇒ String
This is always sql#operationError.
-
#message ⇒ String
Additional information about the error encountered.
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
1619 1620 1621 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1619 def initialize(**args) update!(**args) end |
Instance Attribute Details
#code ⇒ String
Identifies the specific error that occurred.
Corresponds to the JSON property code
1607 1608 1609 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1607 def code @code end |
#kind ⇒ String
This is always sql#operationError.
Corresponds to the JSON property kind
1612 1613 1614 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1612 def kind @kind end |
#message ⇒ String
Additional information about the error encountered.
Corresponds to the JSON property message
1617 1618 1619 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1617 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1624 1625 1626 1627 1628 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1624 def update!(**args) @code = args[:code] if args.key?(:code) @kind = args[:kind] if args.key?(:kind) @message = args[:message] if args.key?(:message) end |