GoogleApi.CloudRun.V1alpha1.Model.InstanceStatus (google_api_cloud_run v0.42.0) View Source

Instance represents the status of an instance of a Job.

Attributes

  • completionTime (type: DateTime.t, default: nil) - Optional. Represents time when the instance was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. +optional
  • failed (type: integer(), default: nil) - Optional. The number of times this instance exited with code > 0; +optional
  • index (type: integer(), default: nil) - Required. Index of the instance, unique per Job, and beginning at 0.
  • lastExitCode (type: integer(), default: nil) - Optional. Last exit code seen for this instance. +optional
  • restarted (type: integer(), default: nil) - Optional. The number of times this instance was restarted. Instances are restarted according the restartPolicy configured in the Job template. +optional
  • startTime (type: DateTime.t, default: nil) - Optional. Represents time when the instance was created by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. +optional
  • succeeded (type: integer(), default: nil) - Optional. The number of times this instance exited with code == 0. +optional

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.CloudRun.V1alpha1.Model.InstanceStatus{
  completionTime: DateTime.t(),
  failed: integer(),
  index: integer(),
  lastExitCode: integer(),
  restarted: integer(),
  startTime: DateTime.t(),
  succeeded: integer()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.