Class: Google::Apis::MigrationcenterV1alpha1::DatabasePreferences

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

DatabasePreferences enables you to create sets of preferences for your migrated databases.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DatabasePreferences

Returns a new instance of DatabasePreferences.



2499
2500
2501
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2499

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

Instance Attribute Details

#mssql_to_cloud_sql_for_sql_server_preferencesGoogle::Apis::MigrationcenterV1alpha1::DatabasePreferencesCloudSqlSqlServer

Preferences for SQL Server on Cloud SQL. Corresponds to the JSON property mssqlToCloudSqlForSqlServerPreferences



2487
2488
2489
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2487

def mssql_to_cloud_sql_for_sql_server_preferences
  @mssql_to_cloud_sql_for_sql_server_preferences
end

#mysql_to_cloud_sql_for_mysql_preferencesGoogle::Apis::MigrationcenterV1alpha1::DatabasePreferencesCloudSqlMySql

Preferences for MySQL on Cloud SQL. Corresponds to the JSON property mysqlToCloudSqlForMysqlPreferences



2492
2493
2494
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2492

def mysql_to_cloud_sql_for_mysql_preferences
  @mysql_to_cloud_sql_for_mysql_preferences
end

#postgresql_to_cloud_sql_for_postgresql_preferencesGoogle::Apis::MigrationcenterV1alpha1::DatabasePreferencesCloudSqlPostgreSql

Preferences for PostgreSQL on Cloud SQL. Corresponds to the JSON property postgresqlToCloudSqlForPostgresqlPreferences



2497
2498
2499
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2497

def postgresql_to_cloud_sql_for_postgresql_preferences
  @postgresql_to_cloud_sql_for_postgresql_preferences
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2504
2505
2506
2507
2508
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2504

def update!(**args)
  @mssql_to_cloud_sql_for_sql_server_preferences = args[:mssql_to_cloud_sql_for_sql_server_preferences] if args.key?(:mssql_to_cloud_sql_for_sql_server_preferences)
  @mysql_to_cloud_sql_for_mysql_preferences = args[:mysql_to_cloud_sql_for_mysql_preferences] if args.key?(:mysql_to_cloud_sql_for_mysql_preferences)
  @postgresql_to_cloud_sql_for_postgresql_preferences = args[:postgresql_to_cloud_sql_for_postgresql_preferences] if args.key?(:postgresql_to_cloud_sql_for_postgresql_preferences)
end