README.md in google-cloud-bigquery-data_transfer-0.5.1 vs README.md in google-cloud-bigquery-data_transfer-0.6.0
- old
+ new
@@ -24,10 +24,10 @@
#### DataTransferServiceClient
```rb
require "google/cloud/bigquery/data_transfer"
data_transfer_client = Google::Cloud::Bigquery::DataTransfer.new
-formatted_parent = Google::Cloud::Bigquery::DataTransfer::V1::DataTransferServiceClient.location_path(project_id, "us-central1")
+formatted_parent = Google::Cloud::Bigquery::DataTransfer::V1::DataTransferServiceClient.project_path(project_id)
# Iterate over all results.
data_transfer_client.list_data_sources(formatted_parent).each do |element|
# Process element.
end