| 1 | package Google::Cloud::Automl::V1beta1::Operations::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 'OperationMetadata', | ||
| 11 | as InstanceOf['Google::Cloud::Automl::V1beta1::Operations::OperationMetadata']; | ||
| 12 | |||
| 13 | coerce 'OperationMetadata', | ||
| 14 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Operations::OperationMetadata'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedOperationMetadata', | ||
| 17 | as ArrayRef[OperationMetadata()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedOperationMetadata', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Operations::OperationMetadata'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringOperationMetadata', | ||
| 23 | as HashRef[OperationMetadata()]; | ||
| 24 | |||
| 25 | declare 'DeleteOperationMetadata', | ||
| 26 | as InstanceOf['Google::Cloud::Automl::V1beta1::Operations::DeleteOperationMetadata']; | ||
| 27 | |||
| 28 | coerce 'DeleteOperationMetadata', | ||
| 29 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Operations::DeleteOperationMetadata'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedDeleteOperationMetadata', | ||
| 32 | as ArrayRef[DeleteOperationMetadata()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedDeleteOperationMetadata', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Operations::DeleteOperationMetadata'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringDeleteOperationMetadata', | ||
| 38 | as HashRef[DeleteOperationMetadata()]; | ||
| 39 | |||
| 40 | declare 'DeployModelOperationMetadata', | ||
| 41 | as InstanceOf['Google::Cloud::Automl::V1beta1::Operations::DeployModelOperationMetadata']; | ||
| 42 | |||
| 43 | coerce 'DeployModelOperationMetadata', | ||
| 44 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Operations::DeployModelOperationMetadata'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedDeployModelOperationMetadata', | ||
| 47 | as ArrayRef[DeployModelOperationMetadata()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedDeployModelOperationMetadata', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Operations::DeployModelOperationMetadata'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringDeployModelOperationMetadata', | ||
| 53 | as HashRef[DeployModelOperationMetadata()]; | ||
| 54 | |||
| 55 | declare 'UndeployModelOperationMetadata', | ||
| 56 | as InstanceOf['Google::Cloud::Automl::V1beta1::Operations::UndeployModelOperationMetadata']; | ||
| 57 | |||
| 58 | coerce 'UndeployModelOperationMetadata', | ||
| 59 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Operations::UndeployModelOperationMetadata'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedUndeployModelOperationMetadata', | ||
| 62 | as ArrayRef[UndeployModelOperationMetadata()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedUndeployModelOperationMetadata', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Operations::UndeployModelOperationMetadata'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringUndeployModelOperationMetadata', | ||
| 68 | as HashRef[UndeployModelOperationMetadata()]; | ||
| 69 | |||
| 70 | declare 'CreateModelOperationMetadata', | ||
| 71 | as InstanceOf['Google::Cloud::Automl::V1beta1::Operations::CreateModelOperationMetadata']; | ||
| 72 | |||
| 73 | coerce 'CreateModelOperationMetadata', | ||
| 74 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Operations::CreateModelOperationMetadata'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedCreateModelOperationMetadata', | ||
| 77 | as ArrayRef[CreateModelOperationMetadata()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedCreateModelOperationMetadata', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Operations::CreateModelOperationMetadata'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringCreateModelOperationMetadata', | ||
| 83 | as HashRef[CreateModelOperationMetadata()]; | ||
| 84 | |||
| 85 | declare 'ImportDataOperationMetadata', | ||
| 86 | as InstanceOf['Google::Cloud::Automl::V1beta1::Operations::ImportDataOperationMetadata']; | ||
| 87 | |||
| 88 | coerce 'ImportDataOperationMetadata', | ||
| 89 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Operations::ImportDataOperationMetadata'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedImportDataOperationMetadata', | ||
| 92 | as ArrayRef[ImportDataOperationMetadata()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedImportDataOperationMetadata', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Operations::ImportDataOperationMetadata'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringImportDataOperationMetadata', | ||
| 98 | as HashRef[ImportDataOperationMetadata()]; | ||
| 99 | |||
| 100 | declare 'ExportDataOperationMetadata', | ||
| 101 | as InstanceOf['Google::Cloud::Automl::V1beta1::Operations::ExportDataOperationMetadata']; | ||
| 102 | |||
| 103 | coerce 'ExportDataOperationMetadata', | ||
| 104 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Operations::ExportDataOperationMetadata'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedExportDataOperationMetadata', | ||
| 107 | as ArrayRef[ExportDataOperationMetadata()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedExportDataOperationMetadata', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Operations::ExportDataOperationMetadata'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringExportDataOperationMetadata', | ||
| 113 | as HashRef[ExportDataOperationMetadata()]; | ||
| 114 | |||
| 115 | declare 'ExportDataOutputInfo', | ||
| 116 | as InstanceOf['Google::Cloud::Automl::V1beta1::Operations::ExportDataOperationMetadata::ExportDataOutputInfo']; | ||
| 117 | |||
| 118 | coerce 'ExportDataOutputInfo', | ||
| 119 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Operations::ExportDataOperationMetadata::ExportDataOutputInfo'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedExportDataOutputInfo', | ||
| 122 | as ArrayRef[ExportDataOutputInfo()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedExportDataOutputInfo', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Operations::ExportDataOperationMetadata::ExportDataOutputInfo'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringExportDataOutputInfo', | ||
| 128 | as HashRef[ExportDataOutputInfo()]; | ||
| 129 | |||
| 130 | declare 'BatchPredictOperationMetadata', | ||
| 131 | as InstanceOf['Google::Cloud::Automl::V1beta1::Operations::BatchPredictOperationMetadata']; | ||
| 132 | |||
| 133 | coerce 'BatchPredictOperationMetadata', | ||
| 134 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Operations::BatchPredictOperationMetadata'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedBatchPredictOperationMetadata', | ||
| 137 | as ArrayRef[BatchPredictOperationMetadata()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedBatchPredictOperationMetadata', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Operations::BatchPredictOperationMetadata'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringBatchPredictOperationMetadata', | ||
| 143 | as HashRef[BatchPredictOperationMetadata()]; | ||
| 144 | |||
| 145 | declare 'BatchPredictOutputInfo', | ||
| 146 | as InstanceOf['Google::Cloud::Automl::V1beta1::Operations::BatchPredictOperationMetadata::BatchPredictOutputInfo']; | ||
| 147 | |||
| 148 | coerce 'BatchPredictOutputInfo', | ||
| 149 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Operations::BatchPredictOperationMetadata::BatchPredictOutputInfo'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedBatchPredictOutputInfo', | ||
| 152 | as ArrayRef[BatchPredictOutputInfo()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedBatchPredictOutputInfo', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Operations::BatchPredictOperationMetadata::BatchPredictOutputInfo'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringBatchPredictOutputInfo', | ||
| 158 | as HashRef[BatchPredictOutputInfo()]; | ||
| 159 | |||
| 160 | declare 'ExportModelOperationMetadata', | ||
| 161 | as InstanceOf['Google::Cloud::Automl::V1beta1::Operations::ExportModelOperationMetadata']; | ||
| 162 | |||
| 163 | coerce 'ExportModelOperationMetadata', | ||
| 164 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Operations::ExportModelOperationMetadata'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedExportModelOperationMetadata', | ||
| 167 | as ArrayRef[ExportModelOperationMetadata()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedExportModelOperationMetadata', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Operations::ExportModelOperationMetadata'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringExportModelOperationMetadata', | ||
| 173 | as HashRef[ExportModelOperationMetadata()]; | ||
| 174 | |||
| 175 | declare 'ExportModelOutputInfo', | ||
| 176 | as InstanceOf['Google::Cloud::Automl::V1beta1::Operations::ExportModelOperationMetadata::ExportModelOutputInfo']; | ||
| 177 | |||
| 178 | coerce 'ExportModelOutputInfo', | ||
| 179 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Operations::ExportModelOperationMetadata::ExportModelOutputInfo'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedExportModelOutputInfo', | ||
| 182 | as ArrayRef[ExportModelOutputInfo()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedExportModelOutputInfo', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Operations::ExportModelOperationMetadata::ExportModelOutputInfo'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringExportModelOutputInfo', | ||
| 188 | as HashRef[ExportModelOutputInfo()]; | ||
| 189 | |||
| 190 | declare 'ExportEvaluatedExamplesOperationMetadata', | ||
| 191 | as InstanceOf['Google::Cloud::Automl::V1beta1::Operations::ExportEvaluatedExamplesOperationMetadata']; | ||
| 192 | |||
| 193 | coerce 'ExportEvaluatedExamplesOperationMetadata', | ||
| 194 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Operations::ExportEvaluatedExamplesOperationMetadata'->new($_) }; | ||
| 195 | |||
| 196 | declare 'RepeatedExportEvaluatedExamplesOperationMetadata', | ||
| 197 | as ArrayRef[ExportEvaluatedExamplesOperationMetadata()]; | ||
| 198 | |||
| 199 | coerce 'RepeatedExportEvaluatedExamplesOperationMetadata', | ||
| 200 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Operations::ExportEvaluatedExamplesOperationMetadata'->new($_) } @$_ ] }; | ||
| 201 | |||
| 202 | declare 'MapStringExportEvaluatedExamplesOperationMetadata', | ||
| 203 | as HashRef[ExportEvaluatedExamplesOperationMetadata()]; | ||
| 204 | |||
| 205 | declare 'ExportEvaluatedExamplesOutputInfo', | ||
| 206 | as InstanceOf['Google::Cloud::Automl::V1beta1::Operations::ExportEvaluatedExamplesOperationMetadata::ExportEvaluatedExamplesOutputInfo']; | ||
| 207 | |||
| 208 | coerce 'ExportEvaluatedExamplesOutputInfo', | ||
| 209 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Operations::ExportEvaluatedExamplesOperationMetadata::ExportEvaluatedExamplesOutputInfo'->new($_) }; | ||
| 210 | |||
| 211 | declare 'RepeatedExportEvaluatedExamplesOutputInfo', | ||
| 212 | as ArrayRef[ExportEvaluatedExamplesOutputInfo()]; | ||
| 213 | |||
| 214 | coerce 'RepeatedExportEvaluatedExamplesOutputInfo', | ||
| 215 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Operations::ExportEvaluatedExamplesOperationMetadata::ExportEvaluatedExamplesOutputInfo'->new($_) } @$_ ] }; | ||
| 216 | |||
| 217 | declare 'MapStringExportEvaluatedExamplesOutputInfo', | ||
| 218 | as HashRef[ExportEvaluatedExamplesOutputInfo()]; | ||
| 219 | |||
| 220 | 1; | ||
| 221 | |||
| 222 | __END__ |