Class CancelLeaseRequest (2.10.4)

Stay organized with collections Save and categorize content based on your preferences.
CancelLeaseRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for canceling a lease using CancelLease.

Attributes

NameDescription
name str
Required. The task name. For example: projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID
schedule_time google.protobuf.timestamp_pb2.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.
response_view google.cloud.tasks_v2beta2.types.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

Inheritance

builtins.object > proto.message.Message > CancelLeaseRequest