Class: Google::Apis::MigrationcenterV1alpha1::DatabasePreferencesCloudSqlSqlServer

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

Preferences for SQL Server on Cloud SQL.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DatabasePreferencesCloudSqlSqlServer

Returns a new instance of DatabasePreferencesCloudSqlSqlServer.



1974
1975
1976
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1974

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

Instance Attribute Details

#commonGoogle::Apis::MigrationcenterV1alpha1::DatabasePreferencesCloudSqlCommon

Preferences common to Cloud SQL databases. Corresponds to the JSON property common



1961
1962
1963
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1961

def common
  @common
end

#multithreadingString

Optional. Preferences for multithreading support. Corresponds to the JSON property multithreading

Returns:

  • (String)


1966
1967
1968
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1966

def multithreading
  @multithreading
end

#version_typeString

Optional. Edition of Microsoft SQL version that is used on a Cloud SQL for SQL server instance. Corresponds to the JSON property versionType

Returns:

  • (String)


1972
1973
1974
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1972

def version_type
  @version_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1979
1980
1981
1982
1983
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1979

def update!(**args)
  @common = args[:common] if args.key?(:common)
  @multithreading = args[:multithreading] if args.key?(:multithreading)
  @version_type = args[:version_type] if args.key?(:version_type)
end