Skip to content

Commit abed0ad

Browse files
Google APIscopybara-github
authored andcommitted
chore: update gapic-generator-csharp to 1.3.8
Committer: @ViroST PiperOrigin-RevId: 397402402
1 parent 83728bb commit abed0ad

3 files changed

Lines changed: 58 additions & 42 deletions

File tree

WORKSPACE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,9 +335,9 @@ http_archive(
335335
urls = ["https://github.com/googleapis/gax-dotnet/archive/refs/tags/%s.tar.gz" % _gax_dotnet_version],
336336
)
337337

338-
_gapic_generator_csharp_version = "1.3.7"
338+
_gapic_generator_csharp_version = "1.3.8"
339339

340-
_gapic_generator_csharp_sha256 = "7f4fca6f9ec3902ae0bd0e6b96593e6370fb035ef0e56dd505f5b411b7138a7a"
340+
_gapic_generator_csharp_sha256 = "a1ddbdfe296f8668aeba7e484c69ed0ae274bffd2b1f4c8a2ccb33aad12db707"
341341

342342
http_archive(
343343
name = "gapic_generator_csharp",

google/cloud/bigquery/connection/v1beta1/BUILD.bazel

Lines changed: 28 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -298,26 +298,34 @@ csharp_grpc_library(
298298
deps = [":connection_csharp_proto"],
299299
)
300300

301-
csharp_gapic_library(
302-
name = "connection_csharp_gapic",
303-
srcs = [":connection_proto_with_info"],
304-
common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
305-
grpc_service_config = "bigqueryconnection_grpc_service_config.json",
306-
deps = [
307-
":connection_csharp_grpc",
308-
":connection_csharp_proto",
309-
],
310-
)
311-
312-
# Open Source Packages
313-
csharp_gapic_assembly_pkg(
314-
name = "google-cloud-bigquery-connection-v1beta1-csharp",
315-
deps = [
316-
":connection_csharp_gapic",
317-
":connection_csharp_grpc",
318-
":connection_csharp_proto",
319-
],
320-
)
301+
##
302+
# [2021-09-17, virost] Disabled this pending investigation because
303+
# the pagination in the ListConnections methods plays havoc with the
304+
# pagination detection in the generator.
305+
# Likely because the type is google.protobuf.UInt32Value
306+
#
307+
# This is for v1beta1 (unpublished for C#), v1 is unaffected
308+
#
309+
# csharp_gapic_library(
310+
# name = "connection_csharp_gapic",
311+
# srcs = [":connection_proto_with_info"],
312+
# common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
313+
# grpc_service_config = "bigqueryconnection_grpc_service_config.json",
314+
# deps = [
315+
# ":connection_csharp_grpc",
316+
# ":connection_csharp_proto",
317+
# ],
318+
# )
319+
320+
# # Open Source Packages
321+
# csharp_gapic_assembly_pkg(
322+
# name = "google-cloud-bigquery-connection-v1beta1-csharp",
323+
# deps = [
324+
# ":connection_csharp_gapic",
325+
# ":connection_csharp_grpc",
326+
# ":connection_csharp_proto",
327+
# ],
328+
# )
321329

322330
##############################################################################
323331
# C++

google/cloud/bigquery/v2/BUILD.bazel

Lines changed: 28 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -297,26 +297,34 @@ csharp_grpc_library(
297297
deps = [":bigquery_csharp_proto"],
298298
)
299299

300-
csharp_gapic_library(
301-
name = "bigquery_csharp_gapic",
302-
srcs = [":bigquery_proto_with_info"],
303-
common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
304-
grpc_service_config = "bigquery_grpc_service_config.json",
305-
deps = [
306-
":bigquery_csharp_grpc",
307-
":bigquery_csharp_proto",
308-
],
309-
)
310-
311-
# Open Source Packages
312-
csharp_gapic_assembly_pkg(
313-
name = "google-cloud-bigquery-v2-csharp",
314-
deps = [
315-
":bigquery_csharp_gapic",
316-
":bigquery_csharp_grpc",
317-
":bigquery_csharp_proto",
318-
],
319-
)
300+
##
301+
# [2021-09-17, virost] Disabled this pending investigation because
302+
# the pagination in the ListModels methods plays havoc with the
303+
# pagination detection in the generator because the type
304+
# is google.protobuf.UInt32Value
305+
#
306+
# This is published, so it will be resolved with the next generator update.
307+
#
308+
# csharp_gapic_library(
309+
# name = "bigquery_csharp_gapic",
310+
# srcs = [":bigquery_proto_with_info"],
311+
# common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json",
312+
# grpc_service_config = "bigquery_grpc_service_config.json",
313+
# deps = [
314+
# ":bigquery_csharp_grpc",
315+
# ":bigquery_csharp_proto",
316+
# ],
317+
# )
318+
319+
# # Open Source Packages
320+
# csharp_gapic_assembly_pkg(
321+
# name = "google-cloud-bigquery-v2-csharp",
322+
# deps = [
323+
# ":bigquery_csharp_gapic",
324+
# ":bigquery_csharp_grpc",
325+
# ":bigquery_csharp_proto",
326+
# ],
327+
# )
320328

321329
##############################################################################
322330
# C++

0 commit comments

Comments
 (0)