Class: Google::Apis::VmmigrationV1alpha1::FetchInventoryResponse
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1alpha1::FetchInventoryResponse
- 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
-
#aws_vms ⇒ Google::Apis::VmmigrationV1alpha1::AwsVmsDetails
AWSVmsDetails describes VMs in AWS.
-
#next_page_token ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
-
#vmware_vms ⇒ Google::Apis::VmmigrationV1alpha1::VmwareVmsDetails
VmwareVmsDetails describes VMs in vCenter.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FetchInventoryResponse
constructor
A new instance of FetchInventoryResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FetchInventoryResponse
Returns a new instance of FetchInventoryResponse.
1326 1327 1328 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1326 def initialize(**args) update!(**args) end |
Instance Attribute Details
#aws_vms ⇒ Google::Apis::VmmigrationV1alpha1::AwsVmsDetails
AWSVmsDetails describes VMs in AWS.
Corresponds to the JSON property awsVms
1307 1308 1309 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1307 def aws_vms @aws_vms end |
#next_page_token ⇒ String
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
1313 1314 1315 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1313 def next_page_token @next_page_token end |
#update_time ⇒ String
Output only. The timestamp when the source was last queried (if the result is
from the cache).
Corresponds to the JSON property updateTime
1319 1320 1321 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1319 def update_time @update_time end |
#vmware_vms ⇒ Google::Apis::VmmigrationV1alpha1::VmwareVmsDetails
VmwareVmsDetails describes VMs in vCenter.
Corresponds to the JSON property vmwareVms
1324 1325 1326 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1324 def vmware_vms @vmware_vms end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1331 1332 1333 1334 1335 1336 |
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 1331 def update!(**args) @aws_vms = args[:aws_vms] if args.key?(:aws_vms) @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 |