lib/google/cloud/vision/v1p4beta1/image_annotator/client.rb in google-cloud-vision-v1p4beta1-0.1.1 vs lib/google/cloud/vision/v1p4beta1/image_annotator/client.rb in google-cloud-vision-v1p4beta1-0.1.2
- old
+ new
@@ -155,9 +155,10 @@
@quota_project_id = @config.quota_project
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
@operations_client = Operations.new do |config|
config.credentials = credentials
+ config.quota_project = @quota_project_id
config.endpoint = @config.endpoint
end
@image_annotator_stub = ::Gapic::ServiceStub.new(
::Google::Cloud::Vision::V1p4beta1::ImageAnnotator::Stub,