Output only. The time when the subnet was created.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
Output only. The time when the subnet was last updated.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
labels
map (key: string, value: string)
Labels associated with this resource.
An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
description
string
Optional. A free-text description of the resource. Max length 1024 characters.
network
string
Required. The network that this subnetwork belongs to.
ipv4Cidr[]
string
The ranges of ipv4 addresses that are owned by this subnetwork.
ipv6Cidr[]
string
The ranges of ipv6 addresses that are owned by this subnetwork.
vlanId
integer
Optional. VLAN id provided by user. If not specified we assign one automatically.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-11 UTC."],[[["\u003cp\u003eSubnet resources contain key information including \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003ecreateTime\u003c/code\u003e, \u003ccode\u003eupdateTime\u003c/code\u003e, \u003ccode\u003elabels\u003c/code\u003e, \u003ccode\u003edescription\u003c/code\u003e, \u003ccode\u003enetwork\u003c/code\u003e, \u003ccode\u003eipv4Cidr\u003c/code\u003e, \u003ccode\u003eipv6Cidr\u003c/code\u003e, \u003ccode\u003evlanId\u003c/code\u003e, and \u003ccode\u003estate\u003c/code\u003e, all of which are vital properties of a subnet.\u003c/p\u003e\n"],["\u003cp\u003eThe Subnet's \u003ccode\u003ecreateTime\u003c/code\u003e and \u003ccode\u003eupdateTime\u003c/code\u003e are timestamps in RFC3339 UTC "Zulu" format, and \u003ccode\u003elabels\u003c/code\u003e are represented as key-value pairs in a map.\u003c/p\u003e\n"],["\u003cp\u003eThe JSON representation of a Subnet includes fields like \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003ecreateTime\u003c/code\u003e, \u003ccode\u003eupdateTime\u003c/code\u003e, and others, specifying the structure for representing subnet data.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple available methods related to subnet management, including creating, deleting, getting, listing, and updating subnets within a given project and location.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ename\u003c/code\u003e and \u003ccode\u003enetwork\u003c/code\u003e are required fields for creating a Subnet, while fields such as \u003ccode\u003edescription\u003c/code\u003e and \u003ccode\u003evlanId\u003c/code\u003e are optional.\u003c/p\u003e\n"]]],[],null,["# REST Resource: projects.locations.zones.subnets\n\n- [Resource: Subnet](#Subnet)\n - [JSON representation](#Subnet.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Subnet\n----------------\n\nMessage describing Subnet object"]]