public class Compute.Subnetworks.Patch extends ComputeRequest<Operation>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
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 |
|---|---|
Integer |
getDrainTimeoutSeconds()
The drain timeout specifies the upper bound in seconds on the amount of time allowed to drain
connections from the current ACTIVE subnetwork to the current BACKUP subnetwork.
|
String |
getProject()
Project ID for this request.
|
String |
getRegion()
Name of the region scoping this request.
|
String |
getRequestId()
An optional request ID to identify requests.
|
String |
getSubnetwork()
Name of the Subnetwork resource to patch.
|
Compute.Subnetworks.Patch |
set(String parameterName,
Object value) |
Compute.Subnetworks.Patch |
set$Xgafv(String $Xgafv)
V1 error format.
|
Compute.Subnetworks.Patch |
setAccessToken(String accessToken)
OAuth access token.
|
Compute.Subnetworks.Patch |
setAlt(String alt)
Data format for response.
|
Compute.Subnetworks.Patch |
setCallback(String callback)
JSONP
|
Compute.Subnetworks.Patch |
setDrainTimeoutSeconds(Integer drainTimeoutSeconds)
The drain timeout specifies the upper bound in seconds on the amount of time allowed to
drain connections from the current ACTIVE subnetwork to the current BACKUP subnetwork.
|
Compute.Subnetworks.Patch |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Compute.Subnetworks.Patch |
setKey(String key)
API key.
|
Compute.Subnetworks.Patch |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Compute.Subnetworks.Patch |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Compute.Subnetworks.Patch |
setProject(String project)
Project ID for this request.
|
Compute.Subnetworks.Patch |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Compute.Subnetworks.Patch |
setRegion(String region)
Name of the region scoping this request.
|
Compute.Subnetworks.Patch |
setRequestId(String requestId)
An optional request ID to identify requests.
|
Compute.Subnetworks.Patch |
setSubnetwork(String subnetwork)
Name of the Subnetwork resource to patch.
|
Compute.Subnetworks.Patch |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Compute.Subnetworks.Patch |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
Compute.Subnetworks.Patch |
setUserIp(String userIp)
Legacy name for parameter that has been superseded by `quotaUser`.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, 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, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Patch(String project, String region, String subnetwork, Subnetwork content)
AbstractGoogleClientRequest.execute() method to invoke the remote operation. Compute.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must
be called to initialize this instance immediately after invoking the constructor.
project - Project ID for this request.region - Name of the region scoping this request.subnetwork - Name of the Subnetwork resource to patch.content - the Subnetworkpublic Compute.Subnetworks.Patch set$Xgafv(String $Xgafv)
ComputeRequestset$Xgafv in class ComputeRequest<Operation>public Compute.Subnetworks.Patch setAccessToken(String accessToken)
ComputeRequestsetAccessToken in class ComputeRequest<Operation>public Compute.Subnetworks.Patch setAlt(String alt)
ComputeRequestsetAlt in class ComputeRequest<Operation>public Compute.Subnetworks.Patch setCallback(String callback)
ComputeRequestsetCallback in class ComputeRequest<Operation>public Compute.Subnetworks.Patch setFields(String fields)
ComputeRequestsetFields in class ComputeRequest<Operation>public Compute.Subnetworks.Patch setKey(String key)
ComputeRequestsetKey in class ComputeRequest<Operation>public Compute.Subnetworks.Patch setOauthToken(String oauthToken)
ComputeRequestsetOauthToken in class ComputeRequest<Operation>public Compute.Subnetworks.Patch setPrettyPrint(Boolean prettyPrint)
ComputeRequestsetPrettyPrint in class ComputeRequest<Operation>public Compute.Subnetworks.Patch setQuotaUser(String quotaUser)
ComputeRequestsetQuotaUser in class ComputeRequest<Operation>public Compute.Subnetworks.Patch setUploadType(String uploadType)
ComputeRequestsetUploadType in class ComputeRequest<Operation>public Compute.Subnetworks.Patch setUploadProtocol(String uploadProtocol)
ComputeRequestsetUploadProtocol in class ComputeRequest<Operation>public Compute.Subnetworks.Patch setUserIp(String userIp)
ComputeRequestsetUserIp in class ComputeRequest<Operation>public String getProject()
public Compute.Subnetworks.Patch setProject(String project)
public String getRegion()
public Compute.Subnetworks.Patch setRegion(String region)
public String getSubnetwork()
public Compute.Subnetworks.Patch setSubnetwork(String subnetwork)
public Integer getDrainTimeoutSeconds()
public Compute.Subnetworks.Patch setDrainTimeoutSeconds(Integer drainTimeoutSeconds)
public String getRequestId()
public Compute.Subnetworks.Patch setRequestId(String requestId)
public Compute.Subnetworks.Patch set(String parameterName, Object value)
set in class ComputeRequest<Operation>Copyright © 2011–2021 Google. All rights reserved.