From 3aceb236f434611deaabbf306d02a9d581840b9b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 23 Dec 2025 09:29:15 +0000 Subject: [PATCH] Publish proto files from ee548fcd2 --- nebius/annotations.proto | 6 ++++++ nebius/compute/v1/image_service.proto | 17 +++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/nebius/annotations.proto b/nebius/annotations.proto index 935c6ac..bdc1f38 100644 --- a/nebius/annotations.proto +++ b/nebius/annotations.proto @@ -34,6 +34,12 @@ extend google.protobuf.MethodOptions { DeprecationDetails method_deprecation_details = 1194; MethodPySDKSettings method_py_sdk = 1195; + + // If true, the method requires the reset mask to be sent along with the request. + // If false, the reset mask will be sent only in resource Update methods by default. + // If set, the reset mask will be calculated relative to the root of the request, + // the mask sanitization will be applied on the gateway as usual. + bool send_reset_mask = 1196; } extend google.protobuf.MessageOptions { diff --git a/nebius/compute/v1/image_service.proto b/nebius/compute/v1/image_service.proto index 2b71564..864e709 100644 --- a/nebius/compute/v1/image_service.proto +++ b/nebius/compute/v1/image_service.proto @@ -2,6 +2,7 @@ syntax = "proto3"; package nebius.compute.v1; +import "buf/validate/validate.proto"; import "nebius/annotations.proto"; import "nebius/common/v1/metadata.proto"; import "nebius/common/v1/operation_service.proto"; @@ -31,6 +32,12 @@ service ImageService { // Lists all operations that were performed within a specific parent resource. rpc ListOperationsByParent(ListOperationsByParentRequest) returns (common.v1.ListOperationsResponse); + + // Lists all public images available in a specific region. Regions doc https://docs.nebius.com/overview/regions + // Public images can contain specific labels in metadata like: + // "os_name: Ubuntu", "os_version: 22.04 LTS", "linux_kernel: 5.15", "cuda_toolkit: 13.0" + // "nvidia_gpu_drivers: 550", "networking_package: OFED 23.10" + rpc ListPublic(ListPublicRequest) returns (ListImagesResponse); } message GetImageRequest { @@ -64,3 +71,13 @@ message ListImagesResponse { string next_page_token = 2; } + +message ListPublicRequest { + // Region name (eu-north2, us-central1, eu-west1, etc.) + // For details, see https://docs.nebius.com/overview/regions + string region = 1 [(buf.validate.field).required = true]; + + int64 page_size = 2; + + string page_token = 3; +}