GoogleApi.AndroidDeviceProvisioning.V1.Model.Operation (google_api_android_device_provisioning v0.18.0) View Source

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.AndroidDeviceProvisioning.V1.Model.Status.t, default: nil) - This field will always be not set if the operation is created by claimAsync, unclaimAsync, or updateMetadataAsync. In this case, error information for each device is set in response.perDeviceStatus.result.status.
  • metadata (type: map(), default: nil) - This field will contain a DevicesLongRunningOperationMetadata object if the operation is created by claimAsync, unclaimAsync, or updateMetadataAsync.
  • name (type: String.t, default: nil) - The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.
  • response (type: map(), default: nil) - This field will contain a DevicesLongRunningOperationResponse object if the operation is created by claimAsync, unclaimAsync, or updateMetadataAsync.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.