Class: Google::Cloud::Tasks::V2beta2::AcknowledgeTaskRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/cloudtasks.rb

Overview

Request message for acknowledging a task using AcknowledgeTask.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

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+



426
# File 'lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/cloudtasks.rb', line 426

class AcknowledgeTaskRequest; end

#schedule_timeGoogle::Protobuf::Timestamp

Returns Required.

The task's current schedule time, available in the schedule_time returned by LeaseTasks response or RenewLease response. This restriction is to ensure that your worker currently holds the lease.

Returns:

  • (Google::Protobuf::Timestamp)

    Required.

    The task's current schedule time, available in the schedule_time returned by LeaseTasks response or RenewLease response. This restriction is to ensure that your worker currently holds the lease.



426
# File 'lib/google/cloud/tasks/v2beta2/doc/google/cloud/tasks/v2beta2/cloudtasks.rb', line 426

class AcknowledgeTaskRequest; end