Class: Google::Apis::SqladminV1beta4::SqlServerDatabaseDetails
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1beta4::SqlServerDatabaseDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sqladmin_v1beta4/classes.rb,
generated/google/apis/sqladmin_v1beta4/representations.rb,
generated/google/apis/sqladmin_v1beta4/representations.rb
Overview
Represents a Sql Server database on the Cloud SQL instance.
Instance Attribute Summary collapse
-
#compatibility_level ⇒ Fixnum
The version of SQL Server with which the database is to be made compatible Corresponds to the JSON property
compatibilityLevel
. -
#recovery_model ⇒ String
The recovery model of a SQL Server database Corresponds to the JSON property
recoveryModel
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SqlServerDatabaseDetails
constructor
A new instance of SqlServerDatabaseDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SqlServerDatabaseDetails
Returns a new instance of SqlServerDatabaseDetails.
2695 2696 2697 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2695 def initialize(**args) update!(**args) end |
Instance Attribute Details
#compatibility_level ⇒ Fixnum
The version of SQL Server with which the database is to be made compatible
Corresponds to the JSON property compatibilityLevel
2688 2689 2690 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2688 def compatibility_level @compatibility_level end |
#recovery_model ⇒ String
The recovery model of a SQL Server database
Corresponds to the JSON property recoveryModel
2693 2694 2695 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2693 def recovery_model @recovery_model end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2700 2701 2702 2703 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2700 def update!(**args) @compatibility_level = args[:compatibility_level] if args.key?(:compatibility_level) @recovery_model = args[:recovery_model] if args.key?(:recovery_model) end |