DataSource

com.google.cloud.bigquery.datatransfer.v1.datatransfer.DataSource
See theDataSource companion object
final case class DataSource(name: String, dataSourceId: String, displayName: String, description: String, clientId: String, scopes: Seq[String], transferType: TransferType, supportsMultipleTransfers: Boolean, updateDeadlineSeconds: Int, defaultSchedule: String, supportsCustomSchedule: Boolean, parameters: Seq[DataSourceParameter], helpUrl: String, authorizationType: AuthorizationType, dataRefreshType: DataRefreshType, defaultDataRefreshWindowDays: Int, manualRunsDisabled: Boolean, minimumScheduleInterval: Option[Duration], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[DataSource]

Defines the properties and custom parameters for a data source.

Value parameters

authorizationType

Indicates the type of authorization.

clientId

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

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.

dataSourceId

Data source id.

defaultDataRefreshWindowDays

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

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.

description

User friendly data source description string.

displayName

User friendly data source name.

helpUrl

Url for the help document for this data source.

manualRunsDisabled

Disables backfilling and manual run scheduling for the data source.

minimumScheduleInterval

The minimum interval for scheduler to schedule runs.

name

Output only. Data source resource name.

parameters

Data source parameters.

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

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.

supportsMultipleTransfers

Deprecated. This field has no effect.

transferType

Deprecated. This field has no effect.

updateDeadlineSeconds

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

Attributes

Companion
object
Source
DataSource.scala
Graph
Supertypes
trait Updatable[DataSource]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Attributes

Source
DataSource.scala
def addScopes(`__vs`: String*): DataSource

Attributes

Source
DataSource.scala

Attributes

Source
DataSource.scala
def companion: DataSource.type

Attributes

Source
DataSource.scala
def getField(`__field`: FieldDescriptor): PValue

Attributes

Source
DataSource.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source
DataSource.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source
DataSource.scala

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns

human-readable representation of this message.

Source
DataSource.scala

Attributes

Source
DataSource.scala

Attributes

Source
DataSource.scala

Attributes

Source
DataSource.scala

Attributes

Source
DataSource.scala

Attributes

Source
DataSource.scala

Attributes

Source
DataSource.scala
def withName(`__v`: String): DataSource

Attributes

Source
DataSource.scala

Attributes

Source
DataSource.scala

Attributes

Source
DataSource.scala
def withUnknownFields(`__v`: UnknownFieldSet): DataSource

Attributes

Source
DataSource.scala

Attributes

Source
DataSource.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source
DataSource.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
def update(ms: Lens[DataSource, DataSource] => () => DataSource*): A

Attributes

Inherited from:
Updatable
Source
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala