public class Compute.Routers.GetNatIpInfo extends ComputeRequest<NatIpInfoResponse>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
GetNatIpInfo(String project,
String region,
String router)
Retrieves runtime NAT IP information.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getNatName()
Name of the nat service to filter the NAT IP information.
|
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 Nat IP information.
|
Compute.Routers.GetNatIpInfo |
set(String parameterName,
Object value) |
Compute.Routers.GetNatIpInfo |
set$Xgafv(String $Xgafv)
V1 error format.
|
Compute.Routers.GetNatIpInfo |
setAccessToken(String accessToken)
OAuth access token.
|
Compute.Routers.GetNatIpInfo |
setAlt(String alt)
Data format for response.
|
Compute.Routers.GetNatIpInfo |
setCallback(String callback)
JSONP
|
Compute.Routers.GetNatIpInfo |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Compute.Routers.GetNatIpInfo |
setKey(String key)
API key.
|
Compute.Routers.GetNatIpInfo |
setNatName(String natName)
Name of the nat service to filter the NAT IP information.
|
Compute.Routers.GetNatIpInfo |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Compute.Routers.GetNatIpInfo |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Compute.Routers.GetNatIpInfo |
setProject(String project)
Project ID for this request.
|
Compute.Routers.GetNatIpInfo |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Compute.Routers.GetNatIpInfo |
setRegion(String region)
Name of the region for this request.
|
Compute.Routers.GetNatIpInfo |
setRouter(String router)
Name of the Router resource to query for Nat IP information.
|
Compute.Routers.GetNatIpInfo |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Compute.Routers.GetNatIpInfo |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
Compute.Routers.GetNatIpInfo |
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 GetNatIpInfo(String project, String region, String router)
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 for this request.router
- Name of the Router resource to query for Nat IP information. 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<NatIpInfoResponse>
IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<NatIpInfoResponse>
IOException
public Compute.Routers.GetNatIpInfo set$Xgafv(String $Xgafv)
ComputeRequest
set$Xgafv
in class ComputeRequest<NatIpInfoResponse>
public Compute.Routers.GetNatIpInfo setAccessToken(String accessToken)
ComputeRequest
setAccessToken
in class ComputeRequest<NatIpInfoResponse>
public Compute.Routers.GetNatIpInfo setAlt(String alt)
ComputeRequest
setAlt
in class ComputeRequest<NatIpInfoResponse>
public Compute.Routers.GetNatIpInfo setCallback(String callback)
ComputeRequest
setCallback
in class ComputeRequest<NatIpInfoResponse>
public Compute.Routers.GetNatIpInfo setFields(String fields)
ComputeRequest
setFields
in class ComputeRequest<NatIpInfoResponse>
public Compute.Routers.GetNatIpInfo setKey(String key)
ComputeRequest
setKey
in class ComputeRequest<NatIpInfoResponse>
public Compute.Routers.GetNatIpInfo setOauthToken(String oauthToken)
ComputeRequest
setOauthToken
in class ComputeRequest<NatIpInfoResponse>
public Compute.Routers.GetNatIpInfo setPrettyPrint(Boolean prettyPrint)
ComputeRequest
setPrettyPrint
in class ComputeRequest<NatIpInfoResponse>
public Compute.Routers.GetNatIpInfo setQuotaUser(String quotaUser)
ComputeRequest
setQuotaUser
in class ComputeRequest<NatIpInfoResponse>
public Compute.Routers.GetNatIpInfo setUploadType(String uploadType)
ComputeRequest
setUploadType
in class ComputeRequest<NatIpInfoResponse>
public Compute.Routers.GetNatIpInfo setUploadProtocol(String uploadProtocol)
ComputeRequest
setUploadProtocol
in class ComputeRequest<NatIpInfoResponse>
public Compute.Routers.GetNatIpInfo setUserIp(String userIp)
ComputeRequest
setUserIp
in class ComputeRequest<NatIpInfoResponse>
public String getProject()
public Compute.Routers.GetNatIpInfo setProject(String project)
public String getRegion()
public Compute.Routers.GetNatIpInfo setRegion(String region)
public String getRouter()
public Compute.Routers.GetNatIpInfo setRouter(String router)
public String getNatName()
public Compute.Routers.GetNatIpInfo setNatName(String natName)
public Compute.Routers.GetNatIpInfo set(String parameterName, Object value)
set
in class ComputeRequest<NatIpInfoResponse>
Copyright © 2011–2024 Google. All rights reserved.