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: com.google.apis google-api-services-compute - beta-rev20241021-2.0.0 + beta-rev20241105-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-compute:beta-rev20241021-2.0.0' + implementation 'com.google.apis:google-api-services-compute:beta-rev20241105-2.0.0' } ``` diff --git a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/Compute.java b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/Compute.java index dd82019a961..7d84b7ef750 100644 --- a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/Compute.java +++ b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/Compute.java @@ -60741,8 +60741,7 @@ public GetSerialPortOutput setPort(java.lang.Integer port) { * the adjusted start position is returned as the `start` property value. You can also provide * a negative start position, which translates to the most recent number of bytes written to * the serial port. For example, -3 is interpreted as the most recent 3 bytes written to the - * serial console. Note that the negative start is bounded by the retained buffer size, and - * the returned serial console output will not exceed the max buffer size. + * serial console. */ @com.google.api.client.util.Key private java.lang.Long start; @@ -60755,9 +60754,7 @@ amount of serial console output exceeds the size of the buffer (1 MB), the oldes the start position is adjusted to the oldest output still available, and the adjusted start position is returned as the `start` property value. You can also provide a negative start position, which translates to the most recent number of bytes written to the serial port. For example, -3 is - interpreted as the most recent 3 bytes written to the serial console. Note that the negative start - is bounded by the retained buffer size, and the returned serial console output will not exceed the - max buffer size. + interpreted as the most recent 3 bytes written to the serial console. */ public java.lang.Long getStart() { return start; @@ -60773,8 +60770,7 @@ public java.lang.Long getStart() { * the adjusted start position is returned as the `start` property value. You can also provide * a negative start position, which translates to the most recent number of bytes written to * the serial port. For example, -3 is interpreted as the most recent 3 bytes written to the - * serial console. Note that the negative start is bounded by the retained buffer size, and - * the returned serial console output will not exceed the max buffer size. + * serial console. */ public GetSerialPortOutput setStart(java.lang.Long start) { this.start = start; diff --git a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/BackendBucketCdnPolicy.java b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/BackendBucketCdnPolicy.java index 6646236696a..ec140fef5e3 100644 --- a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/BackendBucketCdnPolicy.java +++ b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/BackendBucketCdnPolicy.java @@ -55,8 +55,7 @@ public final class BackendBucketCdnPolicy extends com.google.api.client.json.Gen * private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static * content, including common image formats, media (video and audio), and web assets (JavaScript * and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content - * (including HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it - * defaults to CACHE_ALL_STATIC. + * (including HTML), will not be cached. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -217,8 +216,7 @@ public BackendBucketCdnPolicy setCacheKeyPolicy(BackendBucketCdnPolicyCacheKeyPo * private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static * content, including common image formats, media (video and audio), and web assets (JavaScript * and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content - * (including HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it - * defaults to CACHE_ALL_STATIC. + * (including HTML), will not be cached. * @return value or {@code null} for none */ public java.lang.String getCacheMode() { @@ -235,8 +233,7 @@ public java.lang.String getCacheMode() { * private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static * content, including common image formats, media (video and audio), and web assets (JavaScript * and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content - * (including HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it - * defaults to CACHE_ALL_STATIC. + * (including HTML), will not be cached. * @param cacheMode cacheMode or {@code null} for none */ public BackendBucketCdnPolicy setCacheMode(java.lang.String cacheMode) { diff --git a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/BackendServiceCdnPolicy.java b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/BackendServiceCdnPolicy.java index 31bca92fce8..32e10d7117f 100644 --- a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/BackendServiceCdnPolicy.java +++ b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/BackendServiceCdnPolicy.java @@ -55,8 +55,7 @@ public final class BackendServiceCdnPolicy extends com.google.api.client.json.Ge * private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static * content, including common image formats, media (video and audio), and web assets (JavaScript * and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content - * (including HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it - * defaults to CACHE_ALL_STATIC. + * (including HTML), will not be cached. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -217,8 +216,7 @@ public BackendServiceCdnPolicy setCacheKeyPolicy(CacheKeyPolicy cacheKeyPolicy) * private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static * content, including common image formats, media (video and audio), and web assets (JavaScript * and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content - * (including HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it - * defaults to CACHE_ALL_STATIC. + * (including HTML), will not be cached. * @return value or {@code null} for none */ public java.lang.String getCacheMode() { @@ -235,8 +233,7 @@ public java.lang.String getCacheMode() { * private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static * content, including common image formats, media (video and audio), and web assets (JavaScript * and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content - * (including HTML), will not be cached. If no value is provided for cdnPolicy.cacheMode, it - * defaults to CACHE_ALL_STATIC. + * (including HTML), will not be cached. * @param cacheMode cacheMode or {@code null} for none */ public BackendServiceCdnPolicy setCacheMode(java.lang.String cacheMode) { diff --git a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/NetworkProfile.java b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/NetworkProfile.java index 4cd9c161ef1..7a74307fe81 100644 --- a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/NetworkProfile.java +++ b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/NetworkProfile.java @@ -64,13 +64,6 @@ public final class NetworkProfile extends com.google.api.client.json.GenericJson @com.google.api.client.util.Key private java.lang.String kind; - /** - * [Output Only] Location to which the network is restricted. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private NetworkProfileLocation location; - /** * [Output Only] Name of the resource. * The value may be {@code null}. @@ -184,23 +177,6 @@ public NetworkProfile setKind(java.lang.String kind) { return this; } - /** - * [Output Only] Location to which the network is restricted. - * @return value or {@code null} for none - */ - public NetworkProfileLocation getLocation() { - return location; - } - - /** - * [Output Only] Location to which the network is restricted. - * @param location location or {@code null} for none - */ - public NetworkProfile setLocation(NetworkProfileLocation location) { - this.location = location; - return this; - } - /** * [Output Only] Name of the resource. * @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/NetworkProfileLocation.java b/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/NetworkProfileLocation.java deleted file mode 100644 index 8b56d5f79ce..00000000000 --- a/clients/google-api-services-compute/beta/2.0.0/com/google/api/services/compute/model/NetworkProfileLocation.java +++ /dev/null @@ -1,84 +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; - -/** - * Model definition for NetworkProfileLocation. - * - *

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 @@ com.google.apis google-api-services-compute - beta-rev20241021-2.0.0 - Compute Engine API beta-rev20241021-2.0.0 + beta-rev20241105-2.0.0 + Compute Engine API beta-rev20241105-2.0.0 jar 2011 diff --git a/clients/google-api-services-compute/beta/README.md b/clients/google-api-services-compute/beta/README.md index 8cd688aaaaa..d2ecf467cfa 100644 --- a/clients/google-api-services-compute/beta/README.md +++ b/clients/google-api-services-compute/beta/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-compute - beta-rev20241021-2.0.0 + beta-rev20241105-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-compute:beta-rev20241021-2.0.0' + implementation 'com.google.apis:google-api-services-compute:beta-rev20241105-2.0.0' } ```