Documentation

Google_Service_WorkflowExecutions_Resource_ProjectsLocationsWorkflowsExecutions extends Google_Service_Resource
in package

The "executions" collection of methods.

Typical usage is: $workflowexecutionsService = new Google_Service_WorkflowExecutions(...); $executions = $workflowexecutionsService->executions;

Table of Contents

$client  : Google_Client
$methods  : array<string|int, mixed>
$resourceName  : string
$rootUrl  : string
$serviceName  : string
$servicePath  : string
$stackParameters  : mixed
__construct()  : mixed
call()  : Google_Http_Request|expectedClass
TODO: This function needs simplifying.
cancel()  : Google_Service_WorkflowExecutions_Execution
Cancels an execution of the given name. (executions.cancel)
create()  : Google_Service_WorkflowExecutions_Execution
Creates a new execution using the latest revision of the given workflow.
createRequestUri()  : string
Parse/expand request parameters and create a fully qualified request uri.
get()  : Google_Service_WorkflowExecutions_Execution
Returns an execution of the given name. (executions.get)
listProjectsLocationsWorkflowsExecutions()  : Google_Service_WorkflowExecutions_ListExecutionsResponse
Returns a list of executions which belong to the workflow with the given name. The method returns executions of all workflow revisions. Returned executions are ordered by their start time (newest first).
convertToArrayAndStripNulls()  : mixed

Properties

$methods

private array<string|int, mixed> $methods

$resourceName

private string $resourceName

$serviceName

private string $serviceName

$servicePath

private string $servicePath

$stackParameters

private mixed $stackParameters = array('alt' => array('type' => 'string', 'location' => 'query'), 'fields' => array('type' => 'string', 'location' => 'query'), 'trace' => array('type' => 'string', 'location' => 'query'), 'userIp' => array('type' => 'string', 'location' => 'query'), 'quotaUser' => array('type' => 'string', 'location' => 'query'), 'data' => array('type' => 'string', 'location' => 'body'), 'mimeType' => array('type' => 'string', 'location' => 'header'), 'uploadType' => array('type' => 'string', 'location' => 'query'), 'mediaUpload' => array('type' => 'complex', 'location' => 'query'), 'prettyPrint' => array('type' => 'string', 'location' => 'query'))

Methods

__construct()

public __construct(mixed $service, mixed $serviceName, mixed $resourceName, mixed $resource) : mixed
Parameters
$service : mixed
$serviceName : mixed
$resourceName : mixed
$resource : mixed
Return values
mixed

call()

TODO: This function needs simplifying.

public call( $name,  $arguments[,  $expectedClass = null ]) : Google_Http_Request|expectedClass
Parameters
$name :
$arguments :
$expectedClass : = null
  • optional, the expected class name
Tags
throws
Google_Exception
Return values
Google_Http_Request|expectedClass

cancel()

Cancels an execution of the given name. (executions.cancel)

public cancel(string $name, Google_Service_WorkflowExecutions_CancelExecutionRequest $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_WorkflowExecutions_Execution
Parameters
$name : string

Required. Name of the execution to be cancelled. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{exec ution}

$postBody : Google_Service_WorkflowExecutions_CancelExecutionRequest
$optParams : array<string|int, mixed> = array()

Optional parameters.

Return values
Google_Service_WorkflowExecutions_Execution

create()

Creates a new execution using the latest revision of the given workflow.

public create(string $parent, Google_Service_WorkflowExecutions_Execution $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_WorkflowExecutions_Execution

(executions.create)

Parameters
$parent : string

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

$postBody : Google_Service_WorkflowExecutions_Execution
$optParams : array<string|int, mixed> = array()

Optional parameters.

Return values
Google_Service_WorkflowExecutions_Execution

createRequestUri()

Parse/expand request parameters and create a fully qualified request uri.

public createRequestUri(string $restPath, array<string|int, mixed> $params) : string
Parameters
$restPath : string
$params : array<string|int, mixed>
Tags
static
Return values
string

$requestUrl

get()

Returns an execution of the given name. (executions.get)

public get(string $name[, array<string|int, mixed> $optParams = array() ]) : Google_Service_WorkflowExecutions_Execution
Parameters
$name : string

Required. Name of the execution to be retrieved. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{exec ution}

$optParams : array<string|int, mixed> = array()

Optional parameters.

Tags
opt_param

string view Optional. A view defining which fields should be filled in the returned execution. The API will default to the FULL view.

Return values
Google_Service_WorkflowExecutions_Execution

listProjectsLocationsWorkflowsExecutions()

Returns a list of executions which belong to the workflow with the given name. The method returns executions of all workflow revisions. Returned executions are ordered by their start time (newest first).

public listProjectsLocationsWorkflowsExecutions(string $parent[, array<string|int, mixed> $optParams = array() ]) : Google_Service_WorkflowExecutions_ListExecutionsResponse

(executions.listProjectsLocationsWorkflowsExecutions)

Parameters
$parent : string

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

$optParams : array<string|int, mixed> = array()

Optional parameters.

Tags
opt_param

string pageToken A page token, received from a previous ListExecutions call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListExecutions must match the call that provided the page token.

opt_param

int pageSize Maximum number of executions to return per call. Max supported value depends on the selected Execution view: it's 10000 for BASIC and 100 for FULL. The default value used if the field is not specified is 100, regardless of the selected view. Values greater than the max value will be coerced down to it.

opt_param

string view Optional. A view defining which fields should be filled in the returned executions. The API will default to the BASIC view.

Return values
Google_Service_WorkflowExecutions_ListExecutionsResponse

convertToArrayAndStripNulls()

protected convertToArrayAndStripNulls(mixed $o) : mixed
Parameters
$o : mixed
Return values
mixed

Search results