public class Compute.Subnetworks.Get extends ComputeRequest<Subnetwork>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Get(String project,
String region,
String subnetwork)
Returns the specified subnetwork.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getProject()
Project ID for this request.
|
String |
getRegion()
Name of the region scoping this request.
|
String |
getSubnetwork()
Name of the Subnetwork resource to return.
|
List<String> |
getViews()
Defines the extra views returned back in the subnetwork resource.
|
Compute.Subnetworks.Get |
set(String parameterName,
Object value) |
Compute.Subnetworks.Get |
set$Xgafv(String $Xgafv)
V1 error format.
|
Compute.Subnetworks.Get |
setAccessToken(String accessToken)
OAuth access token.
|
Compute.Subnetworks.Get |
setAlt(String alt)
Data format for response.
|
Compute.Subnetworks.Get |
setCallback(String callback)
JSONP
|
Compute.Subnetworks.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Compute.Subnetworks.Get |
setKey(String key)
API key.
|
Compute.Subnetworks.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Compute.Subnetworks.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Compute.Subnetworks.Get |
setProject(String project)
Project ID for this request.
|
Compute.Subnetworks.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Compute.Subnetworks.Get |
setRegion(String region)
Name of the region scoping this request.
|
Compute.Subnetworks.Get |
setSubnetwork(String subnetwork)
Name of the Subnetwork resource to return.
|
Compute.Subnetworks.Get |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Compute.Subnetworks.Get |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
Compute.Subnetworks.Get |
setUserIp(String userIp)
Legacy name for parameter that has been superseded by `quotaUser`.
|
Compute.Subnetworks.Get |
setViews(List<String> views)
Defines the extra views returned back in the subnetwork resource.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, 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 Get(String project, String region, String subnetwork)
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 return.public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Subnetwork>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Subnetwork>IOExceptionpublic Compute.Subnetworks.Get set$Xgafv(String $Xgafv)
ComputeRequestset$Xgafv in class ComputeRequest<Subnetwork>public Compute.Subnetworks.Get setAccessToken(String accessToken)
ComputeRequestsetAccessToken in class ComputeRequest<Subnetwork>public Compute.Subnetworks.Get setAlt(String alt)
ComputeRequestsetAlt in class ComputeRequest<Subnetwork>public Compute.Subnetworks.Get setCallback(String callback)
ComputeRequestsetCallback in class ComputeRequest<Subnetwork>public Compute.Subnetworks.Get setFields(String fields)
ComputeRequestsetFields in class ComputeRequest<Subnetwork>public Compute.Subnetworks.Get setKey(String key)
ComputeRequestsetKey in class ComputeRequest<Subnetwork>public Compute.Subnetworks.Get setOauthToken(String oauthToken)
ComputeRequestsetOauthToken in class ComputeRequest<Subnetwork>public Compute.Subnetworks.Get setPrettyPrint(Boolean prettyPrint)
ComputeRequestsetPrettyPrint in class ComputeRequest<Subnetwork>public Compute.Subnetworks.Get setQuotaUser(String quotaUser)
ComputeRequestsetQuotaUser in class ComputeRequest<Subnetwork>public Compute.Subnetworks.Get setUploadType(String uploadType)
ComputeRequestsetUploadType in class ComputeRequest<Subnetwork>public Compute.Subnetworks.Get setUploadProtocol(String uploadProtocol)
ComputeRequestsetUploadProtocol in class ComputeRequest<Subnetwork>public Compute.Subnetworks.Get setUserIp(String userIp)
ComputeRequestsetUserIp in class ComputeRequest<Subnetwork>public String getProject()
public Compute.Subnetworks.Get setProject(String project)
public String getRegion()
public Compute.Subnetworks.Get setRegion(String region)
public String getSubnetwork()
public Compute.Subnetworks.Get setSubnetwork(String subnetwork)
public List<String> getViews()
public Compute.Subnetworks.Get setViews(List<String> views)
public Compute.Subnetworks.Get set(String parameterName, Object value)
set in class ComputeRequest<Subnetwork>Copyright © 2011–2025 Google. All rights reserved.