public class Compute.GlobalAddresses.GetOwnerInstance extends ComputeRequest<GetOwnerInstanceResponse>
GenericData.FlagsAbstractMap.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 |
setAlt(String alt)
Data format for the response.
|
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)
An opaque string that represents a user for quota purposes.
|
Compute.GlobalAddresses.GetOwnerInstance |
setUserIp(String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, 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 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>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<GetOwnerInstanceResponse>IOExceptionpublic Compute.GlobalAddresses.GetOwnerInstance setAlt(String alt)
ComputeRequestsetAlt in class ComputeRequest<GetOwnerInstanceResponse>public Compute.GlobalAddresses.GetOwnerInstance setFields(String fields)
ComputeRequestsetFields in class ComputeRequest<GetOwnerInstanceResponse>public Compute.GlobalAddresses.GetOwnerInstance setKey(String key)
ComputeRequestsetKey in class ComputeRequest<GetOwnerInstanceResponse>public Compute.GlobalAddresses.GetOwnerInstance setOauthToken(String oauthToken)
ComputeRequestsetOauthToken in class ComputeRequest<GetOwnerInstanceResponse>public Compute.GlobalAddresses.GetOwnerInstance setPrettyPrint(Boolean prettyPrint)
ComputeRequestsetPrettyPrint in class ComputeRequest<GetOwnerInstanceResponse>public Compute.GlobalAddresses.GetOwnerInstance setQuotaUser(String quotaUser)
ComputeRequestsetQuotaUser in class ComputeRequest<GetOwnerInstanceResponse>public Compute.GlobalAddresses.GetOwnerInstance setUserIp(String userIp)
ComputeRequestsetUserIp 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–2020 Google. All rights reserved.