Class: Google::Apis::ComputeAlpha::DiskConvertParams

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DiskConvertParams

Returns a new instance of DiskConvertParams.



11651
11652
11653
# File 'lib/google/apis/compute_alpha/classes.rb', line 11651

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

Instance Attribute Details

#force_stop_in_progress_snapshotBoolean Also known as: force_stop_in_progress_snapshot?

Corresponds to the JSON property forceStopInProgressSnapshot

Returns:

  • (Boolean)


11621
11622
11623
# File 'lib/google/apis/compute_alpha/classes.rb', line 11621

def force_stop_in_progress_snapshot
  @force_stop_in_progress_snapshot
end

#provisioned_iopsFixnum

Corresponds to the JSON property provisionedIops

Returns:

  • (Fixnum)


11627
11628
11629
# File 'lib/google/apis/compute_alpha/classes.rb', line 11627

def provisioned_iops
  @provisioned_iops
end

#provisioned_throughputFixnum

Corresponds to the JSON property provisionedThroughput

Returns:

  • (Fixnum)


11632
11633
11634
# File 'lib/google/apis/compute_alpha/classes.rb', line 11632

def provisioned_throughput
  @provisioned_throughput
end

#quick_conversion_onlyBoolean Also known as: quick_conversion_only?

Corresponds to the JSON property quickConversionOnly

Returns:

  • (Boolean)


11637
11638
11639
# File 'lib/google/apis/compute_alpha/classes.rb', line 11637

def quick_conversion_only
  @quick_conversion_only
end

#reset_supported_vm_familiesBoolean Also known as: reset_supported_vm_families?

Corresponds to the JSON property resetSupportedVmFamilies

Returns:

  • (Boolean)


11643
11644
11645
# File 'lib/google/apis/compute_alpha/classes.rb', line 11643

def reset_supported_vm_families
  @reset_supported_vm_families
end

#target_disk_typeString

Corresponds to the JSON property targetDiskType

Returns:

  • (String)


11649
11650
11651
# File 'lib/google/apis/compute_alpha/classes.rb', line 11649

def target_disk_type
  @target_disk_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11656
11657
11658
11659
11660
11661
11662
11663
# File 'lib/google/apis/compute_alpha/classes.rb', line 11656

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