google_api_android_device_provisioning v0.7.0 GoogleApi.AndroidDeviceProvisioning.V1.Model.Operation View Source
This resource represents a long-running operation that is the result of a network API call.
Attributes
- done (boolean()): If the value is
false
, it means the operation is still in progress. Iftrue
, the operation is completed, and eithererror
orresponse
is available. Defaults tonil
. - error (GoogleApi.AndroidDeviceProvisioning.V1.Model.Status.t): This field will always be not set if the operation is created by
claimAsync
,unclaimAsync
, orupdateMetadataAsync
. In this case, error information for each device is set inresponse.perDeviceStatus.result.status
. Defaults tonil
. - metadata (map()): This field will contain a
DevicesLongRunningOperationMetadata
object if the operation is created byclaimAsync
,unclaimAsync
, orupdateMetadataAsync
. Defaults tonil
. - name (String.t): 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 withoperations/{unique_id}
. Defaults tonil
. - response (map()): This field will contain a
DevicesLongRunningOperationResponse
object if the operation is created byclaimAsync
,unclaimAsync
, orupdateMetadataAsync
. Defaults tonil
.
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()
View Source
t() :: %GoogleApi.AndroidDeviceProvisioning.V1.Model.Operation{
done: boolean(),
error: GoogleApi.AndroidDeviceProvisioning.V1.Model.Status.t(),
metadata: map(),
name: String.t(),
response: map()
}
t() :: %GoogleApi.AndroidDeviceProvisioning.V1.Model.Operation{ done: boolean(), error: GoogleApi.AndroidDeviceProvisioning.V1.Model.Status.t(), metadata: map(), name: String.t(), response: map() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.