Google Cloud Workflows V1 Client - Class ListExecutionsRequest (0.3.0)

Reference documentation and code samples for the Google Cloud Workflows V1 Client class ListExecutionsRequest.

Request for the ListExecutions method.

Generated from protobuf message google.cloud.workflows.executions.v1.ListExecutionsRequest

Namespace

Google \ Cloud \ Workflows \ Executions \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

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

↳ page_size int

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.

↳ page_token string

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.

↳ view int

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

getParent

Required. Name of the workflow for which the executions should be listed.

Format: projects/{project}/locations/{location}/workflows/{workflow}

Returns
TypeDescription
string

setParent

Required. Name of the workflow for which the executions should be listed.

Format: projects/{project}/locations/{location}/workflows/{workflow}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

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.

Returns
TypeDescription
int

setPageSize

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.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

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.

Returns
TypeDescription
string

setPageToken

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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getView

Optional. A view defining which fields should be filled in the returned executions.

The API will default to the BASIC view.

Returns
TypeDescription
int

setView

Optional. A view defining which fields should be filled in the returned executions.

The API will default to the BASIC view.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. Name of the workflow for which the executions should be listed. Format: projects/{project}/locations/{location}/workflows/{workflow} Please see Google\Cloud\Workflows\Executions\V1\ExecutionsClient::workflowName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Workflows\Executions\V1\ListExecutionsRequest