Represents a WorkflowTemplateService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.dataproc.v1beta2.WorkflowTemplateServicePackage
@google-cloud/dataproc!Constructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new WorkflowTemplateService 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): WorkflowTemplateService;
Creates new WorkflowTemplateService 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 |
WorkflowTemplateService | RPC service. Useful where requests and/or responses are streamed. |
createWorkflowTemplate(request, callback)
public createWorkflowTemplate(request: google.cloud.dataproc.v1beta2.ICreateWorkflowTemplateRequest, callback: google.cloud.dataproc.v1beta2.WorkflowTemplateService.CreateWorkflowTemplateCallback): void;
Calls CreateWorkflowTemplate.
Name | Description |
request |
google.cloud.dataproc.v1beta2.ICreateWorkflowTemplateRequest
CreateWorkflowTemplateRequest message or plain object |
callback |
google.cloud.dataproc.v1beta2.WorkflowTemplateService.CreateWorkflowTemplateCallback
Node-style callback called with the error, if any, and WorkflowTemplate |
Type | Description |
void |
createWorkflowTemplate(request)
public createWorkflowTemplate(request: google.cloud.dataproc.v1beta2.ICreateWorkflowTemplateRequest): Promise<google.cloud.dataproc.v1beta2.WorkflowTemplate>;
Calls CreateWorkflowTemplate.
Name | Description |
request |
google.cloud.dataproc.v1beta2.ICreateWorkflowTemplateRequest
CreateWorkflowTemplateRequest message or plain object |
Type | Description |
Promise<google.cloud.dataproc.v1beta2.WorkflowTemplate> | Promise |
deleteWorkflowTemplate(request, callback)
public deleteWorkflowTemplate(request: google.cloud.dataproc.v1beta2.IDeleteWorkflowTemplateRequest, callback: google.cloud.dataproc.v1beta2.WorkflowTemplateService.DeleteWorkflowTemplateCallback): void;
Calls DeleteWorkflowTemplate.
Name | Description |
request |
google.cloud.dataproc.v1beta2.IDeleteWorkflowTemplateRequest
DeleteWorkflowTemplateRequest message or plain object |
callback |
google.cloud.dataproc.v1beta2.WorkflowTemplateService.DeleteWorkflowTemplateCallback
Node-style callback called with the error, if any, and Empty |
Type | Description |
void |
deleteWorkflowTemplate(request)
public deleteWorkflowTemplate(request: google.cloud.dataproc.v1beta2.IDeleteWorkflowTemplateRequest): Promise<google.protobuf.Empty>;
Calls DeleteWorkflowTemplate.
Name | Description |
request |
google.cloud.dataproc.v1beta2.IDeleteWorkflowTemplateRequest
DeleteWorkflowTemplateRequest message or plain object |
Type | Description |
Promise<google.protobuf.Empty> | Promise |
getWorkflowTemplate(request, callback)
public getWorkflowTemplate(request: google.cloud.dataproc.v1beta2.IGetWorkflowTemplateRequest, callback: google.cloud.dataproc.v1beta2.WorkflowTemplateService.GetWorkflowTemplateCallback): void;
Calls GetWorkflowTemplate.
Name | Description |
request |
IGetWorkflowTemplateRequest
GetWorkflowTemplateRequest message or plain object |
callback |
google.cloud.dataproc.v1beta2.WorkflowTemplateService.GetWorkflowTemplateCallback
Node-style callback called with the error, if any, and WorkflowTemplate |
Type | Description |
void |
getWorkflowTemplate(request)
public getWorkflowTemplate(request: google.cloud.dataproc.v1beta2.IGetWorkflowTemplateRequest): Promise<google.cloud.dataproc.v1beta2.WorkflowTemplate>;
Calls GetWorkflowTemplate.
Name | Description |
request |
IGetWorkflowTemplateRequest
GetWorkflowTemplateRequest message or plain object |
Type | Description |
Promise<google.cloud.dataproc.v1beta2.WorkflowTemplate> | Promise |
instantiateInlineWorkflowTemplate(request, callback)
public instantiateInlineWorkflowTemplate(request: google.cloud.dataproc.v1beta2.IInstantiateInlineWorkflowTemplateRequest, callback: google.cloud.dataproc.v1beta2.WorkflowTemplateService.InstantiateInlineWorkflowTemplateCallback): void;
Calls InstantiateInlineWorkflowTemplate.
Name | Description |
request |
IInstantiateInlineWorkflowTemplateRequest
InstantiateInlineWorkflowTemplateRequest message or plain object |
callback |
google.cloud.dataproc.v1beta2.WorkflowTemplateService.InstantiateInlineWorkflowTemplateCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
instantiateInlineWorkflowTemplate(request)
public instantiateInlineWorkflowTemplate(request: google.cloud.dataproc.v1beta2.IInstantiateInlineWorkflowTemplateRequest): Promise<google.longrunning.Operation>;
Calls InstantiateInlineWorkflowTemplate.
Name | Description |
request |
IInstantiateInlineWorkflowTemplateRequest
InstantiateInlineWorkflowTemplateRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
instantiateWorkflowTemplate(request, callback)
public instantiateWorkflowTemplate(request: google.cloud.dataproc.v1beta2.IInstantiateWorkflowTemplateRequest, callback: google.cloud.dataproc.v1beta2.WorkflowTemplateService.InstantiateWorkflowTemplateCallback): void;
Calls InstantiateWorkflowTemplate.
Name | Description |
request |
IInstantiateWorkflowTemplateRequest
InstantiateWorkflowTemplateRequest message or plain object |
callback |
google.cloud.dataproc.v1beta2.WorkflowTemplateService.InstantiateWorkflowTemplateCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
instantiateWorkflowTemplate(request)
public instantiateWorkflowTemplate(request: google.cloud.dataproc.v1beta2.IInstantiateWorkflowTemplateRequest): Promise<google.longrunning.Operation>;
Calls InstantiateWorkflowTemplate.
Name | Description |
request |
IInstantiateWorkflowTemplateRequest
InstantiateWorkflowTemplateRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
listWorkflowTemplates(request, callback)
public listWorkflowTemplates(request: google.cloud.dataproc.v1beta2.IListWorkflowTemplatesRequest, callback: google.cloud.dataproc.v1beta2.WorkflowTemplateService.ListWorkflowTemplatesCallback): void;
Calls ListWorkflowTemplates.
Name | Description |
request |
IListWorkflowTemplatesRequest
ListWorkflowTemplatesRequest message or plain object |
callback |
google.cloud.dataproc.v1beta2.WorkflowTemplateService.ListWorkflowTemplatesCallback
Node-style callback called with the error, if any, and ListWorkflowTemplatesResponse |
Type | Description |
void |
listWorkflowTemplates(request)
public listWorkflowTemplates(request: google.cloud.dataproc.v1beta2.IListWorkflowTemplatesRequest): Promise<google.cloud.dataproc.v1beta2.ListWorkflowTemplatesResponse>;
Calls ListWorkflowTemplates.
Name | Description |
request |
IListWorkflowTemplatesRequest
ListWorkflowTemplatesRequest message or plain object |
Type | Description |
Promise<google.cloud.dataproc.v1beta2.ListWorkflowTemplatesResponse> | Promise |
updateWorkflowTemplate(request, callback)
public updateWorkflowTemplate(request: google.cloud.dataproc.v1beta2.IUpdateWorkflowTemplateRequest, callback: google.cloud.dataproc.v1beta2.WorkflowTemplateService.UpdateWorkflowTemplateCallback): void;
Calls UpdateWorkflowTemplate.
Name | Description |
request |
google.cloud.dataproc.v1beta2.IUpdateWorkflowTemplateRequest
UpdateWorkflowTemplateRequest message or plain object |
callback |
google.cloud.dataproc.v1beta2.WorkflowTemplateService.UpdateWorkflowTemplateCallback
Node-style callback called with the error, if any, and WorkflowTemplate |
Type | Description |
void |
updateWorkflowTemplate(request)
public updateWorkflowTemplate(request: google.cloud.dataproc.v1beta2.IUpdateWorkflowTemplateRequest): Promise<google.cloud.dataproc.v1beta2.WorkflowTemplate>;
Calls UpdateWorkflowTemplate.
Name | Description |
request |
google.cloud.dataproc.v1beta2.IUpdateWorkflowTemplateRequest
UpdateWorkflowTemplateRequest message or plain object |
Type | Description |
Promise<google.cloud.dataproc.v1beta2.WorkflowTemplate> | Promise |