public class Dataproc.Projects.Regions.Clusters.List extends DataprocRequest<ListClustersResponse>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
USER_AGENT_SUFFIX
Modifier | Constructor and Description |
---|---|
protected |
List(String projectId,
String region)
Lists all regions/{region}/clusters in a project alphabetically.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, 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 List(String projectId, String region)
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.
projectId
- Required. The ID of the Google Cloud Platform project that the cluster belongs to.region
- Required. The Dataproc region in which to handle the request.public HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class AbstractGoogleClientRequest<ListClustersResponse>
IOException
public HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class AbstractGoogleClientRequest<ListClustersResponse>
IOException
public Dataproc.Projects.Regions.Clusters.List set$Xgafv(String $Xgafv)
DataprocRequest
set$Xgafv
in class DataprocRequest<ListClustersResponse>
public Dataproc.Projects.Regions.Clusters.List setAccessToken(String accessToken)
DataprocRequest
setAccessToken
in class DataprocRequest<ListClustersResponse>
public Dataproc.Projects.Regions.Clusters.List setAlt(String alt)
DataprocRequest
setAlt
in class DataprocRequest<ListClustersResponse>
public Dataproc.Projects.Regions.Clusters.List setCallback(String callback)
DataprocRequest
setCallback
in class DataprocRequest<ListClustersResponse>
public Dataproc.Projects.Regions.Clusters.List setFields(String fields)
DataprocRequest
setFields
in class DataprocRequest<ListClustersResponse>
public Dataproc.Projects.Regions.Clusters.List setKey(String key)
DataprocRequest
setKey
in class DataprocRequest<ListClustersResponse>
public Dataproc.Projects.Regions.Clusters.List setOauthToken(String oauthToken)
DataprocRequest
setOauthToken
in class DataprocRequest<ListClustersResponse>
public Dataproc.Projects.Regions.Clusters.List setPrettyPrint(Boolean prettyPrint)
DataprocRequest
setPrettyPrint
in class DataprocRequest<ListClustersResponse>
public Dataproc.Projects.Regions.Clusters.List setQuotaUser(String quotaUser)
DataprocRequest
setQuotaUser
in class DataprocRequest<ListClustersResponse>
public Dataproc.Projects.Regions.Clusters.List setUploadType(String uploadType)
DataprocRequest
setUploadType
in class DataprocRequest<ListClustersResponse>
public Dataproc.Projects.Regions.Clusters.List setUploadProtocol(String uploadProtocol)
DataprocRequest
setUploadProtocol
in class DataprocRequest<ListClustersResponse>
public String getProjectId()
public Dataproc.Projects.Regions.Clusters.List setProjectId(String projectId)
public String getRegion()
public Dataproc.Projects.Regions.Clusters.List setRegion(String region)
public String getFilter()
public Dataproc.Projects.Regions.Clusters.List setFilter(String filter)
public Integer getPageSize()
public Dataproc.Projects.Regions.Clusters.List setPageSize(Integer pageSize)
public String getPageToken()
public Dataproc.Projects.Regions.Clusters.List setPageToken(String pageToken)
public Dataproc.Projects.Regions.Clusters.List set(String parameterName, Object value)
set
in class DataprocRequest<ListClustersResponse>
Copyright © 2011–2021 Google. All rights reserved.