public class Dataproc.Projects.Regions.Clusters extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Dataproc.Projects.Regions.Clusters.Create |
class |
Dataproc.Projects.Regions.Clusters.Delete |
class |
Dataproc.Projects.Regions.Clusters.Diagnose |
class |
Dataproc.Projects.Regions.Clusters.Get |
class |
Dataproc.Projects.Regions.Clusters.GetIamPolicy |
class |
Dataproc.Projects.Regions.Clusters.InjectCredentials |
class |
Dataproc.Projects.Regions.Clusters.List |
class |
Dataproc.Projects.Regions.Clusters.Patch |
class |
Dataproc.Projects.Regions.Clusters.SetIamPolicy |
class |
Dataproc.Projects.Regions.Clusters.Start |
class |
Dataproc.Projects.Regions.Clusters.Stop |
class |
Dataproc.Projects.Regions.Clusters.TestIamPermissions |
| Constructor and Description |
|---|
Clusters() |
| Modifier and Type | Method and Description |
|---|---|
Dataproc.Projects.Regions.Clusters.Create |
create(String projectId,
String region,
Cluster content)
Creates a cluster in a project.
|
Dataproc.Projects.Regions.Clusters.Delete |
delete(String projectId,
String region,
String clusterName)
Deletes a cluster in a project.
|
Dataproc.Projects.Regions.Clusters.Diagnose |
diagnose(String projectId,
String region,
String clusterName,
DiagnoseClusterRequest content)
Gets cluster diagnostic information.
|
Dataproc.Projects.Regions.Clusters.Get |
get(String projectId,
String region,
String clusterName)
Gets the resource representation for a cluster in a project.
|
Dataproc.Projects.Regions.Clusters.GetIamPolicy |
getIamPolicy(String resource)
Gets the access control policy for a resource.
|
Dataproc.Projects.Regions.Clusters.InjectCredentials |
injectCredentials(String project,
String region,
String cluster,
InjectCredentialsRequest content)
Inject encrypted credentials into all of the VMs in a cluster.The target cluster must be a
personal auth cluster assigned to the user who is issuing the RPC.
|
Dataproc.Projects.Regions.Clusters.List |
list(String projectId,
String region)
Lists all regions/{region}/clusters in a project alphabetically.
|
Dataproc.Projects.Regions.Clusters.Patch |
patch(String projectId,
String region,
String clusterName,
Cluster content)
Updates a cluster in a project.
|
Dataproc.Projects.Regions.Clusters.SetIamPolicy |
setIamPolicy(String resource,
SetIamPolicyRequest content)
Sets the access control policy on the specified resource.
|
Dataproc.Projects.Regions.Clusters.Start |
start(String projectId,
String region,
String clusterName,
StartClusterRequest content)
Starts a cluster in a project.
|
Dataproc.Projects.Regions.Clusters.Stop |
stop(String projectId,
String region,
String clusterName,
StopClusterRequest content)
Stops a cluster in a project.
|
Dataproc.Projects.Regions.Clusters.TestIamPermissions |
testIamPermissions(String resource,
TestIamPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
|
public Dataproc.Projects.Regions.Clusters.Create create(String projectId, String region, Cluster content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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.content - the ClusterIOExceptionpublic Dataproc.Projects.Regions.Clusters.Delete delete(String projectId, String region, String clusterName) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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.clusterName - Required. The cluster name.IOExceptionpublic Dataproc.Projects.Regions.Clusters.Diagnose diagnose(String projectId, String region, String clusterName, DiagnoseClusterRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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.clusterName - Required. The cluster name.content - the DiagnoseClusterRequestIOExceptionpublic Dataproc.Projects.Regions.Clusters.Get get(String projectId, String region, String clusterName) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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.clusterName - Required. The cluster name.IOExceptionpublic Dataproc.Projects.Regions.Clusters.GetIamPolicy getIamPolicy(String resource) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resource - REQUIRED: The resource for which the policy is being requested. See the operation documentation for
the appropriate value for this field.IOExceptionpublic Dataproc.Projects.Regions.Clusters.InjectCredentials injectCredentials(String project, String region, String cluster, InjectCredentialsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Required. The ID of the Google Cloud Platform project the cluster belongs to, of the form projects/.region - Required. The region containing the cluster, of the form regions/.cluster - Required. The cluster, in the form clusters/.content - the InjectCredentialsRequestIOExceptionpublic Dataproc.Projects.Regions.Clusters.List list(String projectId, String region) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.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.IOExceptionpublic Dataproc.Projects.Regions.Clusters.Patch patch(String projectId, String region, String clusterName, Cluster content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Required. The ID of the Google Cloud Platform project the cluster belongs to.region - Required. The Dataproc region in which to handle the request.clusterName - Required. The cluster name.content - the ClusterIOExceptionpublic Dataproc.Projects.Regions.Clusters.SetIamPolicy setIamPolicy(String resource, SetIamPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resource - REQUIRED: The resource for which the policy is being specified. See the operation documentation for
the appropriate value for this field.content - the SetIamPolicyRequestIOExceptionpublic Dataproc.Projects.Regions.Clusters.Start start(String projectId, String region, String clusterName, StartClusterRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Required. The ID of the Google Cloud Platform project the cluster belongs to.region - Required. The Dataproc region in which to handle the request.clusterName - Required. The cluster name.content - the StartClusterRequestIOExceptionpublic Dataproc.Projects.Regions.Clusters.Stop stop(String projectId, String region, String clusterName, StopClusterRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.projectId - Required. The ID of the Google Cloud Platform project the cluster belongs to.region - Required. The Dataproc region in which to handle the request.clusterName - Required. The cluster name.content - the StopClusterRequestIOExceptionpublic Dataproc.Projects.Regions.Clusters.TestIamPermissions testIamPermissions(String resource, TestIamPermissionsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.resource - REQUIRED: The resource for which the policy detail is being requested. See the operation
documentation for the appropriate value for this field.content - the TestIamPermissionsRequestIOExceptionCopyright © 2011–2021 Google. All rights reserved.