public class Compute.Instances.GetGuestAttributes extends ComputeRequest<GuestAttributes>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
GetGuestAttributes(String project,
String zone,
String instance)
Returns the specified guest attributes entry.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getInstance()
Name of the instance scoping this request.
|
String |
getProject()
Project ID for this request.
|
String |
getQueryPath()
Specifies the guest attributes path to be queried.
|
String |
getVariableKey()
Specifies the key for the guest attributes entry.
|
String |
getZone()
The name of the zone for this request.
|
Compute.Instances.GetGuestAttributes |
set(String parameterName,
Object value) |
Compute.Instances.GetGuestAttributes |
setAlt(String alt)
Data format for the response.
|
Compute.Instances.GetGuestAttributes |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Compute.Instances.GetGuestAttributes |
setInstance(String instance)
Name of the instance scoping this request.
|
Compute.Instances.GetGuestAttributes |
setKey(String key)
API key.
|
Compute.Instances.GetGuestAttributes |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Compute.Instances.GetGuestAttributes |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Compute.Instances.GetGuestAttributes |
setProject(String project)
Project ID for this request.
|
Compute.Instances.GetGuestAttributes |
setQueryPath(String queryPath)
Specifies the guest attributes path to be queried.
|
Compute.Instances.GetGuestAttributes |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Compute.Instances.GetGuestAttributes |
setUserIp(String userIp)
Deprecated.
|
Compute.Instances.GetGuestAttributes |
setVariableKey(String variableKey)
Specifies the key for the guest attributes entry.
|
Compute.Instances.GetGuestAttributes |
setZone(String zone)
The name of the zone for this request.
|
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, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected GetGuestAttributes(String project, String zone, String instance)
AbstractGoogleClientRequest.execute() method to invoke the remote
operation. GetGuestAttributes#initialize(com.google.api.client.googleapis.services.A
bstractGoogleClientRequest) must be called to initialize this instance immediately after
invoking the constructor.
project - Project ID for this request.zone - The name of the zone for this request.instance - Name of the instance scoping this request.public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<GuestAttributes>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<GuestAttributes>IOExceptionpublic Compute.Instances.GetGuestAttributes setAlt(String alt)
ComputeRequestsetAlt in class ComputeRequest<GuestAttributes>public Compute.Instances.GetGuestAttributes setFields(String fields)
ComputeRequestsetFields in class ComputeRequest<GuestAttributes>public Compute.Instances.GetGuestAttributes setKey(String key)
ComputeRequestsetKey in class ComputeRequest<GuestAttributes>public Compute.Instances.GetGuestAttributes setOauthToken(String oauthToken)
ComputeRequestsetOauthToken in class ComputeRequest<GuestAttributes>public Compute.Instances.GetGuestAttributes setPrettyPrint(Boolean prettyPrint)
ComputeRequestsetPrettyPrint in class ComputeRequest<GuestAttributes>public Compute.Instances.GetGuestAttributes setQuotaUser(String quotaUser)
ComputeRequestsetQuotaUser in class ComputeRequest<GuestAttributes>public Compute.Instances.GetGuestAttributes setUserIp(String userIp)
ComputeRequestsetUserIp in class ComputeRequest<GuestAttributes>public String getProject()
public Compute.Instances.GetGuestAttributes setProject(String project)
public String getZone()
public Compute.Instances.GetGuestAttributes setZone(String zone)
public String getInstance()
public Compute.Instances.GetGuestAttributes setInstance(String instance)
public String getQueryPath()
public Compute.Instances.GetGuestAttributes setQueryPath(String queryPath)
public String getVariableKey()
public Compute.Instances.GetGuestAttributes setVariableKey(String variableKey)
public Compute.Instances.GetGuestAttributes set(String parameterName, Object value)
set in class ComputeRequest<GuestAttributes>Copyright © 2011–2019 Google. All rights reserved.