Class: Google::Apis::MigrationcenterV1alpha1::MysqlDatabaseDeployment
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::MysqlDatabaseDeployment
- 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
-
#plugins ⇒ Array<Google::Apis::MigrationcenterV1alpha1::MySqlPlugin>
Optional.
-
#properties ⇒ Array<Google::Apis::MigrationcenterV1alpha1::MySqlProperty>
Optional.
-
#resource_groups_count ⇒ Fixnum
Optional.
-
#variables ⇒ Array<Google::Apis::MigrationcenterV1alpha1::MySqlVariable>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MysqlDatabaseDeployment
constructor
A new instance of MysqlDatabaseDeployment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MysqlDatabaseDeployment
Returns a new instance of MysqlDatabaseDeployment.
4370 4371 4372 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4370 def initialize(**args) update!(**args) end |
Instance Attribute Details
#plugins ⇒ Array<Google::Apis::MigrationcenterV1alpha1::MySqlPlugin>
Optional. List of MySql plugins.
Corresponds to the JSON property plugins
4353 4354 4355 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4353 def plugins @plugins end |
#properties ⇒ Array<Google::Apis::MigrationcenterV1alpha1::MySqlProperty>
Optional. List of MySql properties.
Corresponds to the JSON property properties
4358 4359 4360 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4358 def properties @properties end |
#resource_groups_count ⇒ Fixnum
Optional. Number of resource groups.
Corresponds to the JSON property resourceGroupsCount
4363 4364 4365 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4363 def resource_groups_count @resource_groups_count end |
#variables ⇒ Array<Google::Apis::MigrationcenterV1alpha1::MySqlVariable>
Optional. List of MySql variables.
Corresponds to the JSON property variables
4368 4369 4370 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4368 def variables @variables end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4375 4376 4377 4378 4379 4380 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 4375 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 |