Class: Google::Apis::MigrationcenterV1alpha1::CloudDatabaseMigrationTarget

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

Cloud database migration target.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudDatabaseMigrationTarget

Returns a new instance of CloudDatabaseMigrationTarget.



1847
1848
1849
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1847

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

Instance Attribute Details

#cloud_sql_for_mysql_shapeGoogle::Apis::MigrationcenterV1alpha1::CloudSqlForMySqlShape

Cloud SQL for MySQL database shape. Corresponds to the JSON property cloudSqlForMysqlShape



1835
1836
1837
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1835

def cloud_sql_for_mysql_shape
  @cloud_sql_for_mysql_shape
end

#cloud_sql_for_postgresql_shapeGoogle::Apis::MigrationcenterV1alpha1::CloudSqlForPostgreSqlShape

Cloud SQL for PostgreSQL database shape. Corresponds to the JSON property cloudSqlForPostgresqlShape



1840
1841
1842
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1840

def cloud_sql_for_postgresql_shape
  @cloud_sql_for_postgresql_shape
end

#cloud_sql_shapeGoogle::Apis::MigrationcenterV1alpha1::CloudSqlForSqlServerShape

Cloud SQL for SQL Server database shape. Corresponds to the JSON property cloudSqlShape



1845
1846
1847
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1845

def cloud_sql_shape
  @cloud_sql_shape
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1852
1853
1854
1855
1856
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1852

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