public class Compute.ZoneOperations.Get extends ComputeRequest<Operation>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Compute.ZoneOperations.Get(String project,
String zone,
String operation)
Retrieves the specified zone-specific operation resource.
|
Modifier and Type | Method and Description |
---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getOperation()
Name of the operation resource to return.
|
String |
getProject()
Name of the project scoping this request.
|
String |
getZone()
Name of the zone scoping this request.
|
Compute.ZoneOperations.Get |
set(String parameterName,
Object value) |
Compute.ZoneOperations.Get |
setAlt(String alt)
Data format for the response.
|
Compute.ZoneOperations.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Compute.ZoneOperations.Get |
setKey(String key)
API key.
|
Compute.ZoneOperations.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Compute.ZoneOperations.Get |
setOperation(String operation)
Name of the operation resource to return.
|
Compute.ZoneOperations.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Compute.ZoneOperations.Get |
setProject(String project)
Name of the project scoping this request.
|
Compute.ZoneOperations.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Compute.ZoneOperations.Get |
setUserIp(String userIp)
IP address of the site where the request originates.
|
Compute.ZoneOperations.Get |
setZone(String zone)
Name of the zone scoping this request.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected Compute.ZoneOperations.Get(String project, String zone, 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
- Name of the project scoping this request.zone
- Name of the zone scoping this request.operation
- Name of the operation resource to return.public HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class AbstractGoogleClientRequest<Operation>
IOException
public HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class AbstractGoogleClientRequest<Operation>
IOException
public Compute.ZoneOperations.Get setAlt(String alt)
ComputeRequest
setAlt
in class ComputeRequest<Operation>
public Compute.ZoneOperations.Get setFields(String fields)
ComputeRequest
setFields
in class ComputeRequest<Operation>
public Compute.ZoneOperations.Get setKey(String key)
ComputeRequest
setKey
in class ComputeRequest<Operation>
public Compute.ZoneOperations.Get setOauthToken(String oauthToken)
ComputeRequest
setOauthToken
in class ComputeRequest<Operation>
public Compute.ZoneOperations.Get setPrettyPrint(Boolean prettyPrint)
ComputeRequest
setPrettyPrint
in class ComputeRequest<Operation>
public Compute.ZoneOperations.Get setQuotaUser(String quotaUser)
ComputeRequest
setQuotaUser
in class ComputeRequest<Operation>
public Compute.ZoneOperations.Get setUserIp(String userIp)
ComputeRequest
setUserIp
in class ComputeRequest<Operation>
public String getProject()
public Compute.ZoneOperations.Get setProject(String project)
public String getZone()
public Compute.ZoneOperations.Get setZone(String zone)
public String getOperation()
public Compute.ZoneOperations.Get setOperation(String operation)
public Compute.ZoneOperations.Get set(String parameterName, Object value)
set
in class ComputeRequest<Operation>