lib/google/cloud/vision/v1/image_annotator_client.rb in google-cloud-vision-0.22.1 vs lib/google/cloud/vision/v1/image_annotator_client.rb in google-cloud-vision-0.23.0
- old
+ new
@@ -30,13 +30,13 @@
module Google
module Cloud
module Vision
module V1
- # Service that performs Google Cloud Vision API detection tasks, such as face,
- # landmark, logo, label, and text detection, over client images, and returns
- # detected entities from the images.
+ # Service that performs Google Cloud Vision API detection tasks over client
+ # images, such as face, landmark, logo, label, and text detection. The
+ # ImageAnnotator service returns detected entities from the images.
#
# @!attribute [r] image_annotator_stub
# @return [Google::Cloud::Vision::V1::ImageAnnotator::Stub]
class ImageAnnotatorClient
attr_reader :image_annotator_stub
@@ -93,10 +93,10 @@
warn "`app_name` and `app_version` are no longer being used in the request headers."
end
google_api_client = "gl-ruby/#{RUBY_VERSION}"
google_api_client << " #{lib_name}/#{lib_version}" if lib_name
- google_api_client << " gapic/ gax/#{Google::Gax::VERSION}"
+ google_api_client << " gapic/0.6.8 gax/#{Google::Gax::VERSION}"
google_api_client << " grpc/#{GRPC::VERSION}"
google_api_client.freeze
headers = { :"x-goog-api-client" => google_api_client }
client_config_file = Pathname.new(__dir__).join(