class ProjectsLocations extends Resource (View source)

The "locations" collection of methods.

Typical usage is:

 $bigquerydatatransferService = new Google\Service\BigQueryDataTransfer(...);
 $locations = $bigquerydatatransferService->projects_locations;

Methods

enrollDataSources(string $name, EnrollDataSourcesRequest $postBody, array $optParams = [])

Enroll data sources in a user project. This allows users to create transfer configurations for these data sources. They will also appear in the ListDataSources RPC and as such, will appear in the BigQuery UI, and the documents can be found in the public guide for BigQuery Web UI and Data Transfer Service.

get(string $name, array $optParams = [])

Gets information about a location. (locations.get)

listProjectsLocations(string $name, array $optParams = [])

Lists information about the supported locations for this service.

unenrollDataSources(string $name, UnenrollDataSourcesRequest $postBody, array $optParams = [])

Unenroll data sources in a user project. This allows users to remove transfer configurations for these data sources. They will no longer appear in the ListDataSources RPC and will also no longer appear in the BigQuery UI. Data transfers configurations of unenrolled data sources will not be scheduled.

Details

BigquerydatatransferEmpty enrollDataSources(string $name, EnrollDataSourcesRequest $postBody, array $optParams = [])

Enroll data sources in a user project. This allows users to create transfer configurations for these data sources. They will also appear in the ListDataSources RPC and as such, will appear in the BigQuery UI, and the documents can be found in the public guide for BigQuery Web UI and Data Transfer Service.

(locations.enrollDataSources)

Parameters

string $name

Required. The name of the project resource in the form: projects/{project_id}

EnrollDataSourcesRequest $postBody
array $optParams

Optional parameters.

Return Value

BigquerydatatransferEmpty

Exceptions

Exception

Location get(string $name, array $optParams = [])

Gets information about a location. (locations.get)

Parameters

string $name

Resource name for the location.

array $optParams

Optional parameters.

Return Value

Location

Exceptions

Exception

ListLocationsResponse listProjectsLocations(string $name, array $optParams = [])

Lists information about the supported locations for this service.

(locations.listProjectsLocations)

Parameters

string $name

The resource that owns the locations collection, if applicable.

array $optParams

Optional parameters.

Return Value

ListLocationsResponse

Exceptions

Exception

BigquerydatatransferEmpty unenrollDataSources(string $name, UnenrollDataSourcesRequest $postBody, array $optParams = [])

Unenroll data sources in a user project. This allows users to remove transfer configurations for these data sources. They will no longer appear in the ListDataSources RPC and will also no longer appear in the BigQuery UI. Data transfers configurations of unenrolled data sources will not be scheduled.

(locations.unenrollDataSources)

Parameters

string $name

Required. The name of the project resource in the form: projects/{project_id}

UnenrollDataSourcesRequest $postBody
array $optParams

Optional parameters.

Return Value

BigquerydatatransferEmpty

Exceptions

Exception