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\u003eThis webpage details the \u003ccode\u003eSubnet\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.VpcAccess.V1\u003c/code\u003e namespace, specifically version 2.1.0, for managing VPC connector subnets.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSubnet\u003c/code\u003e class is used to define the subnet where a connector will reside and implements interfaces such as \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\u003eIt offers two constructors: a default \u003ccode\u003eSubnet()\u003c/code\u003e constructor and a \u003ccode\u003eSubnet(Connector.Types.Subnet other)\u003c/code\u003e constructor for creating instances based on existing \u003ccode\u003eSubnet\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eThe class exposes two key properties, \u003ccode\u003eName\u003c/code\u003e and \u003ccode\u003eProjectId\u003c/code\u003e, to configure the subnet name and the project where the subnet is located.\u003c/p\u003e\n"],["\u003cp\u003eThere are 8 versions available of this object, with the latest being 2.5.0, and the oldest being 1.0.0.\u003c/p\u003e\n"]]],[],null,[]]