| 1 | package Google::Cloud::Contentwarehouse::V1::Pipelines::Types; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | use Type::Library -base; | ||
| 7 | use Type::Utils -all; | ||
| 8 | use Types::Standard -types; | ||
| 9 | |||
| 10 | declare 'RunPipelineResponse', | ||
| 11 | as InstanceOf['Google::Cloud::Contentwarehouse::V1::Pipelines::RunPipelineResponse']; | ||
| 12 | |||
| 13 | coerce 'RunPipelineResponse', | ||
| 14 | from HashRef, via { 'Google::Cloud::Contentwarehouse::V1::Pipelines::RunPipelineResponse'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedRunPipelineResponse', | ||
| 17 | as ArrayRef[RunPipelineResponse()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedRunPipelineResponse', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Contentwarehouse::V1::Pipelines::RunPipelineResponse'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringRunPipelineResponse', | ||
| 23 | as HashRef[RunPipelineResponse()]; | ||
| 24 | |||
| 25 | declare 'RunPipelineMetadata', | ||
| 26 | as InstanceOf['Google::Cloud::Contentwarehouse::V1::Pipelines::RunPipelineMetadata']; | ||
| 27 | |||
| 28 | coerce 'RunPipelineMetadata', | ||
| 29 | from HashRef, via { 'Google::Cloud::Contentwarehouse::V1::Pipelines::RunPipelineMetadata'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedRunPipelineMetadata', | ||
| 32 | as ArrayRef[RunPipelineMetadata()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedRunPipelineMetadata', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Contentwarehouse::V1::Pipelines::RunPipelineMetadata'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringRunPipelineMetadata', | ||
| 38 | as HashRef[RunPipelineMetadata()]; | ||
| 39 | |||
| 40 | declare 'GcsIngestPipelineMetadata', | ||
| 41 | as InstanceOf['Google::Cloud::Contentwarehouse::V1::Pipelines::RunPipelineMetadata::GcsIngestPipelineMetadata']; | ||
| 42 | |||
| 43 | coerce 'GcsIngestPipelineMetadata', | ||
| 44 | from HashRef, via { 'Google::Cloud::Contentwarehouse::V1::Pipelines::RunPipelineMetadata::GcsIngestPipelineMetadata'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedGcsIngestPipelineMetadata', | ||
| 47 | as ArrayRef[GcsIngestPipelineMetadata()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedGcsIngestPipelineMetadata', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Contentwarehouse::V1::Pipelines::RunPipelineMetadata::GcsIngestPipelineMetadata'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringGcsIngestPipelineMetadata', | ||
| 53 | as HashRef[GcsIngestPipelineMetadata()]; | ||
| 54 | |||
| 55 | declare 'ExportToCdwPipelineMetadata', | ||
| 56 | as InstanceOf['Google::Cloud::Contentwarehouse::V1::Pipelines::RunPipelineMetadata::ExportToCdwPipelineMetadata']; | ||
| 57 | |||
| 58 | coerce 'ExportToCdwPipelineMetadata', | ||
| 59 | from HashRef, via { 'Google::Cloud::Contentwarehouse::V1::Pipelines::RunPipelineMetadata::ExportToCdwPipelineMetadata'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedExportToCdwPipelineMetadata', | ||
| 62 | as ArrayRef[ExportToCdwPipelineMetadata()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedExportToCdwPipelineMetadata', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Contentwarehouse::V1::Pipelines::RunPipelineMetadata::ExportToCdwPipelineMetadata'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringExportToCdwPipelineMetadata', | ||
| 68 | as HashRef[ExportToCdwPipelineMetadata()]; | ||
| 69 | |||
| 70 | declare 'ProcessWithDocAiPipelineMetadata', | ||
| 71 | as InstanceOf['Google::Cloud::Contentwarehouse::V1::Pipelines::RunPipelineMetadata::ProcessWithDocAiPipelineMetadata']; | ||
| 72 | |||
| 73 | coerce 'ProcessWithDocAiPipelineMetadata', | ||
| 74 | from HashRef, via { 'Google::Cloud::Contentwarehouse::V1::Pipelines::RunPipelineMetadata::ProcessWithDocAiPipelineMetadata'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedProcessWithDocAiPipelineMetadata', | ||
| 77 | as ArrayRef[ProcessWithDocAiPipelineMetadata()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedProcessWithDocAiPipelineMetadata', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Contentwarehouse::V1::Pipelines::RunPipelineMetadata::ProcessWithDocAiPipelineMetadata'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringProcessWithDocAiPipelineMetadata', | ||
| 83 | as HashRef[ProcessWithDocAiPipelineMetadata()]; | ||
| 84 | |||
| 85 | declare 'IndividualDocumentStatus', | ||
| 86 | as InstanceOf['Google::Cloud::Contentwarehouse::V1::Pipelines::RunPipelineMetadata::IndividualDocumentStatus']; | ||
| 87 | |||
| 88 | coerce 'IndividualDocumentStatus', | ||
| 89 | from HashRef, via { 'Google::Cloud::Contentwarehouse::V1::Pipelines::RunPipelineMetadata::IndividualDocumentStatus'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedIndividualDocumentStatus', | ||
| 92 | as ArrayRef[IndividualDocumentStatus()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedIndividualDocumentStatus', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Contentwarehouse::V1::Pipelines::RunPipelineMetadata::IndividualDocumentStatus'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringIndividualDocumentStatus', | ||
| 98 | as HashRef[IndividualDocumentStatus()]; | ||
| 99 | |||
| 100 | declare 'ProcessorInfo', | ||
| 101 | as InstanceOf['Google::Cloud::Contentwarehouse::V1::Pipelines::ProcessorInfo']; | ||
| 102 | |||
| 103 | coerce 'ProcessorInfo', | ||
| 104 | from HashRef, via { 'Google::Cloud::Contentwarehouse::V1::Pipelines::ProcessorInfo'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedProcessorInfo', | ||
| 107 | as ArrayRef[ProcessorInfo()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedProcessorInfo', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Contentwarehouse::V1::Pipelines::ProcessorInfo'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringProcessorInfo', | ||
| 113 | as HashRef[ProcessorInfo()]; | ||
| 114 | |||
| 115 | declare 'IngestPipelineConfig', | ||
| 116 | as InstanceOf['Google::Cloud::Contentwarehouse::V1::Pipelines::IngestPipelineConfig']; | ||
| 117 | |||
| 118 | coerce 'IngestPipelineConfig', | ||
| 119 | from HashRef, via { 'Google::Cloud::Contentwarehouse::V1::Pipelines::IngestPipelineConfig'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedIngestPipelineConfig', | ||
| 122 | as ArrayRef[IngestPipelineConfig()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedIngestPipelineConfig', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Contentwarehouse::V1::Pipelines::IngestPipelineConfig'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringIngestPipelineConfig', | ||
| 128 | as HashRef[IngestPipelineConfig()]; | ||
| 129 | |||
| 130 | declare 'GcsIngestPipeline', | ||
| 131 | as InstanceOf['Google::Cloud::Contentwarehouse::V1::Pipelines::GcsIngestPipeline']; | ||
| 132 | |||
| 133 | coerce 'GcsIngestPipeline', | ||
| 134 | from HashRef, via { 'Google::Cloud::Contentwarehouse::V1::Pipelines::GcsIngestPipeline'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedGcsIngestPipeline', | ||
| 137 | as ArrayRef[GcsIngestPipeline()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedGcsIngestPipeline', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Contentwarehouse::V1::Pipelines::GcsIngestPipeline'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringGcsIngestPipeline', | ||
| 143 | as HashRef[GcsIngestPipeline()]; | ||
| 144 | |||
| 145 | declare 'GcsIngestWithDocAiProcessorsPipeline', | ||
| 146 | as InstanceOf['Google::Cloud::Contentwarehouse::V1::Pipelines::GcsIngestWithDocAiProcessorsPipeline']; | ||
| 147 | |||
| 148 | coerce 'GcsIngestWithDocAiProcessorsPipeline', | ||
| 149 | from HashRef, via { 'Google::Cloud::Contentwarehouse::V1::Pipelines::GcsIngestWithDocAiProcessorsPipeline'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedGcsIngestWithDocAiProcessorsPipeline', | ||
| 152 | as ArrayRef[GcsIngestWithDocAiProcessorsPipeline()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedGcsIngestWithDocAiProcessorsPipeline', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Contentwarehouse::V1::Pipelines::GcsIngestWithDocAiProcessorsPipeline'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringGcsIngestWithDocAiProcessorsPipeline', | ||
| 158 | as HashRef[GcsIngestWithDocAiProcessorsPipeline()]; | ||
| 159 | |||
| 160 | declare 'ExportToCdwPipeline', | ||
| 161 | as InstanceOf['Google::Cloud::Contentwarehouse::V1::Pipelines::ExportToCdwPipeline']; | ||
| 162 | |||
| 163 | coerce 'ExportToCdwPipeline', | ||
| 164 | from HashRef, via { 'Google::Cloud::Contentwarehouse::V1::Pipelines::ExportToCdwPipeline'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedExportToCdwPipeline', | ||
| 167 | as ArrayRef[ExportToCdwPipeline()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedExportToCdwPipeline', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Contentwarehouse::V1::Pipelines::ExportToCdwPipeline'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringExportToCdwPipeline', | ||
| 173 | as HashRef[ExportToCdwPipeline()]; | ||
| 174 | |||
| 175 | declare 'ProcessWithDocAiPipeline', | ||
| 176 | as InstanceOf['Google::Cloud::Contentwarehouse::V1::Pipelines::ProcessWithDocAiPipeline']; | ||
| 177 | |||
| 178 | coerce 'ProcessWithDocAiPipeline', | ||
| 179 | from HashRef, via { 'Google::Cloud::Contentwarehouse::V1::Pipelines::ProcessWithDocAiPipeline'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedProcessWithDocAiPipeline', | ||
| 182 | as ArrayRef[ProcessWithDocAiPipeline()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedProcessWithDocAiPipeline', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Contentwarehouse::V1::Pipelines::ProcessWithDocAiPipeline'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringProcessWithDocAiPipeline', | ||
| 188 | as HashRef[ProcessWithDocAiPipeline()]; | ||
| 189 | |||
| 190 | 1; | ||
| 191 | |||
| 192 | __END__ |