Class: Google::Apis::VmmigrationV1alpha1::FetchInventoryResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/vmmigration_v1alpha1/classes.rb,
lib/google/apis/vmmigration_v1alpha1/representations.rb,
lib/google/apis/vmmigration_v1alpha1/representations.rb

Overview

Response message for fetchInventory.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FetchInventoryResponse

Returns a new instance of FetchInventoryResponse.



818
819
820
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 818

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

Instance Attribute Details

#update_timeString

Output only. The timestamp when the source was last queried (if the result is from the cache). Corresponds to the JSON property updateTime

Returns:

  • (String)


811
812
813
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 811

def update_time
  @update_time
end

#vmware_vmsGoogle::Apis::VmmigrationV1alpha1::VmwareVmsDetails

VmwareVmsDetails describes VMs in vCenter. Corresponds to the JSON property vmwareVms



816
817
818
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 816

def vmware_vms
  @vmware_vms
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



823
824
825
826
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 823

def update!(**args)
  @update_time = args[:update_time] if args.key?(:update_time)
  @vmware_vms = args[:vmware_vms] if args.key?(:vmware_vms)
end