class Google::Apis::ComputeV1::MoveInstanceRequest

Attributes

destination_zone[RW]

The URL of the destination zone to move the instance. This can be a full or partial URL. For example, the following are all valid URLs to a zone: - https:/ /www.googleapis.com/compute/v1/projects/project/zones/zone - projects/project/ zones/zone - zones/zone Corresponds to the JSON property `destinationZone` @return [String]

target_instance[RW]

The URL of the target instance to move. This can be a full or partial URL. For example, the following are all valid URLs to an instance: - www. googleapis.com/compute/v1/projects/project/zones/zone /instances/instance - projects/project/zones/zone/instances/instance - zones/zone/instances/instance Corresponds to the JSON property `targetInstance` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 15442
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 15447
def update!(**args)
  @destination_zone = args[:destination_zone] if args.key?(:destination_zone)
  @target_instance = args[:target_instance] if args.key?(:target_instance)
end