Class: Google::Cloud::Tasks::V2beta3::ListTasksRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/tasks/v2beta3/cloudtasks.rb

Overview

Request message for listing tasks using ListTasks.

Instance Attribute Summary collapse

Instance Attribute Details

#page_size::Integer

Returns Maximum page size.

Fewer tasks than requested might be returned, even if more tasks exist; use next_page_token in the response to determine if more tasks exist.

The maximum page size is 1000. If unspecified, the page size will be the maximum.

Returns:

  • (::Integer)

    Maximum page size.

    Fewer tasks than requested might be returned, even if more tasks exist; use next_page_token in the response to determine if more tasks exist.

    The maximum page size is 1000. If unspecified, the page size will be the maximum.



243
244
245
246
# File 'proto_docs/google/cloud/tasks/v2beta3/cloudtasks.rb', line 243

class ListTasksRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#page_token::String

A token identifying the page of results to return.

To request the first page results, page_token must be empty. To request the next page of results, page_token must be the value of next_page_token returned from the previous call to ListTasks method.

The page token is valid for only 2 hours.

Returns:

  • (::String)

    A token identifying the page of results to return.

    To request the first page results, page_token must be empty. To request the next page of results, page_token must be the value of next_page_token returned from the previous call to ListTasks method.

    The page token is valid for only 2 hours.



243
244
245
246
# File 'proto_docs/google/cloud/tasks/v2beta3/cloudtasks.rb', line 243

class ListTasksRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns Required. The queue name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID.

Returns:

  • (::String)

    Required. The queue name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID



243
244
245
246
# File 'proto_docs/google/cloud/tasks/v2beta3/cloudtasks.rb', line 243

class ListTasksRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#response_view::Google::Cloud::Tasks::V2beta3::Task::View

Returns The response_view specifies which subset of the Task will be returned.

By default response_view is BASIC; not all information is retrieved by default because some data, such as payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains.

Authorization for FULL requires cloudtasks.tasks.fullView Google IAM permission on the Task resource.

Returns:

  • (::Google::Cloud::Tasks::V2beta3::Task::View)

    The response_view specifies which subset of the Task will be returned.

    By default response_view is BASIC; not all information is retrieved by default because some data, such as payloads, might be desirable to return only when needed because of its large size or because of the sensitivity of data that it contains.

    Authorization for FULL requires cloudtasks.tasks.fullView Google IAM permission on the Task resource.



243
244
245
246
# File 'proto_docs/google/cloud/tasks/v2beta3/cloudtasks.rb', line 243

class ListTasksRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end