Migrate for Compute Engine V1 API - Class Google::Cloud::VMMigration::V1::NetworkInterface (v1.0.1)

Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Cloud::VMMigration::V1::NetworkInterface.

NetworkInterface represents a NIC of a VM.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#external_ip

def external_ip() -> ::String
Returns
  • (::String) — The external IP to define in the NIC.

#external_ip=

def external_ip=(value) -> ::String
Parameter
  • value (::String) — The external IP to define in the NIC.
Returns
  • (::String) — The external IP to define in the NIC.

#internal_ip

def internal_ip() -> ::String
Returns
  • (::String) — The internal IP to define in the NIC. The formats accepted are: ephemeral \ ipv4 address \ a named address resource full path.

#internal_ip=

def internal_ip=(value) -> ::String
Parameter
  • value (::String) — The internal IP to define in the NIC. The formats accepted are: ephemeral \ ipv4 address \ a named address resource full path.
Returns
  • (::String) — The internal IP to define in the NIC. The formats accepted are: ephemeral \ ipv4 address \ a named address resource full path.

#network

def network() -> ::String
Returns
  • (::String) — The network to connect the NIC to.

#network=

def network=(value) -> ::String
Parameter
  • value (::String) — The network to connect the NIC to.
Returns
  • (::String) — The network to connect the NIC to.

#subnetwork

def subnetwork() -> ::String
Returns
  • (::String) — The subnetwork to connect the NIC to.

#subnetwork=

def subnetwork=(value) -> ::String
Parameter
  • value (::String) — The subnetwork to connect the NIC to.
Returns
  • (::String) — The subnetwork to connect the NIC to.