public class Dataproc.Projects.Locations.AutoscalingPolicies.Update extends DataprocRequest<AutoscalingPolicy>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
Update(String name,
AutoscalingPolicy content)
Updates (replaces) autoscaling policy.Disabled check for update_mask, because all updates will
be full replacements.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, 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, 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 Update(String name, AutoscalingPolicy content)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Dataproc.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must
be called to initialize this instance immediately after invoking the constructor.
name - Output only. The "resource name" of the autoscaling policy, as described in
https://cloud.google.com/apis/design/resource_names. For
projects.regions.autoscalingPolicies, the resource name of the policy has the following
format: projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} For
projects.locations.autoscalingPolicies, the resource name of the policy has the following
format: projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}content - the AutoscalingPolicypublic Dataproc.Projects.Locations.AutoscalingPolicies.Update set$Xgafv(String $Xgafv)
DataprocRequestset$Xgafv in class DataprocRequest<AutoscalingPolicy>public Dataproc.Projects.Locations.AutoscalingPolicies.Update setAccessToken(String accessToken)
DataprocRequestsetAccessToken in class DataprocRequest<AutoscalingPolicy>public Dataproc.Projects.Locations.AutoscalingPolicies.Update setAlt(String alt)
DataprocRequestsetAlt in class DataprocRequest<AutoscalingPolicy>public Dataproc.Projects.Locations.AutoscalingPolicies.Update setCallback(String callback)
DataprocRequestsetCallback in class DataprocRequest<AutoscalingPolicy>public Dataproc.Projects.Locations.AutoscalingPolicies.Update setFields(String fields)
DataprocRequestsetFields in class DataprocRequest<AutoscalingPolicy>public Dataproc.Projects.Locations.AutoscalingPolicies.Update setKey(String key)
DataprocRequestsetKey in class DataprocRequest<AutoscalingPolicy>public Dataproc.Projects.Locations.AutoscalingPolicies.Update setOauthToken(String oauthToken)
DataprocRequestsetOauthToken in class DataprocRequest<AutoscalingPolicy>public Dataproc.Projects.Locations.AutoscalingPolicies.Update setPrettyPrint(Boolean prettyPrint)
DataprocRequestsetPrettyPrint in class DataprocRequest<AutoscalingPolicy>public Dataproc.Projects.Locations.AutoscalingPolicies.Update setQuotaUser(String quotaUser)
DataprocRequestsetQuotaUser in class DataprocRequest<AutoscalingPolicy>public Dataproc.Projects.Locations.AutoscalingPolicies.Update setUploadType(String uploadType)
DataprocRequestsetUploadType in class DataprocRequest<AutoscalingPolicy>public Dataproc.Projects.Locations.AutoscalingPolicies.Update setUploadProtocol(String uploadProtocol)
DataprocRequestsetUploadProtocol in class DataprocRequest<AutoscalingPolicy>public String getName()
public Dataproc.Projects.Locations.AutoscalingPolicies.Update setName(String name)
public Dataproc.Projects.Locations.AutoscalingPolicies.Update set(String parameterName, Object value)
set in class DataprocRequest<AutoscalingPolicy>Copyright © 2011–2021 Google. All rights reserved.