lib/google/cloud/optimization/v1/fleet_routing/client.rb in google-cloud-optimization-v1-0.2.1 vs lib/google/cloud/optimization/v1/fleet_routing/client.rb in google-cloud-optimization-v1-0.3.0
- old
+ new
@@ -521,17 +521,17 @@
# request = Google::Cloud::Optimization::V1::BatchOptimizeToursRequest.new
#
# # Call the batch_optimize_tours method.
# result = client.batch_optimize_tours 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 batch_optimize_tours request, options = nil
raise ::ArgumentError, "request must be provided" if request.nil?