Commit graph

132 commits

Author SHA1 Message Date
Google APIs
d074f46694 chore: migrate vision to the PHP microgenerator
Committer: @miraleung
PiperOrigin-RevId: 370774754
2021-04-27 15:22:57 -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
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
9b95bf0e95 fix: sync vision v1 protos to get extra FaceAnnotation Landmark Types
PiperOrigin-RevId: 356556588
2021-02-09 11:55:37 -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
49e64a5a8e fix: Fixes invalid YAML files
PiperOrigin-RevId: 347844600
2020-12-16 10:06:22 -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
d52da58686 chore: Migrate java-vision to the Java microgenerator
Committer: @miraleung
PiperOrigin-RevId: 344845074
2020-11-30 11:23:45 -08:00
Google APIs
80a56e032b feat: Add TextDetectionParams.enable_text_detection_confidence_score
Add TextDetectionParams.enable_text_detection_confidence_score to ImageContext proto so customer can optionally get confidence score for TEXT_DETECTION feature

PiperOrigin-RevId: 344839236
2020-11-30 10:39:38 -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
cdbd491d2c migrate vision BUILD file python part to use microgen
PiperOrigin-RevId: 333514450
2020-09-24 07:59:25 -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
3b634f6060 build: drop Artman config
PiperOrigin-RevId: 321028717
2020-07-13 14:02:36 -07:00
Google APIs
d13e2da372 build: move gapic-generator-typescript parameters to BUILD.bazel files.
PiperOrigin-RevId: 318386808
2020-06-25 18:07:32 -07:00
Google APIs
d810c1d73c fix: migrate vision/v1 to grpc_service_config
PiperOrigin-RevId: 317109460
2020-06-18 09:19:38 -07:00
Google APIs
025ee9eb46 fix: migrate vision/v1p2beta1 to grpc_service_config
PiperOrigin-RevId: 317109190
2020-06-18 09:05:57 -07:00
Google APIs
074e5b22fc fix: migrate vision/v1p1beta1 to grpc_service_config
PiperOrigin-RevId: 317108363
2020-06-18 08:55:18 -07:00
Google APIs
2ec6c6276f fix: migrate vision/v1p4beta1 to grpc_service_config
PiperOrigin-RevId: 317108263
2020-06-18 08:44:38 -07:00
Google APIs
316e611ba9 fix: migrate vision/v1p3beta1 to grpc_service_config
PiperOrigin-RevId: 317107948
2020-06-18 08:33:51 -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
a737a68e21 chore!: enable gapicv2 for vision/v1p4beta API
BREAKING CHANGE: The breaking changes are as follows. After discussion please see [this PR](https://github.com/googleapis/gapic-generator/pull/3177), these seem to be acceptable given that this is a beta API.

com.google.cloud.vision.v1p4beta1.ProductSearchClient: Method 'public com.google.longrunning.Operation purgeProducts(com.google.cloud.vision.v1p4beta1.PurgeProductsRequest)' has been removed
- This is because this method was not generating with the same LRO interface that all other configured RPCs receive.

com.google.cloud.vision.v1p4beta1.ProductSearchClient: Parameter 2 of 'public void addProductToProductSet(com.google.cloud.vision.v1p4beta1.ProductSetName, java.lang.String)' has changed its type to com.google.cloud.vision.v1p4beta1.ProductName

com.google.cloud.vision.v1p4beta1.ProductSearchClient: Parameter 2 of 'public void removeProductFromProductSet(com.google.cloud.vision.v1p4beta1.ProductSetName, java.lang.String)' has changed its type to com.google.cloud.vision.v1p4beta1.ProductName

Committer: @miraleung
PiperOrigin-RevId: 309788146
2020-05-04 11:49:12 -07:00
Google APIs
ab3468cf63 chore!: enable gapicv2 for vision/v1p3beta API
BREAKING CHANGE: The breaking changes are as follows. After discussion please see this PR, these seem to be acceptable given that this is a beta API.

com.google.cloud.vision.v1p4beta1.ProductSearchClient: Parameter 2 of 'public void addProductToProductSet(com.google.cloud.vision.v1p4beta1.ProductSetName, java.lang.String)' has changed its type to com.google.cloud.vision.v1p4beta1.ProductName

com.google.cloud.vision.v1p4beta1.ProductSearchClient: Parameter 2 of 'public void removeProductFromProductSet(com.google.cloud.vision.v1p4beta1.ProductSetName, java.lang.String)' has changed its type to com.google.cloud.vision.v1p4beta1.ProductName

Committer: @miraleung
PiperOrigin-RevId: 309787157
2020-05-04 11:38:36 -07:00
Google APIs
9ea892ebe8 chore: enable gapicv2 for vision/v1 API
Committer: @miraleung
PiperOrigin-RevId: 306281271
2020-04-13 12:16:37 -07:00
Google APIs
af71ea5223 chore: enable gapicv2 for vision/v1p2beta1 API
Committer: @miraleung
PiperOrigin-RevId: 305730427
2020-04-09 12:07:39 -07:00
Google APIs
6114e2d30c chore: enable gapicv2 for vision/v1p1beta1 API
Committer: @miraleung
PiperOrigin-RevId: 305729994
2020-04-09 11:59:37 -07:00
Google APIs
4a6a01ce0e docs: change a relative URL to an absolute URL to fix broken links.
PiperOrigin-RevId: 304633630
2020-04-03 09:41:05 -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
ffdfa4f55a vision: v1p3beta1 publish annotations and retry config
PiperOrigin-RevId: 292605599
2020-01-31 13:56:29 -08:00
Google APIs
78f61482cd vision: v1p1beta1 publish annotations and retry config
PiperOrigin-RevId: 292605125
2020-01-31 13:46:14 -08:00
Google APIs
60bb5a294a vision: v1p2beta1 publish annotations and retry config
PiperOrigin-RevId: 292604980
2020-01-31 13:35:59 -08:00
Google APIs
3bcf7aa79d vision: v1p4beta1 publish annotations and retry config
PiperOrigin-RevId: 292604656
2020-01-31 13:25:20 -08:00
Google APIs
79b7f1c5ba Put back C++ targets.
Previous change overrode custom C++ targets made by external teams. This PR puts those targets back.

PiperOrigin-RevId: 282458292
2019-11-25 16:33:43 -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
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
311e73f017 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 278658917
2019-11-05 10:38:11 -08:00
Google APIs
8c6569ced0 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 278552094
2019-11-04 23:19:30 -08:00
Google APIs
df366ed5ee Synchronize new proto/yaml changes.
PiperOrigin-RevId: 278469200
2019-11-04 14:46:44 -08:00
Google APIs
e0935db8bf Synchronize new proto/yaml changes.
PiperOrigin-RevId: 278368327
2019-11-04 06:52:11 -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
fcbb13c4f8 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 273745246
2019-10-09 07:54:57 -07:00
Google APIs
b31371da53 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 271117257
2019-09-25 07:10:22 -07:00
Google APIs
5b5f0d54d4 Synchronize new proto/yaml changes.
PiperOrigin-RevId: 271114912
2019-09-25 06:55:15 -07:00