Class: Google::Cloud::Bigquery::Datatransfer::V1::DataSource
- Inherits:
-
Object
- Object
- Google::Cloud::Bigquery::Datatransfer::V1::DataSource
- Defined in:
- lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb
Overview
Represents data source metadata. Metadata is sufficient to render UI and request proper OAuth tokens.
Defined Under Namespace
Modules: AuthorizationType, DataRefreshType
Instance Attribute Summary collapse
-
#authorization_type ⇒ Google::Cloud::Bigquery::Datatransfer::V1::DataSource::AuthorizationType
Indicates the type of authorization.
-
#client_id ⇒ String
Data source client id which should be used to receive refresh token.
-
#data_refresh_type ⇒ Google::Cloud::Bigquery::Datatransfer::V1::DataSource::DataRefreshType
Specifies whether the data source supports automatic data refresh for the past few days, and how it's supported.
-
#data_source_id ⇒ String
Data source id.
-
#default_data_refresh_window_days ⇒ Integer
Default data refresh window on days.
-
#default_schedule ⇒ String
Default data transfer schedule.
-
#description ⇒ String
User friendly data source description string.
-
#display_name ⇒ String
User friendly data source name.
-
#help_url ⇒ String
Url for the help document for this data source.
-
#manual_runs_disabled ⇒ true, false
Disables backfilling and manual run scheduling for the data source.
-
#minimum_schedule_interval ⇒ Google::Protobuf::Duration
The minimum interval for scheduler to schedule runs.
-
#name ⇒ String
Output only.
-
#parameters ⇒ Array<Google::Cloud::Bigquery::Datatransfer::V1::DataSourceParameter>
Data source parameters.
-
#scopes ⇒ Array<String>
Api auth scopes for which refresh token needs to be obtained.
-
#supports_custom_schedule ⇒ true, false
Specifies whether the data source supports a user defined schedule, or operates on the default schedule.
-
#supports_multiple_transfers ⇒ true, false
Indicates whether the data source supports multiple transfers to different BigQuery targets.
-
#transfer_type ⇒ Google::Cloud::Bigquery::Datatransfer::V1::TransferType
Deprecated.
-
#update_deadline_seconds ⇒ Integer
The number of seconds to wait for an update from the data source before BigQuery marks the transfer as failed.
Instance Attribute Details
#authorization_type ⇒ Google::Cloud::Bigquery::Datatransfer::V1::DataSource::AuthorizationType
Returns Indicates the type of authorization.
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 184 class DataSource # The type of authorization needed for this data source. module AuthorizationType # Type unspecified. AUTHORIZATION_TYPE_UNSPECIFIED = 0 # Use OAuth 2 authorization codes that can be exchanged # for a refresh token on the backend. AUTHORIZATION_CODE = 1 # Return an authorization code for a given Google+ page that can then be # exchanged for a refresh token on the backend. GOOGLE_PLUS_AUTHORIZATION_CODE = 2 end # Represents how the data source supports data auto refresh. module DataRefreshType # The data source won't support data auto refresh, which is default value. DATA_REFRESH_TYPE_UNSPECIFIED = 0 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Does not allow custom values to be set for each # transfer config. SLIDING_WINDOW = 1 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Allows custom values to be set for each transfer # config. CUSTOM_SLIDING_WINDOW = 2 end end |
#client_id ⇒ String
Returns Data source client id which should be used to receive refresh token. When not supplied, no offline credentials are populated for data transfer.
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 184 class DataSource # The type of authorization needed for this data source. module AuthorizationType # Type unspecified. AUTHORIZATION_TYPE_UNSPECIFIED = 0 # Use OAuth 2 authorization codes that can be exchanged # for a refresh token on the backend. AUTHORIZATION_CODE = 1 # Return an authorization code for a given Google+ page that can then be # exchanged for a refresh token on the backend. GOOGLE_PLUS_AUTHORIZATION_CODE = 2 end # Represents how the data source supports data auto refresh. module DataRefreshType # The data source won't support data auto refresh, which is default value. DATA_REFRESH_TYPE_UNSPECIFIED = 0 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Does not allow custom values to be set for each # transfer config. SLIDING_WINDOW = 1 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Allows custom values to be set for each transfer # config. CUSTOM_SLIDING_WINDOW = 2 end end |
#data_refresh_type ⇒ Google::Cloud::Bigquery::Datatransfer::V1::DataSource::DataRefreshType
Returns 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.
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 184 class DataSource # The type of authorization needed for this data source. module AuthorizationType # Type unspecified. AUTHORIZATION_TYPE_UNSPECIFIED = 0 # Use OAuth 2 authorization codes that can be exchanged # for a refresh token on the backend. AUTHORIZATION_CODE = 1 # Return an authorization code for a given Google+ page that can then be # exchanged for a refresh token on the backend. GOOGLE_PLUS_AUTHORIZATION_CODE = 2 end # Represents how the data source supports data auto refresh. module DataRefreshType # The data source won't support data auto refresh, which is default value. DATA_REFRESH_TYPE_UNSPECIFIED = 0 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Does not allow custom values to be set for each # transfer config. SLIDING_WINDOW = 1 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Allows custom values to be set for each transfer # config. CUSTOM_SLIDING_WINDOW = 2 end end |
#data_source_id ⇒ String
Returns Data source id.
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 184 class DataSource # The type of authorization needed for this data source. module AuthorizationType # Type unspecified. AUTHORIZATION_TYPE_UNSPECIFIED = 0 # Use OAuth 2 authorization codes that can be exchanged # for a refresh token on the backend. AUTHORIZATION_CODE = 1 # Return an authorization code for a given Google+ page that can then be # exchanged for a refresh token on the backend. GOOGLE_PLUS_AUTHORIZATION_CODE = 2 end # Represents how the data source supports data auto refresh. module DataRefreshType # The data source won't support data auto refresh, which is default value. DATA_REFRESH_TYPE_UNSPECIFIED = 0 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Does not allow custom values to be set for each # transfer config. SLIDING_WINDOW = 1 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Allows custom values to be set for each transfer # config. CUSTOM_SLIDING_WINDOW = 2 end end |
#default_data_refresh_window_days ⇒ Integer
Returns Default data refresh window on days. Only meaningful when +data_refresh_type+ = +SLIDING_WINDOW+.
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 184 class DataSource # The type of authorization needed for this data source. module AuthorizationType # Type unspecified. AUTHORIZATION_TYPE_UNSPECIFIED = 0 # Use OAuth 2 authorization codes that can be exchanged # for a refresh token on the backend. AUTHORIZATION_CODE = 1 # Return an authorization code for a given Google+ page that can then be # exchanged for a refresh token on the backend. GOOGLE_PLUS_AUTHORIZATION_CODE = 2 end # Represents how the data source supports data auto refresh. module DataRefreshType # The data source won't support data auto refresh, which is default value. DATA_REFRESH_TYPE_UNSPECIFIED = 0 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Does not allow custom values to be set for each # transfer config. SLIDING_WINDOW = 1 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Allows custom values to be set for each transfer # config. CUSTOM_SLIDING_WINDOW = 2 end end |
#default_schedule ⇒ String
Returns 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+.
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 184 class DataSource # The type of authorization needed for this data source. module AuthorizationType # Type unspecified. AUTHORIZATION_TYPE_UNSPECIFIED = 0 # Use OAuth 2 authorization codes that can be exchanged # for a refresh token on the backend. AUTHORIZATION_CODE = 1 # Return an authorization code for a given Google+ page that can then be # exchanged for a refresh token on the backend. GOOGLE_PLUS_AUTHORIZATION_CODE = 2 end # Represents how the data source supports data auto refresh. module DataRefreshType # The data source won't support data auto refresh, which is default value. DATA_REFRESH_TYPE_UNSPECIFIED = 0 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Does not allow custom values to be set for each # transfer config. SLIDING_WINDOW = 1 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Allows custom values to be set for each transfer # config. CUSTOM_SLIDING_WINDOW = 2 end end |
#description ⇒ String
Returns User friendly data source description string.
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 184 class DataSource # The type of authorization needed for this data source. module AuthorizationType # Type unspecified. AUTHORIZATION_TYPE_UNSPECIFIED = 0 # Use OAuth 2 authorization codes that can be exchanged # for a refresh token on the backend. AUTHORIZATION_CODE = 1 # Return an authorization code for a given Google+ page that can then be # exchanged for a refresh token on the backend. GOOGLE_PLUS_AUTHORIZATION_CODE = 2 end # Represents how the data source supports data auto refresh. module DataRefreshType # The data source won't support data auto refresh, which is default value. DATA_REFRESH_TYPE_UNSPECIFIED = 0 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Does not allow custom values to be set for each # transfer config. SLIDING_WINDOW = 1 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Allows custom values to be set for each transfer # config. CUSTOM_SLIDING_WINDOW = 2 end end |
#display_name ⇒ String
Returns User friendly data source name.
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 184 class DataSource # The type of authorization needed for this data source. module AuthorizationType # Type unspecified. AUTHORIZATION_TYPE_UNSPECIFIED = 0 # Use OAuth 2 authorization codes that can be exchanged # for a refresh token on the backend. AUTHORIZATION_CODE = 1 # Return an authorization code for a given Google+ page that can then be # exchanged for a refresh token on the backend. GOOGLE_PLUS_AUTHORIZATION_CODE = 2 end # Represents how the data source supports data auto refresh. module DataRefreshType # The data source won't support data auto refresh, which is default value. DATA_REFRESH_TYPE_UNSPECIFIED = 0 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Does not allow custom values to be set for each # transfer config. SLIDING_WINDOW = 1 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Allows custom values to be set for each transfer # config. CUSTOM_SLIDING_WINDOW = 2 end end |
#help_url ⇒ String
Returns Url for the help document for this data source.
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 184 class DataSource # The type of authorization needed for this data source. module AuthorizationType # Type unspecified. AUTHORIZATION_TYPE_UNSPECIFIED = 0 # Use OAuth 2 authorization codes that can be exchanged # for a refresh token on the backend. AUTHORIZATION_CODE = 1 # Return an authorization code for a given Google+ page that can then be # exchanged for a refresh token on the backend. GOOGLE_PLUS_AUTHORIZATION_CODE = 2 end # Represents how the data source supports data auto refresh. module DataRefreshType # The data source won't support data auto refresh, which is default value. DATA_REFRESH_TYPE_UNSPECIFIED = 0 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Does not allow custom values to be set for each # transfer config. SLIDING_WINDOW = 1 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Allows custom values to be set for each transfer # config. CUSTOM_SLIDING_WINDOW = 2 end end |
#manual_runs_disabled ⇒ true, false
Returns Disables backfilling and manual run scheduling for the data source.
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 184 class DataSource # The type of authorization needed for this data source. module AuthorizationType # Type unspecified. AUTHORIZATION_TYPE_UNSPECIFIED = 0 # Use OAuth 2 authorization codes that can be exchanged # for a refresh token on the backend. AUTHORIZATION_CODE = 1 # Return an authorization code for a given Google+ page that can then be # exchanged for a refresh token on the backend. GOOGLE_PLUS_AUTHORIZATION_CODE = 2 end # Represents how the data source supports data auto refresh. module DataRefreshType # The data source won't support data auto refresh, which is default value. DATA_REFRESH_TYPE_UNSPECIFIED = 0 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Does not allow custom values to be set for each # transfer config. SLIDING_WINDOW = 1 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Allows custom values to be set for each transfer # config. CUSTOM_SLIDING_WINDOW = 2 end end |
#minimum_schedule_interval ⇒ Google::Protobuf::Duration
Returns The minimum interval for scheduler to schedule runs.
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 184 class DataSource # The type of authorization needed for this data source. module AuthorizationType # Type unspecified. AUTHORIZATION_TYPE_UNSPECIFIED = 0 # Use OAuth 2 authorization codes that can be exchanged # for a refresh token on the backend. AUTHORIZATION_CODE = 1 # Return an authorization code for a given Google+ page that can then be # exchanged for a refresh token on the backend. GOOGLE_PLUS_AUTHORIZATION_CODE = 2 end # Represents how the data source supports data auto refresh. module DataRefreshType # The data source won't support data auto refresh, which is default value. DATA_REFRESH_TYPE_UNSPECIFIED = 0 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Does not allow custom values to be set for each # transfer config. SLIDING_WINDOW = 1 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Allows custom values to be set for each transfer # config. CUSTOM_SLIDING_WINDOW = 2 end end |
#name ⇒ String
Returns Output only. Data source resource name.
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 184 class DataSource # The type of authorization needed for this data source. module AuthorizationType # Type unspecified. AUTHORIZATION_TYPE_UNSPECIFIED = 0 # Use OAuth 2 authorization codes that can be exchanged # for a refresh token on the backend. AUTHORIZATION_CODE = 1 # Return an authorization code for a given Google+ page that can then be # exchanged for a refresh token on the backend. GOOGLE_PLUS_AUTHORIZATION_CODE = 2 end # Represents how the data source supports data auto refresh. module DataRefreshType # The data source won't support data auto refresh, which is default value. DATA_REFRESH_TYPE_UNSPECIFIED = 0 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Does not allow custom values to be set for each # transfer config. SLIDING_WINDOW = 1 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Allows custom values to be set for each transfer # config. CUSTOM_SLIDING_WINDOW = 2 end end |
#parameters ⇒ Array<Google::Cloud::Bigquery::Datatransfer::V1::DataSourceParameter>
Returns Data source parameters.
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 184 class DataSource # The type of authorization needed for this data source. module AuthorizationType # Type unspecified. AUTHORIZATION_TYPE_UNSPECIFIED = 0 # Use OAuth 2 authorization codes that can be exchanged # for a refresh token on the backend. AUTHORIZATION_CODE = 1 # Return an authorization code for a given Google+ page that can then be # exchanged for a refresh token on the backend. GOOGLE_PLUS_AUTHORIZATION_CODE = 2 end # Represents how the data source supports data auto refresh. module DataRefreshType # The data source won't support data auto refresh, which is default value. DATA_REFRESH_TYPE_UNSPECIFIED = 0 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Does not allow custom values to be set for each # transfer config. SLIDING_WINDOW = 1 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Allows custom values to be set for each transfer # config. CUSTOM_SLIDING_WINDOW = 2 end end |
#scopes ⇒ Array<String>
Returns Api auth scopes for which refresh token needs to be obtained. Only valid when +client_id+ is specified. Ignored otherwise. These are scopes needed by a data source to prepare data and ingest them into BigQuery, e.g., https://www.googleapis.com/auth/bigquery
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 184 class DataSource # The type of authorization needed for this data source. module AuthorizationType # Type unspecified. AUTHORIZATION_TYPE_UNSPECIFIED = 0 # Use OAuth 2 authorization codes that can be exchanged # for a refresh token on the backend. AUTHORIZATION_CODE = 1 # Return an authorization code for a given Google+ page that can then be # exchanged for a refresh token on the backend. GOOGLE_PLUS_AUTHORIZATION_CODE = 2 end # Represents how the data source supports data auto refresh. module DataRefreshType # The data source won't support data auto refresh, which is default value. DATA_REFRESH_TYPE_UNSPECIFIED = 0 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Does not allow custom values to be set for each # transfer config. SLIDING_WINDOW = 1 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Allows custom values to be set for each transfer # config. CUSTOM_SLIDING_WINDOW = 2 end end |
#supports_custom_schedule ⇒ true, false
Returns 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.
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 184 class DataSource # The type of authorization needed for this data source. module AuthorizationType # Type unspecified. AUTHORIZATION_TYPE_UNSPECIFIED = 0 # Use OAuth 2 authorization codes that can be exchanged # for a refresh token on the backend. AUTHORIZATION_CODE = 1 # Return an authorization code for a given Google+ page that can then be # exchanged for a refresh token on the backend. GOOGLE_PLUS_AUTHORIZATION_CODE = 2 end # Represents how the data source supports data auto refresh. module DataRefreshType # The data source won't support data auto refresh, which is default value. DATA_REFRESH_TYPE_UNSPECIFIED = 0 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Does not allow custom values to be set for each # transfer config. SLIDING_WINDOW = 1 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Allows custom values to be set for each transfer # config. CUSTOM_SLIDING_WINDOW = 2 end end |
#supports_multiple_transfers ⇒ true, false
Returns Indicates whether the data source supports multiple transfers to different BigQuery targets.
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 184 class DataSource # The type of authorization needed for this data source. module AuthorizationType # Type unspecified. AUTHORIZATION_TYPE_UNSPECIFIED = 0 # Use OAuth 2 authorization codes that can be exchanged # for a refresh token on the backend. AUTHORIZATION_CODE = 1 # Return an authorization code for a given Google+ page that can then be # exchanged for a refresh token on the backend. GOOGLE_PLUS_AUTHORIZATION_CODE = 2 end # Represents how the data source supports data auto refresh. module DataRefreshType # The data source won't support data auto refresh, which is default value. DATA_REFRESH_TYPE_UNSPECIFIED = 0 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Does not allow custom values to be set for each # transfer config. SLIDING_WINDOW = 1 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Allows custom values to be set for each transfer # config. CUSTOM_SLIDING_WINDOW = 2 end end |
#transfer_type ⇒ Google::Cloud::Bigquery::Datatransfer::V1::TransferType
Returns Deprecated. This field has no effect.
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 184 class DataSource # The type of authorization needed for this data source. module AuthorizationType # Type unspecified. AUTHORIZATION_TYPE_UNSPECIFIED = 0 # Use OAuth 2 authorization codes that can be exchanged # for a refresh token on the backend. AUTHORIZATION_CODE = 1 # Return an authorization code for a given Google+ page that can then be # exchanged for a refresh token on the backend. GOOGLE_PLUS_AUTHORIZATION_CODE = 2 end # Represents how the data source supports data auto refresh. module DataRefreshType # The data source won't support data auto refresh, which is default value. DATA_REFRESH_TYPE_UNSPECIFIED = 0 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Does not allow custom values to be set for each # transfer config. SLIDING_WINDOW = 1 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Allows custom values to be set for each transfer # config. CUSTOM_SLIDING_WINDOW = 2 end end |
#update_deadline_seconds ⇒ Integer
Returns The number of seconds to wait for an update from the data source before BigQuery marks the transfer as failed.
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
# File 'lib/google/cloud/bigquery/data_transfer/v1/doc/google/cloud/bigquery/datatransfer/v1/datatransfer.rb', line 184 class DataSource # The type of authorization needed for this data source. module AuthorizationType # Type unspecified. AUTHORIZATION_TYPE_UNSPECIFIED = 0 # Use OAuth 2 authorization codes that can be exchanged # for a refresh token on the backend. AUTHORIZATION_CODE = 1 # Return an authorization code for a given Google+ page that can then be # exchanged for a refresh token on the backend. GOOGLE_PLUS_AUTHORIZATION_CODE = 2 end # Represents how the data source supports data auto refresh. module DataRefreshType # The data source won't support data auto refresh, which is default value. DATA_REFRESH_TYPE_UNSPECIFIED = 0 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Does not allow custom values to be set for each # transfer config. SLIDING_WINDOW = 1 # The data source supports data auto refresh, and runs will be scheduled # for the past few days. Allows custom values to be set for each transfer # config. CUSTOM_SLIDING_WINDOW = 2 end end |