public class Compute.NodeGroups.Get extends ComputeRequest<NodeGroup>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
Get(String project,
String zone,
String nodeGroup)
Returns the specified NodeGroup.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getNodeGroup()
Name of the node group to return.
|
String |
getProject()
Project ID for this request.
|
String |
getZone()
The name of the zone for this request.
|
Compute.NodeGroups.Get |
set(String parameterName,
Object value) |
Compute.NodeGroups.Get |
setAlt(String alt)
Data format for the response.
|
Compute.NodeGroups.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Compute.NodeGroups.Get |
setKey(String key)
API key.
|
Compute.NodeGroups.Get |
setNodeGroup(String nodeGroup)
Name of the node group to return.
|
Compute.NodeGroups.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Compute.NodeGroups.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Compute.NodeGroups.Get |
setProject(String project)
Project ID for this request.
|
Compute.NodeGroups.Get |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Compute.NodeGroups.Get |
setUserIp(String userIp)
Deprecated.
|
Compute.NodeGroups.Get |
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 Get(String project, String zone, String nodeGroup)
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.zone - The name of the zone for this request.nodeGroup - Name of the node group to return.public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<NodeGroup>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<NodeGroup>IOExceptionpublic Compute.NodeGroups.Get setAlt(String alt)
ComputeRequestsetAlt in class ComputeRequest<NodeGroup>public Compute.NodeGroups.Get setFields(String fields)
ComputeRequestsetFields in class ComputeRequest<NodeGroup>public Compute.NodeGroups.Get setKey(String key)
ComputeRequestsetKey in class ComputeRequest<NodeGroup>public Compute.NodeGroups.Get setOauthToken(String oauthToken)
ComputeRequestsetOauthToken in class ComputeRequest<NodeGroup>public Compute.NodeGroups.Get setPrettyPrint(Boolean prettyPrint)
ComputeRequestsetPrettyPrint in class ComputeRequest<NodeGroup>public Compute.NodeGroups.Get setQuotaUser(String quotaUser)
ComputeRequestsetQuotaUser in class ComputeRequest<NodeGroup>public Compute.NodeGroups.Get setUserIp(String userIp)
ComputeRequestsetUserIp in class ComputeRequest<NodeGroup>public String getProject()
public Compute.NodeGroups.Get setProject(String project)
public String getZone()
public Compute.NodeGroups.Get setZone(String zone)
public String getNodeGroup()
public Compute.NodeGroups.Get setNodeGroup(String nodeGroup)
public Compute.NodeGroups.Get set(String parameterName, Object value)
set in class ComputeRequest<NodeGroup>Copyright © 2011–2019 Google. All rights reserved.