Table of Contents

Class GoogleBigQueryDataProvider

Namespace
combit.Reporting.DataProviders
Assembly
combit.ListLabel31.CrossPlatform.dll

Provides a data provider implementation for Google BigQuery.

public sealed class GoogleBigQueryDataProvider : IDataProvider
Inheritance
GoogleBigQueryDataProvider
Implements
Inherited Members

Remarks

This provider executes BigQuery SQL queries and exposes the results as tables.

Constructors

GoogleBigQueryDataProvider(string, string, string, string)

Initializes a new instance of the GoogleBigQueryDataProvider class.

public GoogleBigQueryDataProvider(string projectId, string refreshToken, string clientId, string clientSecret)

Parameters

projectId string

The Google Cloud project identifier.

refreshToken string

The refresh token for authentication.

clientId string

The client identifier.

clientSecret string

The client secret.

Properties

ClientId

Gets the client identifier.

public string ClientId { get; }

Property Value

string

ProjectId

Gets the Google Cloud project identifier.

public string ProjectId { get; }

Property Value

string

RefreshToken

Gets the refresh token used for authentication.

public string RefreshToken { get; }

Property Value

string

RowsPerDataRequest

Gets or sets the maximum number of rows per data request.

public int RowsPerDataRequest { get; set; }

Property Value

int

Methods

AddQuery(string, string)

Adds a new query to the provider.

public void AddQuery(string tableName, string query)

Parameters

tableName string

The name of the table to be created from the query results.

query string

The SQL query to execute in BigQuery.

Exceptions

ListLabelException

Thrown if the table name or query is empty.