Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2716 commits
Select commit Hold shift + click to select a range
6b01723
fix!: Remove unsupported Get APIs support
a-googler Jun 16, 2026
7af3f2c
feat: add source_bucket_id, branch and artifact fields to CheckBuildS…
a-googler Jun 16, 2026
4c284f1
feat: GA updates for new Rule and ReferenceList Service Client libraries
a-googler Jun 17, 2026
2622f17
feat: GA RuleExecutionErrorService Client libraries
a-googler Jun 17, 2026
401c6c3
docs: fix unclosed backtick in AgentGateway registries comment
a-googler Jun 17, 2026
5403278
chore: Configure Ruby clients for Agent Registry
a-googler Jun 17, 2026
db88feb
feat: add new FORWARD QuoteType enum in the QuotedMessageMetadata proto
a-googler Jun 17, 2026
d513a59
docs: clarified OUTPUT_AUDIO_ENCODING_MP3 bit rate with deprecation a…
a-googler Jun 18, 2026
f548abb
docs: clarified OUTPUT_AUDIO_ENCODING_MP3
a-googler Jun 18, 2026
a105b43
docs: clarified OUTPUT_AUDIO_ENCODING_MP3 bit rate with deprecation a…
a-googler Jun 18, 2026
d5ddb40
docs: clarified OUTPUT_AUDIO_ENCODING_MP3
a-googler Jun 18, 2026
c4c9ff4
feat: add can_edit field to AccountSummary resource to indicate if th…
a-googler Jun 18, 2026
70b1e9f
feat: add a can_edit field to the PropertySummary resource to indicat…
a-googler Jun 18, 2026
e9195b3
fix: hide ConversationModelConfig as ConversationModel isn't visible
a-googler Jun 18, 2026
1df255f
feat: Add `ConfidentialInstanceType` field to support selection of co…
a-googler Jun 19, 2026
034be22
feat: Add support for recursive folder and team folder deletions
a-googler Jun 19, 2026
4679f0c
feat: add fields and messages for Cloud Run jobs
a-googler Jun 19, 2026
9b2ca24
feat: Expand Oracle Database v1 API to add support for Exascale on De…
a-googler Jun 21, 2026
f547e22
fix!: An existing field `root_agent` is removed from message `.google…
a-googler Jun 21, 2026
e78adaf
feat: Add E2_STANDARD_2 machine type to Cloud Build API
a-googler Jun 22, 2026
0b5d8e6
feat: Added `force` field to DeleteCollectionRequest to allow deletin…
a-googler Jun 22, 2026
f0b38ca
feat: Added `force` field to DeleteCollectionRequest to allow deletin…
a-googler Jun 22, 2026
ea8c396
feat: add DMS Private Connection
a-googler Jun 23, 2026
b6f9ff0
feat: add PRECIPITATION_TYPE_HAIL to PrecipitationType
a-googler Jun 23, 2026
77875a7
docs: escape data_path_id comment braces in security_profile_group.proto
a-googler Jun 23, 2026
e57bae6
chore: update copyright year
a-googler Jun 23, 2026
65cb743
feat(googleads): Protos and build files for Google Ads API v24_2
a-googler Jun 24, 2026
83a9d47
feat(googleads): Protos and build files for Google Ads API v23_3
a-googler Jun 24, 2026
3881275
feat(googleads): Protos and build files for Google Ads API v22_2
a-googler Jun 24, 2026
8135341
feat(googleads): Protos and build files for Google Ads API v21_2
a-googler Jun 24, 2026
c99563f
feat: add support for signing with alternate keys
a-googler Jun 25, 2026
2fb0f1b
feat: add secure context parameters to cloud executor proto
a-googler Jun 25, 2026
256f086
fix!: Existing value `TYPE_APP_CREATED_OR_ALREADY_EXISTS = 5` is chan…
a-googler Jun 25, 2026
21ebf26
feat: StreamingRecognitionResult has two new MessageType: SPEECH_ACTI…
a-googler Jun 25, 2026
fdd6a6e
feat: introduce RequestOptions message and request_options field on D…
a-googler Jun 26, 2026
3dd1b3b
feat: add GREEN_INSTANCE to SqlInstanceType enums
a-googler Jun 26, 2026
8a2919c
feat: speech activity event is configurable through InputAudioConfig.…
a-googler Jun 26, 2026
0a38d04
feat: speech activity event is configurable through InputAudioConfig.…
a-googler Jun 26, 2026
1a9328c
feat: Add Developer Connect integration for Git repository authentica…
a-googler Jun 27, 2026
18fb2d1
chore: update generator version and SHA256
a-googler Jun 29, 2026
eb2ee00
feat: add virtual view support, create and update timestamps for cata…
a-googler Jun 29, 2026
7138e24
chore: Upgrade the python generator to the latest version
a-googler Jun 29, 2026
3cb8c74
feat: add support for post-quantum (PQ) import methods
a-googler Jun 29, 2026
4e525f7
docs: Make management_type optional in v1alpha CreateRealm. Change to…
a-googler Jun 29, 2026
2bb679d
feat: A new service `SupportEventSubscription` is added
a-googler Jun 29, 2026
03756fd
feat: A new service `SupportEventSubscription` is added
a-googler Jun 29, 2026
7a80a00
feat: Add Maps Isochrones V1 API
a-googler Jun 30, 2026
8f0ef5e
docs(networksecurity): escape comment braces properly in security_pro…
a-googler Jun 30, 2026
1ce337a
fix: add routing annotations to BidiRunSession in v1 and v1beta
a-googler Jun 30, 2026
a6cace4
docs: clarify and use more consistent wording
a-googler Jun 30, 2026
28476cc
feat: Add Cloud Product Registry client libraries
a-googler Jul 1, 2026
3128505
chore: Configure Ruby clients for Isochrones API
a-googler Jul 1, 2026
d7dea57
feat: add image sanitization support
a-googler Jul 2, 2026
282495b
feat: Add `DiskConfig` to instance selection to support disk config o…
a-googler Jul 2, 2026
508a024
feat: add nowcast intensity granularity
a-googler Jul 2, 2026
0fcabfc
feat: GA FindingsRefinementService Client libraries
a-googler Jul 2, 2026
ba4573a
feat: Support per-repository identity for repositories
a-googler Jul 3, 2026
73a8001
feat: add support for new signature algorithm in PkixPublicKey Signat…
a-googler Jul 6, 2026
2b625c9
feat: add support for new signature algorithm in PkixPublicKey Signat…
a-googler Jul 6, 2026
1a91fbe
docs: remove cpp client lib generation for isochrones
a-googler Jul 6, 2026
c39209b
feat: update public libraries for CES v1beta
a-googler Jul 7, 2026
bb6d2fd
feat: Add identity_type to Reasoning Engine public protos
a-googler Jul 7, 2026
752b8c9
feat: Add identity_type to Reasoning Engine public protos
a-googler Jul 7, 2026
af2513f
feat: Add Availability Api's
a-googler Jul 7, 2026
54d0754
feat: update public libraries for CES v1
a-googler Jul 7, 2026
8fa5cce
docs: update webhook signature header name to GOOGLE-HEALTH-API-SIGNA…
a-googler Jul 7, 2026
c087e22
chore: Configure Ruby clients for Cloud Product Registry API
a-googler Jul 7, 2026
ea20a7c
feat: Add support for self managed migrations feature to Memorystore …
a-googler Jul 7, 2026
99f54e6
chore: remove third_party stable mirror for deprecated apigeeregistry…
a-googler Jul 8, 2026
71573e6
feat: Add RelevanceFilterSpec to SearchRequest in v1
a-googler Jul 9, 2026
98bb487
feat: Add access permission settings to Space resource for configurin…
a-googler Jul 9, 2026
5e35765
feat: added new NicType field to job
a-googler Jul 9, 2026
cf2456a
feat: Create first public version of client libraries for the commerc…
a-googler Jul 9, 2026
bb95516
feat: expose retrieval_queries in GroundingMetadata for the v1 API
a-googler Jul 10, 2026
e475c93
chore(ci): pause compute preview regen
a-googler Jul 10, 2026
0efbe97
chore: internalize compute preview publishing flow
a-googler Jul 10, 2026
52333d9
feat: initial release of the Agent Identity API (v1beta)
a-googler Jul 10, 2026
1134d26
chore(preview): remove compute regen artifacts (#1219)
noahdietz Jul 10, 2026
95de37f
feat: Convergence - add listing and session details
a-googler Jul 10, 2026
fc645e5
feat(secretmanager): add support for Managed Rotation
a-googler Jul 13, 2026
2c4dd79
feat: initial release of the Agent Identity API (v1)
a-googler Jul 13, 2026
d28e3d7
feat: Convergence - add parameters related to TRC RDB
a-googler Jul 13, 2026
faa8119
feat: add various new attributes to Product including vehicles, prope…
a-googler Jul 13, 2026
d41800a
feat: add agent, agent_sessions, and agent_anomaly fields to Finding
a-googler Jul 13, 2026
3614450
feat: add agent, agent_sessions, and agent_anomaly fields to Finding
a-googler Jul 13, 2026
70b366e
feat: add support for instance flexibility policy in Cloud Batch
a-googler Jul 14, 2026
8a77a63
feat: Add tool calls and tool responses to AnalyzeContent and BidiStr…
a-googler Jul 14, 2026
82363dc
feat: add GAPIC libraries for Cloud SQL in Go and Java
a-googler Jul 14, 2026
669938a
feat: A new resource_definition `cloudkms.googleapis.com/CryptoKey` i…
a-googler Jul 14, 2026
c523f29
feat: Update Compute Engine v1beta API to revision 20260629 (#1215)
yoshi-code-bot Jul 15, 2026
f63acc6
feat: Update Compute Engine v1 API to revision 20260629 (#1213)
yoshi-code-bot Jul 15, 2026
d9e16f3
feat: initial release of the Agent Identity Credentials API (v1beta)
a-googler Jul 15, 2026
8762e2c
feat: export custom_attributes field in LocalInventory and RegionalIn…
a-googler Jul 15, 2026
fe04226
feat: Add support for trusted key wrapping and HSM key trust upgrades
a-googler Jul 15, 2026
8ff1d42
chore: Configure Ruby clients for Data Lineage Config Management API
a-googler Jul 15, 2026
9cbb0fd
feat: Added AdSpotService
a-googler Jul 15, 2026
300fb47
feat: update gapic client library for multicloud 1.35
a-googler Jul 15, 2026
d2a4d35
chore: update copyright year for auto-generated protos
a-googler Jul 16, 2026
39ccb24
feat: add support for Snowflake REST Catalog federation
a-googler Jul 16, 2026
349fe79
feat: Convergence - add parameters related to test type
a-googler Jul 16, 2026
d567af4
chore: Configure Ruby clients for Vector Search API
a-googler Jul 16, 2026
69d7866
feat: Add support for Basic Auth feature to Memorystore for Valkey
a-googler Jul 16, 2026
3e4ab77
docs: update documentation comment for access_restriction in BackupVa…
a-googler Jul 17, 2026
6145fa8
docs: Update `DocumentView.DOCUMENT_VIEW_BASIC` comment to include `c…
a-googler Jul 17, 2026
8194d9f
feat: [Memorystore for Redis Cluster] add Cluster.AsyncClusterEndpoin…
a-googler Jul 17, 2026
9d6942a
feat: [Memorystore for Redis Cluster] add Cluster.AsyncClusterEndpoin…
a-googler Jul 17, 2026
cd3e709
feat: add content_length_bytes to Documents
a-googler Jul 17, 2026
e82c753
chore: update python generator version to 1.37.0
a-googler Jul 18, 2026
8eb9335
docs: fix filter docs -- content_length_bytes is not supported yet an…
a-googler Jul 20, 2026
8326ca7
feat: add BatchCreateTasks and BatchDeleteTasks to CloudTasks v2beta3
a-googler Jul 20, 2026
2bd52d2
feat: A new field `resource_uris` is added to message `.google.cloud.…
a-googler Jul 20, 2026
6a884cd
feat: add ParseFromActivationKey RPC, ProviderType enum, and PSC rout…
a-googler Jul 20, 2026
fb6e47a
feat: add Route to GroundingChunk.Maps in Vertex AI v1
a-googler Jul 20, 2026
916f9cd
feat: add Route to GroundingChunk.Maps in Vertex AI v1beta1
a-googler Jul 20, 2026
5f60610
chore: tasks/v2beta3 restore ESM format arg for nodejs gapic
a-googler Jul 20, 2026
9c49188
chore: Configure Ruby clients for Commerce Producer API
a-googler Jul 20, 2026
5f933a6
feat(preview): Update Compute Engine v1 API to revision 20260709
a-googler Jul 20, 2026
a4d7050
chore: disable compute v1beta disco-proto regen
a-googler Jul 21, 2026
600f670
feat: add catalog failover method
a-googler Jul 21, 2026
a8598f6
feat: Addition of Membership Affiliation information
a-googler Jul 21, 2026
45c8d8a
chore(compute): internalize disco-to-proto regen
a-googler Jul 21, 2026
bdf06d2
feat(googleads): Regenerate protos Google Ads API v21, v22, v23 and v24
a-googler Jul 22, 2026
38046d1
chore: remove third_party stable mirrors for deprecated Payment Gatew…
a-googler Jul 22, 2026
6825e4a
feat: publish Cloud Quotas v1 GA client library protos and GAPIC Baze…
a-googler Jul 22, 2026
c56ab40
docs: restrict `allowed_locations` region or zone values to the same …
a-googler Jul 22, 2026
eeacbcf
docs: restrict `allowed_locations` region or zone values to the same …
a-googler Jul 22, 2026
97d28ba
feat: add client library publishing configuration for SQL Admin
a-googler Jul 22, 2026
1a080db
feat: add client library publishing configuration for SQL Admin
a-googler Jul 22, 2026
a15a5b7
feat!: Added additional LineItem fields
a-googler Jul 22, 2026
eecf37a
Synchronize new proto/yaml changes.
a-googler Jul 22, 2026
21a792a
feat: Include all languages and ResolveAmendmentTarget endpoint in pu…
a-googler Jul 22, 2026
34af13f
chore: disable compute v1 disco-proto regen
a-googler Jul 23, 2026
2bdcdbb
feat: Convergence - add parameters related to ResultDB
a-googler Jul 23, 2026
47addb7
chore(compute): internalize disco-to-proto regen
a-googler Jul 23, 2026
0d2482f
chore: internalize disco-to-proto config
a-googler Jul 23, 2026
694f87c
docs: fix navconnect documentation URL
a-googler Jul 23, 2026
ede8b2e
feat: Add new CreateRapidCache
a-googler Jul 24, 2026
c7f9a1d
feat: A new field `attack_requirements` is added to message `.grafeas…
a-googler Jul 24, 2026
af9ff0f
fix: align HTTP paths with enforced matching
a-googler Jul 24, 2026
09bc253
fix: align HTTP paths with enforced matching
a-googler Jul 24, 2026
a8f3f1d
feat: deprecate client_tls_policy field from Endpoint Policy proto
a-googler Jul 24, 2026
437254f
feat: deprecate client_tls_policy field from Endpoint Policy proto
a-googler Jul 25, 2026
62da249
feat: add support for granting contract permissions on behalf of anot…
a-googler Jul 27, 2026
b8486a2
chore: delete diregapic regen workflows
a-googler Jul 29, 2026
36d9a9b
feat: Addition of the Search Messages API
a-googler Jul 30, 2026
994353e
feat: new iam v3 client for AccessPolicies
a-googler Jul 30, 2026
6dfee79
fix: generate double-wildcard path patterns with capture groups
a-googler Jul 30, 2026
c5dcac8
feat: add google_user_id_data and partner_provided_id_data to Audienc…
a-googler Jul 30, 2026
954a825
feat: add RequestOptions and request_options to Firestore v1 protos
a-googler Jul 31, 2026
73aa1b6
feat: add PipelineConfig to support different pipeline types and paths
a-googler Jul 31, 2026
93c3926
feat: add workflow trigger configuration support
a-googler Jul 31, 2026
a609976
feat: Added synthetic_content_info field to Ad and Asset resources al…
a-googler Jul 31, 2026
3f9c9d7
feat: Upgrade protobuf to v33.2
a-googler Aug 1, 2026
0606f50
feat(preview): update Compute v1 to revision 20260722
a-googler Aug 3, 2026
29834f3
feat: update Compute v1beta to revision 20260722
a-googler Aug 3, 2026
e0c53fe
feat: Add AdditionalContractValue
a-googler Aug 3, 2026
097dd18
feat: update Compute v1 to revision 20260722
a-googler Aug 3, 2026
f3ff3a1
docs: Update copyright year
a-googler Aug 3, 2026
f2c7328
feat: add Tool.ExaAiSearch to Vertex AI v1beta1
a-googler Aug 4, 2026
8874a5f
feat: add Tool.ExaAiSearch to Vertex AI v1
a-googler Aug 4, 2026
5739471
feat: Allow users to search for spaces without requiring admin privil…
a-googler Aug 4, 2026
9d6aeca
fix(deps): Update the Java code generator (gapic-generator-java) to v…
a-googler Aug 5, 2026
2314177
chore: Update Ruby generator to latest (v0.51.1)
a-googler Aug 5, 2026
19cec06
feat: add internal tag to generated $serviceScopes property
a-googler Aug 6, 2026
fc62df0
chore: update protobuf to 33.2 and rules_python to 1.6.0
a-googler Aug 6, 2026
befe6dc
feat: publish proto definitions and service configuration for Cloud F…
a-googler Aug 7, 2026
0e06eb6
feat: add endpoint field to BatchPredictionJob for bring-your-own-end…
a-googler Aug 7, 2026
8f774d0
feat: add relevance_score to DocumentChunk
a-googler Aug 7, 2026
2d0def9
feat: add support for custom content types
a-googler Aug 7, 2026
443c807
feat: add microsecond timestamp precision support
a-googler Aug 7, 2026
d94a97e
feat(googleads)!: Delete protos for Google Ads API v21, as part of v2…
a-googler Aug 7, 2026
455ca74
feat: rename the API
a-googler Aug 7, 2026
cb8b758
feat: transition Weather API enums to nested message definitions
a-googler Aug 9, 2026
b99d975
feat: Added `PartnerService`
a-googler Aug 10, 2026
63e5b25
feat: add microsecond timestamp precision support
a-googler Aug 10, 2026
bda5be2
feat: add VertexRanker reranker support to vector search
a-googler Aug 10, 2026
a60f0ae
feat: Add organizations level support for GenerateAuditScopeReport, G…
a-googler Aug 11, 2026
f4895f8
feat: Expand Oracle Database v1 API to add support for Exascale CMEK,…
a-googler Aug 11, 2026
668dd27
feat: add ViewObjectFullContext RPC and RapidCacheInfo in Storage Con…
a-googler Aug 11, 2026
c14dc21
docs: A comment for field `account_defender_assessment` in message `.…
a-googler Aug 11, 2026
894da49
feat: publish Workload Identity API
a-googler Aug 11, 2026
4685aff
feat: add build configuration support to Vertex AI Reasoning Engine
a-googler Aug 12, 2026
240b58f
feat: Add a new field `precedence` to `bigqueryreservation.googleapis…
a-googler Aug 12, 2026
4a028b9
feat: Removal of beta visibility labels on markup_syntax
a-googler Aug 12, 2026
f76fc6d
feat: add option to fetch remote change history (tags) for GitSource …
a-googler Aug 12, 2026
29da218
feat: Launch Map Management v2 API GA channel
a-googler Aug 12, 2026
5418514
docs: Added Terraform and gcloud links for support event subscription…
a-googler Aug 13, 2026
29a82c8
docs: Added Terraform and gcloud links for support event subscription…
a-googler Aug 13, 2026
fa78059
docs: Update documentation for validate_only
a-googler Aug 13, 2026
7076957
feat: add support for client-side metrics in AppendRowsRequest
a-googler Aug 13, 2026
37c83e2
feat: add support for PSC as default
a-googler Aug 14, 2026
ea280c4
feat: add menstrual cycle, symptoms, and mood data types to Health AP…
a-googler Aug 14, 2026
bf2add6
feat: add microsecond_timestamp feature flag
a-googler Aug 14, 2026
ca91093
feat: add support for PSC as default
a-googler Aug 14, 2026
ae4f02f
feat: Add fields `original_branch`, `enable_branch_management`, `dept…
a-googler Aug 17, 2026
17ac948
feat: Add output-only field `lineage_enabled` to message `.google.clo…
a-googler Aug 17, 2026
5f6859b
chore: fix Go module name
a-googler Aug 17, 2026
297ef5a
feat(preview): update compute to revision 20260807
a-googler Aug 17, 2026
fc97b79
feat: expose new arrow-related query artifacts
a-googler Aug 17, 2026
28ba5d1
feat: add Lakehouse Hive Metastore v1 API
a-googler Aug 17, 2026
aa47759
chore: Update copyright year
a-googler Aug 18, 2026
8d3c4e3
chore: Update copyright year
a-googler Aug 18, 2026
65e376e
chore: Update copyright year
a-googler Aug 18, 2026
184cb44
chore: fix Go module name
a-googler Aug 19, 2026
2c0481c
feat(googleads): Protos and build files for Google Ads API v25_1
a-googler Aug 19, 2026
8856eed
feat(googleads): Protos for v22, v23, and v24, regenerated for the Go…
a-googler Aug 19, 2026
7ae0f62
feat: support for rollback-safe upgrade
a-googler Aug 19, 2026
f1f8a50
feat: You can now filter by `content_length_bytes`
a-googler Aug 19, 2026
4bbbca6
feat: add disable rapid cache operation
a-googler Aug 20, 2026
89040d1
feat: Define new producer_destinations for Data lineage service
a-googler Aug 20, 2026
d21c3ff
feat: expose StreamAssistRequest agents_spec and agent_id
a-googler Aug 20, 2026
ac463cc
feat: add indicator if early apply results are available
a-googler Aug 20, 2026
48278f6
feat: expose StreamAssistRequest agents_spec and agent_id
a-googler Aug 20, 2026
c3e3d8a
docs: A comment for field `principal` in message `.google.cloud.bigqu…
a-googler Aug 21, 2026
58bc461
feat: Add compiled_proto_schema to Schema for schema imports
a-googler Aug 21, 2026
f8291d2
feat: publish public v1 proto for DocumentChunk.relevance_score
a-googler Aug 22, 2026
4bdc50e
feat(apptopology): initial GAPIC client library release for v1
a-googler Aug 24, 2026
b2389f4
feat: add enable_zero_data_retention to Tool.ParallelAiSearch
a-googler Aug 24, 2026
8175735
docs: A comment for field `place` in message `.google.maps.areainsigh…
a-googler Aug 24, 2026
ff81d8a
feat: add enable_zero_data_retention to Tool.ParallelAiSearch
a-googler Aug 24, 2026
7fe1a59
feat: Add new `AUTOMATIC_MATERIALIZED_VIEW_REFRESH` reservation assig…
a-googler Aug 24, 2026
32aa408
feat: update Compute Engine v1 API artifacts to revision 20260807
a-googler Aug 24, 2026
e1a89e4
feat: update Compute Engine v1beta API artifacts to revision 20260807
a-googler Aug 24, 2026
2e9c568
feat: add QueryData API
a-googler Aug 25, 2026
d328c99
chore(compute): add issue tracker URI to service config
a-googler Aug 25, 2026
97a7f42
chore(compute): add issue tracker URI to service config
a-googler Aug 25, 2026
992a70b
feat: Update the csharp and PHP generators to the latest version
a-googler Aug 25, 2026
d10ac92
docs: remove EEA IP address matching disclaimer from user_ip_address …
a-googler Aug 25, 2026
40c9c54
feat: Added methods for activation, deactivation, approval, rejection…
a-googler Aug 26, 2026
63425cf
feat: publish tunnel, bridge, and skyway fields in Routes API v2
a-googler Aug 26, 2026
50aad1b
docs: mark TransactionEffects.effects field as deprecated
a-googler Aug 26, 2026
de3c0d3
feat: Added support for point-in-time recovery related fields in BDRB…
a-googler Aug 27, 2026
8468dce
feat: added new NicType field to job
a-googler Aug 27, 2026
996ec07
feat: Add a new field `property_graph_references` to support BigQuery…
a-googler Aug 27, 2026
1182557
chore: configure grpc service config for PHP Bigtable
a-googler Aug 27, 2026
905b239
feat: Add ContentPolicy configuration and management APIs
a-googler Aug 27, 2026
c044a9c
feat: expose filter field on AnswerQueryRequest
a-googler Aug 27, 2026
1f38da6
feat: promote lineage outputs to v2
a-googler Aug 28, 2026
9af1fae
feat(geminidataanalytics): update v1beta protos for datasources and q…
a-googler Aug 29, 2026
a0cd397
feat: add loyaltycustomers v1 library
a-googler Aug 31, 2026
2295794
feat: Publish AvroSchema to CBT admin API
a-googler Sep 1, 2026
02fc2b2
feat: add `PlatformType` enum and `platform_type` field to `VerifyCon…
a-googler Sep 1, 2026
00ff8fc
feat: update Compute Engine v1 API artifacts to revision 20260821
a-googler Sep 2, 2026
5aa5a8e
feat: update Compute Engine v1beta API artifacts to revision 20260821
a-googler Sep 2, 2026
31daafc
feat: update Compute Engine v1 API artifacts to revision 20260821
a-googler Sep 2, 2026
2bc8a1b
feat: enable REST transport for Go GAPIC client
a-googler Sep 2, 2026
2da94cf
feat: add POSTGRES_19 to DatabaseVersion
a-googler Sep 3, 2026
da1f35d
feat: add POSTGRES_19 to DatabaseVersion
a-googler Sep 3, 2026
17dbe87
fix: add language namespace options to loyalty_customer.proto
a-googler Sep 3, 2026
64aa30b
feat(geminidataanalytics): update v1alpha protos for datasources and …
a-googler Sep 4, 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
  •  
  •  
  •  
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/
2 changes: 1 addition & 1 deletion .bazeliskrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# See https://github.com/bazelbuild/bazelisk
USE_BAZEL_VERSION=6.3.0
USE_BAZEL_VERSION=7.7.1
34 changes: 25 additions & 9 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1,16 +1,32 @@
common --noenable_bzlmod

# --- C++ Toolchain & Compilation ---
# Force C++17 for Protobuf 31 / gRPC 1.74 compatibility
build --cxxopt='-std=c++17'
build --host_cxxopt='-std=c++17'
build --action_env=BAZEL_CXXOPTS="-std=c++17"

# --- Java Toolchain & Runtime (JDK 21) ---
build --java_language_version=21
build --java_runtime_version=remotejdk_21
build --javacopt="-Xep:ImpossibleNullComparison:OFF"

# --- Protobuf & gRPC ---
build --proto_toolchain_for_java="@com_google_protobuf_java_only//:java_toolchain"
build --define=grpc_no_ares=true
# To make proto_library rules to include source info in the descriptor
build --protocopt=--include_source_info
build --protocopt=--experimental_allow_proto3_optional
# New boringssl requires C++14
build --repo_env=BAZEL_CXXOPTS="-std=c++14"

# --- Test Environment Fixes ---
test --jvmopt="-Djava.security.manager=allow"
test --jvmopt="--add-opens=java.base/java.lang=ALL-UNNAMED"
build --remote_download_toplevel

# 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
# --- Linux Specific Config ---
build:linux --sandbox_tmpfs_path=/tmp
common:linux --experimental_convenience_symlinks=ignore

# Do not create bazel-* symlinks in the workspace directory
build:linux --experimental_convenience_symlinks=ignore
test:linux --experimental_convenience_symlinks=ignore
run:linux --experimental_convenience_symlinks=ignore
# --- Performance & Analysis ---
# Bazel 6.4+: 'common' applies to all commands that support the flag
common --@aspect_rules_ts//ts:skipLibCheck=honor_tsconfig
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
```
288 changes: 288 additions & 0 deletions .bcr/publish-to-bcr.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,288 @@
#!/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"
mkdir -p "$(dirname ${destination})"
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