Commit graph

60 commits

Author SHA1 Message Date
Google APIs
539c0489da fix: upgrade gRPC service registration func
An update to Go gRPC Protobuf generation will change service registration function signatures to use an interface instead of a concrete type in generated .pb.go service files. This change should affect very few client library users. See release notes advisories in https://github.com/googleapis/google-cloud-go/pull/11025.

PiperOrigin-RevId: 821760058
2025-10-20 12:44:08 -07:00
Google APIs
9415ba048a chore: update copyright year for auto-generated protos
PiperOrigin-RevId: 732130682
2025-02-28 07:26:00 -08:00
Google APIs
3597f7db21 chore: update copyright year for auto-generated protos
PiperOrigin-RevId: 631538781
2024-05-07 13:56:05 -07:00
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
57b675c153 chore: update go_gapic_assembly_pkg with snippets archive
PiperOrigin-RevId: 524917171
2023-04-17 12:24:09 -07:00
Google APIs
b5b457107d fix: Add service_yaml_parameters to java_gapic_library targets
PiperOrigin-RevId: 515423972
2023-03-09 13:24:42 -08:00
Google APIs
be1bdffd89 feat: Support REST transport
PiperOrigin-RevId: 514827824
2023-03-07 13:44:05 -08:00
Google APIs
c35b98606b feat: Add appropriate mixin clients
PiperOrigin-RevId: 510193779
2023-02-16 11:11:54 -08:00
Google APIs
5edc235617 fix: Add service_yaml_parameters to py_gapic_library BUILD.bazel targets
PiperOrigin-RevId: 510187992
2023-02-16 10:51:01 -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
9f04c98877 feat(csharp): Enable REST transport in C#
This change does not affect other languages.

PiperOrigin-RevId: 503159211
2023-01-19 07:28:33 -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
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
eddd3d845b feat: add C++ rules for many Cloud services
PiperOrigin-RevId: 411620635
2021-11-22 12:24:05 -08:00
Google APIs
885183fcec chore: Remove unnecessary double space in example API
PiperOrigin-RevId: 396382685
2021-09-13 10:10:03 -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
49013bcb56 chore: migrate library to the PHP microgenerator
Committer: @miraleung
PiperOrigin-RevId: 371195777
2021-04-29 14:11:18 -07:00
Google APIs
5428e91738 chore: migrate example/library retry configs, fix C#/PHP/Ruby GAPICs
Committer: @miraleung
PiperOrigin-RevId: 359640308
2021-02-25 16:24:27 -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
d189e87120 chore: generate GAPIC metadata JSON file
PiperOrigin-RevId: 345596855
2020-12-03 21:01:09 -08:00
Google APIs
07027f95bf chore: migrate example/library to the Java microgenerator
Committer: @miraleung
PiperOrigin-RevId: 345498172
2020-12-03 13:21:31 -08:00
Google APIs
0a11d3c41e Remove Datahub v2 API definition
Note: This API should be unused and is not upkept.
PiperOrigin-RevId: 331779231
2020-09-15 08:58:34 -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
0e56befedb build: removing Artman configuration files
PiperOrigin-RevId: 321273506
2020-07-14 18:01:47 -07:00
Google APIs
a7ed6d42eb feat!: remove Google Cloud Functions v1beta2 API
BREAKING CHANGE: API protos are removed. Please use version v1 of the API.

PiperOrigin-RevId: 321029510
2020-07-13 14:13:12 -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
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
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
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
a9589347c8 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 276110444
2019-10-22 11:43:03 -07:00
Google APIs
95c0959449 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 276083452
2019-10-22 09:46:06 -07:00
Google APIs
0c0bbaeb69 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 274037944
2019-10-10 14:21:31 -07:00
Google APIs
196b45479c Synchronize new proto/yaml changes.
PiperOrigin-RevId: 268094063
2019-09-09 16:02:29 -07:00
Evawere Ogbe
2c30d35bd7
Revert "Synchronize new proto/yaml changes." (#554)
This reverts commit 95aa3a2aaa.
2019-05-29 14:23:10 -07:00
Google APIs
95aa3a2aaa Synchronize new proto/yaml changes.
PiperOrigin-RevId: 250560742
2019-05-29 13:59:09 -07:00
Google APIs
6a2f0244d6 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 249677018
2019-05-23 11:03:47 -07:00
Google APIs
6ea045ad2e Synchronize new proto/yaml changes.
PiperOrigin-RevId: 249345152
2019-05-21 16:07:26 -07:00
Google APIs
f86c9531dc Synchronize new proto/yaml changes.
PiperOrigin-RevId: 247457584
2019-05-09 10:56:46 -07:00
Google APIs
9497e697af Synchronize new proto/yaml changes.
PiperOrigin-RevId: 247122368
2019-05-07 17:34:22 -07:00
Google APIs
fc37c47e70 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 245108285
2019-04-24 13:45:51 -07:00
Google APIs
fd67be4b51 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 241096997
2019-03-29 20:50:32 -07:00