Class: Google::Apis::ComputeV1::GlobalAddressesMoveRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GlobalAddressesMoveRequest

Returns a new instance of GlobalAddressesMoveRequest.



14336
14337
14338
# File 'lib/google/apis/compute_v1/classes.rb', line 14336

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

Instance Attribute Details

#descriptionString

An optional destination address description if intended to be different from the source. Corresponds to the JSON property description

Returns:

  • (String)


14322
14323
14324
# File 'lib/google/apis/compute_v1/classes.rb', line 14322

def description
  @description
end

#destination_addressString

The URL of the destination address to move to. This can be a full or partial URL. For example, the following are all valid URLs to a address:

Returns:

  • (String)


14334
14335
14336
# File 'lib/google/apis/compute_v1/classes.rb', line 14334

def destination_address
  @destination_address
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14341
14342
14343
14344
# File 'lib/google/apis/compute_v1/classes.rb', line 14341

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