public class Compute.NodeGroups.SetAutoscalingPolicy extends ComputeRequest<Operation>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
SetAutoscalingPolicy(String project,
String zone,
String nodeGroup,
NodeGroupsSetAutoscalingPolicyRequest content)
Sets the autoscaling policy of the node group.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getNodeGroup()
Name of the NodeGroup resource to update.
|
String |
getProject()
Project ID for this request.
|
String |
getRequestId()
An optional request ID to identify requests.
|
String |
getZone()
The name of the zone for this request.
|
Compute.NodeGroups.SetAutoscalingPolicy |
set(String parameterName,
Object value) |
Compute.NodeGroups.SetAutoscalingPolicy |
setAlt(String alt)
Data format for the response.
|
Compute.NodeGroups.SetAutoscalingPolicy |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Compute.NodeGroups.SetAutoscalingPolicy |
setKey(String key)
API key.
|
Compute.NodeGroups.SetAutoscalingPolicy |
setNodeGroup(String nodeGroup)
Name of the NodeGroup resource to update.
|
Compute.NodeGroups.SetAutoscalingPolicy |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Compute.NodeGroups.SetAutoscalingPolicy |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Compute.NodeGroups.SetAutoscalingPolicy |
setProject(String project)
Project ID for this request.
|
Compute.NodeGroups.SetAutoscalingPolicy |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Compute.NodeGroups.SetAutoscalingPolicy |
setRequestId(String requestId)
An optional request ID to identify requests.
|
Compute.NodeGroups.SetAutoscalingPolicy |
setUserIp(String userIp)
Deprecated.
|
Compute.NodeGroups.SetAutoscalingPolicy |
setZone(String zone)
The name of the zone for this request.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, 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 SetAutoscalingPolicy(String project, String zone, String nodeGroup, NodeGroupsSetAutoscalingPolicyRequest content)
AbstractGoogleClientRequest.execute() method to invoke the remote
operation. SetAutoscalingPolicy#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 NodeGroup resource to update.content - the NodeGroupsSetAutoscalingPolicyRequestpublic Compute.NodeGroups.SetAutoscalingPolicy setAlt(String alt)
ComputeRequestsetAlt in class ComputeRequest<Operation>public Compute.NodeGroups.SetAutoscalingPolicy setFields(String fields)
ComputeRequestsetFields in class ComputeRequest<Operation>public Compute.NodeGroups.SetAutoscalingPolicy setKey(String key)
ComputeRequestsetKey in class ComputeRequest<Operation>public Compute.NodeGroups.SetAutoscalingPolicy setOauthToken(String oauthToken)
ComputeRequestsetOauthToken in class ComputeRequest<Operation>public Compute.NodeGroups.SetAutoscalingPolicy setPrettyPrint(Boolean prettyPrint)
ComputeRequestsetPrettyPrint in class ComputeRequest<Operation>public Compute.NodeGroups.SetAutoscalingPolicy setQuotaUser(String quotaUser)
ComputeRequestsetQuotaUser in class ComputeRequest<Operation>public Compute.NodeGroups.SetAutoscalingPolicy setUserIp(String userIp)
ComputeRequestsetUserIp in class ComputeRequest<Operation>public String getProject()
public Compute.NodeGroups.SetAutoscalingPolicy setProject(String project)
public String getZone()
public Compute.NodeGroups.SetAutoscalingPolicy setZone(String zone)
public String getNodeGroup()
public Compute.NodeGroups.SetAutoscalingPolicy setNodeGroup(String nodeGroup)
public String getRequestId()
public Compute.NodeGroups.SetAutoscalingPolicy setRequestId(String requestId)
public Compute.NodeGroups.SetAutoscalingPolicy set(String parameterName, Object value)
set in class ComputeRequest<Operation>Copyright © 2011–2019 Google. All rights reserved.