google-cloud-vision 0.32.2 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardopts +4 -2
- data/AUTHENTICATION.md +151 -0
- data/LICENSE.md +201 -0
- data/MIGRATING.md +343 -0
- data/README.md +97 -52
- data/lib/google/cloud/vision/{v1/doc/google/protobuf/empty.rb → version.rb} +10 -13
- data/lib/google/cloud/vision.rb +132 -207
- data/lib/{google/cloud/vision/v1p3beta1/doc/google/protobuf/empty.rb → google-cloud-vision.rb} +5 -15
- metadata +108 -83
- data/LICENSE +0 -201
- data/lib/google/cloud/vision/v1/credentials.rb +0 -42
- data/lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/geometry.rb +0 -66
- data/lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/image_annotator.rb +0 -763
- data/lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/product_search.rb +0 -88
- data/lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/product_search_service.rb +0 -539
- data/lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/text_annotation.rb +0 -254
- data/lib/google/cloud/vision/v1/doc/google/cloud/vision/v1/web_detection.rb +0 -102
- data/lib/google/cloud/vision/v1/doc/google/longrunning/operations.rb +0 -93
- data/lib/google/cloud/vision/v1/doc/google/protobuf/any.rb +0 -130
- data/lib/google/cloud/vision/v1/doc/google/protobuf/field_mask.rb +0 -230
- data/lib/google/cloud/vision/v1/doc/google/protobuf/timestamp.rb +0 -109
- data/lib/google/cloud/vision/v1/doc/google/protobuf/wrappers.rb +0 -90
- data/lib/google/cloud/vision/v1/doc/google/rpc/status.rb +0 -84
- data/lib/google/cloud/vision/v1/doc/google/type/color.rb +0 -156
- data/lib/google/cloud/vision/v1/doc/google/type/latlng.rb +0 -65
- data/lib/google/cloud/vision/v1/geometry_pb.rb +0 -39
- data/lib/google/cloud/vision/v1/helpers.rb +0 -1154
- data/lib/google/cloud/vision/v1/image_annotator_client.rb +0 -302
- data/lib/google/cloud/vision/v1/image_annotator_client_config.json +0 -36
- data/lib/google/cloud/vision/v1/image_annotator_pb.rb +0 -305
- data/lib/google/cloud/vision/v1/image_annotator_services_pb.rb +0 -56
- data/lib/google/cloud/vision/v1/product_search_client.rb +0 -1337
- data/lib/google/cloud/vision/v1/product_search_client_config.json +0 -116
- data/lib/google/cloud/vision/v1/product_search_pb.rb +0 -45
- data/lib/google/cloud/vision/v1/product_search_service_pb.rb +0 -191
- data/lib/google/cloud/vision/v1/product_search_service_services_pb.rb +0 -224
- data/lib/google/cloud/vision/v1/text_annotation_pb.rb +0 -94
- data/lib/google/cloud/vision/v1/web_detection_pb.rb +0 -51
- data/lib/google/cloud/vision/v1.rb +0 -233
- data/lib/google/cloud/vision/v1p3beta1/credentials.rb +0 -42
- data/lib/google/cloud/vision/v1p3beta1/doc/google/cloud/vision/v1p3beta1/geometry.rb +0 -72
- data/lib/google/cloud/vision/v1p3beta1/doc/google/cloud/vision/v1p3beta1/image_annotator.rb +0 -763
- data/lib/google/cloud/vision/v1p3beta1/doc/google/cloud/vision/v1p3beta1/product_search.rb +0 -154
- data/lib/google/cloud/vision/v1p3beta1/doc/google/cloud/vision/v1p3beta1/product_search_service.rb +0 -533
- data/lib/google/cloud/vision/v1p3beta1/doc/google/cloud/vision/v1p3beta1/text_annotation.rb +0 -254
- data/lib/google/cloud/vision/v1p3beta1/doc/google/cloud/vision/v1p3beta1/web_detection.rb +0 -101
- data/lib/google/cloud/vision/v1p3beta1/doc/google/longrunning/operations.rb +0 -93
- data/lib/google/cloud/vision/v1p3beta1/doc/google/protobuf/any.rb +0 -130
- data/lib/google/cloud/vision/v1p3beta1/doc/google/protobuf/field_mask.rb +0 -230
- data/lib/google/cloud/vision/v1p3beta1/doc/google/protobuf/timestamp.rb +0 -109
- data/lib/google/cloud/vision/v1p3beta1/doc/google/protobuf/wrappers.rb +0 -90
- data/lib/google/cloud/vision/v1p3beta1/doc/google/rpc/status.rb +0 -84
- data/lib/google/cloud/vision/v1p3beta1/doc/google/type/color.rb +0 -156
- data/lib/google/cloud/vision/v1p3beta1/doc/google/type/latlng.rb +0 -65
- data/lib/google/cloud/vision/v1p3beta1/geometry_pb.rb +0 -43
- data/lib/google/cloud/vision/v1p3beta1/helpers.rb +0 -1154
- data/lib/google/cloud/vision/v1p3beta1/image_annotator_client.rb +0 -302
- data/lib/google/cloud/vision/v1p3beta1/image_annotator_client_config.json +0 -36
- data/lib/google/cloud/vision/v1p3beta1/image_annotator_pb.rb +0 -304
- data/lib/google/cloud/vision/v1p3beta1/image_annotator_services_pb.rb +0 -55
- data/lib/google/cloud/vision/v1p3beta1/product_search_client.rb +0 -1351
- data/lib/google/cloud/vision/v1p3beta1/product_search_client_config.json +0 -116
- data/lib/google/cloud/vision/v1p3beta1/product_search_pb.rb +0 -64
- data/lib/google/cloud/vision/v1p3beta1/product_search_service_pb.rb +0 -191
- data/lib/google/cloud/vision/v1p3beta1/product_search_service_services_pb.rb +0 -222
- data/lib/google/cloud/vision/v1p3beta1/text_annotation_pb.rb +0 -94
- data/lib/google/cloud/vision/v1p3beta1/web_detection_pb.rb +0 -51
- data/lib/google/cloud/vision/v1p3beta1.rb +0 -233
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
-
# Source: google/cloud/vision/v1p3beta1/image_annotator.proto for package 'google.cloud.vision.v1p3beta1'
|
|
3
|
-
# Original file comments:
|
|
4
|
-
# Copyright 2018 Google Inc.
|
|
5
|
-
#
|
|
6
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
-
# you may not use this file except in compliance with the License.
|
|
8
|
-
# You may obtain a copy of the License at
|
|
9
|
-
#
|
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
-
#
|
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
-
# See the License for the specific language governing permissions and
|
|
16
|
-
# limitations under the License.
|
|
17
|
-
#
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
require 'grpc'
|
|
21
|
-
require 'google/cloud/vision/v1p3beta1/image_annotator_pb'
|
|
22
|
-
|
|
23
|
-
module Google
|
|
24
|
-
module Cloud
|
|
25
|
-
module Vision
|
|
26
|
-
module V1p3beta1
|
|
27
|
-
module ImageAnnotator
|
|
28
|
-
# Service that performs Google Cloud Vision API detection tasks over client
|
|
29
|
-
# images, such as face, landmark, logo, label, and text detection. The
|
|
30
|
-
# ImageAnnotator service returns detected entities from the images.
|
|
31
|
-
class Service
|
|
32
|
-
|
|
33
|
-
include GRPC::GenericService
|
|
34
|
-
|
|
35
|
-
self.marshal_class_method = :encode
|
|
36
|
-
self.unmarshal_class_method = :decode
|
|
37
|
-
self.service_name = 'google.cloud.vision.v1p3beta1.ImageAnnotator'
|
|
38
|
-
|
|
39
|
-
# Run image detection and annotation for a batch of images.
|
|
40
|
-
rpc :BatchAnnotateImages, BatchAnnotateImagesRequest, BatchAnnotateImagesResponse
|
|
41
|
-
# Run asynchronous image detection and annotation for a list of generic
|
|
42
|
-
# files, such as PDF files, which may contain multiple pages and multiple
|
|
43
|
-
# images per page. Progress and results can be retrieved through the
|
|
44
|
-
# `google.longrunning.Operations` interface.
|
|
45
|
-
# `Operation.metadata` contains `OperationMetadata` (metadata).
|
|
46
|
-
# `Operation.response` contains `AsyncBatchAnnotateFilesResponse` (results).
|
|
47
|
-
rpc :AsyncBatchAnnotateFiles, AsyncBatchAnnotateFilesRequest, Google::Longrunning::Operation
|
|
48
|
-
end
|
|
49
|
-
|
|
50
|
-
Stub = Service.rpc_stub_class
|
|
51
|
-
end
|
|
52
|
-
end
|
|
53
|
-
end
|
|
54
|
-
end
|
|
55
|
-
end
|