BigQuery Data Transfer API . projects

Instance Methods

dataSources()

Returns the dataSources Resource.

locations()

Returns the locations Resource.

transferConfigs()

Returns the transferConfigs Resource.

close()

Close httplib2 connections.

enrollDataSources(name, body=None, x__xgafv=None)

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](https://console.cloud.google.com/bigquery), and the documents can be found in the public guide for [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and [Data Transfer Service](https://cloud.google.com/bigquery/docs/working-with-transfers).

Method Details

close()
Close httplib2 connections.
enrollDataSources(name, body=None, x__xgafv=None)
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](https://console.cloud.google.com/bigquery), and the documents can be found in the public guide for [BigQuery Web UI](https://cloud.google.com/bigquery/bigquery-web-ui) and [Data Transfer Service](https://cloud.google.com/bigquery/docs/working-with-transfers).

Args:
  name: string, Required. The name of the project resource in the form: `projects/{project_id}` (required)
  body: object, The request body.
    The object takes the form of:

{ # A request to enroll a set of data sources so they are visible in the BigQuery UI's `Transfer` tab.
  "dataSourceIds": [ # Data sources that are enrolled. It is required to provide at least one data source id.
    "A String",
  ],
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
}