Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Operation

import type { Operation } from "https://googleapis.deno.dev/v1/androiddeviceprovisioning:v1.ts";

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

interface Operation {
done?: boolean;
error?: Status;
metadata?: {
[key: string]: any;
}
;
name?: string;
response?: {
[key: string]: any;
}
;
}

§Properties

§
done?: boolean
[src]

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?: Status
[src]

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?: {
[key: string]: any;
}
[src]

This field will contain a DevicesLongRunningOperationMetadata object if the operation is created by claimAsync, unclaimAsync, or updateMetadataAsync.

§
name?: string
[src]

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?: {
[key: string]: any;
}
[src]

This field will contain a DevicesLongRunningOperationResponse object if the operation is created by claimAsync, unclaimAsync, or updateMetadataAsync.