public sealed class NetworkInterface : IMessage<NetworkInterface>, IEquatable<NetworkInterface>, IDeepCloneable<NetworkInterface>, IBufferMessage, IMessage
Reference documentation and code samples for the Notebooks v2 API class NetworkInterface.
The definition of a network interface resource attached to a VM.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation details the \u003ccode\u003eNetworkInterface\u003c/code\u003e class within the Google Cloud Notebooks v2 API, outlining its structure and functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkInterface\u003c/code\u003e class, which is part of the \u003ccode\u003eGoogle.Cloud.Notebooks.V2\u003c/code\u003e namespace, defines a network interface resource attached to a virtual machine (VM).\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eNetwork\u003c/code\u003e, \u003ccode\u003eNicType\u003c/code\u003e, and \u003ccode\u003eSubnet\u003c/code\u003e, which allow configuration of the VM's network connection, including specifying the VPC, vNIC type, and subnet.\u003c/p\u003e\n"],["\u003cp\u003eThe network interface can be created with a default constructor or through the use of another NetworkInterface as a parameter for the constructor.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkInterface\u003c/code\u003e class implements multiple interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]