Class: Google::Cloud::Notebooks::V2::NetworkInterface
- Inherits:
-
Object
- Object
- Google::Cloud::Notebooks::V2::NetworkInterface
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/notebooks/v2/gce_setup.rb
Overview
The definition of a network interface resource attached to a VM.
Defined Under Namespace
Modules: NicType
Instance Attribute Summary collapse
-
#network ⇒ ::String
Optional.
-
#nic_type ⇒ ::Google::Cloud::Notebooks::V2::NetworkInterface::NicType
Optional.
-
#subnet ⇒ ::String
Optional.
Instance Attribute Details
#network ⇒ ::String
Returns Optional. The name of the VPC that this VM instance is in.
Format:
projects/{project_id}/global/networks/{network_id}
.
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
# File 'proto_docs/google/cloud/notebooks/v2/gce_setup.rb', line 39 class NetworkInterface include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of vNIC driver. # Default should be NIC_TYPE_UNSPECIFIED. module NicType # No type specified. NIC_TYPE_UNSPECIFIED = 0 # VIRTIO VIRTIO_NET = 1 # GVNIC GVNIC = 2 end end |
#nic_type ⇒ ::Google::Cloud::Notebooks::V2::NetworkInterface::NicType
Returns Optional. The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet.
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
# File 'proto_docs/google/cloud/notebooks/v2/gce_setup.rb', line 39 class NetworkInterface include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of vNIC driver. # Default should be NIC_TYPE_UNSPECIFIED. module NicType # No type specified. NIC_TYPE_UNSPECIFIED = 0 # VIRTIO VIRTIO_NET = 1 # GVNIC GVNIC = 2 end end |
#subnet ⇒ ::String
Returns Optional. The name of the subnet that this VM instance is in.
Format:
projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}
.
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
# File 'proto_docs/google/cloud/notebooks/v2/gce_setup.rb', line 39 class NetworkInterface include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of vNIC driver. # Default should be NIC_TYPE_UNSPECIFIED. module NicType # No type specified. NIC_TYPE_UNSPECIFIED = 0 # VIRTIO VIRTIO_NET = 1 # GVNIC GVNIC = 2 end end |