public class Compute.Networks.RemovePeering extends ComputeRequest<Operation>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
RemovePeering(String project,
String network,
NetworksRemovePeeringRequest content)
Removes a peering from the specified network.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getNetwork()
Name of the network resource to remove peering from.
|
String |
getProject()
Project ID for this request.
|
String |
getRequestId()
An optional request ID to identify requests.
|
Compute.Networks.RemovePeering |
set(String parameterName,
Object value) |
Compute.Networks.RemovePeering |
setAlt(String alt)
Data format for the response.
|
Compute.Networks.RemovePeering |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Compute.Networks.RemovePeering |
setKey(String key)
API key.
|
Compute.Networks.RemovePeering |
setNetwork(String network)
Name of the network resource to remove peering from.
|
Compute.Networks.RemovePeering |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Compute.Networks.RemovePeering |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Compute.Networks.RemovePeering |
setProject(String project)
Project ID for this request.
|
Compute.Networks.RemovePeering |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Compute.Networks.RemovePeering |
setRequestId(String requestId)
An optional request ID to identify requests.
|
Compute.Networks.RemovePeering |
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 RemovePeering(String project, String network, NetworksRemovePeeringRequest content)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
RemovePeering#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 to remove peering from.content - the NetworksRemovePeeringRequestpublic Compute.Networks.RemovePeering setAlt(String alt)
ComputeRequestsetAlt in class ComputeRequest<Operation>public Compute.Networks.RemovePeering setFields(String fields)
ComputeRequestsetFields in class ComputeRequest<Operation>public Compute.Networks.RemovePeering setKey(String key)
ComputeRequestsetKey in class ComputeRequest<Operation>public Compute.Networks.RemovePeering setOauthToken(String oauthToken)
ComputeRequestsetOauthToken in class ComputeRequest<Operation>public Compute.Networks.RemovePeering setPrettyPrint(Boolean prettyPrint)
ComputeRequestsetPrettyPrint in class ComputeRequest<Operation>public Compute.Networks.RemovePeering setQuotaUser(String quotaUser)
ComputeRequestsetQuotaUser in class ComputeRequest<Operation>public Compute.Networks.RemovePeering setUserIp(String userIp)
ComputeRequestsetUserIp in class ComputeRequest<Operation>public String getProject()
public Compute.Networks.RemovePeering setProject(String project)
public String getNetwork()
public Compute.Networks.RemovePeering setNetwork(String network)
public String getRequestId()
public Compute.Networks.RemovePeering setRequestId(String requestId)
public Compute.Networks.RemovePeering set(String parameterName, Object value)
set in class ComputeRequest<Operation>Copyright © 2011–2019 Google. All rights reserved.