Class: Google::Apis::ComputeAlpha::DiskConvertParams
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::DiskConvertParams
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#force_stop_in_progress_snapshot ⇒ Boolean
(also: #force_stop_in_progress_snapshot?)
Corresponds to the JSON property
forceStopInProgressSnapshot. -
#provisioned_iops ⇒ Fixnum
Corresponds to the JSON property
provisionedIops. -
#provisioned_throughput ⇒ Fixnum
Corresponds to the JSON property
provisionedThroughput. -
#quick_conversion_only ⇒ Boolean
(also: #quick_conversion_only?)
Corresponds to the JSON property
quickConversionOnly. -
#reset_supported_vm_families ⇒ Boolean
(also: #reset_supported_vm_families?)
Corresponds to the JSON property
resetSupportedVmFamilies. -
#target_disk_type ⇒ String
Corresponds to the JSON property
targetDiskType.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DiskConvertParams
constructor
A new instance of DiskConvertParams.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DiskConvertParams
Returns a new instance of DiskConvertParams.
12741 12742 12743 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 12741 def initialize(**args) update!(**args) end |
Instance Attribute Details
#force_stop_in_progress_snapshot ⇒ Boolean Also known as: force_stop_in_progress_snapshot?
Corresponds to the JSON property forceStopInProgressSnapshot
12711 12712 12713 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 12711 def force_stop_in_progress_snapshot @force_stop_in_progress_snapshot end |
#provisioned_iops ⇒ Fixnum
Corresponds to the JSON property provisionedIops
12717 12718 12719 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 12717 def provisioned_iops @provisioned_iops end |
#provisioned_throughput ⇒ Fixnum
Corresponds to the JSON property provisionedThroughput
12722 12723 12724 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 12722 def provisioned_throughput @provisioned_throughput end |
#quick_conversion_only ⇒ Boolean Also known as: quick_conversion_only?
Corresponds to the JSON property quickConversionOnly
12727 12728 12729 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 12727 def quick_conversion_only @quick_conversion_only end |
#reset_supported_vm_families ⇒ Boolean Also known as: reset_supported_vm_families?
Corresponds to the JSON property resetSupportedVmFamilies
12733 12734 12735 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 12733 def reset_supported_vm_families @reset_supported_vm_families end |
#target_disk_type ⇒ String
Corresponds to the JSON property targetDiskType
12739 12740 12741 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 12739 def target_disk_type @target_disk_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12746 12747 12748 12749 12750 12751 12752 12753 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 12746 def update!(**args) @force_stop_in_progress_snapshot = args[:force_stop_in_progress_snapshot] if args.key?(:force_stop_in_progress_snapshot) @provisioned_iops = args[:provisioned_iops] if args.key?(:provisioned_iops) @provisioned_throughput = args[:provisioned_throughput] if args.key?(:provisioned_throughput) @quick_conversion_only = args[:quick_conversion_only] if args.key?(:quick_conversion_only) @reset_supported_vm_families = args[:reset_supported_vm_families] if args.key?(:reset_supported_vm_families) @target_disk_type = args[:target_disk_type] if args.key?(:target_disk_type) end |