Class: Google::Apis::MigrationcenterV1alpha1::CloudSqlForSqlServerShape

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

Cloud SQL for SQL Server database shape.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudSqlForSqlServerShape

Returns a new instance of CloudSqlForSqlServerShape.



2159
2160
2161
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2159

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

Instance Attribute Details

#backup_storage_gbFixnum

Output only. Predicted backup storage size in GiB. Corresponds to the JSON property backupStorageGb

Returns:

  • (Fixnum)


2114
2115
2116
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2114

def backup_storage_gb
  @backup_storage_gb
end

#editionString

Output only. Cloud SQL edition. Corresponds to the JSON property edition

Returns:

  • (String)


2119
2120
2121
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2119

def edition
  @edition
end

#egress_gb_per_monthFixnum

Output only. Predicted Network Out traffic GiB per month. Corresponds to the JSON property egressGbPerMonth

Returns:

  • (Fixnum)


2124
2125
2126
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2124

def egress_gb_per_month
  @egress_gb_per_month
end

#logical_core_countFixnum

Output only. Number of logical cores. Corresponds to the JSON property logicalCoreCount

Returns:

  • (Fixnum)


2129
2130
2131
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2129

def logical_core_count
  @logical_core_count
end

#memory_mbFixnum

Output only. Predicted amount of memory in MiB. Corresponds to the JSON property memoryMb

Returns:

  • (Fixnum)


2134
2135
2136
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2134

def memory_mb
  @memory_mb
end

#smt_enabledBoolean 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

Returns:

  • (Boolean)


2140
2141
2142
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2140

def smt_enabled
  @smt_enabled
end

#storageGoogle::Apis::MigrationcenterV1alpha1::ComputeStorageDescriptor

Compute Engine storage option descriptor. Corresponds to the JSON property storage



2146
2147
2148
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2146

def storage
  @storage
end

#versionString

Output only. Microsoft SQL Server version to be used on the Cloud SQL for SQL server instance. Corresponds to the JSON property version

Returns:

  • (String)


2152
2153
2154
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2152

def version
  @version
end

#zone_availabilityString

Output only. Cloud SQL zone availability. Corresponds to the JSON property zoneAvailability

Returns:

  • (String)


2157
2158
2159
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2157

def zone_availability
  @zone_availability
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 2164

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