Skip to content

Commit c78ad07

Browse files
1 parent ff483b5 commit c78ad07

29 files changed

+539
-488
lines changed

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

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

Lines changed: 61 additions & 63 deletions
Large diffs are not rendered by default.

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,35 +30,35 @@
3030
public final class BatchCreateSessionsRequest extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* Required. The number of sessions to be created in this batch call. The API may return fewer
33+
* Required. The number of sessions to be created in this batch call. The API can return fewer
3434
* than the requested number of sessions. If a specific number of sessions are desired, the client
35-
* can make additional calls to BatchCreateSessions (adjusting session_count as necessary).
35+
* can make additional calls to `BatchCreateSessions` (adjusting session_count as necessary).
3636
* The value may be {@code null}.
3737
*/
3838
@com.google.api.client.util.Key
3939
private java.lang.Integer sessionCount;
4040

4141
/**
42-
* Parameters to be applied to each created session.
42+
* Parameters to apply to each created session.
4343
* The value may be {@code null}.
4444
*/
4545
@com.google.api.client.util.Key
4646
private Session sessionTemplate;
4747

4848
/**
49-
* Required. The number of sessions to be created in this batch call. The API may return fewer
49+
* Required. The number of sessions to be created in this batch call. The API can return fewer
5050
* than the requested number of sessions. If a specific number of sessions are desired, the client
51-
* can make additional calls to BatchCreateSessions (adjusting session_count as necessary).
51+
* can make additional calls to `BatchCreateSessions` (adjusting session_count as necessary).
5252
* @return value or {@code null} for none
5353
*/
5454
public java.lang.Integer getSessionCount() {
5555
return sessionCount;
5656
}
5757

5858
/**
59-
* Required. The number of sessions to be created in this batch call. The API may return fewer
59+
* Required. The number of sessions to be created in this batch call. The API can return fewer
6060
* than the requested number of sessions. If a specific number of sessions are desired, the client
61-
* can make additional calls to BatchCreateSessions (adjusting session_count as necessary).
61+
* can make additional calls to `BatchCreateSessions` (adjusting session_count as necessary).
6262
* @param sessionCount sessionCount or {@code null} for none
6363
*/
6464
public BatchCreateSessionsRequest setSessionCount(java.lang.Integer sessionCount) {
@@ -67,15 +67,15 @@ public BatchCreateSessionsRequest setSessionCount(java.lang.Integer sessionCount
6767
}
6868

6969
/**
70-
* Parameters to be applied to each created session.
70+
* Parameters to apply to each created session.
7171
* @return value or {@code null} for none
7272
*/
7373
public Session getSessionTemplate() {
7474
return sessionTemplate;
7575
}
7676

7777
/**
78-
* Parameters to be applied to each created session.
78+
* Parameters to apply to each created session.
7979
* @param sessionTemplate sessionTemplate or {@code null} for none
8080
*/
8181
public BatchCreateSessionsRequest setSessionTemplate(Session sessionTemplate) {

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ public final class BatchWriteRequest extends com.google.api.client.json.GenericJ
3131

3232
/**
3333
* Optional. When `exclude_txn_from_change_streams` is set to `true`: * Modifications from all
34-
* transactions in this batch write operation will not be recorded in change streams with DDL
34+
* transactions in this batch write operation are not be recorded in change streams with DDL
3535
* option `allow_txn_exclusion=true` that are tracking columns modified by these transactions. *
36-
* Modifications from all transactions in this batch write operation will be recorded in change
36+
* Modifications from all transactions in this batch write operation are recorded in change
3737
* streams with DDL option `allow_txn_exclusion=false or not set` that are tracking columns
3838
* modified by these transactions. When `exclude_txn_from_change_streams` is set to `false` or not
39-
* set, Modifications from all transactions in this batch write operation will be recorded in all
39+
* set, Modifications from all transactions in this batch write operation are recorded in all
4040
* change streams that are tracking columns modified by these transactions.
4141
* The value may be {@code null}.
4242
*/
@@ -59,12 +59,12 @@ public final class BatchWriteRequest extends com.google.api.client.json.GenericJ
5959

6060
/**
6161
* Optional. When `exclude_txn_from_change_streams` is set to `true`: * Modifications from all
62-
* transactions in this batch write operation will not be recorded in change streams with DDL
62+
* transactions in this batch write operation are not be recorded in change streams with DDL
6363
* option `allow_txn_exclusion=true` that are tracking columns modified by these transactions. *
64-
* Modifications from all transactions in this batch write operation will be recorded in change
64+
* Modifications from all transactions in this batch write operation are recorded in change
6565
* streams with DDL option `allow_txn_exclusion=false or not set` that are tracking columns
6666
* modified by these transactions. When `exclude_txn_from_change_streams` is set to `false` or not
67-
* set, Modifications from all transactions in this batch write operation will be recorded in all
67+
* set, Modifications from all transactions in this batch write operation are recorded in all
6868
* change streams that are tracking columns modified by these transactions.
6969
* @return value or {@code null} for none
7070
*/
@@ -74,12 +74,12 @@ public java.lang.Boolean getExcludeTxnFromChangeStreams() {
7474

7575
/**
7676
* Optional. When `exclude_txn_from_change_streams` is set to `true`: * Modifications from all
77-
* transactions in this batch write operation will not be recorded in change streams with DDL
77+
* transactions in this batch write operation are not be recorded in change streams with DDL
7878
* option `allow_txn_exclusion=true` that are tracking columns modified by these transactions. *
79-
* Modifications from all transactions in this batch write operation will be recorded in change
79+
* Modifications from all transactions in this batch write operation are recorded in change
8080
* streams with DDL option `allow_txn_exclusion=false or not set` that are tracking columns
8181
* modified by these transactions. When `exclude_txn_from_change_streams` is set to `false` or not
82-
* set, Modifications from all transactions in this batch write operation will be recorded in all
82+
* set, Modifications from all transactions in this batch write operation are recorded in all
8383
* change streams that are tracking columns modified by these transactions.
8484
* @param excludeTxnFromChangeStreams excludeTxnFromChangeStreams or {@code null} for none
8585
*/

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public final class BeginTransactionRequest extends com.google.api.client.json.Ge
3131

3232
/**
3333
* Optional. Required for read-write transactions on a multiplexed session that commit mutations
34-
* but do not perform any reads or queries. Clients should randomly select one of the mutations
35-
* from the mutation set and send it as a part of this request.
34+
* but don't perform any reads or queries. You must randomly select one of the mutations from the
35+
* mutation set and send it as a part of this request.
3636
* The value may be {@code null}.
3737
*/
3838
@com.google.api.client.util.Key
@@ -47,17 +47,17 @@ public final class BeginTransactionRequest extends com.google.api.client.json.Ge
4747

4848
/**
4949
* Common options for this request. Priority is ignored for this request. Setting the priority in
50-
* this request_options struct will not do anything. To set the priority for a transaction, set it
51-
* on the reads and writes that are part of this transaction instead.
50+
* this `request_options` struct doesn't do anything. To set the priority for a transaction, set
51+
* it on the reads and writes that are part of this transaction instead.
5252
* The value may be {@code null}.
5353
*/
5454
@com.google.api.client.util.Key
5555
private RequestOptions requestOptions;
5656

5757
/**
5858
* Optional. Required for read-write transactions on a multiplexed session that commit mutations
59-
* but do not perform any reads or queries. Clients should randomly select one of the mutations
60-
* from the mutation set and send it as a part of this request.
59+
* but don't perform any reads or queries. You must randomly select one of the mutations from the
60+
* mutation set and send it as a part of this request.
6161
* @return value or {@code null} for none
6262
*/
6363
public Mutation getMutationKey() {
@@ -66,8 +66,8 @@ public Mutation getMutationKey() {
6666

6767
/**
6868
* Optional. Required for read-write transactions on a multiplexed session that commit mutations
69-
* but do not perform any reads or queries. Clients should randomly select one of the mutations
70-
* from the mutation set and send it as a part of this request.
69+
* but don't perform any reads or queries. You must randomly select one of the mutations from the
70+
* mutation set and send it as a part of this request.
7171
* @param mutationKey mutationKey or {@code null} for none
7272
*/
7373
public BeginTransactionRequest setMutationKey(Mutation mutationKey) {
@@ -94,8 +94,8 @@ public BeginTransactionRequest setOptions(TransactionOptions options) {
9494

9595
/**
9696
* Common options for this request. Priority is ignored for this request. Setting the priority in
97-
* this request_options struct will not do anything. To set the priority for a transaction, set it
98-
* on the reads and writes that are part of this transaction instead.
97+
* this `request_options` struct doesn't do anything. To set the priority for a transaction, set
98+
* it on the reads and writes that are part of this transaction instead.
9999
* @return value or {@code null} for none
100100
*/
101101
public RequestOptions getRequestOptions() {
@@ -104,8 +104,8 @@ public RequestOptions getRequestOptions() {
104104

105105
/**
106106
* Common options for this request. Priority is ignored for this request. Setting the priority in
107-
* this request_options struct will not do anything. To set the priority for a transaction, set it
108-
* on the reads and writes that are part of this transaction instead.
107+
* this `request_options` struct doesn't do anything. To set the priority for a transaction, set
108+
* it on the reads and writes that are part of this transaction instead.
109109
* @param requestOptions requestOptions or {@code null} for none
110110
*/
111111
public BeginTransactionRequest setRequestOptions(RequestOptions requestOptions) {

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

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public final class CommitRequest extends com.google.api.client.json.GenericJson
3131

3232
/**
3333
* Optional. The amount of latency this request is configured to incur in order to improve
34-
* throughput. If this field is not set, Spanner assumes requests are relatively latency sensitive
34+
* throughput. If this field isn't set, Spanner assumes requests are relatively latency sensitive
3535
* and automatically determines an appropriate delay time. You can specify a commit delay value
3636
* between 0 and 500 ms.
3737
* The value may be {@code null}.
@@ -48,9 +48,9 @@ public final class CommitRequest extends com.google.api.client.json.GenericJson
4848
private java.util.List<Mutation> mutations;
4949

5050
/**
51-
* Optional. If the read-write transaction was executed on a multiplexed session, the precommit
52-
* token with the highest sequence number received in this transaction attempt, should be included
53-
* here. Failing to do so will result in a FailedPrecondition error.
51+
* Optional. If the read-write transaction was executed on a multiplexed session, then you must
52+
* include the precommit token with the highest sequence number received in this transaction
53+
* attempt. Failing to do so results in a `FailedPrecondition` error.
5454
* The value may be {@code null}.
5555
*/
5656
@com.google.api.client.util.Key
@@ -64,7 +64,7 @@ public final class CommitRequest extends com.google.api.client.json.GenericJson
6464
private RequestOptions requestOptions;
6565

6666
/**
67-
* If `true`, then statistics related to the transaction will be included in the CommitResponse.
67+
* If `true`, then statistics related to the transaction is included in the CommitResponse.
6868
* Default value is `false`.
6969
* The value may be {@code null}.
7070
*/
@@ -75,7 +75,7 @@ public final class CommitRequest extends com.google.api.client.json.GenericJson
7575
* Execute mutations in a temporary transaction. Note that unlike commit of a previously-started
7676
* transaction, commit with a temporary transaction is non-idempotent. That is, if the
7777
* `CommitRequest` is sent to Cloud Spanner more than once (for instance, due to retries in the
78-
* application, or in the transport library), it is possible that the mutations are executed more
78+
* application, or in the transport library), it's possible that the mutations are executed more
7979
* than once. If this is undesirable, use BeginTransaction and Commit instead.
8080
* The value may be {@code null}.
8181
*/
@@ -91,7 +91,7 @@ public final class CommitRequest extends com.google.api.client.json.GenericJson
9191

9292
/**
9393
* Optional. The amount of latency this request is configured to incur in order to improve
94-
* throughput. If this field is not set, Spanner assumes requests are relatively latency sensitive
94+
* throughput. If this field isn't set, Spanner assumes requests are relatively latency sensitive
9595
* and automatically determines an appropriate delay time. You can specify a commit delay value
9696
* between 0 and 500 ms.
9797
* @return value or {@code null} for none
@@ -102,7 +102,7 @@ public String getMaxCommitDelay() {
102102

103103
/**
104104
* Optional. The amount of latency this request is configured to incur in order to improve
105-
* throughput. If this field is not set, Spanner assumes requests are relatively latency sensitive
105+
* throughput. If this field isn't set, Spanner assumes requests are relatively latency sensitive
106106
* and automatically determines an appropriate delay time. You can specify a commit delay value
107107
* between 0 and 500 ms.
108108
* @param maxCommitDelay maxCommitDelay or {@code null} for none
@@ -132,19 +132,19 @@ public CommitRequest setMutations(java.util.List<Mutation> mutations) {
132132
}
133133

134134
/**
135-
* Optional. If the read-write transaction was executed on a multiplexed session, the precommit
136-
* token with the highest sequence number received in this transaction attempt, should be included
137-
* here. Failing to do so will result in a FailedPrecondition error.
135+
* Optional. If the read-write transaction was executed on a multiplexed session, then you must
136+
* include the precommit token with the highest sequence number received in this transaction
137+
* attempt. Failing to do so results in a `FailedPrecondition` error.
138138
* @return value or {@code null} for none
139139
*/
140140
public MultiplexedSessionPrecommitToken getPrecommitToken() {
141141
return precommitToken;
142142
}
143143

144144
/**
145-
* Optional. If the read-write transaction was executed on a multiplexed session, the precommit
146-
* token with the highest sequence number received in this transaction attempt, should be included
147-
* here. Failing to do so will result in a FailedPrecondition error.
145+
* Optional. If the read-write transaction was executed on a multiplexed session, then you must
146+
* include the precommit token with the highest sequence number received in this transaction
147+
* attempt. Failing to do so results in a `FailedPrecondition` error.
148148
* @param precommitToken precommitToken or {@code null} for none
149149
*/
150150
public CommitRequest setPrecommitToken(MultiplexedSessionPrecommitToken precommitToken) {
@@ -170,7 +170,7 @@ public CommitRequest setRequestOptions(RequestOptions requestOptions) {
170170
}
171171

172172
/**
173-
* If `true`, then statistics related to the transaction will be included in the CommitResponse.
173+
* If `true`, then statistics related to the transaction is included in the CommitResponse.
174174
* Default value is `false`.
175175
* @return value or {@code null} for none
176176
*/
@@ -179,7 +179,7 @@ public java.lang.Boolean getReturnCommitStats() {
179179
}
180180

181181
/**
182-
* If `true`, then statistics related to the transaction will be included in the CommitResponse.
182+
* If `true`, then statistics related to the transaction is included in the CommitResponse.
183183
* Default value is `false`.
184184
* @param returnCommitStats returnCommitStats or {@code null} for none
185185
*/
@@ -192,7 +192,7 @@ public CommitRequest setReturnCommitStats(java.lang.Boolean returnCommitStats) {
192192
* Execute mutations in a temporary transaction. Note that unlike commit of a previously-started
193193
* transaction, commit with a temporary transaction is non-idempotent. That is, if the
194194
* `CommitRequest` is sent to Cloud Spanner more than once (for instance, due to retries in the
195-
* application, or in the transport library), it is possible that the mutations are executed more
195+
* application, or in the transport library), it's possible that the mutations are executed more
196196
* than once. If this is undesirable, use BeginTransaction and Commit instead.
197197
* @return value or {@code null} for none
198198
*/
@@ -204,7 +204,7 @@ public TransactionOptions getSingleUseTransaction() {
204204
* Execute mutations in a temporary transaction. Note that unlike commit of a previously-started
205205
* transaction, commit with a temporary transaction is non-idempotent. That is, if the
206206
* `CommitRequest` is sent to Cloud Spanner more than once (for instance, due to retries in the
207-
* application, or in the transport library), it is possible that the mutations are executed more
207+
* application, or in the transport library), it's possible that the mutations are executed more
208208
* than once. If this is undesirable, use BeginTransaction and Commit instead.
209209
* @param singleUseTransaction singleUseTransaction or {@code null} for none
210210
*/

0 commit comments

Comments
 (0)