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.



2027
2028
2029
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2027

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



2015
2016
2017
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2015

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



2020
2021
2022
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2020

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



2025
2026
2027
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2025

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



2032
2033
2034
2035
2036
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2032

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