Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clients/google-api-services-compute/v1/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-compute</artifactId>
<version>v1-rev20260520-2.0.0</version>
<version>v1-rev20260530-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
*
* <p> 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:
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
* </p>
*
* @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();
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -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}.
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<AliasIpRange> 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.
Expand Down Expand Up @@ -276,6 +290,25 @@ public NetworkInterface setAliasIpRanges(java.util.List<AliasIpRange> 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<AliasIpRange> 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<AliasIpRange> aliasIpv6Ranges) {
this.aliasIpv6Ranges = aliasIpv6Ranges;
return this;
}

/**
* Optional. If true, DNS resolution will be enabled over this interface. Only valid with
* network_attachment.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -1188,21 +1189,23 @@ 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() {
return storageBytesStatus;
}

/**
* 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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-compute/v1/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-compute</artifactId>
<version>v1-rev20260520-2.0.0</version>
<name>Compute Engine API v1-rev20260520-2.0.0</name>
<version>v1-rev20260530-2.0.0</version>
<name>Compute Engine API v1-rev20260530-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-compute/v1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-compute</artifactId>
<version>v1-rev20260520-2.0.0</version>
<version>v1-rev20260530-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down