Commit Graph

76 Commits

Author SHA1 Message Date
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 57e83fd2ae chore: migrate java-spanner to the Java microgenerator
Committer: @miraleung
PiperOrigin-RevId: 346119030
2020-12-07 10:26:07 -08:00
Google APIs d189e87120 chore: generate GAPIC metadata JSON file
PiperOrigin-RevId: 345596855
2020-12-03 21:01:09 -08:00
Google APIs 370e9f9ac1 chore: adds throttled to UpdateDatabaseDdlMetadata
Indicates whether the ddl operation was throttled, due to resource constraints. When resources become available the operation will resume and this field will be false again.

PiperOrigin-RevId: 344883170
2020-11-30 13:58:59 -08:00
Google APIs 3ad55bd69f feat!: Update BUILD.bazel for spanner to use latest-gen python code generator.
- Generated code no longer supports Python 2.7

PiperOrigin-RevId: 341320404
2020-11-08 17:43:08 -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 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 8f2eda119e fix(spanner): update UpdateBackup to be retryable
PiperOrigin-RevId: 322293383
2020-07-20 22:15:21 -07:00
Google APIs 8bbefeffb4 fix: migrate spanner/instance/v1 to grpc_service_config
PiperOrigin-RevId: 320114042
2020-07-07 20:38:34 -07:00
Google APIs d8354750a5 fix: migrate spanner/database/v1 to grpc_service_config
PiperOrigin-RevId: 320114022
2020-07-07 20:27:56 -07:00
Google APIs 4d8706453b Fully qualify response type in longrunning_operation.info for CreateBackup in the same fashion as all other longrunning operations.
PiperOrigin-RevId: 320022685
2020-07-07 11:20:35 -07:00
Google APIs b5653ef555 chore: set Ruby namespace in proto options
PiperOrigin-RevId: 316144276
2020-06-12 11:47:02 -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 973c671823 Update grpc config files to be consistent.
PiperOrigin-RevId: 313004561
2020-05-24 16:04:34 -07:00
Google APIs d8a17933f6 fix: inconsistent json and yaml spanner configs
This tries to resolve inconsistent timeout/retries in different client
libraries.

Two major changes:
- Update *_grpc_service_config.json and *_gapic.yaml to make sure that they
  are consistent.
- Add missing ListDatabases config in spanner_admin_database_gapic.yaml.

PiperOrigin-RevId: 312582296
2020-05-20 16:55:45 -07:00
Google APIs d3cc7bbf41 fix: update backup RPC timeouts from 30secs to 10mins
PiperOrigin-RevId: 310454506
2020-05-07 16:03:44 -07:00
Google APIs c3f3cdeda7 fix: update {Create|Delete}Backup and RestoreDatabase timeouts to 1 hour
PiperOrigin-RevId: 306746093
2020-04-15 16:47:21 -07:00
Google APIs ab5d07c288 fix: set resource type for database parameter of Backup
PiperOrigin-RevId: 306557455
2020-04-14 18:46:48 -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 d631c651e3 Updated the GAPIC configs to include parameters for Backups APIs.
PiperOrigin-RevId: 300443402
2020-03-11 17:34:13 -07:00
Google APIs 309b899ca1 Publish `Backup` APIs and protos.
PiperOrigin-RevId: 300246038
2020-03-10 21:32:38 -07:00
Google APIs dfe1cf7be4 Publish `QueryOptions` proto.
Introduced a `query_options` input in `ExecuteSqlRequest`.

PiperOrigin-RevId: 297497710
2020-02-26 19:55:22 -08:00
Google APIs e5bc9566ae Deprecate the endpoint_uris field, as it is unused.
PiperOrigin-RevId: 296357191
2020-02-20 20:31:55 -08:00
Google APIs c8aef82028 Add cc_proto_library and cc_grpc_library targets for Bigtable protos.
Also fix indentation of cc_grpc_library targets in Spanner and IAM protos.

PiperOrigin-RevId: 293440538
2020-02-05 13:41:27 -08:00
Google APIs eba3897fff Add cc_proto_library and cc_grpc_library targets for Spanner and IAM protos.
PiperOrigin-RevId: 291988651
2020-01-28 12:21:42 -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 3ba7ddc4b2 fix: Shift Ruby and PHP to legacy GAPIC YAMLs for back-compat.
Committer: @lukesneeringer
PiperOrigin-RevId: 281852671
2019-11-21 16:09:35 -08:00
Google APIs f6808ff4e8 Rename the `endpoint_urls` field to `endpoint_uris` to be consistent with
Google API nomenclature.

PiperOrigin-RevId: 280581337
2019-11-14 21:14:27 -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 675de3dc9a Add an endpoint_urls field to the instance admin proto and adds a field_mask field to the GetInstanceRequest.
PiperOrigin-RevId: 279982263
2019-11-12 09:06:08 -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 5691fcb7c1 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 278731899
2019-11-05 16:19:36 -08:00
Google APIs aac770126e Synchronize new proto/yaml changes.
PiperOrigin-RevId: 278016738
2019-11-01 15:51:56 -07:00
Google APIs b21f962900 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 277750396
2019-10-31 10:28:04 -07:00
Google APIs 93661a2404 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 277748718
2019-10-31 10:20:46 -07:00
Google APIs c0e494ca95 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 277673798
2019-10-31 01:42:11 -07: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 cc233544aa Synchronize new proto/yaml changes.
PiperOrigin-RevId: 254006159
2019-06-19 09:04:14 -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 fd67be4b51 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 241096997
2019-03-29 20:50:32 -07:00
Google APIs 37386f1ebc Synchronize new proto/yaml changes.
PiperOrigin-RevId: 240841842
2019-03-28 13:38:42 -07:00
Google APIs 58ac03353c Synchronize new proto/yaml changes.
PiperOrigin-RevId: 235605853
2019-02-25 14:43:29 -08:00