GoogleApi.LifeSciences.V2beta.Model.Operation (google_api_life_sciences v0.12.0) View Source

This resource represents a long-running operation that is the result of a network API call.


  • done (type: boolean(), default: nil) - If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.
  • error (type: GoogleApi.LifeSciences.V2beta.Model.Status.t, default: nil) - The error result of the operation in case of failure or cancellation.
  • metadata (type: map(), default: nil) - An Metadata object. This will always be returned with the Operation.
  • name (type: String.t, default: nil) - The server-assigned name for the operation. This may be passed to the other operation methods to retrieve information about the operation's status.
  • response (type: map(), default: nil) - An Empty object.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.LifeSciences.V2beta.Model.Operation{
  done: boolean() | nil,
  error: GoogleApi.LifeSciences.V2beta.Model.Status.t() | nil,
  metadata: map() | nil,
  name: String.t() | nil,
  response: map() | nil

Link to this section Functions


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

Unwrap a decoded JSON object into its complex fields.