Class: Google::Apis::VmmigrationV1::FetchInventoryResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/vmmigration_v1/classes.rb,
lib/google/apis/vmmigration_v1/representations.rb,
lib/google/apis/vmmigration_v1/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.



763
764
765
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 763

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

Instance Attribute Details

#next_page_tokenString

Output only. A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


750
751
752
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 750

def next_page_token
  @next_page_token
end

#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)


756
757
758
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 756

def update_time
  @update_time
end

#vmware_vmsGoogle::Apis::VmmigrationV1::VmwareVmsDetails

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



761
762
763
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 761

def vmware_vms
  @vmware_vms
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



768
769
770
771
772
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 768

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