| 1 | package Google::Cloud::Automl::V1beta1::Io::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 'InputConfig', | ||
| 11 | as InstanceOf['Google::Cloud::Automl::V1beta1::Io::InputConfig']; | ||
| 12 | |||
| 13 | coerce 'InputConfig', | ||
| 14 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Io::InputConfig'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedInputConfig', | ||
| 17 | as ArrayRef[InputConfig()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedInputConfig', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Io::InputConfig'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringInputConfig', | ||
| 23 | as HashRef[InputConfig()]; | ||
| 24 | |||
| 25 | declare 'ParamsEntry', | ||
| 26 | as InstanceOf['Google::Cloud::Automl::V1beta1::Io::InputConfig::ParamsEntry']; | ||
| 27 | |||
| 28 | coerce 'ParamsEntry', | ||
| 29 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Io::InputConfig::ParamsEntry'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedParamsEntry', | ||
| 32 | as ArrayRef[ParamsEntry()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedParamsEntry', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Io::InputConfig::ParamsEntry'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringParamsEntry', | ||
| 38 | as HashRef[ParamsEntry()]; | ||
| 39 | |||
| 40 | declare 'BatchPredictInputConfig', | ||
| 41 | as InstanceOf['Google::Cloud::Automl::V1beta1::Io::BatchPredictInputConfig']; | ||
| 42 | |||
| 43 | coerce 'BatchPredictInputConfig', | ||
| 44 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Io::BatchPredictInputConfig'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedBatchPredictInputConfig', | ||
| 47 | as ArrayRef[BatchPredictInputConfig()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedBatchPredictInputConfig', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Io::BatchPredictInputConfig'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringBatchPredictInputConfig', | ||
| 53 | as HashRef[BatchPredictInputConfig()]; | ||
| 54 | |||
| 55 | declare 'DocumentInputConfig', | ||
| 56 | as InstanceOf['Google::Cloud::Automl::V1beta1::Io::DocumentInputConfig']; | ||
| 57 | |||
| 58 | coerce 'DocumentInputConfig', | ||
| 59 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Io::DocumentInputConfig'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedDocumentInputConfig', | ||
| 62 | as ArrayRef[DocumentInputConfig()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedDocumentInputConfig', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Io::DocumentInputConfig'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringDocumentInputConfig', | ||
| 68 | as HashRef[DocumentInputConfig()]; | ||
| 69 | |||
| 70 | declare 'OutputConfig', | ||
| 71 | as InstanceOf['Google::Cloud::Automl::V1beta1::Io::OutputConfig']; | ||
| 72 | |||
| 73 | coerce 'OutputConfig', | ||
| 74 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Io::OutputConfig'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedOutputConfig', | ||
| 77 | as ArrayRef[OutputConfig()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedOutputConfig', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Io::OutputConfig'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringOutputConfig', | ||
| 83 | as HashRef[OutputConfig()]; | ||
| 84 | |||
| 85 | declare 'BatchPredictOutputConfig', | ||
| 86 | as InstanceOf['Google::Cloud::Automl::V1beta1::Io::BatchPredictOutputConfig']; | ||
| 87 | |||
| 88 | coerce 'BatchPredictOutputConfig', | ||
| 89 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Io::BatchPredictOutputConfig'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedBatchPredictOutputConfig', | ||
| 92 | as ArrayRef[BatchPredictOutputConfig()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedBatchPredictOutputConfig', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Io::BatchPredictOutputConfig'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringBatchPredictOutputConfig', | ||
| 98 | as HashRef[BatchPredictOutputConfig()]; | ||
| 99 | |||
| 100 | declare 'ModelExportOutputConfig', | ||
| 101 | as InstanceOf['Google::Cloud::Automl::V1beta1::Io::ModelExportOutputConfig']; | ||
| 102 | |||
| 103 | coerce 'ModelExportOutputConfig', | ||
| 104 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Io::ModelExportOutputConfig'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedModelExportOutputConfig', | ||
| 107 | as ArrayRef[ModelExportOutputConfig()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedModelExportOutputConfig', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Io::ModelExportOutputConfig'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringModelExportOutputConfig', | ||
| 113 | as HashRef[ModelExportOutputConfig()]; | ||
| 114 | |||
| 115 | declare 'ParamsEntry', | ||
| 116 | as InstanceOf['Google::Cloud::Automl::V1beta1::Io::ModelExportOutputConfig::ParamsEntry']; | ||
| 117 | |||
| 118 | coerce 'ParamsEntry', | ||
| 119 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Io::ModelExportOutputConfig::ParamsEntry'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedParamsEntry', | ||
| 122 | as ArrayRef[ParamsEntry()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedParamsEntry', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Io::ModelExportOutputConfig::ParamsEntry'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringParamsEntry', | ||
| 128 | as HashRef[ParamsEntry()]; | ||
| 129 | |||
| 130 | declare 'ExportEvaluatedExamplesOutputConfig', | ||
| 131 | as InstanceOf['Google::Cloud::Automl::V1beta1::Io::ExportEvaluatedExamplesOutputConfig']; | ||
| 132 | |||
| 133 | coerce 'ExportEvaluatedExamplesOutputConfig', | ||
| 134 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Io::ExportEvaluatedExamplesOutputConfig'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedExportEvaluatedExamplesOutputConfig', | ||
| 137 | as ArrayRef[ExportEvaluatedExamplesOutputConfig()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedExportEvaluatedExamplesOutputConfig', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Io::ExportEvaluatedExamplesOutputConfig'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringExportEvaluatedExamplesOutputConfig', | ||
| 143 | as HashRef[ExportEvaluatedExamplesOutputConfig()]; | ||
| 144 | |||
| 145 | declare 'GcsSource', | ||
| 146 | as InstanceOf['Google::Cloud::Automl::V1beta1::Io::GcsSource']; | ||
| 147 | |||
| 148 | coerce 'GcsSource', | ||
| 149 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Io::GcsSource'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedGcsSource', | ||
| 152 | as ArrayRef[GcsSource()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedGcsSource', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Io::GcsSource'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringGcsSource', | ||
| 158 | as HashRef[GcsSource()]; | ||
| 159 | |||
| 160 | declare 'BigQuerySource', | ||
| 161 | as InstanceOf['Google::Cloud::Automl::V1beta1::Io::BigQuerySource']; | ||
| 162 | |||
| 163 | coerce 'BigQuerySource', | ||
| 164 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Io::BigQuerySource'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedBigQuerySource', | ||
| 167 | as ArrayRef[BigQuerySource()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedBigQuerySource', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Io::BigQuerySource'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringBigQuerySource', | ||
| 173 | as HashRef[BigQuerySource()]; | ||
| 174 | |||
| 175 | declare 'GcsDestination', | ||
| 176 | as InstanceOf['Google::Cloud::Automl::V1beta1::Io::GcsDestination']; | ||
| 177 | |||
| 178 | coerce 'GcsDestination', | ||
| 179 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Io::GcsDestination'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedGcsDestination', | ||
| 182 | as ArrayRef[GcsDestination()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedGcsDestination', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Io::GcsDestination'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringGcsDestination', | ||
| 188 | as HashRef[GcsDestination()]; | ||
| 189 | |||
| 190 | declare 'BigQueryDestination', | ||
| 191 | as InstanceOf['Google::Cloud::Automl::V1beta1::Io::BigQueryDestination']; | ||
| 192 | |||
| 193 | coerce 'BigQueryDestination', | ||
| 194 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Io::BigQueryDestination'->new($_) }; | ||
| 195 | |||
| 196 | declare 'RepeatedBigQueryDestination', | ||
| 197 | as ArrayRef[BigQueryDestination()]; | ||
| 198 | |||
| 199 | coerce 'RepeatedBigQueryDestination', | ||
| 200 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Io::BigQueryDestination'->new($_) } @$_ ] }; | ||
| 201 | |||
| 202 | declare 'MapStringBigQueryDestination', | ||
| 203 | as HashRef[BigQueryDestination()]; | ||
| 204 | |||
| 205 | declare 'GcrDestination', | ||
| 206 | as InstanceOf['Google::Cloud::Automl::V1beta1::Io::GcrDestination']; | ||
| 207 | |||
| 208 | coerce 'GcrDestination', | ||
| 209 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Io::GcrDestination'->new($_) }; | ||
| 210 | |||
| 211 | declare 'RepeatedGcrDestination', | ||
| 212 | as ArrayRef[GcrDestination()]; | ||
| 213 | |||
| 214 | coerce 'RepeatedGcrDestination', | ||
| 215 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Io::GcrDestination'->new($_) } @$_ ] }; | ||
| 216 | |||
| 217 | declare 'MapStringGcrDestination', | ||
| 218 | as HashRef[GcrDestination()]; | ||
| 219 | |||
| 220 | 1; | ||
| 221 | |||
| 222 | __END__ |