|
1 | 1 | # This file was automatically generated by BuildFileGenerator |
| 2 | +# https://github.com/googleapis/gapic-generator/tree/master/rules_gapic/bazel |
| 3 | + |
| 4 | +# Most of the manual changes to this file will be overwritten. |
| 5 | +# It's **only** allowed to change the following rule attribute values: |
| 6 | +# - names of *_gapic_assembly_* rules |
| 7 | +# - certain parameters of *_gapic_library rules, including but not limited to: |
| 8 | +# * extra_protoc_parameters |
| 9 | +# * extra_protoc_file_parameters |
| 10 | +# The complete list of preserved parameters can be found in the source code. |
2 | 11 |
|
3 | 12 | # This is an API workspace, having public visibility by default makes perfect sense. |
4 | 13 | package(default_visibility = ["//visibility:public"]) |
@@ -140,64 +149,24 @@ go_gapic_assembly_pkg( |
140 | 149 |
|
141 | 150 | ############################################################################## |
142 | 151 | # Python |
143 | | -# DO NOT OVERRIDE with autogenerated rules if NOT migrated to Python Microgen |
144 | 152 | ############################################################################## |
145 | 153 | load( |
146 | 154 | "@com_google_googleapis_imports//:imports.bzl", |
147 | | - "moved_proto_library", |
148 | | - "py_grpc_library", |
149 | | - "py_proto_library", |
150 | | - py_gapic_assembly_pkg = "py_gapic_assembly_pkg_legacy", |
151 | | - py_gapic_library = "py_gapic_library_legacy", |
152 | | -) |
153 | | - |
154 | | -moved_proto_library( |
155 | | - name = "reservation_moved_proto", |
156 | | - srcs = [":reservation_proto"], |
157 | | - deps = [ |
158 | | - "//google/api:annotations_proto", |
159 | | - "//google/api:client_proto", |
160 | | - "//google/api:field_behavior_proto", |
161 | | - "//google/api:resource_proto", |
162 | | - "//google/rpc:status_proto", |
163 | | - "@com_google_protobuf//:empty_proto", |
164 | | - "@com_google_protobuf//:field_mask_proto", |
165 | | - "@com_google_protobuf//:timestamp_proto", |
166 | | - ], |
167 | | -) |
168 | | - |
169 | | -py_proto_library( |
170 | | - name = "reservation_py_proto", |
171 | | - plugin = "@protoc_docs_plugin//:docs_plugin", |
172 | | - deps = [":reservation_moved_proto"], |
173 | | -) |
174 | | - |
175 | | -py_grpc_library( |
176 | | - name = "reservation_py_grpc", |
177 | | - srcs = [":reservation_moved_proto"], |
178 | | - deps = [":reservation_py_proto"], |
| 155 | + "py_gapic_assembly_pkg", |
| 156 | + "py_gapic_library", |
179 | 157 | ) |
180 | 158 |
|
181 | 159 | py_gapic_library( |
182 | 160 | name = "reservation_py_gapic", |
183 | | - src = ":reservation_proto_with_info", |
184 | | - gapic_yaml = "bigqueryreservation_gapic.yaml", |
| 161 | + srcs = [":reservation_proto"], |
185 | 162 | grpc_service_config = "bigqueryreservation_grpc_service_config.json", |
186 | | - package = "google.cloud.bigquery.reservation.v1beta1", |
187 | | - service_yaml = "bigqueryreservation_v1beta1.yaml", |
188 | | - deps = [ |
189 | | - ":reservation_py_grpc", |
190 | | - ":reservation_py_proto", |
191 | | - ], |
192 | 163 | ) |
193 | 164 |
|
194 | 165 | # Open Source Packages |
195 | 166 | py_gapic_assembly_pkg( |
196 | 167 | name = "bigquery-reservation-v1beta1-py", |
197 | 168 | deps = [ |
198 | 169 | ":reservation_py_gapic", |
199 | | - ":reservation_py_grpc", |
200 | | - ":reservation_py_proto", |
201 | 170 | ], |
202 | 171 | ) |
203 | 172 |
|
|
0 commit comments