Class: Google::Apis::MigrationcenterV1alpha1::ComputeEngineShapeDescriptor
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::ComputeEngineShapeDescriptor
- 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
Compute Engine target shape descriptor.
Instance Attribute Summary collapse
-
#logical_core_count ⇒ Fixnum
Number of logical cores.
-
#machine_type ⇒ String
Compute Engine machine type.
-
#memory_mb ⇒ Fixnum
Memory in mebibytes.
-
#physical_core_count ⇒ Fixnum
Number of physical cores.
-
#series ⇒ String
Compute Engine machine series.
-
#storage ⇒ Array<Google::Apis::MigrationcenterV1alpha1::ComputeStorageDescriptor>
Compute Engine storage.
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.
812 813 814 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 812 def initialize(**args) update!(**args) end |
Instance Attribute Details
#logical_core_count ⇒ Fixnum
Number of logical cores.
Corresponds to the JSON property logicalCoreCount
785 786 787 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 785 def logical_core_count @logical_core_count end |
#machine_type ⇒ String
Compute Engine machine type.
Corresponds to the JSON property machineType
790 791 792 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 790 def machine_type @machine_type end |
#memory_mb ⇒ Fixnum
Memory in mebibytes.
Corresponds to the JSON property memoryMb
795 796 797 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 795 def memory_mb @memory_mb end |
#physical_core_count ⇒ Fixnum
Number of physical cores.
Corresponds to the JSON property physicalCoreCount
800 801 802 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 800 def physical_core_count @physical_core_count end |
#series ⇒ String
Compute Engine machine series.
Corresponds to the JSON property series
805 806 807 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 805 def series @series end |
#storage ⇒ Array<Google::Apis::MigrationcenterV1alpha1::ComputeStorageDescriptor>
Compute Engine storage. Never empty.
Corresponds to the JSON property storage
810 811 812 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 810 def storage @storage end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
817 818 819 820 821 822 823 824 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 817 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 |