Commit Graph

165 Commits

Author SHA1 Message Date
Google APIs a07206ef5b feat: Use C# micro-generator v1.3.1
PiperOrigin-RevId: 332074649
2020-09-16 13:24:05 -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 6a18a3c50f chore: update python microgen version to 0.33.0
PiperOrigin-RevId: 331031262
2020-09-10 15:35:46 -07:00
Google APIs 88d4f10bbe chore(bazel): update gapic-generator to v2.4.6
Changes include:
- a fix for using reroute_to_grpc_interface when generating with grpc_service_config

PiperOrigin-RevId: 329771412
2020-09-02 13:02:18 -07:00
Google APIs b267d696cd build: use gapic-generator-typescript v1.1.0.
In this release, the naming conflict resolver is introduced.
No changes are expected to the existing libraries, but please talk to @alexander-fenster if you see anything broken.

PiperOrigin-RevId: 328987468
2020-08-28 12:25:32 -07:00
Google APIs da1d1c4e08 bazel: update Go gapic generator
Notable changes in the generator include:
- generation of default deadlines from retry/timeout config

PiperOrigin-RevId: 328816276
2020-08-27 14:26:06 -07:00
Google APIs 1a97126c6c fix: update gax-java to 1.58.2
Committer: @miraleung
PiperOrigin-RevId: 328383688
2020-08-25 12:43:43 -07:00
Google APIs f75a734e2c chore: upgrade gapic-generator-python to 0.32.2
PiperOrigin-RevId: 328157915
2020-08-24 10:05:15 -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 09c2579cfa chore: upgrade to gapic-generator-python 0.32.0
PiperOrigin-RevId: 327246996
2020-08-18 09:49:09 -07:00
Google APIs 0dc0a6c0f1 Update protobuf workspace dependency to v3.13.0.
PiperOrigin-RevId: 327026955
2020-08-17 08:40:59 -07:00
Google APIs 874846a191 build: use gapic-generator-typescript v1.0.8
This patch release contains a small fix for batching functionality and will only affect nodejs-logging and nodejs-pubsub client libraries.

PiperOrigin-RevId: 326288259
2020-08-12 12:34:46 -07:00
Google APIs fe291c7daa Update gapic-generator-ruby WORKSPACE dependency to v0.6.7.
PiperOrigin-RevId: 326058518
2020-08-11 11:07:22 -07:00
Google APIs 94006b3cb8 build: use gapic-generator-typescript v1.0.7.
This new generator will bring some changes to the generated code across all libraries, but the behavior will only change for nodejs-logging and nodejs-pubsub (those two libraries that use request batching). For other libraries, the changes should be minor (the createApiCall call is simplified) and it should be safe to merge them. Please talk to @alexander-fenster if you have any questions.

PiperOrigin-RevId: 325949033
2020-08-10 21:11:40 -07:00
Google APIs 3758e71fda Bump gapic-generator dependency version to 2.4.5
PiperOrigin-RevId: 325838470
2020-08-10 10:46:55 -07:00
Google APIs 50416c6a31 Bump gapic-generator dependency version to 2.4.4
PiperOrigin-RevId: 325530954
2020-08-07 16:29:56 -07:00
Google APIs 26e80fe6cf chore: cleaning up unnecessary comment block in WORKSPACE file.
PiperOrigin-RevId: 324046932
2020-07-30 11:38:53 -07:00
Google APIs 8cda089acc update python micro-gen version
PiperOrigin-RevId: 324035013
2020-07-30 10:46:39 -07:00
Google APIs 74e8cf85f2 chore: upgrade to gapic-generator-python 0.30.0
PiperOrigin-RevId: 323630732
2020-07-28 12:37:40 -07:00
Google APIs b4fa4f3460 Add gapic-generator-ruby repository rules and update grpc to v1.30.2.
PiperOrigin-RevId: 323061919
2020-07-24 13:33:02 -07:00
Google APIs a1c9dba238 chore: upgrade to gapic-generator-python 0.29.1
PiperOrigin-RevId: 322700241
2020-07-22 18:42:05 -07:00
Google APIs 5d0eacc7ba chore: upgrade to gapic-generator-python v0.29.0
Also enables the 'add-iam-method' option for KMS and Pub/Sub.

https://github.com/googleapis/gapic-generator-python/releases/tag/v0.29.0

PiperOrigin-RevId: 322659285
2020-07-22 14:44:55 -07:00
Google APIs 1f8c042337 build: update gax-java to v1.57.2
changes since last used version:
- Fix javadoc generation on Java11
- Fix Precondition format specifier
- update google-auth-library to 0.21.0

PiperOrigin-RevId: 322592423
2020-07-22 09:40:23 -07:00
Google APIs 1e17dc9f59 build: update gapic-generator-typescript to v1.0.6.
PiperOrigin-RevId: 322580120
2020-07-22 08:33:57 -07:00
Google APIs 5340d28e38 fix: Fix Java and PHP bazel builds on Mac
Specifically it should resolve the broken tar.gz archives issue on mac.

PiperOrigin-RevId: 321904251
2020-07-17 20:58:30 -07:00
Google APIs abb30a02aa chore: use gapic-generator-python 0.28.1
Also re-adds the grpc_service_config to all the Python libraries that have been moved to the microgenerator.

PiperOrigin-RevId: 321807443
2020-07-17 10:40:12 -07:00
Google APIs a351c17ae9 chore: update gapic-generator to v2.4.2
changes include:
- fix errorprone bazel errors
- fix for java_gapic_assembly_gradle_pkg rule

PiperOrigin-RevId: 321577859
2020-07-16 09:14:18 -07:00
Google APIs b70bedf808 build: update gapic-generator-typescript to v1.0.5.
This version reduces the amount of log messages printed during library generation.

PiperOrigin-RevId: 320669438
2020-07-10 13:53:07 -07:00
Google APIs 99ae9a76db Updating protoc-java-resource-names-plugin to latest commit.
PiperOrigin-RevId: 320455075
2020-07-09 12:52:21 -07:00
Google APIs db69b46790 Update protobuf and gapic-generator-csharp versions.
PiperOrigin-RevId: 320411362
2020-07-09 09:27:15 -07:00
Google APIs ad486bc980 upgrade python microgenerator to 0.26.3
PiperOrigin-RevId: 320253786
2020-07-08 13:33:22 -07:00
Google APIs 2c8f524b81 build: update gapic-generator-typescript to v1.0.4.
This build fixes Bazel dependency issues related to protobuf.js dependency.

PiperOrigin-RevId: 320102248
2020-07-07 18:25:18 -07:00
Google APIs 8c85e06916 chore: use gapic-generator-python v0.26.0
PiperOrigin-RevId: 319910951
2020-07-06 20:48:23 -07:00
Google APIs a758393a3f Updating the googleapis and googleapis_private to use the 2.4.0 gapic-generator, which includes the following changes:
Features
add opt_file_args to pass the file arguments to the protoc plugin(cce9967)
Bug Fixes
deps: update dependency mocha to v8
deps: update dependency puppeteer to v4

PiperOrigin-RevId: 319296039
2020-07-01 14:22:34 -07:00
Google APIs cbf322455c chore: use gapic-generator-typescript v1.0.3.
This version of the generator includes a fix to make plugin parameters work properly: https://github.com/googleapis/gapic-generator-typescript/pull/574

PiperOrigin-RevId: 318086414
2020-06-24 10:05:48 -07:00
Google APIs b882b8e6bf Updates to build Google Ads API build files.
PiperOrigin-RevId: 318028816
2020-06-24 02:33:14 -07:00
Google APIs 927ff51dcf chore: update gapic-generator to v2.3.0.
New generator feature: preserve some values when regenerating BUILD.bazel.
More information: https://github.com/googleapis/gapic-generator/pull/3237

PiperOrigin-RevId: 317983262
2020-06-23 19:04:23 -07:00
Google APIs 7157f95527 chore: update grpc to v1.30.0
PiperOrigin-RevId: 317949519
2020-06-23 15:23:01 -07:00
Google APIs 4dfcfdc486 fix: use gapic-generator-python v0.25.2
PiperOrigin-RevId: 317905911
2020-06-23 11:25:43 -07:00
Google APIs 6bb49713fa Update Bazel workspace hash for gax-java and the resource name plugin.
Committer: @miraleung
PiperOrigin-RevId: 317684463
2020-06-22 10:37:41 -07:00
Google APIs ff1b4ff2cf feat: update version of gapic-generator-python used in Bazel rule
PiperOrigin-RevId: 317199748
2020-06-18 16:01:56 -07:00
Google APIs 8cbfef5dd6 chore: update gapic-generator to v2.2.0
changes include:
- build_gen includes grpc_service_conig attr for all languages

PiperOrigin-RevId: 316487751
2020-06-15 10:02:45 -07:00
Google APIs 184661793f fix: use protoc-docs-plugin 0.8.0
Fixes issue with missing newline before 'Attributes' in Python docstrings.

PiperOrigin-RevId: 316182409
2020-06-12 14:52:43 -07:00
Google APIs 0fb2fbf04f chore: update gapic-generator to v2.1.0
changes include:
- add proto3_optional flag to proto_custom_library
- update gax-java dependency version

PiperOrigin-RevId: 315402995
2020-06-08 19:31:29 -07:00
Google APIs 68c72c1d1f Use gapic-generator-typescript v1.0.0 for TypeScript libraries continuous integration.
PiperOrigin-RevId: 314855665
2020-06-04 20:29:46 -07:00
Google APIs 3a4894c4f0 chore: update gapic-generator and go microgen
changes include:
- build_gen: go lro gapic used as dep
- go_gapic_library: fixes shading of go_library importpath

PiperOrigin-RevId: 314363155
2020-06-02 10:56:49 -07:00
Google APIs 19541c49df chore: update gapic-generator to v2.0.2
changes include:
- fix grpc_service_config generated timeout settings
- feat(Java): read version from gradle.properties if specified
- nodejs build_gen uses grpc_service_config instead of gapic_yaml
- gapic-generator ignore grpc_service_config unless using gapic_v2
- build_gen use None instead of "" when grpc_service_config is not present

PiperOrigin-RevId: 314159797
2020-06-01 10:50:22 -07:00
Google APIs c4e37010d7 bazel: update protobuf, rules_go, gazelle, and gapic-generator-go versions
- protobuf v3.12.1
- rules_go v0.23.0
- gazelle v0.21.0
- gapic-generator-go v0.14.1

PiperOrigin-RevId: 313460921
2020-05-27 14:10:51 -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 dec3204175 Upgrade protoc-docs-plugin version to 0.7.0 to fix unstable docstrings.
PiperOrigin-RevId: 312689208
2020-05-21 10:01:21 -07:00
Google APIs c8e291e6a4 bazel: update gapic-generator hash
Changes include:
- fix: handle wildcard parent patterns

Committer: @miraleung
PiperOrigin-RevId: 311222505
2020-05-12 16:13:17 -07:00
Google APIs edd3b80fb7 bazel: update gapic-generator hash
Changes include:
- build_gen: inject longrunning Go GAPIC remote dep instead of target

PiperOrigin-RevId: 311053644
2020-05-11 21:07:06 -07:00
Google APIs aed11c01e5 chore: Ingegrate latest gapic-generator and gapic-generator-python changes.
This adds support for `<plugin>_opt` argument for gapic plugins.

PiperOrigin-RevId: 310660461
2020-05-08 17:40:37 -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 28e76243c2 feat: integrate gapic generator change in googleapis
PiperOrigin-RevId: 308294748
2020-04-24 11:44:45 -07:00
Google APIs 0d7c3565dd bazel: update gapic-generator-go to v0.13.3 in WORKSPACE
Changes include:
- change plugin use of Unmarshal to be compatible with golang/protobuf v1.4.0

PiperOrigin-RevId: 308113536
2020-04-23 13:08:12 -07:00
Google APIs 862cd840db chore: Update gapic-generator version
The updated version is required to migrate Python clients generation from artman to bazel.

PiperOrigin-RevId: 307739946
2020-04-21 21:17:00 -07:00
Google APIs f561f57eea bazel: upgrade gapic-generator-go to v0.13.2
Changes include:
* update Bazel rules_go to v0.22.3
* update Bazel Go repositories with latest
* fix Bazel go_gapic_assembly_pkg archive contents path

PiperOrigin-RevId: 306294636
2020-04-13 13:13:14 -07:00
Google APIs ee4ea76504 gapic-generator:
- feat: Support extra plugin_args for php bazel rules rules (#3165)
- feat: support '*' in resource definition (#3163)
- fix: add null check and better error message when referenced resource is not found (#3169)

resource name plugin:
- support * annotation in resource def (#84)

PiperOrigin-RevId: 305619145
2020-04-08 22:02:48 -07:00
Google APIs 5520cb891a chore: update gapic-generator to cd3c9ee7
Changes include:
* update generated nox file
* fix generated license text alignment

PiperOrigin-RevId: 305484038
2020-04-08 08:40:48 -07:00
Google APIs 54ddbbf14c bazel: update gapic-generator-go to v0.13.0
Changes include:
* add clientHook feature

PiperOrigin-RevId: 305289945
2020-04-07 10:38:13 -07:00
Google APIs 2ee8c4d06d chore(deps): Update gax-java dependency
This is to integrate java11 incompatibility fix

PiperOrigin-RevId: 304032057
2020-03-31 13:17:15 -07:00
Google APIs 690f4d6344 chore: use the latest protoc-java-resource-name-plugin in third_party/googleapis WORKSPACE.
- trace up only one level when calculating parent types with singleton resource names

PiperOrigin-RevId: 304007414
2020-03-31 11:23:49 -07:00
Google APIs 00f0a285f2 fix: Integerate gapic-generator java_gapic rules Java11 fix
PiperOrigin-RevId: 303899179
2020-03-30 23:01:10 -07:00
Google APIs f260ba248d chore: use the latest gapic-generator in googleapis WORKSPACE.
- PHP multi-pattern resource name support.
- Trace up only one level when calculating parent types with singleton resource names

PiperOrigin-RevId: 303836059
2020-03-30 15:29:45 -07:00
Google APIs 7be2811ad1 fix: Update gapic-generator version to pickup discogapic fixes
PiperOrigin-RevId: 303545940
2020-03-28 17:26:08 -07:00
Google APIs 8bea81bfa4 chore: use latest protoc-java-resource-name-plugin in bazel WORKSPACE.
new commits:
- fix: stop generating `parseList` and `toStringList` if a multi-pattern resource name has subclasses (#79)

committer: @hzyi-google
PiperOrigin-RevId: 303197602
2020-03-26 14:44:55 -07:00
Google APIs 65816afa71 bazel: update gapic-generator-go to v0.12.5 and gapic-generator hash
Changes to gapic-generator-go include:
* feat: strip invalid link references in comments
* chore: updating Go deps in bazel repositories

Changes to gapic-generator include:
* fix: bazel go build gen check for cloud in proto pkg name
* Revert "feat: allow static substitution for group name"

PiperOrigin-RevId: 303150338
2020-03-26 11:00:49 -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 c8c8c0bd15 chore: use latest gapic-generator in bazel WORKSPACE.
including the following commits from gapic-generator:
- feat: take source protos in all sub-packages (#3144)

PiperOrigin-RevId: 301843591
2020-03-19 10:25:53 -07:00
Google APIs 0e9f1f60de bazel: Use latest release of gax_java
PiperOrigin-RevId: 301480457
2020-03-17 16:44:32 -07:00
Google APIs 5d8bffe87c feat: use the latest gapic-generator in WORKSPACE for bazel build.
PiperOrigin-RevId: 300461878
2020-03-11 19:54:25 -07:00
Google APIs 7727af0e39 feat: use the latest gapic-generator and protoc-java-resource-name-plugin in googleapis/WORKSPACE.
PiperOrigin-RevId: 300188410
2020-03-10 15:15:32 -07:00
Google APIs 91e1fb5ef9 chore: update protobuf (protoc) version to 3.11.2
PiperOrigin-RevId: 299404145
2020-03-06 12:00:06 -08:00
Google APIs 6de6e938b7 chore: use the latest gapic-generator and protoc-java-resource-name-plugin in Bazel workspace.
PiperOrigin-RevId: 298474513
2020-03-02 16:21:38 -08:00
Google APIs 0b1876b35e Use an older version of protoc-docs-plugin that is compatible with the specified gapic-generator and protobuf versions.
protoc-docs-plugin >=0.4.0 (see commit 979f03ede6) is incompatible with protobuf 3.9.1.

PiperOrigin-RevId: 296986742
2020-02-24 15:29:23 -08:00
Google APIs e7d8a694f4 Depend on the latest gapic-generator and resource names plugin.
This fixes the very old an very annoying bug: https://github.com/googleapis/gapic-generator/pull/3087

PiperOrigin-RevId: 293903652
2020-02-07 15:18:00 -08:00
Google APIs 9933347c1f bazel:Integrate latest protoc-java-resource-names-plugin changes (fix for PyYAML dependency in bazel rules)
PiperOrigin-RevId: 292376626
2020-01-30 10:33:15 -08:00
Google APIs b491d07cad Revert accidental local_repository change
PiperOrigin-RevId: 292245373
2020-01-29 16:47:10 -08:00
Google APIs af3400a8cb Update gapic-generator dependency (prebuilt PHP binary support).
PiperOrigin-RevId: 292243997
2020-01-29 16:36:34 -08:00
Google APIs 42e915ec2e Update the gapic-generator, protoc-java-resource-name-plugin and protoc-docs-plugin to the latest commit.
PiperOrigin-RevId: 292182368
2020-01-29 11:25:44 -08:00
Google APIs b08714b378 fix: Integrate latest proto-docs-plugin fix.
Fixes dialogflow v2

PiperOrigin-RevId: 289189004
2020-01-10 16:39:28 -08:00
Google APIs 49dd7d856a bazel: Integrate bazel-2.0.0 compatibility fixes
PiperOrigin-RevId: 287205644
2019-12-26 11:12:40 -08:00
Google APIs 46e52fd649 bazel: Integrate bazel build file generator
To generate/update BUILD.bazel files for any particular client or a batch of clients:
```
bazel run //:build_gen -- --src=google/example/library
```

PiperOrigin-RevId: 286958627
2019-12-23 16:40:41 -08:00
Google APIs d9e328eaf7 Fix bazel build (versions 1.x)
Bump gapic-generator and resource names plugins to the latest version.

PiperOrigin-RevId: 286469287
2019-12-19 14:56:42 -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 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 822172613e Replace local_repository with http_archive in WORKSPACE
PiperOrigin-RevId: 280039052
2019-11-12 13:19:24 -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 a34950f968 Fix bazel build.
Update gapic-generator and protoc-java-resource-name plugin dependencies to the latest versions.

The following clients remain broken because of bugs in gapic-generator and/or corresponding configs

google/cloud/iot/v1
google/cloud/oslogin/v1
google/spanner/admin/instance/v1
google/cloud/oslogin/v1

PiperOrigin-RevId: 279171061
2019-11-07 14:40:37 -08:00
Google APIs af8dd2c175 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 274260771
2019-10-11 15:25:04 -07:00
Google APIs 0c0bbaeb69 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 274037944
2019-10-10 14:21:31 -07:00
Google APIs 8280957865 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 266247326
2019-08-29 15:48:35 -07:00
Google APIs dbd38035c3 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 265796259
2019-08-27 16:47:25 -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 1b1ef1ca14 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 261214002
2019-08-01 15:50:03 -07:00
Google APIs 45e125f9e3 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 254026509
2019-06-19 10:44:51 -07:00
Google APIs a9a85bc86b Synchronize new proto/yaml changes.
PiperOrigin-RevId: 253097146
2019-06-13 13:46:20 -07:00