Show / Hide Table of Contents

Class RenewLeaseRequest

Request message for renewing a lease using RenewLease.

Inheritance
System.Object
RenewLeaseRequest
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudTasks.v2beta2.Data
Assembly: Google.Apis.CloudTasks.v2beta2.dll
Syntax
public class RenewLeaseRequest : IDirectResponseSchema

Properties

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

LeaseDuration

Required. The desired new lease duration, starting from now. The maximum lease duration is 1 week. lease_duration will be truncated to the nearest second.

Declaration
[JsonProperty("leaseDuration")]
public virtual object LeaseDuration { get; set; }
Property Value
Type Description
System.Object

ResponseView

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.

Declaration
[JsonProperty("responseView")]
public virtual string ResponseView { get; set; }
Property Value
Type Description
System.String

ScheduleTime

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.

Declaration
[JsonProperty("scheduleTime")]
public virtual object ScheduleTime { get; set; }
Property Value
Type Description
System.Object

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top