Class protos.google.cloud.workflows.v1beta.Workflows

Represents a Workflows

Inheritance

$protobuf.rpc.Service > protos.google.cloud.workflows.v1beta.Workflows

Package

@google-cloud/workflows!

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new Workflows service.

Parameters
TypeNameDescription
$protobuf.RPCImplrpcImpl

RPC implementation

booleanrequestDelimited

Whether requests are length-delimited

booleanresponseDelimited

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Workflows;

Creates new Workflows service using the specified rpc implementation.

Parameters
TypeNameDescription
$protobuf.RPCImplrpcImpl

RPC implementation

booleanrequestDelimited

Whether requests are length-delimited

booleanresponseDelimited

Whether responses are length-delimited

Returns
TypeDescription
Workflows

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

createWorkflow(request, callback)

public createWorkflow(request: google.cloud.workflows.v1beta.ICreateWorkflowRequest, callback: google.cloud.workflows.v1beta.Workflows.CreateWorkflowCallback): void;

Calls CreateWorkflow.

Parameters
TypeNameDescription
google.cloud.workflows.v1beta.ICreateWorkflowRequestrequest

CreateWorkflowRequest message or plain object

google.cloud.workflows.v1beta.Workflows.CreateWorkflowCallbackcallback

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

Returns
TypeDescription
void

createWorkflow(request)

public createWorkflow(request: google.cloud.workflows.v1beta.ICreateWorkflowRequest): Promise<google.longrunning.Operation>;

Calls CreateWorkflow.

Parameter
TypeNameDescription
google.cloud.workflows.v1beta.ICreateWorkflowRequestrequest

CreateWorkflowRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteWorkflow(request, callback)

public deleteWorkflow(request: google.cloud.workflows.v1beta.IDeleteWorkflowRequest, callback: google.cloud.workflows.v1beta.Workflows.DeleteWorkflowCallback): void;

Calls DeleteWorkflow.

Parameters
TypeNameDescription
google.cloud.workflows.v1beta.IDeleteWorkflowRequestrequest

DeleteWorkflowRequest message or plain object

google.cloud.workflows.v1beta.Workflows.DeleteWorkflowCallbackcallback

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

Returns
TypeDescription
void

deleteWorkflow(request)

public deleteWorkflow(request: google.cloud.workflows.v1beta.IDeleteWorkflowRequest): Promise<google.longrunning.Operation>;

Calls DeleteWorkflow.

Parameter
TypeNameDescription
google.cloud.workflows.v1beta.IDeleteWorkflowRequestrequest

DeleteWorkflowRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getWorkflow(request, callback)

public getWorkflow(request: google.cloud.workflows.v1beta.IGetWorkflowRequest, callback: google.cloud.workflows.v1beta.Workflows.GetWorkflowCallback): void;

Calls GetWorkflow.

Parameters
TypeNameDescription
google.cloud.workflows.v1beta.IGetWorkflowRequestrequest

GetWorkflowRequest message or plain object

google.cloud.workflows.v1beta.Workflows.GetWorkflowCallbackcallback

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

Returns
TypeDescription
void

getWorkflow(request)

public getWorkflow(request: google.cloud.workflows.v1beta.IGetWorkflowRequest): Promise<google.cloud.workflows.v1beta.Workflow>;

Calls GetWorkflow.

Parameter
TypeNameDescription
google.cloud.workflows.v1beta.IGetWorkflowRequestrequest

GetWorkflowRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.workflows.v1beta.Workflow>

Promise

listWorkflows(request, callback)

public listWorkflows(request: google.cloud.workflows.v1beta.IListWorkflowsRequest, callback: google.cloud.workflows.v1beta.Workflows.ListWorkflowsCallback): void;

Calls ListWorkflows.

Parameters
TypeNameDescription
IListWorkflowsRequestrequest

ListWorkflowsRequest message or plain object

google.cloud.workflows.v1beta.Workflows.ListWorkflowsCallbackcallback

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

Returns
TypeDescription
void

listWorkflows(request)

public listWorkflows(request: google.cloud.workflows.v1beta.IListWorkflowsRequest): Promise<google.cloud.workflows.v1beta.ListWorkflowsResponse>;

Calls ListWorkflows.

Parameter
TypeNameDescription
IListWorkflowsRequestrequest

ListWorkflowsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.workflows.v1beta.ListWorkflowsResponse>

Promise

updateWorkflow(request, callback)

public updateWorkflow(request: google.cloud.workflows.v1beta.IUpdateWorkflowRequest, callback: google.cloud.workflows.v1beta.Workflows.UpdateWorkflowCallback): void;

Calls UpdateWorkflow.

Parameters
TypeNameDescription
IUpdateWorkflowRequestrequest

UpdateWorkflowRequest message or plain object

google.cloud.workflows.v1beta.Workflows.UpdateWorkflowCallbackcallback

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

Returns
TypeDescription
void

updateWorkflow(request)

public updateWorkflow(request: google.cloud.workflows.v1beta.IUpdateWorkflowRequest): Promise<google.longrunning.Operation>;

Calls UpdateWorkflow.

Parameter
TypeNameDescription
IUpdateWorkflowRequestrequest

UpdateWorkflowRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise