public class Compute.RegionOperations.Wait extends ComputeRequest<Operation>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
Wait(String project,
String region,
String operation)
Waits for the specified Operation resource to return as `DONE` or for the request to approach
the 2 minute deadline, and retrieves the specified Operation resource.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getOperation()
Name of the Operations resource to return.
|
String |
getProject()
Project ID for this request.
|
String |
getRegion()
Name of the region for this request.
|
Compute.RegionOperations.Wait |
set(String parameterName,
Object value) |
Compute.RegionOperations.Wait |
setAlt(String alt)
Data format for the response.
|
Compute.RegionOperations.Wait |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Compute.RegionOperations.Wait |
setKey(String key)
API key.
|
Compute.RegionOperations.Wait |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Compute.RegionOperations.Wait |
setOperation(String operation)
Name of the Operations resource to return.
|
Compute.RegionOperations.Wait |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Compute.RegionOperations.Wait |
setProject(String project)
Project ID for this request.
|
Compute.RegionOperations.Wait |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Compute.RegionOperations.Wait |
setRegion(String region)
Name of the region for this request.
|
Compute.RegionOperations.Wait |
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, 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 Wait(String project, String region, String operation)
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 for this request.operation - Name of the Operations resource to return.public Compute.RegionOperations.Wait setAlt(String alt)
ComputeRequestsetAlt in class ComputeRequest<Operation>public Compute.RegionOperations.Wait setFields(String fields)
ComputeRequestsetFields in class ComputeRequest<Operation>public Compute.RegionOperations.Wait setKey(String key)
ComputeRequestsetKey in class ComputeRequest<Operation>public Compute.RegionOperations.Wait setOauthToken(String oauthToken)
ComputeRequestsetOauthToken in class ComputeRequest<Operation>public Compute.RegionOperations.Wait setPrettyPrint(Boolean prettyPrint)
ComputeRequestsetPrettyPrint in class ComputeRequest<Operation>public Compute.RegionOperations.Wait setQuotaUser(String quotaUser)
ComputeRequestsetQuotaUser in class ComputeRequest<Operation>public Compute.RegionOperations.Wait setUserIp(String userIp)
ComputeRequestsetUserIp in class ComputeRequest<Operation>public String getProject()
public Compute.RegionOperations.Wait setProject(String project)
public String getRegion()
public Compute.RegionOperations.Wait setRegion(String region)
public String getOperation()
public Compute.RegionOperations.Wait setOperation(String operation)
public Compute.RegionOperations.Wait set(String parameterName, Object value)
set in class ComputeRequest<Operation>Copyright © 2011–2021 Google. All rights reserved.