google_api_cloud_tasks v0.12.0 GoogleApi.CloudTasks.V2beta2.Model.RenewLeaseRequest View Source

Request message for renewing a lease using RenewLease.

Attributes

  • leaseDuration (type: String.t, default: nil) - 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.

  • responseView (type: String.t, default: nil) - 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.fullViewGoogle IAM permission on the Task resource.

  • scheduleTime (type: DateTime.t, default: nil) - 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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.CloudTasks.V2beta2.Model.RenewLeaseRequest{
  leaseDuration: String.t(),
  responseView: String.t(),
  scheduleTime: DateTime.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.