View Source GoogleApi.AndroidDeviceProvisioning.V1.Model.Operation (google_api_android_device_provisioning v0.19.0)
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 isfalse
, it means the operation is still in progress. Iftrue
, the operation is completed, and eithererror
orresponse
is available. -
error
(type:GoogleApi.AndroidDeviceProvisioning.V1.Model.Status.t
, default:nil
) - This field will always be not set if the operation is created byclaimAsync
,unclaimAsync
, orupdateMetadataAsync
. In this case, error information for each device is set inresponse.perDeviceStatus.result.status
. -
metadata
(type:map()
, default:nil
) - This field will contain aDevicesLongRunningOperationMetadata
object if the operation is created byclaimAsync
,unclaimAsync
, orupdateMetadataAsync
. -
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, thename
should be a resource name ending withoperations/{unique_id}
. -
response
(type:map()
, default:nil
) - This field will contain aDevicesLongRunningOperationResponse
object if the operation is created byclaimAsync
,unclaimAsync
, orupdateMetadataAsync
.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type 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 }
Functions
Unwrap a decoded JSON object into its complex fields.