From 96ba51d7ec9bb437c2ae34358c2657fed4396f43 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 27 Aug 2026 08:36:56 +0000 Subject: [PATCH] Publish proto files from a24d0b0e64 --- nebius/common/v1/warning.proto | 3 +++ nebius/storage/v1/inventory.proto | 26 +++++++++++++++++++++++++- 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/nebius/common/v1/warning.proto b/nebius/common/v1/warning.proto index 85ca3f8..fb41037 100644 --- a/nebius/common/v1/warning.proto +++ b/nebius/common/v1/warning.proto @@ -90,5 +90,8 @@ message Warning { // Nebius ID in the request has an invalid format. CODE_INVALID_NEBIUS_ID_FORMAT_REQUEST = 9; + + // ListAggregated returned incomplete results because one or more regions could not be queried. + CODE_LIST_AGGREGATED_PARTIAL = 10; } } diff --git a/nebius/storage/v1/inventory.proto b/nebius/storage/v1/inventory.proto index adc7910..43cbfe6 100644 --- a/nebius/storage/v1/inventory.proto +++ b/nebius/storage/v1/inventory.proto @@ -3,6 +3,7 @@ syntax = "proto3"; package nebius.storage.v1; import "buf/validate/validate.proto"; +import "google/protobuf/timestamp.proto"; import "nebius/annotations.proto"; import "nebius/common/v1/metadata.proto"; @@ -103,4 +104,27 @@ message InventorySpec { Schedule schedule = 8 [(buf.validate.field).required = true]; } -message InventoryStatus {} +message InventoryStatus { + enum Error { + // No error. + NO_ERROR = 0; + + // Destination bucket not found. + DESTINATION_BUCKET_NOT_FOUND = 1; + + // Permission denied: you don't have permission to the destination bucket. + PERMISSION_DENIED = 2; + + // Intent is invalid, does not exist or expired. + INVALID_INTENT = 3; + + // Quota exceeded in destination. + QUOTA_EXCEEDED = 4; + } + + // Timestamp of the last successful run. + google.protobuf.Timestamp last_success = 1; + + // Error code, if the last run was not successful, otherwise NO_ERROR. + Error error_code = 2; +}