Class protos.google.cloud.dataproc.v1.WorkflowTemplateService (4.3.1)

Represents a WorkflowTemplateService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.dataproc.v1.WorkflowTemplateService

Package

@google-cloud/dataproc

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new WorkflowTemplateService service.

Parameters
NameDescription
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.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
WorkflowTemplateService

RPC service. Useful where requests and/or responses are streamed.

createWorkflowTemplate(request, callback)

public createWorkflowTemplate(request: google.cloud.dataproc.v1.ICreateWorkflowTemplateRequest, callback: google.cloud.dataproc.v1.WorkflowTemplateService.CreateWorkflowTemplateCallback): void;

Calls CreateWorkflowTemplate.

Parameters
NameDescription
request ICreateWorkflowTemplateRequest

CreateWorkflowTemplateRequest message or plain object

callback google.cloud.dataproc.v1.WorkflowTemplateService.CreateWorkflowTemplateCallback

Node-style callback called with the error, if any, and WorkflowTemplate

Returns
TypeDescription
void

createWorkflowTemplate(request)

public createWorkflowTemplate(request: google.cloud.dataproc.v1.ICreateWorkflowTemplateRequest): Promise<google.cloud.dataproc.v1.WorkflowTemplate>;

Calls CreateWorkflowTemplate.

Parameter
NameDescription
request ICreateWorkflowTemplateRequest

CreateWorkflowTemplateRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dataproc.v1.WorkflowTemplate>

Promise

deleteWorkflowTemplate(request, callback)

public deleteWorkflowTemplate(request: google.cloud.dataproc.v1.IDeleteWorkflowTemplateRequest, callback: google.cloud.dataproc.v1.WorkflowTemplateService.DeleteWorkflowTemplateCallback): void;

Calls DeleteWorkflowTemplate.

Parameters
NameDescription
request IDeleteWorkflowTemplateRequest

DeleteWorkflowTemplateRequest message or plain object

callback google.cloud.dataproc.v1.WorkflowTemplateService.DeleteWorkflowTemplateCallback

Node-style callback called with the error, if any, and Empty

Returns
TypeDescription
void

deleteWorkflowTemplate(request)

public deleteWorkflowTemplate(request: google.cloud.dataproc.v1.IDeleteWorkflowTemplateRequest): Promise<google.protobuf.Empty>;

Calls DeleteWorkflowTemplate.

Parameter
NameDescription
request IDeleteWorkflowTemplateRequest

DeleteWorkflowTemplateRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

getWorkflowTemplate(request, callback)

public getWorkflowTemplate(request: google.cloud.dataproc.v1.IGetWorkflowTemplateRequest, callback: google.cloud.dataproc.v1.WorkflowTemplateService.GetWorkflowTemplateCallback): void;

Calls GetWorkflowTemplate.

Parameters
NameDescription
request IGetWorkflowTemplateRequest

GetWorkflowTemplateRequest message or plain object

callback google.cloud.dataproc.v1.WorkflowTemplateService.GetWorkflowTemplateCallback

Node-style callback called with the error, if any, and WorkflowTemplate

Returns
TypeDescription
void

getWorkflowTemplate(request)

public getWorkflowTemplate(request: google.cloud.dataproc.v1.IGetWorkflowTemplateRequest): Promise<google.cloud.dataproc.v1.WorkflowTemplate>;

Calls GetWorkflowTemplate.

Parameter
NameDescription
request IGetWorkflowTemplateRequest

GetWorkflowTemplateRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dataproc.v1.WorkflowTemplate>

Promise

instantiateInlineWorkflowTemplate(request, callback)

public instantiateInlineWorkflowTemplate(request: google.cloud.dataproc.v1.IInstantiateInlineWorkflowTemplateRequest, callback: google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateInlineWorkflowTemplateCallback): void;

Calls InstantiateInlineWorkflowTemplate.

Parameters
NameDescription
request IInstantiateInlineWorkflowTemplateRequest

InstantiateInlineWorkflowTemplateRequest message or plain object

callback google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateInlineWorkflowTemplateCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

instantiateInlineWorkflowTemplate(request)

public instantiateInlineWorkflowTemplate(request: google.cloud.dataproc.v1.IInstantiateInlineWorkflowTemplateRequest): Promise<google.longrunning.Operation>;

Calls InstantiateInlineWorkflowTemplate.

Parameter
NameDescription
request IInstantiateInlineWorkflowTemplateRequest

InstantiateInlineWorkflowTemplateRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

instantiateWorkflowTemplate(request, callback)

public instantiateWorkflowTemplate(request: google.cloud.dataproc.v1.IInstantiateWorkflowTemplateRequest, callback: google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateWorkflowTemplateCallback): void;

Calls InstantiateWorkflowTemplate.

Parameters
NameDescription
request IInstantiateWorkflowTemplateRequest

InstantiateWorkflowTemplateRequest message or plain object

callback google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateWorkflowTemplateCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

instantiateWorkflowTemplate(request)

public instantiateWorkflowTemplate(request: google.cloud.dataproc.v1.IInstantiateWorkflowTemplateRequest): Promise<google.longrunning.Operation>;

Calls InstantiateWorkflowTemplate.

Parameter
NameDescription
request IInstantiateWorkflowTemplateRequest

InstantiateWorkflowTemplateRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

listWorkflowTemplates(request, callback)

public listWorkflowTemplates(request: google.cloud.dataproc.v1.IListWorkflowTemplatesRequest, callback: google.cloud.dataproc.v1.WorkflowTemplateService.ListWorkflowTemplatesCallback): void;

Calls ListWorkflowTemplates.

Parameters
NameDescription
request IListWorkflowTemplatesRequest

ListWorkflowTemplatesRequest message or plain object

callback google.cloud.dataproc.v1.WorkflowTemplateService.ListWorkflowTemplatesCallback

Node-style callback called with the error, if any, and ListWorkflowTemplatesResponse

Returns
TypeDescription
void

listWorkflowTemplates(request)

public listWorkflowTemplates(request: google.cloud.dataproc.v1.IListWorkflowTemplatesRequest): Promise<google.cloud.dataproc.v1.ListWorkflowTemplatesResponse>;

Calls ListWorkflowTemplates.

Parameter
NameDescription
request IListWorkflowTemplatesRequest

ListWorkflowTemplatesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dataproc.v1.ListWorkflowTemplatesResponse>

Promise

updateWorkflowTemplate(request, callback)

public updateWorkflowTemplate(request: google.cloud.dataproc.v1.IUpdateWorkflowTemplateRequest, callback: google.cloud.dataproc.v1.WorkflowTemplateService.UpdateWorkflowTemplateCallback): void;

Calls UpdateWorkflowTemplate.

Parameters
NameDescription
request IUpdateWorkflowTemplateRequest

UpdateWorkflowTemplateRequest message or plain object

callback google.cloud.dataproc.v1.WorkflowTemplateService.UpdateWorkflowTemplateCallback

Node-style callback called with the error, if any, and WorkflowTemplate

Returns
TypeDescription
void

updateWorkflowTemplate(request)

public updateWorkflowTemplate(request: google.cloud.dataproc.v1.IUpdateWorkflowTemplateRequest): Promise<google.cloud.dataproc.v1.WorkflowTemplate>;

Calls UpdateWorkflowTemplate.

Parameter
NameDescription
request IUpdateWorkflowTemplateRequest

UpdateWorkflowTemplateRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.dataproc.v1.WorkflowTemplate>

Promise