Class protos.google.cloud.dataproc.v1beta2.WorkflowTemplateService (2.4.4)

Represents a WorkflowTemplateService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.dataproc.v1beta2.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.v1beta2.ICreateWorkflowTemplateRequest, callback: google.cloud.dataproc.v1beta2.WorkflowTemplateService.CreateWorkflowTemplateCallback): void;

Calls CreateWorkflowTemplate.

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

Returns
TypeDescription
void

createWorkflowTemplate(request)

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

Calls CreateWorkflowTemplate.

Parameter
NameDescription
request google.cloud.dataproc.v1beta2.ICreateWorkflowTemplateRequest

CreateWorkflowTemplateRequest message or plain object

Returns
TypeDescription
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.

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

Returns
TypeDescription
void

deleteWorkflowTemplate(request)

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

Calls DeleteWorkflowTemplate.

Parameter
NameDescription
request google.cloud.dataproc.v1beta2.IDeleteWorkflowTemplateRequest

DeleteWorkflowTemplateRequest message or plain object

Returns
TypeDescription
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.

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

Returns
TypeDescription
void

getWorkflowTemplate(request)

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

Calls GetWorkflowTemplate.

Parameter
NameDescription
request IGetWorkflowTemplateRequest

GetWorkflowTemplateRequest message or plain object

Returns
TypeDescription
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.

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

Returns
TypeDescription
void

instantiateInlineWorkflowTemplate(request)

public instantiateInlineWorkflowTemplate(request: google.cloud.dataproc.v1beta2.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.v1beta2.IInstantiateWorkflowTemplateRequest, callback: google.cloud.dataproc.v1beta2.WorkflowTemplateService.InstantiateWorkflowTemplateCallback): void;

Calls InstantiateWorkflowTemplate.

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

Returns
TypeDescription
void

instantiateWorkflowTemplate(request)

public instantiateWorkflowTemplate(request: google.cloud.dataproc.v1beta2.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.v1beta2.IListWorkflowTemplatesRequest, callback: google.cloud.dataproc.v1beta2.WorkflowTemplateService.ListWorkflowTemplatesCallback): void;

Calls ListWorkflowTemplates.

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

Returns
TypeDescription
void

listWorkflowTemplates(request)

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

Calls ListWorkflowTemplates.

Parameter
NameDescription
request IListWorkflowTemplatesRequest

ListWorkflowTemplatesRequest message or plain object

Returns
TypeDescription
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.

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

Returns
TypeDescription
void

updateWorkflowTemplate(request)

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

Calls UpdateWorkflowTemplate.

Parameter
NameDescription
request google.cloud.dataproc.v1beta2.IUpdateWorkflowTemplateRequest

UpdateWorkflowTemplateRequest message or plain object

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

Promise