Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1390 commits
Select commit Hold shift + click to select a range
8d81ae0
chore(main): release 1.17.1 (#2018)
release-please[bot] Apr 26, 2024
1f56604
feat: add support for reading google.api.api_version (#1999)
parthea May 8, 2024
ae1cf6f
chore(deps): update dependency jinja2 to v3.1.4 [security] (#2026)
renovate-bot May 8, 2024
7e1b198
chore(main): release 1.18.0 (#2029)
release-please[bot] May 8, 2024
035f79c
fix: fix credentials typing issue in transport layer (#2043)
parthea Jun 20, 2024
e5e5d26
fix: allow protobuf 5.x (#2042)
parthea Jun 20, 2024
deabb4d
chore(main): release 1.18.1 (#2045)
release-please[bot] Jun 20, 2024
74e1505
chore(deps): update dependency urllib3 to v2.2.2 [security] (#2041)
renovate-bot Jun 20, 2024
148d272
chore(deps): update dependency requests to v2.32.2 [security] (#2039)
renovate-bot Jun 20, 2024
b1f8440
chore: fix AwaitableMock test coverage (#2050)
daniel-sanche Jun 25, 2024
0d0859d
chore(main): release 1.18.2 (#2052)
release-please[bot] Jul 2, 2024
b6ab1e2
chore: update templated files (#2056)
gcf-owl-bot[bot] Jul 3, 2024
75294fd
chore(python): use python 3.10 for docs build (#2062)
gcf-owl-bot[bot] Jul 9, 2024
89d2a45
chore(deps): update dependency certifi to v2024.7.4 [security] (#2058)
renovate-bot Jul 9, 2024
bb4a9be
chore(deps): update all dependencies (#2000)
renovate-bot Jul 15, 2024
d2ce174
fix: allow pyi files to be included in the output of py_gapic_assembl…
parthea Jul 18, 2024
e263737
fix: retry and timeout values do not propagate in requests during pag…
parthea Jul 23, 2024
211fc0a
chore(main): release 1.18.3 (#2063)
release-please[bot] Jul 23, 2024
b0755c3
chore(deps): update all dependencies (#2064)
renovate-bot Jul 24, 2024
bd9dff0
fix: fix AttributeError with AsyncRetry (#2072)
parthea Jul 26, 2024
71b80eb
chore(main): release 1.18.4 (#2075)
release-please[bot] Jul 26, 2024
b028433
chore(deps): update all dependencies (#2081)
renovate-bot Jul 30, 2024
69ef46b
fix: require google.shopping.type >= 0.1.6 (#2083)
parthea Jul 30, 2024
a698598
fix: mypy types in get_transport (#2088)
daniel-sanche Aug 6, 2024
87a806c
build: fix mypy (#2092)
parthea Aug 6, 2024
a4fcd75
chore(deps): update all dependencies (#2090)
renovate-bot Aug 6, 2024
cbcf1a7
chore(python): fix docs build (#2086)
gcf-owl-bot[bot] Aug 6, 2024
4951fd3
chore: fix mock runtime warnings (#2085)
daniel-sanche Aug 6, 2024
47324d4
chore(main): release 1.18.5 (#2084)
release-please[bot] Aug 6, 2024
7cd4e6f
feat: leverage async anonymous credentials in tests (#2105)
ohmayr Aug 26, 2024
6b9b839
build: update googleapis-common-protos (#2109)
parthea Aug 27, 2024
f498b2f
cleanup: refactor rest transport class in gapics (#2099)
ohmayr Aug 27, 2024
315e30d
process: move assertion outside of `pytest.raises` context in showcas…
ohmayr Aug 27, 2024
52d2ccd
cleanup: refactor empty call test macro (#2110)
ohmayr Aug 28, 2024
f71d69d
feat: Add support for reading ClientLibrarySettings from service conf…
parthea Aug 29, 2024
33fc935
chore: refactor wrap method helper into a macro (#2111)
ohmayr Aug 30, 2024
c0ce83f
chore: Update response method macro to support async calls (#2113)
ohmayr Aug 30, 2024
7811826
chore: support async in rest call common macro (#2114)
ohmayr Aug 30, 2024
2b98655
chore: add default library settings (#2120)
parthea Aug 30, 2024
dc5b4ef
chore(deps): update all dependencies (#2125)
renovate-bot Sep 3, 2024
fb2b94e
chore: optionally generate async rest and client files (#2122)
ohmayr Sep 4, 2024
367c140
feat: implement async rest transport constructor (#2123)
ohmayr Sep 5, 2024
9243f30
chore: refactor empty_call_test (#2126)
parthea Sep 14, 2024
b1ef974
test: improve routing parameter assert (#2131)
parthea Sep 16, 2024
2ca283e
fix: resolve issue where explicit routing metadata was not sent in as…
parthea Sep 18, 2024
f87d3c4
chore(deps): update all dependencies (#2162)
renovate-bot Sep 20, 2024
3374a68
chore: update dependencies (#2185)
parthea Sep 20, 2024
3307b1a
chore(deps): update all dependencies (#2190)
renovate-bot Sep 23, 2024
4b2e890
fix: add support for field with name 'self' (#2205)
parthea Oct 8, 2024
a42469e
feat: add async rest transport support in gapics (#2164)
ohmayr Oct 8, 2024
5670e04
chore: update api-core version in async extra (#2210)
ohmayr Oct 9, 2024
013dcae
test: add routing parameter and empty call test for REST (#2165)
parthea Oct 9, 2024
ecc9865
chore(deps): update all dependencies (#2202)
renovate-bot Oct 9, 2024
ae2f632
fix: streaming for sync REST API calls (#2204)
ohmayr Oct 9, 2024
4da2bf1
chore(main): release 1.19.0 (#2108)
release-please[bot] Oct 9, 2024
842e324
fix: add default library settings for incorrect lib version (#2212)
ohmayr Oct 10, 2024
a4d42b4
fix: use disambiguated name for rpcs to avoid collisions (#2217)
parthea Oct 10, 2024
f84b46e
fix: resolve issue with wait operation mixin (#2218)
parthea Oct 10, 2024
0faf062
build: add asyncio to requirements.txt (#2219)
parthea Oct 10, 2024
ee5a318
chore: update templated files (#2220)
parthea Oct 10, 2024
afc5591
chore(main): release 1.19.1 (#2216)
release-please[bot] Oct 10, 2024
0ee5ab4
build: add presubmits for unit tests in golden files (#2224)
parthea Oct 16, 2024
6f4474e
tests: Add required checks for showcase `_w_rest_async` (#2225)
parthea Oct 16, 2024
3978deb
fix: allow `google-cloud-kms` 3.x (#2226)
parthea Oct 16, 2024
5e6cf56
chore: update rest version in client info (#2228)
ohmayr Oct 16, 2024
6712aaf
fix: Added underscores in services/types in index.rst.j2 (#2232)
gkevinzheng Oct 22, 2024
866025a
feat: Add support for Python 3.13 (#2215)
parthea Oct 23, 2024
588b915
chore(main): release 1.20.0 (#2227)
release-please[bot] Oct 23, 2024
265858d
fix: allow google-cloud-documentai 3.x (#2237)
parthea Oct 25, 2024
acf866f
chore(main): release 1.20.1 (#2238)
release-please[bot] Oct 28, 2024
7ffa74e
build: release script update (#2235)
parthea Oct 29, 2024
0fdc38e
fix: disable universe-domain validation (#2236)
Oct 30, 2024
7c22dce
chore(main): release 1.20.2 (#2240)
release-please[bot] Oct 30, 2024
b2ed385
chore: update dependencies (#2248)
parthea Nov 13, 2024
93bbaa2
chore(python): update dependencies in .kokoro/docker/docs (#2247)
gcf-owl-bot[bot] Nov 14, 2024
d8667ca
chore(deps): update all dependencies (#2252)
renovate-bot Nov 19, 2024
800a907
chore: add template for metadata (#2253)
parthea Nov 19, 2024
8426642
fix: fix typing issue with gRPC metadata when key ends in -bin (#2251)
parthea Nov 22, 2024
b5cc758
chore(deps): update all dependencies (#2260)
renovate-bot Nov 25, 2024
96f1810
chore(deps): update all dependencies (#2267)
renovate-bot Dec 2, 2024
9b9249a
feat: add debug log when creating client (#2265)
ohmayr Dec 3, 2024
3d792f4
feat: add debug log when sending requests via REST (#2270)
parthea Dec 6, 2024
233dc9c
chore(logging): standardize logging in _shared_macros (#2277)
vchudnov-g Dec 9, 2024
1044768
chore: skip logging for streaming rest RPCs (#2280)
ohmayr Dec 9, 2024
70753b4
chore: add test coverage for debug logging (#2281)
ohmayr Dec 10, 2024
0af7cf4
fix(log): preserve dict of rest async response headers (#2288)
vchudnov-g Dec 10, 2024
d964d09
feat: add client logging support for sync gRPC (#2284)
ohmayr Dec 11, 2024
fffa457
feat: add client debug logging support for async gRPC (#2291)
ohmayr Dec 11, 2024
102a1fd
chore(main): release 1.21.0 (#2259)
release-please[bot] Dec 11, 2024
96e5fe3
chore(python): update dependencies in .kokoro/docker/docs (#2298)
gcf-owl-bot[bot] Dec 18, 2024
b3fe7a2
chore(deps): update all dependencies (#2278)
renovate-bot Dec 18, 2024
52f3575
feat: Add REST Interceptors to support reading metadata (#2299)
parthea Dec 18, 2024
def8ec5
build: Use Ubuntu 22.04 for tests that require the use of Python 3.7 …
gkevinzheng Dec 20, 2024
91b29b6
feat: add cred info to auth related errors (#2115)
arithmetic1728 Jan 9, 2025
332a50f
tests: remove generated routing parameter test for bidi/client side s…
parthea Jan 22, 2025
d66d418
chore: add documentation for logging (#2308)
ohmayr Jan 24, 2025
c03b1b6
feat: Add support for reading selective GAPIC generation methods from…
gkevinzheng Jan 28, 2025
3ba958a
chore(python): fix docs publish build (#2311)
gcf-owl-bot[bot] Jan 28, 2025
9162593
chore(deps): update all dependencies (#2305)
renovate-bot Jan 30, 2025
78acc0c
chore(main): release 1.22.0 (#2302)
release-please[bot] Jan 30, 2025
9cb386f
build: update all dependencies (#2321)
parthea Feb 6, 2025
e9d0d86
fix(deps): require grpc-google-iam-v1>=0.14.0 (#2327)
parthea Feb 12, 2025
ea16313
chore(main): release 1.22.1 (#2328)
release-please[bot] Feb 12, 2025
a3c15df
build: update all dependencies (#2330)
parthea Feb 12, 2025
cdeed04
feat: add ability to remove unversioned modules (#2329)
parthea Feb 14, 2025
2309651
feat: Added support for internal methods in selective GAPIC generatio…
gkevinzheng Feb 14, 2025
33ba80c
chore(main): release 1.23.0 (#2332)
release-please[bot] Feb 14, 2025
d954060
chore(deps): update all dependencies (#2324)
renovate-bot Feb 14, 2025
52eecda
docs: fix minor typos (#2318)
parthea Feb 14, 2025
63d2dcd
build: remove unused files (#2331)
parthea Feb 14, 2025
b85067b
build: migrate from autopep8 to black/flake8 (#2334)
parthea Feb 14, 2025
22030ab
chore(main): release 1.23.1 (#2335)
release-please[bot] Feb 20, 2025
5dfd771
fix: resolve rare issue where ValueError is not raised when both requ…
parthea Feb 28, 2025
25f7b56
chore(main): release 1.23.2 (#2345)
release-please[bot] Feb 28, 2025
033cd95
chore(python): conditionally load credentials in .kokoro/build.sh (#2…
gcf-owl-bot[bot] Mar 2, 2025
9177ce6
fix: resolve issue where pre-release versions of dependencies are ins…
parthea Mar 3, 2025
d790558
chore(main): release 1.23.3 (#2348)
release-please[bot] Mar 3, 2025
be7f65e
fix: allow proto files to be included in the output of py_gapic_assem…
parthea Mar 4, 2025
cd31952
chore(main): release 1.23.4 (#2350)
release-please[bot] Mar 4, 2025
422d926
fix: allow Protobuf 6.x (#2352)
parthea Mar 5, 2025
d59d6b4
build(deps): bump jinja2 from 3.1.5 to 3.1.6 (#2354)
dependabot[bot] Mar 6, 2025
b4cd728
chore(main): release 1.23.5 (#2353)
release-please[bot] Mar 6, 2025
8637885
chore: remove unused files (#2356)
parthea Mar 10, 2025
b0f5836
chore: fix docs link in README (#2346)
parthea Mar 10, 2025
90f3946
build: clean up generated noxfile (#2343)
parthea Mar 10, 2025
be6efe0
docs: update copyright year (#2363)
parthea Mar 17, 2025
a896aed
chore(main): release 1.23.6 (#2364)
release-please[bot] Mar 17, 2025
094283c
build: update constraints file to test latest major versions (#2362)
parthea Mar 19, 2025
68f3da8
fix: Fixed internal method generation naming issues (#2365)
gkevinzheng Mar 19, 2025
deda31b
fix: missing DEFAULT_HOST should still result in compiling code (#2051)
achew22 Mar 22, 2025
8c6dda4
build: remove showcase integration tests ads (#2370)
parthea Mar 24, 2025
45eb8b4
tests: add showcase tests for reading grpc/rest response metadata (#2…
parthea Mar 28, 2025
85e587b
refactor: reduce code duplication (#2373)
parthea Mar 28, 2025
f0005b1
feat: adds augmented pagination to account for BQ family of APIs (#2372)
chalmerlowe Apr 9, 2025
fe88aa2
chore: update generated .flake8 configuration file (#2376)
parthea Apr 9, 2025
0f1a253
chore: add LICENSE to generated output (#2377)
parthea Apr 9, 2025
46fb986
chore: update generated MANIFEST.in (#2378)
parthea Apr 10, 2025
e2d6d7e
chore: update generated noxfile.py (#2379)
parthea Apr 11, 2025
3ed3d16
chore(main): release 1.24.0 (#2367)
release-please[bot] Apr 14, 2025
bfa6ab1
chore: update generated noxfile.py to cater for grafeas (#2380)
parthea Apr 15, 2025
28e8aeb
chore: update generated docs (#2381)
parthea Apr 16, 2025
2439c99
chore(main): release 1.24.1 (#2382)
release-please[bot] Apr 17, 2025
34b692a
feat: Add protobuf runtime version to `x-goog-api-client` header (#2368)
parthea May 6, 2025
720a2b1
chore(deps): update all dependencies (#2371)
renovate-bot May 6, 2025
9ae7a3a
chore(main): release 1.25.0 (#2387)
release-please[bot] May 7, 2025
9dfe21e
feat: add client debug logging support for server side streaming REST…
parthea May 9, 2025
ab4cc4a
build: update docs build (#2339)
parthea May 9, 2025
09ba01e
chore(deps): update all dependencies (#2391)
renovate-bot May 12, 2025
1c2b69d
chore(deps): update all dependencies (#2392)
renovate-bot May 19, 2025
a46fcdb
chore: use yaml.safe_load (#2398)
parthea May 28, 2025
4532b1f
chore: remove unused scripts (#2400)
parthea May 28, 2025
c439722
chore(main): release 1.26.0 (#2390)
release-please[bot] Jun 9, 2025
edf1371
fix: Temporarily disable `test_<service>_api_version_header_async` wh…
parthea Aug 28, 2025
46b1646
chore: depend on stable version of google.shopping.type (#2423)
vchudnov-g Aug 28, 2025
2270ab9
chore(main): release 1.26.1 (#2430)
release-please[bot] Aug 28, 2025
d6687cd
chore(deps): update dependency protobuf to v6.31.1 [security] (#2422)
renovate-bot Aug 28, 2025
6da96b9
build(deps): bump aiohttp from 3.11.18 to 3.12.14 (#2416)
dependabot[bot] Aug 28, 2025
73b37d3
chore(deps): update dependency urllib3 to v2.5.0 [security] (#2413)
renovate-bot Aug 28, 2025
6d6d126
chore(deps): update dependency requests to v2.32.4 [security] (#2403)
renovate-bot Aug 28, 2025
69b49f6
chore(deps): update all dependencies (#2401)
renovate-bot Aug 28, 2025
4bf299f
docs: minor formatting improvements (#2432)
parthea Aug 29, 2025
842f4c8
chore: remove unused protobuf dependency in repositories.bzl (#2433)
parthea Aug 30, 2025
af571ef
chore(main): release 1.26.2 (#2434)
release-please[bot] Sep 2, 2025
5568d7a
chore(deps): update all dependencies (#2436)
renovate-bot Sep 8, 2025
b290791
chore(deps): update all dependencies (#2437)
renovate-bot Sep 18, 2025
e6f2616
test: fix async showcase test (#2441)
parthea Sep 24, 2025
ca106d2
chore(deps): update all dependencies (#2442)
renovate-bot Sep 24, 2025
75735ce
feat: add gapic-version generator option (#2440)
parthea Sep 24, 2025
174e2cb
chore(main): release 1.27.0 (#2445)
release-please[bot] Sep 24, 2025
1ba6209
tests: add testing for Python 3.14 Pre-release (#2344)
parthea Sep 26, 2025
4817b71
chore(main): release 1.27.1 (#2447)
release-please[bot] Sep 29, 2025
c2ff28c
fix: deprecate credentials_file (#2454)
parthea Oct 1, 2025
004de63
fix: resolve issue where rest-numeric-enums=False is not supported (#…
parthea Oct 1, 2025
10b7590
chore(main): release 1.27.2 (#2455)
release-please[bot] Oct 2, 2025
4a9db1e
chore: remove .github/sync-repo-settings.yaml (#2449)
parthea Oct 3, 2025
10073df
fix: require grpcio >= 1.75.1 for Python 3.14 (#2452)
parthea Oct 6, 2025
ed73859
feat: Add support for Python 3.14 (#2451)
parthea Oct 7, 2025
6730b9f
chore(main): release 1.28.0 (#2459)
release-please[bot] Oct 7, 2025
695b27a
fix: fix gapic-version generator option for selective gapic generatio…
parthea Oct 14, 2025
7c8c97e
chore(main): release 1.28.1 (#2461)
release-please[bot] Oct 14, 2025
1450630
chore: add samples directory to lint paths (#2438)
parthea Oct 20, 2025
c0d8783
fix: bump the minimum version of google-apps-card to 0.3.0 (#2464)
parthea Oct 20, 2025
3c7c67a
chore(main): release 1.28.2 (#2465)
release-please[bot] Oct 20, 2025
3cbbcd3
fix: only format samples if the directory exists (#2466)
parthea Oct 21, 2025
3503911
chore(main): release 1.28.3 (#2467)
release-please[bot] Oct 21, 2025
32e15eb
feat: check Python and dependency versions in generated GAPICs (#2419)
vchudnov-g Oct 23, 2025
5ed689d
chore(main): release 1.29.0 (#2468)
release-please[bot] Oct 24, 2025
fc32e47
tests: use older google-api-core when running tools with older runtim…
parthea Nov 4, 2025
cc86c71
chore(deps): update all dependencies (#2469)
renovate-bot Nov 6, 2025
67eb1f0
tests: temporarily pin coverage to 7.11.0 (#2480)
parthea Nov 10, 2025
cbf42e5
chore(librarian): onboard to librarian (#2479)
parthea Nov 11, 2025
46767d8
fix: add api_version to gapic_metadata.json (#2476)
noahdietz Nov 11, 2025
d1e6880
chore(deps): update requirements.txt (#2482)
parthea Nov 12, 2025
6490322
feat: auto-enable mTLS when supported certificates are detected (#2472)
agrawalradhika-cell Nov 12, 2025
d9a2b48
fix: drop packaging and pkg_resources (#2477)
parthea Nov 14, 2025
01cbbf2
chore: librarian release pull request: 20251114T152556Z (#2487)
gkevinzheng Nov 17, 2025
1fdf60b
chore: remove obsolete scripts from generated code (#2489)
parthea Nov 18, 2025
7ad17dd
chore: remove code formatting for noxfile.py (#2491)
parthea Dec 5, 2025
7c9c47e
chore: specify verify_format=False when running pypandoc (#2504)
jskeet Dec 11, 2025
32ac494
chore: librarian update image pull request: 20251211T164756Z (#2508)
parthea Dec 12, 2025
c34b0fe
chore: librarian release pull request: 20251212T154945Z (#2510)
parthea Dec 15, 2025
c7cc17b
fix: revert changes to code formatting in 1.30.1 (#2511)
parthea Dec 15, 2025
2587290
chore: librarian release pull request: 20251215T231730Z (#2512)
parthea Dec 15, 2025
a419a26
chore(types): fix mypy checks (#2520)
daniel-sanche Jan 9, 2026
6fde536
chore: librarian release pull request: 20260113T151024Z (#2522)
parthea Jan 13, 2026
9b14f00
fix: add cryptography to constraints file (#2527)
parthea Jan 20, 2026
50ab6eb
build(deps): bump pyasn1 from 0.6.1 to 0.6.2 (#2525)
dependabot[bot] Jan 20, 2026
7f24004
chore: librarian release pull request: 20260120T170452Z (#2528)
parthea Jan 20, 2026
64978dd
build(deps): bump urllib3 from 2.5.0 to 2.6.3 (#2519)
dependabot[bot] Jan 21, 2026
e52c25a
fix: fix mypy for services with extended operations methods (#2536)
parthea Jan 26, 2026
037c531
chore: librarian release pull request: 20260126T181958Z (#2538)
parthea Jan 26, 2026
c84f7cd
chore: configure mypy to use python 3.14 (#2540)
ohmayr Jan 28, 2026
35d1b0f
chore: cache proto context to optimize generator performance (#2531)
ohmayr Jan 29, 2026
1f06194
fix: filter sphinx warnings related to adding a new line after lists …
chalmerlowe Jan 30, 2026
3c1066b
fix: fix incorrect REST request serialization (#2549)
parthea Jan 30, 2026
085bd41
chore: use import absolute.path as module syntax for pb2 imports (#2553)
ohmayr Jan 31, 2026
95201e7
chore: librarian release pull request: 20260130T213357Z (#2551)
parthea Feb 2, 2026
1795c56
chore(deps): update dependency protobuf to v6.33.5 [security] (#2552)
renovate-bot Feb 2, 2026
6e1a479
chore: fix line length for code with inline mypy guard (#2554)
ohmayr Feb 2, 2026
f5a618e
chore: replace old python teams with cloud-sdk-python-team (#2555)
suztomo Feb 3, 2026
c7fc40e
fix: updates tests for ListValue response fields (#2532)
google-labs-jules[bot] Feb 4, 2026
2e334b3
chore: fix service yaml command in nox sessions (#2558)
ohmayr Feb 5, 2026
b55188e
chore: replace isort and black with ruff (#2539)
ohmayr Feb 5, 2026
8db5c25
chore: update dev instructions to include `nox -s format` (#2559)
ohmayr Feb 5, 2026
e37ae00
chore: librarian release pull request: 20260205T232802Z (#2561)
ohmayr Feb 5, 2026
a3c3574
chore: fix mypy issue for `__func__` type (#2562)
ohmayr Feb 9, 2026
3ae5bfd
chore: librarian release pull request: 20260209T200531Z (#2564)
ohmayr Feb 9, 2026
6f74304
chore: Migrate gsutil usage to gcloud storage (#2546)
gurusai-voleti Feb 10, 2026
bf939b1
tests: update repo location for core deps (#2566)
parthea Feb 19, 2026
718768a
chore(deps): update dependency aiohttp to v3.13.3 [security] (#2560)
renovate-bot Feb 19, 2026
246ea38
chore: librarian release pull request: 20260219T200512Z (#2567)
parthea Feb 19, 2026
e3178d8
chore: require Python ≥ 3.9 (#2502)
vchudnov-g Feb 24, 2026
10b3101
tests: update repo location for google-auth (#2573)
parthea Mar 4, 2026
612a37b
fix: Allow protobuf 7.x (#2575)
rfrerebe-stx Mar 4, 2026
65b3094
chore(docs): add docstrings for api_audience and interceptor (#2571)
daniel-sanche Mar 4, 2026
e901fea
fix: improve type checking (#2530)
daniel-sanche Mar 6, 2026
dc2a418
chore: librarian release pull request: 20260309T132416Z (#2576)
daniel-sanche Mar 9, 2026
d723aac
chore(docs): fix transport README (#2572)
daniel-sanche Mar 10, 2026
391ec40
tests: downgrade mypy to 1.16.0 (#2580)
parthea Mar 11, 2026
73d3f25
chore: librarian release pull request: 20260311T165551Z (#2581)
parthea Mar 11, 2026
b5fae78
chore: bump minimum version of google-cloud-access-context-manager (#…
parthea Mar 12, 2026
a146ec1
chore: bump minimum version of google-cloud-documentai to 2.4.1 (#2584)
parthea Mar 12, 2026
d9db2f6
tests: remove tests for protobuf cpp backend (#2585)
parthea Mar 12, 2026
a57a530
chore: bump minimum version of google-cloud-os-config and google-clou…
parthea Mar 12, 2026
4c01c8e
chore: librarian release pull request: 20260312T133909Z (#2587)
parthea Mar 12, 2026
e5418b5
chore: bump versions for google-cloud-access-context-manager, google-…
parthea Mar 13, 2026
70a357d
chore: librarian release pull request: 20260313T154050Z (#2589)
parthea Mar 13, 2026
0ea9a61
Merge remote-tracking branch 'remote.googleapis/gapic-generator-pytho…
chalmerlowe Mar 13, 2026
e2860fa
Trigger owlbot post-processor
chalmerlowe Mar 13, 2026
b6dc8bd
build: gapic-generator migration: adjust owlbot-related files
chalmerlowe Mar 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Empty file.
2 changes: 2 additions & 0 deletions packages/gapic-generator/.bazeliskrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# See https://github.com/bazelbuild/bazelisk
USE_BAZEL_VERSION=6.5.0
2 changes: 2 additions & 0 deletions packages/gapic-generator/.bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# New protobuf requires C++17
build --repo_env=BAZEL_CXXOPTS="-std=c++17"
20 changes: 20 additions & 0 deletions packages/gapic-generator/.coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[run]
branch = True
omit =
gapic/cli/*.py
*_pb2.py

[report]
fail_under = 100
show_missing = True
exclude_lines =
# Re-enable the standard pragma
pragma: NO COVER
# Enable an English version.
Impossible; skip coverage checks.
# Ignore debug-only repr
def __repr__
# Abstract methods by definition are not invoked
@abstractmethod
@abc.abstractmethod

57 changes: 57 additions & 0 deletions packages/gapic-generator/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Version control scaffolding
.git
.gitignore

# Python scaffolding
*.py[cod]
*.egg
*.egg-info
dist
build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg
lib
lib64
__pycache__

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.nox
.tox
.cache
.pytest_cache
htmlcov

# Translations
*.mo

# Mac
.DS_Store

# Mr Developer
.mr.developer.cfg
.project
.pydevproject

# JetBrains
.idea

# Built documentation
docs/_build
docs/_build_doc2dash

# Virtual environment
env/
coverage.xml

# Make sure a generated file isn't accidentally committed.
pylintrc
pylintrc.test
44 changes: 44 additions & 0 deletions packages/gapic-generator/.flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
[flake8]
ignore =
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2333): E123, E124
# Closing bracket mismatches opening bracket's line.
# This works poorly with type annotations in method declarations.
E123, E124
# Line over-indented for visual indent.
# This works poorly with type annotations in method declarations.
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2333): E126, E128, E131
E126, E128, E131
# Line break after binary operator.
# This catches line breaks after "and" / "or" as a means of breaking up
# long if statements, which PEP 8 explicitly encourages.
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2333): W504
W504
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2333): E203
E203
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2333): E501
E501
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2333): E712
E712
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2333): E711
E711
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2333): E722
E722
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2333): E741
E741
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2333): F401
F401
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2333): F541
F541
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2333): F841
F841
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2333): F811
F811
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2333): W503
W503
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2333): W291
W291
exclude =
# Exclude golden files
tests/integration
# Exclude generated protobuf code
*_pb2.py
133 changes: 133 additions & 0 deletions packages/gapic-generator/.githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
#!/bin/sh

# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Pre-commit Git checks.
# Set up:
# ln -s .githooks/pre-commit .git/hooks/pre-commit

# Constants.
BOLD="\e[1m"
UNSET="\e[0m"
WHITE="\e[97m"
RED="\e[91m"
BACK_MAGENTA="\e[45m"
BACK_BLUE="\e[44m"
BACK_RED="\e[41m"
BACK_GREEN="\e[42m"

# Methods.
function echo_error {
ERR_MSG=$1
HELP_MSG=$2
echo -e "$BOLD $BACK_BLUE $WHITE Precommit:\t $BACK_RED Changes NOT committed. $UNSET"
echo -e "$BOLD $BACK_BLUE $WHITE Precommit:\t $BACK_RED $WHITE $ERR_MSG $BACK_BLUE $HELP_MSG $UNSET"
}

function echo_status {
STATUS_MSG=$1
echo -e "$BOLD $BACK_BLUE $WHITE Precommit:\t $STATUS_MSG $UNSET"
}

function echo_success {
echo -e "$BOLD $BACK_BLUE $WHITE Precommit:\t $BACK_GREEN $WHITE SUCCESS. $UNSET All checks passed!"
}

function header_check_preparation {
echo_status "Setting up license check environment"
export GOPATH=$(go env GOPATH)
if [ $? -ne 0 ];
then
echo_status "Please install Go first, instructions can be found here: https://golang.org/doc/install."
else
export ENV_PATH=$(echo $PATH)
if [[ $ENV_PATH != *$GOPATH* ]];
then
echo_status "GOPATH is not in the system path, adding it now."
export PATH=$GOPATH/bin:$PATH
fi
which addlicense
if [ $? -ne 0 ];
then
echo_status "addlicense tool is not yet installed, downloading it now."
go get -u github.com/google/addlicense
fi
fi
}

# Disk cache.
BAZEL_CACHE_DIR=/tmp/bazel_cache_gapic_generator_java
if [ ! -d $BAZEL_CACHE_DIR ]
then
mkdir $BAZEL_CACHE_DIR
fi

# Check only the staged files.
NUM_TOTAL_FILES_CHANGED=$(git diff --cached --name-only | wc -l)
NUM_PYTHON_FILES_CHANGED=$(git diff --cached --name-only "*.py" | wc -l)
NUM_UNIT_GOLDEN_FILES_CHANGED=$(git diff --cached --name-only "src/test/*/*.golden" | wc -l)
NUM_INTEGRATION_GOLDEN_FILES_CHANGED=$(git diff --cached --name-only "tests/integration/goldens/*/*.golden" | wc -l)
NUM_INTEGRATION_BAZEL_FILES_CHANGED=$(git diff --cached --name-only "tests/integration/*/BUILD.bazel" | wc -l)
NUM_BAZEL_FILES_CHANGED=$(git diff --cached --name-only "*BUILD.bazel" | wc -l)

if [ $NUM_TOTAL_FILES_CHANGED -le 0 ]
then
echo_error "No new files to commit." ""
exit 1
fi


if [ -x /usr/lib/git-core/google_hook ]; then
/usr/lib/git-core/google_hook pre-commit "$@"
fi

# Check unit tests.
if [ $NUM_PYTHON_FILES_CHANGED -gt 0 ] || [ $NUM_UNIT_GOLDEN_FILES_CHANGED -gt 0 ]
then
echo_status "Checking unit tests..."
nox -s unit-3.9
TEST_STATUS=$?
if [ $TEST_STATUS != 0 ]
then
echo_error "Tests failed." "Please fix them and try again."
exit 1
fi
fi

# Check integration tests.
if [ $NUM_PYTHON_FILES_CHANGED -gt 0 ] \
|| [ $NUM_INTEGRATION_GOLDEN_FILES_CHANGED -gt 0 ] \
|| [ $NUM_INTEGRATION_BAZEL_FILES_CHANGED -gt 0 ]
then
echo_status "Checking integration tests..."
bazel --batch test --disk_cache="$BAZEL_CACHE_DIR" //tests/integration/...
TEST_STATUS=$?
if [ $TEST_STATUS != 0 ]
then
echo_error "Tests failed." "Please fix them and try again."
exit 1
fi
fi

# Check and fix Bazel format.
if [ $NUM_BAZEL_FILES_CHANGED -gt 0 ]
then
for FILE in $(find ./ -name BUILD.bazel)
do
buildifier --lint=fix $FILE
done
fi

echo_success
74 changes: 74 additions & 0 deletions packages/gapic-generator/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
*.py[cod]
*.sw[op]

# Bazel
bazel-*

# C extensions
*.so

# Packages
*.egg
*.egg-info
dist
build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg
lib
lib64
__pycache__

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.nox
.tox
.cache
.pytest_cache
htmlcov

# Translations
*.mo

# Mac
.DS_Store

# Mr Developer
.mr.developer.cfg
.project
.pydevproject

# JetBrains
.idea

# VS Code
.vscode

# Built documentation
docs/_build
docs/_build_doc2dash

# Virtual environment
env/
coverage.xml

# Make sure a generated file isn't accidentally committed.
pylintrc
pylintrc.test

# Mypy
.mypy_cache

# pyenv
.python-version

# Test dependencies and output
api-common-protos
tests/snippetgen/.test_output
11 changes: 11 additions & 0 deletions packages/gapic-generator/.librarian/state.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:68c7c79adf43af1be4c0527673342dd180aebebf652ea623614eaebff924ca27
libraries:
- id: gapic-generator
version: 1.30.13
last_generated_commit: ""
apis: []
source_roots:
- .
preserve_regex: []
remove_regex: []
tag_format: v{version}
6 changes: 6 additions & 0 deletions packages/gapic-generator/.readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
build:
image: latest
python:
pip_install: true
version: 3.7
14 changes: 14 additions & 0 deletions packages/gapic-generator/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "gapic-generator",
"name_pretty": "Google API Client Generator for Python",
"client_documentation": "https://gapic-generator-python.readthedocs.io/en/stable/",
"product_documentation": "",
"issue_tracker": "https://github.com/googleapis/gapic-generator-python/issues",
"release_level": "stable",
"language": "python",
"library_type": "CORE",
"repo": "googleapis/gapic-generator-python",
"distribution_name": "gapic-generator",
"default_version": "",
"codeowner_team": "@googleapis/cloud-sdk-python-team"
}
Loading
Loading