Class: Google::Apis::ComputeAlpha::GlobalAddressesMoveRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GlobalAddressesMoveRequest

Returns a new instance of GlobalAddressesMoveRequest.



10847
10848
10849
# File 'lib/google/apis/compute_alpha/classes.rb', line 10847

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)


10835
10836
10837
# File 'lib/google/apis/compute_alpha/classes.rb', line 10835

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: - https://www. googleapis.com/compute/v1/projects/project /global/addresses/address - projects/project/global/addresses/address Note that destination project must be different from the source project. So /global/addresses/address is not valid partial url. Corresponds to the JSON property destinationAddress

Returns:

  • (String)


10845
10846
10847
# File 'lib/google/apis/compute_alpha/classes.rb', line 10845

def destination_address
  @destination_address
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10852
10853
10854
10855
# File 'lib/google/apis/compute_alpha/classes.rb', line 10852

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