Skip to content

Commit 52babee

Browse files
1 parent 79f1496 commit 52babee

File tree

4 files changed

+36
-6
lines changed

4 files changed

+36
-6
lines changed

clients/google-api-services-tpu/v2alpha1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-tpu</artifactId>
25-
<version>v2alpha1-rev20240530-2.0.0</version>
25+
<version>v2alpha1-rev20240916-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-tpu:v2alpha1-rev20240530-2.0.0'
38+
implementation 'com.google.apis:google-api-services-tpu:v2alpha1-rev20240916-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-tpu/v2alpha1/2.0.0/com/google/api/services/tpu/v2alpha1/model/Node.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,19 @@ public final class Node extends com.google.api.client.json.GenericJson {
160160
@com.google.api.client.util.Key
161161
private NetworkConfig networkConfig;
162162

163+
/**
164+
* Optional. Repeated network configurations for the TPU node.
165+
* The value may be {@code null}.
166+
*/
167+
@com.google.api.client.util.Key
168+
private java.util.List<NetworkConfig> networkConfigs;
169+
170+
static {
171+
// hack to force ProGuard to consider NetworkConfig used, since otherwise it would be stripped out
172+
// see https://github.com/google/google-api-java-client/issues/543
173+
com.google.api.client.util.Data.nullOf(NetworkConfig.class);
174+
}
175+
163176
/**
164177
* Output only. The network endpoints where TPU workers can be accessed and sent work. It is
165178
* recommended that runtime clients of the node reach out to the 0th entry in this map first.
@@ -533,6 +546,23 @@ public Node setNetworkConfig(NetworkConfig networkConfig) {
533546
return this;
534547
}
535548

549+
/**
550+
* Optional. Repeated network configurations for the TPU node.
551+
* @return value or {@code null} for none
552+
*/
553+
public java.util.List<NetworkConfig> getNetworkConfigs() {
554+
return networkConfigs;
555+
}
556+
557+
/**
558+
* Optional. Repeated network configurations for the TPU node.
559+
* @param networkConfigs networkConfigs or {@code null} for none
560+
*/
561+
public Node setNetworkConfigs(java.util.List<NetworkConfig> networkConfigs) {
562+
this.networkConfigs = networkConfigs;
563+
return this;
564+
}
565+
536566
/**
537567
* Output only. The network endpoints where TPU workers can be accessed and sent work. It is
538568
* recommended that runtime clients of the node reach out to the 0th entry in this map first.

clients/google-api-services-tpu/v2alpha1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-tpu</artifactId>
11-
<version>v2alpha1-rev20240530-2.0.0</version>
12-
<name>Cloud TPU API v2alpha1-rev20240530-2.0.0</name>
11+
<version>v2alpha1-rev20240916-2.0.0</version>
12+
<name>Cloud TPU API v2alpha1-rev20240916-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-tpu/v2alpha1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-tpu</artifactId>
25-
<version>v2alpha1-rev20240530-2.0.0</version>
25+
<version>v2alpha1-rev20240916-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-tpu:v2alpha1-rev20240530-2.0.0'
38+
implementation 'com.google.apis:google-api-services-tpu:v2alpha1-rev20240916-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)