public sealed class Subnet : IMessage<Connector.Types.Subnet>, IEquatable<Connector.Types.Subnet>, IDeepCloneable<Connector.Types.Subnet>, IBufferMessage, IMessage
Subnet name (relative, not fully qualified).
E.g. if the full subnet selfLink is
https://compute.googleapis.com/compute/v1/projects/{project}/regions/{region}/subnetworks/{subnetName}
the correct input for this field would be {subnetName}
[[["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\u003eSubnet\u003c/code\u003e class defines the subnet where a connector will reside within the \u003ccode\u003eGoogle.Cloud.VpcAccess.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.VpcAccess.V1\u003c/code\u003e library, specifically within the \u003ccode\u003eConnector.Types\u003c/code\u003e namespace, and is available across various versions, from 1.0.0 to the latest 2.5.0.\u003c/p\u003e\n"],["\u003cp\u003eIt implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing it to interact with Google Protocol Buffers and supporting equality checks and cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSubnet\u003c/code\u003e class provides properties to set the subnet's name (\u003ccode\u003eName\u003c/code\u003e) and the project ID (\u003ccode\u003eProjectId\u003c/code\u003e) where the subnet exists, allowing for accurate specification of the desired subnet.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSubnet\u003c/code\u003e class can be instantiated using either a parameter-less constructor or one that accepts another \u003ccode\u003eConnector.Types.Subnet\u003c/code\u003e object, providing flexibility in object creation.\u003c/p\u003e\n"]]],[],null,[]]