GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline.fromJson constructor

GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline.fromJson(
  1. Map json_
)

Implementation

GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline.fromJson(
    core.Map json_)
    : this(
        extractProcessorInfos: json_.containsKey('extractProcessorInfos')
            ? (json_['extractProcessorInfos'] as core.List)
                .map((value) =>
                    GoogleCloudContentwarehouseV1ProcessorInfo.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        inputPath: json_.containsKey('inputPath')
            ? json_['inputPath'] as core.String
            : null,
        pipelineConfig: json_.containsKey('pipelineConfig')
            ? GoogleCloudContentwarehouseV1IngestPipelineConfig.fromJson(
                json_['pipelineConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        processorResultsFolderPath:
            json_.containsKey('processorResultsFolderPath')
                ? json_['processorResultsFolderPath'] as core.String
                : null,
        skipIngestedDocuments: json_.containsKey('skipIngestedDocuments')
            ? json_['skipIngestedDocuments'] as core.bool
            : null,
        splitClassifyProcessorInfo:
            json_.containsKey('splitClassifyProcessorInfo')
                ? GoogleCloudContentwarehouseV1ProcessorInfo.fromJson(
                    json_['splitClassifyProcessorInfo']
                        as core.Map<core.String, core.dynamic>)
                : null,
      );