Reference documentation and code samples for the Cloud Run V2 API class Google::Cloud::Run::V2::ListTasksRequest.
Request message for retrieving a list of Tasks.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#page_size
defpage_size()->::Integer
Returns
(::Integer) — Maximum number of Tasks to return in this call.
#page_size=
defpage_size=(value)->::Integer
Parameter
value (::Integer) — Maximum number of Tasks to return in this call.
Returns
(::Integer) — Maximum number of Tasks to return in this call.
#page_token
defpage_token()->::String
Returns
(::String) — A page token received from a previous call to ListTasks.
All other parameters must match.
#page_token=
defpage_token=(value)->::String
Parameter
value (::String) — A page token received from a previous call to ListTasks.
All other parameters must match.
Returns
(::String) — A page token received from a previous call to ListTasks.
All other parameters must match.
#parent
defparent()->::String
Returns
(::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}
#parent=
defparent=(value)->::String
Parameter
value (::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}
Returns
(::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}
#show_deleted
defshow_deleted()->::Boolean
Returns
(::Boolean) — If true, returns deleted (but unexpired) resources along with active ones.
#show_deleted=
defshow_deleted=(value)->::Boolean
Parameter
value (::Boolean) — If true, returns deleted (but unexpired) resources along with active ones.
Returns
(::Boolean) — If true, returns deleted (but unexpired) resources along with active ones.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Cloud Run V2 API - Class Google::Cloud::Run::V2::ListTasksRequest (v0.26.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.26.0 (latest)](/ruby/docs/reference/google-cloud-run-v2/latest/Google-Cloud-Run-V2-ListTasksRequest)\n- [0.25.0](/ruby/docs/reference/google-cloud-run-v2/0.25.0/Google-Cloud-Run-V2-ListTasksRequest)\n- [0.24.1](/ruby/docs/reference/google-cloud-run-v2/0.24.1/Google-Cloud-Run-V2-ListTasksRequest)\n- [0.23.0](/ruby/docs/reference/google-cloud-run-v2/0.23.0/Google-Cloud-Run-V2-ListTasksRequest)\n- [0.22.1](/ruby/docs/reference/google-cloud-run-v2/0.22.1/Google-Cloud-Run-V2-ListTasksRequest)\n- [0.21.0](/ruby/docs/reference/google-cloud-run-v2/0.21.0/Google-Cloud-Run-V2-ListTasksRequest)\n- [0.20.0](/ruby/docs/reference/google-cloud-run-v2/0.20.0/Google-Cloud-Run-V2-ListTasksRequest)\n- [0.19.0](/ruby/docs/reference/google-cloud-run-v2/0.19.0/Google-Cloud-Run-V2-ListTasksRequest)\n- [0.18.0](/ruby/docs/reference/google-cloud-run-v2/0.18.0/Google-Cloud-Run-V2-ListTasksRequest)\n- [0.17.0](/ruby/docs/reference/google-cloud-run-v2/0.17.0/Google-Cloud-Run-V2-ListTasksRequest)\n- [0.16.1](/ruby/docs/reference/google-cloud-run-v2/0.16.1/Google-Cloud-Run-V2-ListTasksRequest)\n- [0.15.0](/ruby/docs/reference/google-cloud-run-v2/0.15.0/Google-Cloud-Run-V2-ListTasksRequest)\n- [0.14.0](/ruby/docs/reference/google-cloud-run-v2/0.14.0/Google-Cloud-Run-V2-ListTasksRequest)\n- [0.13.2](/ruby/docs/reference/google-cloud-run-v2/0.13.2/Google-Cloud-Run-V2-ListTasksRequest)\n- [0.12.0](/ruby/docs/reference/google-cloud-run-v2/0.12.0/Google-Cloud-Run-V2-ListTasksRequest)\n- [0.11.0](/ruby/docs/reference/google-cloud-run-v2/0.11.0/Google-Cloud-Run-V2-ListTasksRequest)\n- [0.10.1](/ruby/docs/reference/google-cloud-run-v2/0.10.1/Google-Cloud-Run-V2-ListTasksRequest)\n- [0.9.1](/ruby/docs/reference/google-cloud-run-v2/0.9.1/Google-Cloud-Run-V2-ListTasksRequest)\n- [0.8.0](/ruby/docs/reference/google-cloud-run-v2/0.8.0/Google-Cloud-Run-V2-ListTasksRequest)\n- [0.7.0](/ruby/docs/reference/google-cloud-run-v2/0.7.0/Google-Cloud-Run-V2-ListTasksRequest)\n- [0.6.0](/ruby/docs/reference/google-cloud-run-v2/0.6.0/Google-Cloud-Run-V2-ListTasksRequest)\n- [0.5.0](/ruby/docs/reference/google-cloud-run-v2/0.5.0/Google-Cloud-Run-V2-ListTasksRequest)\n- [0.4.0](/ruby/docs/reference/google-cloud-run-v2/0.4.0/Google-Cloud-Run-V2-ListTasksRequest)\n- [0.3.1](/ruby/docs/reference/google-cloud-run-v2/0.3.1/Google-Cloud-Run-V2-ListTasksRequest)\n- [0.2.0](/ruby/docs/reference/google-cloud-run-v2/0.2.0/Google-Cloud-Run-V2-ListTasksRequest)\n- [0.1.0](/ruby/docs/reference/google-cloud-run-v2/0.1.0/Google-Cloud-Run-V2-ListTasksRequest) \nReference documentation and code samples for the Cloud Run V2 API class Google::Cloud::Run::V2::ListTasksRequest.\n\nRequest message for retrieving a list of Tasks. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #page_size\n\n def page_size() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Maximum number of Tasks to return in this call.\n\n### #page_size=\n\n def page_size=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Maximum number of Tasks to return in this call. \n**Returns**\n\n- (::Integer) --- Maximum number of Tasks to return in this call.\n\n### #page_token\n\n def page_token() -\u003e ::String\n\n**Returns**\n\n- (::String) --- A page token received from a previous call to ListTasks. All other parameters must match.\n\n### #page_token=\n\n def page_token=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- A page token received from a previous call to ListTasks. All other parameters must match. \n**Returns**\n\n- (::String) --- A page token received from a previous call to ListTasks. All other parameters must match.\n\n### #parent\n\n def parent() -\u003e ::String\n\n**Returns**\n\n- (::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}\n\n### #parent=\n\n def parent=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::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} \n**Returns**\n\n- (::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}\n\n### #show_deleted\n\n def show_deleted() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- If true, returns deleted (but unexpired) resources along with active ones.\n\n### #show_deleted=\n\n def show_deleted=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- If true, returns deleted (but unexpired) resources along with active ones. \n**Returns**\n\n- (::Boolean) --- If true, returns deleted (but unexpired) resources along with active ones."]]