DataSourceParameter

google.cloud.bigquery.datatransfer.v1. DataSourceParameter

Represents a DataSourceParameter.

Constructor

new DataSourceParameter(propertiesopt)

Constructs a new DataSourceParameter.

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

Properties to set

Implements:
  • IDataSourceParameter

Members

(static) Type :number

Type enum.

Properties:
Name Type Description
TYPE_UNSPECIFIED number

TYPE_UNSPECIFIED value

STRING number

STRING value

INTEGER number

INTEGER value

DOUBLE number

DOUBLE value

BOOLEAN number

BOOLEAN value

RECORD number

RECORD value

PLUS_PAGE number

PLUS_PAGE value

allowedValues :Array.<string>

DataSourceParameter allowedValues.

deprecated :boolean

DataSourceParameter deprecated.

description :string

DataSourceParameter description.

displayName :string

DataSourceParameter displayName.

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

DataSourceParameter fields.

immutable :boolean

DataSourceParameter immutable.

maxValue :google.protobuf.IDoubleValue|null|undefined

DataSourceParameter maxValue.

minValue :google.protobuf.IDoubleValue|null|undefined

DataSourceParameter minValue.

paramId :string

DataSourceParameter paramId.

recurse :boolean

DataSourceParameter recurse.

repeated :boolean

DataSourceParameter repeated.

required :boolean

DataSourceParameter required.

type :google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type

DataSourceParameter type.

validationDescription :string

DataSourceParameter validationDescription.

validationHelpUrl :string

DataSourceParameter validationHelpUrl.

validationRegex :string

DataSourceParameter validationRegex.

Methods

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

Creates a new DataSourceParameter instance using the specified properties.

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

Properties to set

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

Decodes a DataSourceParameter 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.DataSourceParameter}

Decodes a DataSourceParameter 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 DataSourceParameter message. Does not implicitly verify messages.

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

DataSourceParameter message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

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

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

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

DataSourceParameter message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

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

Creates a DataSourceParameter 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 DataSourceParameter message. Also converts values to other types if specified.

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

DataSourceParameter

options $protobuf.IConversionOptions <optional>

Conversion options

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

Verifies a DataSourceParameter message.

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

Plain object to verify

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

Converts this DataSourceParameter to JSON.