Class: Google::Apis::MigrationcenterV1::MySqlPlugin
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::MySqlPlugin
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1/classes.rb,
lib/google/apis/migrationcenter_v1/representations.rb,
lib/google/apis/migrationcenter_v1/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.
3532 3533 3534 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3532 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
3519 3520 3521 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3519 def enabled @enabled end |
#plugin ⇒ String
Required. The plugin name.
Corresponds to the JSON property plugin
3525 3526 3527 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3525 def plugin @plugin end |
#version ⇒ String
Required. The plugin version.
Corresponds to the JSON property version
3530 3531 3532 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3530 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3537 3538 3539 3540 3541 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3537 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 |