Class: Google::Apis::MigrationcenterV1::MySqlPlugin

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#enabledBoolean Also known as: enabled?

Required. The plugin is active. Corresponds to the JSON property enabled

Returns:

  • (Boolean)


3519
3520
3521
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3519

def enabled
  @enabled
end

#pluginString

Required. The plugin name. Corresponds to the JSON property plugin

Returns:

  • (String)


3525
3526
3527
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3525

def plugin
  @plugin
end

#versionString

Required. The plugin version. Corresponds to the JSON property version

Returns:

  • (String)


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