Skip to content

Commit e310d6c

Browse files
1 parent bf75307 commit e310d6c

5 files changed

Lines changed: 78 additions & 18 deletions

File tree

clients/google-api-services-spanner/v1/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-spanner</artifactId>
25-
<version>v1-rev20260501-2.0.0</version>
25+
<version>v1-rev20260622-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-spanner:v1-rev20260501-2.0.0'
38+
implementation 'com.google.apis:google-api-services-spanner:v1-rev20260622-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-spanner/v1/2.0.0/com/google/api/services/spanner/v1/model/CommitResponse.java

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ public final class CommitResponse extends com.google.api.client.json.GenericJson
4444
@com.google.api.client.util.Key
4545
private String commitTimestamp;
4646

47+
/**
48+
* The isolation level used for the read-write transaction.
49+
* The value may be {@code null}.
50+
*/
51+
@com.google.api.client.util.Key
52+
private java.lang.String isolationLevel;
53+
4754
/**
4855
* If specified, transaction has not committed yet. You must retry the commit with the new
4956
* precommit token.
@@ -52,6 +59,13 @@ public final class CommitResponse extends com.google.api.client.json.GenericJson
5259
@com.google.api.client.util.Key
5360
private MultiplexedSessionPrecommitToken precommitToken;
5461

62+
/**
63+
* The read lock mode used for the read-write transaction.
64+
* The value may be {@code null}.
65+
*/
66+
@com.google.api.client.util.Key
67+
private java.lang.String readLockMode;
68+
5569
/**
5670
* If `TransactionOptions.isolation_level` is set to `IsolationLevel.REPEATABLE_READ`, then the
5771
* snapshot timestamp is the timestamp at which all reads in the transaction ran. This timestamp
@@ -97,6 +111,23 @@ public CommitResponse setCommitTimestamp(String commitTimestamp) {
97111
return this;
98112
}
99113

114+
/**
115+
* The isolation level used for the read-write transaction.
116+
* @return value or {@code null} for none
117+
*/
118+
public java.lang.String getIsolationLevel() {
119+
return isolationLevel;
120+
}
121+
122+
/**
123+
* The isolation level used for the read-write transaction.
124+
* @param isolationLevel isolationLevel or {@code null} for none
125+
*/
126+
public CommitResponse setIsolationLevel(java.lang.String isolationLevel) {
127+
this.isolationLevel = isolationLevel;
128+
return this;
129+
}
130+
100131
/**
101132
* If specified, transaction has not committed yet. You must retry the commit with the new
102133
* precommit token.
@@ -116,6 +147,23 @@ public CommitResponse setPrecommitToken(MultiplexedSessionPrecommitToken precomm
116147
return this;
117148
}
118149

150+
/**
151+
* The read lock mode used for the read-write transaction.
152+
* @return value or {@code null} for none
153+
*/
154+
public java.lang.String getReadLockMode() {
155+
return readLockMode;
156+
}
157+
158+
/**
159+
* The read lock mode used for the read-write transaction.
160+
* @param readLockMode readLockMode or {@code null} for none
161+
*/
162+
public CommitResponse setReadLockMode(java.lang.String readLockMode) {
163+
this.readLockMode = readLockMode;
164+
return this;
165+
}
166+
119167
/**
120168
* If `TransactionOptions.isolation_level` is set to `IsolationLevel.REPEATABLE_READ`, then the
121169
* snapshot timestamp is the timestamp at which all reads in the transaction ran. This timestamp

clients/google-api-services-spanner/v1/2.0.0/com/google/api/services/spanner/v1/model/InstancePartition.java

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,10 @@ public final class InstancePartition extends com.google.api.client.json.GenericJ
8787

8888
/**
8989
* The number of nodes allocated to this instance partition. Users can set the `node_count` field
90-
* to specify the target number of nodes allocated to the instance partition. This may be zero in
91-
* API responses for instance partitions that are not yet in state `READY`.
90+
* to specify the target number of nodes allocated to the instance partition. If autoscaling is
91+
* enabled, node_count is treated as an OUTPUT_ONLY field and reflects the current number of nodes
92+
* allocated to the instance partition. This may be zero in API responses for instance partitions
93+
* that are not yet in state `READY`.
9294
* The value may be {@code null}.
9395
*/
9496
@com.google.api.client.util.Key
@@ -97,8 +99,10 @@ public final class InstancePartition extends com.google.api.client.json.GenericJ
9799
/**
98100
* The number of processing units allocated to this instance partition. Users can set the
99101
* `processing_units` field to specify the target number of processing units allocated to the
100-
* instance partition. This might be zero in API responses for instance partitions that are not
101-
* yet in the `READY` state.
102+
* instance partition. If autoscaling is enabled, processing_units is treated as an OUTPUT_ONLY
103+
* field and reflects the current number of processing units allocated to the instance partition.
104+
* This might be zero in API responses for instance partitions that are not yet in the `READY`
105+
* state.
102106
* The value may be {@code null}.
103107
*/
104108
@com.google.api.client.util.Key
@@ -268,8 +272,10 @@ public InstancePartition setName(java.lang.String name) {
268272

269273
/**
270274
* The number of nodes allocated to this instance partition. Users can set the `node_count` field
271-
* to specify the target number of nodes allocated to the instance partition. This may be zero in
272-
* API responses for instance partitions that are not yet in state `READY`.
275+
* to specify the target number of nodes allocated to the instance partition. If autoscaling is
276+
* enabled, node_count is treated as an OUTPUT_ONLY field and reflects the current number of nodes
277+
* allocated to the instance partition. This may be zero in API responses for instance partitions
278+
* that are not yet in state `READY`.
273279
* @return value or {@code null} for none
274280
*/
275281
public java.lang.Integer getNodeCount() {
@@ -278,8 +284,10 @@ public java.lang.Integer getNodeCount() {
278284

279285
/**
280286
* The number of nodes allocated to this instance partition. Users can set the `node_count` field
281-
* to specify the target number of nodes allocated to the instance partition. This may be zero in
282-
* API responses for instance partitions that are not yet in state `READY`.
287+
* to specify the target number of nodes allocated to the instance partition. If autoscaling is
288+
* enabled, node_count is treated as an OUTPUT_ONLY field and reflects the current number of nodes
289+
* allocated to the instance partition. This may be zero in API responses for instance partitions
290+
* that are not yet in state `READY`.
283291
* @param nodeCount nodeCount or {@code null} for none
284292
*/
285293
public InstancePartition setNodeCount(java.lang.Integer nodeCount) {
@@ -290,8 +298,10 @@ public InstancePartition setNodeCount(java.lang.Integer nodeCount) {
290298
/**
291299
* The number of processing units allocated to this instance partition. Users can set the
292300
* `processing_units` field to specify the target number of processing units allocated to the
293-
* instance partition. This might be zero in API responses for instance partitions that are not
294-
* yet in the `READY` state.
301+
* instance partition. If autoscaling is enabled, processing_units is treated as an OUTPUT_ONLY
302+
* field and reflects the current number of processing units allocated to the instance partition.
303+
* This might be zero in API responses for instance partitions that are not yet in the `READY`
304+
* state.
295305
* @return value or {@code null} for none
296306
*/
297307
public java.lang.Integer getProcessingUnits() {
@@ -301,8 +311,10 @@ public java.lang.Integer getProcessingUnits() {
301311
/**
302312
* The number of processing units allocated to this instance partition. Users can set the
303313
* `processing_units` field to specify the target number of processing units allocated to the
304-
* instance partition. This might be zero in API responses for instance partitions that are not
305-
* yet in the `READY` state.
314+
* instance partition. If autoscaling is enabled, processing_units is treated as an OUTPUT_ONLY
315+
* field and reflects the current number of processing units allocated to the instance partition.
316+
* This might be zero in API responses for instance partitions that are not yet in the `READY`
317+
* state.
306318
* @param processingUnits processingUnits or {@code null} for none
307319
*/
308320
public InstancePartition setProcessingUnits(java.lang.Integer processingUnits) {

clients/google-api-services-spanner/v1/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-spanner</artifactId>
11-
<version>v1-rev20260501-2.0.0</version>
12-
<name>Cloud Spanner API v1-rev20260501-2.0.0</name>
11+
<version>v1-rev20260622-2.0.0</version>
12+
<name>Cloud Spanner API v1-rev20260622-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-spanner/v1/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-spanner</artifactId>
25-
<version>v1-rev20260501-2.0.0</version>
25+
<version>v1-rev20260622-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-spanner:v1-rev20260501-2.0.0'
38+
implementation 'com.google.apis:google-api-services-spanner:v1-rev20260622-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)