Class ProjectsResource.LocationsResource.DataSourcesResource
The "dataSources" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.BigQueryDataTransfer.v1
Assembly: Google.Apis.BigQueryDataTransfer.v1.dll
Syntax
public class DataSourcesResource
Constructors
DataSourcesResource(IClientService)
Constructs a new resource.
Declaration
public DataSourcesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
CheckValidCreds(CheckValidCredsRequest, String)
Returns true if valid credentials exist for the given data source and requesting user. Some data sources doesn't support service account, so we need to talk to them on behalf of the end user. This API just checks whether we have OAuth token for the particular user, which is a pre-requisite before user can create a transfer config.
Declaration
public virtual ProjectsResource.LocationsResource.DataSourcesResource.CheckValidCredsRequest CheckValidCreds(CheckValidCredsRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
CheckValidCredsRequest | body | The body of the request. |
System.String | name | Required. The data source in the form: |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DataSourcesResource.CheckValidCredsRequest |
Get(String)
Retrieves a supported data source and returns its settings, which can be used for UI rendering.
Declaration
public virtual ProjectsResource.LocationsResource.DataSourcesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Required. The field will contain name of the resource requested, for example:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DataSourcesResource.GetRequest |
List(String)
Lists supported data sources and returns their settings, which can be used for UI rendering.
Declaration
public virtual ProjectsResource.LocationsResource.DataSourcesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
System.String | parent | Required. The BigQuery project id for which data sources should be returned. Must be in the form:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DataSourcesResource.ListRequest |