Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class NetworkInterface.
NetworkInterface represents a NIC of a VM.
Generated from protobuf message google.cloud.vmmigration.v1.NetworkInterface
Namespace
Google \ Cloud \ VMMigration \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ network
string
The network to connect the NIC to.
↳ subnetwork
string
The subnetwork to connect the NIC to.
↳ internal_ip
string
The internal IP to define in the NIC. The formats accepted are: ephemeral
\ ipv4 address \ a named address resource full path.
↳ external_ip
string
The external IP to define in the NIC.
getNetwork
The network to connect the NIC to.
string
setNetwork
The network to connect the NIC to.
var
string
$this
getSubnetwork
The subnetwork to connect the NIC to.
string
setSubnetwork
The subnetwork to connect the NIC to.
var
string
$this
getInternalIp
The internal IP to define in the NIC.
The formats accepted are: ephemeral
\ ipv4 address \ a named address
resource full path.
string
setInternalIp
The internal IP to define in the NIC.
The formats accepted are: ephemeral
\ ipv4 address \ a named address
resource full path.
var
string
$this
getExternalIp
The external IP to define in the NIC.
string
setExternalIp
The external IP to define in the NIC.
var
string
$this