class Google::Apis::NetworkconnectivityV1alpha1::RouterApplianceInstance

RouterAppliance represents a Router appliance which is specified by a VM URI and a NIC address.

Attributes

ip_address[RW]

The IP address of the network interface to use for peering. Corresponds to the JSON property `ipAddress` @return [String]

network_interface[RW]

Corresponds to the JSON property `networkInterface` @return [String]

virtual_machine[RW]

The URI of the virtual machine resource Corresponds to the JSON property `virtualMachine` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/networkconnectivity_v1alpha1/classes.rb, line 755
def update!(**args)
  @ip_address = args[:ip_address] if args.key?(:ip_address)
  @network_interface = args[:network_interface] if args.key?(:network_interface)
  @virtual_machine = args[:virtual_machine] if args.key?(:virtual_machine)
end