Class: Google::Apis::VmmigrationV1alpha1::ListMigratingVmsResponse

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 'ListMigratingVms' request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListMigratingVmsResponse

Returns a new instance of ListMigratingVmsResponse.



2719
2720
2721
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2719

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

Instance Attribute Details

#migrating_vmsArray<Google::Apis::VmmigrationV1alpha1::MigratingVm>

Output only. The list of Migrating VMs response. Corresponds to the JSON property migratingVms



2706
2707
2708
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2706

def migrating_vms
  @migrating_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)


2712
2713
2714
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2712

def next_page_token
  @next_page_token
end

#unreachableArray<String>

Output only. Locations that could not be reached. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


2717
2718
2719
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2717

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2724
2725
2726
2727
2728
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 2724

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