Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.

Commit 0d7d617

Browse files
docs: BinaryAuthorization.enabled field is marked as deprecated (#771)
* docs: BinaryAuthorization.enabled field is marked as deprecated PiperOrigin-RevId: 464729205 Source-Link: googleapis/googleapis@901a2a2 Source-Link: https://github.com/googleapis/googleapis-gen/commit/dd9caa4fb0ed03441092404ef8fd2516dc590823 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZGQ5Y2FhNGZiMGVkMDM0NDEwOTI0MDRlZjhmZDI1MTZkYzU5MDgyMyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * docs: BinaryAuthorization.enabled field is marked as deprecated PiperOrigin-RevId: 464729666 Source-Link: googleapis/googleapis@c77c067 Source-Link: https://github.com/googleapis/googleapis-gen/commit/68c2282850add16ddacf3906ff2dae880bf9b4cc Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjhjMjI4Mjg1MGFkZDE2ZGRhY2YzOTA2ZmYyZGFlODgwYmY5YjRjYyJ9 * 🦉 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 aff61fb commit 0d7d617

File tree

163 files changed

+3877
-3815
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

163 files changed

+3877
-3815
lines changed

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

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -435,15 +435,16 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder()
435435
* information, read [how to specify min CPU
436436
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
437437
* This field is deprecated, min_cpu_platform should be specified using
438-
* cloud.google.com/requested-min-cpu-platform label selector on the pod.
438+
* https://cloud.google.com/requested-min-cpu-platform label selector on the
439+
* pod.
439440
* To unset the min cpu platform field pass "automatic"
440441
* as field value.
441442
* </pre>
442443
*
443444
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
444445
*
445446
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
446-
* deprecated. See google/container/v1/cluster_service.proto;l=3311
447+
* deprecated. See google/container/v1/cluster_service.proto;l=3313
447448
* @return The minCpuPlatform.
448449
*/
449450
@java.lang.Override
@@ -471,15 +472,16 @@ public java.lang.String getMinCpuPlatform() {
471472
* information, read [how to specify min CPU
472473
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
473474
* This field is deprecated, min_cpu_platform should be specified using
474-
* cloud.google.com/requested-min-cpu-platform label selector on the pod.
475+
* https://cloud.google.com/requested-min-cpu-platform label selector on the
476+
* pod.
475477
* To unset the min cpu platform field pass "automatic"
476478
* as field value.
477479
* </pre>
478480
*
479481
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
480482
*
481483
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
482-
* deprecated. See google/container/v1/cluster_service.proto;l=3311
484+
* deprecated. See google/container/v1/cluster_service.proto;l=3313
483485
* @return The bytes for minCpuPlatform.
484486
*/
485487
@java.lang.Override
@@ -1904,15 +1906,16 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder()
19041906
* information, read [how to specify min CPU
19051907
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
19061908
* This field is deprecated, min_cpu_platform should be specified using
1907-
* cloud.google.com/requested-min-cpu-platform label selector on the pod.
1909+
* https://cloud.google.com/requested-min-cpu-platform label selector on the
1910+
* pod.
19081911
* To unset the min cpu platform field pass "automatic"
19091912
* as field value.
19101913
* </pre>
19111914
*
19121915
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
19131916
*
19141917
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
1915-
* deprecated. See google/container/v1/cluster_service.proto;l=3311
1918+
* deprecated. See google/container/v1/cluster_service.proto;l=3313
19161919
* @return The minCpuPlatform.
19171920
*/
19181921
@java.lang.Deprecated
@@ -1939,15 +1942,16 @@ public java.lang.String getMinCpuPlatform() {
19391942
* information, read [how to specify min CPU
19401943
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
19411944
* This field is deprecated, min_cpu_platform should be specified using
1942-
* cloud.google.com/requested-min-cpu-platform label selector on the pod.
1945+
* https://cloud.google.com/requested-min-cpu-platform label selector on the
1946+
* pod.
19431947
* To unset the min cpu platform field pass "automatic"
19441948
* as field value.
19451949
* </pre>
19461950
*
19471951
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
19481952
*
19491953
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
1950-
* deprecated. See google/container/v1/cluster_service.proto;l=3311
1954+
* deprecated. See google/container/v1/cluster_service.proto;l=3313
19511955
* @return The bytes for minCpuPlatform.
19521956
*/
19531957
@java.lang.Deprecated
@@ -1974,15 +1978,16 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() {
19741978
* information, read [how to specify min CPU
19751979
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
19761980
* This field is deprecated, min_cpu_platform should be specified using
1977-
* cloud.google.com/requested-min-cpu-platform label selector on the pod.
1981+
* https://cloud.google.com/requested-min-cpu-platform label selector on the
1982+
* pod.
19781983
* To unset the min cpu platform field pass "automatic"
19791984
* as field value.
19801985
* </pre>
19811986
*
19821987
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
19831988
*
19841989
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
1985-
* deprecated. See google/container/v1/cluster_service.proto;l=3311
1990+
* deprecated. See google/container/v1/cluster_service.proto;l=3313
19861991
* @param value The minCpuPlatform to set.
19871992
* @return This builder for chaining.
19881993
*/
@@ -2008,15 +2013,16 @@ public Builder setMinCpuPlatform(java.lang.String value) {
20082013
* information, read [how to specify min CPU
20092014
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
20102015
* This field is deprecated, min_cpu_platform should be specified using
2011-
* cloud.google.com/requested-min-cpu-platform label selector on the pod.
2016+
* https://cloud.google.com/requested-min-cpu-platform label selector on the
2017+
* pod.
20122018
* To unset the min cpu platform field pass "automatic"
20132019
* as field value.
20142020
* </pre>
20152021
*
20162022
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
20172023
*
20182024
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
2019-
* deprecated. See google/container/v1/cluster_service.proto;l=3311
2025+
* deprecated. See google/container/v1/cluster_service.proto;l=3313
20202026
* @return This builder for chaining.
20212027
*/
20222028
@java.lang.Deprecated
@@ -2038,15 +2044,16 @@ public Builder clearMinCpuPlatform() {
20382044
* information, read [how to specify min CPU
20392045
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
20402046
* This field is deprecated, min_cpu_platform should be specified using
2041-
* cloud.google.com/requested-min-cpu-platform label selector on the pod.
2047+
* https://cloud.google.com/requested-min-cpu-platform label selector on the
2048+
* pod.
20422049
* To unset the min cpu platform field pass "automatic"
20432050
* as field value.
20442051
* </pre>
20452052
*
20462053
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
20472054
*
20482055
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
2049-
* deprecated. See google/container/v1/cluster_service.proto;l=3311
2056+
* deprecated. See google/container/v1/cluster_service.proto;l=3313
20502057
* @param value The bytes for minCpuPlatform to set.
20512058
* @return This builder for chaining.
20522059
*/

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,15 +181,16 @@ 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-
* cloud.google.com/requested-min-cpu-platform label selector on the pod.
184+
* https://cloud.google.com/requested-min-cpu-platform label selector on the
185+
* pod.
185186
* To unset the min cpu platform field pass "automatic"
186187
* as field value.
187188
* </pre>
188189
*
189190
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
190191
*
191192
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
192-
* deprecated. See google/container/v1/cluster_service.proto;l=3311
193+
* deprecated. See google/container/v1/cluster_service.proto;l=3313
193194
* @return The minCpuPlatform.
194195
*/
195196
@java.lang.Deprecated
@@ -206,15 +207,16 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder
206207
* information, read [how to specify min CPU
207208
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
208209
* This field is deprecated, min_cpu_platform should be specified using
209-
* cloud.google.com/requested-min-cpu-platform label selector on the pod.
210+
* https://cloud.google.com/requested-min-cpu-platform label selector on the
211+
* pod.
210212
* To unset the min cpu platform field pass "automatic"
211213
* as field value.
212214
* </pre>
213215
*
214216
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
215217
*
216218
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
217-
* deprecated. See google/container/v1/cluster_service.proto;l=3311
219+
* deprecated. See google/container/v1/cluster_service.proto;l=3313
218220
* @return The bytes for minCpuPlatform.
219221
*/
220222
@java.lang.Deprecated

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

Lines changed: 28 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -285,15 +285,19 @@ private EvaluationMode(int value) {
285285
*
286286
*
287287
* <pre>
288-
* Enable Binary Authorization for this cluster. If enabled, all container
289-
* images will be validated by Binary Authorization.
288+
* This field is deprecated. Leave this unset and instead configure
289+
* BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
290+
* anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
290291
* </pre>
291292
*
292-
* <code>bool enabled = 1;</code>
293+
* <code>bool enabled = 1 [deprecated = true];</code>
293294
*
295+
* @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See
296+
* google/container/v1/cluster_service.proto;l=1224
294297
* @return The enabled.
295298
*/
296299
@java.lang.Override
300+
@java.lang.Deprecated
297301
public boolean getEnabled() {
298302
return enabled_;
299303
}
@@ -679,31 +683,39 @@ public Builder mergeFrom(
679683
*
680684
*
681685
* <pre>
682-
* Enable Binary Authorization for this cluster. If enabled, all container
683-
* images will be validated by Binary Authorization.
686+
* This field is deprecated. Leave this unset and instead configure
687+
* BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
688+
* anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
684689
* </pre>
685690
*
686-
* <code>bool enabled = 1;</code>
691+
* <code>bool enabled = 1 [deprecated = true];</code>
687692
*
693+
* @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See
694+
* google/container/v1/cluster_service.proto;l=1224
688695
* @return The enabled.
689696
*/
690697
@java.lang.Override
698+
@java.lang.Deprecated
691699
public boolean getEnabled() {
692700
return enabled_;
693701
}
694702
/**
695703
*
696704
*
697705
* <pre>
698-
* Enable Binary Authorization for this cluster. If enabled, all container
699-
* images will be validated by Binary Authorization.
706+
* This field is deprecated. Leave this unset and instead configure
707+
* BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
708+
* anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
700709
* </pre>
701710
*
702-
* <code>bool enabled = 1;</code>
711+
* <code>bool enabled = 1 [deprecated = true];</code>
703712
*
713+
* @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See
714+
* google/container/v1/cluster_service.proto;l=1224
704715
* @param value The enabled to set.
705716
* @return This builder for chaining.
706717
*/
718+
@java.lang.Deprecated
707719
public Builder setEnabled(boolean value) {
708720

709721
enabled_ = value;
@@ -714,14 +726,18 @@ public Builder setEnabled(boolean value) {
714726
*
715727
*
716728
* <pre>
717-
* Enable Binary Authorization for this cluster. If enabled, all container
718-
* images will be validated by Binary Authorization.
729+
* This field is deprecated. Leave this unset and instead configure
730+
* BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
731+
* anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
719732
* </pre>
720733
*
721-
* <code>bool enabled = 1;</code>
734+
* <code>bool enabled = 1 [deprecated = true];</code>
722735
*
736+
* @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See
737+
* google/container/v1/cluster_service.proto;l=1224
723738
* @return This builder for chaining.
724739
*/
740+
@java.lang.Deprecated
725741
public Builder clearEnabled() {
726742

727743
enabled_ = false;

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,18 @@ public interface BinaryAuthorizationOrBuilder
2727
*
2828
*
2929
* <pre>
30-
* Enable Binary Authorization for this cluster. If enabled, all container
31-
* images will be validated by Binary Authorization.
30+
* This field is deprecated. Leave this unset and instead configure
31+
* BinaryAuthorization using evaluation_mode. If evaluation_mode is set to
32+
* anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.
3233
* </pre>
3334
*
34-
* <code>bool enabled = 1;</code>
35+
* <code>bool enabled = 1 [deprecated = true];</code>
3536
*
37+
* @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See
38+
* google/container/v1/cluster_service.proto;l=1224
3639
* @return The enabled.
3740
*/
41+
@java.lang.Deprecated
3842
boolean getEnabled();
3943

4044
/**

0 commit comments

Comments
 (0)