lib/google/cloud/vision/v1/image_annotator_client.rb in google-cloud-vision-0.31.0 vs lib/google/cloud/vision/v1/image_annotator_client.rb in google-cloud-vision-0.32.0

- old
+ new

@@ -206,13 +206,13 @@ # @yieldparam result [Google::Cloud::Vision::V1::BatchAnnotateImagesResponse] # @yieldparam operation [GRPC::ActiveCall::Operation] # @return [Google::Cloud::Vision::V1::BatchAnnotateImagesResponse] # @raise [Google::Gax::GaxError] if the RPC is aborted. # @example - # require "google/cloud/vision/v1" + # require "google/cloud/vision" # - # image_annotator_client = Google::Cloud::Vision::V1.new + # image_annotator_client = Google::Cloud::Vision::ImageAnnotator.new(version: :v1) # # # TODO: Initialize `requests`: # requests = [] # response = image_annotator_client.batch_annotate_images(requests) @@ -242,12 +242,12 @@ # Overrides the default settings for this call, e.g, timeout, # retries, etc. # @return [Google::Gax::Operation] # @raise [Google::Gax::GaxError] if the RPC is aborted. # @example - # require "google/cloud/vision/v1" + # require "google/cloud/vision" # - # image_annotator_client = Google::Cloud::Vision::V1.new + # image_annotator_client = Google::Cloud::Vision::ImageAnnotator.new(version: :v1) # # # TODO: Initialize `requests`: # requests = [] # # # Register a callback during the method call.