Skip to content

Commit cb268fb

Browse files
Google APIscopybara-github
authored andcommitted
feat: Added OUTPUT_ONLY annotations to create_time and update_time in InternalRange to reflect existing service behavior
PiperOrigin-RevId: 858089458
1 parent 984014a commit cb268fb

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

google/cloud/networkconnectivity/v1/internal_range.proto

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2025 Google LLC
1+
// Copyright 2026 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -246,11 +246,13 @@ message InternalRange {
246246
// See: https://google.aip.dev/122#fields-representing-resource-names
247247
string name = 1 [(google.api.field_behavior) = IDENTIFIER];
248248

249-
// Time when the internal range was created.
250-
google.protobuf.Timestamp create_time = 2;
249+
// Output only. Time when the internal range was created.
250+
google.protobuf.Timestamp create_time = 2
251+
[(google.api.field_behavior) = OUTPUT_ONLY];
251252

252-
// Time when the internal range was updated.
253-
google.protobuf.Timestamp update_time = 3;
253+
// Output only. Time when the internal range was updated.
254+
google.protobuf.Timestamp update_time = 3
255+
[(google.api.field_behavior) = OUTPUT_ONLY];
254256

255257
// User-defined labels.
256258
map<string, string> labels = 4;
@@ -291,10 +293,11 @@ message InternalRange {
291293
int32 prefix_length = 10 [(google.api.field_behavior) = OPTIONAL];
292294

293295
// Optional. Can be set to narrow down or pick a different address space while
294-
// searching for a free range. If not set, defaults to the "10.0.0.0/8"
295-
// address space. This can be used to search in other rfc-1918 address
296-
// spaces like "172.16.0.0/12" and "192.168.0.0/16" or non-rfc-1918
297-
// address spaces used in the VPC.
296+
// searching for a free range. If not set, defaults to the ["10.0.0.0/8",
297+
// "172.16.0.0/12", "192.168.0.0/16"] address space (for auto-mode networks,
298+
// the "10.0.0.0/9" range is used instead of "10.0.0.0/8"). This can be used
299+
// to target the search in other rfc-1918 address spaces like "172.16.0.0/12"
300+
// and "192.168.0.0/16" or non-rfc-1918 address spaces used in the VPC.
298301
repeated string target_cidr_range = 11
299302
[(google.api.field_behavior) = OPTIONAL];
300303

0 commit comments

Comments
 (0)