From e776cc0ecb0177c34593a1b11c10a5c013c342e7 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sat, 1 Aug 2026 18:09:30 -0700 Subject: [PATCH] chore: regenerate batch client --- .../v1/2.0.0/README.md | 4 +- .../batch/v1/model/LocationPolicy.java | 63 ++++++++++++------- .../batch/v1/model/NetworkInterface.java | 24 +++++++ .../v1/2.0.0/pom.xml | 4 +- .../google-api-services-batch/v1/README.md | 4 +- 5 files changed, 72 insertions(+), 27 deletions(-) diff --git a/clients/google-api-services-batch/v1/2.0.0/README.md b/clients/google-api-services-batch/v1/2.0.0/README.md index c93f5d496b5..0c4996a5ae7 100644 --- a/clients/google-api-services-batch/v1/2.0.0/README.md +++ b/clients/google-api-services-batch/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-batch - v1-rev20260429-2.0.0 + v1-rev20260723-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-batch:v1-rev20260429-2.0.0' + implementation 'com.google.apis:google-api-services-batch:v1-rev20260723-2.0.0' } ``` diff --git a/clients/google-api-services-batch/v1/2.0.0/com/google/api/services/batch/v1/model/LocationPolicy.java b/clients/google-api-services-batch/v1/2.0.0/com/google/api/services/batch/v1/model/LocationPolicy.java index 9df1653c6a3..b1a1f72b62a 100644 --- a/clients/google-api-services-batch/v1/2.0.0/com/google/api/services/batch/v1/model/LocationPolicy.java +++ b/clients/google-api-services-batch/v1/2.0.0/com/google/api/services/batch/v1/model/LocationPolicy.java @@ -30,26 +30,40 @@ public final class LocationPolicy extends com.google.api.client.json.GenericJson { /** - * A list of allowed location names represented by internal URLs. Each location can be a region or - * a zone. Only one region or multiple zones in one region is supported now. For example, - * ["regions/us-central1"] allow VMs in any zones in region us-central1. ["zones/us-central1-a", - * "zones/us-central1-c"] only allow VMs in zones us-central1-a and us-central1-c. Mixing - * locations from different regions would cause errors. For example, ["regions/us-central1", - * "zones/us-central1-a", "zones/us-central1-b", "zones/us-west1-a"] contains locations from two - * distinct regions: us-central1 and us-west1. This combination will trigger an error. + * A list of location names that are allowed for the job's VMs formatted as URLs. Each location + * can be a region or a zone, but you can only specify one region or multiple zones in one region + * per job. For example, `["regions/us-central1"]` allow VMs in any zones in region `us-central1`, + * and `["zones/us-central1-a", "zones/us-central1-c"]` only allow VMs in zones `us-central1-a` + * and `us-central1-c`. However, `["regions/us-central1", "zones/us-central1-a", "zones/us- + * central1-b", "zones/us-west1-a"]` causes an error because it contains multiple regions (`us- + * central1` and `us-west1`). The specified region or zones must be in the same region in which + * the job is created starting on the following dates: + For projects that have successfully + * submitted before July 31, 2026 at least one job that uses the `allowedLocations[]` field with + * any region or zones outside of the job's location, the changes are starting on _June 30, 2027_. + * + For all other projects, the changes are starting on _July 31, 2026_. For example, for job + * `projects/123/locations/us-central1/jobs/jobid`, the specified region or zones must be in `us- + * central1`. Using a different region (e.g. `regions/us-west1`) or a zone not in `us-central1` + * (e.g. `zones/us-west1-a`) causes an error. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List allowedLocations; /** - * A list of allowed location names represented by internal URLs. Each location can be a region or - * a zone. Only one region or multiple zones in one region is supported now. For example, - * ["regions/us-central1"] allow VMs in any zones in region us-central1. ["zones/us-central1-a", - * "zones/us-central1-c"] only allow VMs in zones us-central1-a and us-central1-c. Mixing - * locations from different regions would cause errors. For example, ["regions/us-central1", - * "zones/us-central1-a", "zones/us-central1-b", "zones/us-west1-a"] contains locations from two - * distinct regions: us-central1 and us-west1. This combination will trigger an error. + * A list of location names that are allowed for the job's VMs formatted as URLs. Each location + * can be a region or a zone, but you can only specify one region or multiple zones in one region + * per job. For example, `["regions/us-central1"]` allow VMs in any zones in region `us-central1`, + * and `["zones/us-central1-a", "zones/us-central1-c"]` only allow VMs in zones `us-central1-a` + * and `us-central1-c`. However, `["regions/us-central1", "zones/us-central1-a", "zones/us- + * central1-b", "zones/us-west1-a"]` causes an error because it contains multiple regions (`us- + * central1` and `us-west1`). The specified region or zones must be in the same region in which + * the job is created starting on the following dates: + For projects that have successfully + * submitted before July 31, 2026 at least one job that uses the `allowedLocations[]` field with + * any region or zones outside of the job's location, the changes are starting on _June 30, 2027_. + * + For all other projects, the changes are starting on _July 31, 2026_. For example, for job + * `projects/123/locations/us-central1/jobs/jobid`, the specified region or zones must be in `us- + * central1`. Using a different region (e.g. `regions/us-west1`) or a zone not in `us-central1` + * (e.g. `zones/us-west1-a`) causes an error. * @return value or {@code null} for none */ public java.util.List getAllowedLocations() { @@ -57,13 +71,20 @@ public java.util.List getAllowedLocations() { } /** - * A list of allowed location names represented by internal URLs. Each location can be a region or - * a zone. Only one region or multiple zones in one region is supported now. For example, - * ["regions/us-central1"] allow VMs in any zones in region us-central1. ["zones/us-central1-a", - * "zones/us-central1-c"] only allow VMs in zones us-central1-a and us-central1-c. Mixing - * locations from different regions would cause errors. For example, ["regions/us-central1", - * "zones/us-central1-a", "zones/us-central1-b", "zones/us-west1-a"] contains locations from two - * distinct regions: us-central1 and us-west1. This combination will trigger an error. + * A list of location names that are allowed for the job's VMs formatted as URLs. Each location + * can be a region or a zone, but you can only specify one region or multiple zones in one region + * per job. For example, `["regions/us-central1"]` allow VMs in any zones in region `us-central1`, + * and `["zones/us-central1-a", "zones/us-central1-c"]` only allow VMs in zones `us-central1-a` + * and `us-central1-c`. However, `["regions/us-central1", "zones/us-central1-a", "zones/us- + * central1-b", "zones/us-west1-a"]` causes an error because it contains multiple regions (`us- + * central1` and `us-west1`). The specified region or zones must be in the same region in which + * the job is created starting on the following dates: + For projects that have successfully + * submitted before July 31, 2026 at least one job that uses the `allowedLocations[]` field with + * any region or zones outside of the job's location, the changes are starting on _June 30, 2027_. + * + For all other projects, the changes are starting on _July 31, 2026_. For example, for job + * `projects/123/locations/us-central1/jobs/jobid`, the specified region or zones must be in `us- + * central1`. Using a different region (e.g. `regions/us-west1`) or a zone not in `us-central1` + * (e.g. `zones/us-west1-a`) causes an error. * @param allowedLocations allowedLocations or {@code null} for none */ public LocationPolicy setAllowedLocations(java.util.List allowedLocations) { diff --git a/clients/google-api-services-batch/v1/2.0.0/com/google/api/services/batch/v1/model/NetworkInterface.java b/clients/google-api-services-batch/v1/2.0.0/com/google/api/services/batch/v1/model/NetworkInterface.java index 761bdd94f79..f611a7f3432 100644 --- a/clients/google-api-services-batch/v1/2.0.0/com/google/api/services/batch/v1/model/NetworkInterface.java +++ b/clients/google-api-services-batch/v1/2.0.0/com/google/api/services/batch/v1/model/NetworkInterface.java @@ -39,6 +39,13 @@ public final class NetworkInterface extends com.google.api.client.json.GenericJs @com.google.api.client.util.Key private java.lang.String network; + /** + * Optional. The NIC type of the network interface. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String nicType; + /** * Default is false (with an external IP address). Required if no external public IP address is * attached to the VM. If no external public IP address, additional configuration is required to @@ -84,6 +91,23 @@ public NetworkInterface setNetwork(java.lang.String network) { return this; } + /** + * Optional. The NIC type of the network interface. + * @return value or {@code null} for none + */ + public java.lang.String getNicType() { + return nicType; + } + + /** + * Optional. The NIC type of the network interface. + * @param nicType nicType or {@code null} for none + */ + public NetworkInterface setNicType(java.lang.String nicType) { + this.nicType = nicType; + return this; + } + /** * Default is false (with an external IP address). Required if no external public IP address is * attached to the VM. If no external public IP address, additional configuration is required to diff --git a/clients/google-api-services-batch/v1/2.0.0/pom.xml b/clients/google-api-services-batch/v1/2.0.0/pom.xml index 4d0f7ca4730..9b5d945264c 100644 --- a/clients/google-api-services-batch/v1/2.0.0/pom.xml +++ b/clients/google-api-services-batch/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-batch - v1-rev20260429-2.0.0 - Batch API v1-rev20260429-2.0.0 + v1-rev20260723-2.0.0 + Batch API v1-rev20260723-2.0.0 jar 2011 diff --git a/clients/google-api-services-batch/v1/README.md b/clients/google-api-services-batch/v1/README.md index c93f5d496b5..0c4996a5ae7 100644 --- a/clients/google-api-services-batch/v1/README.md +++ b/clients/google-api-services-batch/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-batch - v1-rev20260429-2.0.0 + v1-rev20260723-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-batch:v1-rev20260429-2.0.0' + implementation 'com.google.apis:google-api-services-batch:v1-rev20260723-2.0.0' } ```