Skip to content

Commit 546c3d4

Browse files
Google APIscopybara-github
authored andcommitted
docs: Mark Variant's resources field as input only
PiperOrigin-RevId: 788980481
1 parent 2d4fbff commit 546c3d4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

google/cloud/configdelivery/v1beta/config_delivery.proto

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,11 +1246,12 @@ message Variant {
12461246
// Optional. labels to represent any metadata associated with the variant.
12471247
map<string, string> labels = 1 [(google.api.field_behavior) = OPTIONAL];
12481248

1249-
// Required. Unordered list. resources contain the kubernetes manifests
1250-
// (YAMLs) for this variant.
1249+
// Required. Input only. Unordered list. resources contain the kubernetes
1250+
// manifests (YAMLs) for this variant.
12511251
repeated string resources = 2 [
12521252
(google.api.field_behavior) = REQUIRED,
1253-
(google.api.field_behavior) = UNORDERED_LIST
1253+
(google.api.field_behavior) = UNORDERED_LIST,
1254+
(google.api.field_behavior) = INPUT_ONLY
12541255
];
12551256

12561257
// Identifier. Name follows format of

0 commit comments

Comments
 (0)