Skip to content

Commit 0f6774a

Browse files
chore: Update generation configuration at Thu Jul 24 18:15:29 UTC 2025 (#2204)
* chore: Update generation configuration at Thu Jul 24 18:15:29 UTC 2025 * chore: generate libraries at Thu Jul 24 18:15:59 UTC 2025
1 parent 7301774 commit 0f6774a

File tree

14 files changed

+1267
-208
lines changed

14 files changed

+1267
-208
lines changed

.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 }}

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-firestore'
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.60.1
2-
googleapis_commitish: e0ccc57ed01b0057222f865de5765b7e453cfd81
3-
libraries_bom_version: 26.61.0
1+
gapic_generator_version: 2.60.2
2+
googleapis_commitish: fb0d8ac09cd1c2d94e9da572f0ad4692c8781410
3+
libraries_bom_version: 26.64.0
44
libraries:
55
- api_shortname: firestore
66
name_pretty: Cloud Firestore

google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminClient.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4312,6 +4312,7 @@ public final UnaryCallable<DeleteBackupRequest, Empty> deleteBackupCallable() {
43124312
* .setDatabaseId("databaseId1688905718")
43134313
* .setBackup(BackupName.of("[PROJECT]", "[LOCATION]", "[BACKUP]").toString())
43144314
* .setEncryptionConfig(Database.EncryptionConfig.newBuilder().build())
4315+
* .putAllTags(new HashMap<String, String>())
43154316
* .build();
43164317
* Database response = firestoreAdminClient.restoreDatabaseAsync(request).get();
43174318
* }
@@ -4357,6 +4358,7 @@ public final OperationFuture<Database, RestoreDatabaseMetadata> restoreDatabaseA
43574358
* .setDatabaseId("databaseId1688905718")
43584359
* .setBackup(BackupName.of("[PROJECT]", "[LOCATION]", "[BACKUP]").toString())
43594360
* .setEncryptionConfig(Database.EncryptionConfig.newBuilder().build())
4361+
* .putAllTags(new HashMap<String, String>())
43604362
* .build();
43614363
* OperationFuture<Database, RestoreDatabaseMetadata> future =
43624364
* firestoreAdminClient.restoreDatabaseOperationCallable().futureCall(request);
@@ -4402,6 +4404,7 @@ public final OperationFuture<Database, RestoreDatabaseMetadata> restoreDatabaseA
44024404
* .setDatabaseId("databaseId1688905718")
44034405
* .setBackup(BackupName.of("[PROJECT]", "[LOCATION]", "[BACKUP]").toString())
44044406
* .setEncryptionConfig(Database.EncryptionConfig.newBuilder().build())
4407+
* .putAllTags(new HashMap<String, String>())
44054408
* .build();
44064409
* ApiFuture<Operation> future =
44074410
* firestoreAdminClient.restoreDatabaseCallable().futureCall(request);

google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientHttpJsonTest.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
import java.io.IOException;
6464
import java.util.ArrayList;
6565
import java.util.Arrays;
66+
import java.util.HashMap;
6667
import java.util.List;
6768
import java.util.concurrent.ExecutionException;
6869
import javax.annotation.Generated;
@@ -1051,6 +1052,7 @@ public void createDatabaseTest() throws Exception {
10511052
.setCmekConfig(Database.CmekConfig.newBuilder().build())
10521053
.setPreviousId("previousId-32447886")
10531054
.setSourceInfo(Database.SourceInfo.newBuilder().build())
1055+
.putAllTags(new HashMap<String, String>())
10541056
.setFreeTier(true)
10551057
.setEtag("etag3123477")
10561058
.build();
@@ -1117,6 +1119,7 @@ public void createDatabaseTest2() throws Exception {
11171119
.setCmekConfig(Database.CmekConfig.newBuilder().build())
11181120
.setPreviousId("previousId-32447886")
11191121
.setSourceInfo(Database.SourceInfo.newBuilder().build())
1122+
.putAllTags(new HashMap<String, String>())
11201123
.setFreeTier(true)
11211124
.setEtag("etag3123477")
11221125
.build();
@@ -1183,6 +1186,7 @@ public void getDatabaseTest() throws Exception {
11831186
.setCmekConfig(Database.CmekConfig.newBuilder().build())
11841187
.setPreviousId("previousId-32447886")
11851188
.setSourceInfo(Database.SourceInfo.newBuilder().build())
1189+
.putAllTags(new HashMap<String, String>())
11861190
.setFreeTier(true)
11871191
.setEtag("etag3123477")
11881192
.build();
@@ -1240,6 +1244,7 @@ public void getDatabaseTest2() throws Exception {
12401244
.setCmekConfig(Database.CmekConfig.newBuilder().build())
12411245
.setPreviousId("previousId-32447886")
12421246
.setSourceInfo(Database.SourceInfo.newBuilder().build())
1247+
.putAllTags(new HashMap<String, String>())
12431248
.setFreeTier(true)
12441249
.setEtag("etag3123477")
12451250
.build();
@@ -1387,6 +1392,7 @@ public void updateDatabaseTest() throws Exception {
13871392
.setCmekConfig(Database.CmekConfig.newBuilder().build())
13881393
.setPreviousId("previousId-32447886")
13891394
.setSourceInfo(Database.SourceInfo.newBuilder().build())
1395+
.putAllTags(new HashMap<String, String>())
13901396
.setFreeTier(true)
13911397
.setEtag("etag3123477")
13921398
.build();
@@ -1412,6 +1418,7 @@ public void updateDatabaseTest() throws Exception {
14121418
.setCmekConfig(Database.CmekConfig.newBuilder().build())
14131419
.setPreviousId("previousId-32447886")
14141420
.setSourceInfo(Database.SourceInfo.newBuilder().build())
1421+
.putAllTags(new HashMap<String, String>())
14151422
.setFreeTier(true)
14161423
.setEtag("etag3123477")
14171424
.build();
@@ -1457,6 +1464,7 @@ public void updateDatabaseExceptionTest() throws Exception {
14571464
.setCmekConfig(Database.CmekConfig.newBuilder().build())
14581465
.setPreviousId("previousId-32447886")
14591466
.setSourceInfo(Database.SourceInfo.newBuilder().build())
1467+
.putAllTags(new HashMap<String, String>())
14601468
.setFreeTier(true)
14611469
.setEtag("etag3123477")
14621470
.build();
@@ -1483,6 +1491,7 @@ public void deleteDatabaseTest() throws Exception {
14831491
.setCmekConfig(Database.CmekConfig.newBuilder().build())
14841492
.setPreviousId("previousId-32447886")
14851493
.setSourceInfo(Database.SourceInfo.newBuilder().build())
1494+
.putAllTags(new HashMap<String, String>())
14861495
.setFreeTier(true)
14871496
.setEtag("etag3123477")
14881497
.build();
@@ -1545,6 +1554,7 @@ public void deleteDatabaseTest2() throws Exception {
15451554
.setCmekConfig(Database.CmekConfig.newBuilder().build())
15461555
.setPreviousId("previousId-32447886")
15471556
.setSourceInfo(Database.SourceInfo.newBuilder().build())
1557+
.putAllTags(new HashMap<String, String>())
15481558
.setFreeTier(true)
15491559
.setEtag("etag3123477")
15501560
.build();
@@ -2517,6 +2527,7 @@ public void restoreDatabaseTest() throws Exception {
25172527
.setCmekConfig(Database.CmekConfig.newBuilder().build())
25182528
.setPreviousId("previousId-32447886")
25192529
.setSourceInfo(Database.SourceInfo.newBuilder().build())
2530+
.putAllTags(new HashMap<String, String>())
25202531
.setFreeTier(true)
25212532
.setEtag("etag3123477")
25222533
.build();
@@ -2534,6 +2545,7 @@ public void restoreDatabaseTest() throws Exception {
25342545
.setDatabaseId("databaseId1688905718")
25352546
.setBackup(BackupName.of("[PROJECT]", "[LOCATION]", "[BACKUP]").toString())
25362547
.setEncryptionConfig(Database.EncryptionConfig.newBuilder().build())
2548+
.putAllTags(new HashMap<String, String>())
25372549
.build();
25382550

25392551
Database actualResponse = client.restoreDatabaseAsync(request).get();
@@ -2568,6 +2580,7 @@ public void restoreDatabaseExceptionTest() throws Exception {
25682580
.setDatabaseId("databaseId1688905718")
25692581
.setBackup(BackupName.of("[PROJECT]", "[LOCATION]", "[BACKUP]").toString())
25702582
.setEncryptionConfig(Database.EncryptionConfig.newBuilder().build())
2583+
.putAllTags(new HashMap<String, String>())
25712584
.build();
25722585
client.restoreDatabaseAsync(request).get();
25732586
Assert.fail("No exception raised");

google-cloud-firestore-admin/src/test/java/com/google/cloud/firestore/v1/FirestoreAdminClientTest.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
import java.io.IOException;
9494
import java.util.ArrayList;
9595
import java.util.Arrays;
96+
import java.util.HashMap;
9697
import java.util.List;
9798
import java.util.UUID;
9899
import java.util.concurrent.ExecutionException;
@@ -980,6 +981,7 @@ public void createDatabaseTest() throws Exception {
980981
.setCmekConfig(Database.CmekConfig.newBuilder().build())
981982
.setPreviousId("previousId-32447886")
982983
.setSourceInfo(Database.SourceInfo.newBuilder().build())
984+
.putAllTags(new HashMap<String, String>())
983985
.setFreeTier(true)
984986
.setEtag("etag3123477")
985987
.build();
@@ -1045,6 +1047,7 @@ public void createDatabaseTest2() throws Exception {
10451047
.setCmekConfig(Database.CmekConfig.newBuilder().build())
10461048
.setPreviousId("previousId-32447886")
10471049
.setSourceInfo(Database.SourceInfo.newBuilder().build())
1050+
.putAllTags(new HashMap<String, String>())
10481051
.setFreeTier(true)
10491052
.setEtag("etag3123477")
10501053
.build();
@@ -1110,6 +1113,7 @@ public void getDatabaseTest() throws Exception {
11101113
.setCmekConfig(Database.CmekConfig.newBuilder().build())
11111114
.setPreviousId("previousId-32447886")
11121115
.setSourceInfo(Database.SourceInfo.newBuilder().build())
1116+
.putAllTags(new HashMap<String, String>())
11131117
.setFreeTier(true)
11141118
.setEtag("etag3123477")
11151119
.build();
@@ -1161,6 +1165,7 @@ public void getDatabaseTest2() throws Exception {
11611165
.setCmekConfig(Database.CmekConfig.newBuilder().build())
11621166
.setPreviousId("previousId-32447886")
11631167
.setSourceInfo(Database.SourceInfo.newBuilder().build())
1168+
.putAllTags(new HashMap<String, String>())
11641169
.setFreeTier(true)
11651170
.setEtag("etag3123477")
11661171
.build();
@@ -1290,6 +1295,7 @@ public void updateDatabaseTest() throws Exception {
12901295
.setCmekConfig(Database.CmekConfig.newBuilder().build())
12911296
.setPreviousId("previousId-32447886")
12921297
.setSourceInfo(Database.SourceInfo.newBuilder().build())
1298+
.putAllTags(new HashMap<String, String>())
12931299
.setFreeTier(true)
12941300
.setEtag("etag3123477")
12951301
.build();
@@ -1352,6 +1358,7 @@ public void deleteDatabaseTest() throws Exception {
13521358
.setCmekConfig(Database.CmekConfig.newBuilder().build())
13531359
.setPreviousId("previousId-32447886")
13541360
.setSourceInfo(Database.SourceInfo.newBuilder().build())
1361+
.putAllTags(new HashMap<String, String>())
13551362
.setFreeTier(true)
13561363
.setEtag("etag3123477")
13571364
.build();
@@ -1411,6 +1418,7 @@ public void deleteDatabaseTest2() throws Exception {
14111418
.setCmekConfig(Database.CmekConfig.newBuilder().build())
14121419
.setPreviousId("previousId-32447886")
14131420
.setSourceInfo(Database.SourceInfo.newBuilder().build())
1421+
.putAllTags(new HashMap<String, String>())
14141422
.setFreeTier(true)
14151423
.setEtag("etag3123477")
14161424
.build();
@@ -2264,6 +2272,7 @@ public void restoreDatabaseTest() throws Exception {
22642272
.setCmekConfig(Database.CmekConfig.newBuilder().build())
22652273
.setPreviousId("previousId-32447886")
22662274
.setSourceInfo(Database.SourceInfo.newBuilder().build())
2275+
.putAllTags(new HashMap<String, String>())
22672276
.setFreeTier(true)
22682277
.setEtag("etag3123477")
22692278
.build();
@@ -2281,6 +2290,7 @@ public void restoreDatabaseTest() throws Exception {
22812290
.setDatabaseId("databaseId1688905718")
22822291
.setBackup(BackupName.of("[PROJECT]", "[LOCATION]", "[BACKUP]").toString())
22832292
.setEncryptionConfig(Database.EncryptionConfig.newBuilder().build())
2293+
.putAllTags(new HashMap<String, String>())
22842294
.build();
22852295

22862296
Database actualResponse = client.restoreDatabaseAsync(request).get();
@@ -2294,6 +2304,7 @@ public void restoreDatabaseTest() throws Exception {
22942304
Assert.assertEquals(request.getDatabaseId(), actualRequest.getDatabaseId());
22952305
Assert.assertEquals(request.getBackup(), actualRequest.getBackup());
22962306
Assert.assertEquals(request.getEncryptionConfig(), actualRequest.getEncryptionConfig());
2307+
Assert.assertEquals(request.getTagsMap(), actualRequest.getTagsMap());
22972308
Assert.assertTrue(
22982309
channelProvider.isHeaderSent(
22992310
ApiClientHeaderProvider.getDefaultApiClientHeaderKey(),
@@ -2312,6 +2323,7 @@ public void restoreDatabaseExceptionTest() throws Exception {
23122323
.setDatabaseId("databaseId1688905718")
23132324
.setBackup(BackupName.of("[PROJECT]", "[LOCATION]", "[BACKUP]").toString())
23142325
.setEncryptionConfig(Database.EncryptionConfig.newBuilder().build())
2326+
.putAllTags(new HashMap<String, String>())
23152327
.build();
23162328
client.restoreDatabaseAsync(request).get();
23172329
Assert.fail("No exception raised");

0 commit comments

Comments
 (0)