Class: Google::Apis::SqladminV1::SqlSubOperationType
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1::SqlSubOperationType
- 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
The sub operation type based on the operation type.
Instance Attribute Summary collapse
-
#maintenance_type ⇒ String
The type of maintenance to be performed on the instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SqlSubOperationType
constructor
A new instance of SqlSubOperationType.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SqlSubOperationType
Returns a new instance of SqlSubOperationType.
5972 5973 5974 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 5972 def initialize(**args) update!(**args) end |
Instance Attribute Details
#maintenance_type ⇒ String
The type of maintenance to be performed on the instance.
Corresponds to the JSON property maintenanceType
5970 5971 5972 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 5970 def maintenance_type @maintenance_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5977 5978 5979 |
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 5977 def update!(**args) @maintenance_type = args[:maintenance_type] if args.key?(:maintenance_type) end |