Skip to content

Commit ccf3501

Browse files
Google APIscopybara-github
authored andcommitted
chore: migrate functions/v1 to the PHP microgenerator
Committer: @miraleung PiperOrigin-RevId: 369324229
1 parent 05dfbdb commit ccf3501

2 files changed

Lines changed: 7 additions & 25 deletions

File tree

google/cloud/functions/v1/BUILD.bazel

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

186186
##############################################################################
187187
# PHP
188+
# DO NOT OVERRIDE this PHP microgenerator section with autogenerated rules.
188189
##############################################################################
189190
load(
190191
"@com_google_googleapis_imports//:imports.bzl",
191-
"php_gapic_assembly_pkg",
192-
"php_gapic_library",
193-
"php_grpc_library",
194-
"php_proto_library",
192+
php_gapic_assembly_pkg = "php_gapic_assembly_pkg2",
193+
php_gapic_library = "php_gapic_library2",
194+
php_grpc_library = "php_grpc_library2",
195+
php_proto_library = "php_proto_library2",
195196
)
196197

197198
php_proto_library(
@@ -207,11 +208,8 @@ php_grpc_library(
207208

208209
php_gapic_library(
209210
name = "functions_php_gapic",
210-
src = ":functions_proto_with_info",
211-
gapic_yaml = "functions_gapic.yaml",
211+
srcs = [":functions_proto_with_info"],
212212
grpc_service_config = "functions_grpc_service_config.json",
213-
package = "google.cloud.functions.v1",
214-
service_yaml = "cloudfunctions_v1.yaml",
215213
deps = [
216214
":functions_php_grpc",
217215
":functions_php_proto",
@@ -261,8 +259,8 @@ nodejs_gapic_assembly_pkg(
261259
##############################################################################
262260
load(
263261
"@com_google_googleapis_imports//:imports.bzl",
264-
"ruby_gapic_assembly_pkg",
265262
"ruby_cloud_gapic_library",
263+
"ruby_gapic_assembly_pkg",
266264
"ruby_grpc_library",
267265
"ruby_proto_library",
268266
)

google/cloud/functions/v1/functions_gapic.yaml

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

0 commit comments

Comments
 (0)