WorkflowTemplateService

google.cloud.dataproc.v1. WorkflowTemplateService

Represents a WorkflowTemplateService

Constructor

new WorkflowTemplateService(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new WorkflowTemplateService service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {WorkflowTemplateService}

Creates new WorkflowTemplateService service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

createWorkflowTemplate(request, callback) → {undefined}

Calls CreateWorkflowTemplate.

Parameters:
Name Type Description
request google.cloud.dataproc.v1.ICreateWorkflowTemplateRequest

CreateWorkflowTemplateRequest message or plain object

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

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

createWorkflowTemplate(request) → {Promise.<google.cloud.dataproc.v1.WorkflowTemplate>}

Calls CreateWorkflowTemplate.

Parameters:
Name Type Description
request google.cloud.dataproc.v1.ICreateWorkflowTemplateRequest

CreateWorkflowTemplateRequest message or plain object

deleteWorkflowTemplate(request, callback) → {undefined}

Calls DeleteWorkflowTemplate.

Parameters:
Name Type Description
request google.cloud.dataproc.v1.IDeleteWorkflowTemplateRequest

DeleteWorkflowTemplateRequest message or plain object

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

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

deleteWorkflowTemplate(request) → {Promise.<google.protobuf.Empty>}

Calls DeleteWorkflowTemplate.

Parameters:
Name Type Description
request google.cloud.dataproc.v1.IDeleteWorkflowTemplateRequest

DeleteWorkflowTemplateRequest message or plain object

getWorkflowTemplate(request, callback) → {undefined}

Calls GetWorkflowTemplate.

Parameters:
Name Type Description
request google.cloud.dataproc.v1.IGetWorkflowTemplateRequest

GetWorkflowTemplateRequest message or plain object

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

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

getWorkflowTemplate(request) → {Promise.<google.cloud.dataproc.v1.WorkflowTemplate>}

Calls GetWorkflowTemplate.

Parameters:
Name Type Description
request google.cloud.dataproc.v1.IGetWorkflowTemplateRequest

GetWorkflowTemplateRequest message or plain object

instantiateInlineWorkflowTemplate(request, callback) → {undefined}

Calls InstantiateInlineWorkflowTemplate.

Parameters:
Name Type Description
request google.cloud.dataproc.v1.IInstantiateInlineWorkflowTemplateRequest

InstantiateInlineWorkflowTemplateRequest message or plain object

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

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

instantiateInlineWorkflowTemplate(request) → {Promise.<google.longrunning.Operation>}

Calls InstantiateInlineWorkflowTemplate.

Parameters:
Name Type Description
request google.cloud.dataproc.v1.IInstantiateInlineWorkflowTemplateRequest

InstantiateInlineWorkflowTemplateRequest message or plain object

instantiateWorkflowTemplate(request, callback) → {undefined}

Calls InstantiateWorkflowTemplate.

Parameters:
Name Type Description
request google.cloud.dataproc.v1.IInstantiateWorkflowTemplateRequest

InstantiateWorkflowTemplateRequest message or plain object

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

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

instantiateWorkflowTemplate(request) → {Promise.<google.longrunning.Operation>}

Calls InstantiateWorkflowTemplate.

Parameters:
Name Type Description
request google.cloud.dataproc.v1.IInstantiateWorkflowTemplateRequest

InstantiateWorkflowTemplateRequest message or plain object

listWorkflowTemplates(request, callback) → {undefined}

Calls ListWorkflowTemplates.

Parameters:
Name Type Description
request google.cloud.dataproc.v1.IListWorkflowTemplatesRequest

ListWorkflowTemplatesRequest message or plain object

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

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

listWorkflowTemplates(request) → {Promise.<google.cloud.dataproc.v1.ListWorkflowTemplatesResponse>}

Calls ListWorkflowTemplates.

Parameters:
Name Type Description
request google.cloud.dataproc.v1.IListWorkflowTemplatesRequest

ListWorkflowTemplatesRequest message or plain object

updateWorkflowTemplate(request, callback) → {undefined}

Calls UpdateWorkflowTemplate.

Parameters:
Name Type Description
request google.cloud.dataproc.v1.IUpdateWorkflowTemplateRequest

UpdateWorkflowTemplateRequest message or plain object

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

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

updateWorkflowTemplate(request) → {Promise.<google.cloud.dataproc.v1.WorkflowTemplate>}

Calls UpdateWorkflowTemplate.

Parameters:
Name Type Description
request google.cloud.dataproc.v1.IUpdateWorkflowTemplateRequest

UpdateWorkflowTemplateRequest message or plain object

Type Definitions

CreateWorkflowTemplateCallback(error, responseopt)

Callback as used by google.cloud.dataproc.v1.WorkflowTemplateService#createWorkflowTemplate.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.dataproc.v1.WorkflowTemplate <optional>

WorkflowTemplate

DeleteWorkflowTemplateCallback(error, responseopt)

Callback as used by google.cloud.dataproc.v1.WorkflowTemplateService#deleteWorkflowTemplate.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

GetWorkflowTemplateCallback(error, responseopt)

Callback as used by google.cloud.dataproc.v1.WorkflowTemplateService#getWorkflowTemplate.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.dataproc.v1.WorkflowTemplate <optional>

WorkflowTemplate

InstantiateInlineWorkflowTemplateCallback(error, responseopt)

Callback as used by google.cloud.dataproc.v1.WorkflowTemplateService#instantiateInlineWorkflowTemplate.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

InstantiateWorkflowTemplateCallback(error, responseopt)

Callback as used by google.cloud.dataproc.v1.WorkflowTemplateService#instantiateWorkflowTemplate.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.longrunning.Operation <optional>

Operation

ListWorkflowTemplatesCallback(error, responseopt)

Callback as used by google.cloud.dataproc.v1.WorkflowTemplateService#listWorkflowTemplates.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.dataproc.v1.ListWorkflowTemplatesResponse <optional>

ListWorkflowTemplatesResponse

UpdateWorkflowTemplateCallback(error, responseopt)

Callback as used by google.cloud.dataproc.v1.WorkflowTemplateService#updateWorkflowTemplate.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.dataproc.v1.WorkflowTemplate <optional>

WorkflowTemplate