google-cloud-vision-v1 0.1.0
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 +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +169 -0
- data/LICENSE.md +203 -0
- data/README.md +24 -0
- data/lib/google-cloud-vision-v1.rb +1 -0
- data/lib/google/cloud/common_resources_pb.rb +15 -0
- data/lib/google/cloud/vision/v1.rb +20 -0
- data/lib/google/cloud/vision/v1/geometry_pb.rb +40 -0
- data/lib/google/cloud/vision/v1/image_annotator.rb +21 -0
- data/lib/google/cloud/vision/v1/image_annotator/client.rb +682 -0
- data/lib/google/cloud/vision/v1/image_annotator/credentials.rb +52 -0
- data/lib/google/cloud/vision/v1/image_annotator/helpers.rb +1228 -0
- data/lib/google/cloud/vision/v1/image_annotator/operations.rb +558 -0
- data/lib/google/cloud/vision/v1/image_annotator/paths.rb +52 -0
- data/lib/google/cloud/vision/v1/image_annotator_pb.rb +345 -0
- data/lib/google/cloud/vision/v1/image_annotator_services_pb.rb +73 -0
- data/lib/google/cloud/vision/v1/product_search.rb +21 -0
- data/lib/google/cloud/vision/v1/product_search/client.rb +2134 -0
- data/lib/google/cloud/vision/v1/product_search/credentials.rb +52 -0
- data/lib/google/cloud/vision/v1/product_search/operations.rb +558 -0
- data/lib/google/cloud/vision/v1/product_search/paths.rb +109 -0
- data/lib/google/cloud/vision/v1/product_search_pb.rb +55 -0
- data/lib/google/cloud/vision/v1/product_search_service_pb.rb +208 -0
- data/lib/google/cloud/vision/v1/product_search_service_services_pb.rb +232 -0
- data/lib/google/cloud/vision/v1/text_annotation_pb.rb +95 -0
- data/lib/google/cloud/vision/v1/version.rb +28 -0
- data/lib/google/cloud/vision/v1/web_detection_pb.rb +52 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/field_behavior.rb +59 -0
- data/proto_docs/google/api/resource.rb +247 -0
- data/proto_docs/google/cloud/vision/v1/geometry.rb +82 -0
- data/proto_docs/google/cloud/vision/v1/image_annotator.rb +1044 -0
- data/proto_docs/google/cloud/vision/v1/product_search.rb +134 -0
- data/proto_docs/google/cloud/vision/v1/product_search_service.rb +669 -0
- data/proto_docs/google/cloud/vision/v1/text_annotation.rb +285 -0
- data/proto_docs/google/cloud/vision/v1/web_detection.rb +121 -0
- data/proto_docs/google/longrunning/operations.rb +150 -0
- data/proto_docs/google/protobuf/any.rb +137 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +237 -0
- data/proto_docs/google/protobuf/timestamp.rb +116 -0
- data/proto_docs/google/protobuf/wrappers.rb +121 -0
- data/proto_docs/google/rpc/status.rb +46 -0
- data/proto_docs/google/type/color.rb +168 -0
- data/proto_docs/google/type/latlng.rb +38 -0
- metadata +201 -0
@@ -0,0 +1,121 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Protobuf
|
22
|
+
# Wrapper message for `double`.
|
23
|
+
#
|
24
|
+
# The JSON representation for `DoubleValue` is JSON number.
|
25
|
+
# @!attribute [rw] value
|
26
|
+
# @return [Float]
|
27
|
+
# The double value.
|
28
|
+
class DoubleValue
|
29
|
+
include Google::Protobuf::MessageExts
|
30
|
+
extend Google::Protobuf::MessageExts::ClassMethods
|
31
|
+
end
|
32
|
+
|
33
|
+
# Wrapper message for `float`.
|
34
|
+
#
|
35
|
+
# The JSON representation for `FloatValue` is JSON number.
|
36
|
+
# @!attribute [rw] value
|
37
|
+
# @return [Float]
|
38
|
+
# The float value.
|
39
|
+
class FloatValue
|
40
|
+
include Google::Protobuf::MessageExts
|
41
|
+
extend Google::Protobuf::MessageExts::ClassMethods
|
42
|
+
end
|
43
|
+
|
44
|
+
# Wrapper message for `int64`.
|
45
|
+
#
|
46
|
+
# The JSON representation for `Int64Value` is JSON string.
|
47
|
+
# @!attribute [rw] value
|
48
|
+
# @return [Integer]
|
49
|
+
# The int64 value.
|
50
|
+
class Int64Value
|
51
|
+
include Google::Protobuf::MessageExts
|
52
|
+
extend Google::Protobuf::MessageExts::ClassMethods
|
53
|
+
end
|
54
|
+
|
55
|
+
# Wrapper message for `uint64`.
|
56
|
+
#
|
57
|
+
# The JSON representation for `UInt64Value` is JSON string.
|
58
|
+
# @!attribute [rw] value
|
59
|
+
# @return [Integer]
|
60
|
+
# The uint64 value.
|
61
|
+
class UInt64Value
|
62
|
+
include Google::Protobuf::MessageExts
|
63
|
+
extend Google::Protobuf::MessageExts::ClassMethods
|
64
|
+
end
|
65
|
+
|
66
|
+
# Wrapper message for `int32`.
|
67
|
+
#
|
68
|
+
# The JSON representation for `Int32Value` is JSON number.
|
69
|
+
# @!attribute [rw] value
|
70
|
+
# @return [Integer]
|
71
|
+
# The int32 value.
|
72
|
+
class Int32Value
|
73
|
+
include Google::Protobuf::MessageExts
|
74
|
+
extend Google::Protobuf::MessageExts::ClassMethods
|
75
|
+
end
|
76
|
+
|
77
|
+
# Wrapper message for `uint32`.
|
78
|
+
#
|
79
|
+
# The JSON representation for `UInt32Value` is JSON number.
|
80
|
+
# @!attribute [rw] value
|
81
|
+
# @return [Integer]
|
82
|
+
# The uint32 value.
|
83
|
+
class UInt32Value
|
84
|
+
include Google::Protobuf::MessageExts
|
85
|
+
extend Google::Protobuf::MessageExts::ClassMethods
|
86
|
+
end
|
87
|
+
|
88
|
+
# Wrapper message for `bool`.
|
89
|
+
#
|
90
|
+
# The JSON representation for `BoolValue` is JSON `true` and `false`.
|
91
|
+
# @!attribute [rw] value
|
92
|
+
# @return [Boolean]
|
93
|
+
# The bool value.
|
94
|
+
class BoolValue
|
95
|
+
include Google::Protobuf::MessageExts
|
96
|
+
extend Google::Protobuf::MessageExts::ClassMethods
|
97
|
+
end
|
98
|
+
|
99
|
+
# Wrapper message for `string`.
|
100
|
+
#
|
101
|
+
# The JSON representation for `StringValue` is JSON string.
|
102
|
+
# @!attribute [rw] value
|
103
|
+
# @return [String]
|
104
|
+
# The string value.
|
105
|
+
class StringValue
|
106
|
+
include Google::Protobuf::MessageExts
|
107
|
+
extend Google::Protobuf::MessageExts::ClassMethods
|
108
|
+
end
|
109
|
+
|
110
|
+
# Wrapper message for `bytes`.
|
111
|
+
#
|
112
|
+
# The JSON representation for `BytesValue` is JSON string.
|
113
|
+
# @!attribute [rw] value
|
114
|
+
# @return [String]
|
115
|
+
# The bytes value.
|
116
|
+
class BytesValue
|
117
|
+
include Google::Protobuf::MessageExts
|
118
|
+
extend Google::Protobuf::MessageExts::ClassMethods
|
119
|
+
end
|
120
|
+
end
|
121
|
+
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Rpc
|
22
|
+
# The `Status` type defines a logical error model that is suitable for
|
23
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
24
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
25
|
+
# three pieces of data: error code, error message, and error details.
|
26
|
+
#
|
27
|
+
# You can find out more about this error model and how to work with it in the
|
28
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
29
|
+
# @!attribute [rw] code
|
30
|
+
# @return [Integer]
|
31
|
+
# The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
|
32
|
+
# @!attribute [rw] message
|
33
|
+
# @return [String]
|
34
|
+
# A developer-facing error message, which should be in English. Any
|
35
|
+
# user-facing error message should be localized and sent in the
|
36
|
+
# {Google::Rpc::Status#details google.rpc.Status.details} field, or localized by the client.
|
37
|
+
# @!attribute [rw] details
|
38
|
+
# @return [Array<Google::Protobuf::Any>]
|
39
|
+
# A list of messages that carry the error details. There is a common set of
|
40
|
+
# message types for APIs to use.
|
41
|
+
class Status
|
42
|
+
include Google::Protobuf::MessageExts
|
43
|
+
extend Google::Protobuf::MessageExts::ClassMethods
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
@@ -0,0 +1,168 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Type
|
22
|
+
# Represents a color in the RGBA color space. This representation is designed
|
23
|
+
# for simplicity of conversion to/from color representations in various
|
24
|
+
# languages over compactness; for example, the fields of this representation
|
25
|
+
# can be trivially provided to the constructor of "java.awt.Color" in Java; it
|
26
|
+
# can also be trivially provided to UIColor's "+colorWithRed:green:blue:alpha"
|
27
|
+
# method in iOS; and, with just a little work, it can be easily formatted into
|
28
|
+
# a CSS "rgba()" string in JavaScript, as well.
|
29
|
+
#
|
30
|
+
# Note: this proto does not carry information about the absolute color space
|
31
|
+
# that should be used to interpret the RGB value (e.g. sRGB, Adobe RGB,
|
32
|
+
# DCI-P3, BT.2020, etc.). By default, applications SHOULD assume the sRGB color
|
33
|
+
# space.
|
34
|
+
#
|
35
|
+
# Example (Java):
|
36
|
+
#
|
37
|
+
# import com.google.type.Color;
|
38
|
+
#
|
39
|
+
# // ...
|
40
|
+
# public static java.awt.Color fromProto(Color protocolor) {
|
41
|
+
# float alpha = protocolor.hasAlpha()
|
42
|
+
# ? protocolor.getAlpha().getValue()
|
43
|
+
# : 1.0;
|
44
|
+
#
|
45
|
+
# return new java.awt.Color(
|
46
|
+
# protocolor.getRed(),
|
47
|
+
# protocolor.getGreen(),
|
48
|
+
# protocolor.getBlue(),
|
49
|
+
# alpha);
|
50
|
+
# }
|
51
|
+
#
|
52
|
+
# public static Color toProto(java.awt.Color color) {
|
53
|
+
# float red = (float) color.getRed();
|
54
|
+
# float green = (float) color.getGreen();
|
55
|
+
# float blue = (float) color.getBlue();
|
56
|
+
# float denominator = 255.0;
|
57
|
+
# Color.Builder resultBuilder =
|
58
|
+
# Color
|
59
|
+
# .newBuilder()
|
60
|
+
# .setRed(red / denominator)
|
61
|
+
# .setGreen(green / denominator)
|
62
|
+
# .setBlue(blue / denominator);
|
63
|
+
# int alpha = color.getAlpha();
|
64
|
+
# if (alpha != 255) {
|
65
|
+
# result.setAlpha(
|
66
|
+
# FloatValue
|
67
|
+
# .newBuilder()
|
68
|
+
# .setValue(((float) alpha) / denominator)
|
69
|
+
# .build());
|
70
|
+
# }
|
71
|
+
# return resultBuilder.build();
|
72
|
+
# }
|
73
|
+
# // ...
|
74
|
+
#
|
75
|
+
# Example (iOS / Obj-C):
|
76
|
+
#
|
77
|
+
# // ...
|
78
|
+
# static UIColor* fromProto(Color* protocolor) {
|
79
|
+
# float red = [protocolor red];
|
80
|
+
# float green = [protocolor green];
|
81
|
+
# float blue = [protocolor blue];
|
82
|
+
# FloatValue* alpha_wrapper = [protocolor alpha];
|
83
|
+
# float alpha = 1.0;
|
84
|
+
# if (alpha_wrapper != nil) {
|
85
|
+
# alpha = [alpha_wrapper value];
|
86
|
+
# }
|
87
|
+
# return [UIColor colorWithRed:red green:green blue:blue alpha:alpha];
|
88
|
+
# }
|
89
|
+
#
|
90
|
+
# static Color* toProto(UIColor* color) {
|
91
|
+
# CGFloat red, green, blue, alpha;
|
92
|
+
# if (![color getRed:&red green:&green blue:&blue alpha:&alpha]) {
|
93
|
+
# return nil;
|
94
|
+
# }
|
95
|
+
# Color* result = [[Color alloc] init];
|
96
|
+
# [result setRed:red];
|
97
|
+
# [result setGreen:green];
|
98
|
+
# [result setBlue:blue];
|
99
|
+
# if (alpha <= 0.9999) {
|
100
|
+
# [result setAlpha:floatWrapperWithValue(alpha)];
|
101
|
+
# }
|
102
|
+
# [result autorelease];
|
103
|
+
# return result;
|
104
|
+
# }
|
105
|
+
# // ...
|
106
|
+
#
|
107
|
+
# Example (JavaScript):
|
108
|
+
#
|
109
|
+
# // ...
|
110
|
+
#
|
111
|
+
# var protoToCssColor = function(rgb_color) {
|
112
|
+
# var redFrac = rgb_color.red || 0.0;
|
113
|
+
# var greenFrac = rgb_color.green || 0.0;
|
114
|
+
# var blueFrac = rgb_color.blue || 0.0;
|
115
|
+
# var red = Math.floor(redFrac * 255);
|
116
|
+
# var green = Math.floor(greenFrac * 255);
|
117
|
+
# var blue = Math.floor(blueFrac * 255);
|
118
|
+
#
|
119
|
+
# if (!('alpha' in rgb_color)) {
|
120
|
+
# return rgbToCssColor_(red, green, blue);
|
121
|
+
# }
|
122
|
+
#
|
123
|
+
# var alphaFrac = rgb_color.alpha.value || 0.0;
|
124
|
+
# var rgbParams = [red, green, blue].join(',');
|
125
|
+
# return ['rgba(', rgbParams, ',', alphaFrac, ')'].join('');
|
126
|
+
# };
|
127
|
+
#
|
128
|
+
# var rgbToCssColor_ = function(red, green, blue) {
|
129
|
+
# var rgbNumber = new Number((red << 16) | (green << 8) | blue);
|
130
|
+
# var hexString = rgbNumber.toString(16);
|
131
|
+
# var missingZeros = 6 - hexString.length;
|
132
|
+
# var resultBuilder = ['#'];
|
133
|
+
# for (var i = 0; i < missingZeros; i++) {
|
134
|
+
# resultBuilder.push('0');
|
135
|
+
# }
|
136
|
+
# resultBuilder.push(hexString);
|
137
|
+
# return resultBuilder.join('');
|
138
|
+
# };
|
139
|
+
#
|
140
|
+
# // ...
|
141
|
+
# @!attribute [rw] red
|
142
|
+
# @return [Float]
|
143
|
+
# The amount of red in the color as a value in the interval [0, 1].
|
144
|
+
# @!attribute [rw] green
|
145
|
+
# @return [Float]
|
146
|
+
# The amount of green in the color as a value in the interval [0, 1].
|
147
|
+
# @!attribute [rw] blue
|
148
|
+
# @return [Float]
|
149
|
+
# The amount of blue in the color as a value in the interval [0, 1].
|
150
|
+
# @!attribute [rw] alpha
|
151
|
+
# @return [Google::Protobuf::FloatValue]
|
152
|
+
# The fraction of this color that should be applied to the pixel. That is,
|
153
|
+
# the final pixel color is defined by the equation:
|
154
|
+
#
|
155
|
+
# pixel color = alpha * (this color) + (1.0 - alpha) * (background color)
|
156
|
+
#
|
157
|
+
# This means that a value of 1.0 corresponds to a solid color, whereas
|
158
|
+
# a value of 0.0 corresponds to a completely transparent color. This
|
159
|
+
# uses a wrapper message rather than a simple float scalar so that it is
|
160
|
+
# possible to distinguish between a default value and the value being unset.
|
161
|
+
# If omitted, this color object is to be rendered as a solid color
|
162
|
+
# (as if the alpha value had been explicitly given with a value of 1.0).
|
163
|
+
class Color
|
164
|
+
include Google::Protobuf::MessageExts
|
165
|
+
extend Google::Protobuf::MessageExts::ClassMethods
|
166
|
+
end
|
167
|
+
end
|
168
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Type
|
22
|
+
# An object representing a latitude/longitude pair. This is expressed as a pair
|
23
|
+
# of doubles representing degrees latitude and degrees longitude. Unless
|
24
|
+
# specified otherwise, this must conform to the
|
25
|
+
# <a href="http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf">WGS84
|
26
|
+
# standard</a>. Values must be within normalized ranges.
|
27
|
+
# @!attribute [rw] latitude
|
28
|
+
# @return [Float]
|
29
|
+
# The latitude in degrees. It must be in the range [-90.0, +90.0].
|
30
|
+
# @!attribute [rw] longitude
|
31
|
+
# @return [Float]
|
32
|
+
# The longitude in degrees. It must be in the range [-180.0, +180.0].
|
33
|
+
class LatLng
|
34
|
+
include Google::Protobuf::MessageExts
|
35
|
+
extend Google::Protobuf::MessageExts::ClassMethods
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
metadata
ADDED
@@ -0,0 +1,201 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: google-cloud-vision-v1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Google LLC
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-03-30 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: gapic-common
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.2'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.2'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: google-cloud-errors
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: google-style
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.24.0
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.24.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: minitest
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '5.10'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '5.10'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '12.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '12.0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: redcarpet
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '3.0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '3.0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: simplecov
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0.18'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0.18'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: yard
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0.9'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0.9'
|
125
|
+
description: Cloud Vision API allows developers to easily integrate vision detection
|
126
|
+
features within applications, including image labeling, face and landmark detection,
|
127
|
+
optical character recognition (OCR), and tagging of explicit content.
|
128
|
+
email: googleapis-packages@google.com
|
129
|
+
executables: []
|
130
|
+
extensions: []
|
131
|
+
extra_rdoc_files: []
|
132
|
+
files:
|
133
|
+
- ".yardopts"
|
134
|
+
- AUTHENTICATION.md
|
135
|
+
- LICENSE.md
|
136
|
+
- README.md
|
137
|
+
- lib/google-cloud-vision-v1.rb
|
138
|
+
- lib/google/cloud/common_resources_pb.rb
|
139
|
+
- lib/google/cloud/vision/v1.rb
|
140
|
+
- lib/google/cloud/vision/v1/geometry_pb.rb
|
141
|
+
- lib/google/cloud/vision/v1/image_annotator.rb
|
142
|
+
- lib/google/cloud/vision/v1/image_annotator/client.rb
|
143
|
+
- lib/google/cloud/vision/v1/image_annotator/credentials.rb
|
144
|
+
- lib/google/cloud/vision/v1/image_annotator/helpers.rb
|
145
|
+
- lib/google/cloud/vision/v1/image_annotator/operations.rb
|
146
|
+
- lib/google/cloud/vision/v1/image_annotator/paths.rb
|
147
|
+
- lib/google/cloud/vision/v1/image_annotator_pb.rb
|
148
|
+
- lib/google/cloud/vision/v1/image_annotator_services_pb.rb
|
149
|
+
- lib/google/cloud/vision/v1/product_search.rb
|
150
|
+
- lib/google/cloud/vision/v1/product_search/client.rb
|
151
|
+
- lib/google/cloud/vision/v1/product_search/credentials.rb
|
152
|
+
- lib/google/cloud/vision/v1/product_search/operations.rb
|
153
|
+
- lib/google/cloud/vision/v1/product_search/paths.rb
|
154
|
+
- lib/google/cloud/vision/v1/product_search_pb.rb
|
155
|
+
- lib/google/cloud/vision/v1/product_search_service_pb.rb
|
156
|
+
- lib/google/cloud/vision/v1/product_search_service_services_pb.rb
|
157
|
+
- lib/google/cloud/vision/v1/text_annotation_pb.rb
|
158
|
+
- lib/google/cloud/vision/v1/version.rb
|
159
|
+
- lib/google/cloud/vision/v1/web_detection_pb.rb
|
160
|
+
- proto_docs/README.md
|
161
|
+
- proto_docs/google/api/field_behavior.rb
|
162
|
+
- proto_docs/google/api/resource.rb
|
163
|
+
- proto_docs/google/cloud/vision/v1/geometry.rb
|
164
|
+
- proto_docs/google/cloud/vision/v1/image_annotator.rb
|
165
|
+
- proto_docs/google/cloud/vision/v1/product_search.rb
|
166
|
+
- proto_docs/google/cloud/vision/v1/product_search_service.rb
|
167
|
+
- proto_docs/google/cloud/vision/v1/text_annotation.rb
|
168
|
+
- proto_docs/google/cloud/vision/v1/web_detection.rb
|
169
|
+
- proto_docs/google/longrunning/operations.rb
|
170
|
+
- proto_docs/google/protobuf/any.rb
|
171
|
+
- proto_docs/google/protobuf/empty.rb
|
172
|
+
- proto_docs/google/protobuf/field_mask.rb
|
173
|
+
- proto_docs/google/protobuf/timestamp.rb
|
174
|
+
- proto_docs/google/protobuf/wrappers.rb
|
175
|
+
- proto_docs/google/rpc/status.rb
|
176
|
+
- proto_docs/google/type/color.rb
|
177
|
+
- proto_docs/google/type/latlng.rb
|
178
|
+
homepage: https://github.com/googleapis/google-cloud-ruby
|
179
|
+
licenses:
|
180
|
+
- Apache-2.0
|
181
|
+
metadata: {}
|
182
|
+
post_install_message:
|
183
|
+
rdoc_options: []
|
184
|
+
require_paths:
|
185
|
+
- lib
|
186
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
187
|
+
requirements:
|
188
|
+
- - ">="
|
189
|
+
- !ruby/object:Gem::Version
|
190
|
+
version: '2.4'
|
191
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
192
|
+
requirements:
|
193
|
+
- - ">="
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
version: '0'
|
196
|
+
requirements: []
|
197
|
+
rubygems_version: 3.0.6
|
198
|
+
signing_key:
|
199
|
+
specification_version: 4
|
200
|
+
summary: API Client library for the Cloud Vision V1 API
|
201
|
+
test_files: []
|