lib/google/cloud/vision/v1p4beta1/image_annotator/client.rb in google-cloud-vision-v1p4beta1-0.3.0 vs lib/google/cloud/vision/v1p4beta1/image_annotator/client.rb in google-cloud-vision-v1p4beta1-0.4.0
- old
+ new
@@ -389,18 +389,18 @@
# request = Google::Cloud::Vision::V1p4beta1::AsyncBatchAnnotateImagesRequest.new
#
# # Call the async_batch_annotate_images method.
# result = client.async_batch_annotate_images request
#
- # # The returned object is of type Gapic::Operation. You can use this
- # # object to check the status of an operation, cancel it, or wait
- # # for results. Here is how to block until completion:
+ # # The returned object is of type Gapic::Operation. You can use it to
+ # # check the status of an operation, cancel it, or wait for results.
+ # # Here is how to wait for a response.
# result.wait_until_done! timeout: 60
# if result.response?
# p result.response
# else
- # puts "Error!"
+ # puts "No response received."
# end
#
def async_batch_annotate_images request, options = nil
raise ::ArgumentError, "request must be provided" if request.nil?
@@ -479,17 +479,17 @@
# request = Google::Cloud::Vision::V1p4beta1::AsyncBatchAnnotateFilesRequest.new
#
# # Call the async_batch_annotate_files method.
# result = client.async_batch_annotate_files request
#
- # # The returned object is of type Gapic::Operation. You can use this
- # # object to check the status of an operation, cancel it, or wait
- # # for results. Here is how to block until completion:
+ # # The returned object is of type Gapic::Operation. You can use it to
+ # # check the status of an operation, cancel it, or wait for results.
+ # # Here is how to wait for a response.
# result.wait_until_done! timeout: 60
# if result.response?
# p result.response
# else
- # puts "Error!"
+ # puts "No response received."
# end
#
def async_batch_annotate_files request, options = nil
raise ::ArgumentError, "request must be provided" if request.nil?