lib/google/cloud/tpu/v1/tpu/client.rb in google-cloud-tpu-v1-0.1.3 vs lib/google/cloud/tpu/v1/tpu/client.rb in google-cloud-tpu-v1-0.1.4
- old
+ new
@@ -137,9 +137,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
@tpu_stub = ::Gapic::ServiceStub.new(
::Google::Cloud::Tpu::V1::Tpu::Stub,