Class: Google::Apis::SqladminV1::SqlServerDatabaseDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/sqladmin_v1/classes.rb,
lib/google/apis/sqladmin_v1/representations.rb,
lib/google/apis/sqladmin_v1/representations.rb

Overview

Represents a Sql Server database on the Cloud SQL instance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SqlServerDatabaseDetails

Returns a new instance of SqlServerDatabaseDetails.



5895
5896
5897
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 5895

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

Instance Attribute Details

#compatibility_levelFixnum

The version of SQL Server with which the database is to be made compatible Corresponds to the JSON property compatibilityLevel

Returns:

  • (Fixnum)


5888
5889
5890
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 5888

def compatibility_level
  @compatibility_level
end

#recovery_modelString

The recovery model of a SQL Server database Corresponds to the JSON property recoveryModel

Returns:

  • (String)


5893
5894
5895
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 5893

def recovery_model
  @recovery_model
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5900
5901
5902
5903
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 5900

def update!(**args)
  @compatibility_level = args[:compatibility_level] if args.key?(:compatibility_level)
  @recovery_model = args[:recovery_model] if args.key?(:recovery_model)
end