# Cloud Tasks V2beta3 API - Class Google::Cloud::Tasks::V2beta3::ListTasksResponse (v0.19.0)

0.19.0 (latest) 0.18.0 0.17.1 0.16.0 0.15.1 0.14.0 0.13.1 0.12.3 0.11.0 0.10.2 0.9.0 0.8.0 0.7.0 0.6.6 Reference documentation and code samples for the Cloud Tasks V2beta3 API class Google::Cloud::Tasks::V2beta3::ListTasksResponse.

Response message for listing tasks using
[ListTasks](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta3/latest/Google-Cloud-Tasks-V2beta3-CloudTasks-Client#Google__Cloud__Tasks__V2beta3__CloudTasks__Client_list_tasks_instance_ "Google::Cloud::Tasks::V2beta3::CloudTasks::Client#list_tasks (method)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #next_page_token

    def next_page_token() -> ::String

**Returns**

- (::String) --- A token to retrieve next page of results.

  To return the next page of results, call
  [ListTasks](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta3/latest/Google-Cloud-Tasks-V2beta3-CloudTasks-Client#Google__Cloud__Tasks__V2beta3__CloudTasks__Client_list_tasks_instance_ "Google::Cloud::Tasks::V2beta3::CloudTasks::Client#list_tasks (method)") with this
  value as the
  [page_token](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta3/latest/Google-Cloud-Tasks-V2beta3-ListTasksRequest#Google__Cloud__Tasks__V2beta3__ListTasksRequest_page_token_instance_ "Google::Cloud::Tasks::V2beta3::ListTasksRequest#page_token (method)").

  If the next_page_token is empty, there are no more results.

### #next_page_token=

    def next_page_token=(value) -> ::String

**Parameter**

- **value** (::String) --- A token to retrieve next page of results.


  To return the next page of results, call
  [ListTasks](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta3/latest/Google-Cloud-Tasks-V2beta3-CloudTasks-Client#Google__Cloud__Tasks__V2beta3__CloudTasks__Client_list_tasks_instance_ "Google::Cloud::Tasks::V2beta3::CloudTasks::Client#list_tasks (method)") with this
  value as the
  [page_token](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta3/latest/Google-Cloud-Tasks-V2beta3-ListTasksRequest#Google__Cloud__Tasks__V2beta3__ListTasksRequest_page_token_instance_ "Google::Cloud::Tasks::V2beta3::ListTasksRequest#page_token (method)").

  If the next_page_token is empty, there are no more results.
**Returns**

- (::String) --- A token to retrieve next page of results.

  To return the next page of results, call
  [ListTasks](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta3/latest/Google-Cloud-Tasks-V2beta3-CloudTasks-Client#Google__Cloud__Tasks__V2beta3__CloudTasks__Client_list_tasks_instance_ "Google::Cloud::Tasks::V2beta3::CloudTasks::Client#list_tasks (method)") with this
  value as the
  [page_token](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta3/latest/Google-Cloud-Tasks-V2beta3-ListTasksRequest#Google__Cloud__Tasks__V2beta3__ListTasksRequest_page_token_instance_ "Google::Cloud::Tasks::V2beta3::ListTasksRequest#page_token (method)").

  If the next_page_token is empty, there are no more results.

### #tasks

    def tasks() -> ::Array<::Google::Cloud::Tasks::V2beta3::Task>

**Returns**

- (::Array\<[::Google::Cloud::Tasks::V2beta3::Task](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta3/latest/Google-Cloud-Tasks-V2beta3-Task)\>) --- The list of tasks.

### #tasks=

    def tasks=(value) -> ::Array<::Google::Cloud::Tasks::V2beta3::Task>

**Parameter**

- **value** (::Array\<[::Google::Cloud::Tasks::V2beta3::Task](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta3/latest/Google-Cloud-Tasks-V2beta3-Task)\>) --- The list of tasks.
**Returns**

- (::Array\<[::Google::Cloud::Tasks::V2beta3::Task](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-tasks-v2beta3/latest/Google-Cloud-Tasks-V2beta3-Task)\>) --- The list of tasks.