Skip to content

Commit 55153ba

Browse files
authored
[remote asset api] mention RESOURCE_EXHAUSTED with other error status codes (#239)
This status value was already mentioned in the Fetch service comments, but was not included in the FetchBlobResponse or FetchDirectoryResponse status field comments alongside some other similar values. Let's make this more clear.
1 parent ec8e5df commit 55153ba

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

build/bazel/remote/asset/v1/remote_asset.pb.go

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/bazel/remote/asset/v1/remote_asset.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,8 @@ message FetchBlobResponse {
216216
// requested an asset from a disallowed origin.
217217
// * `ABORTED`: The operation could not be completed, typically due to a
218218
// failed consistency check.
219+
// * `RESOURCE_EXHAUSTED`: There is insufficient quota of some resource to
220+
// perform the requested operation. The client may retry after a delay.
219221
google.rpc.Status status = 1;
220222

221223
// The uri from the request that resulted in a successful retrieval, or from
@@ -295,6 +297,8 @@ message FetchDirectoryResponse {
295297
// requested an asset from a disallowed origin.
296298
// * `ABORTED`: The operation could not be completed, typically due to a
297299
// failed consistency check.
300+
// * `RESOURCE_EXHAUSTED`: There is insufficient quota of some resource to
301+
// perform the requested operation. The client may retry after a delay.
298302
google.rpc.Status status = 1;
299303

300304
// The uri from the request that resulted in a successful retrieval, or from

0 commit comments

Comments
 (0)