Skip to content

add samples for using a regional endpoint with SCC v2 API #12739

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 409 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
409 commits
Select commit Hold shift + click to select a range
4536af5
chore(compute): migrate region tags step 1 in metadata (watch mainten…
eapl-gemugami Jan 18, 2025
dcbaa9f
chore(job): rename and delete tags at jobs/v3/api_client/location_sea…
eapl-gemugami Jan 20, 2025
d57601f
fix: remove incorrect information (#13075)
iennae Jan 20, 2025
25813b6
fix: remove dataproc/README.md (#13076)
iennae Jan 20, 2025
5e8e178
fix: remove invalid video/cloud-client directory (#13077)
iennae Jan 20, 2025
a8dc223
chore(gae): migrate region tags step 1 - at standard/ndb/overview/mai…
eapl-gemugami Jan 21, 2025
d276537
chore(gae): delete regions from migration/ndb/overview/main.py (#13078)
eapl-gemugami Jan 21, 2025
d160edb
fix(tpu): Fixed region tag name
m-strzelczyk Jan 21, 2025
24245db
fix: isort --profile google (#13074)
glasnt Jan 21, 2025
fa178a9
chore(gae): delete old regions from ndb/overview/main.py (#13082)
eapl-gemugami Jan 21, 2025
b88fbfe
Fix KPO sample imports (#12799)
pavel-salnikov Jan 21, 2025
d5d008a
chore(compute): migrate regions step 3 - delete old region tags from …
eapl-gemugami Jan 21, 2025
72190ce
chore(gae): remove region tags from 'taskqueue' folder (#13085)
eapl-gemugami Jan 22, 2025
70df78b
docs(generative_ai): Add Vertex AI Express Mode Sample (#12988)
holtskinner Jan 22, 2025
e7f0c2a
chore: add Cloud SQL samples env vars as secrets (#13065)
jackwotherspoon Jan 22, 2025
f8fcdef
chore(deps): update dependency pyarrow to v19 (#13064)
renovate-bot Jan 22, 2025
dfdeaad
fix: sqlalchemy dependencies (#12760)
wiktorn Jan 23, 2025
141c46f
chore(gae): delete region tags from standard/xmpp folder (#13090)
eapl-gemugami Jan 23, 2025
33d05b3
chore(gae): migrate region tags from standard: users, remote_api and …
eapl-gemugami Jan 23, 2025
ea307c0
chore(monitoring): remove region tag all from monitoring/api/v3/api-c…
eapl-gemugami Jan 23, 2025
4f6ffd1
chore(gae): delete region tags from standard/migration/urlfetch and r…
eapl-gemugami Jan 23, 2025
d0205c0
chore(gae): rename region tags from standard/urlfetch async and snipp…
eapl-gemugami Jan 23, 2025
1ac476b
ci: make Python 3.9 minimum required build (#13066)
jackwotherspoon Jan 23, 2025
25dce79
chore(compute): delete region tags from 'api' and 'oslogin' folders (…
eapl-gemugami Jan 23, 2025
279d167
chore(deps): update dependency cloud-sql-python-connector to v1.16.0 …
renovate-bot Jan 24, 2025
525fd52
chore(deps): update dependencies langchain-google-vertexai (#13089)
glasnt Jan 24, 2025
f2ddd75
chore(cloudrun): migrate region tags for dockerfiles and yaml from ru…
eapl-gemugami Jan 24, 2025
09e274c
chore(jobs): migrate regions step 3 - remove regions in auto_complete…
eapl-gemugami Jan 24, 2025
b32cde7
docs(generative_ai): Update Grounding with Google Search sample to in…
holtskinner Jan 27, 2025
128893b
chore(deps): update protobuf in secretmanager/snippets/requirements.t…
parthea Jan 27, 2025
e42ea58
chore(cloudrun): migrate region tags for dockerfiles and yaml from ru…
eapl-gemugami Jan 27, 2025
a0caa62
docs(generative_ai): Update Chat Completions API samples (#13088)
holtskinner Jan 27, 2025
4e84e44
feat(securitycenter): Add Resource SCC Management API Org Security Ce…
vijaykanthm Jan 28, 2025
f2884e5
docs(gen_ai): Add Vertex AI Express Mode Sample for Google Gen AI SDK…
holtskinner Jan 28, 2025
621d3c5
chore(deps): update dependency pyopenssl to v25 (#13050)
renovate-bot Jan 29, 2025
ad51ef4
chore(deps): update dependency google-cloud-bigquery-connection to v1…
renovate-bot Jan 29, 2025
2017188
chore(deps): update dependency functions-framework to v3.8.2 (#12860)
renovate-bot Jan 29, 2025
685bb34
chore(deps): update dependency werkzeug to v2.3.8 (#12846)
renovate-bot Jan 29, 2025
94779b4
docs(gemma2): spell check (#13108)
msampathkumar Jan 29, 2025
6afd47e
chore(deps): update dependency gunicorn to v23 (#12246)
renovate-bot Jan 29, 2025
f6df743
feat(genai): add python samples for text generation (#13115)
Valeriy-Burlaka Jan 30, 2025
bc9251c
chore(gae): delete samples in /extending_runtime and /disk (#13110)
eapl-gemugami Jan 30, 2025
47d5b15
chore(gae): fix region tags from standard: mailjet mail and flask fol…
eapl-gemugami Jan 30, 2025
b26e054
chore(language): delete sample language_python_migration_imports (#12…
eapl-gemugami Jan 30, 2025
cdfa595
fix(iam): fix tests in cloud-client/snippets (#13097)
eapl-gemugami Jan 30, 2025
16feb56
controlled generation(genai): Add new code samples (#13109)
msampathkumar Jan 31, 2025
0e0e640
feat(genai): add python samples for text generation (2nd batch) (#13116)
Valeriy-Burlaka Jan 31, 2025
8570053
chore(cloudrun): migrate region tags for dockerfiles and yaml from ru…
eapl-gemugami Jan 31, 2025
34a5893
feat: model update (#13124)
katiemn Jan 31, 2025
e4a42b3
chore(deps): update dependency google-cloud-testutils to v1.5.0 (#12918)
renovate-bot Feb 3, 2025
7a38976
chore(deps): update dependency google-cloud-storage-transfer to v1.15…
renovate-bot Feb 3, 2025
05a225f
chore(deps): update dependency google-cloud-tasks to v2.18.0 (#12917)
renovate-bot Feb 3, 2025
634576d
chore(gae): delete old region tags at django_cloudsql (#13111)
eapl-gemugami Feb 3, 2025
467cfda
chore(deps): update dependency google-cloud-dns to v0.35.0 (#12888)
renovate-bot Feb 3, 2025
81292a8
chore(gke): delete old region tags from django_tutorial (#13113)
eapl-gemugami Feb 3, 2025
8ab5755
Text generation(genai): Add new code samples (#13127)
msampathkumar Feb 4, 2025
27454d8
feat(genai): Add new samples for batch predict (#13120)
Valeriy-Burlaka Feb 4, 2025
e6fe9fc
docs(gae): [flexible] fix link to Python 3.7 code samples in README (…
eapl-gemugami Feb 5, 2025
0ec454a
chore(gae): delete unused and add new region tags in 'standard/fireba…
eapl-gemugami Feb 5, 2025
6088f72
chore(gae): delete samples xmpp, mailjet, mailgun and pubsub in stand…
eapl-gemugami Feb 5, 2025
4b6dcff
chore(gae): delete samples in flexible: /extending_runtime and /disk …
eapl-gemugami Feb 5, 2025
ba64b94
chore(endpoints): add new region tag to open-appengine.yaml (#13121)
eapl-gemugami Feb 5, 2025
a3cb86b
docs(iam): update comments and terminology in IAM samples (#13118)
eapl-gemugami Feb 5, 2025
b7ee73f
chore(gae): delete 'flask' samples from standard folder (#13117)
eapl-gemugami Feb 5, 2025
080725c
fix(gke): delete unused region tags and start migrating service regio…
OremGLG Feb 5, 2025
6cba173
feat(genai): Add Tool examples (#13128)
msampathkumar Feb 5, 2025
8a8b32e
chore(gae): fix region tags in standard_python3/pubsub/ (#13133)
eapl-gemugami Feb 5, 2025
b1e502e
chore(deps): update dependency django to v5.1.6 (#13135)
renovate-bot Feb 5, 2025
8ea35f4
chore(gke): delete old region tag "gke_kubernetes_service_python" (#1…
OremGLG Feb 5, 2025
3c53ed3
chore(deps): update dependency google-auth to v2.38.0 (#13129)
renovate-bot Feb 6, 2025
5ccacad
feat(genai): Add `http_params` to Text Generation doc samples (#13138)
msampathkumar Feb 6, 2025
397152c
chore: patch imported log entries to handle dict to protobuf parsing …
minherz Feb 6, 2025
15249e1
chore(cloudrun): migrate region tags for dockerfiles and yaml from ru…
eapl-gemugami Feb 6, 2025
9485ec6
chore(deps): update apache/beam_python3.10_sdk docker tag to v2.62.0 …
renovate-bot Feb 6, 2025
feae926
chore(deps): update apache/beam_python3.11_sdk docker tag to v2.62.0 …
renovate-bot Feb 6, 2025
a1d11b2
samples(genai): Update Vertex AI Express Mode sample to `gemini-2.0-f…
holtskinner Feb 6, 2025
ac0c596
chore(gae): delete sample in 'standard/firebase' folder (#13140)
eapl-gemugami Feb 6, 2025
7390ea3
chore(gae): delete old region tags in standard_python3/pubsub/ (#13144)
eapl-gemugami Feb 6, 2025
234fec2
chore(endpoints): migrate region tag step 3 - delete old region tag i…
eapl-gemugami Feb 7, 2025
2cb8866
feat(securitycenter): Add Resource SCC Mgmt API Org SHA Custom Module…
vijaykanthm Feb 7, 2025
4e0938f
chore(deps): update dependency boto3 to v1.36.14 (#12856)
renovate-bot Feb 7, 2025
0a9f8d9
fix(auth/service-to-service): Update to current best practices/versio…
glasnt Feb 8, 2025
1d75c44
fix(genai): fix example response to match model response (#13148)
Valeriy-Burlaka Feb 11, 2025
d99c471
feat(cloud-sql): enable lazy refresh for postgres, mysql and sql serv…
kgala2 Feb 11, 2025
d3c36d2
feat(genai): Multiple updates to improve samples quality, consistency…
holtskinner Feb 12, 2025
82073fc
fix: update suggested video for summarization (#13161)
glasnt Feb 13, 2025
67485b7
docs(genai): Add Gemini Safety Sample (#13156)
holtskinner Feb 13, 2025
12d510d
feat(genai): Add new Controlled Generation samples (#13154)
holtskinner Feb 13, 2025
1f1b4dd
feat(genai): Add Sample for Multimodal Live API (#13159)
holtskinner Feb 13, 2025
76cda15
feat(genai): Add Count Tokens Samples (#13155)
holtskinner Feb 13, 2025
bf826f5
chore(generative-ai): Update Chat Completions Samples to Gemini 2.0 F…
holtskinner Feb 13, 2025
6fd262a
feat(genai): Update Text Generation with PDF Sample (#13160)
holtskinner Feb 13, 2025
9ea661d
chore(deps): update dependency google-cloud-iam to v2.17.0 (#12892)
renovate-bot Feb 14, 2025
bb69110
chore(deps): bump cryptography in /compute/encryption (#13158)
dependabot[bot] Feb 14, 2025
9990873
fix(appengine): set project for bundled tests (#13165)
glasnt Feb 14, 2025
0586ab2
feat(genai): Add Content Cache example using Gemini 1.5 models (#13164)
msampathkumar Feb 14, 2025
8a8369c
refactor(genai): refactor GenAI code samples (#13166)
msampathkumar Feb 14, 2025
8372b85
chore(deps): bump django (#13060)
dependabot[bot] Feb 16, 2025
b52aeb3
chore(deps): bump django (#13059)
dependabot[bot] Feb 16, 2025
1fc711c
chore(deps): update dependency google-cloud-pubsub to v2.28.0 (#12902)
renovate-bot Feb 16, 2025
9774556
chore(deps): bump cryptography from 44.0.0 to 44.0.1 in /iap (#13167)
dependabot[bot] Feb 17, 2025
f6188b7
chore(deps): update dependency firebase-admin to v6.6.0 (#12807)
renovate-bot Feb 18, 2025
8312551
chore(deps): update dependency structlog to v25 (#13067)
renovate-bot Feb 19, 2025
258aa4e
chore(datacatalog): add information about deprecation of Data Catalog…
jacspa96 Feb 19, 2025
1e22407
docs(genai): Text Embedding Sample for Gen AI SDK (#13172)
holtskinner Feb 20, 2025
01a285c
docs(genai): Add Text Generation with Thinking Model Sample (#13176)
holtskinner Feb 20, 2025
6abfe7c
docs(genai): Add Batch Embeddings Sample for Gen AI SDK (#13175)
holtskinner Feb 20, 2025
7bbab3a
feat(bigquery): create cloud-client samples (#13147)
eapl-gemugami Feb 20, 2025
3b38d86
docs(genai): Add Bounding Box Sample for Gen AI SDK (#13177)
holtskinner Feb 20, 2025
790fe97
docs(genai): Add `audio_timestamp` parameter for Audio Understanding …
holtskinner Feb 20, 2025
f128b23
feat(modelarmor-samples): add model armor template and prompt samples…
Sita04 Feb 21, 2025
09be61e
docs(genai): Update Video Samples to follow recommended practices (#1…
holtskinner Feb 24, 2025
376b739
chore(language): update 'cloud-client' samples (#13174)
eapl-gemugami Feb 24, 2025
b045d0e
chore(datastore): migrate region tag 'ndb_django_middleware' - step 3…
eapl-gemugami Feb 24, 2025
48f37ab
chore(gae): migrate and delete region tags or samples in standard/mem…
eapl-gemugami Feb 24, 2025
a88f70d
fix(bigquery): improve cloud-client samples (#13180)
eapl-gemugami Feb 24, 2025
46663e8
feat(parametermanager): created folder to add samples (#13182)
gptSanyam Feb 24, 2025
7b9ca48
fix(genai sdk): fix example output and file name (#13185)
Valeriy-Burlaka Feb 25, 2025
ca273b2
chore(gae): rename and delete region tags in standard/modules (#13189)
eapl-gemugami Feb 25, 2025
95eb30b
chore(gae): rename and delete region tags in standard/ndb/ (#13190)
eapl-gemugami Feb 26, 2025
2135347
chore(genai): Update Chat and Code Exec Samples for 1.3.0 SDK Update …
holtskinner Feb 26, 2025
aa24c20
docs(genai): Add Veo Generation Sample (#13186)
holtskinner Feb 27, 2025
1d4f38a
feat(genai): Add Provisioned Throughput samples for Gen AI SDK and Ve…
holtskinner Feb 27, 2025
aec5ef9
feat(parametermanager): created samples for global and regional param…
suvidha-malaviya Feb 28, 2025
83b3051
feat(securitycenter): Add Resource SCC Org Mgmt API ETD Custom Module…
vijaykanthm Feb 28, 2025
72a5e91
feat(securitycenter): Add Resource SCC Org Mgmt API SHA Custom Module…
vijaykanthm Mar 2, 2025
0cd4b64
chore(datastore): delete and migrate invalid region tags in the whole…
eapl-gemugami Mar 3, 2025
29cca06
chore(gae): delete old region tags in iap/js/poll.js (#13195)
eapl-gemugami Mar 3, 2025
7ea122e
feat(securitycenter): Add Resource SCC Org Mgt API ETD Custom Modules…
vijaykanthm Mar 3, 2025
65bd8e2
chore(deps): bump transformers (#13149)
dependabot[bot] Mar 5, 2025
64a2e92
chore(deps): update dependency apache_beam to v2.63.0 (#13196)
renovate-bot Mar 5, 2025
fbbca12
chore(gae): delete unused samples in standard folder: mail & sendgrid…
eapl-gemugami Mar 6, 2025
7c74633
fix: update CODEOWNER for practice-folder (#13205)
glasnt Mar 6, 2025
03318a1
chore(deps): update dependency isort to v6 (#13102)
renovate-bot Mar 6, 2025
6c8b9a1
docs(generative_ai): Update Dynamic Retrieval for Grounding to includ…
holtskinner Mar 7, 2025
70ab9f0
chore: set gcs-sdk-team as CODEOWNERS (#13220)
danielduhh Mar 7, 2025
5da9655
chore(aiplatformprediction): delete obsolete samples (#13215)
eapl-gemugami Mar 7, 2025
4a947e6
update model version to 2.0 (#13216)
jyang0 Mar 10, 2025
c2c14fb
feat(tpu): Updating TPU samples to feature TPUv5e (#13211)
m-strzelczyk Mar 11, 2025
ff1820f
feat: Veo sample with image input (#13226)
katiemn Mar 11, 2025
abc05ba
fix(securitycenter): delete deprecated samples and fix failing sample…
eapl-gemugami Mar 12, 2025
229529a
feat(dialogflow-cx): Example implementation of Streaming Detect Inten…
ffeldhaus Mar 12, 2025
08d0612
chore(gae): delete samples in appengine/standard/localtesting/ (#13229)
eapl-gemugami Mar 13, 2025
188114d
chore(video): delete samples in beta_snippets.py (#13193)
eapl-gemugami Mar 13, 2025
4491fd5
fix(tpu): Updating TPU samples to avoid NameError
m-strzelczyk Mar 13, 2025
7dbec66
feat(BigQuery): Programmatic retries for a continuous query (#13201)
norlove Mar 13, 2025
a2d2bab
fix(bigquery): fix typos and comments in cloud-client samples (#13231)
eapl-gemugami Mar 13, 2025
add7501
chore: Remove `openai` directory (#13224)
holtskinner Mar 13, 2025
d5b3441
chore(deps): bump cryptography from 44.0.0 to 44.0.1 in /media_cdn (#…
dependabot[bot] Mar 14, 2025
92e0e7d
chore(datastore): delete invalid region tag 'ndb_flask' (#13202)
eapl-gemugami Mar 14, 2025
1e8576d
chore(deps): bump django (#13214)
dependabot[bot] Mar 14, 2025
a74e77d
chore(deps): update dependency django to v5.1.7 (#13218)
renovate-bot Mar 14, 2025
1119a15
chore(deps): update dependency google-auth-httplib2 to v0.2.0 (#12808)
renovate-bot Mar 14, 2025
8eeae80
docs(genai):Add anthropic batch predict samples (#13228)
CadillacBurgess1 Mar 14, 2025
a74c7cd
fix(ppai): update accelorator, eol (#13234)
glasnt Mar 14, 2025
1f2ec2a
chore(language): remove markdown files from migration (#13235)
eapl-gemugami Mar 14, 2025
8151f10
fix(deps): update dependency earthengine-api to v1 (#12572)
renovate-bot Mar 16, 2025
b7aa2eb
chore(deps): update dependency folium to v0.19.5 (#12859)
renovate-bot Mar 17, 2025
ca5d81b
fix(template): don't test 3.13 (incompat with pandas 2.2.3) (#13238)
glasnt Mar 17, 2025
d2d1438
chore(deps): update dependency google-cloud-videointelligence to v2.1…
renovate-bot Mar 18, 2025
f13214d
chore(deps): bump deps for generative_ai/embeddings (#13239)
glasnt Mar 18, 2025
3006265
fix: make mock span expected format (#13237)
glasnt Mar 19, 2025
00d4be8
chore(functions): delete region tag and update sample for Python 3.9+…
eapl-gemugami Mar 19, 2025
f0706ba
feat(model_garden): add new samples to list models and deploy a model…
wuliang229 Mar 19, 2025
7c7c89d
chore(deps): update dependency pandas to v2.2.3 (#13152)
renovate-bot Mar 19, 2025
9e52ed6
docs: Remove Grounded Generation Samples (#13244)
holtskinner Mar 20, 2025
549adf5
chore(gae): fix region tags in appengine folder (#13241)
eapl-gemugami Mar 20, 2025
bb411cf
fix(tpu): Updating the state return value
m-strzelczyk Mar 21, 2025
396bd87
docs(generative_ai): Remove `inference` folder (duplicate samples) (#…
holtskinner Mar 21, 2025
22dd752
update to comment about model region availability (#13248)
CadillacBurgess1 Mar 21, 2025
d6136dc
fix(tpu): Moving return statement outside region tag
m-strzelczyk Mar 22, 2025
7eef5e3
chore(deps): update dependency gunicorn to v23 [security] (#13250)
renovate-bot Mar 24, 2025
5698567
test(secretmanager): add test_create_secret_without_ttl (#13243)
eapl-gemugami Mar 24, 2025
2003907
chore(gae): delete invalid region tag 'env_vars' (#13251)
eapl-gemugami Mar 24, 2025
a0d6595
chore(deps): bump langchain-core in /generative_ai/understand_docs (#…
dependabot[bot] Mar 24, 2025
6194578
docs(texttospeech): Update TTS Samples to use Chirp 3 Model (#13253)
holtskinner Mar 25, 2025
2c74026
Link to official documentation to interpret Assessment (#13252)
faube Mar 25, 2025
0eb06ae
fix(documentai): refactor 'documentai_quickstart' sample for latest s…
eapl-gemugami Mar 25, 2025
2579ecb
chore(deps): update dependency numpy to v2.2.4 (#12975)
renovate-bot Mar 26, 2025
917ec7a
chore(deps): update dependency google-cloud-datastore to v2.20.2 (#13…
renovate-bot Mar 26, 2025
23f4047
refactor(genai): Update samples to use latest version of Gen AI SDK (…
msampathkumar Mar 26, 2025
73cc375
chore(deps): update dependency google-cloud-logging to v3.11.4 (#12895)
renovate-bot Mar 27, 2025
ac56e1b
chore(deps): update dependency openai to v1.68.2 (#12947)
renovate-bot Mar 27, 2025
9d1ab23
feat(genai): update thinking model name (#13260)
msampathkumar Mar 28, 2025
46a0c73
feat(parametermanager): added samples for handling cmek in parameter …
suvidha-malaviya Mar 29, 2025
8523898
fix(documentai): refactor sample 'quickstart' (#13258)
eapl-gemugami Mar 31, 2025
2c169cd
docs(genai): Add Grounding Sample for Vertex AI Search (#13268)
holtskinner Mar 31, 2025
5756bee
Pytorch upgrade in `gemma-flex-template` docker image (#13262)
svetakvsundhar Mar 31, 2025
5ef6469
feat(translate): add region tag 'import_client_library' and refactor …
eapl-gemugami Mar 31, 2025
ce46cf0
chore(deps): update dependency django-storages to v1.14.5 (#13270)
renovate-bot Apr 1, 2025
2fc2719
chore(deps): update dependency cryptography to v44.0.2 (#13269)
renovate-bot Apr 1, 2025
ca8cf68
chore(dns): delete all samples in the 'dns' directory (#13281)
eapl-gemugami Apr 1, 2025
e099f80
chore(deps): update dependency protobuf to v5.29.4 (#13278)
renovate-bot Apr 1, 2025
c298c86
chore(deps): update dependency protobuf to v4.25.6 (#13277)
renovate-bot Apr 1, 2025
62777d2
Update README.md (#13280)
paulleroyza Apr 2, 2025
7aa93f8
chore(deps): update dependency pyspark to v3.5.5 (#13282)
renovate-bot Apr 2, 2025
81fca22
chore(deps): update dependency sqlalchemy to v2.0.40 (#13283)
renovate-bot Apr 2, 2025
8ffb8cb
fix(deps): update dependency earthengine-api to v1.5.9 (#13284)
renovate-bot Apr 2, 2025
ed1b8cc
chore(deps): update dependency google-cloud-bigquery-migration to v0.…
renovate-bot Apr 2, 2025
ac540b9
chore(deps): update dependency google-cloud-media-translation to v0.1…
renovate-bot Apr 2, 2025
2d8be12
chore(deps): update dependency nbconvert to v7.16.6 (#13275)
renovate-bot Apr 2, 2025
5f9f9cb
chore(deps): update dependency prometheus-flask-exporter to v0.23.2 (…
renovate-bot Apr 2, 2025
e2f95f7
chore(deps): update dependency google-cloud-securitycentermanagement …
renovate-bot Apr 2, 2025
d15eba9
chore(deps): bump django in /appengine/standard_python3/django (#13286)
dependabot[bot] Apr 2, 2025
89ad8f0
chore(deps): update dependency django to v5.2 (#13285)
renovate-bot Apr 2, 2025
314c158
chore(dns): remove entries in 'CODEOWNERS' and 'auto-label.yaml' for …
eapl-gemugami Apr 3, 2025
ac3e8be
fix(workflows): refactor sample 'workflows_api_quickstart' to comply …
eapl-gemugami Apr 4, 2025
46785e2
docs(generative_ai): Update RAG Engine Samples to V1 (#13287)
holtskinner Apr 4, 2025
ba20d97
chore(deps): update dependency python-tds to v1.16.0 (#12964)
renovate-bot Apr 4, 2025
4bd5dc6
chore(deps): update dependency pillow to v10.4.0 (#12952)
renovate-bot Apr 4, 2025
8725706
chore(deps): update dependency pyjwt to ~=2.10.1 (#12956)
renovate-bot Apr 4, 2025
47d7704
fix: update blur function to match other samples (#13293)
glasnt Apr 8, 2025
2c06813
feat(genai, generative_ai): Migration of Gemini samples to 2.X models…
msampathkumar Apr 8, 2025
e36edb4
feat: update genai textgen_with_pdf.py example (#13294)
msampathkumar Apr 8, 2025
8b3d0f5
chore(cloudrun): refactor to sample 'cloudrun_service_to_service_rece…
eapl-gemugami Apr 9, 2025
fe650c1
chore: Live API preview update (#13298)
gericdong Apr 9, 2025
f2cf4eb
feat: Add model optimizer example (#13296)
yan283 Apr 10, 2025
48a8fc5
feat(modelarmor): created samples for model armor (#13187)
mihirvala-crestdata Apr 10, 2025
8d214c7
chore(deps): update dependency flask-cors to v5.0.1 (#13271)
renovate-bot Apr 11, 2025
974b758
chore(deps): update dependency termcolor to v3 (#13265)
renovate-bot Apr 11, 2025
63f2f55
fix: refactor model_armor (#13305)
glasnt Apr 15, 2025
2ed7720
Add script for migrations from Composer 2 to Composer 3. (#13300)
FilipStefaniuk Apr 17, 2025
134cb47
feat: update Gemini 2.5 Pro model name (#13306)
msampathkumar Apr 17, 2025
7928270
feat(Dataflow): Update Kafka snippet to use Managed I/O (#13304)
VeronicaWasson Apr 17, 2025
1d1e869
Update import_files_example.py to optionally use import_result_sink t…
edtsoi430 Apr 21, 2025
978fda5
[Cloud Composer] Update maintenance DAG - DagRun additional filter (#…
apilaskowski Apr 23, 2025
d957e8b
chore: cleanup old code samples (#13318)
katiemn Apr 23, 2025
38ac3ad
chore(secretmanager): Add global samples for delayed destory (#13312)
archana-9430 Apr 24, 2025
ee07ac3
docs: region tags clean-up (#13321)
msampathkumar Apr 25, 2025
189a057
feat(genai): Add new image generation samples (#13320)
katiemn Apr 25, 2025
8aad971
chore(deps): update dependency google-cloud-retail to v2 (#13319)
renovate-bot Apr 28, 2025
691e480
Bump up runtime version to python 3.13 (#13313)
sharmaharisam Apr 28, 2025
a5a7807
chore(deps): update dependency pyarrow to v20 (#13323)
renovate-bot Apr 28, 2025
e065437
feat(workflows): add sample 'execute_with_arguments' and update 'conf…
eapl-gemugami Apr 28, 2025
7a299c4
Add sample code for model_selection_config (#13325)
yan283 Apr 29, 2025
e4031e1
chore(deps): update dependency cloud-sql-python-connector to v1.18.1 …
renovate-bot May 1, 2025
8d57455
chore(deps): update dependency redis to v6 (#13331)
renovate-bot May 1, 2025
b2af41b
docs(discoveryengine): Add Sample for Cancel Operation (#13330)
holtskinner May 1, 2025
89352d0
Add code samples for Connect Gateway API (#13311)
hodaaaaaaaaaa May 1, 2025
062a5af
chore(workflows): migrate samples 'execute_without_arguments' and 'ex…
eapl-gemugami May 2, 2025
eb074de
feat(image-generation): Image generation using Gemini Flash (#13334)
msampathkumar May 2, 2025
b3e0ae1
Update sample_configuration.json (#13338)
holtskinner May 5, 2025
efd94c5
feat(genai): Add new sample for image gen (#13336)
katiemn May 5, 2025
36b8bb6
Update code samples to point to the latest python version (3.13) (#13…
sharmaharisam May 6, 2025
11d0e0a
fix(composer): fix version check logic for 'airflow_db_cleanup.py' (#…
eapl-gemugami May 6, 2025
9c5a96d
feat(genai): Add thinking feature examples (#13341)
msampathkumar May 6, 2025
e4ffe17
chore: fix docker build for Python 3.8 (#13342)
parthea May 7, 2025
bb70e5f
chore: Removing dee-infra from CODEOWNERS and Blunderbuss config file…
rsamborski May 7, 2025
ae949e6
add samples for using a regional endpoint with SCC v2 API
onagbonoga Oct 30, 2024
a65aee8
Merge branch 'nuru-rep' of https://github.com/GoogleCloudPlatform/pyt…
onagbonoga May 8, 2025
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
  •  
  •  
  •  
48 changes: 26 additions & 22 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,27 @@
/* @GoogleCloudPlatform/python-samples-owners @GoogleCloudPlatform/cloud-samples-infra

# DEE Infrastructure
/auth/**/* @GoogleCloudPlatform/googleapis-auth @GoogleCloudPlatform/dee-infra @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/batch/**/* @GoogleCloudPlatform/dee-infra @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/cdn/**/* @GoogleCloudPlatform/dee-infra @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/compute/**/* @GoogleCloudPlatform/dee-infra @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/dns/**/* @GoogleCloudPlatform/dee-infra @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/gemma2/**/* @GoogleCloudPlatform/dee-infra @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/genai/**/* @GoogleCloudPlatform/generative-ai-devrel @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/auth/**/* @GoogleCloudPlatform/googleapis-auth @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/batch/**/* @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/cdn/**/* @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/compute/**/* @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/gemma2/**/* @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/genai/**/* @GoogleCloudPlatform/generative-ai-devrel @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/generative_ai/**/* @GoogleCloudPlatform/generative-ai-devrel @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/iam/cloud-client/**/* @GoogleCloudPlatform/dee-infra @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/kms/**/** @GoogleCloudPlatform/dee-infra @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/media_cdn/**/* @GoogleCloudPlatform/dee-infra @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/privateca/**/* @GoogleCloudPlatform/dee-infra @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/recaptcha_enterprise/**/* @GoogleCloudPlatform/dee-infra @GoogleCloudPlatform/recaptcha-customer-obsession-reviewers @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/secretmanager/**/* @GoogleCloudPlatform/dee-infra @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers @GoogleCloudPlatform/cloud-secrets-team
/securitycenter/**/* @GoogleCloudPlatform/dee-infra @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers @GoogleCloudPlatform/gcp-security-command-center
/service_extensions/**/* @GoogleCloudPlatform/service-extensions-samples-reviewers @GoogleCloudPlatform/dee-infra @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/tpu/**/* @GoogleCloudPlatform/dee-infra @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/vmwareengine/**/* @GoogleCloudPlatform/dee-infra @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/webrisk/**/* @GoogleCloudPlatform/dee-infra @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/iam/cloud-client/**/* @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/kms/**/** @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/model_armor/**/* @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers @GoogleCloudPlatform/cloud-modelarmor-team
/media_cdn/**/* @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/model_garden/**/* @GoogleCloudPlatform/generative-ai-devrel @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/parametermanager/**/* @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers @GoogleCloudPlatform/cloud-secrets-team @GoogleCloudPlatform/cloud-parameters-team
/privateca/**/* @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/recaptcha_enterprise/**/* @GoogleCloudPlatform/recaptcha-customer-obsession-reviewers @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/secretmanager/**/* @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers @GoogleCloudPlatform/cloud-secrets-team
/securitycenter/**/* @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers @GoogleCloudPlatform/gcp-security-command-center
/service_extensions/**/* @GoogleCloudPlatform/service-extensions-samples-reviewers @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/tpu/**/* @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/vmwareengine/**/* @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/webrisk/**/* @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers

# Platform Ops
/monitoring/opencensus @yuriatgoogle @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
Expand All @@ -49,9 +51,9 @@
/datastore/**/* @GoogleCloudPlatform/cloud-native-db-dpes @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/firestore/**/* @GoogleCloudPlatform/cloud-native-db-dpes @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
# ---* Cloud Storage
/storage/**/* @GoogleCloudPlatform/cloud-storage-dpes @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/storagecontrol/**/* @GoogleCloudPlatform/cloud-storage-dpes @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/storagetransfer/**/* @GoogleCloudPlatform/cloud-storage-dpes @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/storage/**/* @GoogleCloudPlatform/gcs-sdk-team @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/storagecontrol/**/* @GoogleCloudPlatform/gcs-sdk-team @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/storagetransfer/**/* @GoogleCloudPlatform/gcs-sdk-team @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
# ---* Infra DB
/alloydb/**/* @GoogleCloudPlatform/alloydb-connectors-code-owners @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/cloud-sql/**/* @GoogleCloudPlatform/cloud-sql-connectors @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
Expand All @@ -67,7 +69,7 @@

# For practicing
# ---* Use with codelabs to learn to submit samples
/practice-folder/**/* engelke@google.com
/practice-folder/**/* @GoogleCloudPlatform/cloud-samples-infra

# ---* Fully Eng Owned
/aml-ai/**/* @GoogleCloudPlatform/aml-ai @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
Expand All @@ -81,13 +83,15 @@
/bigquery-datatransfer/**/* @GoogleCloudPlatform/api-bigquery @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/bigquery-migration/**/* @GoogleCloudPlatform/api-bigquery @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/bigquery-reservation/**/* @GoogleCloudPlatform/api-bigquery @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/connectgateway/**/* @GoogleCloudPlatform/connectgateway @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/dlp/**/* @GoogleCloudPlatform/googleapis-dlp @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/functions/spanner/* @GoogleCloudPlatform/api-spanner-python @GoogleCloudPlatform/functions-framework-google @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/healthcare/**/* @GoogleCloudPlatform/healthcare-life-sciences @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/retail/**/* @GoogleCloudPlatform/cloud-retail-team @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/billing/**/* @GoogleCloudPlatform/billing-samples-maintainers @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/video/live-stream/* @GoogleCloudPlatform/cloud-media-team @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/video/stitcher/* @GoogleCloudPlatform/cloud-media-team @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
/translate @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers @GoogleCloudPlatform/cloud-ml-translate-dev

# BEGIN - pending clarification
/memorystore/**/* @GoogleCloudPlatform/python-samples-reviewers @GoogleCloudPlatform/cloud-samples-reviewers
Expand Down
1 change: 0 additions & 1 deletion .github/auto-label.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ path:
dialogflow: "dialogflow"
discoveryengine: "discoveryengine"
dlp: "dlp"
dns: "dns"
documentai: "documentai"
endpoints: "endpoints"
error_reporting: "clouderrorreporting"
Expand Down
39 changes: 8 additions & 31 deletions .github/blunderbuss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,6 @@
###
assign_issues_by:
# DEE teams
- labels:
- "api: batch"
- "api: compute"
- "api: cloudkms"
- "api: iam"
- "api: kms"
- "api: privateca"
- "api: recaptchaenterprise"
- "api: secretmanager"
- "api: securitycenter"
- "api: tpu"
- "api: vmwareengine"
to:
- GoogleCloudPlatform/dee-infra
- labels:
- "api: people-and-planet-ai"
to:
Expand All @@ -40,7 +26,7 @@ assign_issues_by:
- labels:
- "api: cloudsql"
to:
- GoogleCloudPlatform/infra-db-sdk
- GoogleCloudPlatform/cloud-sql-connectors
- labels:
- "api: bigtable"
- "api: datastore"
Expand All @@ -56,7 +42,7 @@ assign_issues_by:
- "api: storagecontrol"
- "api: storagetransfer"
to:
- GoogleCloudPlatform/cloud-storage-dpes
- GoogleCloudPlatform/gcs-sdk-team
- labels:
- "api: pubsub"
- "api: pubsublite"
Expand Down Expand Up @@ -150,19 +136,6 @@ assign_issues_by:
###
assign_prs_by:
# DEE teams
- labels:
- "api: batch"
- "api: compute"
- "api: cloudkms"
- "api: iam"
- "api: kms"
- "api: privateca"
- "api: recaptchaenterprise"
- "api: secretmanager"
- "api: tpu"
- "api: securitycenter"
to:
- GoogleCloudPlatform/dee-infra
- labels:
- "api: people-and-planet-ai"
to:
Expand All @@ -172,7 +145,7 @@ assign_prs_by:
- labels:
- "api: cloudsql"
to:
- GoogleCloudPlatform/infra-db-sdk
- GoogleCloudPlatform/cloud-sql-connectors
- labels:
- "api: bigtable"
- "api: datastore"
Expand All @@ -186,7 +159,7 @@ assign_prs_by:
- labels:
- "api: storage"
to:
- GoogleCloudPlatform/cloud-storage-dpes
- GoogleCloudPlatform/gcs-sdk-team
- labels:
- "api: pubsub"
- "api: pubsublite"
Expand Down Expand Up @@ -258,6 +231,10 @@ assign_prs_by:
- "api: dataplex"
to:
- GoogleCloudPlatform/googleapi-dataplex
- labels:
- "api: connectgateway"
to:
- GoogleCloudPlatform/connectgateway
# Self-service individuals
- labels:
- "api: auth"
Expand Down
4 changes: 2 additions & 2 deletions .github/sync-repo-settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ branchProtectionRules:
requiredStatusCheckContexts:
- "Kokoro CI - Lint"
- "Kokoro CI - Python 2.7 (App Engine Standard Only)"
- "Kokoro CI - Python 3.8"
- "Kokoro CI - Python 3.12"
- "Kokoro CI - Python 3.9"
- "Kokoro CI - Python 3.13"
- "cla/google"
- "snippet-bot check"
# List of explicit permissions to add (additive only)
Expand Down
3 changes: 2 additions & 1 deletion .kokoro/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ RUN set -ex \
# "ValueError: invalid truth value '<VERSION>'"
ENV PYTHON_PIP_VERSION 21.3.1
RUN wget --no-check-certificate -O /tmp/get-pip-3-7.py 'https://bootstrap.pypa.io/pip/3.7/get-pip.py' \
&& wget --no-check-certificate -O /tmp/get-pip-3-8.py 'https://bootstrap.pypa.io/pip/3.8/get-pip.py' \
&& wget --no-check-certificate -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' \
&& python3.10 /tmp/get-pip.py "pip==$PYTHON_PIP_VERSION" \
# we use "--force-reinstall" for the case where the version of pip we're trying to install is the same as the version bundled with Python
Expand All @@ -161,7 +162,7 @@ RUN python3.13 /tmp/get-pip.py
RUN python3.12 /tmp/get-pip.py
RUN python3.11 /tmp/get-pip.py
RUN python3.9 /tmp/get-pip.py
RUN python3.8 /tmp/get-pip.py
RUN python3.8 /tmp/get-pip-3-8.py
RUN python3.7 /tmp/get-pip-3-7.py
RUN rm /tmp/get-pip.py

Expand Down
3 changes: 3 additions & 0 deletions .kokoro/docker/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ steps:
args: ['tag', 'gcr.io/$PROJECT_ID/python-samples-testing-docker', 'gcr.io/$PROJECT_ID/python-samples-testing-docker:$SHORT_SHA']
images:
- 'gcr.io/$PROJECT_ID/python-samples-testing-docker'

options:
logging: CLOUD_LOGGING_ONLY
6 changes: 4 additions & 2 deletions .kokoro/tests/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,16 +108,18 @@ fi
# On kokoro, we should be able to use the default service account. We
# need to somehow bootstrap the secrets on other CI systems.
if [[ "${TRAMPOLINE_CI}" == "kokoro" ]]; then
# This script will create 4 files:
# This script will create 5 files:
# - testing/test-env.sh
# - testing/service-account.json
# - testing/client-secrets.json
# - testing/cloudai-samples-secrets.sh
# - testing/cloudsql-samples-secrets.sh
./scripts/decrypt-secrets.sh
fi

source ./testing/test-env.sh
source ./testing/cloudai-samples-secrets.sh
source ./testing/cloudsql-samples-secrets.sh
export GOOGLE_APPLICATION_CREDENTIALS=$(pwd)/testing/service-account.json

# For cloud-run session, we activate the service account for gcloud sdk.
Expand Down Expand Up @@ -209,7 +211,7 @@ cd "$ROOT"

# Remove secrets if we used decrypt-secrets.sh.
if [[ -f "${KOKORO_GFILE_DIR}/secrets_viewer_service_account.json" ]]; then
rm testing/{test-env.sh,client-secrets.json,service-account.json,cloudai-samples-secrets.sh}
rm testing/{test-env.sh,client-secrets.json,service-account.json,cloudai-samples-secrets.sh,cloudsql-samples-secrets.sh}
fi

exit "$RTN"
4 changes: 2 additions & 2 deletions AUTHORING_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ started with using a service or API — it should be in a _quickstart_ folder.

### Python Versions

Samples should support Python 3.6, 3.7, 3.8, and 3.9.
Samples should support Python 3.9, 3.10, 3.11, 3.12 and 3.13.

If the API or service your sample works with has specific Python version
requirements different from those mentioned above, the sample should support
Expand Down Expand Up @@ -923,7 +923,7 @@ Add the new environment variables to the `envs` dictionary.
```py
TEST_CONFIG_OVERRIDE = {
# You can opt out from the test for specific Python versions.
"ignored_versions": ["2.7", "3.7", "3.9", "3.10", "3.11"],
"ignored_versions": ["2.7", "3.8", "3.10", "3.11", "3.12"],
# Old samples are opted out of enforcing Python type hints
# All new samples should feature them
"enforce_type_hints": True,
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Python samples for [Google Cloud Platform products][cloud].

[![Build Status][py-2.7-shield]][py-2.7-link] [![Build Status][py-3.8-shield]][py-3.8-link] [![Build Status][py-3.9-shield]][py-3.9-link] [![Build Status][py-3.10-shield]][py-3.10-link] [![Build Status][py-3.11-shield]][py-3.11-link]
[![Build Status][py-2.7-shield]][py-2.7-link] [![Build Status][py-3.9-shield]][py-3.9-link] [![Build Status][py-3.10-shield]][py-3.10-link] [![Build Status][py-3.11-shield]][py-3.11-link] [![Build Status][py-3.12-shield]][py-3.12-link] [![Build Status][py-3.13-shield]][py-3.13-link]

## Google Cloud Samples

Expand Down Expand Up @@ -69,11 +69,13 @@ Contributions welcome! See the [Contributing Guide](CONTRIBUTING.md).

[py-2.7-shield]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-2.7.svg
[py-2.7-link]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-2.7.html
[py-3.8-shield]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-3.8.svg
[py-3.8-link]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-3.8.html
[py-3.9-shield]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-3.9.svg
[py-3.9-link]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-3.9.html
[py-3.10-shield]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-310.svg
[py-3.10-link]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-3.10.html
[py-3.11-shield]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-311.svg
[py-3.11-link]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-3.11.html
[py-3.12-shield]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-3.12.svg
[py-3.12-link]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-3.12.html
[py-3.13-shield]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-3.13.svg
[py-3.13-link]: https://storage.googleapis.com/cloud-devrel-public/python-docs-samples/badges/py-3.13.html
2 changes: 1 addition & 1 deletion alloydb/notebooks/noxfile_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

TEST_CONFIG_OVERRIDE = {
# You can opt out from the test for specific Python versions.
"ignored_versions": ["2.7", "3.7", "3.8", "3.9", "3.11", "3.12"],
"ignored_versions": ["2.7", "3.7", "3.8", "3.9", "3.11", "3.12", "3.13"],
# Old samples are opted out of enforcing Python type hints
# All new samples should feature them
"enforce_type_hints": True,
Expand Down
4 changes: 2 additions & 2 deletions alloydb/notebooks/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
google-cloud-alloydb-connector[asyncpg]==1.5.0
sqlalchemy==2.0.36
sqlalchemy==2.0.40
pytest==8.3.3
ipykernel==6.29.5
pytest-asyncio==0.24.0
nbconvert==7.16.4
nbconvert==7.16.6
4 changes: 2 additions & 2 deletions aml-ai/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
google-api-python-client==2.131.0
google-auth-httplib2==0.2.0
google-auth==2.19.1
requests==2.31.0
google-auth==2.38.0
requests==2.32.2
Loading