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.



1828
1829
1830
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1828

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



1816
1817
1818
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1816

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



1821
1822
1823
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1821

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



1826
1827
1828
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1826

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



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

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