Reference documentation and code samples for the Google Cloud Notebooks V2 Client class NetworkInterface.
The definition of a network interface resource attached to a VM.
Generated from protobuf message google.cloud.notebooks.v2.NetworkInterface
Namespace
Google \ Cloud \ Notebooks \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ network
string
Optional. The name of the VPC that this VM instance is in. Format: projects/{project_id}/global/networks/{network_id}
↳ subnet
string
Optional. The name of the subnet that this VM instance is in. Format: projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}
↳ nic_type
int
Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
getNetwork
Optional. The name of the VPC that this VM instance is in.
Format: projects/{project_id}/global/networks/{network_id}
string
setNetwork
Optional. The name of the VPC that this VM instance is in.
Format: projects/{project_id}/global/networks/{network_id}
var
string
$this
getSubnet
Optional. The name of the subnet that this VM instance is in.
Format: projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}
string
setSubnet
Optional. The name of the subnet that this VM instance is in.
Format: projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}
var
string
$this
getNicType
Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
int
setNicType
Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
var
int
$this