public final class DataSource
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the BigQuery Data Transfer API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
DataSource() |
Modifier and Type | Method and Description |
---|---|
DataSource |
clone() |
java.lang.String |
getAuthorizationType()
Indicates the type of authorization.
|
java.lang.String |
getClientId()
Data source client id which should be used to receive refresh token.
|
java.lang.String |
getDataRefreshType()
Specifies whether the data source supports automatic data refresh for the past few days, and
how it's supported.
|
java.lang.String |
getDataSourceId()
Data source id.
|
java.lang.Integer |
getDefaultDataRefreshWindowDays()
Default data refresh window on days.
|
java.lang.String |
getDefaultSchedule()
Default data transfer schedule.
|
java.lang.String |
getDescription()
User friendly data source description string.
|
java.lang.String |
getDisplayName()
User friendly data source name.
|
java.lang.String |
getHelpUrl()
Url for the help document for this data source.
|
java.lang.Boolean |
getManualRunsDisabled()
Disables backfilling and manual run scheduling for the data source.
|
java.lang.String |
getMinimumScheduleInterval()
The minimum interval for scheduler to schedule runs.
|
java.lang.String |
getName()
Output only.
|
java.util.List<DataSourceParameter> |
getParameters()
Data source parameters.
|
java.util.List<java.lang.String> |
getScopes()
Api auth scopes for which refresh token needs to be obtained.
|
java.lang.Boolean |
getSupportsCustomSchedule()
Specifies whether the data source supports a user defined schedule, or operates on the default
schedule.
|
java.lang.Boolean |
getSupportsMultipleTransfers()
Deprecated.
|
java.lang.String |
getTransferType()
Deprecated.
|
java.lang.Integer |
getUpdateDeadlineSeconds()
The number of seconds to wait for an update from the data source before the Data Transfer
Service marks the transfer as FAILED.
|
DataSource |
set(java.lang.String fieldName,
java.lang.Object value) |
DataSource |
setAuthorizationType(java.lang.String authorizationType)
Indicates the type of authorization.
|
DataSource |
setClientId(java.lang.String clientId)
Data source client id which should be used to receive refresh token.
|
DataSource |
setDataRefreshType(java.lang.String dataRefreshType)
Specifies whether the data source supports automatic data refresh for the past few days, and
how it's supported.
|
DataSource |
setDataSourceId(java.lang.String dataSourceId)
Data source id.
|
DataSource |
setDefaultDataRefreshWindowDays(java.lang.Integer defaultDataRefreshWindowDays)
Default data refresh window on days.
|
DataSource |
setDefaultSchedule(java.lang.String defaultSchedule)
Default data transfer schedule.
|
DataSource |
setDescription(java.lang.String description)
User friendly data source description string.
|
DataSource |
setDisplayName(java.lang.String displayName)
User friendly data source name.
|
DataSource |
setHelpUrl(java.lang.String helpUrl)
Url for the help document for this data source.
|
DataSource |
setManualRunsDisabled(java.lang.Boolean manualRunsDisabled)
Disables backfilling and manual run scheduling for the data source.
|
DataSource |
setMinimumScheduleInterval(java.lang.String minimumScheduleInterval)
The minimum interval for scheduler to schedule runs.
|
DataSource |
setName(java.lang.String name)
Output only.
|
DataSource |
setParameters(java.util.List<DataSourceParameter> parameters)
Data source parameters.
|
DataSource |
setScopes(java.util.List<java.lang.String> scopes)
Api auth scopes for which refresh token needs to be obtained.
|
DataSource |
setSupportsCustomSchedule(java.lang.Boolean supportsCustomSchedule)
Specifies whether the data source supports a user defined schedule, or operates on the default
schedule.
|
DataSource |
setSupportsMultipleTransfers(java.lang.Boolean supportsMultipleTransfers)
Deprecated.
|
DataSource |
setTransferType(java.lang.String transferType)
Deprecated.
|
DataSource |
setUpdateDeadlineSeconds(java.lang.Integer updateDeadlineSeconds)
The number of seconds to wait for an update from the data source before the Data Transfer
Service marks the transfer as FAILED.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getAuthorizationType()
null
for nonepublic DataSource setAuthorizationType(java.lang.String authorizationType)
authorizationType
- authorizationType or null
for nonepublic java.lang.String getClientId()
null
for nonepublic DataSource setClientId(java.lang.String clientId)
clientId
- clientId or null
for nonepublic java.lang.String getDataRefreshType()
null
for nonepublic DataSource setDataRefreshType(java.lang.String dataRefreshType)
dataRefreshType
- dataRefreshType or null
for nonepublic java.lang.String getDataSourceId()
null
for nonepublic DataSource setDataSourceId(java.lang.String dataSourceId)
dataSourceId
- dataSourceId or null
for nonepublic java.lang.Integer getDefaultDataRefreshWindowDays()
null
for nonepublic DataSource setDefaultDataRefreshWindowDays(java.lang.Integer defaultDataRefreshWindowDays)
defaultDataRefreshWindowDays
- defaultDataRefreshWindowDays or null
for nonepublic java.lang.String getDefaultSchedule()
null
for nonepublic DataSource setDefaultSchedule(java.lang.String defaultSchedule)
defaultSchedule
- defaultSchedule or null
for nonepublic java.lang.String getDescription()
null
for nonepublic DataSource setDescription(java.lang.String description)
description
- description or null
for nonepublic java.lang.String getDisplayName()
null
for nonepublic DataSource setDisplayName(java.lang.String displayName)
displayName
- displayName or null
for nonepublic java.lang.String getHelpUrl()
null
for nonepublic DataSource setHelpUrl(java.lang.String helpUrl)
helpUrl
- helpUrl or null
for nonepublic java.lang.Boolean getManualRunsDisabled()
null
for nonepublic DataSource setManualRunsDisabled(java.lang.Boolean manualRunsDisabled)
manualRunsDisabled
- manualRunsDisabled or null
for nonepublic java.lang.String getMinimumScheduleInterval()
null
for nonepublic DataSource setMinimumScheduleInterval(java.lang.String minimumScheduleInterval)
minimumScheduleInterval
- minimumScheduleInterval or null
for nonepublic java.lang.String getName()
null
for nonepublic DataSource setName(java.lang.String name)
name
- name or null
for nonepublic java.util.List<DataSourceParameter> getParameters()
null
for nonepublic DataSource setParameters(java.util.List<DataSourceParameter> parameters)
parameters
- parameters or null
for nonepublic java.util.List<java.lang.String> getScopes()
null
for nonepublic DataSource setScopes(java.util.List<java.lang.String> scopes)
scopes
- scopes or null
for nonepublic java.lang.Boolean getSupportsCustomSchedule()
null
for nonepublic DataSource setSupportsCustomSchedule(java.lang.Boolean supportsCustomSchedule)
supportsCustomSchedule
- supportsCustomSchedule or null
for nonepublic java.lang.Boolean getSupportsMultipleTransfers()
null
for nonepublic DataSource setSupportsMultipleTransfers(java.lang.Boolean supportsMultipleTransfers)
supportsMultipleTransfers
- supportsMultipleTransfers or null
for nonepublic java.lang.String getTransferType()
null
for nonepublic DataSource setTransferType(java.lang.String transferType)
transferType
- transferType or null
for nonepublic java.lang.Integer getUpdateDeadlineSeconds()
null
for nonepublic DataSource setUpdateDeadlineSeconds(java.lang.Integer updateDeadlineSeconds)
updateDeadlineSeconds
- updateDeadlineSeconds or null
for nonepublic DataSource set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public DataSource clone()
clone
in class com.google.api.client.json.GenericJson