| Package | Description | 
|---|---|
| com.google.api.services.compute | |
| com.google.api.services.compute.model | 
| Modifier and Type | Method and Description | 
|---|---|
| Compute.Subnetworks.Insert | Compute.Subnetworks. insert(String project,
      String region,
      Subnetwork content)Creates a subnetwork in the specified project using the data included in the request. | 
| Compute.Subnetworks.Patch | Compute.Subnetworks. patch(String project,
     String region,
     String subnetwork,
     Subnetwork content)Patches the specified subnetwork with the data included in the request. | 
| Constructor and Description | 
|---|
| Insert(String project,
      String region,
      Subnetwork content)Creates a subnetwork in the specified project using the data included in the request. | 
| Patch(String project,
     String region,
     String subnetwork,
     Subnetwork content)Patches the specified subnetwork with the data included in the request. | 
| Modifier and Type | Method and Description | 
|---|---|
| Subnetwork | Subnetwork. clone() | 
| Subnetwork | Subnetwork. encodeFingerprint(byte[] fingerprint)Fingerprint of this resource. | 
| Subnetwork | Subnetwork. set(String fieldName,
   Object value) | 
| Subnetwork | Subnetwork. setCreationTimestamp(String creationTimestamp)[Output Only] Creation timestamp in RFC3339 text format. | 
| Subnetwork | Subnetwork. setDescription(String description)An optional description of this resource. | 
| Subnetwork | Subnetwork. setEnableFlowLogs(Boolean enableFlowLogs)Whether to enable flow logging for this subnetwork. | 
| Subnetwork | Subnetwork. setExternalIpv6Prefix(String externalIpv6Prefix)[Output Only] The range of external IPv6 addresses that are owned by this subnetwork. | 
| Subnetwork | Subnetwork. setFingerprint(String fingerprint)Fingerprint of this resource. | 
| Subnetwork | Subnetwork. setGatewayAddress(String gatewayAddress)[Output Only] The gateway address for default routes to reach destination addresses outside
 this subnetwork. | 
| Subnetwork | Subnetwork. setId(BigInteger id)[Output Only] The unique identifier for the resource. | 
| Subnetwork | Subnetwork. setIpCidrRange(String ipCidrRange)The range of internal addresses that are owned by this subnetwork. | 
| Subnetwork | Subnetwork. setIpv6AccessType(String ipv6AccessType)The access type of IPv6 address this subnet holds. | 
| Subnetwork | Subnetwork. setIpv6CidrRange(String ipv6CidrRange)[Output Only] The range of internal IPv6 addresses that are owned by this subnetwork. | 
| Subnetwork | Subnetwork. setKind(String kind)[Output Only] Type of the resource. | 
| Subnetwork | Subnetwork. setLogConfig(SubnetworkLogConfig logConfig)This field denotes the VPC flow logging options for this subnetwork. | 
| Subnetwork | Subnetwork. setName(String name)The name of the resource, provided by the client when initially creating the resource. | 
| Subnetwork | Subnetwork. setNetwork(String network)The URL of the network to which this subnetwork belongs, provided by the client when initially
 creating the subnetwork. | 
| Subnetwork | Subnetwork. setPrivateIpGoogleAccess(Boolean privateIpGoogleAccess)Whether the VMs in this subnet can access Google services without assigned external IP
 addresses. | 
| Subnetwork | Subnetwork. setPrivateIpv6GoogleAccess(String privateIpv6GoogleAccess)The private IPv6 google access type for the VMs in this subnet. | 
| Subnetwork | Subnetwork. setPurpose(String purpose)The purpose of the resource. | 
| Subnetwork | Subnetwork. setRegion(String region)URL of the region where the Subnetwork resides. | 
| Subnetwork | Subnetwork. setRole(String role)The role of subnetwork. | 
| Subnetwork | Subnetwork. setSecondaryIpRanges(List<SubnetworkSecondaryRange> secondaryIpRanges)An array of configurations for secondary IP ranges for VM instances contained in this
 subnetwork. | 
| Subnetwork | Subnetwork. setSelfLink(String selfLink)[Output Only] Server-defined URL for the resource. | 
| Subnetwork | Subnetwork. setStackType(String stackType)The stack type for this subnet to identify whether the IPv6 feature is enabled or not. | 
| Subnetwork | Subnetwork. setState(String state)[Output Only] The state of the subnetwork, which can be one of the following values: READY:
 Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the
 purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer
 are being drained. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Subnetwork> | SubnetworkList. getItems()A list of Subnetwork resources. | 
| List<Subnetwork> | SubnetworksScopedList. getSubnetworks()A list of subnetworks contained in this scope. | 
| Modifier and Type | Method and Description | 
|---|---|
| SubnetworkList | SubnetworkList. setItems(List<Subnetwork> items)A list of Subnetwork resources. | 
| SubnetworksScopedList | SubnetworksScopedList. setSubnetworks(List<Subnetwork> subnetworks)A list of subnetworks contained in this scope. | 
Copyright © 2011–2021 Google. All rights reserved.