google. longrunning
Source: index.
Abstract type
Abstract type
Operation
This resource represents a long-running operation that is the result of a network API call.
Properties
| Name | Type | Optional | Description |
|---|---|---|---|
|
name |
string |
|
The server-assigned name, which is only unique within the same service that
originally returns it. If you use the default HTTP mapping, the
|
|
metadata |
Object |
|
Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any. This object should have the same structure as Any |
|
done |
boolean |
|
If the value is |
|
error |
Object |
|
The error result of the operation in case of failure or cancellation. This object should have the same structure as Status |
|
response |
Object |
|
The normal response of the operation in case of success. If the original
method returns no data on success, such as This object should have the same structure as Any |