Skip to content

Commit ab0e158

Browse files
1 parent cfba2a0 commit ab0e158

File tree

12 files changed

+540
-152
lines changed

12 files changed

+540
-152
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-rev20251121-2.0.0</version>
25+
<version>v1-rev20251205-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-rev20251121-2.0.0'
38+
implementation 'com.google.apis:google-api-services-spanner:v1-rev20251205-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: 82 additions & 76 deletions
Large diffs are not rendered by default.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class SpannerScopes {
2929
/** Administer your Spanner databases. */
3030
public static final String SPANNER_ADMIN = "https://www.googleapis.com/auth/spanner.admin";
3131

32-
/** View and manage the contents of your Spanner databases. */
32+
/** See, edit, configure, and delete your Google Cloud Spanner data and see the email address for your Google Account. */
3333
public static final String SPANNER_DATA = "https://www.googleapis.com/auth/spanner.data";
3434

3535
/**
Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
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+
* Arguments to ack operations.
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 Ack extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* By default, an attempt to ack a message that does not exist will fail with a `NOT_FOUND` error.
34+
* With `ignore_not_found` set to true, the ack will succeed even if the message does not exist.
35+
* This is useful for unconditionally acking a message, even if it is missing or has already been
36+
* acked.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.lang.Boolean ignoreNotFound;
41+
42+
/**
43+
* Required. The primary key of the message to be acked.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.util.List<java.lang.Object> key;
48+
49+
/**
50+
* Required. The queue where the message to be acked is stored.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private java.lang.String queue;
55+
56+
/**
57+
* By default, an attempt to ack a message that does not exist will fail with a `NOT_FOUND` error.
58+
* With `ignore_not_found` set to true, the ack will succeed even if the message does not exist.
59+
* This is useful for unconditionally acking a message, even if it is missing or has already been
60+
* acked.
61+
* @return value or {@code null} for none
62+
*/
63+
public java.lang.Boolean getIgnoreNotFound() {
64+
return ignoreNotFound;
65+
}
66+
67+
/**
68+
* By default, an attempt to ack a message that does not exist will fail with a `NOT_FOUND` error.
69+
* With `ignore_not_found` set to true, the ack will succeed even if the message does not exist.
70+
* This is useful for unconditionally acking a message, even if it is missing or has already been
71+
* acked.
72+
* @param ignoreNotFound ignoreNotFound or {@code null} for none
73+
*/
74+
public Ack setIgnoreNotFound(java.lang.Boolean ignoreNotFound) {
75+
this.ignoreNotFound = ignoreNotFound;
76+
return this;
77+
}
78+
79+
/**
80+
* Required. The primary key of the message to be acked.
81+
* @return value or {@code null} for none
82+
*/
83+
public java.util.List<java.lang.Object> getKey() {
84+
return key;
85+
}
86+
87+
/**
88+
* Required. The primary key of the message to be acked.
89+
* @param key key or {@code null} for none
90+
*/
91+
public Ack setKey(java.util.List<java.lang.Object> key) {
92+
this.key = key;
93+
return this;
94+
}
95+
96+
/**
97+
* Required. The queue where the message to be acked is stored.
98+
* @return value or {@code null} for none
99+
*/
100+
public java.lang.String getQueue() {
101+
return queue;
102+
}
103+
104+
/**
105+
* Required. The queue where the message to be acked is stored.
106+
* @param queue queue or {@code null} for none
107+
*/
108+
public Ack setQueue(java.lang.String queue) {
109+
this.queue = queue;
110+
return this;
111+
}
112+
113+
@Override
114+
public Ack set(String fieldName, Object value) {
115+
return (Ack) super.set(fieldName, value);
116+
}
117+
118+
@Override
119+
public Ack clone() {
120+
return (Ack) super.clone();
121+
}
122+
123+
}

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

Lines changed: 0 additions & 42 deletions
This file was deleted.
Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
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+
* Metadata type for the long-running operation returned by `CALL compact_all()`, which can be
21+
* executed using ExecuteSql or ExecuteStreamingSql APIs.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the Cloud Spanner API. For a detailed explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class CompactDatabaseMetadata extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Output only. The time at which cancellation of this operation was received.
35+
* Operations.CancelOperation starts asynchronous cancellation on a long-running operation. The
36+
* server makes a best effort to cancel the operation, but success is not guaranteed. Clients can
37+
* use Operations.GetOperation or other methods to check whether the cancellation succeeded or
38+
* whether the operation completed despite cancellation. On successful cancellation, the operation
39+
* is not deleted; instead, it becomes an operation with an Operation.error value with a
40+
* google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private String cancelTime;
45+
46+
/**
47+
* Output only. The database being compacted.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.String database;
52+
53+
/**
54+
* Output only. The progress of the compaction operation.
55+
* The value may be {@code null}.
56+
*/
57+
@com.google.api.client.util.Key
58+
private OperationProgress progress;
59+
60+
/**
61+
* Output only. The time at which cancellation of this operation was received.
62+
* Operations.CancelOperation starts asynchronous cancellation on a long-running operation. The
63+
* server makes a best effort to cancel the operation, but success is not guaranteed. Clients can
64+
* use Operations.GetOperation or other methods to check whether the cancellation succeeded or
65+
* whether the operation completed despite cancellation. On successful cancellation, the operation
66+
* is not deleted; instead, it becomes an operation with an Operation.error value with a
67+
* google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
68+
* @return value or {@code null} for none
69+
*/
70+
public String getCancelTime() {
71+
return cancelTime;
72+
}
73+
74+
/**
75+
* Output only. The time at which cancellation of this operation was received.
76+
* Operations.CancelOperation starts asynchronous cancellation on a long-running operation. The
77+
* server makes a best effort to cancel the operation, but success is not guaranteed. Clients can
78+
* use Operations.GetOperation or other methods to check whether the cancellation succeeded or
79+
* whether the operation completed despite cancellation. On successful cancellation, the operation
80+
* is not deleted; instead, it becomes an operation with an Operation.error value with a
81+
* google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
82+
* @param cancelTime cancelTime or {@code null} for none
83+
*/
84+
public CompactDatabaseMetadata setCancelTime(String cancelTime) {
85+
this.cancelTime = cancelTime;
86+
return this;
87+
}
88+
89+
/**
90+
* Output only. The database being compacted.
91+
* @return value or {@code null} for none
92+
*/
93+
public java.lang.String getDatabase() {
94+
return database;
95+
}
96+
97+
/**
98+
* Output only. The database being compacted.
99+
* @param database database or {@code null} for none
100+
*/
101+
public CompactDatabaseMetadata setDatabase(java.lang.String database) {
102+
this.database = database;
103+
return this;
104+
}
105+
106+
/**
107+
* Output only. The progress of the compaction operation.
108+
* @return value or {@code null} for none
109+
*/
110+
public OperationProgress getProgress() {
111+
return progress;
112+
}
113+
114+
/**
115+
* Output only. The progress of the compaction operation.
116+
* @param progress progress or {@code null} for none
117+
*/
118+
public CompactDatabaseMetadata setProgress(OperationProgress progress) {
119+
this.progress = progress;
120+
return this;
121+
}
122+
123+
@Override
124+
public CompactDatabaseMetadata set(String fieldName, Object value) {
125+
return (CompactDatabaseMetadata) super.set(fieldName, value);
126+
}
127+
128+
@Override
129+
public CompactDatabaseMetadata clone() {
130+
return (CompactDatabaseMetadata) super.clone();
131+
}
132+
133+
}

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public final class ListOperationsResponse extends com.google.api.client.json.Gen
4545

4646
/**
4747
* Unordered list. Unreachable resources. Populated when the request sets
48-
* `ListOperationsRequest.return_partial_success` and reads across collections e.g. when
48+
* `ListOperationsRequest.return_partial_success` and reads across collections. For example, when
4949
* attempting to list all resources across all supported locations.
5050
* The value may be {@code null}.
5151
*/
@@ -88,7 +88,7 @@ public ListOperationsResponse setOperations(java.util.List<Operation> operations
8888

8989
/**
9090
* Unordered list. Unreachable resources. Populated when the request sets
91-
* `ListOperationsRequest.return_partial_success` and reads across collections e.g. when
91+
* `ListOperationsRequest.return_partial_success` and reads across collections. For example, when
9292
* attempting to list all resources across all supported locations.
9393
* @return value or {@code null} for none
9494
*/
@@ -98,7 +98,7 @@ public java.util.List<java.lang.String> getUnreachable() {
9898

9999
/**
100100
* Unordered list. Unreachable resources. Populated when the request sets
101-
* `ListOperationsRequest.return_partial_success` and reads across collections e.g. when
101+
* `ListOperationsRequest.return_partial_success` and reads across collections. For example, when
102102
* attempting to list all resources across all supported locations.
103103
* @param unreachable unreachable or {@code null} for none
104104
*/

0 commit comments

Comments
 (0)