public final class AddSubnetworkRequest
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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
AddSubnetworkRequest() |
Modifier and Type | Method and Description |
---|---|
AddSubnetworkRequest |
clone() |
String |
getConsumer()
Required.
|
String |
getConsumerNetwork()
Required.
|
String |
getDescription()
An optional description of the subnet.
|
Integer |
getIpPrefixLength()
Required.
|
String |
getRegion()
Required.
|
String |
getRequestedAddress()
Optional.
|
String |
getSubnetwork()
Required.
|
List<String> |
getSubnetworkUsers()
A list of members that are granted the `compute.networkUser` role on the subnet.
|
AddSubnetworkRequest |
set(String fieldName,
Object value) |
AddSubnetworkRequest |
setConsumer(String consumer)
Required.
|
AddSubnetworkRequest |
setConsumerNetwork(String consumerNetwork)
Required.
|
AddSubnetworkRequest |
setDescription(String description)
An optional description of the subnet.
|
AddSubnetworkRequest |
setIpPrefixLength(Integer ipPrefixLength)
Required.
|
AddSubnetworkRequest |
setRegion(String region)
Required.
|
AddSubnetworkRequest |
setRequestedAddress(String requestedAddress)
Optional.
|
AddSubnetworkRequest |
setSubnetwork(String subnetwork)
Required.
|
AddSubnetworkRequest |
setSubnetworkUsers(List<String> subnetworkUsers)
A list of members that are granted the `compute.networkUser` role on the subnet.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getConsumer()
null
for nonepublic AddSubnetworkRequest setConsumer(String consumer)
consumer
- consumer or null
for nonepublic String getConsumerNetwork()
null
for nonepublic AddSubnetworkRequest setConsumerNetwork(String consumerNetwork)
consumerNetwork
- consumerNetwork or null
for nonepublic String getDescription()
null
for nonepublic AddSubnetworkRequest setDescription(String description)
description
- description or null
for nonepublic Integer getIpPrefixLength()
null
for nonepublic AddSubnetworkRequest setIpPrefixLength(Integer ipPrefixLength)
ipPrefixLength
- ipPrefixLength or null
for nonepublic String getRegion()
null
for nonepublic AddSubnetworkRequest setRegion(String region)
region
- region or null
for nonepublic String getRequestedAddress()
null
for nonepublic AddSubnetworkRequest setRequestedAddress(String requestedAddress)
requestedAddress
- requestedAddress or null
for nonepublic String getSubnetwork()
null
for nonepublic AddSubnetworkRequest setSubnetwork(String subnetwork)
subnetwork
- subnetwork or null
for nonepublic List<String> getSubnetworkUsers()
null
for nonepublic AddSubnetworkRequest setSubnetworkUsers(List<String> subnetworkUsers)
subnetworkUsers
- subnetworkUsers or null
for nonepublic AddSubnetworkRequest set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public AddSubnetworkRequest clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.