Resource: Subnet
Message describing Subnet object
| JSON representation | 
|---|
{
  "name": string,
  "createTime": string,
  "updateTime": string,
  "labels": {
    string: string,
    ...
  },
  "description": string,
  "network": string,
  "ipv4Cidr": [
    string
  ],
  "ipv6Cidr": [
    string
  ],
  "vlanId": integer,
  "state": enum ( | 
              
| Fields | |
|---|---|
name | 
                
                   
 Required. The canonical resource name of the subnet.  | 
              
createTime | 
                
                   
 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:   | 
              
updateTime | 
                
                   
 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:   | 
              
labels | 
                
                   
 Labels associated with this resource. An object containing a list of   | 
              
description | 
                
                   
 Optional. A free-text description of the resource. Max length 1024 characters.  | 
              
network | 
                
                   
 Required. The network that this subnetwork belongs to.  | 
              
ipv4Cidr[] | 
                
                   
 The ranges of ipv4 addresses that are owned by this subnetwork.  | 
              
ipv6Cidr[] | 
                
                   
 The ranges of ipv6 addresses that are owned by this subnetwork.  | 
              
vlanId | 
                
                   
 Optional. VLAN id provided by user. If not specified we assign one automatically.  | 
              
state | 
                
                   
 Output only. Current stage of the resource to the device by config push.  | 
              
Methods | 
            |
|---|---|
                
 | 
              Creates a new Subnet in a given project and location. | 
                
 | 
              Deletes a single Subnet. | 
                
 | 
              Gets details of a single Subnet. | 
                
 | 
              Lists Subnets in a given project and location. | 
                
 | 
              Updates the parameters of a single Subnet. |