public class Compute.RegionOperations.Get extends ComputeRequest<Operation>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Compute.RegionOperations.Get(String project,
String region,
String operation)
Retrieves the specified region-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 |
getRegion()
Name of the zone scoping this request.
|
Compute.RegionOperations.Get |
setAlt(String alt)
Data format for the response.
|
Compute.RegionOperations.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Compute.RegionOperations.Get |
setKey(String key)
API key.
|
Compute.RegionOperations.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Compute.RegionOperations.Get |
setOperation(String operation)
Name of the operation resource to return.
|
Compute.RegionOperations.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Compute.RegionOperations.Get |
setProject(String project)
Name of the project scoping this request.
|
Compute.RegionOperations.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Compute.RegionOperations.Get |
setRegion(String region)
Name of the zone scoping this request.
|
Compute.RegionOperations.Get |
setUserIp(String userIp)
IP address of the site where the request originates.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, 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, set, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected Compute.RegionOperations.Get(String project, String region, String operation)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation. Compute.initialize(AbstractGoogleClientRequest)
must be called to initialize this instance
immediately after invoking the constructor.
project
- Name of the project scoping this request.region
- 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.RegionOperations.Get setAlt(String alt)
ComputeRequest
setAlt
in class ComputeRequest<Operation>
public Compute.RegionOperations.Get setFields(String fields)
ComputeRequest
setFields
in class ComputeRequest<Operation>
public Compute.RegionOperations.Get setKey(String key)
ComputeRequest
setKey
in class ComputeRequest<Operation>
public Compute.RegionOperations.Get setOauthToken(String oauthToken)
ComputeRequest
setOauthToken
in class ComputeRequest<Operation>
public Compute.RegionOperations.Get setPrettyPrint(Boolean prettyPrint)
ComputeRequest
setPrettyPrint
in class ComputeRequest<Operation>
public Compute.RegionOperations.Get setQuotaUser(String quotaUser)
ComputeRequest
setQuotaUser
in class ComputeRequest<Operation>
public Compute.RegionOperations.Get setUserIp(String userIp)
ComputeRequest
setUserIp
in class ComputeRequest<Operation>
public String getProject()
public Compute.RegionOperations.Get setProject(String project)
public String getRegion()
public Compute.RegionOperations.Get setRegion(String region)
public String getOperation()
public Compute.RegionOperations.Get setOperation(String operation)