Represents a Workflows
Inheritance
$protobuf.rpc.Service > protos.google.cloud.workflows.v1beta.WorkflowsPackage
@google-cloud/workflows!Constructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new Workflows service.
Type | Name | Description |
---|---|---|
$protobuf.RPCImpl | rpcImpl |
RPC implementation |
boolean | requestDelimited |
Whether requests are length-delimited |
boolean | responseDelimited |
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.
Type | Name | Description |
---|---|---|
$protobuf.RPCImpl | rpcImpl |
RPC implementation |
boolean | requestDelimited |
Whether requests are length-delimited |
boolean | responseDelimited |
Whether responses are length-delimited |
Type | Description |
---|---|
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.
Type | Name | Description |
---|---|---|
google.cloud.workflows.v1beta.ICreateWorkflowRequest | request |
CreateWorkflowRequest message or plain object |
google.cloud.workflows.v1beta.Workflows.CreateWorkflowCallback | callback |
Node-style callback called with the error, if any, and Operation |
Type | Description |
---|---|
void |
createWorkflow(request)
public createWorkflow(request: google.cloud.workflows.v1beta.ICreateWorkflowRequest): Promise<google.longrunning.Operation>;
Calls CreateWorkflow.
Type | Name | Description |
---|---|---|
google.cloud.workflows.v1beta.ICreateWorkflowRequest | request |
CreateWorkflowRequest message or plain object |
Type | Description |
---|---|
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.
Type | Name | Description |
---|---|---|
google.cloud.workflows.v1beta.IDeleteWorkflowRequest | request |
DeleteWorkflowRequest message or plain object |
google.cloud.workflows.v1beta.Workflows.DeleteWorkflowCallback | callback |
Node-style callback called with the error, if any, and Operation |
Type | Description |
---|---|
void |
deleteWorkflow(request)
public deleteWorkflow(request: google.cloud.workflows.v1beta.IDeleteWorkflowRequest): Promise<google.longrunning.Operation>;
Calls DeleteWorkflow.
Type | Name | Description |
---|---|---|
google.cloud.workflows.v1beta.IDeleteWorkflowRequest | request |
DeleteWorkflowRequest message or plain object |
Type | Description |
---|---|
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.
Type | Name | Description |
---|---|---|
google.cloud.workflows.v1beta.IGetWorkflowRequest | request |
GetWorkflowRequest message or plain object |
google.cloud.workflows.v1beta.Workflows.GetWorkflowCallback | callback |
Node-style callback called with the error, if any, and Workflow |
Type | Description |
---|---|
void |
getWorkflow(request)
public getWorkflow(request: google.cloud.workflows.v1beta.IGetWorkflowRequest): Promise<google.cloud.workflows.v1beta.Workflow>;
Calls GetWorkflow.
Type | Name | Description |
---|---|---|
google.cloud.workflows.v1beta.IGetWorkflowRequest | request |
GetWorkflowRequest message or plain object |
Type | Description |
---|---|
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.
Type | Name | Description |
---|---|---|
IListWorkflowsRequest | request |
ListWorkflowsRequest message or plain object |
google.cloud.workflows.v1beta.Workflows.ListWorkflowsCallback | callback |
Node-style callback called with the error, if any, and ListWorkflowsResponse |
Type | Description |
---|---|
void |
listWorkflows(request)
public listWorkflows(request: google.cloud.workflows.v1beta.IListWorkflowsRequest): Promise<google.cloud.workflows.v1beta.ListWorkflowsResponse>;
Calls ListWorkflows.
Type | Name | Description |
---|---|---|
IListWorkflowsRequest | request |
ListWorkflowsRequest message or plain object |
Type | Description |
---|---|
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.
Type | Name | Description |
---|---|---|
IUpdateWorkflowRequest | request |
UpdateWorkflowRequest message or plain object |
google.cloud.workflows.v1beta.Workflows.UpdateWorkflowCallback | callback |
Node-style callback called with the error, if any, and Operation |
Type | Description |
---|---|
void |
updateWorkflow(request)
public updateWorkflow(request: google.cloud.workflows.v1beta.IUpdateWorkflowRequest): Promise<google.longrunning.Operation>;
Calls UpdateWorkflow.
Type | Name | Description |
---|---|---|
IUpdateWorkflowRequest | request |
UpdateWorkflowRequest message or plain object |
Type | Description |
---|---|
Promise<google.longrunning.Operation> | Promise |