public class Compute.GlobalAddresses.GetOwnerInstance extends ComputeRequest<GetOwnerInstanceResponse>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
USER_AGENT_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
GetOwnerInstance(String project)
Find owner instance from given ip address
Create a request for the method "globalAddresses.getOwnerInstance".
|
Modifier and Type | Method and Description |
---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getIpAddress()
The ip_address could be external IPv4, or internal IPv4 within IPv6 form of virtual_network_id with
internal IPv4.
|
String |
getProject()
Project ID for this request.
|
Compute.GlobalAddresses.GetOwnerInstance |
set(String parameterName,
Object value) |
Compute.GlobalAddresses.GetOwnerInstance |
set$Xgafv(String $Xgafv)
V1 error format.
|
Compute.GlobalAddresses.GetOwnerInstance |
setAccessToken(String accessToken)
OAuth access token.
|
Compute.GlobalAddresses.GetOwnerInstance |
setAlt(String alt)
Data format for response.
|
Compute.GlobalAddresses.GetOwnerInstance |
setCallback(String callback)
JSONP
|
Compute.GlobalAddresses.GetOwnerInstance |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Compute.GlobalAddresses.GetOwnerInstance |
setIpAddress(String ipAddress)
The ip_address could be external IPv4, or internal IPv4 within IPv6 form of
virtual_network_id with internal IPv4.
|
Compute.GlobalAddresses.GetOwnerInstance |
setKey(String key)
API key.
|
Compute.GlobalAddresses.GetOwnerInstance |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Compute.GlobalAddresses.GetOwnerInstance |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Compute.GlobalAddresses.GetOwnerInstance |
setProject(String project)
Project ID for this request.
|
Compute.GlobalAddresses.GetOwnerInstance |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Compute.GlobalAddresses.GetOwnerInstance |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Compute.GlobalAddresses.GetOwnerInstance |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
Compute.GlobalAddresses.GetOwnerInstance |
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 GetOwnerInstance(String project)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
GetOwnerInstance#initialize(com.google.api.client.googleapis.services.AbstractGoogle
ClientRequest)
must be called to initialize this instance immediately after invoking the
constructor.
project
- Project ID for this request.public HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class AbstractGoogleClientRequest<GetOwnerInstanceResponse>
IOException
public HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class AbstractGoogleClientRequest<GetOwnerInstanceResponse>
IOException
public Compute.GlobalAddresses.GetOwnerInstance set$Xgafv(String $Xgafv)
ComputeRequest
set$Xgafv
in class ComputeRequest<GetOwnerInstanceResponse>
public Compute.GlobalAddresses.GetOwnerInstance setAccessToken(String accessToken)
ComputeRequest
setAccessToken
in class ComputeRequest<GetOwnerInstanceResponse>
public Compute.GlobalAddresses.GetOwnerInstance setAlt(String alt)
ComputeRequest
setAlt
in class ComputeRequest<GetOwnerInstanceResponse>
public Compute.GlobalAddresses.GetOwnerInstance setCallback(String callback)
ComputeRequest
setCallback
in class ComputeRequest<GetOwnerInstanceResponse>
public Compute.GlobalAddresses.GetOwnerInstance setFields(String fields)
ComputeRequest
setFields
in class ComputeRequest<GetOwnerInstanceResponse>
public Compute.GlobalAddresses.GetOwnerInstance setKey(String key)
ComputeRequest
setKey
in class ComputeRequest<GetOwnerInstanceResponse>
public Compute.GlobalAddresses.GetOwnerInstance setOauthToken(String oauthToken)
ComputeRequest
setOauthToken
in class ComputeRequest<GetOwnerInstanceResponse>
public Compute.GlobalAddresses.GetOwnerInstance setPrettyPrint(Boolean prettyPrint)
ComputeRequest
setPrettyPrint
in class ComputeRequest<GetOwnerInstanceResponse>
public Compute.GlobalAddresses.GetOwnerInstance setQuotaUser(String quotaUser)
ComputeRequest
setQuotaUser
in class ComputeRequest<GetOwnerInstanceResponse>
public Compute.GlobalAddresses.GetOwnerInstance setUploadType(String uploadType)
ComputeRequest
setUploadType
in class ComputeRequest<GetOwnerInstanceResponse>
public Compute.GlobalAddresses.GetOwnerInstance setUploadProtocol(String uploadProtocol)
ComputeRequest
setUploadProtocol
in class ComputeRequest<GetOwnerInstanceResponse>
public Compute.GlobalAddresses.GetOwnerInstance setUserIp(String userIp)
ComputeRequest
setUserIp
in class ComputeRequest<GetOwnerInstanceResponse>
public String getProject()
public Compute.GlobalAddresses.GetOwnerInstance setProject(String project)
public String getIpAddress()
public Compute.GlobalAddresses.GetOwnerInstance setIpAddress(String ipAddress)
public Compute.GlobalAddresses.GetOwnerInstance set(String parameterName, Object value)
set
in class ComputeRequest<GetOwnerInstanceResponse>
Copyright © 2011–2022 Google. All rights reserved.