Class ProjectsResource.DataSourcesResource
The "dataSources" collection of methods.
Inherited Members
Namespace: Google.Apis.BigQueryDataTransfer.v1
Assembly: Google.Apis.BigQueryDataTransfer.v1.dll
Syntax
public class ProjectsResource.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.
Declaration
public virtual ProjectsResource.DataSourcesResource.CheckValidCredsRequest CheckValidCreds(CheckValidCredsRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
CheckValidCredsRequest | body | The body of the request. |
string | name | Required. The data source in the form: |
Returns
Type | Description |
---|---|
ProjectsResource.DataSourcesResource.CheckValidCredsRequest |
Get(string)
Retrieves a supported data source and returns its settings.
Declaration
public virtual ProjectsResource.DataSourcesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The field will contain name of the resource requested, for example:
|
Returns
Type | Description |
---|---|
ProjectsResource.DataSourcesResource.GetRequest |
List(string)
Lists supported data sources and returns their settings.
Declaration
public virtual ProjectsResource.DataSourcesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The BigQuery project id for which data sources should be returned. Must be in the form:
|
Returns
Type | Description |
---|---|
ProjectsResource.DataSourcesResource.ListRequest |