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.
4221 4222 4223 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4221 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
4208 4209 4210 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4208 def enabled @enabled end |
#plugin ⇒ String
Required. The plugin name.
Corresponds to the JSON property plugin
4214 4215 4216 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4214 def plugin @plugin end |
#version ⇒ String
Required. The plugin version.
Corresponds to the JSON property version
4219 4220 4221 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4219 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4226 4227 4228 4229 4230 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4226 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 |