The network name to attach the VM's network interface to. The value will
be prefixed with global/networks/ unless it contains a /, in which
case it is assumed to be a fully specified network resource URL.
If unspecified, the global default network is used.
If set to true, do not attach a public IP address to the VM. Note that
without a public IP address, additional configuration is required to
allow the VM to access Google services.
[[["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\u003eThe \u003ccode\u003eNetwork\u003c/code\u003e class in the Google Cloud Life Sciences v2beta API represents VM networking options, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing multiple interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis class has constructors for creating new \u003ccode\u003eNetwork\u003c/code\u003e objects, either default instances or copies of existing \u003ccode\u003eNetwork\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eIt provides properties like \u003ccode\u003eNetwork_\u003c/code\u003e, \u003ccode\u003eSubnetwork\u003c/code\u003e, and \u003ccode\u003eUsePrivateAddress\u003c/code\u003e to configure network settings, such as specifying the network name, subnetwork, and whether to use a private IP address.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class available is 2.0.0-beta06.\u003c/p\u003e\n"],["\u003cp\u003eIf \u003ccode\u003eNetwork_\u003c/code\u003e or \u003ccode\u003eSubnetwork\u003c/code\u003e contain a \u003ccode\u003e/\u003c/code\u003e then it's considered a fully qualified network resource URL.\u003c/p\u003e\n"]]],[],null,["# Cloud Life Sciences v2beta API - Class Network (2.0.0-beta06)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta06 (latest)](/dotnet/docs/reference/Google.Cloud.LifeSciences.V2Beta/latest/Google.Cloud.LifeSciences.V2Beta.Network)\n- [2.0.0-beta05](/dotnet/docs/reference/Google.Cloud.LifeSciences.V2Beta/2.0.0-beta05/Google.Cloud.LifeSciences.V2Beta.Network)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.LifeSciences.V2Beta/1.0.0-beta02/Google.Cloud.LifeSciences.V2Beta.Network) \n\n public sealed class Network : IMessage\u003cNetwork\u003e, IEquatable\u003cNetwork\u003e, IDeepCloneable\u003cNetwork\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Life Sciences v2beta API class Network.\n\nVM networking options. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Network \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Network](/dotnet/docs/reference/Google.Cloud.LifeSciences.V2Beta/latest/Google.Cloud.LifeSciences.V2Beta.Network), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Network](/dotnet/docs/reference/Google.Cloud.LifeSciences.V2Beta/latest/Google.Cloud.LifeSciences.V2Beta.Network), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Network](/dotnet/docs/reference/Google.Cloud.LifeSciences.V2Beta/latest/Google.Cloud.LifeSciences.V2Beta.Network), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.LifeSciences.V2Beta](/dotnet/docs/reference/Google.Cloud.LifeSciences.V2Beta/latest/Google.Cloud.LifeSciences.V2Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.LifeSciences.V2Beta.dll\n\nConstructors\n------------\n\n### Network()\n\n public Network()\n\n### Network(Network)\n\n public Network(Network other)\n\nProperties\n----------\n\n### Network_\n\n public string Network_ { get; set; }\n\nThe network name to attach the VM's network interface to. The value will\nbe prefixed with `global/networks/` unless it contains a `/`, in which\ncase it is assumed to be a fully specified network resource URL.\n\nIf unspecified, the global default network is used.\n\n### Subnetwork\n\n public string Subnetwork { get; set; }\n\nIf the specified network is configured for custom subnet creation, the\nname of the subnetwork to attach the instance to must be specified here.\n\nThe value is prefixed with `regions/*/subnetworks/` unless it contains a\n`/`, in which case it is assumed to be a fully specified subnetwork\nresource URL.\n\nIf the `*` character appears in the value, it is replaced with the region\nthat the virtual machine has been allocated in.\n\n### UsePrivateAddress\n\n public bool UsePrivateAddress { get; set; }\n\nIf set to true, do not attach a public IP address to the VM. Note that\nwithout a public IP address, additional configuration is required to\nallow the VM to access Google services.\n\nSee \u003chttps://cloud.google.com/vpc/docs/configure-private-google-access\u003e\nfor more information."]]