diff --git a/clients/google-api-services-compute/v1/2.0.0/README.md b/clients/google-api-services-compute/v1/2.0.0/README.md index 44c813012e3..7b6be1fb530 100644 --- a/clients/google-api-services-compute/v1/2.0.0/README.md +++ b/clients/google-api-services-compute/v1/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 - v1-rev20260520-2.0.0 + v1-rev20260530-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-compute:v1-rev20260520-2.0.0' + implementation 'com.google.apis:google-api-services-compute:v1-rev20260530-2.0.0' } ``` diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerInstanceLifecyclePolicy.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerInstanceLifecyclePolicy.java index 81f1065c671..c85c076da7f 100644 --- a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerInstanceLifecyclePolicy.java +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerInstanceLifecyclePolicy.java @@ -65,6 +65,13 @@ public final class InstanceGroupManagerInstanceLifecyclePolicy extends com.googl @com.google.api.client.util.Key private java.lang.String onFailedHealthCheck; + /** + * Configuration for VM repairs in the MIG. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private InstanceGroupManagerInstanceLifecyclePolicyOnRepair onRepair; + /** * The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when * the application running on that VM fails a health check. Valid values are - REPAIR @@ -146,6 +153,23 @@ public InstanceGroupManagerInstanceLifecyclePolicy setOnFailedHealthCheck(java.l return this; } + /** + * Configuration for VM repairs in the MIG. + * @return value or {@code null} for none + */ + public InstanceGroupManagerInstanceLifecyclePolicyOnRepair getOnRepair() { + return onRepair; + } + + /** + * Configuration for VM repairs in the MIG. + * @param onRepair onRepair or {@code null} for none + */ + public InstanceGroupManagerInstanceLifecyclePolicy setOnRepair(InstanceGroupManagerInstanceLifecyclePolicyOnRepair onRepair) { + this.onRepair = onRepair; + return this; + } + @Override public InstanceGroupManagerInstanceLifecyclePolicy set(String fieldName, Object value) { return (InstanceGroupManagerInstanceLifecyclePolicy) super.set(fieldName, value); diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerInstanceLifecyclePolicyOnRepair.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerInstanceLifecyclePolicyOnRepair.java new file mode 100644 index 00000000000..1912fec4bb3 --- /dev/null +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/InstanceGroupManagerInstanceLifecyclePolicyOnRepair.java @@ -0,0 +1,72 @@ +/* + * 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; + +/** + * Configuration for VM repairs in the MIG. + * + *

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 InstanceGroupManagerInstanceLifecyclePolicyOnRepair extends com.google.api.client.json.GenericJson { + + /** + * Specifies whether the MIG can change a VM's zone during a repair. Valid values are: - NO + * (default): MIG cannot change a VM's zone during a repair. - YES: MIG can select a + * different zone for the VM during a repair. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String allowChangingZone; + + /** + * Specifies whether the MIG can change a VM's zone during a repair. Valid values are: - NO + * (default): MIG cannot change a VM's zone during a repair. - YES: MIG can select a + * different zone for the VM during a repair. + * @return value or {@code null} for none + */ + public java.lang.String getAllowChangingZone() { + return allowChangingZone; + } + + /** + * Specifies whether the MIG can change a VM's zone during a repair. Valid values are: - NO + * (default): MIG cannot change a VM's zone during a repair. - YES: MIG can select a + * different zone for the VM during a repair. + * @param allowChangingZone allowChangingZone or {@code null} for none + */ + public InstanceGroupManagerInstanceLifecyclePolicyOnRepair setAllowChangingZone(java.lang.String allowChangingZone) { + this.allowChangingZone = allowChangingZone; + return this; + } + + @Override + public InstanceGroupManagerInstanceLifecyclePolicyOnRepair set(String fieldName, Object value) { + return (InstanceGroupManagerInstanceLifecyclePolicyOnRepair) super.set(fieldName, value); + } + + @Override + public InstanceGroupManagerInstanceLifecyclePolicyOnRepair clone() { + return (InstanceGroupManagerInstanceLifecyclePolicyOnRepair) super.clone(); + } + +} diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/Interconnect.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/Interconnect.java index 62e37b49163..d87adf78d15 100644 --- a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/Interconnect.java +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/Interconnect.java @@ -99,6 +99,14 @@ public final class Interconnect extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String description; + /** + * Output only. URL of the InterconnectLocation object that represents where this connection is to + * be provisioned. By default it will be the same as the location field. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String effectiveLocation; + /** * Output only. [Output Only] A list of outages expected for this Interconnect. * The value may be {@code null}. @@ -508,6 +516,25 @@ public Interconnect setDescription(java.lang.String description) { return this; } + /** + * Output only. URL of the InterconnectLocation object that represents where this connection is to + * be provisioned. By default it will be the same as the location field. + * @return value or {@code null} for none + */ + public java.lang.String getEffectiveLocation() { + return effectiveLocation; + } + + /** + * Output only. URL of the InterconnectLocation object that represents where this connection is to + * be provisioned. By default it will be the same as the location field. + * @param effectiveLocation effectiveLocation or {@code null} for none + */ + public Interconnect setEffectiveLocation(java.lang.String effectiveLocation) { + this.effectiveLocation = effectiveLocation; + return this; + } + /** * Output only. [Output Only] A list of outages expected for this Interconnect. * @return value or {@code null} for none diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/NetworkInterface.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/NetworkInterface.java index 4c0ea95ecb0..564619af3a8 100644 --- a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/NetworkInterface.java +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/NetworkInterface.java @@ -58,6 +58,20 @@ public final class NetworkInterface extends com.google.api.client.json.GenericJs com.google.api.client.util.Data.nullOf(AliasIpRange.class); } + /** + * An array of alias IPv6 ranges for this network interface. You can only specify this field for + * network interfaces in VPC networks. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.util.List aliasIpv6Ranges; + + static { + // hack to force ProGuard to consider AliasIpRange used, since otherwise it would be stripped out + // see https://github.com/google/google-api-java-client/issues/543 + com.google.api.client.util.Data.nullOf(AliasIpRange.class); + } + /** * Optional. If true, DNS resolution will be enabled over this interface. Only valid with * network_attachment. @@ -276,6 +290,25 @@ public NetworkInterface setAliasIpRanges(java.util.List aliasIpRan return this; } + /** + * An array of alias IPv6 ranges for this network interface. You can only specify this field for + * network interfaces in VPC networks. + * @return value or {@code null} for none + */ + public java.util.List getAliasIpv6Ranges() { + return aliasIpv6Ranges; + } + + /** + * An array of alias IPv6 ranges for this network interface. You can only specify this field for + * network interfaces in VPC networks. + * @param aliasIpv6Ranges aliasIpv6Ranges or {@code null} for none + */ + public NetworkInterface setAliasIpv6Ranges(java.util.List aliasIpv6Ranges) { + this.aliasIpv6Ranges = aliasIpv6Ranges; + return this; + } + /** * Optional. If true, DNS resolution will be enabled over this interface. Only valid with * network_attachment. diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/Snapshot.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/Snapshot.java index 59fb873f8b6..aadca6047e1 100644 --- a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/Snapshot.java +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/Snapshot.java @@ -364,10 +364,11 @@ public final class Snapshot extends com.google.api.client.json.GenericJson { private java.lang.Long storageBytes; /** - * Output only. [Output Only] An indicator whether storageBytes is in a stable state or it is - * being adjusted as a result of shared storage reallocation. This status can either be UPDATING, - * meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the - * snapshot is up-to-date. + * Output only. [Deprecated] Instead, check the storageBytes field. After snapshot creation, the + * storageBytesStatus field is alwaysUP_TO_DATE. [Output Only] An indicator whether storageBytes + * is in a stable state or it is being adjusted as a result of shared storage reallocation. This + * status can either be unset, meaning the snapshot is being created, or UP_TO_DATE, meaning the + * size of the snapshot is up-to-date. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -1188,10 +1189,11 @@ public Snapshot setStorageBytes(java.lang.Long storageBytes) { } /** - * Output only. [Output Only] An indicator whether storageBytes is in a stable state or it is - * being adjusted as a result of shared storage reallocation. This status can either be UPDATING, - * meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the - * snapshot is up-to-date. + * Output only. [Deprecated] Instead, check the storageBytes field. After snapshot creation, the + * storageBytesStatus field is alwaysUP_TO_DATE. [Output Only] An indicator whether storageBytes + * is in a stable state or it is being adjusted as a result of shared storage reallocation. This + * status can either be unset, meaning the snapshot is being created, or UP_TO_DATE, meaning the + * size of the snapshot is up-to-date. * @return value or {@code null} for none */ public java.lang.String getStorageBytesStatus() { @@ -1199,10 +1201,11 @@ public java.lang.String getStorageBytesStatus() { } /** - * Output only. [Output Only] An indicator whether storageBytes is in a stable state or it is - * being adjusted as a result of shared storage reallocation. This status can either be UPDATING, - * meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the - * snapshot is up-to-date. + * Output only. [Deprecated] Instead, check the storageBytes field. After snapshot creation, the + * storageBytesStatus field is alwaysUP_TO_DATE. [Output Only] An indicator whether storageBytes + * is in a stable state or it is being adjusted as a result of shared storage reallocation. This + * status can either be unset, meaning the snapshot is being created, or UP_TO_DATE, meaning the + * size of the snapshot is up-to-date. * @param storageBytesStatus storageBytesStatus or {@code null} for none */ public Snapshot setStorageBytesStatus(java.lang.String storageBytesStatus) { diff --git a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/TargetTcpProxy.java b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/TargetTcpProxy.java index 101de85f7d2..86a88700008 100644 --- a/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/TargetTcpProxy.java +++ b/clients/google-api-services-compute/v1/2.0.0/com/google/api/services/compute/model/TargetTcpProxy.java @@ -62,6 +62,13 @@ public final class TargetTcpProxy extends com.google.api.client.json.GenericJson @com.google.api.client.util.Key private java.lang.String kind; + /** + * Specifies the type of load balancing scheme used by this target proxy. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String loadBalancingScheme; + /** * Name of the resource. Provided by the client when the resource is created. The name must be * 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters @@ -189,6 +196,23 @@ public TargetTcpProxy setKind(java.lang.String kind) { return this; } + /** + * Specifies the type of load balancing scheme used by this target proxy. + * @return value or {@code null} for none + */ + public java.lang.String getLoadBalancingScheme() { + return loadBalancingScheme; + } + + /** + * Specifies the type of load balancing scheme used by this target proxy. + * @param loadBalancingScheme loadBalancingScheme or {@code null} for none + */ + public TargetTcpProxy setLoadBalancingScheme(java.lang.String loadBalancingScheme) { + this.loadBalancingScheme = loadBalancingScheme; + return this; + } + /** * Name of the resource. Provided by the client when the resource is created. The name must be * 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters diff --git a/clients/google-api-services-compute/v1/2.0.0/pom.xml b/clients/google-api-services-compute/v1/2.0.0/pom.xml index aa871d5e49a..e88cdae4805 100644 --- a/clients/google-api-services-compute/v1/2.0.0/pom.xml +++ b/clients/google-api-services-compute/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-compute - v1-rev20260520-2.0.0 - Compute Engine API v1-rev20260520-2.0.0 + v1-rev20260530-2.0.0 + Compute Engine API v1-rev20260530-2.0.0 jar 2011 diff --git a/clients/google-api-services-compute/v1/README.md b/clients/google-api-services-compute/v1/README.md index 44c813012e3..7b6be1fb530 100644 --- a/clients/google-api-services-compute/v1/README.md +++ b/clients/google-api-services-compute/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-compute - v1-rev20260520-2.0.0 + v1-rev20260530-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-compute:v1-rev20260520-2.0.0' + implementation 'com.google.apis:google-api-services-compute:v1-rev20260530-2.0.0' } ```