JobConfigurationLoad.fromJson constructor

JobConfigurationLoad.fromJson(
  1. Map json_
)

Implementation

JobConfigurationLoad.fromJson(core.Map json_)
    : this(
        allowJaggedRows: json_.containsKey('allowJaggedRows')
            ? json_['allowJaggedRows'] as core.bool
            : null,
        allowQuotedNewlines: json_.containsKey('allowQuotedNewlines')
            ? json_['allowQuotedNewlines'] as core.bool
            : null,
        autodetect: json_.containsKey('autodetect')
            ? json_['autodetect'] as core.bool
            : null,
        clustering: json_.containsKey('clustering')
            ? Clustering.fromJson(
                json_['clustering'] as core.Map<core.String, core.dynamic>)
            : null,
        connectionProperties: json_.containsKey('connectionProperties')
            ? (json_['connectionProperties'] as core.List)
                .map((value) => ConnectionProperty.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        copyFilesOnly: json_.containsKey('copyFilesOnly')
            ? json_['copyFilesOnly'] as core.bool
            : null,
        createDisposition: json_.containsKey('createDisposition')
            ? json_['createDisposition'] as core.String
            : null,
        createSession: json_.containsKey('createSession')
            ? json_['createSession'] as core.bool
            : null,
        decimalTargetTypes: json_.containsKey('decimalTargetTypes')
            ? (json_['decimalTargetTypes'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        destinationEncryptionConfiguration:
            json_.containsKey('destinationEncryptionConfiguration')
                ? EncryptionConfiguration.fromJson(
                    json_['destinationEncryptionConfiguration']
                        as core.Map<core.String, core.dynamic>)
                : null,
        destinationTable: json_.containsKey('destinationTable')
            ? TableReference.fromJson(json_['destinationTable']
                as core.Map<core.String, core.dynamic>)
            : null,
        destinationTableProperties:
            json_.containsKey('destinationTableProperties')
                ? DestinationTableProperties.fromJson(
                    json_['destinationTableProperties']
                        as core.Map<core.String, core.dynamic>)
                : null,
        encoding: json_.containsKey('encoding')
            ? json_['encoding'] as core.String
            : null,
        fieldDelimiter: json_.containsKey('fieldDelimiter')
            ? json_['fieldDelimiter'] as core.String
            : null,
        fileSetSpecType: json_.containsKey('fileSetSpecType')
            ? json_['fileSetSpecType'] as core.String
            : null,
        hivePartitioningOptions: json_.containsKey('hivePartitioningOptions')
            ? HivePartitioningOptions.fromJson(
                json_['hivePartitioningOptions']
                    as core.Map<core.String, core.dynamic>)
            : null,
        ignoreUnknownValues: json_.containsKey('ignoreUnknownValues')
            ? json_['ignoreUnknownValues'] as core.bool
            : null,
        jsonExtension: json_.containsKey('jsonExtension')
            ? json_['jsonExtension'] as core.String
            : null,
        maxBadRecords: json_.containsKey('maxBadRecords')
            ? json_['maxBadRecords'] as core.int
            : null,
        nullMarker: json_.containsKey('nullMarker')
            ? json_['nullMarker'] as core.String
            : null,
        parquetOptions: json_.containsKey('parquetOptions')
            ? ParquetOptions.fromJson(json_['parquetOptions']
                as core.Map<core.String, core.dynamic>)
            : null,
        preserveAsciiControlCharacters:
            json_.containsKey('preserveAsciiControlCharacters')
                ? json_['preserveAsciiControlCharacters'] as core.bool
                : null,
        projectionFields: json_.containsKey('projectionFields')
            ? (json_['projectionFields'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        quote:
            json_.containsKey('quote') ? json_['quote'] as core.String : null,
        rangePartitioning: json_.containsKey('rangePartitioning')
            ? RangePartitioning.fromJson(json_['rangePartitioning']
                as core.Map<core.String, core.dynamic>)
            : null,
        referenceFileSchemaUri: json_.containsKey('referenceFileSchemaUri')
            ? json_['referenceFileSchemaUri'] as core.String
            : null,
        schema: json_.containsKey('schema')
            ? TableSchema.fromJson(
                json_['schema'] as core.Map<core.String, core.dynamic>)
            : null,
        schemaInline: json_.containsKey('schemaInline')
            ? json_['schemaInline'] as core.String
            : null,
        schemaInlineFormat: json_.containsKey('schemaInlineFormat')
            ? json_['schemaInlineFormat'] as core.String
            : null,
        schemaUpdateOptions: json_.containsKey('schemaUpdateOptions')
            ? (json_['schemaUpdateOptions'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        skipLeadingRows: json_.containsKey('skipLeadingRows')
            ? json_['skipLeadingRows'] as core.int
            : null,
        sourceFormat: json_.containsKey('sourceFormat')
            ? json_['sourceFormat'] as core.String
            : null,
        sourceUris: json_.containsKey('sourceUris')
            ? (json_['sourceUris'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        timePartitioning: json_.containsKey('timePartitioning')
            ? TimePartitioning.fromJson(json_['timePartitioning']
                as core.Map<core.String, core.dynamic>)
            : null,
        useAvroLogicalTypes: json_.containsKey('useAvroLogicalTypes')
            ? json_['useAvroLogicalTypes'] as core.bool
            : null,
        writeDisposition: json_.containsKey('writeDisposition')
            ? json_['writeDisposition'] as core.String
            : null,
      );