Skip to content

Commit 5c3a5f7

Browse files
1 parent 696d89b commit 5c3a5f7

File tree

6 files changed

+81
-18
lines changed

6 files changed

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

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.spanner.v1.model;
18+
19+
/**
20+
* Container for various pieces of client-owned context attached to a request.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Cloud Spanner API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class ClientContext extends com.google.api.client.json.GenericJson {
31+
32+
@Override
33+
public ClientContext set(String fieldName, Object value) {
34+
return (ClientContext) super.set(fieldName, value);
35+
}
36+
37+
@Override
38+
public ClientContext clone() {
39+
return (ClientContext) super.clone();
40+
}
41+
42+
}

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@
2929
@SuppressWarnings("javadoc")
3030
public final class RequestOptions extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* Optional. Optional context that may be needed for some requests.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private ClientContext clientContext;
38+
3239
/**
3340
* Priority for the request.
3441
* The value may be {@code null}.
@@ -61,6 +68,23 @@ public final class RequestOptions extends com.google.api.client.json.GenericJson
6168
@com.google.api.client.util.Key
6269
private java.lang.String transactionTag;
6370

71+
/**
72+
* Optional. Optional context that may be needed for some requests.
73+
* @return value or {@code null} for none
74+
*/
75+
public ClientContext getClientContext() {
76+
return clientContext;
77+
}
78+
79+
/**
80+
* Optional. Optional context that may be needed for some requests.
81+
* @param clientContext clientContext or {@code null} for none
82+
*/
83+
public RequestOptions setClientContext(ClientContext clientContext) {
84+
this.clientContext = clientContext;
85+
return this;
86+
}
87+
6488
/**
6589
* Priority for the request.
6690
* @return value or {@code null} for none

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

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,9 @@ public final class Session extends com.google.api.client.json.GenericJson {
6464

6565
/**
6666
* Optional. If `true`, specifies a multiplexed session. Use a multiplexed session for multiple,
67-
* concurrent read-only operations. Don't use them for read-write transactions, partitioned reads,
68-
* or partitioned queries. Use `sessions.create` to create multiplexed sessions. Don't use
69-
* BatchCreateSessions to create a multiplexed session. You can't delete or list multiplexed
70-
* sessions.
67+
* concurrent operations including any combination of read-only and read-write transactions. Use
68+
* `sessions.create` to create multiplexed sessions. Don't use BatchCreateSessions to create a
69+
* multiplexed session. You can't delete or list multiplexed sessions.
7170
* The value may be {@code null}.
7271
*/
7372
@com.google.api.client.util.Key
@@ -160,10 +159,9 @@ public Session setLabels(java.util.Map<String, java.lang.String> labels) {
160159

161160
/**
162161
* Optional. If `true`, specifies a multiplexed session. Use a multiplexed session for multiple,
163-
* concurrent read-only operations. Don't use them for read-write transactions, partitioned reads,
164-
* or partitioned queries. Use `sessions.create` to create multiplexed sessions. Don't use
165-
* BatchCreateSessions to create a multiplexed session. You can't delete or list multiplexed
166-
* sessions.
162+
* concurrent operations including any combination of read-only and read-write transactions. Use
163+
* `sessions.create` to create multiplexed sessions. Don't use BatchCreateSessions to create a
164+
* multiplexed session. You can't delete or list multiplexed sessions.
167165
* @return value or {@code null} for none
168166
*/
169167
public java.lang.Boolean getMultiplexed() {
@@ -172,10 +170,9 @@ public java.lang.Boolean getMultiplexed() {
172170

173171
/**
174172
* Optional. If `true`, specifies a multiplexed session. Use a multiplexed session for multiple,
175-
* concurrent read-only operations. Don't use them for read-write transactions, partitioned reads,
176-
* or partitioned queries. Use `sessions.create` to create multiplexed sessions. Don't use
177-
* BatchCreateSessions to create a multiplexed session. You can't delete or list multiplexed
178-
* sessions.
173+
* concurrent operations including any combination of read-only and read-write transactions. Use
174+
* `sessions.create` to create multiplexed sessions. Don't use BatchCreateSessions to create a
175+
* multiplexed session. You can't delete or list multiplexed sessions.
179176
* @param multiplexed multiplexed or {@code null} for none
180177
*/
181178
public Session setMultiplexed(java.lang.Boolean multiplexed) {

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-rev20251031-2.0.0</version>
12-
<name>Cloud Spanner API v1-rev20251031-2.0.0</name>
11+
<version>v1-rev20251121-2.0.0</version>
12+
<name>Cloud Spanner API v1-rev20251121-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-rev20251031-2.0.0</version>
25+
<version>v1-rev20251121-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-rev20251031-2.0.0'
38+
implementation 'com.google.apis:google-api-services-spanner:v1-rev20251121-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)