Skip to content

Commit 6f5d107

Browse files
Google APIscopybara-github
authored andcommitted
chore(python): Add google.cloud.osconfig.v1 as a proto-plus dependency for google/cloud/asset/v1
PiperOrigin-RevId: 523506983
1 parent c1aba4e commit 6f5d107

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

google/cloud/asset/v1/BUILD.bazel

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,17 @@ load(
182182
"@com_google_googleapis_imports//:imports.bzl",
183183
"py_gapic_assembly_pkg",
184184
"py_gapic_library",
185+
"py_import",
185186
"py_test",
186187
)
187188

189+
py_import(
190+
name="osconfig",
191+
srcs = [
192+
"//google/cloud/osconfig/v1:osconfig_py_gapic",
193+
],
194+
)
195+
188196
py_gapic_library(
189197
name = "asset_py_gapic",
190198
srcs = [":asset_proto"],
@@ -193,14 +201,15 @@ py_gapic_library(
193201
service_yaml = "cloudasset_v1.yaml",
194202
transport = "grpc+rest",
195203
deps = [
204+
":osconfig",
196205
"//google/cloud/orgpolicy/v1:orgpolicy_py_original_proto",
197-
"//google/cloud/osconfig/v1:osconfig_py_proto",
198206
"//google/iam/v1:policy_py_proto",
199207
"//google/identity/accesscontextmanager/v1:access_level_py_proto",
200208
"//google/identity/accesscontextmanager/v1:access_policy_py_proto",
201209
"//google/identity/accesscontextmanager/v1:accesscontextmanager_py_gapic",
202210
"//google/identity/accesscontextmanager/v1:service_perimeter_py_proto",
203211
],
212+
opt_args = ["proto-plus-deps=google.cloud.osconfig.v1"],
204213
)
205214

206215
py_gapic_assembly_pkg(

0 commit comments

Comments
 (0)