Skip to content

Commit

Permalink
feat: [container] added High Throughput Logging API for Google Kubern…
Browse files Browse the repository at this point in the history
…etes Engine (#8413)

- [x] Regenerate this pull request now.

docs: ReservationAffinity key field docs incorrect
docs: missing period in description for min CPU platform

PiperOrigin-RevId: 474706444

Source-Link: googleapis/googleapis@a5a8829

Source-Link: https://github.com/googleapis/googleapis-gen/commit/992389d809ed37f8fd4d787209048551d9e61154
Copy-Tag: eyJwIjoiamF2YS1jb250YWluZXIvLk93bEJvdC55YW1sIiwiaCI6Ijk5MjM4OWQ4MDllZDM3ZjhmZDRkNzg3MjA5MDQ4NTUxZDllNjExNTQifQ==

feat: [container] added High Throughput Logging API for Google Kubernetes Engine
docs: ReservationAffinity key field docs incorrect
docs: missing period in description for min CPU platform

PiperOrigin-RevId: 474671838

Source-Link: googleapis/googleapis@9212f73

Source-Link: https://github.com/googleapis/googleapis-gen/commit/37e23437f2e8778b75d034d29401f75cca97493c
Copy-Tag: eyJwIjoiamF2YS1jb250YWluZXIvLk93bEJvdC55YW1sIiwiaCI6IjM3ZTIzNDM3ZjJlODc3OGI3NWQwMzRkMjk0MDFmNzVjY2E5NzQ5M2MifQ==
  • Loading branch information
gcf-owl-bot[bot] authored Sep 20, 2022
1 parent 739b86e commit 36fb66a
Show file tree
Hide file tree
Showing 196 changed files with 10,103 additions and 4,128 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -803,6 +803,7 @@ public final UnaryCallable<UpdateClusterRequest, Operation> updateClusterCallabl
* .setGcfsConfig(GcfsConfig.newBuilder().build())
* .setConfidentialNodes(ConfidentialNodes.newBuilder().build())
* .setGvnic(VirtualNIC.newBuilder().build())
* .setLoggingConfig(NodePoolLoggingConfig.newBuilder().build())
* .build();
* Operation response = clusterManagerClient.updateNodePool(request);
* }
Expand Down Expand Up @@ -849,6 +850,7 @@ public final Operation updateNodePool(UpdateNodePoolRequest request) {
* .setGcfsConfig(GcfsConfig.newBuilder().build())
* .setConfidentialNodes(ConfidentialNodes.newBuilder().build())
* .setGvnic(VirtualNIC.newBuilder().build())
* .setLoggingConfig(NodePoolLoggingConfig.newBuilder().build())
* .build();
* ApiFuture<Operation> future =
* clusterManagerClient.updateNodePoolCallable().futureCall(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,7 @@ public final UnaryCallable<UpdateClusterRequest, Operation> updateClusterCallabl
* .setGcfsConfig(GcfsConfig.newBuilder().build())
* .setConfidentialNodes(ConfidentialNodes.newBuilder().build())
* .setGvnic(VirtualNIC.newBuilder().build())
* .setLoggingConfig(NodePoolLoggingConfig.newBuilder().build())
* .build();
* Operation response = clusterManagerClient.updateNodePool(request);
* }
Expand Down Expand Up @@ -729,6 +730,7 @@ public final Operation updateNodePool(UpdateNodePoolRequest request) {
* .setGcfsConfig(GcfsConfig.newBuilder().build())
* .setConfidentialNodes(ConfidentialNodes.newBuilder().build())
* .setGvnic(VirtualNIC.newBuilder().build())
* .setLoggingConfig(NodePoolLoggingConfig.newBuilder().build())
* .build();
* ApiFuture<Operation> future =
* clusterManagerClient.updateNodePoolCallable().futureCall(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
import com.google.container.v1.NodePoolAutoConfig;
import com.google.container.v1.NodePoolAutoscaling;
import com.google.container.v1.NodePoolDefaults;
import com.google.container.v1.NodePoolLoggingConfig;
import com.google.container.v1.NodeTaints;
import com.google.container.v1.NotificationConfig;
import com.google.container.v1.Operation;
Expand Down Expand Up @@ -712,6 +713,7 @@ public void updateNodePoolTest() throws Exception {
.setGcfsConfig(GcfsConfig.newBuilder().build())
.setConfidentialNodes(ConfidentialNodes.newBuilder().build())
.setGvnic(VirtualNIC.newBuilder().build())
.setLoggingConfig(NodePoolLoggingConfig.newBuilder().build())
.build();

Operation actualResponse = client.updateNodePool(request);
Expand Down Expand Up @@ -741,6 +743,7 @@ public void updateNodePoolTest() throws Exception {
Assert.assertEquals(request.getGcfsConfig(), actualRequest.getGcfsConfig());
Assert.assertEquals(request.getConfidentialNodes(), actualRequest.getConfidentialNodes());
Assert.assertEquals(request.getGvnic(), actualRequest.getGvnic());
Assert.assertEquals(request.getLoggingConfig(), actualRequest.getLoggingConfig());
Assert.assertTrue(
channelProvider.isHeaderSent(
ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
Expand Down Expand Up @@ -774,6 +777,7 @@ public void updateNodePoolExceptionTest() throws Exception {
.setGcfsConfig(GcfsConfig.newBuilder().build())
.setConfidentialNodes(ConfidentialNodes.newBuilder().build())
.setGvnic(VirtualNIC.newBuilder().build())
.setLoggingConfig(NodePoolLoggingConfig.newBuilder().build())
.build();
client.updateNodePool(request);
Assert.fail("No exception raised");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
import com.google.container.v1beta1.NodePoolAutoConfig;
import com.google.container.v1beta1.NodePoolAutoscaling;
import com.google.container.v1beta1.NodePoolDefaults;
import com.google.container.v1beta1.NodePoolLoggingConfig;
import com.google.container.v1beta1.NodeTaints;
import com.google.container.v1beta1.NotificationConfig;
import com.google.container.v1beta1.Operation;
Expand Down Expand Up @@ -493,6 +494,7 @@ public void updateNodePoolTest() throws Exception {
.setGcfsConfig(GcfsConfig.newBuilder().build())
.setConfidentialNodes(ConfidentialNodes.newBuilder().build())
.setGvnic(VirtualNIC.newBuilder().build())
.setLoggingConfig(NodePoolLoggingConfig.newBuilder().build())
.build();

Operation actualResponse = client.updateNodePool(request);
Expand Down Expand Up @@ -522,6 +524,7 @@ public void updateNodePoolTest() throws Exception {
Assert.assertEquals(request.getGcfsConfig(), actualRequest.getGcfsConfig());
Assert.assertEquals(request.getConfidentialNodes(), actualRequest.getConfidentialNodes());
Assert.assertEquals(request.getGvnic(), actualRequest.getGvnic());
Assert.assertEquals(request.getLoggingConfig(), actualRequest.getLoggingConfig());
Assert.assertTrue(
channelProvider.isHeaderSent(
ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
Expand Down Expand Up @@ -555,6 +558,7 @@ public void updateNodePoolExceptionTest() throws Exception {
.setGcfsConfig(GcfsConfig.newBuilder().build())
.setConfidentialNodes(ConfidentialNodes.newBuilder().build())
.setGvnic(VirtualNIC.newBuilder().build())
.setLoggingConfig(NodePoolLoggingConfig.newBuilder().build())
.build();
client.updateNodePool(request);
Assert.fail("No exception raised");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ public com.google.container.v1.HorizontalPodAutoscaling getHorizontalPodAutoscal
* </code>
*
* @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See
* google/container/v1/cluster_service.proto;l=1005
* google/container/v1/cluster_service.proto;l=1009
* @return Whether the kubernetesDashboard field is set.
*/
@java.lang.Override
Expand All @@ -397,7 +397,7 @@ public boolean hasKubernetesDashboard() {
* </code>
*
* @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See
* google/container/v1/cluster_service.proto;l=1005
* google/container/v1/cluster_service.proto;l=1009
* @return The kubernetesDashboard.
*/
@java.lang.Override
Expand Down Expand Up @@ -1725,7 +1725,7 @@ public Builder clearHorizontalPodAutoscaling() {
* </code>
*
* @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See
* google/container/v1/cluster_service.proto;l=1005
* google/container/v1/cluster_service.proto;l=1009
* @return Whether the kubernetesDashboard field is set.
*/
@java.lang.Deprecated
Expand All @@ -1747,7 +1747,7 @@ public boolean hasKubernetesDashboard() {
* </code>
*
* @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See
* google/container/v1/cluster_service.proto;l=1005
* google/container/v1/cluster_service.proto;l=1009
* @return The kubernetesDashboard.
*/
@java.lang.Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public interface AddonsConfigOrBuilder
* </code>
*
* @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See
* google/container/v1/cluster_service.proto;l=1005
* google/container/v1/cluster_service.proto;l=1009
* @return Whether the kubernetesDashboard field is set.
*/
@java.lang.Deprecated
Expand All @@ -137,7 +137,7 @@ public interface AddonsConfigOrBuilder
* </code>
*
* @deprecated google.container.v1.AddonsConfig.kubernetes_dashboard is deprecated. See
* google/container/v1/cluster_service.proto;l=1005
* google/container/v1/cluster_service.proto;l=1009
* @return The kubernetesDashboard.
*/
@java.lang.Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder()
* minCpuPlatform: Intel Haswell or
* minCpuPlatform: Intel Sandy Bridge. For more
* information, read [how to specify min CPU
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
* This field is deprecated, min_cpu_platform should be specified using
* https://cloud.google.com/requested-min-cpu-platform label selector on the
* pod.
Expand All @@ -444,7 +444,7 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder()
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1/cluster_service.proto;l=3313
* deprecated. See google/container/v1/cluster_service.proto;l=3326
* @return The minCpuPlatform.
*/
@java.lang.Override
Expand All @@ -470,7 +470,7 @@ public java.lang.String getMinCpuPlatform() {
* minCpuPlatform: Intel Haswell or
* minCpuPlatform: Intel Sandy Bridge. For more
* information, read [how to specify min CPU
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
* This field is deprecated, min_cpu_platform should be specified using
* https://cloud.google.com/requested-min-cpu-platform label selector on the
* pod.
Expand All @@ -481,7 +481,7 @@ public java.lang.String getMinCpuPlatform() {
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1/cluster_service.proto;l=3313
* deprecated. See google/container/v1/cluster_service.proto;l=3326
* @return The bytes for minCpuPlatform.
*/
@java.lang.Override
Expand Down Expand Up @@ -1904,7 +1904,7 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder()
* minCpuPlatform: Intel Haswell or
* minCpuPlatform: Intel Sandy Bridge. For more
* information, read [how to specify min CPU
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
* This field is deprecated, min_cpu_platform should be specified using
* https://cloud.google.com/requested-min-cpu-platform label selector on the
* pod.
Expand All @@ -1915,7 +1915,7 @@ public com.google.container.v1.NodeManagementOrBuilder getManagementOrBuilder()
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1/cluster_service.proto;l=3313
* deprecated. See google/container/v1/cluster_service.proto;l=3326
* @return The minCpuPlatform.
*/
@java.lang.Deprecated
Expand All @@ -1940,7 +1940,7 @@ public java.lang.String getMinCpuPlatform() {
* minCpuPlatform: Intel Haswell or
* minCpuPlatform: Intel Sandy Bridge. For more
* information, read [how to specify min CPU
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
* This field is deprecated, min_cpu_platform should be specified using
* https://cloud.google.com/requested-min-cpu-platform label selector on the
* pod.
Expand All @@ -1951,7 +1951,7 @@ public java.lang.String getMinCpuPlatform() {
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1/cluster_service.proto;l=3313
* deprecated. See google/container/v1/cluster_service.proto;l=3326
* @return The bytes for minCpuPlatform.
*/
@java.lang.Deprecated
Expand All @@ -1976,7 +1976,7 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() {
* minCpuPlatform: Intel Haswell or
* minCpuPlatform: Intel Sandy Bridge. For more
* information, read [how to specify min CPU
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
* This field is deprecated, min_cpu_platform should be specified using
* https://cloud.google.com/requested-min-cpu-platform label selector on the
* pod.
Expand All @@ -1987,7 +1987,7 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() {
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1/cluster_service.proto;l=3313
* deprecated. See google/container/v1/cluster_service.proto;l=3326
* @param value The minCpuPlatform to set.
* @return This builder for chaining.
*/
Expand All @@ -2011,7 +2011,7 @@ public Builder setMinCpuPlatform(java.lang.String value) {
* minCpuPlatform: Intel Haswell or
* minCpuPlatform: Intel Sandy Bridge. For more
* information, read [how to specify min CPU
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
* This field is deprecated, min_cpu_platform should be specified using
* https://cloud.google.com/requested-min-cpu-platform label selector on the
* pod.
Expand All @@ -2022,7 +2022,7 @@ public Builder setMinCpuPlatform(java.lang.String value) {
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1/cluster_service.proto;l=3313
* deprecated. See google/container/v1/cluster_service.proto;l=3326
* @return This builder for chaining.
*/
@java.lang.Deprecated
Expand All @@ -2042,7 +2042,7 @@ public Builder clearMinCpuPlatform() {
* minCpuPlatform: Intel Haswell or
* minCpuPlatform: Intel Sandy Bridge. For more
* information, read [how to specify min CPU
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
* This field is deprecated, min_cpu_platform should be specified using
* https://cloud.google.com/requested-min-cpu-platform label selector on the
* pod.
Expand All @@ -2053,7 +2053,7 @@ public Builder clearMinCpuPlatform() {
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1/cluster_service.proto;l=3313
* deprecated. See google/container/v1/cluster_service.proto;l=3326
* @param value The bytes for minCpuPlatform to set.
* @return This builder for chaining.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder
* minCpuPlatform: Intel Haswell or
* minCpuPlatform: Intel Sandy Bridge. For more
* information, read [how to specify min CPU
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
* This field is deprecated, min_cpu_platform should be specified using
* https://cloud.google.com/requested-min-cpu-platform label selector on the
* pod.
Expand All @@ -190,7 +190,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1/cluster_service.proto;l=3313
* deprecated. See google/container/v1/cluster_service.proto;l=3326
* @return The minCpuPlatform.
*/
@java.lang.Deprecated
Expand All @@ -205,7 +205,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder
* minCpuPlatform: Intel Haswell or
* minCpuPlatform: Intel Sandy Bridge. For more
* information, read [how to specify min CPU
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
* platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform).
* This field is deprecated, min_cpu_platform should be specified using
* https://cloud.google.com/requested-min-cpu-platform label selector on the
* pod.
Expand All @@ -216,7 +216,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1/cluster_service.proto;l=3313
* deprecated. See google/container/v1/cluster_service.proto;l=3326
* @return The bytes for minCpuPlatform.
*/
@java.lang.Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ private EvaluationMode(int value) {
* <code>bool enabled = 1 [deprecated = true];</code>
*
* @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See
* google/container/v1/cluster_service.proto;l=1224
* google/container/v1/cluster_service.proto;l=1228
* @return The enabled.
*/
@java.lang.Override
Expand Down Expand Up @@ -691,7 +691,7 @@ public Builder mergeFrom(
* <code>bool enabled = 1 [deprecated = true];</code>
*
* @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See
* google/container/v1/cluster_service.proto;l=1224
* google/container/v1/cluster_service.proto;l=1228
* @return The enabled.
*/
@java.lang.Override
Expand All @@ -711,7 +711,7 @@ public boolean getEnabled() {
* <code>bool enabled = 1 [deprecated = true];</code>
*
* @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See
* google/container/v1/cluster_service.proto;l=1224
* google/container/v1/cluster_service.proto;l=1228
* @param value The enabled to set.
* @return This builder for chaining.
*/
Expand All @@ -734,7 +734,7 @@ public Builder setEnabled(boolean value) {
* <code>bool enabled = 1 [deprecated = true];</code>
*
* @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See
* google/container/v1/cluster_service.proto;l=1224
* google/container/v1/cluster_service.proto;l=1228
* @return This builder for chaining.
*/
@java.lang.Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public interface BinaryAuthorizationOrBuilder
* <code>bool enabled = 1 [deprecated = true];</code>
*
* @deprecated google.container.v1.BinaryAuthorization.enabled is deprecated. See
* google/container/v1/cluster_service.proto;l=1224
* google/container/v1/cluster_service.proto;l=1228
* @return The enabled.
*/
@java.lang.Deprecated
Expand Down
Loading

0 comments on commit 36fb66a

Please sign in to comment.