GoogleApi.Jobs.V4.Model.BatchOperationMetadata (google_api_jobs v0.21.0)

View Source

Metadata used for long running operations returned by CTS batch APIs. It's used to replace google.longrunning.Operation.metadata.

Attributes

  • createTime (type: DateTime.t, default: nil) - The time when the batch operation is created.
  • endTime (type: DateTime.t, default: nil) - The time when the batch operation is finished and google.longrunning.Operation.done is set to true.
  • failureCount (type: integer(), default: nil) - Count of failed item(s) inside an operation.
  • state (type: String.t, default: nil) - The state of a long running operation.
  • stateDescription (type: String.t, default: nil) - More detailed information about operation state.
  • successCount (type: integer(), default: nil) - Count of successful item(s) inside an operation.
  • totalCount (type: integer(), default: nil) - Count of total item(s) inside an operation.
  • updateTime (type: DateTime.t, default: nil) - The time when the batch operation status is updated. The metadata and the update_time is refreshed every minute otherwise cached data is returned.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Jobs.V4.Model.BatchOperationMetadata{
  createTime: DateTime.t() | nil,
  endTime: DateTime.t() | nil,
  failureCount: integer() | nil,
  state: String.t() | nil,
  stateDescription: String.t() | nil,
  successCount: integer() | nil,
  totalCount: integer() | nil,
  updateTime: DateTime.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.