public class Compute.Networks.UpdatePeering extends ComputeRequest<Operation>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
UpdatePeering(String project,
String network,
NetworksUpdatePeeringRequest content)
Updates the specified network peering with the data included in the request Only the following
fields can be modified: NetworkPeering.export_custom_routes, and
NetworkPeering.import_custom_routes
Create a request for the method "networks.updatePeering".
|
| Modifier and Type | Method and Description |
|---|---|
String |
getNetwork()
Name of the network resource which the updated peering is belonging to.
|
String |
getProject()
Project ID for this request.
|
String |
getRequestId()
An optional request ID to identify requests.
|
Compute.Networks.UpdatePeering |
set(String parameterName,
Object value) |
Compute.Networks.UpdatePeering |
setAlt(String alt)
Data format for the response.
|
Compute.Networks.UpdatePeering |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Compute.Networks.UpdatePeering |
setKey(String key)
API key.
|
Compute.Networks.UpdatePeering |
setNetwork(String network)
Name of the network resource which the updated peering is belonging to.
|
Compute.Networks.UpdatePeering |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Compute.Networks.UpdatePeering |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Compute.Networks.UpdatePeering |
setProject(String project)
Project ID for this request.
|
Compute.Networks.UpdatePeering |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Compute.Networks.UpdatePeering |
setRequestId(String requestId)
An optional request ID to identify requests.
|
Compute.Networks.UpdatePeering |
setUserIp(String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected UpdatePeering(String project, String network, NetworksUpdatePeeringRequest content)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
UpdatePeering#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientR
equest) must be called to initialize this instance immediately after invoking the constructor.
project - Project ID for this request.network - Name of the network resource which the updated peering is belonging to.content - the NetworksUpdatePeeringRequestpublic Compute.Networks.UpdatePeering setAlt(String alt)
ComputeRequestsetAlt in class ComputeRequest<Operation>public Compute.Networks.UpdatePeering setFields(String fields)
ComputeRequestsetFields in class ComputeRequest<Operation>public Compute.Networks.UpdatePeering setKey(String key)
ComputeRequestsetKey in class ComputeRequest<Operation>public Compute.Networks.UpdatePeering setOauthToken(String oauthToken)
ComputeRequestsetOauthToken in class ComputeRequest<Operation>public Compute.Networks.UpdatePeering setPrettyPrint(Boolean prettyPrint)
ComputeRequestsetPrettyPrint in class ComputeRequest<Operation>public Compute.Networks.UpdatePeering setQuotaUser(String quotaUser)
ComputeRequestsetQuotaUser in class ComputeRequest<Operation>public Compute.Networks.UpdatePeering setUserIp(String userIp)
ComputeRequestsetUserIp in class ComputeRequest<Operation>public String getProject()
public Compute.Networks.UpdatePeering setProject(String project)
public String getNetwork()
public Compute.Networks.UpdatePeering setNetwork(String network)
public String getRequestId()
public Compute.Networks.UpdatePeering setRequestId(String requestId)
public Compute.Networks.UpdatePeering set(String parameterName, Object value)
set in class ComputeRequest<Operation>Copyright © 2011–2019 Google. All rights reserved.