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

Commit

Permalink
feat: added High Throughput Logging API for Google Kubernetes Engine (#…
Browse files Browse the repository at this point in the history
…780)

- [ ] 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: googleapis/googleapis-gen@992389d
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTkyMzg5ZDgwOWVkMzdmOGZkNGQ3ODcyMDkwNDg1NTFkOWU2MTE1NCJ9

feat: 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: googleapis/googleapis-gen@37e2343
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzdlMjM0MzdmMmU4Nzc4Yjc1ZDAzNGQyOTQwMWY3NWNjYTk3NDkzYyJ9

chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_java versions
PiperOrigin-RevId: 472750037

Source-Link: googleapis/googleapis@88f2ea3

Source-Link: googleapis/googleapis-gen@230a558
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjMwYTU1ODgzMDZhYWUxOGZlOGYyYTU3ZjE0ZDQwMzlhZDcyYzkwMSJ9
  • Loading branch information
gcf-owl-bot[bot] committed Sep 20, 2022
1 parent 983b7f9 commit 144a9ee
Show file tree
Hide file tree
Showing 202 changed files with 11,222 additions and 4,590 deletions.

Large diffs are not rendered by default.

Expand Up @@ -95,17 +95,17 @@
* <p>For example, to set the total timeout of listClusters to 30 seconds:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* ClusterManagerSettings.Builder clusterManagerSettingsBuilder =
* ClusterManagerSettings.newBuilder();
* clusterManagerSettingsBuilder
* .listClustersSettings()
* .setRetrySettings(
* clusterManagerSettingsBuilder
* .listClustersSettings()
* .getRetrySettings()
* .toBuilder()
* clusterManagerSettingsBuilder.listClustersSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* ClusterManagerSettings clusterManagerSettings = clusterManagerSettingsBuilder.build();
Expand Down
Expand Up @@ -26,8 +26,11 @@
* <p>Sample for ClusterManagerClient:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
* String parent = "parent-995424086";
* ListClustersResponse response = clusterManagerClient.listClusters(parent);
Expand Down
Expand Up @@ -111,17 +111,17 @@
* <p>For example, to set the total timeout of listClusters to 30 seconds:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* ClusterManagerStubSettings.Builder clusterManagerSettingsBuilder =
* ClusterManagerStubSettings.newBuilder();
* clusterManagerSettingsBuilder
* .listClustersSettings()
* .setRetrySettings(
* clusterManagerSettingsBuilder
* .listClustersSettings()
* .getRetrySettings()
* .toBuilder()
* clusterManagerSettingsBuilder.listClustersSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* ClusterManagerStubSettings clusterManagerSettings = clusterManagerSettingsBuilder.build();
Expand Down

Large diffs are not rendered by default.

Expand Up @@ -97,17 +97,17 @@
* <p>For example, to set the total timeout of listClusters to 30 seconds:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* ClusterManagerSettings.Builder clusterManagerSettingsBuilder =
* ClusterManagerSettings.newBuilder();
* clusterManagerSettingsBuilder
* .listClustersSettings()
* .setRetrySettings(
* clusterManagerSettingsBuilder
* .listClustersSettings()
* .getRetrySettings()
* .toBuilder()
* clusterManagerSettingsBuilder.listClustersSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* ClusterManagerSettings clusterManagerSettings = clusterManagerSettingsBuilder.build();
Expand Down
Expand Up @@ -26,8 +26,11 @@
* <p>Sample for ClusterManagerClient:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (ClusterManagerClient clusterManagerClient = ClusterManagerClient.create()) {
* String projectId = "projectId-894832108";
* String zone = "zone3744684";
Expand Down
Expand Up @@ -113,17 +113,17 @@
* <p>For example, to set the total timeout of listClusters to 30 seconds:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* ClusterManagerStubSettings.Builder clusterManagerSettingsBuilder =
* ClusterManagerStubSettings.newBuilder();
* clusterManagerSettingsBuilder
* .listClustersSettings()
* .setRetrySettings(
* clusterManagerSettingsBuilder
* .listClustersSettings()
* .getRetrySettings()
* .toBuilder()
* clusterManagerSettingsBuilder.listClustersSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* ClusterManagerStubSettings clusterManagerSettings = clusterManagerSettingsBuilder.build();
Expand Down
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
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
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
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
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

0 comments on commit 144a9ee

Please sign in to comment.