Class Operation
This resource represents a long-running operation that is the result of a network API call.
Implements
Inherited Members
Namespace: Google.Apis.AndroidProvisioningPartner.v1.Data
Assembly: Google.Apis.AndroidProvisioningPartner.v1.dll
Syntax
public class Operation : IDirectResponseSchema
Properties
Done
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.
Declaration
[JsonProperty("done")]
public virtual bool? Done { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Error
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.
Declaration
[JsonProperty("error")]
public virtual Status Error { get; set; }
Property Value
| Type | Description |
|---|---|
| Status |
Metadata
This field will contain a DevicesLongRunningOperationMetadata object if the operation is created by
claimAsync, unclaimAsync, or updateMetadataAsync.
Declaration
[JsonProperty("metadata")]
public virtual IDictionary<string, object> Metadata { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, object> |
Name
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}.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Response
This field will contain a DevicesLongRunningOperationResponse object if the operation is created by
claimAsync, unclaimAsync, or updateMetadataAsync.
Declaration
[JsonProperty("response")]
public virtual IDictionary<string, object> Response { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, object> |