Struct google_cloudtasks2_beta2::CancelLeaseRequest [−][src]
pub struct CancelLeaseRequest { pub schedule_time: Option<String>, pub response_view: Option<String>, }
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
schedule_time: Option<String>
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: 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.
Trait Implementations
impl Default for CancelLeaseRequest
[src]
impl Default for CancelLeaseRequest
fn default() -> CancelLeaseRequest
[src]
fn default() -> CancelLeaseRequest
Returns the "default value" for a type. Read more
impl Clone for CancelLeaseRequest
[src]
impl Clone for CancelLeaseRequest
fn clone(&self) -> CancelLeaseRequest
[src]
fn clone(&self) -> CancelLeaseRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for CancelLeaseRequest
[src]
impl Debug for CancelLeaseRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl RequestValue for CancelLeaseRequest
[src]
impl RequestValue for CancelLeaseRequest
Auto Trait Implementations
impl Send for CancelLeaseRequest
impl Send for CancelLeaseRequest
impl Sync for CancelLeaseRequest
impl Sync for CancelLeaseRequest