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
Optional. The network to connect the NIC to.
↳ subnetwork
string
Optional. The subnetwork to connect the NIC to.
↳ internal_ip
string
Optional. The internal IP to define in the NIC. The formats accepted are: ephemeral
\ ipv4 address \ a named address resource full path.
↳ external_ip
string
Optional. The external IP to define in the NIC.
↳ network_tier
int
Optional. The networking tier used for optimizing connectivity between instances and systems on the internet. Applies only for external ephemeral IP addresses. If left empty, will default to PREMIUM.
getNetwork
Optional. The network to connect the NIC to.
string
setNetwork
Optional. The network to connect the NIC to.
var
string
$this
getSubnetwork
Optional. The subnetwork to connect the NIC to.
string
setSubnetwork
Optional. The subnetwork to connect the NIC to.
var
string
$this
getInternalIp
Optional. The internal IP to define in the NIC.
The formats accepted are: ephemeral
\ ipv4 address \ a named address
resource full path.
string
setInternalIp
Optional. 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
Optional. The external IP to define in the NIC.
string
setExternalIp
Optional. The external IP to define in the NIC.
var
string
$this
getNetworkTier
Optional. The networking tier used for optimizing connectivity between instances and systems on the internet. Applies only for external ephemeral IP addresses. If left empty, will default to PREMIUM.
setNetworkTier
Optional. The networking tier used for optimizing connectivity between instances and systems on the internet. Applies only for external ephemeral IP addresses. If left empty, will default to PREMIUM.
$this

