| 1 | package Google::Cloud::Automl::V1beta1::Service::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 'CreateDatasetRequest', | ||
| 11 | as InstanceOf['Google::Cloud::Automl::V1beta1::Service::CreateDatasetRequest']; | ||
| 12 | |||
| 13 | coerce 'CreateDatasetRequest', | ||
| 14 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Service::CreateDatasetRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedCreateDatasetRequest', | ||
| 17 | as ArrayRef[CreateDatasetRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedCreateDatasetRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Service::CreateDatasetRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringCreateDatasetRequest', | ||
| 23 | as HashRef[CreateDatasetRequest()]; | ||
| 24 | |||
| 25 | declare 'GetDatasetRequest', | ||
| 26 | as InstanceOf['Google::Cloud::Automl::V1beta1::Service::GetDatasetRequest']; | ||
| 27 | |||
| 28 | coerce 'GetDatasetRequest', | ||
| 29 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Service::GetDatasetRequest'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedGetDatasetRequest', | ||
| 32 | as ArrayRef[GetDatasetRequest()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedGetDatasetRequest', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Service::GetDatasetRequest'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringGetDatasetRequest', | ||
| 38 | as HashRef[GetDatasetRequest()]; | ||
| 39 | |||
| 40 | declare 'ListDatasetsRequest', | ||
| 41 | as InstanceOf['Google::Cloud::Automl::V1beta1::Service::ListDatasetsRequest']; | ||
| 42 | |||
| 43 | coerce 'ListDatasetsRequest', | ||
| 44 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Service::ListDatasetsRequest'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedListDatasetsRequest', | ||
| 47 | as ArrayRef[ListDatasetsRequest()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedListDatasetsRequest', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Service::ListDatasetsRequest'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringListDatasetsRequest', | ||
| 53 | as HashRef[ListDatasetsRequest()]; | ||
| 54 | |||
| 55 | declare 'ListDatasetsResponse', | ||
| 56 | as InstanceOf['Google::Cloud::Automl::V1beta1::Service::ListDatasetsResponse']; | ||
| 57 | |||
| 58 | coerce 'ListDatasetsResponse', | ||
| 59 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Service::ListDatasetsResponse'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedListDatasetsResponse', | ||
| 62 | as ArrayRef[ListDatasetsResponse()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedListDatasetsResponse', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Service::ListDatasetsResponse'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringListDatasetsResponse', | ||
| 68 | as HashRef[ListDatasetsResponse()]; | ||
| 69 | |||
| 70 | declare 'UpdateDatasetRequest', | ||
| 71 | as InstanceOf['Google::Cloud::Automl::V1beta1::Service::UpdateDatasetRequest']; | ||
| 72 | |||
| 73 | coerce 'UpdateDatasetRequest', | ||
| 74 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Service::UpdateDatasetRequest'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedUpdateDatasetRequest', | ||
| 77 | as ArrayRef[UpdateDatasetRequest()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedUpdateDatasetRequest', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Service::UpdateDatasetRequest'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringUpdateDatasetRequest', | ||
| 83 | as HashRef[UpdateDatasetRequest()]; | ||
| 84 | |||
| 85 | declare 'DeleteDatasetRequest', | ||
| 86 | as InstanceOf['Google::Cloud::Automl::V1beta1::Service::DeleteDatasetRequest']; | ||
| 87 | |||
| 88 | coerce 'DeleteDatasetRequest', | ||
| 89 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Service::DeleteDatasetRequest'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedDeleteDatasetRequest', | ||
| 92 | as ArrayRef[DeleteDatasetRequest()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedDeleteDatasetRequest', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Service::DeleteDatasetRequest'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringDeleteDatasetRequest', | ||
| 98 | as HashRef[DeleteDatasetRequest()]; | ||
| 99 | |||
| 100 | declare 'ImportDataRequest', | ||
| 101 | as InstanceOf['Google::Cloud::Automl::V1beta1::Service::ImportDataRequest']; | ||
| 102 | |||
| 103 | coerce 'ImportDataRequest', | ||
| 104 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Service::ImportDataRequest'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedImportDataRequest', | ||
| 107 | as ArrayRef[ImportDataRequest()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedImportDataRequest', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Service::ImportDataRequest'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringImportDataRequest', | ||
| 113 | as HashRef[ImportDataRequest()]; | ||
| 114 | |||
| 115 | declare 'ExportDataRequest', | ||
| 116 | as InstanceOf['Google::Cloud::Automl::V1beta1::Service::ExportDataRequest']; | ||
| 117 | |||
| 118 | coerce 'ExportDataRequest', | ||
| 119 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Service::ExportDataRequest'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedExportDataRequest', | ||
| 122 | as ArrayRef[ExportDataRequest()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedExportDataRequest', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Service::ExportDataRequest'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringExportDataRequest', | ||
| 128 | as HashRef[ExportDataRequest()]; | ||
| 129 | |||
| 130 | declare 'GetAnnotationSpecRequest', | ||
| 131 | as InstanceOf['Google::Cloud::Automl::V1beta1::Service::GetAnnotationSpecRequest']; | ||
| 132 | |||
| 133 | coerce 'GetAnnotationSpecRequest', | ||
| 134 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Service::GetAnnotationSpecRequest'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedGetAnnotationSpecRequest', | ||
| 137 | as ArrayRef[GetAnnotationSpecRequest()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedGetAnnotationSpecRequest', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Service::GetAnnotationSpecRequest'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringGetAnnotationSpecRequest', | ||
| 143 | as HashRef[GetAnnotationSpecRequest()]; | ||
| 144 | |||
| 145 | declare 'GetTableSpecRequest', | ||
| 146 | as InstanceOf['Google::Cloud::Automl::V1beta1::Service::GetTableSpecRequest']; | ||
| 147 | |||
| 148 | coerce 'GetTableSpecRequest', | ||
| 149 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Service::GetTableSpecRequest'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedGetTableSpecRequest', | ||
| 152 | as ArrayRef[GetTableSpecRequest()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedGetTableSpecRequest', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Service::GetTableSpecRequest'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringGetTableSpecRequest', | ||
| 158 | as HashRef[GetTableSpecRequest()]; | ||
| 159 | |||
| 160 | declare 'ListTableSpecsRequest', | ||
| 161 | as InstanceOf['Google::Cloud::Automl::V1beta1::Service::ListTableSpecsRequest']; | ||
| 162 | |||
| 163 | coerce 'ListTableSpecsRequest', | ||
| 164 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Service::ListTableSpecsRequest'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedListTableSpecsRequest', | ||
| 167 | as ArrayRef[ListTableSpecsRequest()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedListTableSpecsRequest', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Service::ListTableSpecsRequest'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringListTableSpecsRequest', | ||
| 173 | as HashRef[ListTableSpecsRequest()]; | ||
| 174 | |||
| 175 | declare 'ListTableSpecsResponse', | ||
| 176 | as InstanceOf['Google::Cloud::Automl::V1beta1::Service::ListTableSpecsResponse']; | ||
| 177 | |||
| 178 | coerce 'ListTableSpecsResponse', | ||
| 179 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Service::ListTableSpecsResponse'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedListTableSpecsResponse', | ||
| 182 | as ArrayRef[ListTableSpecsResponse()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedListTableSpecsResponse', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Service::ListTableSpecsResponse'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringListTableSpecsResponse', | ||
| 188 | as HashRef[ListTableSpecsResponse()]; | ||
| 189 | |||
| 190 | declare 'UpdateTableSpecRequest', | ||
| 191 | as InstanceOf['Google::Cloud::Automl::V1beta1::Service::UpdateTableSpecRequest']; | ||
| 192 | |||
| 193 | coerce 'UpdateTableSpecRequest', | ||
| 194 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Service::UpdateTableSpecRequest'->new($_) }; | ||
| 195 | |||
| 196 | declare 'RepeatedUpdateTableSpecRequest', | ||
| 197 | as ArrayRef[UpdateTableSpecRequest()]; | ||
| 198 | |||
| 199 | coerce 'RepeatedUpdateTableSpecRequest', | ||
| 200 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Service::UpdateTableSpecRequest'->new($_) } @$_ ] }; | ||
| 201 | |||
| 202 | declare 'MapStringUpdateTableSpecRequest', | ||
| 203 | as HashRef[UpdateTableSpecRequest()]; | ||
| 204 | |||
| 205 | declare 'GetColumnSpecRequest', | ||
| 206 | as InstanceOf['Google::Cloud::Automl::V1beta1::Service::GetColumnSpecRequest']; | ||
| 207 | |||
| 208 | coerce 'GetColumnSpecRequest', | ||
| 209 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Service::GetColumnSpecRequest'->new($_) }; | ||
| 210 | |||
| 211 | declare 'RepeatedGetColumnSpecRequest', | ||
| 212 | as ArrayRef[GetColumnSpecRequest()]; | ||
| 213 | |||
| 214 | coerce 'RepeatedGetColumnSpecRequest', | ||
| 215 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Service::GetColumnSpecRequest'->new($_) } @$_ ] }; | ||
| 216 | |||
| 217 | declare 'MapStringGetColumnSpecRequest', | ||
| 218 | as HashRef[GetColumnSpecRequest()]; | ||
| 219 | |||
| 220 | declare 'ListColumnSpecsRequest', | ||
| 221 | as InstanceOf['Google::Cloud::Automl::V1beta1::Service::ListColumnSpecsRequest']; | ||
| 222 | |||
| 223 | coerce 'ListColumnSpecsRequest', | ||
| 224 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Service::ListColumnSpecsRequest'->new($_) }; | ||
| 225 | |||
| 226 | declare 'RepeatedListColumnSpecsRequest', | ||
| 227 | as ArrayRef[ListColumnSpecsRequest()]; | ||
| 228 | |||
| 229 | coerce 'RepeatedListColumnSpecsRequest', | ||
| 230 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Service::ListColumnSpecsRequest'->new($_) } @$_ ] }; | ||
| 231 | |||
| 232 | declare 'MapStringListColumnSpecsRequest', | ||
| 233 | as HashRef[ListColumnSpecsRequest()]; | ||
| 234 | |||
| 235 | declare 'ListColumnSpecsResponse', | ||
| 236 | as InstanceOf['Google::Cloud::Automl::V1beta1::Service::ListColumnSpecsResponse']; | ||
| 237 | |||
| 238 | coerce 'ListColumnSpecsResponse', | ||
| 239 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Service::ListColumnSpecsResponse'->new($_) }; | ||
| 240 | |||
| 241 | declare 'RepeatedListColumnSpecsResponse', | ||
| 242 | as ArrayRef[ListColumnSpecsResponse()]; | ||
| 243 | |||
| 244 | coerce 'RepeatedListColumnSpecsResponse', | ||
| 245 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Service::ListColumnSpecsResponse'->new($_) } @$_ ] }; | ||
| 246 | |||
| 247 | declare 'MapStringListColumnSpecsResponse', | ||
| 248 | as HashRef[ListColumnSpecsResponse()]; | ||
| 249 | |||
| 250 | declare 'UpdateColumnSpecRequest', | ||
| 251 | as InstanceOf['Google::Cloud::Automl::V1beta1::Service::UpdateColumnSpecRequest']; | ||
| 252 | |||
| 253 | coerce 'UpdateColumnSpecRequest', | ||
| 254 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Service::UpdateColumnSpecRequest'->new($_) }; | ||
| 255 | |||
| 256 | declare 'RepeatedUpdateColumnSpecRequest', | ||
| 257 | as ArrayRef[UpdateColumnSpecRequest()]; | ||
| 258 | |||
| 259 | coerce 'RepeatedUpdateColumnSpecRequest', | ||
| 260 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Service::UpdateColumnSpecRequest'->new($_) } @$_ ] }; | ||
| 261 | |||
| 262 | declare 'MapStringUpdateColumnSpecRequest', | ||
| 263 | as HashRef[UpdateColumnSpecRequest()]; | ||
| 264 | |||
| 265 | declare 'CreateModelRequest', | ||
| 266 | as InstanceOf['Google::Cloud::Automl::V1beta1::Service::CreateModelRequest']; | ||
| 267 | |||
| 268 | coerce 'CreateModelRequest', | ||
| 269 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Service::CreateModelRequest'->new($_) }; | ||
| 270 | |||
| 271 | declare 'RepeatedCreateModelRequest', | ||
| 272 | as ArrayRef[CreateModelRequest()]; | ||
| 273 | |||
| 274 | coerce 'RepeatedCreateModelRequest', | ||
| 275 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Service::CreateModelRequest'->new($_) } @$_ ] }; | ||
| 276 | |||
| 277 | declare 'MapStringCreateModelRequest', | ||
| 278 | as HashRef[CreateModelRequest()]; | ||
| 279 | |||
| 280 | declare 'GetModelRequest', | ||
| 281 | as InstanceOf['Google::Cloud::Automl::V1beta1::Service::GetModelRequest']; | ||
| 282 | |||
| 283 | coerce 'GetModelRequest', | ||
| 284 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Service::GetModelRequest'->new($_) }; | ||
| 285 | |||
| 286 | declare 'RepeatedGetModelRequest', | ||
| 287 | as ArrayRef[GetModelRequest()]; | ||
| 288 | |||
| 289 | coerce 'RepeatedGetModelRequest', | ||
| 290 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Service::GetModelRequest'->new($_) } @$_ ] }; | ||
| 291 | |||
| 292 | declare 'MapStringGetModelRequest', | ||
| 293 | as HashRef[GetModelRequest()]; | ||
| 294 | |||
| 295 | declare 'ListModelsRequest', | ||
| 296 | as InstanceOf['Google::Cloud::Automl::V1beta1::Service::ListModelsRequest']; | ||
| 297 | |||
| 298 | coerce 'ListModelsRequest', | ||
| 299 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Service::ListModelsRequest'->new($_) }; | ||
| 300 | |||
| 301 | declare 'RepeatedListModelsRequest', | ||
| 302 | as ArrayRef[ListModelsRequest()]; | ||
| 303 | |||
| 304 | coerce 'RepeatedListModelsRequest', | ||
| 305 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Service::ListModelsRequest'->new($_) } @$_ ] }; | ||
| 306 | |||
| 307 | declare 'MapStringListModelsRequest', | ||
| 308 | as HashRef[ListModelsRequest()]; | ||
| 309 | |||
| 310 | declare 'ListModelsResponse', | ||
| 311 | as InstanceOf['Google::Cloud::Automl::V1beta1::Service::ListModelsResponse']; | ||
| 312 | |||
| 313 | coerce 'ListModelsResponse', | ||
| 314 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Service::ListModelsResponse'->new($_) }; | ||
| 315 | |||
| 316 | declare 'RepeatedListModelsResponse', | ||
| 317 | as ArrayRef[ListModelsResponse()]; | ||
| 318 | |||
| 319 | coerce 'RepeatedListModelsResponse', | ||
| 320 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Service::ListModelsResponse'->new($_) } @$_ ] }; | ||
| 321 | |||
| 322 | declare 'MapStringListModelsResponse', | ||
| 323 | as HashRef[ListModelsResponse()]; | ||
| 324 | |||
| 325 | declare 'DeleteModelRequest', | ||
| 326 | as InstanceOf['Google::Cloud::Automl::V1beta1::Service::DeleteModelRequest']; | ||
| 327 | |||
| 328 | coerce 'DeleteModelRequest', | ||
| 329 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Service::DeleteModelRequest'->new($_) }; | ||
| 330 | |||
| 331 | declare 'RepeatedDeleteModelRequest', | ||
| 332 | as ArrayRef[DeleteModelRequest()]; | ||
| 333 | |||
| 334 | coerce 'RepeatedDeleteModelRequest', | ||
| 335 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Service::DeleteModelRequest'->new($_) } @$_ ] }; | ||
| 336 | |||
| 337 | declare 'MapStringDeleteModelRequest', | ||
| 338 | as HashRef[DeleteModelRequest()]; | ||
| 339 | |||
| 340 | declare 'DeployModelRequest', | ||
| 341 | as InstanceOf['Google::Cloud::Automl::V1beta1::Service::DeployModelRequest']; | ||
| 342 | |||
| 343 | coerce 'DeployModelRequest', | ||
| 344 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Service::DeployModelRequest'->new($_) }; | ||
| 345 | |||
| 346 | declare 'RepeatedDeployModelRequest', | ||
| 347 | as ArrayRef[DeployModelRequest()]; | ||
| 348 | |||
| 349 | coerce 'RepeatedDeployModelRequest', | ||
| 350 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Service::DeployModelRequest'->new($_) } @$_ ] }; | ||
| 351 | |||
| 352 | declare 'MapStringDeployModelRequest', | ||
| 353 | as HashRef[DeployModelRequest()]; | ||
| 354 | |||
| 355 | declare 'UndeployModelRequest', | ||
| 356 | as InstanceOf['Google::Cloud::Automl::V1beta1::Service::UndeployModelRequest']; | ||
| 357 | |||
| 358 | coerce 'UndeployModelRequest', | ||
| 359 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Service::UndeployModelRequest'->new($_) }; | ||
| 360 | |||
| 361 | declare 'RepeatedUndeployModelRequest', | ||
| 362 | as ArrayRef[UndeployModelRequest()]; | ||
| 363 | |||
| 364 | coerce 'RepeatedUndeployModelRequest', | ||
| 365 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Service::UndeployModelRequest'->new($_) } @$_ ] }; | ||
| 366 | |||
| 367 | declare 'MapStringUndeployModelRequest', | ||
| 368 | as HashRef[UndeployModelRequest()]; | ||
| 369 | |||
| 370 | declare 'ExportModelRequest', | ||
| 371 | as InstanceOf['Google::Cloud::Automl::V1beta1::Service::ExportModelRequest']; | ||
| 372 | |||
| 373 | coerce 'ExportModelRequest', | ||
| 374 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Service::ExportModelRequest'->new($_) }; | ||
| 375 | |||
| 376 | declare 'RepeatedExportModelRequest', | ||
| 377 | as ArrayRef[ExportModelRequest()]; | ||
| 378 | |||
| 379 | coerce 'RepeatedExportModelRequest', | ||
| 380 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Service::ExportModelRequest'->new($_) } @$_ ] }; | ||
| 381 | |||
| 382 | declare 'MapStringExportModelRequest', | ||
| 383 | as HashRef[ExportModelRequest()]; | ||
| 384 | |||
| 385 | declare 'ExportEvaluatedExamplesRequest', | ||
| 386 | as InstanceOf['Google::Cloud::Automl::V1beta1::Service::ExportEvaluatedExamplesRequest']; | ||
| 387 | |||
| 388 | coerce 'ExportEvaluatedExamplesRequest', | ||
| 389 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Service::ExportEvaluatedExamplesRequest'->new($_) }; | ||
| 390 | |||
| 391 | declare 'RepeatedExportEvaluatedExamplesRequest', | ||
| 392 | as ArrayRef[ExportEvaluatedExamplesRequest()]; | ||
| 393 | |||
| 394 | coerce 'RepeatedExportEvaluatedExamplesRequest', | ||
| 395 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Service::ExportEvaluatedExamplesRequest'->new($_) } @$_ ] }; | ||
| 396 | |||
| 397 | declare 'MapStringExportEvaluatedExamplesRequest', | ||
| 398 | as HashRef[ExportEvaluatedExamplesRequest()]; | ||
| 399 | |||
| 400 | declare 'GetModelEvaluationRequest', | ||
| 401 | as InstanceOf['Google::Cloud::Automl::V1beta1::Service::GetModelEvaluationRequest']; | ||
| 402 | |||
| 403 | coerce 'GetModelEvaluationRequest', | ||
| 404 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Service::GetModelEvaluationRequest'->new($_) }; | ||
| 405 | |||
| 406 | declare 'RepeatedGetModelEvaluationRequest', | ||
| 407 | as ArrayRef[GetModelEvaluationRequest()]; | ||
| 408 | |||
| 409 | coerce 'RepeatedGetModelEvaluationRequest', | ||
| 410 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Service::GetModelEvaluationRequest'->new($_) } @$_ ] }; | ||
| 411 | |||
| 412 | declare 'MapStringGetModelEvaluationRequest', | ||
| 413 | as HashRef[GetModelEvaluationRequest()]; | ||
| 414 | |||
| 415 | declare 'ListModelEvaluationsRequest', | ||
| 416 | as InstanceOf['Google::Cloud::Automl::V1beta1::Service::ListModelEvaluationsRequest']; | ||
| 417 | |||
| 418 | coerce 'ListModelEvaluationsRequest', | ||
| 419 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Service::ListModelEvaluationsRequest'->new($_) }; | ||
| 420 | |||
| 421 | declare 'RepeatedListModelEvaluationsRequest', | ||
| 422 | as ArrayRef[ListModelEvaluationsRequest()]; | ||
| 423 | |||
| 424 | coerce 'RepeatedListModelEvaluationsRequest', | ||
| 425 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Service::ListModelEvaluationsRequest'->new($_) } @$_ ] }; | ||
| 426 | |||
| 427 | declare 'MapStringListModelEvaluationsRequest', | ||
| 428 | as HashRef[ListModelEvaluationsRequest()]; | ||
| 429 | |||
| 430 | declare 'ListModelEvaluationsResponse', | ||
| 431 | as InstanceOf['Google::Cloud::Automl::V1beta1::Service::ListModelEvaluationsResponse']; | ||
| 432 | |||
| 433 | coerce 'ListModelEvaluationsResponse', | ||
| 434 | from HashRef, via { 'Google::Cloud::Automl::V1beta1::Service::ListModelEvaluationsResponse'->new($_) }; | ||
| 435 | |||
| 436 | declare 'RepeatedListModelEvaluationsResponse', | ||
| 437 | as ArrayRef[ListModelEvaluationsResponse()]; | ||
| 438 | |||
| 439 | coerce 'RepeatedListModelEvaluationsResponse', | ||
| 440 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Automl::V1beta1::Service::ListModelEvaluationsResponse'->new($_) } @$_ ] }; | ||
| 441 | |||
| 442 | declare 'MapStringListModelEvaluationsResponse', | ||
| 443 | as HashRef[ListModelEvaluationsResponse()]; | ||
| 444 | |||
| 445 | 1; | ||
| 446 | |||
| 447 | __END__ |