Commit Graph

161 Commits

Author SHA1 Message Date
Google APIs 41d8fbfec9 feat: add schema service
PiperOrigin-RevId: 348038736
2020-12-17 09:47:36 -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 bf79839b94 fix: switch pubsub/v1 retry config to grpc_service_config
PiperOrigin-RevId: 336174031
2020-10-08 15:11:31 -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 706053bbfb Remove experimental warning for ordering keys properties.
PiperOrigin-RevId: 323803770
2020-07-29 09:32:06 -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 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 67415b43e7 Migrate Pub/Sub to Python microgenerator.
PiperOrigin-RevId: 320987315
2020-07-13 10:47:45 -07:00
Google APIs d4b87f0e60 build: pass template name to TypeScript generator
PiperOrigin-RevId: 319801036
2020-07-06 10:05:05 -07:00
Google APIs 14f0c2cc93 feature: Add flow control settings for StreamingPullRequest to pubsub.proto
PiperOrigin-RevId: 317914250
2020-06-23 12:05:52 -07:00
Google APIs a19b46e54c docs: Add a link to Pub/Sub filtering language public documentation to pubsub.proto
PiperOrigin-RevId: 315930680
2020-06-11 10:44:14 -07:00
Google APIs 86285bbd54 Add "detached" bool to Subscription
PiperOrigin-RevId: 314795690
2020-06-04 13:50:29 -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 fb21971bec Drop the experimental tag on the Subscription filter and retry policy fields
Clarify some retry policy comments

PiperOrigin-RevId: 313812131
2020-05-29 11:00:04 -07:00
Google APIs f4bd71cc17 docs: Add comment for MessageStoragePolicy message
PiperOrigin-RevId: 313795529
2020-05-29 09:33:53 -07:00
Google APIs eafa840cee Use correct resource type for DetachSubscriptionRequest
PiperOrigin-RevId: 313488995
2020-05-27 16:45:56 -07:00
Google APIs f5f268f529 Add DetachSubscription RPC
PiperOrigin-RevId: 313276022
2020-05-26 15:12:01 -07:00
Google APIs 73d4b5d9a7 Removing the experimental tag from dead letter policy related fields.
PiperOrigin-RevId: 310595049
2020-05-08 11:29:48 -07:00
Google APIs cdf13efacd Removing experimental tag from DeadLetterPolicy for Cloud Pub/Sub.
PiperOrigin-RevId: 306783437
2020-04-15 22:10:24 -07:00
Google APIs 6e17d259b8 docs: treat a dummy example URL as a string literal instead of a link
PiperOrigin-RevId: 304716376
2020-04-03 16:34:51 -07:00
Google APIs 3d5d228a58 Enable visibility on the GetSnapshot and GetTopicSnapshots methods
PiperOrigin-RevId: 304500143
2020-04-02 16:21:38 -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 275fbcce2c feat: pubsub/v1 add an experimental filter field to Subscription
PiperOrigin-RevId: 301661567
2020-03-18 14:00:07 -07:00
Google APIs 7fd916ce12 Add deprecated_collections field for backward-compatiblity in PHP and monolith-generated Python and Ruby clients.
Generate TopicName class in Java which covers the functionality of both ProjectTopicName and DeletedTopicName. Introduce breaking changes to be fixed by synth.py.

Delete default retry parameters.

Retry codes defs can be deleted once # https://github.com/googleapis/gapic-generator/issues/3137 is fixed.

PiperOrigin-RevId: 300813135
2020-03-13 13:09:26 -07:00
Google APIs fae4bb6d5a Adding RetryPolicy to pubsub.proto
PiperOrigin-RevId: 300769420
2020-03-13 09:25:06 -07:00
Google APIs 01c681586d Mark return_immediately in PullRequest deprecated.
PiperOrigin-RevId: 298893281
2020-03-04 11:11:02 -08:00
Google APIs dafc905f71 pubsub: revert pull init_rpc_timeout & max_rpc_timeout back to 25 seconds and reset multiplier to 1.0
PiperOrigin-RevId: 297486523
2020-02-26 18:25:36 -08:00
Google APIs 1eb6145553 pubsub: v1 replace IAM HTTP rules
PiperOrigin-RevId: 297188590
2020-02-25 13:33:06 -08:00
Google APIs 6cdd74dcdb pubsub: v1 add client config annotations and retry config
PiperOrigin-RevId: 295158776
2020-02-14 09:08:24 -08:00
Google APIs 5d932b2c1b - Improve documentation
- Add a client_id field to StreamingPullRequest

PiperOrigin-RevId: 292434036
2020-01-30 15:13:39 -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 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 f73b3796a6 Standardize pub/sub client default settings across clients:
- Add retry codes for streaming pull
- Decrease publish's max_rpc_timeout (mini-timeout) from 10 mins to 1 min
- Decrease publish's total timeout from 10 mins to 1 min
- Increase publish batching threshold from 10 to 100 elements
- Increase publish batching size threshold from 1 KiB to 1 MiB

PiperOrigin-RevId: 280044012
2019-11-12 13:41: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 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 eea87cb699 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 270785368
2019-09-23 16:24:27 -07:00
Google APIs fb6fa4cfb1 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 265110572
2019-08-23 12:29:01 -07:00
Google APIs 7ebb7a62ed Synchronize new proto/yaml changes.
PiperOrigin-RevId: 264871816
2019-08-22 10:54:35 -07:00
Google APIs 77e5e0eeab Synchronize new proto/yaml changes.
PiperOrigin-RevId: 264686370
2019-08-21 14:00:52 -07:00
Google APIs 82c3abe8f7 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 263652726
2019-08-15 15:18:24 -07:00
Google APIs ddea6a7a8b Synchronize new proto/yaml changes.
PiperOrigin-RevId: 261328349
2019-08-02 08:48:23 -07:00
Google APIs 3a40d3a5f5 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 261297518
2019-08-02 04:09:14 -07:00
Google APIs b92472ba0d Synchronize new proto/yaml changes.
PiperOrigin-RevId: 261295907
2019-08-02 03:54:56 -07:00
Google APIs d7f91b112b Synchronize new proto/yaml changes.
PiperOrigin-RevId: 259414527
2019-07-22 15:04:57 -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
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