@@ -343,7 +343,6 @@ gapic_generator_php_repositories()
343343
344344# Required to access the C#-specific common resources config.
345345_gax_dotnet_version = "Google.Api.Gax-3.3.0"
346-
347346_gax_dotnet_sha256 = "c4d31345a226987e8551cb81afa685c9322d3f806077d9f02011676cf00c15d9"
348347
349348http_archive (
@@ -354,9 +353,8 @@ http_archive(
354353 urls = ["https://github.com/googleapis/gax-dotnet/archive/refs/tags/%s.tar.gz" % _gax_dotnet_version ],
355354)
356355
357- _gapic_generator_csharp_version = "1.3.18"
358-
359- _gapic_generator_csharp_sha256 = "74d2c4a9e8e6dac54c329a7f4002d7e23a02972329e14f5dfb710b1d67755408"
356+ _gapic_generator_csharp_version = "1.3.19"
357+ _gapic_generator_csharp_sha256 = "0e624db75f11a4d8ca1f8cc5c619c143be312aef892f76fc94695f9723a9c1e9"
360358
361359http_archive (
362360 name = "gapic_generator_csharp" ,
@@ -366,9 +364,29 @@ http_archive(
366364)
367365
368366load ("@gapic_generator_csharp//:repositories.bzl" , "gapic_generator_csharp_repositories" )
369-
370367gapic_generator_csharp_repositories ()
371368
369+
370+ # Version of C# generator targeting GAX v3. This is present so that teams that
371+ # do not want to move immediately to GAX v4 when it comes out (e.g. Ads) are
372+ # able to stick with the GAX-v3-based generator.
373+
374+ _gapic_generator_csharp_gax_v3_version = "1.3.19"
375+ _gapic_generator_csharp_gax_v3_sha256 = "0e624db75f11a4d8ca1f8cc5c619c143be312aef892f76fc94695f9723a9c1e9"
376+
377+ http_archive (
378+ name = "gapic_generator_csharp_gax_v3" ,
379+ sha256 = _gapic_generator_csharp_gax_v3_sha256 ,
380+ strip_prefix = "gapic-generator-csharp-%s" % _gapic_generator_csharp_gax_v3_version ,
381+ urls = ["https://github.com/googleapis/gapic-generator-csharp/archive/refs/tags/v%s.tar.gz" % _gapic_generator_csharp_gax_v3_version ],
382+ repo_mapping = {
383+ "@gapic_generator_restore" : "@gapic_generator_restore_gax_v3" ,
384+ },
385+ )
386+
387+ load ("@gapic_generator_csharp_gax_v3//:repositories.bzl" , gapic_generator_csharp_repositories_gax_v3 = "gapic_generator_csharp_repositories" )
388+ gapic_generator_csharp_repositories_gax_v3 (gapic_generator_suffix = "_gax_v3" )
389+
372390##############################################################################
373391# Ruby
374392##############################################################################
0 commit comments