Class: Google::Apis::MigrationcenterV1alpha1::MysqlDatabaseDeployment

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

Specific details for a Mysql database deployment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MysqlDatabaseDeployment

Returns a new instance of MysqlDatabaseDeployment.



5922
5923
5924
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5922

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#pluginsArray<Google::Apis::MigrationcenterV1alpha1::MySqlPlugin>

Optional. List of MySql plugins. Corresponds to the JSON property plugins



5905
5906
5907
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5905

def plugins
  @plugins
end

#propertiesArray<Google::Apis::MigrationcenterV1alpha1::MySqlProperty>

Optional. List of MySql properties. Corresponds to the JSON property properties



5910
5911
5912
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5910

def properties
  @properties
end

#resource_groups_countFixnum

Optional. Number of resource groups. Corresponds to the JSON property resourceGroupsCount

Returns:

  • (Fixnum)


5915
5916
5917
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5915

def resource_groups_count
  @resource_groups_count
end

#variablesArray<Google::Apis::MigrationcenterV1alpha1::MySqlVariable>

Optional. List of MySql variables. Corresponds to the JSON property variables



5920
5921
5922
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5920

def variables
  @variables
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5927
5928
5929
5930
5931
5932
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5927

def update!(**args)
  @plugins = args[:plugins] if args.key?(:plugins)
  @properties = args[:properties] if args.key?(:properties)
  @resource_groups_count = args[:resource_groups_count] if args.key?(:resource_groups_count)
  @variables = args[:variables] if args.key?(:variables)
end