Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Commit f88aaef

Browse files
chore: Update gapic-generator-python to v1.23.2 (#899)
* chore: Update gapic-generator-python to v1.23.2 PiperOrigin-RevId: 732281673 Source-Link: googleapis/googleapis@2f37e0a Source-Link: googleapis/googleapis-gen@016b753 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDE2Yjc1MzhiYTVhNzk4ZjJhZTQyM2Q0Y2NkN2Y4MmIwNmNkZjZkMiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 02ac7a9 commit f88aaef

File tree

11 files changed

+153
-63
lines changed

11 files changed

+153
-63
lines changed

.kokoro/docker/docs/requirements.txt

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ argcomplete==3.5.3 \
88
--hash=sha256:2ab2c4a215c59fd6caaff41a869480a23e8f6a5f910b266c1808037f4e375b61 \
99
--hash=sha256:c12bf50eded8aebb298c7b7da7a5ff3ee24dffd9f5281867dfe1424b58c55392
1010
# via nox
11-
cachetools==5.5.2 \
12-
--hash=sha256:1a661caa9175d26759571b2e19580f9d6393969e5dfca11fdb1f947a23e640d4 \
13-
--hash=sha256:d26a22bcc62eb95c3beabd9f1ee5e820d3d2704fe2967cbe350e20c8ffcd3f0a
11+
cachetools==5.5.0 \
12+
--hash=sha256:02134e8439cdc2ffb62023ce1debca2944c3f289d66bb17ead3ab3dede74b292 \
13+
--hash=sha256:2cc24fb4cbe39633fb7badd9db9ca6295d766d9c2995f245725a46715d050f2a
1414
# via google-auth
15-
certifi==2025.1.31 \
16-
--hash=sha256:3d5da6925056f6f18f119200434a4780a94263f10d1c21d032a6f6b2baa20651 \
17-
--hash=sha256:ca78db4565a652026a4db2bcdf68f2fb589ea80d0be70e03929ed730746b84fe
15+
certifi==2024.12.14 \
16+
--hash=sha256:1275f7a45be9464efc1173084eaa30f866fe2e47d389406136d332ed4967ec56 \
17+
--hash=sha256:b650d30f370c2b724812bee08008be0c4163b163ddaec3f2546c1caf65f191db
1818
# via requests
1919
charset-normalizer==3.4.1 \
2020
--hash=sha256:0167ddc8ab6508fe81860a57dd472b2ef4060e8d378f0cc555707126830f2537 \
@@ -124,34 +124,34 @@ distlib==0.3.9 \
124124
--hash=sha256:47f8c22fd27c27e25a65601af709b38e4f0a45ea4fc2e710f65755fa8caaaf87 \
125125
--hash=sha256:a60f20dea646b8a33f3e7772f74dc0b2d0772d2837ee1342a00645c81edf9403
126126
# via virtualenv
127-
filelock==3.17.0 \
128-
--hash=sha256:533dc2f7ba78dc2f0f531fc6c4940addf7b70a481e269a5a3b93be94ffbe8338 \
129-
--hash=sha256:ee4e77401ef576ebb38cd7f13b9b28893194acc20a8e68e18730ba9c0e54660e
127+
filelock==3.16.1 \
128+
--hash=sha256:2082e5703d51fbf98ea75855d9d5527e33d8ff23099bec374a134febee6946b0 \
129+
--hash=sha256:c249fbfcd5db47e5e2d6d62198e565475ee65e4831e2561c8e313fa7eb961435
130130
# via virtualenv
131131
gcp-docuploader==0.6.5 \
132132
--hash=sha256:30221d4ac3e5a2b9c69aa52fdbef68cc3f27d0e6d0d90e220fc024584b8d2318 \
133133
--hash=sha256:b7458ef93f605b9d46a4bf3a8dc1755dad1f31d030c8679edf304e343b347eea
134134
# via -r requirements.in
135-
google-api-core==2.24.1 \
136-
--hash=sha256:bc78d608f5a5bf853b80bd70a795f703294de656c096c0968320830a4bc280f1 \
137-
--hash=sha256:f8b36f5456ab0dd99a1b693a40a31d1e7757beea380ad1b38faaf8941eae9d8a
135+
google-api-core==2.24.0 \
136+
--hash=sha256:10d82ac0fca69c82a25b3efdeefccf6f28e02ebb97925a8cce8edbfe379929d9 \
137+
--hash=sha256:e255640547a597a4da010876d333208ddac417d60add22b6851a0c66a831fcaf
138138
# via
139139
# google-cloud-core
140140
# google-cloud-storage
141-
google-auth==2.38.0 \
142-
--hash=sha256:8285113607d3b80a3f1543b75962447ba8a09fe85783432a784fdeef6ac094c4 \
143-
--hash=sha256:e7dae6694313f434a2727bf2906f27ad259bae090d7aa896590d86feec3d9d4a
141+
google-auth==2.37.0 \
142+
--hash=sha256:0054623abf1f9c83492c63d3f47e77f0a544caa3d40b2d98e099a611c2dd5d00 \
143+
--hash=sha256:42664f18290a6be591be5329a96fe30184be1a1badb7292a7f686a9659de9ca0
144144
# via
145145
# google-api-core
146146
# google-cloud-core
147147
# google-cloud-storage
148-
google-cloud-core==2.4.2 \
149-
--hash=sha256:7459c3e83de7cb8b9ecfec9babc910efb4314030c56dd798eaad12c426f7d180 \
150-
--hash=sha256:a4fcb0e2fcfd4bfe963837fad6d10943754fd79c1a50097d68540b6eb3d67f35
148+
google-cloud-core==2.4.1 \
149+
--hash=sha256:9b7749272a812bde58fff28868d0c5e2f585b82f37e09a1f6ed2d4d10f134073 \
150+
--hash=sha256:a9e6a4422b9ac5c29f79a0ede9485473338e2ce78d91f2370c01e730eab22e61
151151
# via google-cloud-storage
152-
google-cloud-storage==3.1.0 \
153-
--hash=sha256:944273179897c7c8a07ee15f2e6466a02da0c7c4b9ecceac2a26017cb2972049 \
154-
--hash=sha256:eaf36966b68660a9633f03b067e4a10ce09f1377cae3ff9f2c699f69a81c66c6
152+
google-cloud-storage==2.19.0 \
153+
--hash=sha256:aeb971b5c29cf8ab98445082cbfe7b161a1f48ed275822f59ed3f1524ea54fba \
154+
--hash=sha256:cd05e9e7191ba6cb68934d8eb76054d9be4562aa89dbc4236feee4d7d51342b2
155155
# via gcp-docuploader
156156
google-crc32c==1.6.0 \
157157
--hash=sha256:05e2d8c9a2f853ff116db9706b4a27350587f341eda835f46db3c0a8c8ce2f24 \
@@ -188,17 +188,17 @@ google-resumable-media==2.7.2 \
188188
--hash=sha256:3ce7551e9fe6d99e9a126101d2536612bb73486721951e9562fee0f90c6ababa \
189189
--hash=sha256:5280aed4629f2b60b847b0d42f9857fd4935c11af266744df33d8074cae92fe0
190190
# via google-cloud-storage
191-
googleapis-common-protos==1.68.0 \
192-
--hash=sha256:95d38161f4f9af0d9423eed8fb7b64ffd2568c3464eb542ff02c5bfa1953ab3c \
193-
--hash=sha256:aaf179b2f81df26dfadac95def3b16a95064c76a5f45f07e4c68a21bb371c4ac
191+
googleapis-common-protos==1.66.0 \
192+
--hash=sha256:c3e7b33d15fdca5374cc0a7346dd92ffa847425cc4ea941d970f13680052ec8c \
193+
--hash=sha256:d7abcd75fabb2e0ec9f74466401f6c119a0b498e27370e9be4c94cb7e382b8ed
194194
# via google-api-core
195195
idna==3.10 \
196196
--hash=sha256:12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9 \
197197
--hash=sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3
198198
# via requests
199-
nox==2025.2.9 \
200-
--hash=sha256:7d1e92d1918c6980d70aee9cf1c1d19d16faa71c4afe338fffd39e8a460e2067 \
201-
--hash=sha256:d50cd4ca568bd7621c2e6cbbc4845b3b7f7697f25d5fb0190ce8f4600be79768
199+
nox==2024.10.9 \
200+
--hash=sha256:1d36f309a0a2a853e9bccb76bbef6bb118ba92fa92674d15604ca99adeb29eab \
201+
--hash=sha256:7aa9dc8d1c27e9f45ab046ffd1c3b2c4f7c91755304769df231308849ebded95
202202
# via -r requirements.in
203203
packaging==24.2 \
204204
--hash=sha256:09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759 \
@@ -208,9 +208,9 @@ platformdirs==4.3.6 \
208208
--hash=sha256:357fb2acbc885b0419afd3ce3ed34564c13c9b95c89360cd9563f73aa5e2b907 \
209209
--hash=sha256:73e575e1408ab8103900836b97580d5307456908a03e92031bab39e4554cc3fb
210210
# via virtualenv
211-
proto-plus==1.26.0 \
212-
--hash=sha256:6e93d5f5ca267b54300880fff156b6a3386b3fa3f43b1da62e680fc0c586ef22 \
213-
--hash=sha256:bf2dfaa3da281fc3187d12d224c707cb57214fb2c22ba854eb0c105a3fb2d4d7
211+
proto-plus==1.25.0 \
212+
--hash=sha256:c91fc4a65074ade8e458e95ef8bac34d4008daa7cce4a12d6707066fca648961 \
213+
--hash=sha256:fbb17f57f7bd05a68b7707e745e26528b0b3c34e378db91eef93912c54982d91
214214
# via google-api-core
215215
protobuf==5.29.3 \
216216
--hash=sha256:0a18ed4a24198528f2333802eb075e59dea9d679ab7a6c5efb017a59004d849f \
@@ -291,7 +291,7 @@ urllib3==2.3.0 \
291291
--hash=sha256:1cee9ad369867bfdbbb48b7dd50374c0967a0bb7710050facf0dd6911440e3df \
292292
--hash=sha256:f8c5449b3cf0861679ce7e0503c7b44b5ec981bec0d1d3795a07f1ba96f0204d
293293
# via requests
294-
virtualenv==20.29.2 \
295-
--hash=sha256:fdaabebf6d03b5ba83ae0a02cfe96f48a716f4fae556461d180825866f75b728 \
296-
--hash=sha256:febddfc3d1ea571bdb1dc0f98d7b45d24def7428214d4fb73cc486c9568cce6a
294+
virtualenv==20.28.1 \
295+
--hash=sha256:412773c85d4dab0409b83ec36f7a6499e72eaf08c80e81e9576bca61831c71cb \
296+
--hash=sha256:5d34ab240fdb5d21549b76f9e8ff3af28252f5499fb6d6f031adac4e5a8c5329
297297
# via nox

google/cloud/bigquery_storage_v1/services/big_query_read/async_client.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,10 @@ async def sample_create_read_session():
401401
# Create or coerce a protobuf request object.
402402
# - Quick check: If we got a request object, we should *not* have
403403
# gotten any keyword arguments that map to the request.
404-
has_flattened_params = any([parent, read_session, max_stream_count])
404+
flattened_params = [parent, read_session, max_stream_count]
405+
has_flattened_params = (
406+
len([param for param in flattened_params if param is not None]) > 0
407+
)
405408
if request is not None and has_flattened_params:
406409
raise ValueError(
407410
"If the `request` argument is set, then none of "
@@ -531,7 +534,10 @@ async def sample_read_rows():
531534
# Create or coerce a protobuf request object.
532535
# - Quick check: If we got a request object, we should *not* have
533536
# gotten any keyword arguments that map to the request.
534-
has_flattened_params = any([read_stream, offset])
537+
flattened_params = [read_stream, offset]
538+
has_flattened_params = (
539+
len([param for param in flattened_params if param is not None]) > 0
540+
)
535541
if request is not None and has_flattened_params:
536542
raise ValueError(
537543
"If the `request` argument is set, then none of "

google/cloud/bigquery_storage_v1/services/big_query_read/client.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,10 @@ def sample_create_read_session():
862862
# Create or coerce a protobuf request object.
863863
# - Quick check: If we got a request object, we should *not* have
864864
# gotten any keyword arguments that map to the request.
865-
has_flattened_params = any([parent, read_session, max_stream_count])
865+
flattened_params = [parent, read_session, max_stream_count]
866+
has_flattened_params = (
867+
len([param for param in flattened_params if param is not None]) > 0
868+
)
866869
if request is not None and has_flattened_params:
867870
raise ValueError(
868871
"If the `request` argument is set, then none of "
@@ -989,7 +992,10 @@ def sample_read_rows():
989992
# Create or coerce a protobuf request object.
990993
# - Quick check: If we got a request object, we should *not* have
991994
# gotten any keyword arguments that map to the request.
992-
has_flattened_params = any([read_stream, offset])
995+
flattened_params = [read_stream, offset]
996+
has_flattened_params = (
997+
len([param for param in flattened_params if param is not None]) > 0
998+
)
993999
if request is not None and has_flattened_params:
9941000
raise ValueError(
9951001
"If the `request` argument is set, then none of "

google/cloud/bigquery_storage_v1/services/big_query_write/async_client.py

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,10 @@ async def sample_create_write_stream():
378378
# Create or coerce a protobuf request object.
379379
# - Quick check: If we got a request object, we should *not* have
380380
# gotten any keyword arguments that map to the request.
381-
has_flattened_params = any([parent, write_stream])
381+
flattened_params = [parent, write_stream]
382+
has_flattened_params = (
383+
len([param for param in flattened_params if param is not None]) > 0
384+
)
382385
if request is not None and has_flattened_params:
383386
raise ValueError(
384387
"If the `request` argument is set, then none of "
@@ -618,7 +621,10 @@ async def sample_get_write_stream():
618621
# Create or coerce a protobuf request object.
619622
# - Quick check: If we got a request object, we should *not* have
620623
# gotten any keyword arguments that map to the request.
621-
has_flattened_params = any([name])
624+
flattened_params = [name]
625+
has_flattened_params = (
626+
len([param for param in flattened_params if param is not None]) > 0
627+
)
622628
if request is not None and has_flattened_params:
623629
raise ValueError(
624630
"If the `request` argument is set, then none of "
@@ -724,7 +730,10 @@ async def sample_finalize_write_stream():
724730
# Create or coerce a protobuf request object.
725731
# - Quick check: If we got a request object, we should *not* have
726732
# gotten any keyword arguments that map to the request.
727-
has_flattened_params = any([name])
733+
flattened_params = [name]
734+
has_flattened_params = (
735+
len([param for param in flattened_params if param is not None]) > 0
736+
)
728737
if request is not None and has_flattened_params:
729738
raise ValueError(
730739
"If the `request` argument is set, then none of "
@@ -836,7 +845,10 @@ async def sample_batch_commit_write_streams():
836845
# Create or coerce a protobuf request object.
837846
# - Quick check: If we got a request object, we should *not* have
838847
# gotten any keyword arguments that map to the request.
839-
has_flattened_params = any([parent])
848+
flattened_params = [parent]
849+
has_flattened_params = (
850+
len([param for param in flattened_params if param is not None]) > 0
851+
)
840852
if request is not None and has_flattened_params:
841853
raise ValueError(
842854
"If the `request` argument is set, then none of "
@@ -950,7 +962,10 @@ async def sample_flush_rows():
950962
# Create or coerce a protobuf request object.
951963
# - Quick check: If we got a request object, we should *not* have
952964
# gotten any keyword arguments that map to the request.
953-
has_flattened_params = any([write_stream])
965+
flattened_params = [write_stream]
966+
has_flattened_params = (
967+
len([param for param in flattened_params if param is not None]) > 0
968+
)
954969
if request is not None and has_flattened_params:
955970
raise ValueError(
956971
"If the `request` argument is set, then none of "

google/cloud/bigquery_storage_v1/services/big_query_write/client.py

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,10 @@ def sample_create_write_stream():
818818
# Create or coerce a protobuf request object.
819819
# - Quick check: If we got a request object, we should *not* have
820820
# gotten any keyword arguments that map to the request.
821-
has_flattened_params = any([parent, write_stream])
821+
flattened_params = [parent, write_stream]
822+
has_flattened_params = (
823+
len([param for param in flattened_params if param is not None]) > 0
824+
)
822825
if request is not None and has_flattened_params:
823826
raise ValueError(
824827
"If the `request` argument is set, then none of "
@@ -1053,7 +1056,10 @@ def sample_get_write_stream():
10531056
# Create or coerce a protobuf request object.
10541057
# - Quick check: If we got a request object, we should *not* have
10551058
# gotten any keyword arguments that map to the request.
1056-
has_flattened_params = any([name])
1059+
flattened_params = [name]
1060+
has_flattened_params = (
1061+
len([param for param in flattened_params if param is not None]) > 0
1062+
)
10571063
if request is not None and has_flattened_params:
10581064
raise ValueError(
10591065
"If the `request` argument is set, then none of "
@@ -1156,7 +1162,10 @@ def sample_finalize_write_stream():
11561162
# Create or coerce a protobuf request object.
11571163
# - Quick check: If we got a request object, we should *not* have
11581164
# gotten any keyword arguments that map to the request.
1159-
has_flattened_params = any([name])
1165+
flattened_params = [name]
1166+
has_flattened_params = (
1167+
len([param for param in flattened_params if param is not None]) > 0
1168+
)
11601169
if request is not None and has_flattened_params:
11611170
raise ValueError(
11621171
"If the `request` argument is set, then none of "
@@ -1265,7 +1274,10 @@ def sample_batch_commit_write_streams():
12651274
# Create or coerce a protobuf request object.
12661275
# - Quick check: If we got a request object, we should *not* have
12671276
# gotten any keyword arguments that map to the request.
1268-
has_flattened_params = any([parent])
1277+
flattened_params = [parent]
1278+
has_flattened_params = (
1279+
len([param for param in flattened_params if param is not None]) > 0
1280+
)
12691281
if request is not None and has_flattened_params:
12701282
raise ValueError(
12711283
"If the `request` argument is set, then none of "
@@ -1378,7 +1390,10 @@ def sample_flush_rows():
13781390
# Create or coerce a protobuf request object.
13791391
# - Quick check: If we got a request object, we should *not* have
13801392
# gotten any keyword arguments that map to the request.
1381-
has_flattened_params = any([write_stream])
1393+
flattened_params = [write_stream]
1394+
has_flattened_params = (
1395+
len([param for param in flattened_params if param is not None]) > 0
1396+
)
13821397
if request is not None and has_flattened_params:
13831398
raise ValueError(
13841399
"If the `request` argument is set, then none of "

google/cloud/bigquery_storage_v1alpha/services/metastore_partition_service/async_client.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,10 @@ async def sample_list_metastore_partitions():
652652
# Create or coerce a protobuf request object.
653653
# - Quick check: If we got a request object, we should *not* have
654654
# gotten any keyword arguments that map to the request.
655-
has_flattened_params = any([parent])
655+
flattened_params = [parent]
656+
has_flattened_params = (
657+
len([param for param in flattened_params if param is not None]) > 0
658+
)
656659
if request is not None and has_flattened_params:
657660
raise ValueError(
658661
"If the `request` argument is set, then none of "

google/cloud/bigquery_storage_v1alpha/services/metastore_partition_service/client.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1089,7 +1089,10 @@ def sample_list_metastore_partitions():
10891089
# Create or coerce a protobuf request object.
10901090
# - Quick check: If we got a request object, we should *not* have
10911091
# gotten any keyword arguments that map to the request.
1092-
has_flattened_params = any([parent])
1092+
flattened_params = [parent]
1093+
has_flattened_params = (
1094+
len([param for param in flattened_params if param is not None]) > 0
1095+
)
10931096
if request is not None and has_flattened_params:
10941097
raise ValueError(
10951098
"If the `request` argument is set, then none of "

google/cloud/bigquery_storage_v1beta2/services/big_query_read/async_client.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,10 @@ async def sample_create_read_session():
405405
# Create or coerce a protobuf request object.
406406
# - Quick check: If we got a request object, we should *not* have
407407
# gotten any keyword arguments that map to the request.
408-
has_flattened_params = any([parent, read_session, max_stream_count])
408+
flattened_params = [parent, read_session, max_stream_count]
409+
has_flattened_params = (
410+
len([param for param in flattened_params if param is not None]) > 0
411+
)
409412
if request is not None and has_flattened_params:
410413
raise ValueError(
411414
"If the `request` argument is set, then none of "
@@ -535,7 +538,10 @@ async def sample_read_rows():
535538
# Create or coerce a protobuf request object.
536539
# - Quick check: If we got a request object, we should *not* have
537540
# gotten any keyword arguments that map to the request.
538-
has_flattened_params = any([read_stream, offset])
541+
flattened_params = [read_stream, offset]
542+
has_flattened_params = (
543+
len([param for param in flattened_params if param is not None]) > 0
544+
)
539545
if request is not None and has_flattened_params:
540546
raise ValueError(
541547
"If the `request` argument is set, then none of "

google/cloud/bigquery_storage_v1beta2/services/big_query_read/client.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,10 @@ def sample_create_read_session():
866866
# Create or coerce a protobuf request object.
867867
# - Quick check: If we got a request object, we should *not* have
868868
# gotten any keyword arguments that map to the request.
869-
has_flattened_params = any([parent, read_session, max_stream_count])
869+
flattened_params = [parent, read_session, max_stream_count]
870+
has_flattened_params = (
871+
len([param for param in flattened_params if param is not None]) > 0
872+
)
870873
if request is not None and has_flattened_params:
871874
raise ValueError(
872875
"If the `request` argument is set, then none of "
@@ -993,7 +996,10 @@ def sample_read_rows():
993996
# Create or coerce a protobuf request object.
994997
# - Quick check: If we got a request object, we should *not* have
995998
# gotten any keyword arguments that map to the request.
996-
has_flattened_params = any([read_stream, offset])
999+
flattened_params = [read_stream, offset]
1000+
has_flattened_params = (
1001+
len([param for param in flattened_params if param is not None]) > 0
1002+
)
9971003
if request is not None and has_flattened_params:
9981004
raise ValueError(
9991005
"If the `request` argument is set, then none of "

0 commit comments

Comments
 (0)