This component supports both REST over HTTP/1.1 and gRPC. In order to take advantage of the benefits offered by gRPC (such as streaming methods)
please see ourgRPC installation guide.
Authentication
Please see ourAuthentication guidefor more information
on authenticating your client. Once authenticated, you'll be ready to start making requests.
Please see ourDebugging guidefor more information about the debugging tools.
Version
This component is considered GA (generally available). As such, it will not introduce backwards-incompatible changes in
any minor or patch releases. We will address issues and requests with the highest priority.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["Version latestkeyboard_arrow_down\n\n- [2.1.5 (latest)](/php/docs/reference/cloud-bigquerydatatransfer/latest)\n- [2.1.4](/php/docs/reference/cloud-bigquerydatatransfer/2.1.4)\n- [2.0.0](/php/docs/reference/cloud-bigquerydatatransfer/2.0.0)\n- [1.8.6](/php/docs/reference/cloud-bigquerydatatransfer/1.8.6)\n- [1.7.0](/php/docs/reference/cloud-bigquerydatatransfer/1.7.0)\n- [1.6.2](/php/docs/reference/cloud-bigquerydatatransfer/1.6.2)\n- [1.5.2](/php/docs/reference/cloud-bigquerydatatransfer/1.5.2)\n- [1.4.5](/php/docs/reference/cloud-bigquerydatatransfer/1.4.5)\n- [1.3.8](/php/docs/reference/cloud-bigquerydatatransfer/1.3.8) \n\nGoogle Cloud BigQuery Data Transfer for PHP\n===========================================\n\n\u003e Idiomatic PHP client for [Google Cloud BigQuery Data Transfer](https://cloud.google.com/bigquery/transfer/).\n\n[](https://packagist.org/packages/google/cloud-bigquerydatatransfer) [](https://packagist.org/packages/google/cloud-bigquerydatatransfer)\n\n- [API Documentation](https://cloud.google.com/php/docs/reference/cloud-bigquerydatatransfer/latest)\n\n**NOTE:** This repository is part of [Google Cloud PHP](https://github.com/googleapis/google-cloud-php). Any\nsupport requests, bug reports, or development contributions should be directed to\nthat project.\n\nTransfers data from partner SaaS applications to Google BigQuery on a scheduled, managed basis.\n\n### Installation\n\nTo begin, install the preferred dependency manager for PHP, [Composer](https://getcomposer.org/).\n\nNow install this component: \n\n $ composer require google/cloud-bigquerydatatransfer\n\nThis component supports both REST over HTTP/1.1 and gRPC. In order to take advantage of the benefits offered by gRPC (such as streaming methods)\nplease see our [gRPC installation guide](https://cloud.google.com/php/grpc).\n\n### Authentication\n\nPlease see our [Authentication guide](https://github.com/googleapis/google-cloud-php/blob/main/AUTHENTICATION.md) for more information\non authenticating your client. Once authenticated, you'll be ready to start making requests.\n\n### Sample\n\n require 'vendor/autoload.php';\n\n use Google\\Cloud\\BigQuery\\DataTransfer\\V1\\DataTransferServiceClient;\n\n $dataTransferServiceClient = new DataTransferServiceClient();\n $projectId = '[MY_PROJECT_ID]';\n $location = 'us-central1';\n $formattedLocation = $dataTransferServiceClient-\u003elocationName($projectId, $location);\n $dataSources = $dataTransferServiceClient-\u003elistDataSources($formattedLocation);\n\n### Debugging\n\nPlease see our [Debugging guide](https://github.com/googleapis/google-cloud-php/blob/main/DEBUG.md)\nfor more information about the debugging tools.\n\n### Version\n\nThis component is considered GA (generally available). As such, it will not introduce backwards-incompatible changes in\nany minor or patch releases. We will address issues and requests with the highest priority.\n\n### Next Steps\n\n1. Understand the [official documentation](https://cloud.google.com/bigquery/docs/transfer-service-overview).\n2. Take a look at [in-depth usage samples](https://github.com/GoogleCloudPlatform/php-docs-samples/tree/master/bigquerydatatransfer)."]]