Class: Google::Apis::VmmigrationV1alpha1::AddGroupMigrationRequest

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

Request message for 'AddGroupMigration' request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AddGroupMigrationRequest

Returns a new instance of AddGroupMigrationRequest.



79
80
81
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 79

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

Instance Attribute Details

#migrating_vmString

The full path name of the MigratingVm to add. Corresponds to the JSON property migratingVm

Returns:

  • (String)


77
78
79
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 77

def migrating_vm
  @migrating_vm
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



84
85
86
# File 'lib/google/apis/vmmigration_v1alpha1/classes.rb', line 84

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