| Package | Description | 
|---|---|
| com.google.api.services.compute | |
| com.google.api.services.compute.model | 
| Modifier and Type | Method and Description | 
|---|---|
| Compute.Networks.Insert | Compute.Networks. insert(String project,
      Network content)Creates a network in the specified project using the data included in the request. | 
| Compute.Networks.Patch | Compute.Networks. patch(String project,
     String network,
     Network content)Patches the specified network with the data included in the request. | 
| Constructor and Description | 
|---|
| Insert(String project,
      Network content)Creates a network in the specified project using the data included in the request. | 
| Patch(String project,
     String network,
     Network content)Patches the specified network with the data included in the request. | 
| Modifier and Type | Method and Description | 
|---|---|
| Network | Network. clone() | 
| Network | Network. set(String fieldName,
   Object value) | 
| Network | Network. setAutoCreateSubnetworks(Boolean autoCreateSubnetworks)Must be set to create a VPC network. | 
| Network | Network. setCreationTimestamp(String creationTimestamp)[Output Only] Creation timestamp in RFC3339 text format. | 
| Network | Network. setDescription(String description)An optional description of this resource. | 
| Network | Network. setGatewayIPv4(String gatewayIPv4)[Output Only] The gateway address for default routing out of the network, selected by GCP. | 
| Network | Network. setId(BigInteger id)[Output Only] The unique identifier for the resource. | 
| Network | Network. setIPv4Range(String iPv4Range)Deprecated in favor of subnet mode networks. | 
| Network | Network. setKind(String kind)[Output Only] Type of the resource. | 
| Network | Network. setMtu(Integer mtu)Maximum Transmission Unit in bytes. | 
| Network | Network. setName(String name)Name of the resource. | 
| Network | Network. setPeerings(List<NetworkPeering> peerings)[Output Only] A list of network peerings for the resource. | 
| Network | Network. setRoutingConfig(NetworkRoutingConfig routingConfig)The network-level routing configuration for this network. | 
| Network | Network. setSelfLink(String selfLink)[Output Only] Server-defined URL for the resource. | 
| Network | Network. setSubnetworks(List<String> subnetworks)[Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Network> | NetworkList. getItems()A list of Network resources. | 
| Modifier and Type | Method and Description | 
|---|---|
| NetworkList | NetworkList. setItems(List<Network> items)A list of Network resources. | 
Copyright © 2011–2021 Google. All rights reserved.