public class Container.Projects.Zones.Operations.Get extends ContainerRequest<Operation>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
Container.Projects.Zones.Operations.Get(java.lang.String projectId,
java.lang.String zoneId,
java.lang.String operationId)
Gets the specified operation.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
java.lang.String |
getOperationId()
The server-assigned name of the operation.
|
java.lang.String |
getProjectId()
The Google Developers Console project ID or project number.
|
java.lang.String |
getZoneId()
The name of the Google Compute Engine zone in which the operation resides.
|
Container.Projects.Zones.Operations.Get |
set(java.lang.String parameterName,
java.lang.Object value) |
Container.Projects.Zones.Operations.Get |
setAlt(java.lang.String alt)
Data format for the response.
|
Container.Projects.Zones.Operations.Get |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Container.Projects.Zones.Operations.Get |
setKey(java.lang.String key)
API key.
|
Container.Projects.Zones.Operations.Get |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Container.Projects.Zones.Operations.Get |
setOperationId(java.lang.String operationId)
The server-assigned name of the operation.
|
Container.Projects.Zones.Operations.Get |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Container.Projects.Zones.Operations.Get |
setProjectId(java.lang.String projectId)
The Google Developers Console project ID or project number.
|
Container.Projects.Zones.Operations.Get |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Container.Projects.Zones.Operations.Get |
setUserIp(java.lang.String userIp)
IP address of the site where the request originates.
|
Container.Projects.Zones.Operations.Get |
setZoneId(java.lang.String zoneId)
The name of the Google Compute Engine zone in which the operation resides.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysprotected Container.Projects.Zones.Operations.Get(java.lang.String projectId,
java.lang.String zoneId,
java.lang.String operationId)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Container.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
projectId - The Google Developers Console project ID or project number.zoneId - The name of the Google Compute Engine zone in which the operation resides. This is always the same
zone as the cluster with which the operation is associated.operationId - The server-assigned name of the operation.public com.google.api.client.http.HttpResponse executeUsingHead()
throws java.io.IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Operation>java.io.IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws java.io.IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Operation>java.io.IOExceptionpublic Container.Projects.Zones.Operations.Get setAlt(java.lang.String alt)
ContainerRequestsetAlt in class ContainerRequest<Operation>public Container.Projects.Zones.Operations.Get setFields(java.lang.String fields)
ContainerRequestsetFields in class ContainerRequest<Operation>public Container.Projects.Zones.Operations.Get setKey(java.lang.String key)
ContainerRequestsetKey in class ContainerRequest<Operation>public Container.Projects.Zones.Operations.Get setOauthToken(java.lang.String oauthToken)
ContainerRequestsetOauthToken in class ContainerRequest<Operation>public Container.Projects.Zones.Operations.Get setPrettyPrint(java.lang.Boolean prettyPrint)
ContainerRequestsetPrettyPrint in class ContainerRequest<Operation>public Container.Projects.Zones.Operations.Get setQuotaUser(java.lang.String quotaUser)
ContainerRequestsetQuotaUser in class ContainerRequest<Operation>public Container.Projects.Zones.Operations.Get setUserIp(java.lang.String userIp)
ContainerRequestsetUserIp in class ContainerRequest<Operation>public java.lang.String getProjectId()
public Container.Projects.Zones.Operations.Get setProjectId(java.lang.String projectId)
public java.lang.String getZoneId()
public Container.Projects.Zones.Operations.Get setZoneId(java.lang.String zoneId)
public java.lang.String getOperationId()
public Container.Projects.Zones.Operations.Get setOperationId(java.lang.String operationId)
public Container.Projects.Zones.Operations.Get set(java.lang.String parameterName, java.lang.Object value)
set in class ContainerRequest<Operation>