google_api_vision v0.2.0 GoogleApi.Vision.V1.Model.BatchOperationMetadata View Source

Metadata for the batch operations such as the current state. This is included in the `metadata` field of the `Operation` returned by the `GetOperation` call of the `google::longrunning::Operations` service.

Attributes

  • endTime (DateTime.t): The time when the batch request is finished and google.longrunning.Operation.done is set to true. Defaults to: null.
  • state (String.t): The current state of the batch operation. Defaults to: null.

    • Enum - one of [STATE_UNSPECIFIED, PROCESSING, SUCCESSFUL, FAILED, CANCELLED]
  • submitTime (DateTime.t): The time when the batch request was submitted to the server. Defaults to: null.

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.Vision.V1.Model.BatchOperationMetadata{
  endTime: DateTime.t(),
  state: any(),
  submitTime: 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.