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.List |
class |
Dataproc.Projects.Regions.Clusters.Patch |
class |
Dataproc.Projects.Regions.Clusters.SetIamPolicy |
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,
GetIamPolicyRequest content)
Gets the access control policy for a resource.
|
Dataproc.Projects.Regions.Clusters.List |
list(String projectId,
String region)
Lists all regions/{region}/clusters in a project.
|
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.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 Cluster
IOException
public 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.IOException
public 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 DiagnoseClusterRequest
IOException
public 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.IOException
public Dataproc.Projects.Regions.Clusters.GetIamPolicy getIamPolicy(String resource, GetIamPolicyRequest content) 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.content
- the GetIamPolicyRequest
IOException
public 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.IOException
public 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 Cluster
IOException
public 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 SetIamPolicyRequest
IOException
public 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 TestIamPermissionsRequest
IOException
Copyright © 2011–2020 Google. All rights reserved.