Skip to content

Commit 000b973

Browse files
Publish proto files from a24d0b0e64 (#280)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 6ada492 commit 000b973

2 files changed

Lines changed: 28 additions & 1 deletion

File tree

nebius/common/v1/warning.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,8 @@ message Warning {
9090

9191
// Nebius ID in the request has an invalid format.
9292
CODE_INVALID_NEBIUS_ID_FORMAT_REQUEST = 9;
93+
94+
// ListAggregated returned incomplete results because one or more regions could not be queried.
95+
CODE_LIST_AGGREGATED_PARTIAL = 10;
9396
}
9497
}

nebius/storage/v1/inventory.proto

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ syntax = "proto3";
33
package nebius.storage.v1;
44

55
import "buf/validate/validate.proto";
6+
import "google/protobuf/timestamp.proto";
67
import "nebius/annotations.proto";
78
import "nebius/common/v1/metadata.proto";
89

@@ -103,4 +104,27 @@ message InventorySpec {
103104
Schedule schedule = 8 [(buf.validate.field).required = true];
104105
}
105106

106-
message InventoryStatus {}
107+
message InventoryStatus {
108+
enum Error {
109+
// No error.
110+
NO_ERROR = 0;
111+
112+
// Destination bucket not found.
113+
DESTINATION_BUCKET_NOT_FOUND = 1;
114+
115+
// Permission denied: you don't have permission to the destination bucket.
116+
PERMISSION_DENIED = 2;
117+
118+
// Intent is invalid, does not exist or expired.
119+
INVALID_INTENT = 3;
120+
121+
// Quota exceeded in destination.
122+
QUOTA_EXCEEDED = 4;
123+
}
124+
125+
// Timestamp of the last successful run.
126+
google.protobuf.Timestamp last_success = 1;
127+
128+
// Error code, if the last run was not successful, otherwise NO_ERROR.
129+
Error error_code = 2;
130+
}

0 commit comments

Comments
 (0)