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.
3992 3993 3994 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3992 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
3979 3980 3981 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3979 def enabled @enabled end |
#plugin ⇒ String
Required. The plugin name.
Corresponds to the JSON property plugin
3985 3986 3987 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3985 def plugin @plugin end |
#version ⇒ String
Required. The plugin version.
Corresponds to the JSON property version
3990 3991 3992 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3990 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3997 3998 3999 4000 4001 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3997 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 |