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

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

Attributes

  • 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type 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
}

Functions

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

Unwrap a decoded JSON object into its complex fields.