DataSource

google.cloud.bigquery.datatransfer.v1. DataSource

Represents a DataSource.

Constructor

new DataSource(propertiesopt)

Constructs a new DataSource.

Parameters:
Name Type Attributes Description
properties google.cloud.bigquery.datatransfer.v1.IDataSource <optional>

Properties to set

Implements:
  • IDataSource

Members

(static) AuthorizationType :number

AuthorizationType enum.

Properties:
Name Type Description
AUTHORIZATION_TYPE_UNSPECIFIED number

AUTHORIZATION_TYPE_UNSPECIFIED value

AUTHORIZATION_CODE number

AUTHORIZATION_CODE value

GOOGLE_PLUS_AUTHORIZATION_CODE number

GOOGLE_PLUS_AUTHORIZATION_CODE value

FIRST_PARTY_OAUTH number

FIRST_PARTY_OAUTH value

(static) DataRefreshType :number

DataRefreshType enum.

Properties:
Name Type Description
DATA_REFRESH_TYPE_UNSPECIFIED number

DATA_REFRESH_TYPE_UNSPECIFIED value

SLIDING_WINDOW number

SLIDING_WINDOW value

CUSTOM_SLIDING_WINDOW number

CUSTOM_SLIDING_WINDOW value

authorizationType :google.cloud.bigquery.datatransfer.v1.DataSource.AuthorizationType

DataSource authorizationType.

clientId :string

DataSource clientId.

dataRefreshType :google.cloud.bigquery.datatransfer.v1.DataSource.DataRefreshType

DataSource dataRefreshType.

dataSourceId :string

DataSource dataSourceId.

defaultDataRefreshWindowDays :number

DataSource defaultDataRefreshWindowDays.

defaultSchedule :string

DataSource defaultSchedule.

description :string

DataSource description.

displayName :string

DataSource displayName.

helpUrl :string

DataSource helpUrl.

manualRunsDisabled :boolean

DataSource manualRunsDisabled.

minimumScheduleInterval :google.protobuf.IDuration|null|undefined

DataSource minimumScheduleInterval.

name :string

DataSource name.

parameters :Array.<google.cloud.bigquery.datatransfer.v1.IDataSourceParameter>

DataSource parameters.

scopes :Array.<string>

DataSource scopes.

supportsCustomSchedule :boolean

DataSource supportsCustomSchedule.

supportsMultipleTransfers :boolean

DataSource supportsMultipleTransfers.

transferType :google.cloud.bigquery.datatransfer.v1.TransferType

DataSource transferType.

updateDeadlineSeconds :number

DataSource updateDeadlineSeconds.

Methods

(static) create(propertiesopt) → {google.cloud.bigquery.datatransfer.v1.DataSource}

Creates a new DataSource instance using the specified properties.

Parameters:
Name Type Attributes Description
properties google.cloud.bigquery.datatransfer.v1.IDataSource <optional>

Properties to set

(static) decode(reader, lengthopt) → {google.cloud.bigquery.datatransfer.v1.DataSource}

Decodes a DataSource message from the specified reader or buffer.

Parameters:
Name Type Attributes Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

length number <optional>

Message length if known beforehand

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) decodeDelimited(reader) → {google.cloud.bigquery.datatransfer.v1.DataSource}

Decodes a DataSource message from the specified reader or buffer, length delimited.

Parameters:
Name Type Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) encode(message, writeropt) → {$protobuf.Writer}

Encodes the specified DataSource message. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.bigquery.datatransfer.v1.IDataSource

DataSource message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

Encodes the specified DataSource message, length delimited. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.bigquery.datatransfer.v1.IDataSource

DataSource message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

(static) fromObject(object) → {google.cloud.bigquery.datatransfer.v1.DataSource}

Creates a DataSource message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a DataSource message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.cloud.bigquery.datatransfer.v1.DataSource

DataSource

options $protobuf.IConversionOptions <optional>

Conversion options

(static) verify(message) → {string|null}

Verifies a DataSource message.

Parameters:
Name Type Description
message Object.<string, *>

Plain object to verify

toJSON() → {Object.<string, *>}

Converts this DataSource to JSON.