Class: Google::Cloud::Tasks::V2::RunTaskRequest

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

Overview

Request message for forcing a task to run now using RunTask.

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns Required. The task name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID.

Returns:

  • (::String)

    Required. The task name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID



368
369
370
371
# File 'proto_docs/google/cloud/tasks/v2/cloudtasks.rb', line 368

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

#response_view::Google::Cloud::Tasks::V2::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::V2::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.



368
369
370
371
# File 'proto_docs/google/cloud/tasks/v2/cloudtasks.rb', line 368

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