Skip to content

Commit 381e881

Browse files
Google APIscopybara-github
authored andcommitted
chore: migrate artifactregistry to the PHP microgenerator
Committer: @miraleung PiperOrigin-RevId: 365163518
1 parent 355a80d commit 381e881

2 files changed

Lines changed: 7 additions & 25 deletions

File tree

google/devtools/artifactregistry/v1beta2/BUILD.bazel

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -192,13 +192,14 @@ py_gapic_assembly_pkg(
192192

193193
##############################################################################
194194
# PHP
195+
# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules.
195196
##############################################################################
196197
load(
197198
"@com_google_googleapis_imports//:imports.bzl",
198-
"php_gapic_assembly_pkg",
199-
"php_gapic_library",
200-
"php_grpc_library",
201-
"php_proto_library",
199+
php_gapic_assembly_pkg = "php_gapic_assembly_pkg2",
200+
php_gapic_library = "php_gapic_library2",
201+
php_grpc_library = "php_grpc_library2",
202+
php_proto_library = "php_proto_library2",
202203
)
203204

204205
php_proto_library(
@@ -214,11 +215,8 @@ php_grpc_library(
214215

215216
php_gapic_library(
216217
name = "artifactregistry_php_gapic",
217-
src = ":artifactregistry_proto_with_info",
218-
gapic_yaml = "artifactregistry_gapic.yaml",
218+
srcs = [":artifactregistry_proto_with_info"],
219219
grpc_service_config = "artifactregistry_grpc_service_config.json",
220-
package = "google.devtools.artifactregistry.v1beta2",
221-
service_yaml = "artifactregistry_v1beta2.yaml",
222220
deps = [
223221
":artifactregistry_php_grpc",
224222
":artifactregistry_php_proto",
@@ -268,8 +266,8 @@ nodejs_gapic_assembly_pkg(
268266
##############################################################################
269267
load(
270268
"@com_google_googleapis_imports//:imports.bzl",
271-
"ruby_gapic_assembly_pkg",
272269
"ruby_cloud_gapic_library",
270+
"ruby_gapic_assembly_pkg",
273271
"ruby_grpc_library",
274272
"ruby_proto_library",
275273
)

google/devtools/artifactregistry/v1beta2/artifactregistry_gapic.yaml

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)