Class ProjectsResource.LocationsResource
The "locations" collection of methods.
Inherited Members
Namespace: Google.Apis.BigQueryDataTransfer.v1
Assembly: Google.Apis.BigQueryDataTransfer.v1.dll
Syntax
public class ProjectsResource.LocationsResource
Constructors
LocationsResource(IClientService)
Constructs a new resource.
Declaration
public LocationsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Properties
DataSources
Gets the DataSources resource.
Declaration
public virtual ProjectsResource.LocationsResource.DataSourcesResource DataSources { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.DataSourcesResource |
TransferConfigs
Gets the TransferConfigs resource.
Declaration
public virtual ProjectsResource.LocationsResource.TransferConfigsResource TransferConfigs { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.TransferConfigsResource |
Methods
EnrollDataSources(EnrollDataSourcesRequest, string)
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.
Declaration
public virtual ProjectsResource.LocationsResource.EnrollDataSourcesRequest EnrollDataSources(EnrollDataSourcesRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| EnrollDataSourcesRequest | body | The body of the request. |
| string | name | Required. The name of the project resource in the form: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.EnrollDataSourcesRequest |
Get(string)
Gets information about a location.
Declaration
public virtual ProjectsResource.LocationsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Resource name for the location. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.GetRequest |
List(string)
Lists information about the supported locations for this service.
Declaration
public virtual ProjectsResource.LocationsResource.ListRequest List(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The resource that owns the locations collection, if applicable. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ListRequest |
UnenrollDataSources(UnenrollDataSourcesRequest, string)
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.
Declaration
public virtual ProjectsResource.LocationsResource.UnenrollDataSourcesRequest UnenrollDataSources(UnenrollDataSourcesRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| UnenrollDataSourcesRequest | body | The body of the request. |
| string | name | Required. The name of the project resource in the form: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.UnenrollDataSourcesRequest |