From c3f0e43fd9f8bb44ed5e57da9e9c725918e20f53 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 7 Jul 2026 08:34:44 +0000 Subject: [PATCH] Publish proto files from 4c3acf2aa7 --- nebius/ai/v1/endpoint.proto | 5 ++++- nebius/ai/v1/job.proto | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/nebius/ai/v1/endpoint.proto b/nebius/ai/v1/endpoint.proto index c71df01..55dccf2 100644 --- a/nebius/ai/v1/endpoint.proto +++ b/nebius/ai/v1/endpoint.proto @@ -127,7 +127,10 @@ message EndpointSpec { }; // The name of the environment variable. - string name = 1 [(buf.validate.field).required = true]; + string name = 1 [(buf.validate.field) = { + string: {pattern: "^[a-zA-Z_][a-zA-Z0-9_]*$"} + required: true + }]; // Environment variable value. // Mutually exclusive with `mysterybox_secret`. diff --git a/nebius/ai/v1/job.proto b/nebius/ai/v1/job.proto index 7589b38..b50465a 100644 --- a/nebius/ai/v1/job.proto +++ b/nebius/ai/v1/job.proto @@ -114,7 +114,10 @@ message JobSpec { }; // The name of the environment variable. - string name = 1 [(buf.validate.field).required = true]; + string name = 1 [(buf.validate.field) = { + string: {pattern: "^[a-zA-Z_][a-zA-Z0-9_]*$"} + required: true + }]; // Environment variable value. // Mutually exclusive with `mysterybox_secret`.