public DataSource.Types.DataRefreshType DataRefreshType { get; set; }
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.
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.
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
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThe latest version of the Google BigQuery Data Transfer v1 API class DataSource is 4.10.0, with several previous versions available, ranging down to version 3.1.0.\u003c/p\u003e\n"],["\u003cp\u003eThe DataSource class defines properties and custom parameters for a data source, inheriting from object and implementing multiple interfaces like IMessage, IEquatable, and IDeepCloneable.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers functionalities to configure data refresh, scheduling, authorization, and provides descriptive fields like display name, description, and help URL.\u003c/p\u003e\n"],["\u003cp\u003eThe DataSource class has customizable settings, including support for custom schedules, manual run disabling, and setting the default refresh window.\u003c/p\u003e\n"],["\u003cp\u003eThe DataSource class has parameters such as \u003ccode\u003eAuthorizationType\u003c/code\u003e, \u003ccode\u003eDataRefreshType\u003c/code\u003e, \u003ccode\u003eClientId\u003c/code\u003e, and \u003ccode\u003eDataSourceId\u003c/code\u003e that can be configured, along with other properties such as \u003ccode\u003eDefaultSchedule\u003c/code\u003e, \u003ccode\u003eScopes\u003c/code\u003e, and \u003ccode\u003eUpdateDeadlineSeconds\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Google BigQuery Data Transfer v1 API - Class DataSource (4.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [4.10.0 (latest)](/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/latest/Google.Cloud.BigQuery.DataTransfer.V1.DataSource)\n- [4.9.0](/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/4.9.0/Google.Cloud.BigQuery.DataTransfer.V1.DataSource)\n- [4.8.0](/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/4.8.0/Google.Cloud.BigQuery.DataTransfer.V1.DataSource)\n- [4.7.0](/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/4.7.0/Google.Cloud.BigQuery.DataTransfer.V1.DataSource)\n- [4.6.0](/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/4.6.0/Google.Cloud.BigQuery.DataTransfer.V1.DataSource)\n- [4.5.0](/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/4.5.0/Google.Cloud.BigQuery.DataTransfer.V1.DataSource)\n- [4.4.0](/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/4.4.0/Google.Cloud.BigQuery.DataTransfer.V1.DataSource)\n- [4.3.0](/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/4.3.0/Google.Cloud.BigQuery.DataTransfer.V1.DataSource)\n- [4.2.0](/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/4.2.0/Google.Cloud.BigQuery.DataTransfer.V1.DataSource)\n- [4.1.0](/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/4.1.0/Google.Cloud.BigQuery.DataTransfer.V1.DataSource)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/4.0.0/Google.Cloud.BigQuery.DataTransfer.V1.DataSource)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/3.4.0/Google.Cloud.BigQuery.DataTransfer.V1.DataSource)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/3.3.0/Google.Cloud.BigQuery.DataTransfer.V1.DataSource)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/3.2.0/Google.Cloud.BigQuery.DataTransfer.V1.DataSource)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/3.1.0/Google.Cloud.BigQuery.DataTransfer.V1.DataSource) \n\n public sealed class DataSource : IMessage\u003cDataSource\u003e, IEquatable\u003cDataSource\u003e, IDeepCloneable\u003cDataSource\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google BigQuery Data Transfer v1 API class DataSource.\n\nDefines the properties and custom parameters for a data source. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DataSource \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DataSource](/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/latest/Google.Cloud.BigQuery.DataTransfer.V1.DataSource), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DataSource](/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/latest/Google.Cloud.BigQuery.DataTransfer.V1.DataSource), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DataSource](/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/latest/Google.Cloud.BigQuery.DataTransfer.V1.DataSource), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.BigQuery.DataTransfer.V1](/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/latest/Google.Cloud.BigQuery.DataTransfer.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.BigQuery.DataTransfer.V1.dll\n\nConstructors\n------------\n\n### DataSource()\n\n public DataSource()\n\n### DataSource(DataSource)\n\n public DataSource(DataSource other)\n\nProperties\n----------\n\n### AuthorizationType\n\n public DataSource.Types.AuthorizationType AuthorizationType { get; set; }\n\nIndicates the type of authorization.\n\n### ClientId\n\n public string ClientId { get; set; }\n\nData source client id which should be used to receive refresh token.\n\n### DataRefreshType\n\n public DataSource.Types.DataRefreshType DataRefreshType { get; set; }\n\nSpecifies whether the data source supports automatic data refresh for the\npast few days, and how it's supported.\nFor some data sources, data might not be complete until a few days later,\nso it's useful to refresh data automatically.\n\n### DataSourceId\n\n public string DataSourceId { get; set; }\n\nData source id.\n\n### DataSourceName\n\n public DataSourceName DataSourceName { get; set; }\n\n[DataSourceName](/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/latest/Google.Cloud.BigQuery.DataTransfer.V1.DataSourceName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.BigQuery.DataTransfer.V1/latest/Google.Cloud.BigQuery.DataTransfer.V1.DataSource#Google_Cloud_BigQuery_DataTransfer_V1_DataSource_Name) resource name property.\n\n### DefaultDataRefreshWindowDays\n\n public int DefaultDataRefreshWindowDays { get; set; }\n\nDefault data refresh window on days.\nOnly meaningful when `data_refresh_type` = `SLIDING_WINDOW`.\n\n### DefaultSchedule\n\n public string DefaultSchedule { get; set; }\n\nDefault data transfer schedule.\nExamples of valid schedules include:\n`1st,3rd monday of month 15:30`,\n`every wed,fri of jan,jun 13:15`, and\n`first sunday of quarter 00:00`.\n\n### Description\n\n public string Description { get; set; }\n\nUser friendly data source description string.\n\n### DisplayName\n\n public string DisplayName { get; set; }\n\nUser friendly data source name.\n\n### HelpUrl\n\n public string HelpUrl { get; set; }\n\nUrl for the help document for this data source.\n\n### ManualRunsDisabled\n\n public bool ManualRunsDisabled { get; set; }\n\nDisables backfilling and manual run scheduling\nfor the data source.\n\n### MinimumScheduleInterval\n\n public Duration MinimumScheduleInterval { get; set; }\n\nThe minimum interval for scheduler to schedule runs.\n\n### Name\n\n public string Name { get; set; }\n\nOutput only. Data source resource name.\n\n### Parameters\n\n public RepeatedField\u003cDataSourceParameter\u003e Parameters { get; }\n\nData source parameters.\n\n### Scopes\n\n public RepeatedField\u003cstring\u003e Scopes { get; }\n\nApi auth scopes for which refresh token needs to be obtained. These are\nscopes needed by a data source to prepare data and ingest them into\nBigQuery, e.g., \u003chttps://www.googleapis.com/auth/bigquery\u003e\n\n### SupportsCustomSchedule\n\n public bool SupportsCustomSchedule { get; set; }\n\nSpecifies whether the data source supports a user defined schedule, or\noperates on the default schedule.\nWhen set to `true`, user can override default schedule.\n\n### SupportsMultipleTransfers\n\n [Obsolete]\n public bool SupportsMultipleTransfers { get; set; }\n\nDeprecated. This field has no effect.\n\n### TransferType\n\n [Obsolete]\n public TransferType TransferType { get; set; }\n\nDeprecated. This field has no effect.\n\n### UpdateDeadlineSeconds\n\n public int UpdateDeadlineSeconds { get; set; }\n\nThe number of seconds to wait for an update from the data source\nbefore the Data Transfer Service marks the transfer as FAILED."]]