public class Dataproc.Projects.Locations.AutoscalingPolicies.Create extends DataprocRequest<AutoscalingPolicy>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
USER_AGENT_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
Create(String parent,
AutoscalingPolicy content)
Creates new autoscaling policy.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, 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, setReturnRawInputStream
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected Create(String parent, 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.
parent
- Required. The "resource name" of the region or location, as described in
https://cloud.google.com/apis/design/resource_names. For
projects.regions.autoscalingPolicies.create, the resource name has the following format:
projects/{project_id}/regions/{region} For projects.locations.autoscalingPolicies.create,
the resource name has the following format: projects/{project_id}/locations/{location}content
- the AutoscalingPolicy
public Dataproc.Projects.Locations.AutoscalingPolicies.Create set$Xgafv(String $Xgafv)
DataprocRequest
set$Xgafv
in class DataprocRequest<AutoscalingPolicy>
public Dataproc.Projects.Locations.AutoscalingPolicies.Create setAccessToken(String accessToken)
DataprocRequest
setAccessToken
in class DataprocRequest<AutoscalingPolicy>
public Dataproc.Projects.Locations.AutoscalingPolicies.Create setAlt(String alt)
DataprocRequest
setAlt
in class DataprocRequest<AutoscalingPolicy>
public Dataproc.Projects.Locations.AutoscalingPolicies.Create setCallback(String callback)
DataprocRequest
setCallback
in class DataprocRequest<AutoscalingPolicy>
public Dataproc.Projects.Locations.AutoscalingPolicies.Create setFields(String fields)
DataprocRequest
setFields
in class DataprocRequest<AutoscalingPolicy>
public Dataproc.Projects.Locations.AutoscalingPolicies.Create setKey(String key)
DataprocRequest
setKey
in class DataprocRequest<AutoscalingPolicy>
public Dataproc.Projects.Locations.AutoscalingPolicies.Create setOauthToken(String oauthToken)
DataprocRequest
setOauthToken
in class DataprocRequest<AutoscalingPolicy>
public Dataproc.Projects.Locations.AutoscalingPolicies.Create setPrettyPrint(Boolean prettyPrint)
DataprocRequest
setPrettyPrint
in class DataprocRequest<AutoscalingPolicy>
public Dataproc.Projects.Locations.AutoscalingPolicies.Create setQuotaUser(String quotaUser)
DataprocRequest
setQuotaUser
in class DataprocRequest<AutoscalingPolicy>
public Dataproc.Projects.Locations.AutoscalingPolicies.Create setUploadType(String uploadType)
DataprocRequest
setUploadType
in class DataprocRequest<AutoscalingPolicy>
public Dataproc.Projects.Locations.AutoscalingPolicies.Create setUploadProtocol(String uploadProtocol)
DataprocRequest
setUploadProtocol
in class DataprocRequest<AutoscalingPolicy>
public String getParent()
public Dataproc.Projects.Locations.AutoscalingPolicies.Create setParent(String parent)
public Dataproc.Projects.Locations.AutoscalingPolicies.Create set(String parameterName, Object value)
set
in class DataprocRequest<AutoscalingPolicy>
Copyright © 2011–2021 Google. All rights reserved.