Class: Google::Apis::MigrationcenterV1alpha1::MySqlPlugin
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::MySqlPlugin
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb
Overview
MySql plugin.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
(also: #enabled?)
Required.
-
#plugin ⇒ String
Required.
-
#version ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MySqlPlugin
constructor
A new instance of MySqlPlugin.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MySqlPlugin
Returns a new instance of MySqlPlugin.
4432 4433 4434 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4432 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enabled ⇒ Boolean Also known as: enabled?
Required. The plugin is active.
Corresponds to the JSON property enabled
4419 4420 4421 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4419 def enabled @enabled end |
#plugin ⇒ String
Required. The plugin name.
Corresponds to the JSON property plugin
4425 4426 4427 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4425 def plugin @plugin end |
#version ⇒ String
Required. The plugin version.
Corresponds to the JSON property version
4430 4431 4432 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4430 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4437 4438 4439 4440 4441 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4437 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) @plugin = args[:plugin] if args.key?(:plugin) @version = args[:version] if args.key?(:version) end |