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.



2118
2119
2120
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2118

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

Instance Attribute Details

#aws_vmsGoogle::Apis::VmmigrationV1alpha1::AwsVmsDetails

AWSVmsDetails describes VMs in AWS. Corresponds to the JSON property awsVms



2094
2095
2096
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2094

def aws_vms
  @aws_vms
end

#azure_vmsGoogle::Apis::VmmigrationV1alpha1::AzureVmsDetails

AzureVmsDetails describes VMs in Azure. Corresponds to the JSON property azureVms



2099
2100
2101
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2099

def azure_vms
  @azure_vms
end

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


2105
2106
2107
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2105

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)


2111
2112
2113
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2111

def update_time
  @update_time
end

#vmware_vmsGoogle::Apis::VmmigrationV1alpha1::VmwareVmsDetails

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



2116
2117
2118
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2116

def vmware_vms
  @vmware_vms
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2123
2124
2125
2126
2127
2128
2129
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2123

def update!(**args)
  @aws_vms = args[:aws_vms] if args.key?(:aws_vms)
  @azure_vms = args[:azure_vms] if args.key?(:azure_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