Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.DataSourcesResource

The "dataSources" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.DataSourcesResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 name of the data source. If you are using the regionless method, the location must be US and the name should be in the following form: * projects/{project_id}/dataSources/{data_source_id} If you are using the regionalized method, the name should be in the following form: * projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}

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 name of the resource requested. If you are using the regionless method, the location must be US and the name should be in the following form: * projects/{project_id}/dataSources/{data_source_id} If you are using the regionalized method, the name should be in the following form: * projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}

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: projects/{project_id} or projects/{project_id}/locations/{location_id}

Returns
Type Description
ProjectsResource.LocationsResource.DataSourcesResource.ListRequest
In this article
Back to top Generated by DocFX