GoogleApi.TPU.V2.Model.OperationMetadata (google_api_tpu v0.18.0)

View Source

Metadata describing an Operation

Attributes

  • apiVersion (type: String.t, default: nil) - API version.
  • cancelRequested (type: boolean(), default: nil) - Specifies if cancellation was requested for the operation.
  • createTime (type: DateTime.t, default: nil) - The time the operation was created.
  • endTime (type: DateTime.t, default: nil) - The time the operation finished running.
  • statusDetail (type: String.t, default: nil) - Human-readable status of the operation, if any.
  • target (type: String.t, default: nil) - Target of the operation - for example projects/project-1/connectivityTests/test-1
  • verb (type: String.t, default: nil) - Name of the verb executed by the operation.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.TPU.V2.Model.OperationMetadata{
  apiVersion: String.t() | nil,
  cancelRequested: boolean() | nil,
  createTime: DateTime.t() | nil,
  endTime: DateTime.t() | nil,
  statusDetail: String.t() | nil,
  target: String.t() | nil,
  verb: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.