Represents a ClusterController
Inheritance
$protobuf.rpc.Service > protos.google.cloud.dataproc.v1.ClusterControllerPackage
@google-cloud/dataproc!Constructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new ClusterController service.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
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.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
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.v1.ICreateClusterRequest, callback: google.cloud.dataproc.v1.ClusterController.CreateClusterCallback): void;
Calls CreateCluster.
Name | Description |
request |
google.cloud.dataproc.v1.ICreateClusterRequest
CreateClusterRequest message or plain object |
callback |
google.cloud.dataproc.v1.ClusterController.CreateClusterCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
createCluster(request)
public createCluster(request: google.cloud.dataproc.v1.ICreateClusterRequest): Promise<google.longrunning.Operation>;
Calls CreateCluster.
Name | Description |
request |
google.cloud.dataproc.v1.ICreateClusterRequest
CreateClusterRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deleteCluster(request, callback)
public deleteCluster(request: google.cloud.dataproc.v1.IDeleteClusterRequest, callback: google.cloud.dataproc.v1.ClusterController.DeleteClusterCallback): void;
Calls DeleteCluster.
Name | Description |
request |
google.cloud.dataproc.v1.IDeleteClusterRequest
DeleteClusterRequest message or plain object |
callback |
google.cloud.dataproc.v1.ClusterController.DeleteClusterCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
deleteCluster(request)
public deleteCluster(request: google.cloud.dataproc.v1.IDeleteClusterRequest): Promise<google.longrunning.Operation>;
Calls DeleteCluster.
Name | Description |
request |
google.cloud.dataproc.v1.IDeleteClusterRequest
DeleteClusterRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
diagnoseCluster(request, callback)
public diagnoseCluster(request: google.cloud.dataproc.v1.IDiagnoseClusterRequest, callback: google.cloud.dataproc.v1.ClusterController.DiagnoseClusterCallback): void;
Calls DiagnoseCluster.
Name | Description |
request |
IDiagnoseClusterRequest
DiagnoseClusterRequest message or plain object |
callback |
google.cloud.dataproc.v1.ClusterController.DiagnoseClusterCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
diagnoseCluster(request)
public diagnoseCluster(request: google.cloud.dataproc.v1.IDiagnoseClusterRequest): Promise<google.longrunning.Operation>;
Calls DiagnoseCluster.
Name | Description |
request |
IDiagnoseClusterRequest
DiagnoseClusterRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
getCluster(request, callback)
public getCluster(request: google.cloud.dataproc.v1.IGetClusterRequest, callback: google.cloud.dataproc.v1.ClusterController.GetClusterCallback): void;
Calls GetCluster.
Name | Description |
request |
google.cloud.dataproc.v1.IGetClusterRequest
GetClusterRequest message or plain object |
callback |
google.cloud.dataproc.v1.ClusterController.GetClusterCallback
Node-style callback called with the error, if any, and Cluster |
Type | Description |
void |
getCluster(request)
public getCluster(request: google.cloud.dataproc.v1.IGetClusterRequest): Promise<google.cloud.dataproc.v1.Cluster>;
Calls GetCluster.
Name | Description |
request |
google.cloud.dataproc.v1.IGetClusterRequest
GetClusterRequest message or plain object |
Type | Description |
Promise<google.cloud.dataproc.v1.Cluster> | Promise |
listClusters(request, callback)
public listClusters(request: google.cloud.dataproc.v1.IListClustersRequest, callback: google.cloud.dataproc.v1.ClusterController.ListClustersCallback): void;
Calls ListClusters.
Name | Description |
request |
IListClustersRequest
ListClustersRequest message or plain object |
callback |
google.cloud.dataproc.v1.ClusterController.ListClustersCallback
Node-style callback called with the error, if any, and ListClustersResponse |
Type | Description |
void |
listClusters(request)
public listClusters(request: google.cloud.dataproc.v1.IListClustersRequest): Promise<google.cloud.dataproc.v1.ListClustersResponse>;
Calls ListClusters.
Name | Description |
request |
IListClustersRequest
ListClustersRequest message or plain object |
Type | Description |
Promise<google.cloud.dataproc.v1.ListClustersResponse> | Promise |
startCluster(request, callback)
public startCluster(request: google.cloud.dataproc.v1.IStartClusterRequest, callback: google.cloud.dataproc.v1.ClusterController.StartClusterCallback): void;
Calls StartCluster.
Name | Description |
request |
google.cloud.dataproc.v1.IStartClusterRequest
StartClusterRequest message or plain object |
callback |
google.cloud.dataproc.v1.ClusterController.StartClusterCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
startCluster(request)
public startCluster(request: google.cloud.dataproc.v1.IStartClusterRequest): Promise<google.longrunning.Operation>;
Calls StartCluster.
Name | Description |
request |
google.cloud.dataproc.v1.IStartClusterRequest
StartClusterRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
stopCluster(request, callback)
public stopCluster(request: google.cloud.dataproc.v1.IStopClusterRequest, callback: google.cloud.dataproc.v1.ClusterController.StopClusterCallback): void;
Calls StopCluster.
Name | Description |
request |
google.cloud.dataproc.v1.IStopClusterRequest
StopClusterRequest message or plain object |
callback |
google.cloud.dataproc.v1.ClusterController.StopClusterCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
stopCluster(request)
public stopCluster(request: google.cloud.dataproc.v1.IStopClusterRequest): Promise<google.longrunning.Operation>;
Calls StopCluster.
Name | Description |
request |
google.cloud.dataproc.v1.IStopClusterRequest
StopClusterRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
updateCluster(request, callback)
public updateCluster(request: google.cloud.dataproc.v1.IUpdateClusterRequest, callback: google.cloud.dataproc.v1.ClusterController.UpdateClusterCallback): void;
Calls UpdateCluster.
Name | Description |
request |
IUpdateClusterRequest
UpdateClusterRequest message or plain object |
callback |
google.cloud.dataproc.v1.ClusterController.UpdateClusterCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
updateCluster(request)
public updateCluster(request: google.cloud.dataproc.v1.IUpdateClusterRequest): Promise<google.longrunning.Operation>;
Calls UpdateCluster.
Name | Description |
request |
IUpdateClusterRequest
UpdateClusterRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |