Commit graph

106 commits

Author SHA1 Message Date
Google APIs
9415ba048a chore: update copyright year for auto-generated protos
PiperOrigin-RevId: 732130682
2025-02-28 07:26:00 -08:00
Google APIs
ae87dc8a38 chore!: migrate php handwritten libraries to new client surface
PiperOrigin-RevId: 722798091
2025-02-03 14:25:58 -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
7fbfb40128 chore: delete obsolete files
PiperOrigin-RevId: 625723596
2024-04-17 10:12:09 -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
2400facb5e feat: Added client library support for ModerateText in the Natural Language API (V1)
PiperOrigin-RevId: 534992604
2023-05-24 14:58:22 -07:00
Google APIs
cbddac7303 feat: add new client surface to preview clients
chore: update the gapic generator to 1.7.4

PiperOrigin-RevId: 530731364
2023-05-09 15:36:20 -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
ba5b444ae5 chore: add .NET-specific generation settings to service config
chore: reformat proto (no content changes)

PiperOrigin-RevId: 524208990
2023-04-13 23:44:21 -07: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
40ea6a4610 feat: Added support for REST transpoirt
PiperOrigin-RevId: 511586826
2023-02-22 13:47:06 -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
d02e58244d chore: update import paths for Go targets to match open source location
chore: update go_package in protos to match open source location
chore: add explicit release levels to Go gapic targets

PiperOrigin-RevId: 506711567
2023-02-02 13:42:30 -08:00
Google APIs
5a226be4e3 feat(csharp): Enable REST transport in C#
This change does not affect other languages.

PiperOrigin-RevId: 502338808
2023-01-16 03:01:09 -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
7f579ee596 docs: fix docstring formatting
Committer: @parthea
PiperOrigin-RevId: 476410563
2022-09-23 10:51:38 -07:00
Google APIs
05b99f982d feat: Add support for V1 and V2 classification models for the V1 API
PiperOrigin-RevId: 475599241
2022-09-20 10:58:19 -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
84fb82208e feat: Add Java REST transport to analytics, servicecontrol, servicemanagement, serviceusage and langauge APIs
PiperOrigin-RevId: 454254635
2022-06-10 15:30:46 -07:00
Google APIs
d42026b7a0 chore: include generated samples dir
PiperOrigin-RevId: 454047209
2022-06-09 17:15:44 -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
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
fc4139da94 chore: regenerate BUILD.bazel, move yamls to the version folder
PiperOrigin-RevId: 375542076
2021-05-24 13:15:51 -07:00
Google APIs
63291c2356 chore: migrate language/{v1,v1beta2} to the PHP microgenerator
Committer: @miraleung
PiperOrigin-RevId: 368069399
2021-04-12 13:28:03 -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
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
6bf92d7cea chore: migrate language to the Java microgenerator
Committer: @miraleung
PiperOrigin-RevId: 345578804
2020-12-03 18:25:40 -08:00
Google APIs
0e7ae7b0ba chore: enable metadata generation
The GAPIC metadata JSON includes information about all methods generated for RPCs of the given service. Eventually, we'll enable it for all libraries and languages.

PiperOrigin-RevId: 343188178
2020-11-18 17:21:57 -08:00
Google APIs
b58004f465 feat: Fix proto comments for language API inorder for docs parsing to work correctly.
PiperOrigin-RevId: 335986756
2020-10-07 17:25:55 -07:00
Google APIs
7e837ae45f feat: Move language API to Python Microgenerator
PiperOrigin-RevId: 334927472
2020-10-01 17:00:29 -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
83a83a43de fix: migrate language/v1 to grpc_service_config
PiperOrigin-RevId: 319092854
2020-06-30 14:07:08 -07:00
Google APIs
a60b165895 build: pass package_name to protoc in Node.js Bazel build
PiperOrigin-RevId: 318104666
2020-06-24 11:30:21 -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
a8d76f99d3 docs: change relative URLs to absolute URLs to fix broken links.
PiperOrigin-RevId: 304702368
2020-04-03 15:30:22 -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
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
617d4430e3 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 276178205
2019-10-22 17:26:13 -07:00
Google APIs
a9589347c8 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 276110444
2019-10-22 11:43:03 -07:00