Skip to content

Commit 675e90b

Browse files
chore: Update generation configuration at Mon Jul 28 15:11:57 UTC 2025 (#3995)
* chore: Update generation configuration at Wed Jul 16 02:37:49 UTC 2025 * chore: Update generation configuration at Thu Jul 17 02:38:10 UTC 2025 * chore: Update generation configuration at Sat Jul 19 02:34:24 UTC 2025 * chore: generate libraries at Sat Jul 19 02:34:54 UTC 2025 * chore: Update generation configuration at Tue Jul 22 02:39:04 UTC 2025 * chore: Update generation configuration at Wed Jul 23 02:39:47 UTC 2025 * chore: generate libraries at Wed Jul 23 02:40:21 UTC 2025 * chore: Update generation configuration at Thu Jul 24 02:39:12 UTC 2025 * chore: Update generation configuration at Thu Jul 24 18:52:26 UTC 2025 * chore: generate libraries at Thu Jul 24 18:52:55 UTC 2025 * chore: Update generation configuration at Sat Jul 26 02:35:28 UTC 2025 * chore: Update generation configuration at Mon Jul 28 15:11:57 UTC 2025 * chore: generate libraries at Mon Jul 28 15:12:33 UTC 2025 --------- Co-authored-by: Sakthivel Subramanian <[email protected]>
1 parent 80c5685 commit 675e90b

File tree

39 files changed

+3702
-1553
lines changed

39 files changed

+3702
-1553
lines changed

.github/scripts/update_generation_config.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
set -ex
2+
set -e
33
# This script should be run at the root of the repository.
44
# This script is used to update googleapis_commitish, gapic_generator_version,
55
# and libraries_bom_version in generation configuration at the time of running
@@ -174,4 +174,4 @@ if [ -z "${pr_num}" ]; then
174174
else
175175
git push
176176
gh pr edit "${pr_num}" --title "${title}" --body "${title}"
177-
fi
177+
fi

.github/workflows/hermetic_library_generation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
with:
3838
fetch-depth: 0
3939
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
40-
- uses: googleapis/sdk-platform-java/.github/[email protected].1
40+
- uses: googleapis/sdk-platform-java/.github/[email protected].2
4141
if: env.SHOULD_RUN == 'true'
4242
with:
4343
base_ref: ${{ github.base_ref }}

.github/workflows/update_generation_config.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ on:
1818
schedule:
1919
- cron: '0 2 * * *'
2020
workflow_dispatch:
21+
2122
jobs:
2223
update-generation-config:
2324
runs-on: ubuntu-24.04
@@ -42,4 +43,5 @@ jobs:
4243
--base_branch "${base_branch}" \
4344
--repo ${{ github.repository }}
4445
env:
45-
GH_TOKEN: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
46+
GH_TOKEN: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
47+

.kokoro/presubmit/graalvm-native-a.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Configure the docker image for kokoro-trampoline.
44
env_vars: {
55
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.49.0" # {x-version-update:google-cloud-shared-dependencies:current}
6+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_a:3.50.2" # {x-version-update:google-cloud-shared-dependencies:current}
77
}
88

99
env_vars: {

.kokoro/presubmit/graalvm-native-b.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Configure the docker image for kokoro-trampoline.
44
env_vars: {
55
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.49.0" # {x-version-update:google-cloud-shared-dependencies:current}
6+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_b:3.50.2" # {x-version-update:google-cloud-shared-dependencies:current}
77
}
88

99
env_vars: {

.kokoro/presubmit/graalvm-native-c.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Configure the docker image for kokoro-trampoline.
44
env_vars: {
55
key: "TRAMPOLINE_IMAGE"
6-
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.49.0" # {x-version-update:google-cloud-shared-dependencies:current}
6+
value: "gcr.io/cloud-devrel-public-resources/graalvm_sdk_platform_c:3.50.2" # {x-version-update:google-cloud-shared-dependencies:current}
77
}
88

99
env_vars: {

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ If you are using Maven without the BOM, add this to your dependencies:
4949
If you are using Gradle 5.x or later, add this to your dependencies:
5050

5151
```Groovy
52-
implementation platform('com.google.cloud:libraries-bom:26.61.0')
52+
implementation platform('com.google.cloud:libraries-bom:26.64.0')
5353
5454
implementation 'com.google.cloud:google-cloud-spanner'
5555
```

generation_config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
gapic_generator_version: 2.59.0
2-
googleapis_commitish: e5b0e779491e106ddac0b72b79222673a846fdc9
3-
libraries_bom_version: 26.61.0
1+
gapic_generator_version: 2.60.2
2+
googleapis_commitish: 6588689155df35bb46974c477505990f0034f569
3+
libraries_bom_version: 26.64.0
44
libraries:
55
- api_shortname: spanner
66
name_pretty: Cloud Spanner

google-cloud-spanner-executor/src/main/resources/META-INF/native-image/com.google.cloud.spanner.executor.v1/reflect-config.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2330,6 +2330,42 @@
23302330
"allDeclaredClasses": true,
23312331
"allPublicClasses": true
23322332
},
2333+
{
2334+
"name": "com.google.spanner.admin.database.v1.InternalUpdateGraphOperationRequest",
2335+
"queryAllDeclaredConstructors": true,
2336+
"queryAllPublicConstructors": true,
2337+
"queryAllDeclaredMethods": true,
2338+
"allPublicMethods": true,
2339+
"allDeclaredClasses": true,
2340+
"allPublicClasses": true
2341+
},
2342+
{
2343+
"name": "com.google.spanner.admin.database.v1.InternalUpdateGraphOperationRequest$Builder",
2344+
"queryAllDeclaredConstructors": true,
2345+
"queryAllPublicConstructors": true,
2346+
"queryAllDeclaredMethods": true,
2347+
"allPublicMethods": true,
2348+
"allDeclaredClasses": true,
2349+
"allPublicClasses": true
2350+
},
2351+
{
2352+
"name": "com.google.spanner.admin.database.v1.InternalUpdateGraphOperationResponse",
2353+
"queryAllDeclaredConstructors": true,
2354+
"queryAllPublicConstructors": true,
2355+
"queryAllDeclaredMethods": true,
2356+
"allPublicMethods": true,
2357+
"allDeclaredClasses": true,
2358+
"allPublicClasses": true
2359+
},
2360+
{
2361+
"name": "com.google.spanner.admin.database.v1.InternalUpdateGraphOperationResponse$Builder",
2362+
"queryAllDeclaredConstructors": true,
2363+
"queryAllPublicConstructors": true,
2364+
"queryAllDeclaredMethods": true,
2365+
"allPublicMethods": true,
2366+
"allDeclaredClasses": true,
2367+
"allPublicClasses": true
2368+
},
23332369
{
23342370
"name": "com.google.spanner.admin.database.v1.ListBackupOperationsRequest",
23352371
"queryAllDeclaredConstructors": true,

google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java

Lines changed: 161 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@
6666
import com.google.spanner.admin.database.v1.GetDatabaseDdlResponse;
6767
import com.google.spanner.admin.database.v1.GetDatabaseRequest;
6868
import com.google.spanner.admin.database.v1.InstanceName;
69+
import com.google.spanner.admin.database.v1.InternalUpdateGraphOperationRequest;
70+
import com.google.spanner.admin.database.v1.InternalUpdateGraphOperationResponse;
6971
import com.google.spanner.admin.database.v1.ListBackupOperationsRequest;
7072
import com.google.spanner.admin.database.v1.ListBackupOperationsResponse;
7173
import com.google.spanner.admin.database.v1.ListBackupSchedulesRequest;
@@ -640,6 +642,25 @@
640642
* </ul>
641643
* </td>
642644
* </tr>
645+
* <tr>
646+
* <td><p> InternalUpdateGraphOperation</td>
647+
* <td><p> This is an internal API called by Spanner Graph jobs. You should never need to call this API directly.</td>
648+
* <td>
649+
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
650+
* <ul>
651+
* <li><p> internalUpdateGraphOperation(InternalUpdateGraphOperationRequest request)
652+
* </ul>
653+
* <p>"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.</p>
654+
* <ul>
655+
* <li><p> internalUpdateGraphOperation(DatabaseName database, String operationId)
656+
* <li><p> internalUpdateGraphOperation(String database, String operationId)
657+
* </ul>
658+
* <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
659+
* <ul>
660+
* <li><p> internalUpdateGraphOperationCallable()
661+
* </ul>
662+
* </td>
663+
* </tr>
643664
* </table>
644665
*
645666
* <p>See the individual methods for example code.
@@ -5119,6 +5140,146 @@ public final ListBackupSchedulesPagedResponse listBackupSchedules(
51195140
return stub.listBackupSchedulesCallable();
51205141
}
51215142

5143+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
5144+
/**
5145+
* This is an internal API called by Spanner Graph jobs. You should never need to call this API
5146+
* directly.
5147+
*
5148+
* <p>Sample code:
5149+
*
5150+
* <pre>{@code
5151+
* // This snippet has been automatically generated and should be regarded as a code template only.
5152+
* // It will require modifications to work:
5153+
* // - It may require correct/in-range values for request initialization.
5154+
* // - It may require specifying regional endpoints when creating the service client as shown in
5155+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
5156+
* try (DatabaseAdminClient databaseAdminClient = DatabaseAdminClient.create()) {
5157+
* DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
5158+
* String operationId = "operationId129704162";
5159+
* InternalUpdateGraphOperationResponse response =
5160+
* databaseAdminClient.internalUpdateGraphOperation(database, operationId);
5161+
* }
5162+
* }</pre>
5163+
*
5164+
* @param database Internal field, do not use directly.
5165+
* @param operationId Internal field, do not use directly.
5166+
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
5167+
*/
5168+
public final InternalUpdateGraphOperationResponse internalUpdateGraphOperation(
5169+
DatabaseName database, String operationId) {
5170+
InternalUpdateGraphOperationRequest request =
5171+
InternalUpdateGraphOperationRequest.newBuilder()
5172+
.setDatabase(database == null ? null : database.toString())
5173+
.setOperationId(operationId)
5174+
.build();
5175+
return internalUpdateGraphOperation(request);
5176+
}
5177+
5178+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
5179+
/**
5180+
* This is an internal API called by Spanner Graph jobs. You should never need to call this API
5181+
* directly.
5182+
*
5183+
* <p>Sample code:
5184+
*
5185+
* <pre>{@code
5186+
* // This snippet has been automatically generated and should be regarded as a code template only.
5187+
* // It will require modifications to work:
5188+
* // - It may require correct/in-range values for request initialization.
5189+
* // - It may require specifying regional endpoints when creating the service client as shown in
5190+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
5191+
* try (DatabaseAdminClient databaseAdminClient = DatabaseAdminClient.create()) {
5192+
* String database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString();
5193+
* String operationId = "operationId129704162";
5194+
* InternalUpdateGraphOperationResponse response =
5195+
* databaseAdminClient.internalUpdateGraphOperation(database, operationId);
5196+
* }
5197+
* }</pre>
5198+
*
5199+
* @param database Internal field, do not use directly.
5200+
* @param operationId Internal field, do not use directly.
5201+
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
5202+
*/
5203+
public final InternalUpdateGraphOperationResponse internalUpdateGraphOperation(
5204+
String database, String operationId) {
5205+
InternalUpdateGraphOperationRequest request =
5206+
InternalUpdateGraphOperationRequest.newBuilder()
5207+
.setDatabase(database)
5208+
.setOperationId(operationId)
5209+
.build();
5210+
return internalUpdateGraphOperation(request);
5211+
}
5212+
5213+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
5214+
/**
5215+
* This is an internal API called by Spanner Graph jobs. You should never need to call this API
5216+
* directly.
5217+
*
5218+
* <p>Sample code:
5219+
*
5220+
* <pre>{@code
5221+
* // This snippet has been automatically generated and should be regarded as a code template only.
5222+
* // It will require modifications to work:
5223+
* // - It may require correct/in-range values for request initialization.
5224+
* // - It may require specifying regional endpoints when creating the service client as shown in
5225+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
5226+
* try (DatabaseAdminClient databaseAdminClient = DatabaseAdminClient.create()) {
5227+
* InternalUpdateGraphOperationRequest request =
5228+
* InternalUpdateGraphOperationRequest.newBuilder()
5229+
* .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
5230+
* .setOperationId("operationId129704162")
5231+
* .setVmIdentityToken("vmIdentityToken-417652124")
5232+
* .setProgress(-1001078227)
5233+
* .setStatus(Status.newBuilder().build())
5234+
* .build();
5235+
* InternalUpdateGraphOperationResponse response =
5236+
* databaseAdminClient.internalUpdateGraphOperation(request);
5237+
* }
5238+
* }</pre>
5239+
*
5240+
* @param request The request object containing all of the parameters for the API call.
5241+
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
5242+
*/
5243+
public final InternalUpdateGraphOperationResponse internalUpdateGraphOperation(
5244+
InternalUpdateGraphOperationRequest request) {
5245+
return internalUpdateGraphOperationCallable().call(request);
5246+
}
5247+
5248+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
5249+
/**
5250+
* This is an internal API called by Spanner Graph jobs. You should never need to call this API
5251+
* directly.
5252+
*
5253+
* <p>Sample code:
5254+
*
5255+
* <pre>{@code
5256+
* // This snippet has been automatically generated and should be regarded as a code template only.
5257+
* // It will require modifications to work:
5258+
* // - It may require correct/in-range values for request initialization.
5259+
* // - It may require specifying regional endpoints when creating the service client as shown in
5260+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
5261+
* try (DatabaseAdminClient databaseAdminClient = DatabaseAdminClient.create()) {
5262+
* InternalUpdateGraphOperationRequest request =
5263+
* InternalUpdateGraphOperationRequest.newBuilder()
5264+
* .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
5265+
* .setOperationId("operationId129704162")
5266+
* .setVmIdentityToken("vmIdentityToken-417652124")
5267+
* .setProgress(-1001078227)
5268+
* .setStatus(Status.newBuilder().build())
5269+
* .build();
5270+
* ApiFuture<InternalUpdateGraphOperationResponse> future =
5271+
* databaseAdminClient.internalUpdateGraphOperationCallable().futureCall(request);
5272+
* // Do something.
5273+
* InternalUpdateGraphOperationResponse response = future.get();
5274+
* }
5275+
* }</pre>
5276+
*/
5277+
public final UnaryCallable<
5278+
InternalUpdateGraphOperationRequest, InternalUpdateGraphOperationResponse>
5279+
internalUpdateGraphOperationCallable() {
5280+
return stub.internalUpdateGraphOperationCallable();
5281+
}
5282+
51225283
@Override
51235284
public final void close() {
51245285
stub.close();

0 commit comments

Comments
 (0)