public class Container.Projects.Zones.Clusters.SetMaintenancePolicy extends ContainerRequest<Operation>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
SetMaintenancePolicy(String projectId,
String zone,
String clusterId,
SetMaintenancePolicyRequest content)
Sets the maintenance policy for a cluster.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getClusterId()
The name of the cluster to update.
|
String |
getProjectId()
The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).
|
String |
getZone()
The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster
resides.
|
Container.Projects.Zones.Clusters.SetMaintenancePolicy |
set(String parameterName,
Object value) |
Container.Projects.Zones.Clusters.SetMaintenancePolicy |
set$Xgafv(String $Xgafv)
V1 error format.
|
Container.Projects.Zones.Clusters.SetMaintenancePolicy |
setAccessToken(String accessToken)
OAuth access token.
|
Container.Projects.Zones.Clusters.SetMaintenancePolicy |
setAlt(String alt)
Data format for response.
|
Container.Projects.Zones.Clusters.SetMaintenancePolicy |
setCallback(String callback)
JSONP
|
Container.Projects.Zones.Clusters.SetMaintenancePolicy |
setClusterId(String clusterId)
The name of the cluster to update.
|
Container.Projects.Zones.Clusters.SetMaintenancePolicy |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Container.Projects.Zones.Clusters.SetMaintenancePolicy |
setKey(String key)
API key.
|
Container.Projects.Zones.Clusters.SetMaintenancePolicy |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Container.Projects.Zones.Clusters.SetMaintenancePolicy |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Container.Projects.Zones.Clusters.SetMaintenancePolicy |
setProjectId(String projectId)
The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).
|
Container.Projects.Zones.Clusters.SetMaintenancePolicy |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Container.Projects.Zones.Clusters.SetMaintenancePolicy |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Container.Projects.Zones.Clusters.SetMaintenancePolicy |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
Container.Projects.Zones.Clusters.SetMaintenancePolicy |
setZone(String zone)
The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which
the cluster resides.
|
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 SetMaintenancePolicy(String projectId, String zone, String clusterId, SetMaintenancePolicyRequest content)
AbstractGoogleClientRequest.execute() method to invoke the
remote operation. SetMaintenancePolicy#initialize(com.google.api.client.googleapis.s
ervices.AbstractGoogleClientRequest) must be called to initialize this instance immediately
after invoking the constructor.
projectId - The Google Developers Console [project ID or project
number](https://support.google.com/cloud/answer/6158840).zone - The name of the Google Compute Engine
[zone](/compute/docs/zones#available) in which the cluster
resides.clusterId - The name of the cluster to update.content - the SetMaintenancePolicyRequestpublic Container.Projects.Zones.Clusters.SetMaintenancePolicy set$Xgafv(String $Xgafv)
ContainerRequestset$Xgafv in class ContainerRequest<Operation>public Container.Projects.Zones.Clusters.SetMaintenancePolicy setAccessToken(String accessToken)
ContainerRequestsetAccessToken in class ContainerRequest<Operation>public Container.Projects.Zones.Clusters.SetMaintenancePolicy setAlt(String alt)
ContainerRequestsetAlt in class ContainerRequest<Operation>public Container.Projects.Zones.Clusters.SetMaintenancePolicy setCallback(String callback)
ContainerRequestsetCallback in class ContainerRequest<Operation>public Container.Projects.Zones.Clusters.SetMaintenancePolicy setFields(String fields)
ContainerRequestsetFields in class ContainerRequest<Operation>public Container.Projects.Zones.Clusters.SetMaintenancePolicy setKey(String key)
ContainerRequestsetKey in class ContainerRequest<Operation>public Container.Projects.Zones.Clusters.SetMaintenancePolicy setOauthToken(String oauthToken)
ContainerRequestsetOauthToken in class ContainerRequest<Operation>public Container.Projects.Zones.Clusters.SetMaintenancePolicy setPrettyPrint(Boolean prettyPrint)
ContainerRequestsetPrettyPrint in class ContainerRequest<Operation>public Container.Projects.Zones.Clusters.SetMaintenancePolicy setQuotaUser(String quotaUser)
ContainerRequestsetQuotaUser in class ContainerRequest<Operation>public Container.Projects.Zones.Clusters.SetMaintenancePolicy setUploadType(String uploadType)
ContainerRequestsetUploadType in class ContainerRequest<Operation>public Container.Projects.Zones.Clusters.SetMaintenancePolicy setUploadProtocol(String uploadProtocol)
ContainerRequestsetUploadProtocol in class ContainerRequest<Operation>public String getProjectId()
public Container.Projects.Zones.Clusters.SetMaintenancePolicy setProjectId(String projectId)
public String getZone()
public Container.Projects.Zones.Clusters.SetMaintenancePolicy setZone(String zone)
public String getClusterId()
public Container.Projects.Zones.Clusters.SetMaintenancePolicy setClusterId(String clusterId)
public Container.Projects.Zones.Clusters.SetMaintenancePolicy set(String parameterName, Object value)
set in class ContainerRequest<Operation>Copyright © 2011–2019 Google. All rights reserved.