Class ListTasksResponse

public sealed class ListTasksResponse : IMessage<ListTasksResponse>, IEquatable<ListTasksResponse>, IDeepCloneable<ListTasksResponse>, IBufferMessage, IMessage, IPageResponse<Task>, IEnumerable<Task>, IEnumerable

Response message for listing tasks using [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks].

Inheritance

Object > ListTasksResponse

Namespace

Google.Cloud.Tasks.V2

Assembly

Google.Cloud.Tasks.V2.dll

Constructors

ListTasksResponse()

public ListTasksResponse()

ListTasksResponse(ListTasksResponse)

public ListTasksResponse(ListTasksResponse other)
Parameter
NameDescription
otherListTasksResponse

Properties

NextPageToken

public string NextPageToken { get; set; }

A token to retrieve next page of results.

To return the next page of results, call [ListTasks][google.cloud.tasks.v2.CloudTasks.ListTasks] with this value as the [page_token][google.cloud.tasks.v2.ListTasksRequest.page_token].

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

Property Value
TypeDescription
String

Tasks

public RepeatedField<Task> Tasks { get; }

The list of tasks.

Property Value
TypeDescription
RepeatedField<Task>

Methods

GetEnumerator()

public IEnumerator<Task> GetEnumerator()

Returns an enumerator that iterates through the resources in this response.

Returns
TypeDescription
IEnumerator<Task>

Explicit Interface Implementations

IEnumerable.GetEnumerator()

IEnumerator IEnumerable.GetEnumerator()
Returns
TypeDescription
IEnumerator