platform.v1.OperationService
- Request:
GetOperationRequest
- Response:
Operation
- REST mapping:
GET /v1/operations/{id}
- Request:
ListOperationsRequest
- Response:
ListOperationsResponse
- REST mapping:
GET /v1/operations
| Field | Type | # | Notes |
|---|
page | PageRequest | 1 | |
| Field | Type | # | Notes |
|---|
operations | Operation | 1 | |
meta | ListMeta | 2 | |
Operation is returned by every mutating RPC. Clients poll GetOperation or subscribe to the SSE stream to observe progress.
| Field | Type | # | Notes |
|---|
id | string | 1 | opaque, type-prefixed: op_… |
action | string | 2 | permission string, e.g. compute.instance.create |
resource_id | string | 3 | |
resource_type | string | 4 | e.g. compute.instance |
state | OperationState | 5 | |
message | string | 6 | |
progress | int32 | 7 | 0..100 |
app | string | 8 | |