public sealed class Subnet : IMessage<Connector.Types.Subnet>, IEquatable<Connector.Types.Subnet>, IDeepCloneable<Connector.Types.Subnet>, IBufferMessage, IMessage
Reference documentation and code samples for the Serverless VPC Access v1 API class Connector.Types.Subnet.
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 documentation page covers the \u003ccode\u003eConnector.Types.Subnet\u003c/code\u003e class within the Google Cloud Serverless VPC Access v1 API, specifically for version 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSubnet\u003c/code\u003e class, which is sealed and inherits from \u003ccode\u003eObject\u003c/code\u003e, represents a subnet within which a connector will reside, and also implements multiple interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSubnet\u003c/code\u003e class offers two constructors: a default constructor and one that takes another \u003ccode\u003eConnector.Types.Subnet\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eSubnet\u003c/code\u003e class include \u003ccode\u003eName\u003c/code\u003e, representing the subnet's relative name, and \u003ccode\u003eProjectId\u003c/code\u003e, which indicates the project where the subnet is located.\u003c/p\u003e\n"],["\u003cp\u003eThere are several versions of this API available, ranging from 1.0.0 to the latest version, 2.5.0, each accessible through its respective link.\u003c/p\u003e\n"]]],[],null,[]]