Class ProjectsResource.LocationsResource.DataSourcesResource
The "dataSources" collection of methods.
Inherited Members
Namespace: Google.Apis.BigQueryDataTransfer.v1
Assembly: Google.Apis.BigQueryDataTransfer.v1.dll
Syntax
public class ProjectsResource.LocationsResource.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.LocationsResource.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.LocationsResource.DataSourcesResource.CheckValidCredsRequest |
Get(string)
Retrieves a supported data source and returns its settings.
Declaration
public virtual ProjectsResource.LocationsResource.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.LocationsResource.DataSourcesResource.GetRequest |
List(string)
Lists supported data sources and returns their settings.
Declaration
public virtual ProjectsResource.LocationsResource.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.LocationsResource.DataSourcesResource.ListRequest |