Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions nebius/annotations.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
17 changes: 17 additions & 0 deletions nebius/compute/v1/image_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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;
}