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.
5391 5392 5393 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5391 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
5378 5379 5380 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5378 def enabled @enabled end |
#plugin ⇒ String
Required. The plugin name.
Corresponds to the JSON property plugin
5384 5385 5386 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5384 def plugin @plugin end |
#version ⇒ String
Required. The plugin version.
Corresponds to the JSON property version
5389 5390 5391 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5389 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5396 5397 5398 5399 5400 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5396 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 |