View Source GoogleApi.CloudTasks.V2.Model.Attempt (google_api_cloud_tasks v0.19.0)

The status of a task attempt.

Attributes

  • dispatchTime (type: DateTime.t, default: nil) - Output only. The time that this attempt was dispatched. dispatch_time will be truncated to the nearest microsecond.
  • responseStatus (type: GoogleApi.CloudTasks.V2.Model.Status.t, default: nil) - Output only. The response from the worker for this attempt. If response_time is unset, then the task has not been attempted or is currently running and the response_status field is meaningless.
  • responseTime (type: DateTime.t, default: nil) - Output only. The time that this attempt response was received. response_time will be truncated to the nearest microsecond.
  • scheduleTime (type: DateTime.t, default: nil) - Output only. The time that this attempt was scheduled. schedule_time will be truncated to the nearest microsecond.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudTasks.V2.Model.Attempt{
  dispatchTime: DateTime.t() | nil,
  responseStatus: GoogleApi.CloudTasks.V2.Model.Status.t() | nil,
  responseTime: DateTime.t() | nil,
  scheduleTime: DateTime.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.