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-batch/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-batch</artifactId>
<version>v1-rev20260429-2.0.0</version>
<version>v1-rev20260723-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,40 +30,61 @@
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<java.lang.String> 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<java.lang.String> getAllowedLocations() {
return 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.
* @param allowedLocations allowedLocations or {@code null} for none
*/
public LocationPolicy setAllowedLocations(java.util.List<java.lang.String> allowedLocations) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-batch/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-batch</artifactId>
<version>v1-rev20260429-2.0.0</version>
<name>Batch API v1-rev20260429-2.0.0</name>
<version>v1-rev20260723-2.0.0</version>
<name>Batch API v1-rev20260723-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-batch/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-batch</artifactId>
<version>v1-rev20260429-2.0.0</version>
<version>v1-rev20260723-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -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'
}
```

Expand Down
Loading