Skip to content

Commit 03ce086

Browse files
1 parent 7f73ea8 commit 03ce086

File tree

7 files changed

+282
-15
lines changed

7 files changed

+282
-15
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-rev20251014-2.0.0</version>
25+
<version>v1-rev20251031-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-rev20251014-2.0.0'
38+
implementation 'com.google.apis:google-api-services-spanner:v1-rev20251031-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: 204 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1966,6 +1966,40 @@ public List setPageToken(java.lang.String pageToken) {
19661966
return this;
19671967
}
19681968

1969+
/**
1970+
* When set to `true`, operations that are reachable are returned as normal, and those
1971+
* that are unreachable are returned in the [ListOperationsResponse.unreachable] field.
1972+
* This can only be `true` when reading across collections e.g. when `parent` is set to
1973+
* `"projects/example/locations/-"`. This field is not by default supported and will
1974+
* result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
1975+
* service or product specific documentation.
1976+
*/
1977+
@com.google.api.client.util.Key
1978+
private java.lang.Boolean returnPartialSuccess;
1979+
1980+
/** When set to `true`, operations that are reachable are returned as normal, and those that are
1981+
unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true`
1982+
when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This
1983+
field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless
1984+
explicitly documented otherwise in service or product specific documentation.
1985+
*/
1986+
public java.lang.Boolean getReturnPartialSuccess() {
1987+
return returnPartialSuccess;
1988+
}
1989+
1990+
/**
1991+
* When set to `true`, operations that are reachable are returned as normal, and those
1992+
* that are unreachable are returned in the [ListOperationsResponse.unreachable] field.
1993+
* This can only be `true` when reading across collections e.g. when `parent` is set to
1994+
* `"projects/example/locations/-"`. This field is not by default supported and will
1995+
* result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
1996+
* service or product specific documentation.
1997+
*/
1998+
public List setReturnPartialSuccess(java.lang.Boolean returnPartialSuccess) {
1999+
this.returnPartialSuccess = returnPartialSuccess;
2000+
return this;
2001+
}
2002+
19692003
@Override
19702004
public List set(String parameterName, Object value) {
19712005
return (List) super.set(parameterName, value);
@@ -2608,6 +2642,40 @@ public List setPageToken(java.lang.String pageToken) {
26082642
return this;
26092643
}
26102644

2645+
/**
2646+
* When set to `true`, operations that are reachable are returned as normal, and those
2647+
* that are unreachable are returned in the [ListOperationsResponse.unreachable] field.
2648+
* This can only be `true` when reading across collections e.g. when `parent` is set to
2649+
* `"projects/example/locations/-"`. This field is not by default supported and will
2650+
* result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
2651+
* service or product specific documentation.
2652+
*/
2653+
@com.google.api.client.util.Key
2654+
private java.lang.Boolean returnPartialSuccess;
2655+
2656+
/** When set to `true`, operations that are reachable are returned as normal, and those that are
2657+
unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true`
2658+
when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This
2659+
field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless
2660+
explicitly documented otherwise in service or product specific documentation.
2661+
*/
2662+
public java.lang.Boolean getReturnPartialSuccess() {
2663+
return returnPartialSuccess;
2664+
}
2665+
2666+
/**
2667+
* When set to `true`, operations that are reachable are returned as normal, and those
2668+
* that are unreachable are returned in the [ListOperationsResponse.unreachable] field.
2669+
* This can only be `true` when reading across collections e.g. when `parent` is set to
2670+
* `"projects/example/locations/-"`. This field is not by default supported and will
2671+
* result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
2672+
* service or product specific documentation.
2673+
*/
2674+
public List setReturnPartialSuccess(java.lang.Boolean returnPartialSuccess) {
2675+
this.returnPartialSuccess = returnPartialSuccess;
2676+
return this;
2677+
}
2678+
26112679
@Override
26122680
public List set(String parameterName, Object value) {
26132681
return (List) super.set(parameterName, value);
@@ -6772,6 +6840,40 @@ public List setPageToken(java.lang.String pageToken) {
67726840
return this;
67736841
}
67746842

6843+
/**
6844+
* When set to `true`, operations that are reachable are returned as normal, and those
6845+
* that are unreachable are returned in the [ListOperationsResponse.unreachable] field.
6846+
* This can only be `true` when reading across collections e.g. when `parent` is set to
6847+
* `"projects/example/locations/-"`. This field is not by default supported and will
6848+
* result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
6849+
* service or product specific documentation.
6850+
*/
6851+
@com.google.api.client.util.Key
6852+
private java.lang.Boolean returnPartialSuccess;
6853+
6854+
/** When set to `true`, operations that are reachable are returned as normal, and those that are
6855+
unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true`
6856+
when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This
6857+
field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless
6858+
explicitly documented otherwise in service or product specific documentation.
6859+
*/
6860+
public java.lang.Boolean getReturnPartialSuccess() {
6861+
return returnPartialSuccess;
6862+
}
6863+
6864+
/**
6865+
* When set to `true`, operations that are reachable are returned as normal, and those
6866+
* that are unreachable are returned in the [ListOperationsResponse.unreachable] field.
6867+
* This can only be `true` when reading across collections e.g. when `parent` is set to
6868+
* `"projects/example/locations/-"`. This field is not by default supported and will
6869+
* result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
6870+
* service or product specific documentation.
6871+
*/
6872+
public List setReturnPartialSuccess(java.lang.Boolean returnPartialSuccess) {
6873+
this.returnPartialSuccess = returnPartialSuccess;
6874+
return this;
6875+
}
6876+
67756877
@Override
67766878
public List set(String parameterName, Object value) {
67776879
return (List) super.set(parameterName, value);
@@ -11612,6 +11714,40 @@ public List setPageToken(java.lang.String pageToken) {
1161211714
return this;
1161311715
}
1161411716

11717+
/**
11718+
* When set to `true`, operations that are reachable are returned as normal, and those
11719+
* that are unreachable are returned in the [ListOperationsResponse.unreachable] field.
11720+
* This can only be `true` when reading across collections e.g. when `parent` is set to
11721+
* `"projects/example/locations/-"`. This field is not by default supported and will
11722+
* result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
11723+
* service or product specific documentation.
11724+
*/
11725+
@com.google.api.client.util.Key
11726+
private java.lang.Boolean returnPartialSuccess;
11727+
11728+
/** When set to `true`, operations that are reachable are returned as normal, and those that are
11729+
unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true`
11730+
when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This
11731+
field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless
11732+
explicitly documented otherwise in service or product specific documentation.
11733+
*/
11734+
public java.lang.Boolean getReturnPartialSuccess() {
11735+
return returnPartialSuccess;
11736+
}
11737+
11738+
/**
11739+
* When set to `true`, operations that are reachable are returned as normal, and those
11740+
* that are unreachable are returned in the [ListOperationsResponse.unreachable] field.
11741+
* This can only be `true` when reading across collections e.g. when `parent` is set to
11742+
* `"projects/example/locations/-"`. This field is not by default supported and will
11743+
* result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
11744+
* service or product specific documentation.
11745+
*/
11746+
public List setReturnPartialSuccess(java.lang.Boolean returnPartialSuccess) {
11747+
this.returnPartialSuccess = returnPartialSuccess;
11748+
return this;
11749+
}
11750+
1161511751
@Override
1161611752
public List set(String parameterName, Object value) {
1161711753
return (List) super.set(parameterName, value);
@@ -16094,6 +16230,40 @@ public List setPageToken(java.lang.String pageToken) {
1609416230
return this;
1609516231
}
1609616232

16233+
/**
16234+
* When set to `true`, operations that are reachable are returned as normal, and those
16235+
* that are unreachable are returned in the [ListOperationsResponse.unreachable] field.
16236+
* This can only be `true` when reading across collections e.g. when `parent` is set to
16237+
* `"projects/example/locations/-"`. This field is not by default supported and will
16238+
* result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
16239+
* service or product specific documentation.
16240+
*/
16241+
@com.google.api.client.util.Key
16242+
private java.lang.Boolean returnPartialSuccess;
16243+
16244+
/** When set to `true`, operations that are reachable are returned as normal, and those that are
16245+
unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true`
16246+
when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This
16247+
field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless
16248+
explicitly documented otherwise in service or product specific documentation.
16249+
*/
16250+
public java.lang.Boolean getReturnPartialSuccess() {
16251+
return returnPartialSuccess;
16252+
}
16253+
16254+
/**
16255+
* When set to `true`, operations that are reachable are returned as normal, and those
16256+
* that are unreachable are returned in the [ListOperationsResponse.unreachable] field.
16257+
* This can only be `true` when reading across collections e.g. when `parent` is set to
16258+
* `"projects/example/locations/-"`. This field is not by default supported and will
16259+
* result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
16260+
* service or product specific documentation.
16261+
*/
16262+
public List setReturnPartialSuccess(java.lang.Boolean returnPartialSuccess) {
16263+
this.returnPartialSuccess = returnPartialSuccess;
16264+
return this;
16265+
}
16266+
1609716267
@Override
1609816268
public List set(String parameterName, Object value) {
1609916269
return (List) super.set(parameterName, value);
@@ -16717,6 +16887,40 @@ public List setPageToken(java.lang.String pageToken) {
1671716887
return this;
1671816888
}
1671916889

16890+
/**
16891+
* When set to `true`, operations that are reachable are returned as normal, and those
16892+
* that are unreachable are returned in the [ListOperationsResponse.unreachable] field.
16893+
* This can only be `true` when reading across collections e.g. when `parent` is set to
16894+
* `"projects/example/locations/-"`. This field is not by default supported and will
16895+
* result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
16896+
* service or product specific documentation.
16897+
*/
16898+
@com.google.api.client.util.Key
16899+
private java.lang.Boolean returnPartialSuccess;
16900+
16901+
/** When set to `true`, operations that are reachable are returned as normal, and those that are
16902+
unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true`
16903+
when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This
16904+
field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless
16905+
explicitly documented otherwise in service or product specific documentation.
16906+
*/
16907+
public java.lang.Boolean getReturnPartialSuccess() {
16908+
return returnPartialSuccess;
16909+
}
16910+
16911+
/**
16912+
* When set to `true`, operations that are reachable are returned as normal, and those
16913+
* that are unreachable are returned in the [ListOperationsResponse.unreachable] field.
16914+
* This can only be `true` when reading across collections e.g. when `parent` is set to
16915+
* `"projects/example/locations/-"`. This field is not by default supported and will
16916+
* result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
16917+
* service or product specific documentation.
16918+
*/
16919+
public List setReturnPartialSuccess(java.lang.Boolean returnPartialSuccess) {
16920+
this.returnPartialSuccess = returnPartialSuccess;
16921+
return this;
16922+
}
16923+
1672016924
@Override
1672116925
public List set(String parameterName, Object value) {
1672216926
return (List) super.set(parameterName, value);

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

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@
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 can return fewer
34-
* 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).
33+
* Required. The number of sessions to be created in this batch call. At least one session is
34+
* created. The API can return fewer than the requested number of sessions. If a specific number
35+
* of sessions are desired, the client can make additional calls to `BatchCreateSessions`
36+
* (adjusting session_count as necessary).
3637
* The value may be {@code null}.
3738
*/
3839
@com.google.api.client.util.Key
@@ -46,19 +47,21 @@ public final class BatchCreateSessionsRequest extends com.google.api.client.json
4647
private Session sessionTemplate;
4748

4849
/**
49-
* Required. The number of sessions to be created in this batch call. The API can return fewer
50-
* 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).
50+
* Required. The number of sessions to be created in this batch call. At least one session is
51+
* created. The API can return fewer than the requested number of sessions. If a specific number
52+
* of sessions are desired, the client can make additional calls to `BatchCreateSessions`
53+
* (adjusting session_count as necessary).
5254
* @return value or {@code null} for none
5355
*/
5456
public java.lang.Integer getSessionCount() {
5557
return sessionCount;
5658
}
5759

5860
/**
59-
* Required. The number of sessions to be created in this batch call. The API can return fewer
60-
* 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+
* Required. The number of sessions to be created in this batch call. At least one session is
62+
* created. The API can return fewer than the requested number of sessions. If a specific number
63+
* of sessions are desired, the client can make additional calls to `BatchCreateSessions`
64+
* (adjusting session_count as necessary).
6265
* @param sessionCount sessionCount or {@code null} for none
6366
*/
6467
public BatchCreateSessionsRequest setSessionCount(java.lang.Integer sessionCount) {

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

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

32+
/**
33+
* Optional. The autoscaling configuration. Autoscaling is enabled if this field is set. When
34+
* autoscaling is enabled, fields in compute_capacity are treated as OUTPUT_ONLY fields and
35+
* reflect the current compute capacity allocated to the instance partition.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private AutoscalingConfig autoscalingConfig;
40+
3241
/**
3342
* Required. The name of the instance partition's configuration. Values are of the form
3443
* `projects//instanceConfigs/`. See also InstanceConfig and ListInstanceConfigs.
@@ -127,6 +136,27 @@ public final class InstancePartition extends com.google.api.client.json.GenericJ
127136
@com.google.api.client.util.Key
128137
private String updateTime;
129138

139+
/**
140+
* Optional. The autoscaling configuration. Autoscaling is enabled if this field is set. When
141+
* autoscaling is enabled, fields in compute_capacity are treated as OUTPUT_ONLY fields and
142+
* reflect the current compute capacity allocated to the instance partition.
143+
* @return value or {@code null} for none
144+
*/
145+
public AutoscalingConfig getAutoscalingConfig() {
146+
return autoscalingConfig;
147+
}
148+
149+
/**
150+
* Optional. The autoscaling configuration. Autoscaling is enabled if this field is set. When
151+
* autoscaling is enabled, fields in compute_capacity are treated as OUTPUT_ONLY fields and
152+
* reflect the current compute capacity allocated to the instance partition.
153+
* @param autoscalingConfig autoscalingConfig or {@code null} for none
154+
*/
155+
public InstancePartition setAutoscalingConfig(AutoscalingConfig autoscalingConfig) {
156+
this.autoscalingConfig = autoscalingConfig;
157+
return this;
158+
}
159+
130160
/**
131161
* Required. The name of the instance partition's configuration. Values are of the form
132162
* `projects//instanceConfigs/`. See also InstanceConfig and ListInstanceConfigs.

0 commit comments

Comments
 (0)