google-cloud-vision-v1 0.6.2 → 0.7.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.
@@ -11,11 +11,11 @@ require 'google/cloud/vision/v1/product_search_pb'
11
11
  require 'google/cloud/vision/v1/text_annotation_pb'
12
12
  require 'google/cloud/vision/v1/web_detection_pb'
13
13
  require 'google/longrunning/operations_pb'
14
- require 'google/protobuf/field_mask_pb'
15
14
  require 'google/protobuf/timestamp_pb'
16
15
  require 'google/rpc/status_pb'
17
16
  require 'google/type/color_pb'
18
17
  require 'google/type/latlng_pb'
18
+
19
19
  Google::Protobuf::DescriptorPool.generated_pool.build do
20
20
  add_file("google/cloud/vision/v1/image_annotator.proto", :syntax => :proto3) do
21
21
  add_message "google.cloud.vision.v1.Feature" do
@@ -138,12 +138,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
138
138
  optional :medical, :enum, 3, "google.cloud.vision.v1.Likelihood"
139
139
  optional :violence, :enum, 4, "google.cloud.vision.v1.Likelihood"
140
140
  optional :racy, :enum, 9, "google.cloud.vision.v1.Likelihood"
141
- optional :adult_confidence, :float, 16
142
- optional :spoof_confidence, :float, 18
143
- optional :medical_confidence, :float, 20
144
- optional :violence_confidence, :float, 22
145
- optional :racy_confidence, :float, 24
146
- optional :nsfw_confidence, :float, 26
147
141
  end
148
142
  add_message "google.cloud.vision.v1.LatLongRect" do
149
143
  optional :min_lat_lng, :message, 1, "google.type.LatLng"
@@ -29,7 +29,7 @@ module Google
29
29
  # ImageAnnotator service returns detected entities from the images.
30
30
  class Service
31
31
 
32
- include GRPC::GenericService
32
+ include ::GRPC::GenericService
33
33
 
34
34
  self.marshal_class_method = :encode
35
35
  self.unmarshal_class_method = :decode