Skip to content

Commit a1b62c1

Browse files
Google APIscopybara-github
authored andcommitted
fix: Fix description of an interpreter field, validate if the field is not unspecified
PiperOrigin-RevId: 427987153
1 parent 7a30891 commit a1b62c1

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

google/cloud/osconfig/agentendpoint/v1/os_policy.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ message OSPolicy {
298298
message Exec {
299299
// The interpreter to use.
300300
enum Interpreter {
301-
// Defaults to NONE.
301+
// Invalid value, the request will return validation error.
302302
INTERPRETER_UNSPECIFIED = 0;
303303

304304
// If no interpreter is specified the

google/cloud/osconfig/v1/os_policy.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ message OSPolicy {
354354
message Exec {
355355
// The interpreter to use.
356356
enum Interpreter {
357-
// Defaults to NONE.
357+
// Invalid value, the request will return validation error.
358358
INTERPRETER_UNSPECIFIED = 0;
359359

360360
// If an interpreter is not specified, the

google/cloud/osconfig/v1alpha/os_policy.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ message OSPolicy {
369369
message Exec {
370370
// The interpreter to use.
371371
enum Interpreter {
372-
// Defaults to NONE.
372+
// Invalid value, the request will return validation error.
373373
INTERPRETER_UNSPECIFIED = 0;
374374

375375
// If an interpreter is not specified, the

0 commit comments

Comments
 (0)