Class: Google::Apis::MigrationcenterV1::ComputeEngineShapeDescriptor
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::ComputeEngineShapeDescriptor
- 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
Compute Engine target shape descriptor.
Instance Attribute Summary collapse
-
#logical_core_count ⇒ Fixnum
Output only.
-
#machine_type ⇒ String
Output only.
-
#memory_mb ⇒ Fixnum
Memory in mebibytes.
-
#physical_core_count ⇒ Fixnum
Number of physical cores.
-
#series ⇒ String
Output only.
-
#storage ⇒ Array<Google::Apis::MigrationcenterV1::ComputeStorageDescriptor>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ComputeEngineShapeDescriptor
constructor
A new instance of ComputeEngineShapeDescriptor.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ComputeEngineShapeDescriptor
Returns a new instance of ComputeEngineShapeDescriptor.
1194 1195 1196 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1194 def initialize(**args) update!(**args) end |
Instance Attribute Details
#logical_core_count ⇒ Fixnum
Output only. Number of logical cores.
Corresponds to the JSON property logicalCoreCount
1167 1168 1169 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1167 def logical_core_count @logical_core_count end |
#machine_type ⇒ String
Output only. Compute Engine machine type.
Corresponds to the JSON property machineType
1172 1173 1174 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1172 def machine_type @machine_type end |
#memory_mb ⇒ Fixnum
Memory in mebibytes.
Corresponds to the JSON property memoryMb
1177 1178 1179 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1177 def memory_mb @memory_mb end |
#physical_core_count ⇒ Fixnum
Number of physical cores.
Corresponds to the JSON property physicalCoreCount
1182 1183 1184 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1182 def physical_core_count @physical_core_count end |
#series ⇒ String
Output only. Compute Engine machine series.
Corresponds to the JSON property series
1187 1188 1189 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1187 def series @series end |
#storage ⇒ Array<Google::Apis::MigrationcenterV1::ComputeStorageDescriptor>
Output only. Compute Engine storage. Never empty.
Corresponds to the JSON property storage
1192 1193 1194 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1192 def storage @storage end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1199 1200 1201 1202 1203 1204 1205 1206 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 1199 def update!(**args) @logical_core_count = args[:logical_core_count] if args.key?(:logical_core_count) @machine_type = args[:machine_type] if args.key?(:machine_type) @memory_mb = args[:memory_mb] if args.key?(:memory_mb) @physical_core_count = args[:physical_core_count] if args.key?(:physical_core_count) @series = args[:series] if args.key?(:series) @storage = args[:storage] if args.key?(:storage) end |