Commit graph

77 commits

Author SHA1 Message Date
Google APIs
4221b78ecd chore(php): remove non-ads php_grpc_library targets
PiperOrigin-RevId: 536549230
2023-05-30 17:06:44 -07:00
Google APIs
d0da39a25e chore(bazel): remove all no-op go_test targets
PiperOrigin-RevId: 535010591
2023-05-24 15:55:02 -07:00
Google APIs
be8c6cd96b feat: add new client surface for GA php clients
PiperOrigin-RevId: 534898708
2023-05-24 10:38:49 -07:00
Google APIs
e9f070072a chore: fix Go gapic namespace
PiperOrigin-RevId: 524954433
2023-04-17 14:43:31 -07:00
Google APIs
57b675c153 chore: update go_gapic_assembly_pkg with snippets archive
PiperOrigin-RevId: 524917171
2023-04-17 12:24:09 -07:00
Google APIs
6e21f1abdb chore: update go_package to match open source code
PiperOrigin-RevId: 524102788
2023-04-13 14:25:23 -07:00
Google APIs
be1bdffd89 feat: Support REST transport
PiperOrigin-RevId: 514827824
2023-03-07 13:44:05 -08:00
Google APIs
339c693c8a docs: Recommend OpenTelemetry instead of OpenCensus
PiperOrigin-RevId: 513597845
2023-03-02 11:46:45 -08:00
Google APIs
b0f2af1e9b feat(typescript): enable REST transport
To use REST transport, pass {fallback: "rest"} to the client constructor.

PiperOrigin-RevId: 512747300
2023-02-27 15:25:03 -08:00
Google APIs
7a702a989d feat: enable "rest" transport in Python for services supporting numeric enums
PiperOrigin-RevId: 508143576
2023-02-08 11:56:06 -08:00
Google APIs
b7bb7fb143 docs: Remove html formatting (cleanup)
PiperOrigin-RevId: 504326606
2023-01-24 11:15:31 -08:00
Google APIs
685d3599bb feat: Add Cloud Trace v2 retry defaults for BatchWriteSpans
PiperOrigin-RevId: 504068544
2023-01-23 13:35:04 -08:00
Google APIs
62915a3b1f feat(csharp): Enable REST transport in C#
This change does not affect other languages.

PiperOrigin-RevId: 503125274
2023-01-19 04:16:23 -08:00
Google APIs
758f0d1217 chore: Enable requesting numeric enums in "transport=rest" responses for services supporting this (Java, Go, Python, PHP, TypeScript, C#, and Ruby), even if they do not yet turn on REST transport
chore: disallow "transport=rest" for services where numeric enums are not confirmed to be supported (except in PHP and Java)
PiperOrigin-RevId: 493113566
2022-12-05 14:28:58 -08:00
Google APIs
013b7e1deb chore: Set transport parameter expclicitly for php, nodejs and remaining java gapic rules
PiperOrigin-RevId: 485725710
2022-11-02 16:32:36 -07:00
Google APIs
69fc6c5b87 chore: include generated samples dir for all google apis
PiperOrigin-RevId: 485653021
2022-11-02 11:44:34 -07:00
Google APIs
807125e795 chore: Set rest_numeric_enums = False for all gapic rules explicitly
PiperOrigin-RevId: 485623855
2022-11-02 10:02:17 -07:00
Google APIs
8f81accbe6 chore: Explicitly set transport to grpc for python targets
PiperOrigin-RevId: 474394710
2022-09-14 14:40:43 -07:00
Google APIs
abe15226ba fix: Add py_test targets
PiperOrigin-RevId: 463701296
2022-07-27 16:06:30 -07:00
Google APIs
b574c0bc83 chore: remove unused protos
PiperOrigin-RevId: 458507973
2022-07-01 11:18:05 -07:00
Google APIs
8a251f5225 feat: Enable REST transport for most of Java and Go clients
PiperOrigin-RevId: 456641589
2022-06-22 17:01:19 -07:00
Google APIs
7bc124cb89 chore: Add service_yaml config to all BUILD.bazel files that generate C# GAPIC libraries
PiperOrigin-RevId: 429496116
2022-02-18 00:10:22 -08: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
862503ff26 chore: migrate devtools/trace to the PHP microgenerator
Committer: @miraleung
PiperOrigin-RevId: 373492514
2021-05-12 19:08:00 -07:00
Google APIs
c5436a6b41 chore: fix namespace for python package
PiperOrigin-RevId: 368216874
2021-04-13 08:12:50 -07:00
Google APIs
d9b32e92fa chore: clean up unused gapic.legacy.yaml files
Committer: @miraleung
PiperOrigin-RevId: 359580699
2021-02-25 12:14:41 -08:00
Google APIs
959b0bcea3 feat: Update the ruby_cloud_gapic_library rules for the libraries published to google-cloud-ruby to the form that works with build_gen (separate parameters for ruby_cloud_title and ruby_cloud_description).
chore: Update Bazel-Ruby rules version.
chore: Update build_gen version.

PiperOrigin-RevId: 358357761
2021-02-19 01:21:43 -08:00
Google APIs
61ab0348bd feat: Migrate the Bazel rules for the libraries published to google-cloud-ruby to use the gapic-generator-ruby instead of the monolith generator.
PiperOrigin-RevId: 352069361
2021-01-15 13:09:14 -08:00
Google APIs
463702142d chore: remove microgenerator migration comments in BUILD.bazel files
Committer: @miraleung
PiperOrigin-RevId: 351489155
2021-01-12 18:20:11 -08:00
Google APIs
3131ab5786 chore: use python microgenerator rules for Cloud APIs
PiperOrigin-RevId: 350604597
2021-01-07 11:33:56 -08:00
Google APIs
6dae98144d chore: Remove unused 'package' attr from java_gapic_library rules
Committer: @miraleung
PiperOrigin-RevId: 347459563
2020-12-14 13:41:43 -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
d3a630b0db chore: migrate cloudtrace to the Java microgenerator
Committer: @miraleung
PiperOrigin-RevId: 345749672
2020-12-04 14:02:17 -08:00
Google APIs
d189e87120 chore: generate GAPIC metadata JSON file
PiperOrigin-RevId: 345596855
2020-12-03 21:01:09 -08: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
13d3b3ace1 feat: added support for span kind
Clients can now specify the span kind of spans.

PiperOrigin-RevId: 319788951
2020-07-06 09:00:31 -07:00
Google APIs
10f05cf8dc chore: set Ruby namespace in proto options
PiperOrigin-RevId: 316121797
2020-06-12 09:52:49 -07:00
Google APIs
ded05197da fix: use grpc_service_config in nodejs_gapic_library
The nodejs_gapic_library targets were migrated to gapic-generator-typescript
which doesn't use gapic_yaml, rendering that attribute unused. Instead it uses
the proto annotations & grpc_service_config, which this change reflects.

PiperOrigin-RevId: 314206960
2020-06-01 14:44:30 -07:00
Google APIs
5a90d467aa fix: restore GAPIC v2 retry configs
Restores GAPIC v2 retry config overrides that were
mistakenly removed during migration.

PiperOrigin-RevId: 312088359
2020-05-18 08:57:36 -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
3ddad08596 C++ targets: correct deps so they build, rename them from trace* to cloudtrace*
to match the proto names.

PiperOrigin-RevId: 282857635
2019-11-27 17:13:40 -08:00
Google APIs
e42eaaa9ab Put back C++ targets for cloud trace v2 api.
PiperOrigin-RevId: 282803841
2019-11-27 11:20:12 -08:00
Google APIs
06a840781d Populate BAZEL.build files for around 100 APIs (all APIs we publish) in all 7 langauges.
PiperOrigin-RevId: 282449910
2019-11-25 15:50:18 -08:00
Google APIs
5364a19284 bazel: Fix build
1) Update to latest gapic-generator (has iam resource names fix for java).
2) Fix non-trivial issues with oslogin (resources defined in sibling package to the one they are used from) and monitoring.
3) Fix trivial missing dependencies in proto_library targets for other apis.

This is to prepare the repository to being populated with BUILD.bazel files for all supported apis (101 API) in all 7 languages.

PiperOrigin-RevId: 281618750
2019-11-20 15:52:59 -08:00
Google APIs
d8dd7fe8d5 Fix build by adding missing deps.
PiperOrigin-RevId: 281088257
2019-11-18 09:42:52 -08:00
Google APIs
418ee8e24a Trace v2: Add remaining proto annotations, migrate to GAPIC v2.
Committer: @lukesneeringer
PiperOrigin-RevId: 281068859
2019-11-18 07:59:50 -08:00
Google APIs
8385366aa1 Revert the Trace v2 GAPIC for now.
Committer: @lukesneeringer

PiperOrigin-RevId: 280669295
2019-11-15 09:00:35 -08:00
Google APIs
5c8ab2c072 Migrate Trace v1 and Trace v2 to GAPIC v2.
Committer: @lukesneeringer
PiperOrigin-RevId: 280667429
2019-11-15 08:49:09 -08:00
Google APIs
bc76ffd873 Use rules_proto bzl files to load proto_library
This makes googleapis forward compatible with Bazel incompatible change https://github.com/bazelbuild/bazel/issues/8922.

This CL was created by adding @rules_proto to the WORKSPACE file and then running:

find . -name BUILD.bazel | \
  while read build; do \
    buildifier --lint=fix --warnings=load $build; \
  done

Since buildifier cannot be told not to reformat the BUILD file, some files are reformatted.

PiperOrigin-RevId: 280356106
2019-11-13 22:28:15 -08:00
Google APIs
78883c8de9 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 277528057
2019-10-30 10:03:56 -07:00