aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/googleapis/google/cloud/vision/v1/vision_gapic.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/googleapis/google/cloud/vision/v1/vision_gapic.yaml')
-rw-r--r--third_party/googleapis/google/cloud/vision/v1/vision_gapic.yaml58
1 files changed, 58 insertions, 0 deletions
diff --git a/third_party/googleapis/google/cloud/vision/v1/vision_gapic.yaml b/third_party/googleapis/google/cloud/vision/v1/vision_gapic.yaml
new file mode 100644
index 0000000000..3a5f6484e3
--- /dev/null
+++ b/third_party/googleapis/google/cloud/vision/v1/vision_gapic.yaml
@@ -0,0 +1,58 @@
+type: com.google.api.codegen.ConfigProto
+language_settings:
+ java:
+ package_name: com.google.cloud.vision.spi.v1
+ python:
+ package_name: google.cloud.gapic.vision.v1
+ go:
+ package_name: cloud.google.com/go/vision/apiv1
+ domain_layer_location: cloud.google.com/go/vision
+ csharp:
+ package_name: Google.Cloud.Vision.V1
+ ruby:
+ package_name: Google::Cloud::Vision::V1
+ php:
+ package_name: Google\Cloud\Vision\V1
+ nodejs:
+ package_name: vision.v1
+ domain_layer_location: google-cloud
+license_header:
+ copyright_file: copyright-google.txt
+ license_file: license-header-apache-2.0.txt
+interfaces:
+- name: google.cloud.vision.v1.ImageAnnotator
+ smoke_test:
+ method: BatchAnnotateImages
+ init_fields:
+ - requests[0].image.source.gcs_image_uri="gs://gapic-toolkit/President_Barack_Obama.jpg"
+ - requests[0].features[0].type=FACE_DETECTION
+ collections: []
+ retry_codes_def:
+ - name: idempotent
+ retry_codes:
+ - UNAVAILABLE
+ - DEADLINE_EXCEEDED
+ - name: non_idempotent
+ retry_codes:
+ - UNAVAILABLE
+ retry_params_def:
+ - name: default
+ initial_retry_delay_millis: 100
+ retry_delay_multiplier: 1.3
+ max_retry_delay_millis: 60000
+ initial_rpc_timeout_millis: 60000
+ rpc_timeout_multiplier: 1
+ max_rpc_timeout_millis: 60000
+ total_timeout_millis: 600000
+ methods:
+ - name: BatchAnnotateImages
+ flattening:
+ groups:
+ - parameters:
+ - requests
+ required_fields:
+ - requests
+ request_object_method: false
+ retry_codes_name: idempotent
+ retry_params_name: default
+ timeout_millis: 60000