Show / Hide Table of Contents

Class DataSource

Represents data source metadata. Metadata is sufficient to render UI and request proper OAuth tokens.

Inheritance
System.Object
DataSource
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.BigQueryDataTransfer.v1.Data
Assembly: Google.Apis.BigQueryDataTransfer.v1.dll
Syntax
public class DataSource : IDirectResponseSchema

Properties

AuthorizationType

Indicates the type of authorization.

Declaration
[JsonProperty("authorizationType")]
public virtual string AuthorizationType { get; set; }
Property Value
Type Description
System.String

ClientId

Data source client id which should be used to receive refresh token.

Declaration
[JsonProperty("clientId")]
public virtual string ClientId { get; set; }
Property Value
Type Description
System.String

DataRefreshType

Specifies whether the data source supports automatic data refresh for the past few days, and how it's supported. For some data sources, data might not be complete until a few days later, so it's useful to refresh data automatically.

Declaration
[JsonProperty("dataRefreshType")]
public virtual string DataRefreshType { get; set; }
Property Value
Type Description
System.String

DataSourceId

Data source id.

Declaration
[JsonProperty("dataSourceId")]
public virtual string DataSourceId { get; set; }
Property Value
Type Description
System.String

DefaultDataRefreshWindowDays

Default data refresh window on days. Only meaningful when data_refresh_type = SLIDING_WINDOW.

Declaration
[JsonProperty("defaultDataRefreshWindowDays")]
public virtual int? DefaultDataRefreshWindowDays { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

DefaultSchedule

Default data transfer schedule. Examples of valid schedules include: 1st,3rd monday of month 15:30, every wed,fri of jan,jun 13:15, and first sunday of quarter 00:00.

Declaration
[JsonProperty("defaultSchedule")]
public virtual string DefaultSchedule { get; set; }
Property Value
Type Description
System.String

Description

User friendly data source description string.

Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type Description
System.String

DisplayName

User friendly data source name.

Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type Description
System.String

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

HelpUrl

Url for the help document for this data source.

Declaration
[JsonProperty("helpUrl")]
public virtual string HelpUrl { get; set; }
Property Value
Type Description
System.String

ManualRunsDisabled

Disables backfilling and manual run scheduling for the data source.

Declaration
[JsonProperty("manualRunsDisabled")]
public virtual bool? ManualRunsDisabled { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

MinimumScheduleInterval

The minimum interval for scheduler to schedule runs.

Declaration
[JsonProperty("minimumScheduleInterval")]
public virtual object MinimumScheduleInterval { get; set; }
Property Value
Type Description
System.Object

Name

Output only. Data source resource name.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
System.String

Parameters

Data source parameters.

Declaration
[JsonProperty("parameters")]
public virtual IList<DataSourceParameter> Parameters { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<DataSourceParameter>

Scopes

Api auth scopes for which refresh token needs to be obtained. These are scopes needed by a data source to prepare data and ingest them into BigQuery, e.g., https://www.googleapis.com/auth/bigquery

Declaration
[JsonProperty("scopes")]
public virtual IList<string> Scopes { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

SupportsCustomSchedule

Specifies whether the data source supports a user defined schedule, or operates on the default schedule. When set to true, user can override default schedule.

Declaration
[JsonProperty("supportsCustomSchedule")]
public virtual bool? SupportsCustomSchedule { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

SupportsMultipleTransfers

Deprecated. This field has no effect.

Declaration
[JsonProperty("supportsMultipleTransfers")]
public virtual bool? SupportsMultipleTransfers { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

TransferType

Deprecated. This field has no effect.

Declaration
[JsonProperty("transferType")]
public virtual string TransferType { get; set; }
Property Value
Type Description
System.String

UpdateDeadlineSeconds

The number of seconds to wait for an update from the data source before the Data Transfer Service marks the transfer as FAILED.

Declaration
[JsonProperty("updateDeadlineSeconds")]
public virtual int? UpdateDeadlineSeconds { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

Implements

IDirectResponseSchema
In This Article
Back to top