public final class Subnetwork
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Service Networking API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Subnetwork() |
| Modifier and Type | Method and Description |
|---|---|
Subnetwork |
clone() |
String |
getIpCidrRange()
Subnetwork CIDR range in `10.x.x.x/y` format.
|
String |
getName()
Subnetwork name.
|
String |
getNetwork()
In the Shared VPC host project, the VPC network that's peered with the consumer network.
|
Boolean |
getOutsideAllocation()
This is a discovered subnet that is not within the current consumer allocated ranges.
|
String |
getRegion()
GCP region where the subnetwork is located.
|
List<SecondaryIpRange> |
getSecondaryIpRanges()
List of secondary IP ranges in this subnetwork.
|
Subnetwork |
set(String fieldName,
Object value) |
Subnetwork |
setIpCidrRange(String ipCidrRange)
Subnetwork CIDR range in `10.x.x.x/y` format.
|
Subnetwork |
setName(String name)
Subnetwork name.
|
Subnetwork |
setNetwork(String network)
In the Shared VPC host project, the VPC network that's peered with the consumer network.
|
Subnetwork |
setOutsideAllocation(Boolean outsideAllocation)
This is a discovered subnet that is not within the current consumer allocated ranges.
|
Subnetwork |
setRegion(String region)
GCP region where the subnetwork is located.
|
Subnetwork |
setSecondaryIpRanges(List<SecondaryIpRange> secondaryIpRanges)
List of secondary IP ranges in this subnetwork.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getIpCidrRange()
null for nonepublic Subnetwork setIpCidrRange(String ipCidrRange)
ipCidrRange - ipCidrRange or null for nonepublic String getName()
null for nonepublic Subnetwork setName(String name)
name - name or null for nonepublic String getNetwork()
null for nonepublic Subnetwork setNetwork(String network)
network - network or null for nonepublic Boolean getOutsideAllocation()
null for nonepublic Subnetwork setOutsideAllocation(Boolean outsideAllocation)
outsideAllocation - outsideAllocation or null for nonepublic String getRegion()
null for nonepublic Subnetwork setRegion(String region)
region - region or null for nonepublic List<SecondaryIpRange> getSecondaryIpRanges()
null for nonepublic Subnetwork setSecondaryIpRanges(List<SecondaryIpRange> secondaryIpRanges)
secondaryIpRanges - secondaryIpRanges or null for nonepublic Subnetwork set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Subnetwork clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.