Class: Google::Apis::MigrationcenterV1alpha1::CloudDatabaseMigrationTarget
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::CloudDatabaseMigrationTarget
- 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
Cloud database migration target.
Instance Attribute Summary collapse
-
#cloud_sql_for_mysql_shape ⇒ Google::Apis::MigrationcenterV1alpha1::CloudSqlForMySqlShape
Cloud SQL for MySQL database shape.
-
#cloud_sql_for_postgresql_shape ⇒ Google::Apis::MigrationcenterV1alpha1::CloudSqlForPostgreSqlShape
Cloud SQL for PostgreSQL database shape.
-
#cloud_sql_shape ⇒ Google::Apis::MigrationcenterV1alpha1::CloudSqlForSqlServerShape
Cloud SQL for SQL Server database shape.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudDatabaseMigrationTarget
constructor
A new instance of CloudDatabaseMigrationTarget.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudDatabaseMigrationTarget
Returns a new instance of CloudDatabaseMigrationTarget.
1106 1107 1108 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1106 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_sql_for_mysql_shape ⇒ Google::Apis::MigrationcenterV1alpha1::CloudSqlForMySqlShape
Cloud SQL for MySQL database shape.
Corresponds to the JSON property cloudSqlForMysqlShape
1094 1095 1096 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1094 def cloud_sql_for_mysql_shape @cloud_sql_for_mysql_shape end |
#cloud_sql_for_postgresql_shape ⇒ Google::Apis::MigrationcenterV1alpha1::CloudSqlForPostgreSqlShape
Cloud SQL for PostgreSQL database shape.
Corresponds to the JSON property cloudSqlForPostgresqlShape
1099 1100 1101 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1099 def cloud_sql_for_postgresql_shape @cloud_sql_for_postgresql_shape end |
#cloud_sql_shape ⇒ Google::Apis::MigrationcenterV1alpha1::CloudSqlForSqlServerShape
Cloud SQL for SQL Server database shape.
Corresponds to the JSON property cloudSqlShape
1104 1105 1106 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1104 def cloud_sql_shape @cloud_sql_shape end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1111 1112 1113 1114 1115 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1111 def update!(**args) @cloud_sql_for_mysql_shape = args[:cloud_sql_for_mysql_shape] if args.key?(:cloud_sql_for_mysql_shape) @cloud_sql_for_postgresql_shape = args[:cloud_sql_for_postgresql_shape] if args.key?(:cloud_sql_for_postgresql_shape) @cloud_sql_shape = args[:cloud_sql_shape] if args.key?(:cloud_sql_shape) end |