Class: Google::Apis::MigrationcenterV1::VmwareDiskConfig

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

VMware disk config details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ VmwareDiskConfig

Returns a new instance of VmwareDiskConfig.



5012
5013
5014
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5012

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

Instance Attribute Details

#backing_typeString

VMDK backing type. Corresponds to the JSON property backingType

Returns:

  • (String)


4994
4995
4996
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4994

def backing_type
  @backing_type
end

#rdm_compatibilityString

RDM compatibility mode. Corresponds to the JSON property rdmCompatibility

Returns:

  • (String)


4999
5000
5001
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4999

def rdm_compatibility
  @rdm_compatibility
end

#sharedBoolean Also known as: shared?

Is VMDK shared with other VMs. Corresponds to the JSON property shared

Returns:

  • (Boolean)


5004
5005
5006
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5004

def shared
  @shared
end

#vmdk_modeString

VMDK disk mode. Corresponds to the JSON property vmdkMode

Returns:

  • (String)


5010
5011
5012
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5010

def vmdk_mode
  @vmdk_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5017
5018
5019
5020
5021
5022
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5017

def update!(**args)
  @backing_type = args[:backing_type] if args.key?(:backing_type)
  @rdm_compatibility = args[:rdm_compatibility] if args.key?(:rdm_compatibility)
  @shared = args[:shared] if args.key?(:shared)
  @vmdk_mode = args[:vmdk_mode] if args.key?(:vmdk_mode)
end