class ProjectsLocationsWorkflows extends Resource (View source)

The "workflows" collection of methods.

Typical usage is:

 $workflowexecutionsService = new Google\Service\WorkflowExecutions(...);
 $workflows = $workflowexecutionsService->projects_locations_workflows;

Methods

triggerPubsubExecution(string $workflow, TriggerPubsubExecutionRequest $postBody, array $optParams = [])

Triggers a new execution using the latest revision of the given workflow by a Pub/Sub push notification. (workflows.triggerPubsubExecution)

Details

Execution triggerPubsubExecution(string $workflow, TriggerPubsubExecutionRequest $postBody, array $optParams = [])

Triggers a new execution using the latest revision of the given workflow by a Pub/Sub push notification. (workflows.triggerPubsubExecution)

Parameters

string $workflow

Required. Name of the workflow for which an execution should be created. Format: projects/{project}/locations/{location}/workflows/{workflow}

TriggerPubsubExecutionRequest $postBody
array $optParams

Optional parameters.

Return Value

Execution

Exceptions

Exception