public class Compute.Routers.GetRoutePolicy extends ComputeRequest<RoutersGetRoutePolicyResponse>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
GetRoutePolicy(String project,
String region,
String router)
Returns specified Route Policy
Create a request for the method "routers.getRoutePolicy".
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getPolicy()
The Policy name for this request.
|
String |
getProject()
Project ID for this request.
|
String |
getRegion()
Name of the region for this request.
|
String |
getRouter()
Name of the Router resource to query for the route policy.
|
Compute.Routers.GetRoutePolicy |
set(String parameterName,
Object value) |
Compute.Routers.GetRoutePolicy |
set$Xgafv(String $Xgafv)
V1 error format.
|
Compute.Routers.GetRoutePolicy |
setAccessToken(String accessToken)
OAuth access token.
|
Compute.Routers.GetRoutePolicy |
setAlt(String alt)
Data format for response.
|
Compute.Routers.GetRoutePolicy |
setCallback(String callback)
JSONP
|
Compute.Routers.GetRoutePolicy |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Compute.Routers.GetRoutePolicy |
setKey(String key)
API key.
|
Compute.Routers.GetRoutePolicy |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Compute.Routers.GetRoutePolicy |
setPolicy(String policy)
The Policy name for this request.
|
Compute.Routers.GetRoutePolicy |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Compute.Routers.GetRoutePolicy |
setProject(String project)
Project ID for this request.
|
Compute.Routers.GetRoutePolicy |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Compute.Routers.GetRoutePolicy |
setRegion(String region)
Name of the region for this request.
|
Compute.Routers.GetRoutePolicy |
setRouter(String router)
Name of the Router resource to query for the route policy.
|
Compute.Routers.GetRoutePolicy |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Compute.Routers.GetRoutePolicy |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
Compute.Routers.GetRoutePolicy |
setUserIp(String userIp)
Legacy name for parameter that has been superseded by `quotaUser`.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, 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, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected GetRoutePolicy(String project, String region, String router)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
GetRoutePolicy#initialize(com.google.api.client.googleapis.services.AbstractGoogleCl
ientRequest)
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.router
- Name of the Router resource to query for the route policy. The name should conform to RFC1035.public com.google.api.client.http.HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<RoutersGetRoutePolicyResponse>
IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<RoutersGetRoutePolicyResponse>
IOException
public Compute.Routers.GetRoutePolicy set$Xgafv(String $Xgafv)
ComputeRequest
set$Xgafv
in class ComputeRequest<RoutersGetRoutePolicyResponse>
public Compute.Routers.GetRoutePolicy setAccessToken(String accessToken)
ComputeRequest
setAccessToken
in class ComputeRequest<RoutersGetRoutePolicyResponse>
public Compute.Routers.GetRoutePolicy setAlt(String alt)
ComputeRequest
setAlt
in class ComputeRequest<RoutersGetRoutePolicyResponse>
public Compute.Routers.GetRoutePolicy setCallback(String callback)
ComputeRequest
setCallback
in class ComputeRequest<RoutersGetRoutePolicyResponse>
public Compute.Routers.GetRoutePolicy setFields(String fields)
ComputeRequest
setFields
in class ComputeRequest<RoutersGetRoutePolicyResponse>
public Compute.Routers.GetRoutePolicy setKey(String key)
ComputeRequest
setKey
in class ComputeRequest<RoutersGetRoutePolicyResponse>
public Compute.Routers.GetRoutePolicy setOauthToken(String oauthToken)
ComputeRequest
setOauthToken
in class ComputeRequest<RoutersGetRoutePolicyResponse>
public Compute.Routers.GetRoutePolicy setPrettyPrint(Boolean prettyPrint)
ComputeRequest
setPrettyPrint
in class ComputeRequest<RoutersGetRoutePolicyResponse>
public Compute.Routers.GetRoutePolicy setQuotaUser(String quotaUser)
ComputeRequest
setQuotaUser
in class ComputeRequest<RoutersGetRoutePolicyResponse>
public Compute.Routers.GetRoutePolicy setUploadType(String uploadType)
ComputeRequest
setUploadType
in class ComputeRequest<RoutersGetRoutePolicyResponse>
public Compute.Routers.GetRoutePolicy setUploadProtocol(String uploadProtocol)
ComputeRequest
setUploadProtocol
in class ComputeRequest<RoutersGetRoutePolicyResponse>
public Compute.Routers.GetRoutePolicy setUserIp(String userIp)
ComputeRequest
setUserIp
in class ComputeRequest<RoutersGetRoutePolicyResponse>
public String getProject()
public Compute.Routers.GetRoutePolicy setProject(String project)
public String getRegion()
public Compute.Routers.GetRoutePolicy setRegion(String region)
public String getRouter()
public Compute.Routers.GetRoutePolicy setRouter(String router)
public String getPolicy()
public Compute.Routers.GetRoutePolicy setPolicy(String policy)
public Compute.Routers.GetRoutePolicy set(String parameterName, Object value)
set
in class ComputeRequest<RoutersGetRoutePolicyResponse>
Copyright © 2011–2025 Google. All rights reserved.