BigQueryDestinationConfig.fromJson constructor

BigQueryDestinationConfig.fromJson(
  1. Map json_
)

Implementation

BigQueryDestinationConfig.fromJson(core.Map json_)
    : this(
        appendOnly: json_.containsKey('appendOnly')
            ? AppendOnly.fromJson(
                json_['appendOnly'] as core.Map<core.String, core.dynamic>)
            : null,
        dataFreshness: json_.containsKey('dataFreshness')
            ? json_['dataFreshness'] as core.String
            : null,
        merge: json_.containsKey('merge')
            ? Merge.fromJson(
                json_['merge'] as core.Map<core.String, core.dynamic>)
            : null,
        singleTargetDataset: json_.containsKey('singleTargetDataset')
            ? SingleTargetDataset.fromJson(json_['singleTargetDataset']
                as core.Map<core.String, core.dynamic>)
            : null,
        sourceHierarchyDatasets: json_.containsKey('sourceHierarchyDatasets')
            ? SourceHierarchyDatasets.fromJson(
                json_['sourceHierarchyDatasets']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );