Class: Google::Apis::MigrationcenterV1::DatabaseDeploymentTopology
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::DatabaseDeploymentTopology
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1/classes.rb,
lib/google/apis/migrationcenter_v1/representations.rb,
lib/google/apis/migrationcenter_v1/representations.rb
Overview
Details of database deployment's topology.
Instance Attribute Summary collapse
-
#core_count ⇒ Fixnum
Optional.
-
#core_limit ⇒ Fixnum
Optional.
-
#disk_allocated_bytes ⇒ Fixnum
Optional.
-
#disk_used_bytes ⇒ Fixnum
Optional.
-
#instances ⇒ Array<Google::Apis::MigrationcenterV1::DatabaseInstance>
Optional.
-
#memory_bytes ⇒ Fixnum
Optional.
-
#memory_limit_bytes ⇒ Fixnum
Optional.
-
#physical_core_count ⇒ Fixnum
Optional.
-
#physical_core_limit ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DatabaseDeploymentTopology
constructor
A new instance of DatabaseDeploymentTopology.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DatabaseDeploymentTopology
Returns a new instance of DatabaseDeploymentTopology.
1251 1252 1253 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1251 def initialize(**args) update!(**args) end |
Instance Attribute Details
#core_count ⇒ Fixnum
Optional. Number of total logical cores.
Corresponds to the JSON property coreCount
1209 1210 1211 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1209 def core_count @core_count end |
#core_limit ⇒ Fixnum
Optional. Number of total logical cores limited by db deployment.
Corresponds to the JSON property coreLimit
1214 1215 1216 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1214 def core_limit @core_limit end |
#disk_allocated_bytes ⇒ Fixnum
Optional. Disk allocated in bytes.
Corresponds to the JSON property diskAllocatedBytes
1219 1220 1221 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1219 def disk_allocated_bytes @disk_allocated_bytes end |
#disk_used_bytes ⇒ Fixnum
Optional. Disk used in bytes.
Corresponds to the JSON property diskUsedBytes
1224 1225 1226 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1224 def disk_used_bytes @disk_used_bytes end |
#instances ⇒ Array<Google::Apis::MigrationcenterV1::DatabaseInstance>
Optional. List of database instances.
Corresponds to the JSON property instances
1229 1230 1231 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1229 def instances @instances end |
#memory_bytes ⇒ Fixnum
Optional. Total memory in bytes.
Corresponds to the JSON property memoryBytes
1234 1235 1236 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1234 def memory_bytes @memory_bytes end |
#memory_limit_bytes ⇒ Fixnum
Optional. Total memory in bytes limited by db deployment.
Corresponds to the JSON property memoryLimitBytes
1239 1240 1241 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1239 def memory_limit_bytes @memory_limit_bytes end |
#physical_core_count ⇒ Fixnum
Optional. Number of total physical cores.
Corresponds to the JSON property physicalCoreCount
1244 1245 1246 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1244 def physical_core_count @physical_core_count end |
#physical_core_limit ⇒ Fixnum
Optional. Number of total physical cores limited by db deployment.
Corresponds to the JSON property physicalCoreLimit
1249 1250 1251 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1249 def physical_core_limit @physical_core_limit end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1256 def update!(**args) @core_count = args[:core_count] if args.key?(:core_count) @core_limit = args[:core_limit] if args.key?(:core_limit) @disk_allocated_bytes = args[:disk_allocated_bytes] if args.key?(:disk_allocated_bytes) @disk_used_bytes = args[:disk_used_bytes] if args.key?(:disk_used_bytes) @instances = args[:instances] if args.key?(:instances) @memory_bytes = args[:memory_bytes] if args.key?(:memory_bytes) @memory_limit_bytes = args[:memory_limit_bytes] if args.key?(:memory_limit_bytes) @physical_core_count = args[:physical_core_count] if args.key?(:physical_core_count) @physical_core_limit = args[:physical_core_limit] if args.key?(:physical_core_limit) end |