From 4ed1e120722b4bb6aa9aead88ab3198f0f0a7e84 Mon Sep 17 00:00:00 2001
From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com>
Date: Mon, 11 Nov 2024 17:14:19 -0800
Subject: [PATCH] chore: regenerate compute client (#23849)
Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-java-client-services/actions/workflows/codegen.yaml
---
.../beta/2.0.0/README.md | 4 +-
.../google/api/services/compute/Compute.java | 10 +-
.../compute/model/BackendBucketCdnPolicy.java | 9 +-
.../model/BackendServiceCdnPolicy.java | 9 +-
.../compute/model/NetworkProfile.java | 24 ----
.../compute/model/NetworkProfileLocation.java | 84 ------------
.../compute/model/ResourceStatus.java | 24 ----
.../ResourceStatusPhysicalHostTopology.java | 126 ------------------
.../services/compute/model/Subnetwork.java | 6 +-
.../compute/model/UsableSubnetwork.java | 6 +-
.../beta/2.0.0/pom.xml | 4 +-
.../beta/README.md | 4 +-
12 files changed, 21 insertions(+), 289 deletions(-)
delete mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/NetworkProfileLocation.java
delete mode 100644 clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ResourceStatusPhysicalHostTopology.java
diff --git a/clients/google-api-services-compute/beta/2.0.0/README.md b/clients/google-api-services-compute/beta/2.0.0/README.md
index 8cd688aaaaa..d2ecf467cfa 100644
--- a/clients/google-api-services-compute/beta/2.0.0/README.md
+++ b/clients/google-api-services-compute/beta/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
This is the Java data model class that specifies how to parse/serialize into the JSON that is - * transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: - * https://developers.google.com/api-client-library/java/google-http-java-client/json - *
- * - * @author Google, Inc. - */ -@SuppressWarnings("javadoc") -public final class NetworkProfileLocation extends com.google.api.client.json.GenericJson { - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String name; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String scope; - - /** - * @return value or {@code null} for none - */ - public java.lang.String getName() { - return name; - } - - /** - * @param name name or {@code null} for none - */ - public NetworkProfileLocation setName(java.lang.String name) { - this.name = name; - return this; - } - - /** - * @return value or {@code null} for none - */ - public java.lang.String getScope() { - return scope; - } - - /** - * @param scope scope or {@code null} for none - */ - public NetworkProfileLocation setScope(java.lang.String scope) { - this.scope = scope; - return this; - } - - @Override - public NetworkProfileLocation set(String fieldName, Object value) { - return (NetworkProfileLocation) super.set(fieldName, value); - } - - @Override - public NetworkProfileLocation clone() { - return (NetworkProfileLocation) super.clone(); - } - -} diff --git a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ResourceStatus.java b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ResourceStatus.java index df39e52ab8c..0dd5250ca7a 100644 --- a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ResourceStatus.java +++ b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ResourceStatus.java @@ -37,13 +37,6 @@ public final class ResourceStatus extends com.google.api.client.json.GenericJson @com.google.api.client.util.Key private java.lang.String physicalHost; - /** - * [Output Only] The physical host topology of the host on which the VM is running. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private ResourceStatusPhysicalHostTopology physicalHostTopology; - /** * The value may be {@code null}. */ @@ -73,23 +66,6 @@ public ResourceStatus setPhysicalHost(java.lang.String physicalHost) { return this; } - /** - * [Output Only] The physical host topology of the host on which the VM is running. - * @return value or {@code null} for none - */ - public ResourceStatusPhysicalHostTopology getPhysicalHostTopology() { - return physicalHostTopology; - } - - /** - * [Output Only] The physical host topology of the host on which the VM is running. - * @param physicalHostTopology physicalHostTopology or {@code null} for none - */ - public ResourceStatus setPhysicalHostTopology(ResourceStatusPhysicalHostTopology physicalHostTopology) { - this.physicalHostTopology = physicalHostTopology; - return this; - } - /** * @return value or {@code null} for none */ diff --git a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ResourceStatusPhysicalHostTopology.java b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ResourceStatusPhysicalHostTopology.java deleted file mode 100644 index 1a097d91fe9..00000000000 --- a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/ResourceStatusPhysicalHostTopology.java +++ /dev/null @@ -1,126 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ -/* - * This code was generated by https://github.com/googleapis/google-api-java-client-services/ - * Modify at your own risk. - */ - -package com.google.api.services.compute.model; - -/** - * Represents the physical host topology of the host on which the VM is running. - * - *This is the Java data model class that specifies how to parse/serialize into the JSON that is - * transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: - * https://developers.google.com/api-client-library/java/google-http-java-client/json - *
- * - * @author Google, Inc. - */ -@SuppressWarnings("javadoc") -public final class ResourceStatusPhysicalHostTopology extends com.google.api.client.json.GenericJson { - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String block; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String cluster; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String host; - - /** - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String subblock; - - /** - * @return value or {@code null} for none - */ - public java.lang.String getBlock() { - return block; - } - - /** - * @param block block or {@code null} for none - */ - public ResourceStatusPhysicalHostTopology setBlock(java.lang.String block) { - this.block = block; - return this; - } - - /** - * @return value or {@code null} for none - */ - public java.lang.String getCluster() { - return cluster; - } - - /** - * @param cluster cluster or {@code null} for none - */ - public ResourceStatusPhysicalHostTopology setCluster(java.lang.String cluster) { - this.cluster = cluster; - return this; - } - - /** - * @return value or {@code null} for none - */ - public java.lang.String getHost() { - return host; - } - - /** - * @param host host or {@code null} for none - */ - public ResourceStatusPhysicalHostTopology setHost(java.lang.String host) { - this.host = host; - return this; - } - - /** - * @return value or {@code null} for none - */ - public java.lang.String getSubblock() { - return subblock; - } - - /** - * @param subblock subblock or {@code null} for none - */ - public ResourceStatusPhysicalHostTopology setSubblock(java.lang.String subblock) { - this.subblock = subblock; - return this; - } - - @Override - public ResourceStatusPhysicalHostTopology set(String fieldName, Object value) { - return (ResourceStatusPhysicalHostTopology) super.set(fieldName, value); - } - - @Override - public ResourceStatusPhysicalHostTopology clone() { - return (ResourceStatusPhysicalHostTopology) super.clone(); - } - -} diff --git a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/Subnetwork.java b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/Subnetwork.java index 16311cd0904..8a9bcd44cb0 100644 --- a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/Subnetwork.java +++ b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/Subnetwork.java @@ -192,7 +192,7 @@ public final class Subnetwork extends com.google.api.client.json.GenericJson { /** * The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, - * REGIONAL_MANAGED_PROXY, or PRIVATE_SERVICE_CONNECT. PRIVATE is the default purpose for user- + * REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user- * created subnets or subnets that are automatically created in auto mode networks. Subnets with * purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that * are reserved for Envoy-based load balancers. A subnet with purpose set to @@ -678,7 +678,7 @@ public Subnetwork setPrivateIpv6GoogleAccess(java.lang.String privateIpv6GoogleA /** * The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, - * REGIONAL_MANAGED_PROXY, or PRIVATE_SERVICE_CONNECT. PRIVATE is the default purpose for user- + * REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user- * created subnets or subnets that are automatically created in auto mode networks. Subnets with * purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that * are reserved for Envoy-based load balancers. A subnet with purpose set to @@ -693,7 +693,7 @@ public java.lang.String getPurpose() { /** * The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, - * REGIONAL_MANAGED_PROXY, or PRIVATE_SERVICE_CONNECT. PRIVATE is the default purpose for user- + * REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user- * created subnets or subnets that are automatically created in auto mode networks. Subnets with * purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that * are reserved for Envoy-based load balancers. A subnet with purpose set to diff --git a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/UsableSubnetwork.java b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/UsableSubnetwork.java index a4e6a8b968b..3782bc056f1 100644 --- a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/UsableSubnetwork.java +++ b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/UsableSubnetwork.java @@ -67,7 +67,7 @@ public final class UsableSubnetwork extends com.google.api.client.json.GenericJs /** * The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, - * REGIONAL_MANAGED_PROXY, or PRIVATE_SERVICE_CONNECT. PRIVATE is the default purpose for user- + * REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user- * created subnets or subnets that are automatically created in auto mode networks. Subnets with * purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that * are reserved for Envoy-based load balancers. A subnet with purpose set to @@ -203,7 +203,7 @@ public UsableSubnetwork setNetwork(java.lang.String network) { /** * The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, - * REGIONAL_MANAGED_PROXY, or PRIVATE_SERVICE_CONNECT. PRIVATE is the default purpose for user- + * REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user- * created subnets or subnets that are automatically created in auto mode networks. Subnets with * purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that * are reserved for Envoy-based load balancers. A subnet with purpose set to @@ -218,7 +218,7 @@ public java.lang.String getPurpose() { /** * The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, - * REGIONAL_MANAGED_PROXY, or PRIVATE_SERVICE_CONNECT. PRIVATE is the default purpose for user- + * REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or PRIVATE is the default purpose for user- * created subnets or subnets that are automatically created in auto mode networks. Subnets with * purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that * are reserved for Envoy-based load balancers. A subnet with purpose set to diff --git a/clients/google-api-services-compute/beta/2.0.0/pom.xml b/clients/google-api-services-compute/beta/2.0.0/pom.xml index c033a75b478..e7569018649 100644 --- a/clients/google-api-services-compute/beta/2.0.0/pom.xml +++ b/clients/google-api-services-compute/beta/2.0.0/pom.xml @@ -8,8 +8,8 @@