Class: Google::Apis::MigrationcenterV1alpha1::CloudSqlForSqlServerShape
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::CloudSqlForSqlServerShape
- 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
Cloud SQL for SQL Server database shape.
Instance Attribute Summary collapse
-
#backup_storage_gb ⇒ Fixnum
Output only.
-
#edition ⇒ String
Output only.
-
#egress_gb_per_month ⇒ Fixnum
Output only.
-
#logical_core_count ⇒ Fixnum
Output only.
-
#memory_mb ⇒ Fixnum
Output only.
-
#smt_enabled ⇒ Boolean
(also: #smt_enabled?)
Output only.
-
#storage ⇒ Google::Apis::MigrationcenterV1alpha1::ComputeStorageDescriptor
Compute Engine storage option descriptor.
-
#version ⇒ String
Output only.
-
#zone_availability ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudSqlForSqlServerShape
constructor
A new instance of CloudSqlForSqlServerShape.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudSqlForSqlServerShape
Returns a new instance of CloudSqlForSqlServerShape.
2034 2035 2036 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2034 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backup_storage_gb ⇒ Fixnum
Output only. Predicted backup storage size in GiB.
Corresponds to the JSON property backupStorageGb
1989 1990 1991 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1989 def backup_storage_gb @backup_storage_gb end |
#edition ⇒ String
Output only. Cloud SQL edition.
Corresponds to the JSON property edition
1994 1995 1996 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1994 def edition @edition end |
#egress_gb_per_month ⇒ Fixnum
Output only. Predicted Network Out traffic GiB per month.
Corresponds to the JSON property egressGbPerMonth
1999 2000 2001 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 1999 def egress_gb_per_month @egress_gb_per_month end |
#logical_core_count ⇒ Fixnum
Output only. Number of logical cores.
Corresponds to the JSON property logicalCoreCount
2004 2005 2006 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2004 def logical_core_count @logical_core_count end |
#memory_mb ⇒ Fixnum
Output only. Predicted amount of memory in MiB.
Corresponds to the JSON property memoryMb
2009 2010 2011 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2009 def memory_mb @memory_mb end |
#smt_enabled ⇒ Boolean Also known as: smt_enabled?
Output only. Whether simultaneous multithreading is enabled (see https://cloud.
google.com/sql/docs/sqlserver/create-instance#smt-create-instance).
Corresponds to the JSON property smtEnabled
2015 2016 2017 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2015 def smt_enabled @smt_enabled end |
#storage ⇒ Google::Apis::MigrationcenterV1alpha1::ComputeStorageDescriptor
Compute Engine storage option descriptor.
Corresponds to the JSON property storage
2021 2022 2023 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2021 def storage @storage end |
#version ⇒ String
Output only. Microsoft SQL Server version to be used on the Cloud SQL for SQL
server instance.
Corresponds to the JSON property version
2027 2028 2029 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2027 def version @version end |
#zone_availability ⇒ String
Output only. Cloud SQL zone availability.
Corresponds to the JSON property zoneAvailability
2032 2033 2034 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2032 def zone_availability @zone_availability end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2039 def update!(**args) @backup_storage_gb = args[:backup_storage_gb] if args.key?(:backup_storage_gb) @edition = args[:edition] if args.key?(:edition) @egress_gb_per_month = args[:egress_gb_per_month] if args.key?(:egress_gb_per_month) @logical_core_count = args[:logical_core_count] if args.key?(:logical_core_count) @memory_mb = args[:memory_mb] if args.key?(:memory_mb) @smt_enabled = args[:smt_enabled] if args.key?(:smt_enabled) @storage = args[:storage] if args.key?(:storage) @version = args[:version] if args.key?(:version) @zone_availability = args[:zone_availability] if args.key?(:zone_availability) end |