Represents a ClusterController
Inheritance
$protobuf.rpc.Service > protos.google.cloud.dataproc.v1beta2.ClusterControllerPackage
@google-cloud/dataproc!Constructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new ClusterController service.
Type | Name | Description |
---|---|---|
$protobuf.RPCImpl | rpcImpl |
RPC implementation |
boolean | requestDelimited |
Whether requests are length-delimited |
boolean | responseDelimited |
Whether responses are length-delimited |
Methods
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ClusterController;
Creates new ClusterController service using the specified rpc implementation.
Type | Name | Description |
---|---|---|
$protobuf.RPCImpl | rpcImpl |
RPC implementation |
boolean | requestDelimited |
Whether requests are length-delimited |
boolean | responseDelimited |
Whether responses are length-delimited |
Type | Description |
---|---|
ClusterController | RPC service. Useful where requests and/or responses are streamed. |
createCluster(request, callback)
public createCluster(request: google.cloud.dataproc.v1beta2.ICreateClusterRequest, callback: google.cloud.dataproc.v1beta2.ClusterController.CreateClusterCallback): void;
Calls CreateCluster.
Type | Name | Description |
---|---|---|
ICreateClusterRequest | request |
CreateClusterRequest message or plain object |
google.cloud.dataproc.v1beta2.ClusterController.CreateClusterCallback | callback |
Node-style callback called with the error, if any, and Operation |
Type | Description |
---|---|
void |
createCluster(request)
public createCluster(request: google.cloud.dataproc.v1beta2.ICreateClusterRequest): Promise<google.longrunning.Operation>;
Calls CreateCluster.
Type | Name | Description |
---|---|---|
ICreateClusterRequest | request |
CreateClusterRequest message or plain object |
Type | Description |
---|---|
Promise<google.longrunning.Operation> | Promise |
deleteCluster(request, callback)
public deleteCluster(request: google.cloud.dataproc.v1beta2.IDeleteClusterRequest, callback: google.cloud.dataproc.v1beta2.ClusterController.DeleteClusterCallback): void;
Calls DeleteCluster.
Type | Name | Description |
---|---|---|
IDeleteClusterRequest | request |
DeleteClusterRequest message or plain object |
google.cloud.dataproc.v1beta2.ClusterController.DeleteClusterCallback | callback |
Node-style callback called with the error, if any, and Operation |
Type | Description |
---|---|
void |
deleteCluster(request)
public deleteCluster(request: google.cloud.dataproc.v1beta2.IDeleteClusterRequest): Promise<google.longrunning.Operation>;
Calls DeleteCluster.
Type | Name | Description |
---|---|---|
IDeleteClusterRequest | request |
DeleteClusterRequest message or plain object |
Type | Description |
---|---|
Promise<google.longrunning.Operation> | Promise |
diagnoseCluster(request, callback)
public diagnoseCluster(request: google.cloud.dataproc.v1beta2.IDiagnoseClusterRequest, callback: google.cloud.dataproc.v1beta2.ClusterController.DiagnoseClusterCallback): void;
Calls DiagnoseCluster.
Type | Name | Description |
---|---|---|
google.cloud.dataproc.v1beta2.IDiagnoseClusterRequest | request |
DiagnoseClusterRequest message or plain object |
google.cloud.dataproc.v1beta2.ClusterController.DiagnoseClusterCallback | callback |
Node-style callback called with the error, if any, and Operation |
Type | Description |
---|---|
void |
diagnoseCluster(request)
public diagnoseCluster(request: google.cloud.dataproc.v1beta2.IDiagnoseClusterRequest): Promise<google.longrunning.Operation>;
Calls DiagnoseCluster.
Type | Name | Description |
---|---|---|
google.cloud.dataproc.v1beta2.IDiagnoseClusterRequest | request |
DiagnoseClusterRequest message or plain object |
Type | Description |
---|---|
Promise<google.longrunning.Operation> | Promise |
getCluster(request, callback)
public getCluster(request: google.cloud.dataproc.v1beta2.IGetClusterRequest, callback: google.cloud.dataproc.v1beta2.ClusterController.GetClusterCallback): void;
Calls GetCluster.
Type | Name | Description |
---|---|---|
google.cloud.dataproc.v1beta2.IGetClusterRequest | request |
GetClusterRequest message or plain object |
google.cloud.dataproc.v1beta2.ClusterController.GetClusterCallback | callback |
Node-style callback called with the error, if any, and Cluster |
Type | Description |
---|---|
void |
getCluster(request)
public getCluster(request: google.cloud.dataproc.v1beta2.IGetClusterRequest): Promise<google.cloud.dataproc.v1beta2.Cluster>;
Calls GetCluster.
Type | Name | Description |
---|---|---|
google.cloud.dataproc.v1beta2.IGetClusterRequest | request |
GetClusterRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.dataproc.v1beta2.Cluster> | Promise |
listClusters(request, callback)
public listClusters(request: google.cloud.dataproc.v1beta2.IListClustersRequest, callback: google.cloud.dataproc.v1beta2.ClusterController.ListClustersCallback): void;
Calls ListClusters.
Type | Name | Description |
---|---|---|
google.cloud.dataproc.v1beta2.IListClustersRequest | request |
ListClustersRequest message or plain object |
google.cloud.dataproc.v1beta2.ClusterController.ListClustersCallback | callback |
Node-style callback called with the error, if any, and ListClustersResponse |
Type | Description |
---|---|
void |
listClusters(request)
public listClusters(request: google.cloud.dataproc.v1beta2.IListClustersRequest): Promise<google.cloud.dataproc.v1beta2.ListClustersResponse>;
Calls ListClusters.
Type | Name | Description |
---|---|---|
google.cloud.dataproc.v1beta2.IListClustersRequest | request |
ListClustersRequest message or plain object |
Type | Description |
---|---|
Promise<google.cloud.dataproc.v1beta2.ListClustersResponse> | Promise |
updateCluster(request, callback)
public updateCluster(request: google.cloud.dataproc.v1beta2.IUpdateClusterRequest, callback: google.cloud.dataproc.v1beta2.ClusterController.UpdateClusterCallback): void;
Calls UpdateCluster.
Type | Name | Description |
---|---|---|
google.cloud.dataproc.v1beta2.IUpdateClusterRequest | request |
UpdateClusterRequest message or plain object |
google.cloud.dataproc.v1beta2.ClusterController.UpdateClusterCallback | callback |
Node-style callback called with the error, if any, and Operation |
Type | Description |
---|---|
void |
updateCluster(request)
public updateCluster(request: google.cloud.dataproc.v1beta2.IUpdateClusterRequest): Promise<google.longrunning.Operation>;
Calls UpdateCluster.
Type | Name | Description |
---|---|---|
google.cloud.dataproc.v1beta2.IUpdateClusterRequest | request |
UpdateClusterRequest message or plain object |
Type | Description |
---|---|
Promise<google.longrunning.Operation> | Promise |