Google Cloud Run V2 Client - Class ListTasksRequest (0.4.0)

Reference documentation and code samples for the Google Cloud Run V2 Client class ListTasksRequest.

Request message for retrieving a list of Tasks.

Generated from protobuf message google.cloud.run.v2.ListTasksRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The Execution from which the Tasks should be listed. To list all Tasks across Executions of a Job, use "-" instead of Execution name. To list all Tasks across Jobs, use "-" instead of Job name. Format: projects/{project}/locations/{location}/jobs/{job}/executions/{execution}

↳ page_size int

Maximum number of Tasks to return in this call.

↳ page_token string

A page token received from a previous call to ListTasks. All other parameters must match.

↳ show_deleted bool

If true, returns deleted (but unexpired) resources along with active ones.

getParent

Required. The Execution from which the Tasks should be listed.

To list all Tasks across Executions of a Job, use "-" instead of Execution name. To list all Tasks across Jobs, use "-" instead of Job name. Format: projects/{project}/locations/{location}/jobs/{job}/executions/{execution}

Returns
TypeDescription
string

setParent

Required. The Execution from which the Tasks should be listed.

To list all Tasks across Executions of a Job, use "-" instead of Execution name. To list all Tasks across Jobs, use "-" instead of Job name. Format: projects/{project}/locations/{location}/jobs/{job}/executions/{execution}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

Maximum number of Tasks to return in this call.

Returns
TypeDescription
int

setPageSize

Maximum number of Tasks to return in this call.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

A page token received from a previous call to ListTasks.

All other parameters must match.

Returns
TypeDescription
string

setPageToken

A page token received from a previous call to ListTasks.

All other parameters must match.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getShowDeleted

If true, returns deleted (but unexpired) resources along with active ones.

Returns
TypeDescription
bool

setShowDeleted

If true, returns deleted (but unexpired) resources along with active ones.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this