Commit graph

100 commits

Author SHA1 Message Date
Google APIs
4bb4b761e4 feat!: migrate firestore to the PHP microgenerator
Committer: @miraleung
PiperOrigin-RevId: 373700585
2021-05-13 19:21:19 -07:00
Google APIs
d471cdfca6 chore: migrate firestore/bundle to the PHP microgenerator
Committer: @miraleung
PiperOrigin-RevId: 373698262
2021-05-13 18:18:37 -07:00
Google APIs
3c6c3d69b7 feat!: migrate firestore/admin to the PHP microgenerator
Committer: @miraleung
PiperOrigin-RevId: 373590133
2021-05-13 09:33:03 -07:00
Google APIs
74bb45bfc8 chore: Migrate the Bazel rules for the libraries NOT published to google-cloud-ruby to use gapic-generator-ruby instead of the monolith generator.
PiperOrigin-RevId: 370517814
2021-04-26 12:36:51 -07:00
Google APIs
299383230f fix: retry RESOURCE_EXHAUSTED errors
docs: various documentation improvements

PiperOrigin-RevId: 367054341
2021-04-06 12:02:42 -07:00
Google APIs
facfc5a8e7 feat: add PartitionQuery and BatchWrite RPCs
feat: add update_transforms field to Write proto
feat: add IS_NOT_NAN and IS_NOT_NULL filters on fields
fix: retry RESOURCE_EXHAUSTED errors
docs: various documentation improvements

PiperOrigin-RevId: 367039635
2021-04-06 11:01:13 -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
05bcde7064 fix(firestore): Fix dependency reference to be bundle specific target
PiperOrigin-RevId: 355722114
2021-02-04 15:15:21 -08:00
Google APIs
8d75f62b3f feat(firestore): Add python builds for Firestore Bundles
PiperOrigin-RevId: 355455614
2021-02-03 12:23:54 -08:00
Google APIs
6e7c1456a6 chore: remove all artman config files
Committer: @miraleung
PiperOrigin-RevId: 355442156
2021-02-03 11:32:16 -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
3131ab5786 chore: use python microgenerator rules for Cloud APIs
PiperOrigin-RevId: 350604597
2021-01-07 11:33:56 -08:00
Google APIs
15af12eb71 fix: Add RESOURCE_EXHAUSTED to the list of errors that are backed off before retrying.
PiperOrigin-RevId: 348046114
2020-12-17 10:22:41 -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
36e1a9a8e3 chore: migrate firestore/admin to the Java microgenerator
Committer: @miraleung
PiperOrigin-RevId: 346387604
2020-12-08 12:41:47 -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
68b79503fa chore: migrate firestore to the Java microgenerator
Committer: @miraleung
PiperOrigin-RevId: 346124526
2020-12-07 11:07:55 -08:00
Google APIs
d189e87120 chore: generate GAPIC metadata JSON file
PiperOrigin-RevId: 345596855
2020-12-03 21:01:09 -08:00
Google APIs
7391e775fd fix: switch all local LRO Go GAPIC deps to remote
PiperOrigin-RevId: 338561467
2020-10-22 15:30:23 -07:00
Google APIs
b448d7dce8 fix: switch firestore/v1 to grpc_service_config
PiperOrigin-RevId: 338520351
2020-10-22 12:01:40 -07:00
Google APIs
4f3ef93916 fix: retry PartitionQuery for INTERNAL and DEADLINE_EXCEEDED
PiperOrigin-RevId: 337565369
2020-10-16 13:17:59 -07:00
Google APIs
610bf8f026 fix(firestore/v1): give PartitionQuery retry/timeout config
PiperOrigin-RevId: 335655077
2020-10-06 09:23:44 -07:00
Google APIs
af0fc83a51 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 335633503
2020-10-06 07:17:22 -07:00
Google APIs
613f39ea61 Update BUILD.bazel for google-cloud-firestore Python Microgeneration
PiperOrigin-RevId: 332099670
2020-09-16 15:26:22 -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
17de2b31f9 firestore: add != support
PiperOrigin-RevId: 327504150
2020-08-19 14:13:25 -07:00
Google APIs
8500bd5206 build: set package name for Node.js library
PiperOrigin-RevId: 320626855
2020-07-10 11:15:49 -07:00
Google APIs
cbd6f1d28b firestore: add BatchWrite to gapic yaml
PiperOrigin-RevId: 319105199
2020-06-30 14:57:09 -07:00
Google APIs
0a602be7b3 firestore: add BatchWrite to service config
PiperOrigin-RevId: 318331819
2020-06-25 13:03:04 -07:00
Google APIs
5824c4db2d chore: identify php targets using legacy config
PiperOrigin-RevId: 318081240
2020-06-24 09:41:18 -07:00
Google APIs
9b170a4f3b feat: retry CommitRequests that fail with UNAVAILABLE
PiperOrigin-RevId: 316514901
2020-06-15 12:01:09 -07:00
Google APIs
66f959b51c chore: set Ruby namespace in proto options
PiperOrigin-RevId: 316123861
2020-06-12 10:03:46 -07:00
Google APIs
d5fe42c39c firestore: add BatchWrite
PiperOrigin-RevId: 314471006
2020-06-02 22:33:22 -07:00
Google APIs
ce56112c35 chore: fix all deps on LRO in go_gapic_library
Removes uses of external dependency on longrunning/autogen:go_default_library
in favor of the local target //google/lonrunning:longrunning_go_gapic.

PiperOrigin-RevId: 314387187
2020-06-02 12:57:24 -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
902a824997 Use legacy gapic config for firestore admin PHP clients.
PiperOrigin-RevId: 311580686
2020-05-14 12:12:59 -07:00
Google APIs
c09ec5156d Use legacy gapic config for select PHP library generation
PiperOrigin-RevId: 307086169
2020-04-17 11:55:02 -07:00
Google APIs
d741cd9769 chore: enable gapicv2 for firestore/v1 API
Note that this contains breaking Java changes:
  com.google.cloud.firestore.v1.FirestoreClient: Method 'public void deleteDocument(com.google.firestore.v1.AnyPathName)' has been removed

Committer: @miraleung
PiperOrigin-RevId: 305561906
2020-04-08 15:08:54 -07:00
Google APIs
0d69cddaa2 chore: enable gapicv2 for firestore/admin/v1 API
Committer: @miraleung

There are the following breaking changes due to the collection_id discrepancy between [1] and [2]

1. 6f8350c0df/google/firestore/admin/v1/firestore_gapic.yaml (L24-L29)
2. 6f8350c0df/google/firestore/admin/v1/field.proto (L39)
```
com.google.firestore.admin.v1.FieldName: Method 'public java.lang.String getCollectionId()' has been removed
com.google.firestore.admin.v1.FieldName: Method 'public java.lang.String getFieldId()' has been removed
com.google.firestore.admin.v1.FieldName$Builder: Method 'public java.lang.String getCollectionId()' has been removed
com.google.firestore.admin.v1.FieldName$Builder: Method 'public java.lang.String getFieldId()' has been removed
com.google.firestore.admin.v1.FieldName$Builder: Method 'public com.google.firestore.admin.v1.FieldName$Builder setCollectionId(java.lang.String)' has been removed
com.google.firestore.admin.v1.FieldName$Builder: Method 'public com.google.firestore.admin.v1.FieldName$Builder setFieldId(java.lang.String)' has been removed
com.google.firestore.admin.v1.IndexName: Method 'public java.lang.String getCollectionId()' has been removed
com.google.firestore.admin.v1.IndexName: Method 'public java.lang.String getIndexId()' has been removed
com.google.firestore.admin.v1.IndexName$Builder: Method 'public java.lang.String getCollectionId()' has been removed
com.google.firestore.admin.v1.IndexName$Builder: Method 'public java.lang.String getIndexId()' has been removed
com.google.firestore.admin.v1.IndexName$Builder: Method 'public com.google.firestore.admin.v1.IndexName$Builder setCollectionId(java.lang.String)' has been removed
com.google.firestore.admin.v1.IndexName$Builder: Method 'public com.google.firestore.admin.v1.IndexName$Builder setIndexId(java.lang.String)' has been removed
```

PiperOrigin-RevId: 305561114
2020-04-08 14:58:08 -07:00
Google APIs
6f8350c0df chore: enable gapicv2 for firestore/v1beta1 API
Committer: @miraleung
PiperOrigin-RevId: 305537104
2020-04-08 12:59:20 -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
f077632ba7 firestore: add update_transform
PiperOrigin-RevId: 297405063
2020-02-26 11:20:03 -08:00
Google APIs
9118db63d1 firestore: don't retry reads that fail with Aborted
For transaction reads that fail with ABORTED, we need to rollback and start a new transaction. Our current configuration makes it so that GAPIC retries ABORTED reads multiple times without making any progress. Instead, we should retry at the transaction level.

PiperOrigin-RevId: 289532382
2020-01-13 15:27:00 -08:00
Google APIs
ec285d3d23 Hide not yet implemented update_transforms message
PiperOrigin-RevId: 287608953
2019-12-30 16:57:14 -08:00
Google APIs
2c28f646ca firestore: retry reads that fail with contention
PiperOrigin-RevId: 287250665
2019-12-26 19:29:47 -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
2427a3a0f6 firestore admin: update v1 protos with annotations & retry config
PiperOrigin-RevId: 283826605
2019-12-04 13:45:20 -08:00
Google APIs
6311dc5366 firestore: update v1beta1 protos with annotations and retry config
PiperOrigin-RevId: 283794315
2019-12-04 11:15:16 -08:00