pub struct CancelLeaseRequest {
pub response_view: Option<String>,
pub schedule_time: Option<DateTime<Utc>>,
}Expand description
Request message for canceling a lease using CancelLease.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§response_view: Option<String>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.
schedule_time: Option<DateTime<Utc>>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.
Trait Implementations§
Source§impl Clone for CancelLeaseRequest
impl Clone for CancelLeaseRequest
Source§fn clone(&self) -> CancelLeaseRequest
fn clone(&self) -> CancelLeaseRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more