Skip to content

Commit 2bccdf3

Browse files
docs: [container] Add clarification on whether NodePool.version is a required field (#9074)
* docs: Add clarification on whether `NodePool.version` is a required field PiperOrigin-RevId: 506777053 Source-Link: googleapis/googleapis@ffc5ffc Source-Link: https://github.com/googleapis/googleapis-gen/commit/d8776e811018df6944265b06d9b4148783f25759 Copy-Tag: eyJwIjoiamF2YS1jb250YWluZXIvLk93bEJvdC55YW1sIiwiaCI6ImQ4Nzc2ZTgxMTAxOGRmNjk0NDI2NWIwNmQ5YjQxNDg3ODNmMjU3NTkifQ== * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent e936b86 commit 2bccdf3

23 files changed

+310
-300
lines changed

java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaults.java

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -304,16 +304,15 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder()
304304
* information, read [how to specify min CPU
305305
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
306306
* This field is deprecated, min_cpu_platform should be specified using
307-
* https://cloud.google.com/requested-min-cpu-platform label selector on the
308-
* pod.
307+
* `cloud.google.com/requested-min-cpu-platform` label selector on the pod.
309308
* To unset the min cpu platform field pass "automatic"
310309
* as field value.
311310
* </pre>
312311
*
313312
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
314313
*
315314
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
316-
* deprecated. See google/container/v1/cluster_service.proto;l=3508
315+
* deprecated. See google/container/v1/cluster_service.proto;l=3509
317316
* @return The minCpuPlatform.
318317
*/
319318
@java.lang.Override
@@ -341,16 +340,15 @@ public java.lang.String getMinCpuPlatform() {
341340
* information, read [how to specify min CPU
342341
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
343342
* This field is deprecated, min_cpu_platform should be specified using
344-
* https://cloud.google.com/requested-min-cpu-platform label selector on the
345-
* pod.
343+
* `cloud.google.com/requested-min-cpu-platform` label selector on the pod.
346344
* To unset the min cpu platform field pass "automatic"
347345
* as field value.
348346
* </pre>
349347
*
350348
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
351349
*
352350
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
353-
* deprecated. See google/container/v1/cluster_service.proto;l=3508
351+
* deprecated. See google/container/v1/cluster_service.proto;l=3509
354352
* @return The bytes for minCpuPlatform.
355353
*/
356354
@java.lang.Override
@@ -1870,16 +1868,15 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder()
18701868
* information, read [how to specify min CPU
18711869
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
18721870
* This field is deprecated, min_cpu_platform should be specified using
1873-
* https://cloud.google.com/requested-min-cpu-platform label selector on the
1874-
* pod.
1871+
* `cloud.google.com/requested-min-cpu-platform` label selector on the pod.
18751872
* To unset the min cpu platform field pass "automatic"
18761873
* as field value.
18771874
* </pre>
18781875
*
18791876
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
18801877
*
18811878
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
1882-
* deprecated. See google/container/v1/cluster_service.proto;l=3508
1879+
* deprecated. See google/container/v1/cluster_service.proto;l=3509
18831880
* @return The minCpuPlatform.
18841881
*/
18851882
@java.lang.Deprecated
@@ -1906,16 +1903,15 @@ public java.lang.String getMinCpuPlatform() {
19061903
* information, read [how to specify min CPU
19071904
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
19081905
* This field is deprecated, min_cpu_platform should be specified using
1909-
* https://cloud.google.com/requested-min-cpu-platform label selector on the
1910-
* pod.
1906+
* `cloud.google.com/requested-min-cpu-platform` label selector on the pod.
19111907
* To unset the min cpu platform field pass "automatic"
19121908
* as field value.
19131909
* </pre>
19141910
*
19151911
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
19161912
*
19171913
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
1918-
* deprecated. See google/container/v1/cluster_service.proto;l=3508
1914+
* deprecated. See google/container/v1/cluster_service.proto;l=3509
19191915
* @return The bytes for minCpuPlatform.
19201916
*/
19211917
@java.lang.Deprecated
@@ -1942,16 +1938,15 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() {
19421938
* information, read [how to specify min CPU
19431939
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
19441940
* This field is deprecated, min_cpu_platform should be specified using
1945-
* https://cloud.google.com/requested-min-cpu-platform label selector on the
1946-
* pod.
1941+
* `cloud.google.com/requested-min-cpu-platform` label selector on the pod.
19471942
* To unset the min cpu platform field pass "automatic"
19481943
* as field value.
19491944
* </pre>
19501945
*
19511946
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
19521947
*
19531948
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
1954-
* deprecated. See google/container/v1/cluster_service.proto;l=3508
1949+
* deprecated. See google/container/v1/cluster_service.proto;l=3509
19551950
* @param value The minCpuPlatform to set.
19561951
* @return This builder for chaining.
19571952
*/
@@ -1977,16 +1972,15 @@ public Builder setMinCpuPlatform(java.lang.String value) {
19771972
* information, read [how to specify min CPU
19781973
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
19791974
* This field is deprecated, min_cpu_platform should be specified using
1980-
* https://cloud.google.com/requested-min-cpu-platform label selector on the
1981-
* pod.
1975+
* `cloud.google.com/requested-min-cpu-platform` label selector on the pod.
19821976
* To unset the min cpu platform field pass "automatic"
19831977
* as field value.
19841978
* </pre>
19851979
*
19861980
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
19871981
*
19881982
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
1989-
* deprecated. See google/container/v1/cluster_service.proto;l=3508
1983+
* deprecated. See google/container/v1/cluster_service.proto;l=3509
19901984
* @return This builder for chaining.
19911985
*/
19921986
@java.lang.Deprecated
@@ -2008,16 +2002,15 @@ public Builder clearMinCpuPlatform() {
20082002
* information, read [how to specify min CPU
20092003
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
20102004
* This field is deprecated, min_cpu_platform should be specified using
2011-
* https://cloud.google.com/requested-min-cpu-platform label selector on the
2012-
* pod.
2005+
* `cloud.google.com/requested-min-cpu-platform` label selector on the pod.
20132006
* To unset the min cpu platform field pass "automatic"
20142007
* as field value.
20152008
* </pre>
20162009
*
20172010
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
20182011
*
20192012
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
2020-
* deprecated. See google/container/v1/cluster_service.proto;l=3508
2013+
* deprecated. See google/container/v1/cluster_service.proto;l=3509
20212014
* @param value The bytes for minCpuPlatform to set.
20222015
* @return This builder for chaining.
20232016
*/

java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/AutoprovisioningNodePoolDefaultsOrBuilder.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -181,16 +181,15 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder
181181
* information, read [how to specify min CPU
182182
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
183183
* This field is deprecated, min_cpu_platform should be specified using
184-
* https://cloud.google.com/requested-min-cpu-platform label selector on the
185-
* pod.
184+
* `cloud.google.com/requested-min-cpu-platform` label selector on the pod.
186185
* To unset the min cpu platform field pass "automatic"
187186
* as field value.
188187
* </pre>
189188
*
190189
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
191190
*
192191
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
193-
* deprecated. See google/container/v1/cluster_service.proto;l=3508
192+
* deprecated. See google/container/v1/cluster_service.proto;l=3509
194193
* @return The minCpuPlatform.
195194
*/
196195
@java.lang.Deprecated
@@ -207,16 +206,15 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder
207206
* information, read [how to specify min CPU
208207
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
209208
* This field is deprecated, min_cpu_platform should be specified using
210-
* https://cloud.google.com/requested-min-cpu-platform label selector on the
211-
* pod.
209+
* `cloud.google.com/requested-min-cpu-platform` label selector on the pod.
212210
* To unset the min cpu platform field pass "automatic"
213211
* as field value.
214212
* </pre>
215213
*
216214
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
217215
*
218216
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
219-
* deprecated. See google/container/v1/cluster_service.proto;l=3508
217+
* deprecated. See google/container/v1/cluster_service.proto;l=3509
220218
* @return The bytes for minCpuPlatform.
221219
*/
222220
@java.lang.Deprecated

java-container/proto-google-cloud-container-v1/src/main/java/com/google/container/v1/CompleteIPRotationRequest.java

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
8686
* <code>string project_id = 1 [deprecated = true];</code>
8787
*
8888
* @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See
89-
* google/container/v1/cluster_service.proto;l=3692
89+
* google/container/v1/cluster_service.proto;l=3693
9090
* @return The projectId.
9191
*/
9292
@java.lang.Override
@@ -114,7 +114,7 @@ public java.lang.String getProjectId() {
114114
* <code>string project_id = 1 [deprecated = true];</code>
115115
*
116116
* @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See
117-
* google/container/v1/cluster_service.proto;l=3692
117+
* google/container/v1/cluster_service.proto;l=3693
118118
* @return The bytes for projectId.
119119
*/
120120
@java.lang.Override
@@ -148,7 +148,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
148148
* <code>string zone = 2 [deprecated = true];</code>
149149
*
150150
* @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See
151-
* google/container/v1/cluster_service.proto;l=3698
151+
* google/container/v1/cluster_service.proto;l=3699
152152
* @return The zone.
153153
*/
154154
@java.lang.Override
@@ -177,7 +177,7 @@ public java.lang.String getZone() {
177177
* <code>string zone = 2 [deprecated = true];</code>
178178
*
179179
* @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See
180-
* google/container/v1/cluster_service.proto;l=3698
180+
* google/container/v1/cluster_service.proto;l=3699
181181
* @return The bytes for zone.
182182
*/
183183
@java.lang.Override
@@ -209,7 +209,7 @@ public com.google.protobuf.ByteString getZoneBytes() {
209209
* <code>string cluster_id = 3 [deprecated = true];</code>
210210
*
211211
* @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See
212-
* google/container/v1/cluster_service.proto;l=3702
212+
* google/container/v1/cluster_service.proto;l=3703
213213
* @return The clusterId.
214214
*/
215215
@java.lang.Override
@@ -236,7 +236,7 @@ public java.lang.String getClusterId() {
236236
* <code>string cluster_id = 3 [deprecated = true];</code>
237237
*
238238
* @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See
239-
* google/container/v1/cluster_service.proto;l=3702
239+
* google/container/v1/cluster_service.proto;l=3703
240240
* @return The bytes for clusterId.
241241
*/
242242
@java.lang.Override
@@ -733,7 +733,7 @@ public Builder mergeFrom(
733733
* <code>string project_id = 1 [deprecated = true];</code>
734734
*
735735
* @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See
736-
* google/container/v1/cluster_service.proto;l=3692
736+
* google/container/v1/cluster_service.proto;l=3693
737737
* @return The projectId.
738738
*/
739739
@java.lang.Deprecated
@@ -760,7 +760,7 @@ public java.lang.String getProjectId() {
760760
* <code>string project_id = 1 [deprecated = true];</code>
761761
*
762762
* @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See
763-
* google/container/v1/cluster_service.proto;l=3692
763+
* google/container/v1/cluster_service.proto;l=3693
764764
* @return The bytes for projectId.
765765
*/
766766
@java.lang.Deprecated
@@ -787,7 +787,7 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
787787
* <code>string project_id = 1 [deprecated = true];</code>
788788
*
789789
* @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See
790-
* google/container/v1/cluster_service.proto;l=3692
790+
* google/container/v1/cluster_service.proto;l=3693
791791
* @param value The projectId to set.
792792
* @return This builder for chaining.
793793
*/
@@ -813,7 +813,7 @@ public Builder setProjectId(java.lang.String value) {
813813
* <code>string project_id = 1 [deprecated = true];</code>
814814
*
815815
* @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See
816-
* google/container/v1/cluster_service.proto;l=3692
816+
* google/container/v1/cluster_service.proto;l=3693
817817
* @return This builder for chaining.
818818
*/
819819
@java.lang.Deprecated
@@ -835,7 +835,7 @@ public Builder clearProjectId() {
835835
* <code>string project_id = 1 [deprecated = true];</code>
836836
*
837837
* @deprecated google.container.v1.CompleteIPRotationRequest.project_id is deprecated. See
838-
* google/container/v1/cluster_service.proto;l=3692
838+
* google/container/v1/cluster_service.proto;l=3693
839839
* @param value The bytes for projectId to set.
840840
* @return This builder for chaining.
841841
*/
@@ -865,7 +865,7 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
865865
* <code>string zone = 2 [deprecated = true];</code>
866866
*
867867
* @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See
868-
* google/container/v1/cluster_service.proto;l=3698
868+
* google/container/v1/cluster_service.proto;l=3699
869869
* @return The zone.
870870
*/
871871
@java.lang.Deprecated
@@ -893,7 +893,7 @@ public java.lang.String getZone() {
893893
* <code>string zone = 2 [deprecated = true];</code>
894894
*
895895
* @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See
896-
* google/container/v1/cluster_service.proto;l=3698
896+
* google/container/v1/cluster_service.proto;l=3699
897897
* @return The bytes for zone.
898898
*/
899899
@java.lang.Deprecated
@@ -921,7 +921,7 @@ public com.google.protobuf.ByteString getZoneBytes() {
921921
* <code>string zone = 2 [deprecated = true];</code>
922922
*
923923
* @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See
924-
* google/container/v1/cluster_service.proto;l=3698
924+
* google/container/v1/cluster_service.proto;l=3699
925925
* @param value The zone to set.
926926
* @return This builder for chaining.
927927
*/
@@ -948,7 +948,7 @@ public Builder setZone(java.lang.String value) {
948948
* <code>string zone = 2 [deprecated = true];</code>
949949
*
950950
* @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See
951-
* google/container/v1/cluster_service.proto;l=3698
951+
* google/container/v1/cluster_service.proto;l=3699
952952
* @return This builder for chaining.
953953
*/
954954
@java.lang.Deprecated
@@ -971,7 +971,7 @@ public Builder clearZone() {
971971
* <code>string zone = 2 [deprecated = true];</code>
972972
*
973973
* @deprecated google.container.v1.CompleteIPRotationRequest.zone is deprecated. See
974-
* google/container/v1/cluster_service.proto;l=3698
974+
* google/container/v1/cluster_service.proto;l=3699
975975
* @param value The bytes for zone to set.
976976
* @return This builder for chaining.
977977
*/
@@ -999,7 +999,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) {
999999
* <code>string cluster_id = 3 [deprecated = true];</code>
10001000
*
10011001
* @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See
1002-
* google/container/v1/cluster_service.proto;l=3702
1002+
* google/container/v1/cluster_service.proto;l=3703
10031003
* @return The clusterId.
10041004
*/
10051005
@java.lang.Deprecated
@@ -1025,7 +1025,7 @@ public java.lang.String getClusterId() {
10251025
* <code>string cluster_id = 3 [deprecated = true];</code>
10261026
*
10271027
* @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See
1028-
* google/container/v1/cluster_service.proto;l=3702
1028+
* google/container/v1/cluster_service.proto;l=3703
10291029
* @return The bytes for clusterId.
10301030
*/
10311031
@java.lang.Deprecated
@@ -1051,7 +1051,7 @@ public com.google.protobuf.ByteString getClusterIdBytes() {
10511051
* <code>string cluster_id = 3 [deprecated = true];</code>
10521052
*
10531053
* @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See
1054-
* google/container/v1/cluster_service.proto;l=3702
1054+
* google/container/v1/cluster_service.proto;l=3703
10551055
* @param value The clusterId to set.
10561056
* @return This builder for chaining.
10571057
*/
@@ -1076,7 +1076,7 @@ public Builder setClusterId(java.lang.String value) {
10761076
* <code>string cluster_id = 3 [deprecated = true];</code>
10771077
*
10781078
* @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See
1079-
* google/container/v1/cluster_service.proto;l=3702
1079+
* google/container/v1/cluster_service.proto;l=3703
10801080
* @return This builder for chaining.
10811081
*/
10821082
@java.lang.Deprecated
@@ -1097,7 +1097,7 @@ public Builder clearClusterId() {
10971097
* <code>string cluster_id = 3 [deprecated = true];</code>
10981098
*
10991099
* @deprecated google.container.v1.CompleteIPRotationRequest.cluster_id is deprecated. See
1100-
* google/container/v1/cluster_service.proto;l=3702
1100+
* google/container/v1/cluster_service.proto;l=3703
11011101
* @param value The bytes for clusterId to set.
11021102
* @return This builder for chaining.
11031103
*/

0 commit comments

Comments
 (0)