Commit graph

39 commits

Author SHA1 Message Date
Google APIs
c249577397 chore: create new combined library with security-center-nodejs
PiperOrigin-RevId: 802803823
2025-09-03 19:12:59 -07:00
Google APIs
febe1dc950 feat: Add upb_c_proto_library rules for some well known protobuf types
These are not for general consumption. They are specifically for projects which have an agreement with protobuf on directly accessing upb. Any other usage is unsupported and may be broken at anytime without warning.

PiperOrigin-RevId: 724391383
2025-02-07 10:26:38 -08:00
Google APIs
1616ad35d6 chore(bazel): add go_grpc_library repository rule
PiperOrigin-RevId: 597553954
2024-01-11 07:47:34 -08:00
Google APIs
e5bbf4370c chore(python): Allow py_import to be loaded in bazel build rules
PiperOrigin-RevId: 509275432
2023-02-13 10:55:06 -08:00
Google APIs
abe15226ba fix: Add py_test targets
PiperOrigin-RevId: 463701296
2022-07-27 16:06:30 -07:00
Google APIs
21ef8485aa fix: update rules_go, grpc, gazelle and python toolchain to latest versions to fix various build issues
PiperOrigin-RevId: 459858846
2022-07-08 16:41:39 -07:00
Google APIs
e12aa99706 chore: fix Bazel rule comment
Committer: @chanseok
PiperOrigin-RevId: 402614009
2021-10-12 11:32:20 -07:00
Google APIs
1dc139d74b chore: update gapic-generator-csharp to 1.3.10
chore: update rules_gapic to 0.7.0
feat: rules `csharp_proto_library` and `csharp_grpc_library` are now sourced from `rules_gapic` (instead of `gapic-generator-csharp`).
chore: re-enabled C# build rules for BigQuery/v2 and BigQuery/Connection/v1beta1

Committer: @virost
PiperOrigin-RevId: 398018488
2021-09-21 09:52:12 -07:00
Google APIs
076f7e9f0b chore: remove all monolith Bazel deps
chore: release gapic-generator-csharp v1.3.7
chore: release gapic-generator-go 0.20.5
chore: release gapic-generator-java 1.0.14
chore: release gapic-generator-php 1.0.1
chore: release gapic-generator-python 0.50.0
chore: update gapic-generator-ruby to the latest commit
chore: release gapic-generator-typescript 1.5.0

Committer: @miraleung
PiperOrigin-RevId: 380641501
2021-06-21 12:43:29 -07:00
Google APIs
2aacd415c6 chore: Remove the unused legacy gapic_ruby_library rules binding.
PiperOrigin-RevId: 377601228
2021-06-04 15:23:27 -07:00
Google APIs
060218c3cc chore: rename PHP microgen Bazel rules, delete monolith rules in googleapis
Committer: @miraleung
PiperOrigin-RevId: 377518010
2021-06-04 08:36:42 -07:00
Google APIs
0cfebe6d24 chore: Remove monolith generator rules for Java and Python
Committer: @miraleung
PiperOrigin-RevId: 377087379
2021-06-02 10:16:19 -07:00
Google APIs
46f4f7054f chore: update ruby rules to use the correct assembly_pkg rule
Committer: @virost
PiperOrigin-RevId: 376951653
2021-06-01 17:17:25 -07:00
Google APIs
e41506dc28 feat: Enable PHP micro-generator beta01
PiperOrigin-RevId: 359620992
2021-02-25 15:00:40 -08:00
Google APIs
160f80d81d chore: Make microgenerators default for all languages
In particular this applies to Java and Python microgenerators.
With this change `java_gapic_*` and `py_gapic_*` rules mean microgenerator versions. The monolith versions of the rules are named as `java_gapic_*_legacy` and `py_gapic_*_legacy` respectively.

Also change Ads BAZEL template to reflect the change in default rule names.

Also change `DO NOT OVERRIDE` comment warnings meaning (to reflect that now by default microgenerator rules are generated and the generated version must be accepted only if the API is being migrated to the microgenerator).

PiperOrigin-RevId: 346227314
2020-12-07 18:51:08 -08:00
Google APIs
f446e123bc feat: add Java microgen rules to imports
Committer: @miraleung
PiperOrigin-RevId: 334248254
2020-09-28 15:16:43 -07:00
Google APIs
e7375a91e7 GA launch for PersonDetection and FaceDetection features.
PiperOrigin-RevId: 334093713
2020-09-27 23:51:31 -07:00
Mira Leung
3737889daf fix: naming style updates 2020-09-23 16:33:18 -07:00
Mira Leung
aaac658367
feat: Add Java microgen rules to imports 2020-09-21 18:04:02 -07:00
Google APIs
b821f32047 feat: use https://github.com/googleapis/gapic-generator-csharp for generating C# libraries.
PiperOrigin-RevId: 331104099
2020-09-11 01:16:20 -07:00
Google APIs
18ffeb71f9 Updates the gapic-generator-ruby import to the latest version using bundler.
PiperOrigin-RevId: 327261444
2020-08-18 10:52:01 -07:00
Google APIs
cd43cbb44d feat: use https://github.com/googleapis/gapic-generator-typescript for generating Node.js (TypeScript) libraries.
It's a drop-in replacement, it uses the same rules as the monolithic generator used.

PiperOrigin-RevId: 312788012
2020-05-21 20:24:47 -07:00
Google APIs
e0f9d9e1f9 Integrate Python GAPIC Microgenerator in googleapis.
This PR uses using documentai as an example.
Depends on https://github.com/googleapis/gapic-generator-python/pull/402

PiperOrigin-RevId: 309824146
2020-05-04 15:07:15 -07:00
Google APIs
25a1781c09 bazel: migrate all go_gapic_library targets to microgenerator implementation
* update rules_go and gazelle bazel dependencies
* update gapic-generator bazel dependency (with build file generator changes)

PiperOrigin-RevId: 302730217
2020-03-24 13:05:53 -07:00
Google APIs
3352100a15 Make importing rule with the same name (but different aliases) from different repositories possible.
This is needed to allow monolitic gapic-generator and microgenerators coexist during transition period.

To plug a microgenerator:

1) Add corresponding rules bidnings under `switched_rules_by_language` in repository_rules.bzl:
    rules["go_gapic_library2"] = _switch(
        go and grpc and gapic,
        "@gapic_generator_go//rules_go_gapic/go_gapic.bzl",
        "go_gapic_library",
    )

2) Import microgenerator in WORKSPACE (the above example assumes that the generator was imported under name "gapic_generator_go").

3) To migrate an API from monolith to micro generator (this is done per API and per language) modify the corresponding load statement in the API's BUILD.bazel file. For example, for the example above, to migrate to go microgenerator modify the go-specific load statement in BUILD.bazel file of a specific API (which you want to migrate) to the following:

load(
    "@com_google_googleapis_imports//:imports.bzl",
    "go_gapic_assembly_pkg",
    go_gapic_library = "go_gapic_library2",
    "go_proto_library",
    "go_test",
)

PiperOrigin-RevId: 286065440
2019-12-17 14:53:12 -08:00
Google APIs
248abde06e Integrate GAPIC Python Bazel Extensions
Also configure python build for the following clients as an example:

diaglogflow/v2
language/v1
texttospeech/v1
firestore/v1beta1
pubsub/v1

PiperOrigin-RevId: 279406526
2019-11-08 15:45:31 -08:00
Google APIs
0c0bbaeb69 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 274037944
2019-10-10 14:21:31 -07:00
Google APIs
7ebb7a62ed Synchronize new proto/yaml changes.
PiperOrigin-RevId: 264871816
2019-08-22 10:54:35 -07:00
Google APIs
82c3abe8f7 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 263652726
2019-08-15 15:18:24 -07:00
Google APIs
7e56e8d4fe Synchronize new proto/yaml changes.
PiperOrigin-RevId: 262242585
2019-08-07 16:44:27 -07:00
Google APIs
0ce9d41a2c Synchronize new proto/yaml changes.
PiperOrigin-RevId: 258611957
2019-07-17 11:49:26 -07:00
Google APIs
45e125f9e3 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 254026509
2019-06-19 10:44:51 -07:00
Google APIs
a12347ec47 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 252108410
2019-06-07 13:31:27 -07:00
Google APIs
d8c0210060 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 250334112
2019-05-28 12:13:35 -07:00
Google APIs
c6399efb29 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 250290070
2019-05-28 08:49:54 -07:00
Google APIs
c69355435c Synchronize new proto/yaml changes.
PiperOrigin-RevId: 249909255
2019-05-24 15:26:19 -07:00
Google APIs
c39b7e880e Synchronize new proto/yaml changes.
PiperOrigin-RevId: 249885941
2019-05-24 13:08:26 -07:00
Google APIs
6ea045ad2e Synchronize new proto/yaml changes.
PiperOrigin-RevId: 249345152
2019-05-21 16:07:26 -07:00
Google APIs
ab437f2bb2 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 248796470
2019-05-17 15:15:24 -07:00