Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1957 commits
Select commit Hold shift + click to select a range
48c3f2f
feat: add CRUD APIs on Databases
a-googler Sep 26, 2025
8cd7806
feat: add CRUD APIs on Databases
a-googler Sep 26, 2025
48a2fab
feat: Initial API Client Library release for Cluster Director
a-googler Sep 26, 2025
bc546b9
feat: A new value `NVIDIA_RTX_PRO_6000` is added to enum `Accelerator…
a-googler Sep 26, 2025
374928c
feat: A new value `NVIDIA_RTX_PRO_6000` is added to enum `Accelerator…
a-googler Sep 26, 2025
69a5677
feat: Update Compute Engine v1beta API to revision 20250909
yoshi-code-bot Sep 26, 2025
31b413b
feat: Update Compute Engine v1 API to revision 20250909
yoshi-code-bot Sep 26, 2025
a4ded73
feat: support the protocol version in StreamingPullRequest
a-googler Sep 29, 2025
299e120
chore(ruby): Configure Ruby clients for Capacity Planner
a-googler Sep 29, 2025
eab82ec
feat: Enable `rest` for `google-cloud-video-stitcher`
a-googler Sep 29, 2025
3ecf1f0
feat:Auto-generated CL for //google/cloud/aiplatform:aiplatform_v1bet…
a-googler Sep 30, 2025
e78280f
feat: Auto-generated CL for //google/cloud/aiplatform:aiplatform_v1_p…
a-googler Sep 30, 2025
063f9e1
feat: add DeploymentTier enum to DeployedIndex
a-googler Sep 30, 2025
3d9a46d
docs: Update comment in Eventarc Publishing API
a-googler Oct 1, 2025
1bb0ac1
feat: expose timestamp_target_precision
a-googler Oct 1, 2025
3fb120e
fix: upgrade gRPC service registration func
a-googler Oct 1, 2025
c61d80b
chore: run compileProtos and update gapic-node-processing
a-googler Oct 1, 2025
8731190
chore(php)!: migrate Spanner to new client surface
a-googler Oct 1, 2025
3990e05
chore(php)!: migrate Datastore to new client surface
a-googler Oct 1, 2025
9070e63
fix: upgrade gRPC service registration func
a-googler Oct 2, 2025
2193a2b
feat: Add new `BACKGROUND_CHANGE_DATA_CAPTURE`, `BACKGROUND_COLUMN_ME…
a-googler Oct 3, 2025
2e9cd5b
feat: Include CarrierShipping field inside the Products attribute
a-googler Oct 6, 2025
7f0c1e5
feat: Add labels field for Predict API for Imagen use case (v1beta)
a-googler Oct 6, 2025
f2c6bca
feat: Add labels field for Predict API for Imagen use case (v1beta an…
a-googler Oct 6, 2025
1b14149
feat: add ListOperations partial success flag
a-googler Oct 6, 2025
a53e1e0
fix: upgrade gRPC service registration func
a-googler Oct 6, 2025
6e79e73
fix: upgrade gRPC service registration func
a-googler Oct 6, 2025
c1c2f3e
fix: upgrade gRPC service registration func
a-googler Oct 7, 2025
e09f19a
chore: update published package name (#1108)
sofisl Oct 7, 2025
d9a16f2
chore: update package names to published versions
a-googler Oct 8, 2025
2954ae6
fix!: An existing service `CapacityPlanningService` is removed
a-googler Oct 8, 2025
d06cf27
feat: Add support for Python 3.14
a-googler Oct 8, 2025
50a2632
feat: A new field `signature_value` is added to message `.google.clou…
a-googler Oct 8, 2025
1a87094
feat: Added new messages `EntityValidationOutput` and `EntitiesRevision`
a-googler Oct 8, 2025
4d8abb3
fix: upgrade gRPC service registration func
a-googler Oct 8, 2025
7b2b58f
feat: add initial library generation for gke-recommender
a-googler Oct 8, 2025
7186b66
docs: do not publish v1alpha APIs
a-googler Oct 9, 2025
9215671
fix: upgrade gRPC service registration func
a-googler Oct 9, 2025
4823efd
fix: upgrade gRPC service registration func
a-googler Oct 9, 2025
1ff0474
feat: Update Compute Engine v1beta API to revision 20250916 (#1106)
yoshi-code-bot Oct 9, 2025
a23c956
feat: Update Compute Engine v1 API to revision 20250916 (#1107)
yoshi-code-bot Oct 9, 2025
bd4166c
feat: A new message `ScaleToZeroSpec` is added
a-googler Oct 9, 2025
8dc86c1
feat: Add parameters to adjust LLM input and output token limit and t…
a-googler Oct 9, 2025
9da837b
fix: upgrade gRPC service registration func
a-googler Oct 9, 2025
2778608
chore: update gapic-generator-go to v0.54.0
a-googler Oct 9, 2025
102d9f9
feat: increase timeout in gRPC service config JSON for all methods to…
a-googler Oct 9, 2025
27cca3c
fix: upgrade gRPC service registration func
a-googler Oct 10, 2025
d034736
feat: Add JAILBREAK category to SafetySettings for prediction service
a-googler Oct 10, 2025
8d338e2
feat: Add JAILBREAK as a new Prompt block reason in PredictionService
a-googler Oct 10, 2025
eadc874
feat: add additional proto fields and GenerateFetchAccessToken API
a-googler Oct 10, 2025
251a3d8
feat: Add JAILBREAK category to SafetySettings for prediction service
a-googler Oct 10, 2025
1135291
feat: inspect and deid templates in RedactImage
a-googler Oct 10, 2025
0509f5d
chore: exclude generating package.json from gkerecommender
a-googler Oct 10, 2025
6821943
feat: Update `networksecurity/v1beta1` Python GAPIC to support REST t…
a-googler Oct 10, 2025
4b1fe4d
fix: upgrade gRPC service registration func
a-googler Oct 13, 2025
db61975
feat: add aspect_ratio and image_config for v1beta1 version
a-googler Oct 13, 2025
91d2fc6
feat: add support for specifying the KeyFormat
a-googler Oct 14, 2025
3403a38
feat: Add support for Inline source based deployment
a-googler Oct 14, 2025
bd5f32d
feat: Add support for Inline source based deployment
a-googler Oct 14, 2025
63281f4
feat: Add SwapConfig to enable and configure swap memory for node pools
a-googler Oct 14, 2025
7e90a53
feat: add aspect_ratio and image_config for v1 version
a-googler Oct 14, 2025
9ee628b
chore(google/cloud/compute): upgrade gRPC service registration func (…
quartzmo Oct 14, 2025
a9ebc23
feat: added support for Delete Conversatstion
a-googler Oct 15, 2025
a32b926
chore(python): Use relative path to service_yaml in google/cloud/secr…
a-googler Oct 15, 2025
4c5d582
feat: add experimental Load Costs feature
a-googler Oct 15, 2025
fd84be8
feat: add support for FunctionResponsePart
a-googler Oct 15, 2025
f495b45
feat: add support for additional reasons to stop image generation
a-googler Oct 15, 2025
a245a40
feat: Updated protos and build files for Google Ads API v22
a-googler Oct 15, 2025
ac02e45
chore(ruby): Configure clients for cloud location finder
a-googler Oct 16, 2025
e938992
feat: Annotate some resource fields with their corresponding API types
a-googler Oct 16, 2025
4591295
chore: regenerate API index
yoshi-code-bot Oct 16, 2025
fef7009
feat: Add `Carousel` widget
a-googler Oct 16, 2025
ed1d7ff
fix: upgrade gRPC service registration func
a-googler Oct 16, 2025
979af4b
feat: add filter to ListBuildTargetsRequest
a-googler Oct 16, 2025
3322511
feat: add ROUTE_INVALID_NEXT_HOP_VM_WRONG_NETWORK, ROUTE_INVALID_NEXT…
a-googler Oct 17, 2025
50d4eb9
feat: add `relax_safety_filters` proto field for Gemini TTS
a-googler Oct 17, 2025
59aac0a
feat: add `relax_safety_filters` proto field for Gemini TTS
a-googler Oct 17, 2025
b153a91
fix: Include AssistAnswer as a part of the Session
a-googler Oct 17, 2025
d9bfa3b
feat: Continuous Tuning
a-googler Oct 17, 2025
c288189
feat: add FunctionResponsePart and excluded_predefined_functions in C…
a-googler Oct 18, 2025
539c048
fix: upgrade gRPC service registration func
a-googler Oct 20, 2025
c280079
feat: add FunctionResponsePart and excluded_predefined_functions in C…
a-googler Oct 20, 2025
1b5c448
docs: Change comments in some fields in Places API
a-googler Oct 20, 2025
55319b0
feat: Expand Oracle Database v1 API to add support for Exadata Exasca…
a-googler Oct 21, 2025
72d2f93
feat: add desired_secret_sync_config to ClusterUpdate
a-googler Oct 21, 2025
bb4016f
feat: Add EmbedContent method v1beta1
a-googler Oct 21, 2025
56cc4bf
fix: upgrade gRPC service registration func
a-googler Oct 21, 2025
94ccdfe
feat: add node_kernel_module_loading field to LinuxNodeConfig
a-googler Oct 21, 2025
1615c51
feat: Added Application resource
a-googler Oct 22, 2025
116326d
chore: added library settings and updated issue tracker URI
a-googler Oct 22, 2025
80a2081
feat: Added support for Build Your Own Assist feature
a-googler Oct 22, 2025
b61fb21
feat: Add Review.visitDate field to indicate when the review author v…
a-googler Oct 22, 2025
5ad924f
feat: A new message `DataDocumentationSpec` is added representing Dat…
a-googler Oct 23, 2025
fc2a56a
docs: minor formatting
a-googler Oct 23, 2025
4f79c85
chore: upgrade generator to upgrade gapic-node-processing dependency …
a-googler Oct 23, 2025
98fef44
feat: add ROLE_ASSISTANT_MANAGER to the MembershipRole enum in the Me…
a-googler Oct 23, 2025
6e4f2a5
fix: upgrade gRPC service registration func
a-googler Oct 23, 2025
0830bd9
feat: Add EmbedContent method v1
a-googler Oct 23, 2025
e8365a7
feat: Initial release for Cluster Director client libraries
a-googler Oct 24, 2025
8ba8363
chore: add Nodejs BUILD rule to generate libraries for geminidataanal…
a-googler Oct 24, 2025
b8a4d56
docs: add warning about loading unvalidated credentials
a-googler Oct 24, 2025
ec4e787
feat: Adds tracking_url_template, final_url_suffix, final_mobile_urls…
a-googler Oct 27, 2025
a2e6e8d
fix!: updating `bigtable_metadata` field name in `FeatureOnlineStore`
a-googler Oct 27, 2025
7a87bf0
chore(tests): avoid variable name conflict
a-googler Oct 27, 2025
b1a9eef
feat: A new field `remote_peering_network_type` is added to message `…
a-googler Oct 27, 2025
0654a03
feat: add Audit API surface
a-googler Oct 28, 2025
db2323f
feat: add api_version field to service mapping
a-googler Oct 28, 2025
72e7439
feat: Exposing AutoscalingConfig in InstancePartition
a-googler Oct 28, 2025
c9c3b94
chore(ruby): Configure Ruby clients for Hypercompute Cluster
a-googler Oct 29, 2025
b16fb4b
chore(ruby): Configure Ruby clients for Data Manager
a-googler Oct 29, 2025
fffe0a3
feat: introduces POSTGRES_17 and POSTGRES_18 database versions in the…
a-googler Oct 29, 2025
b4c05ae
docs: fix idle_scaledown_period minimum from 3600 to 300 (5 minutes)
a-googler Oct 29, 2025
d0ccd99
chore: remove erroneous colon in BUILD.bazel
a-googler Oct 29, 2025
4d45a59
docs: Various documentation and comment improvements, Enable organiza…
a-googler Oct 30, 2025
86356cc
docs: Updated docs for the APIs
a-googler Oct 30, 2025
f49d0aa
fix!: An existing field `transfer_to_agent` is removed from message `…
a-googler Oct 30, 2025
6a3acb3
feat: add the `ListOrganizations`, `FindSalesPartnerManagedClients`, …
a-googler Oct 30, 2025
b6bb607
docs: Remove comments for a non public feature
a-googler Oct 30, 2025
97763d6
fix!: An existing field `contains_custom_rules` is removed from messa…
a-googler Oct 31, 2025
9841522
feat: Add support for LbEdgeExtension resource in NetworkServices API
a-googler Nov 3, 2025
3c56d78
feat: add new fields `SUCCESSFULLY_DEPLOYED` and `FAILED_TO_DEPLOY` t…
a-googler Nov 3, 2025
c8716fe
feat: add new fields `SUCCESSFULLY_DEPLOYED` and `FAILED_TO_DEPLOY` t…
a-googler Nov 3, 2025
faa7932
feat: Add order_by to list_events
a-googler Nov 3, 2025
a0066e7
feat: Adding `FetchBackupsForResourceType` API
a-googler Nov 4, 2025
41c4f8d
feat: add Stored Procedure Sharing support for analyticshub listings
a-googler Nov 4, 2025
53af3b7
chore: regenerate API index
yoshi-code-bot Nov 4, 2025
baf7775
feat: Adds support for RefineText
a-googler Nov 5, 2025
53f9739
feat(dataplex): Allow publishing Data Profile scan results to the Dat…
a-googler Nov 5, 2025
3a77bd6
feat: make return_partial_success and unreachable fields public for l…
a-googler Nov 5, 2025
e030b93
feat: add `AwsWrappedKeyInfo` to `EncryptionInfo` for supporting data…
a-googler Nov 6, 2025
73c0641
feat: Adding `unreachable` field to `ListDataSourceReferences` API
a-googler Nov 6, 2025
ecb5d66
feat: Update Compute Engine v1beta API to revision 20251019
yoshi-code-bot Nov 6, 2025
b0aa2c3
docs: Various documentation and comment improvements, Enable organiza…
a-googler Nov 6, 2025
8cc2927
feat: Vector Search: Release v1beta client libraries
a-googler Nov 6, 2025
9fcfbea
feat: Adding a new TextType PROGRESS to provide informational message…
a-googler Nov 6, 2025
2223580
feat: Adding a new SchemaRelationship message to define relationships…
a-googler Nov 7, 2025
04bd623
feat: Support picosecond timestamp precision in BigQuery Storage API
a-googler Nov 7, 2025
178dbf3
feat: generate bucket ops into storage control lib for nodejs
a-googler Nov 7, 2025
1b5f863
feat: add PeerInfo proto in Bigtable API
a-googler Nov 7, 2025
8b80b14
feat: Initial release of Database Center API v1beta
a-googler Nov 10, 2025
91e4279
feat: add agentDesktopSource field to the Participant object
a-googler Nov 10, 2025
ba80e9b
feat: add support for defining custom actions in code. See https://cl…
a-googler Nov 10, 2025
b98f8c9
feat: Added the `product_id_base64_url_encoded` field to `RenderProdu…
a-googler Nov 11, 2025
5fa0268
feat: Added the `product_id_base64_url_encoded` field to `ListLocalIn…
a-googler Nov 11, 2025
18bb600
feat: Added the `product_id_base64_url_encoded` field to `RenderProdu…
a-googler Nov 11, 2025
3a8b8dd
feat: Added the `product_id_base64_url_encoded` field to `ListLocalIn…
a-googler Nov 11, 2025
d1450ae
chore: regenerate API index
yoshi-code-bot Nov 11, 2025
3568ce2
feat: Add the AccountLimit resource and its service to the quota bundle
a-googler Nov 11, 2025
20581e0
feat: Added the `product_id_base64_url_encoded` field to `InsertProdu…
a-googler Nov 11, 2025
659ea6e
feat: Added the `product_id_base64_url_encoded` field to `InsertProdu…
a-googler Nov 11, 2025
b793702
Synchronize new proto/yaml changes.
a-googler Nov 11, 2025
cf0434f
feat: add image_manifest field in DockerImage
a-googler Nov 11, 2025
5342712
chore: update Go version in Bazel to 1.24.9
a-googler Nov 12, 2025
cde1a53
chore: removing parameter before client library generation
a-googler Nov 13, 2025
bff62c7
chore: removing parameter before client library generation
a-googler Nov 13, 2025
2150bc6
chore: removing parameter before client library generation
a-googler Nov 13, 2025
66ed09c
chore: removing parameter before client library generation
a-googler Nov 13, 2025
967b6c4
chore: removing parameter before client library generation
a-googler Nov 13, 2025
c2db528
chore: removing parameter before client library generation
a-googler Nov 13, 2025
04085e5
docs: A comment for enum `AccessRight` is changed
a-googler Nov 14, 2025
0eeb1be
feat: Add Send and Ack mutations for Queues
a-googler Nov 14, 2025
aeb84bb
feat: add adaptation modifiers and storage pools to MigratingVM targe…
a-googler Nov 16, 2025
7c0dcbb
fix!: remove PatchRoutine RPC
a-googler Nov 17, 2025
5400ccc
chore: regenerate API index
yoshi-code-bot Nov 17, 2025
7418c8b
feat: Add Spanner location API
a-googler Nov 17, 2025
136201b
feat: add `ReplicatedVoiceConfig` to `VoiceConfig` to enable Gemini T…
a-googler Nov 17, 2025
15fa97d
feat: add `ReplicatedVoiceConfig` to `VoiceConfig` to enable Gemini T…
a-googler Nov 18, 2025
6a7d453
feat: Adding new fields for CMEK and Retention Inheritance features
a-googler Nov 18, 2025
e48d999
feat: added new provisioning models
a-googler Nov 18, 2025
bd94e0b
fix: upgrade gRPC service registration func
a-googler Nov 18, 2025
df29a82
feat: add `gpu_partition_size` in `machine_spec` v1 api
a-googler Nov 18, 2025
8d526e8
feat: Add support for developer connect based deployment
a-googler Nov 18, 2025
a17b84a
feat: Add support for developer connect based deployment
a-googler Nov 18, 2025
a2662a0
chore: update the nodejs combined rule for vectorsearch to follow its…
a-googler Nov 19, 2025
7037104
feat: introduces auto_upgrade_enabled option for MySQL in DatabaseIns…
a-googler Nov 20, 2025
0a299a2
feat: Add Squash Mode to Export Policy
a-googler Nov 20, 2025
d6a2197
feat: Added TextSearch support to the batch search API
a-googler Nov 20, 2025
bf2ce59
feat: add recovery_point_time to BDRProtectedResourceLog, this new fi…
a-googler Nov 20, 2025
67782cb
feat: add recovery_point_time to BDRProtectedResourceLog, this new fi…
a-googler Nov 20, 2025
a7eef0a
chore: regenerate API index
yoshi-code-bot Nov 20, 2025
ded7ed1
docs: minor update for Spanner Location API
a-googler Nov 20, 2025
160d9b3
feat: publish networksecurity v1alpha1 api
a-googler Nov 25, 2025
c9ff4f1
feat: add wide-scope Eventarc GoogleApiSource flags
a-googler Nov 25, 2025
943025a
feat: Update GCB with latest proto changes
a-googler Nov 26, 2025
8b6f877
feat: Expose zone when creating a FeatureOnlineStore
a-googler Nov 26, 2025
8cd3749
chore: regenerate API index
yoshi-code-bot Nov 26, 2025
9a665b7
feat: A new field `radius_area` is added to message `.google.shopping…
a-googler Dec 1, 2025
1c1b1ff
fix: Changed field behavior for an existing field `entitlement_granul…
a-googler Dec 1, 2025
586e752
feat: publish networksecurity v1beta1 api
a-googler Dec 1, 2025
b9ef377
feat: A new field `min_gpu_driver_version` is added to message `.goog…
a-googler Dec 2, 2025
4d2bfee
docs: update tickets component number
a-googler Dec 2, 2025
02f73f5
feat: add transfer metadata options proto definition
a-googler Dec 2, 2025
5362d27
docs: update `ReplicatedVoiceConfig.mime_type` comment
a-googler Dec 2, 2025
9f786b5
feat: added custom tolerations and labels support for Attached Clusters
a-googler Dec 2, 2025
9ae82e1
docs: update `ReplicatedVoiceConfig.mime_type` comment
a-googler Dec 2, 2025
c751a01
feat: Expose FullFineTunedResources for full fine tuned deployments
a-googler Dec 2, 2025
2faf4a6
feat: Introduce RagManagedVertexVectorSearch as a new vector db option
a-googler Dec 2, 2025
535d161
feat: add ExportArtifact API
a-googler Dec 2, 2025
db56189
feat: Update Compute Engine v1beta API to revision 20251031
yoshi-code-bot Nov 13, 2025
4667f02
feat: Update Compute Engine v1 API to revision 20251031
yoshi-code-bot Nov 14, 2025
181605a
feat: add QueryData method
a-googler Dec 4, 2025
a448b7d
fix!: fix issue when using UrlContext tool
a-googler Dec 4, 2025
bfdeefc
docs: minor api documentation changes
a-googler Dec 4, 2025
fe58211
feat: add support for v1 version of Maintenance API
a-googler Dec 5, 2025
d89bb8a
docs: Add the IDENTIFIER field behavior annotation to fields of Cloud…
a-googler Dec 5, 2025
9b165af
feat: Adds metrics orders, average_order_value_micros, average_cart_s…
a-googler Dec 5, 2025
1f2b28f
chore: create top-level BUILD rule for hypercomputecluster
a-googler Dec 5, 2025
534adc5
feat: publish the pipelines API to the stable branch
a-googler Dec 5, 2025
d534d01
feat: add SourceCode proto to Run container config
a-googler Dec 6, 2025
abdfd56
feat: Add ActAsDryRunResultLogEntry to Dataform logging protos
a-googler Dec 8, 2025
35365cb
docs: Clarify that [initial_user](http://_vscodecontentref_/3) is not…
a-googler Dec 8, 2025
c9578f6
chore: migrate generator to google-cloud-node
a-googler Dec 9, 2025
8c06c1e
fix!: Added proto3 optional to Network primitive fields
a-googler Dec 9, 2025
effe5c4
feat: add streaming function call argument API changes
a-googler Dec 10, 2025
b81889f
chore: remove duplicate gRPC service config file
a-googler Dec 10, 2025
dba0863
docs: add messages stating that Data Catalog actions are deprecated
a-googler Dec 10, 2025
b32495a
feat: add a QueryData API for NL2SQL conversion
a-googler Dec 10, 2025
05f6595
feat: add a new data sources for QueryData API
a-googler Dec 11, 2025
7a595fd
feat: updated v2 dialogflow client libraries
a-googler Dec 12, 2025
3784b36
feat: updated v3beta1 dialogflow client libraries
a-googler Dec 12, 2025
55ab9c6
feat: updated v2beta1 dialogflow client libraries
a-googler Dec 12, 2025
8f3e57f
feat: Add support for creating Job resource in dry-run mode
a-googler Dec 12, 2025
23c5898
feat: add verifiedBots field to RiskAnalysis and definitions for a Bo…
a-googler Dec 14, 2025
7ddafd8
feat: add LookerGoldenQuery to Context
a-googler Dec 15, 2025
840758a
feat: [DIREGAPIC] Update v1 API definitions to revision 20251202
yoshi-code-bot Dec 15, 2025
a11bbeb
feat: Update Compute Engine v1beta API to revision 20251202
yoshi-code-bot Dec 15, 2025
4eccddb
feat: Addition of GMAIL_MESSAGE value for RichLinkType enum in the Ri…
a-googler Dec 15, 2025
b60f5a5
feat: A new field `Instance.simulate_maintenance_event` is added to m…
a-googler Dec 15, 2025
884065f
docs: specify the data sources supported only by the QueryData API
a-googler Dec 16, 2025
4149dbd
docs: specify the data sources supported only by the QueryData API
a-googler Dec 16, 2025
1a9d00b
docs: Improve documentation of attachment.proto, event_payload.proto …
a-googler Dec 16, 2025
a8e146a
feat: Add Lustre support to the Vertex Training Custom Job API
a-googler Dec 16, 2025
fd1f9da
chore(ruby): Configure clients for database center
a-googler Dec 16, 2025
ba1f5de
chore(ruby): Correctly escape comment in DefaultServiceAccount
a-googler Dec 16, 2025
1496716
feat: auto-enable mTLS when supported certificates are detected
a-googler Dec 16, 2025
80509f2
feat: add LookerGoldenQuery to Context
a-googler Dec 17, 2025
59fdfa7
feat: add POSTGRES_18 to DatabaseVersion
a-googler Dec 17, 2025
6e20492
feat: Exposing total CPU related fields in AutoscalingConfig
a-googler Dec 17, 2025
ff251e7
docs: add tags documentation links to Pub/Sub resource tags fields
a-googler Dec 17, 2025
6d6acd2
docs: A comment for field `filter` in message `.google.cloud.maintena…
a-googler Dec 17, 2025
c631c69
feat: add IMAGE_RECITATION reason when generation is stopped due to r…
a-googler Dec 18, 2025
bc7e3ba
feat: add support for GoogleMaps and FileSearch tools
a-googler Dec 18, 2025
affadb6
feat: Add Lustre support to the Vertex Training Custom Job API
a-googler Dec 18, 2025
347b0e4
feat: add Fingerprint to Artifact Registry Version resource
a-googler Dec 19, 2025
ef6a532
feat: CloudApiRegistry V1beta
a-googler Dec 23, 2025
60f1e6a
chore: regenerate API index (#1132)
yoshi-code-bot Dec 24, 2025
2c8fbf7
feat: expose BigtableProtoConfig for bigtable integration
a-googler Dec 29, 2025
94ccedc
docs: change comment indicating `enable_gemini_in_bigquery` field for…
a-googler Dec 29, 2025
b607ece
feat: Adding Method QueryDatabaseResourceGroups of Database Center AP…
a-googler Dec 30, 2025
9a477cd
chore: copy apiregistry to correct directory name
a-googler Dec 30, 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions .bazelignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.bcr/
12 changes: 11 additions & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ build --protocopt=--experimental_allow_proto3_optional
# New boringssl requires C++14
build --repo_env=BAZEL_CXXOPTS="-std=c++14"


# This is to avoid JVM SIGBUS crashes on highly parallel builds,
# see https://github.com/bazelbuild/bazel/issues/3236 for more details
build --enable_platform_specific_config
Expand All @@ -14,3 +13,14 @@ build:linux --sandbox_tmpfs_path=/tmp
build:linux --experimental_convenience_symlinks=ignore
test:linux --experimental_convenience_symlinks=ignore
run:linux --experimental_convenience_symlinks=ignore

### Required Typecheck Performance Selection
# passes an argument `--skipLibCheck` to *every* spawn of tsc
# Bazel 6.4 or greater: 'common' means 'any command that supports this flag'
common --@aspect_rules_ts//ts:skipLibCheck=honor_tsconfig

# Between Bazel 6.0 and 6.3, you need all of this, to avoid discarding the analysis cache:
build --@aspect_rules_ts//ts:skipLibCheck=honor_tsconfig
fetch --@aspect_rules_ts//ts:skipLibCheck=honor_tsconfig
query --@aspect_rules_ts//ts:skipLibCheck=honor_tsconfig
### END Required Typecheck Performance Selection
56 changes: 56 additions & 0 deletions .bcr/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# BCR Publisher

This document explains how to use the `publish-to-bcr.sh` script to publish `googleapis` to the Bazel Central Registry (BCR).

## Usage

The `publish-to-bcr.sh` script is used to automate the process of creating a new version of the `googleapis` module in the BCR.

### Arguments

The script accepts the following arguments:

* `-r`, `--ref`: **(Required)** The git ref (commit SHA, tag, or branch) of `googleapis` to be published.
* `-t`, `--templates_ref`: The git ref to use for the templates. Defaults to the value of `--ref`.
* `-o`, `--org`: The GitHub organization. Defaults to `googleapis`.
* `-p`, `--protobuf_version`: The version of protobuf to use. Defaults to `21.7`.
* `-b`, `--bcr_organization`: The GitHub organization for the Bazel Central Registry. Defaults to `bazelbuild`.
* `-f`, `--bcr_folder`: The local path to a fork of the `bazel-central-registry` repository. If not provided, the script will clone it from `https://github.com/{bcr_organization}/bazel-central-registry`.

### Example

```bash
./publish-to-bcr.sh --ref <your-commit-sha>
```

### After running the script

After the script is executed, it will perform the following actions:

1. A new branch will be created in your local fork of `bazel-central-registry`.
2. The script will prompt you to create a Pull Request. If you agree, a new PR will be created in the `bazelbuild/bazel-central-registry` repository.
3. The script will automatically add a comment to the PR with the content: `@bazel-io skip_check unstable_url`. This is necessary to bypass the URL stability check.

Once the Pull Request has been created and all Continuous Integration (CI) checks are passing, a maintainer of the Bazel Central Registry will review and merge it.

#### Note on re-running the script

During development, you may need to run the script several times.
Between each call, it's strongly recommended to reset your local fork of bazel-central-registry.
For this, you can run the following command:

```bash
pushd "${fork_location}"
git reset --hard
git checkout main
git clean -d -f
popd
```

## Testing

To run the unit tests for the script, use the following command:

```bash
./publish-to-bcr_test.sh
```
287 changes: 287 additions & 0 deletions .bcr/publish-to-bcr.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,287 @@
#!/bin/bash
#
# Copyright 2025 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
#
# http://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.
#

set -e

readonly DEFAULT_REPO="googleapis"
readonly DEFAULT_ORG="googleapis"
readonly DEFAULT_PROTOBUF_VERSION="21.7"
readonly DEFAULT_BCR_ORGANIZATION="bazelbuild"
readonly SKIP_URL_CHECK_COMMENT='@bazel-io skip_check unstable_url'
readonly SKIP_FLAG_CHECK_COMMENT='@bazel-io skip_check incompatible_flags'

# This function checks out the .bcr folder
# to the specified commit SHA ($1) into the folder
# specified in $2
function checkout_definitions() {
local target_folder="$1"
local repo_url="$2"
local templates_ref="$3"
local definitions_ref="$4"

pushd "${target_folder}" > /dev/null
git init
git remote add origin "${repo_url}"
git sparse-checkout init --cone
git sparse-checkout set ".bcr"
git fetch --depth 1 origin "${templates_ref}"
git fetch --depth 2 origin "${definitions_ref}"
git checkout "${definitions_ref}"
git checkout "${templates_ref}" -- .bcr/ || (echo "--templates_ref does not contain the templates .bcr folder" && exit 1)
popd > /dev/null
}

function get_version() {
local target_folder="$1"
local ref="$2"
pushd "${target_folder}" &> /dev/null
local commit_sha=$(git rev-parse "${ref}")
local commit_date=$(git log --format=%cd '--date=format:%Y%m%d' "${ref}~1..${ref}")
popd &> /dev/null
echo "0.0.0-${commit_date}-${commit_sha:0:8}"
}

# Replaces values in all files containing the ".template." string in
# their filenames
function render_templates() {
local target_folder="$1"
local ref="$2"
local protobuf_version="$3"
local org="$4"

local template_files=$(find "${target_folder}" -type f -name '*.template.*')
local version_string="$(get_version "${target_folder}" "${ref}")"
for file in ${template_files}; do
# here we render the values in each template file
sed -i "s|{VERSION}|${ref}|" "${file}"
sed -i "s|{GOOGLEAPIS_VERSION}|${version_string}|" "${file}"
sed -i "s|{PROTOBUF_VERSION}|${protobuf_version}|" "${file}"
sed -i "s|{OWNER}|${DEFAULT_ORG}|" "${file}"
sed -i "s|{REPO}|${DEFAULT_REPO}|" "${file}"
# we remove the .template string from the filename
mv "${file}" $(sed 's|\.template||' <<< "${file}")
done
}

# Creates a .patch file to indicate the introduction of MODULE.bazel
function create_module_patch() {
target_googleapis_module="$1"
filename="$(basename "${target_googleapis_module}")"
destination="$2"
diff -Nau /dev/null "${target_googleapis_module}" \
| sed "1 s|.*|--- ${filename}|" \
| sed "2 s|.*|+++ ${filename}|" > "${destination}"
}

# append the version specified in $2 to the specified metadata file
function append_version_to_metadata() {
local version="$1"
local metadata_file="$2"
cat <<< $(jq ".versions += [\"${version}\"]" "${metadata_file}") > "${metadata_file}"
}

function copy_module() {
local bcr_module_folder="$1"
local file_dest="${bcr_module_folder}/overlay/MODULE.bazel"
local file_source="${bcr_module_folder}/MODULE.bazel"
if [[ -f "${file_dest}" ]]; then
rm "${file_dest}"
fi

cp "${file_source}" "${file_dest}"
}

function update_module_integrity() {
bcr_folder="$1"
version="$2"
pushd "${bcr_folder}" > /dev/null
bazelisk run -- //tools:update_integrity "googleapis" \
|| exit 1
popd > /dev/null
}

function prepare_bcr_repo() {

local target_folder="$1"
local bcr_folder="$2"
local ref="$3"

local version=$(get_version "${target_folder}" "${ref}")
pushd "${bcr_folder}"
local googleapis_module_root="${bcr_folder}/modules/googleapis"
local googleapis_target_module="${googleapis_module_root}/${version}"
cp -r "${target_folder}" "${googleapis_target_module}"
copy_module "${googleapis_target_module}"
append_version_to_metadata "${version}" "${googleapis_module_root}/metadata.json"
update_module_integrity "${bcr_folder}" "${version}"
popd
}

function validate_bcr_module() {
local target_folder="$1"
local bcr_folder="$2"
local ref="$3"

version="$(get_version "${target_folder}" "${ref}")"
pushd "${bcr_folder}" > /dev/null
# we skip the url stability check because we don't have releases of googleapis/googleapis
bazelisk run -- //tools:bcr_validation --skip_validation url_stability "--check=googleapis@${version}" \
|| exit "$?"
popd > /dev/null
}

function create_pull_request() {
local target_folder="$1"
local bcr_folder="$2"
local bcr_organization="$3"
local ref="$4"

local version=$(get_version "${target_folder}" "${ref}")
pushd "${bcr_folder}"
# we create a branch with a random string in case of multiple local runs
git checkout -b "add-googleapis-${version}-$(openssl rand -hex 3)"
git add "modules"
commit_message="Add googleapis ${version}"
git commit -m "${commit_message}"
git push origin
pr_command="gh pr create --title \"${commit_message}\" --body \"\" --repo \"${bcr_organization}/bazel-central-registry\""
read -p "The PR is ready to be raised. Do you wish to proceed? [y/N]: " -n 1 -r confirmation
if [[ "${confirmation}" =~ ^[Yy]$ ]]
then
echo "Creating Pull Request"
export pr_creation_output=$(bash -c "${pr_command}")
pr_url=$(grep '/pull/' <<< "${pr_creation_output}")
gh pr comment --body "${SKIP_URL_CHECK_COMMENT}" "${pr_url}"
gh pr comment --body "${SKIP_FLAG_CHECK_COMMENT}" "${pr_url}"
echo "Done! You can see the created PR in ${pr_url}"
else
echo "The branch is ready. You can create a PR by runing:"
echo "cd $(pwd) && ${pr_command}"
echo "Make sure to add a comment with the content: '${SKIP_URL_CHECK_COMMENT}'"
echo "as well as a comment with the content '${SKIP_FLAG_CHECK_COMMENT}'"
fi
popd
}

function confirm_tools() {
for tool in gh bazelisk git jq; do
if ! command -v "${tool}" &> /dev/null ; then
echo "Tool ${tool} is not installed. Please install it and try again."
exit 1
fi
done
}

function main() {
local ref="$1"
local templates_ref="$2"
local org="$3"
local protobuf_version="$4"
local bcr_organization="$5"
local bcr_folder="$6"

local target_folder="$(mktemp -d)"
readonly target_folder
local template_folder="${target_folder}/.bcr/template"
local repo_url="https://github.com/${org}/${DEFAULT_REPO}"
confirm_tools
checkout_definitions "${target_folder}" "${repo_url}" "${templates_ref}" "${ref}"
render_templates "${template_folder}" "${ref}" "${protobuf_version}" "${org}"
create_module_patch "${template_folder}/MODULE.bazel" "${template_folder}/patches/module_dot_bazel.patch"

if [[ -z "${bcr_folder}" ]] || [[ ! -d "${bcr_folder}" ]]; then
bcr_folder="${target_folder}/bazel-central-registry"
git clone "https://github.com/${bcr_organization}/bazel-central-registry" "${bcr_folder}"
fi
prepare_bcr_repo "${template_folder}" "${bcr_folder}" "${ref}"
validate_bcr_module "${template_folder}" "${bcr_folder}" "${ref}"
create_pull_request "${template_folder}" "${bcr_folder}" "${bcr_organization}" "${ref}"
}

# parse input parameters
while [[ $# -gt 0 ]]; do
key="$1"
case $key in
-r|--ref)
ref="$2"
shift
;;
-t|--templates_ref)
templates_ref="$2"
shift
;;
-o|--org)
org="$2"
shift
;;
-p|--protobuf_version)
protobuf_version="$2"
shift
;;
-b|--bcr_organization)
bcr_organization="$2"
shift
;;
-f|--bcr_folder)
bcr_folder="$2"
shift
;;
-d|--dry_run)
dry_run="$2"
shift
;;
*)
echo "Invalid option: [$1]"
exit 1
;;
esac
shift # past argument or value
done

if [[ -z "${ref}" ]]; then
echo "Missing option --ref"
exit 0
fi

if [[ -z "${templates_ref}" ]]; then
echo "assuming templates_ref to be the HEAD of master"
templates_ref="$(git ls-remote https://github.com/googleapis/googleapis HEAD | awk '{ print $1}')"
fi

if [[ -z "${org}" ]]; then
echo "Using default value for --org: ${DEFAULT_ORG}"
org="${DEFAULT_ORG}"
fi

if [[ -z "${protobuf_version}" ]]; then
echo "Using default value for --protobuf_version: ${DEFAULT_PROTOBUF_VERSION}"
protobuf_version="${DEFAULT_PROTOBUF_VERSION}"
fi

if [[ -z "${bcr_organization}" ]]; then
echo "Using default value for --bcr_organization: ${DEFAULT_BCR_ORGANIZATION}"
bcr_organization="${DEFAULT_BCR_ORGANIZATION}"
fi

if [[ -z "${bcr_folder}" ]] && [[ "${bcr_organization}" == "${DEFAULT_BCR_ORGANIZATION}" ]]; then
echo "Cannot create branches in the ${DEFAULT_BCR_ORGANIZATION}/bazel-central-registry repo."
echo "Please specify either a --bcr_folder or --bcr_organization we can push to."
echo "(This needs a fork of the repo.)"
exit 1
fi

main "${ref}" "${templates_ref}" "${org}" "${protobuf_version}" "${bcr_organization}" "${bcr_folder}"
Loading