Skip to content

Commit

Permalink
chore(storage): disable REGAPIC transport in storage v2
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 486689296
  • Loading branch information
Google APIs authored and copybara-github committed Nov 7, 2022
1 parent 18d0ce3 commit 2cba3a6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions google/storage/v2/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ java_gapic_library(
":storage_java_grpc",
"//google/iam/v1:iam_java_grpc",
],
transport = "grpc+rest",
transport = "grpc",
deps = [
":storage_java_proto",
"//google/iam/v1:iam_java_proto",
Expand All @@ -101,7 +101,6 @@ java_gapic_library(
java_gapic_test(
name = "storage_java_gapic_test_suite",
test_classes = [
"com.google.storage.v2.StorageClientHttpJsonTest",
"com.google.storage.v2.StorageClientTest",
],
runtime_deps = [":storage_java_gapic_test"],
Expand All @@ -111,7 +110,7 @@ java_gapic_test(
java_gapic_assembly_gradle_pkg(
name = "google-cloud-storage-v2-java",
include_samples = True,
transport = "grpc+rest",
transport = "grpc",
deps = [
":storage_java_gapic",
":storage_java_grpc",
Expand Down Expand Up @@ -139,6 +138,7 @@ go_gapic_library(
importpath = "cloud.google.com/go/storage/apiv2;storage",
metadata = True,
rest_numeric_enums = False,
transport = "grpc",
service_yaml = "storage_v2.yaml",
deps = [
":storage_go_proto",
Expand Down Expand Up @@ -206,6 +206,7 @@ php_grpc_library(
deps = [":storage_php_proto"],
)

# PHP always supports gRPC and REST, but there is no PHP GAPIC for this API.
php_gapic_library(
name = "storage_php_gapic",
srcs = [":storage_proto_with_info"],
Expand Down Expand Up @@ -238,7 +239,7 @@ nodejs_gapic_library(
package = "google.storage.v2",
rest_numeric_enums = False,
service_yaml = "storage_v2.yaml",
transport = "grpc+rest",
transport = "grpc",
deps = [],
)

Expand Down

0 comments on commit 2cba3a6

Please sign in to comment.