| 1 | package Google::Cloud::Vision::V1::ProductSearchService::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 'Product', | ||
| 11 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::Product']; | ||
| 12 | |||
| 13 | coerce 'Product', | ||
| 14 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::Product'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedProduct', | ||
| 17 | as ArrayRef[Product()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedProduct', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::Product'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringProduct', | ||
| 23 | as HashRef[Product()]; | ||
| 24 | |||
| 25 | declare 'KeyValue', | ||
| 26 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::Product::KeyValue']; | ||
| 27 | |||
| 28 | coerce 'KeyValue', | ||
| 29 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::Product::KeyValue'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedKeyValue', | ||
| 32 | as ArrayRef[KeyValue()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedKeyValue', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::Product::KeyValue'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringKeyValue', | ||
| 38 | as HashRef[KeyValue()]; | ||
| 39 | |||
| 40 | declare 'ProductSet', | ||
| 41 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::ProductSet']; | ||
| 42 | |||
| 43 | coerce 'ProductSet', | ||
| 44 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::ProductSet'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedProductSet', | ||
| 47 | as ArrayRef[ProductSet()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedProductSet', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::ProductSet'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringProductSet', | ||
| 53 | as HashRef[ProductSet()]; | ||
| 54 | |||
| 55 | declare 'ReferenceImage', | ||
| 56 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::ReferenceImage']; | ||
| 57 | |||
| 58 | coerce 'ReferenceImage', | ||
| 59 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::ReferenceImage'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedReferenceImage', | ||
| 62 | as ArrayRef[ReferenceImage()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedReferenceImage', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::ReferenceImage'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringReferenceImage', | ||
| 68 | as HashRef[ReferenceImage()]; | ||
| 69 | |||
| 70 | declare 'CreateProductRequest', | ||
| 71 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::CreateProductRequest']; | ||
| 72 | |||
| 73 | coerce 'CreateProductRequest', | ||
| 74 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::CreateProductRequest'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedCreateProductRequest', | ||
| 77 | as ArrayRef[CreateProductRequest()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedCreateProductRequest', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::CreateProductRequest'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringCreateProductRequest', | ||
| 83 | as HashRef[CreateProductRequest()]; | ||
| 84 | |||
| 85 | declare 'ListProductsRequest', | ||
| 86 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::ListProductsRequest']; | ||
| 87 | |||
| 88 | coerce 'ListProductsRequest', | ||
| 89 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::ListProductsRequest'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedListProductsRequest', | ||
| 92 | as ArrayRef[ListProductsRequest()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedListProductsRequest', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::ListProductsRequest'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringListProductsRequest', | ||
| 98 | as HashRef[ListProductsRequest()]; | ||
| 99 | |||
| 100 | declare 'ListProductsResponse', | ||
| 101 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::ListProductsResponse']; | ||
| 102 | |||
| 103 | coerce 'ListProductsResponse', | ||
| 104 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::ListProductsResponse'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedListProductsResponse', | ||
| 107 | as ArrayRef[ListProductsResponse()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedListProductsResponse', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::ListProductsResponse'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringListProductsResponse', | ||
| 113 | as HashRef[ListProductsResponse()]; | ||
| 114 | |||
| 115 | declare 'GetProductRequest', | ||
| 116 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::GetProductRequest']; | ||
| 117 | |||
| 118 | coerce 'GetProductRequest', | ||
| 119 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::GetProductRequest'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedGetProductRequest', | ||
| 122 | as ArrayRef[GetProductRequest()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedGetProductRequest', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::GetProductRequest'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringGetProductRequest', | ||
| 128 | as HashRef[GetProductRequest()]; | ||
| 129 | |||
| 130 | declare 'UpdateProductRequest', | ||
| 131 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::UpdateProductRequest']; | ||
| 132 | |||
| 133 | coerce 'UpdateProductRequest', | ||
| 134 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::UpdateProductRequest'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedUpdateProductRequest', | ||
| 137 | as ArrayRef[UpdateProductRequest()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedUpdateProductRequest', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::UpdateProductRequest'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringUpdateProductRequest', | ||
| 143 | as HashRef[UpdateProductRequest()]; | ||
| 144 | |||
| 145 | declare 'DeleteProductRequest', | ||
| 146 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::DeleteProductRequest']; | ||
| 147 | |||
| 148 | coerce 'DeleteProductRequest', | ||
| 149 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::DeleteProductRequest'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedDeleteProductRequest', | ||
| 152 | as ArrayRef[DeleteProductRequest()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedDeleteProductRequest', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::DeleteProductRequest'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringDeleteProductRequest', | ||
| 158 | as HashRef[DeleteProductRequest()]; | ||
| 159 | |||
| 160 | declare 'CreateProductSetRequest', | ||
| 161 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::CreateProductSetRequest']; | ||
| 162 | |||
| 163 | coerce 'CreateProductSetRequest', | ||
| 164 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::CreateProductSetRequest'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedCreateProductSetRequest', | ||
| 167 | as ArrayRef[CreateProductSetRequest()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedCreateProductSetRequest', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::CreateProductSetRequest'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringCreateProductSetRequest', | ||
| 173 | as HashRef[CreateProductSetRequest()]; | ||
| 174 | |||
| 175 | declare 'ListProductSetsRequest', | ||
| 176 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::ListProductSetsRequest']; | ||
| 177 | |||
| 178 | coerce 'ListProductSetsRequest', | ||
| 179 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::ListProductSetsRequest'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedListProductSetsRequest', | ||
| 182 | as ArrayRef[ListProductSetsRequest()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedListProductSetsRequest', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::ListProductSetsRequest'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringListProductSetsRequest', | ||
| 188 | as HashRef[ListProductSetsRequest()]; | ||
| 189 | |||
| 190 | declare 'ListProductSetsResponse', | ||
| 191 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::ListProductSetsResponse']; | ||
| 192 | |||
| 193 | coerce 'ListProductSetsResponse', | ||
| 194 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::ListProductSetsResponse'->new($_) }; | ||
| 195 | |||
| 196 | declare 'RepeatedListProductSetsResponse', | ||
| 197 | as ArrayRef[ListProductSetsResponse()]; | ||
| 198 | |||
| 199 | coerce 'RepeatedListProductSetsResponse', | ||
| 200 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::ListProductSetsResponse'->new($_) } @$_ ] }; | ||
| 201 | |||
| 202 | declare 'MapStringListProductSetsResponse', | ||
| 203 | as HashRef[ListProductSetsResponse()]; | ||
| 204 | |||
| 205 | declare 'GetProductSetRequest', | ||
| 206 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::GetProductSetRequest']; | ||
| 207 | |||
| 208 | coerce 'GetProductSetRequest', | ||
| 209 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::GetProductSetRequest'->new($_) }; | ||
| 210 | |||
| 211 | declare 'RepeatedGetProductSetRequest', | ||
| 212 | as ArrayRef[GetProductSetRequest()]; | ||
| 213 | |||
| 214 | coerce 'RepeatedGetProductSetRequest', | ||
| 215 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::GetProductSetRequest'->new($_) } @$_ ] }; | ||
| 216 | |||
| 217 | declare 'MapStringGetProductSetRequest', | ||
| 218 | as HashRef[GetProductSetRequest()]; | ||
| 219 | |||
| 220 | declare 'UpdateProductSetRequest', | ||
| 221 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::UpdateProductSetRequest']; | ||
| 222 | |||
| 223 | coerce 'UpdateProductSetRequest', | ||
| 224 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::UpdateProductSetRequest'->new($_) }; | ||
| 225 | |||
| 226 | declare 'RepeatedUpdateProductSetRequest', | ||
| 227 | as ArrayRef[UpdateProductSetRequest()]; | ||
| 228 | |||
| 229 | coerce 'RepeatedUpdateProductSetRequest', | ||
| 230 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::UpdateProductSetRequest'->new($_) } @$_ ] }; | ||
| 231 | |||
| 232 | declare 'MapStringUpdateProductSetRequest', | ||
| 233 | as HashRef[UpdateProductSetRequest()]; | ||
| 234 | |||
| 235 | declare 'DeleteProductSetRequest', | ||
| 236 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::DeleteProductSetRequest']; | ||
| 237 | |||
| 238 | coerce 'DeleteProductSetRequest', | ||
| 239 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::DeleteProductSetRequest'->new($_) }; | ||
| 240 | |||
| 241 | declare 'RepeatedDeleteProductSetRequest', | ||
| 242 | as ArrayRef[DeleteProductSetRequest()]; | ||
| 243 | |||
| 244 | coerce 'RepeatedDeleteProductSetRequest', | ||
| 245 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::DeleteProductSetRequest'->new($_) } @$_ ] }; | ||
| 246 | |||
| 247 | declare 'MapStringDeleteProductSetRequest', | ||
| 248 | as HashRef[DeleteProductSetRequest()]; | ||
| 249 | |||
| 250 | declare 'CreateReferenceImageRequest', | ||
| 251 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::CreateReferenceImageRequest']; | ||
| 252 | |||
| 253 | coerce 'CreateReferenceImageRequest', | ||
| 254 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::CreateReferenceImageRequest'->new($_) }; | ||
| 255 | |||
| 256 | declare 'RepeatedCreateReferenceImageRequest', | ||
| 257 | as ArrayRef[CreateReferenceImageRequest()]; | ||
| 258 | |||
| 259 | coerce 'RepeatedCreateReferenceImageRequest', | ||
| 260 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::CreateReferenceImageRequest'->new($_) } @$_ ] }; | ||
| 261 | |||
| 262 | declare 'MapStringCreateReferenceImageRequest', | ||
| 263 | as HashRef[CreateReferenceImageRequest()]; | ||
| 264 | |||
| 265 | declare 'ListReferenceImagesRequest', | ||
| 266 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::ListReferenceImagesRequest']; | ||
| 267 | |||
| 268 | coerce 'ListReferenceImagesRequest', | ||
| 269 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::ListReferenceImagesRequest'->new($_) }; | ||
| 270 | |||
| 271 | declare 'RepeatedListReferenceImagesRequest', | ||
| 272 | as ArrayRef[ListReferenceImagesRequest()]; | ||
| 273 | |||
| 274 | coerce 'RepeatedListReferenceImagesRequest', | ||
| 275 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::ListReferenceImagesRequest'->new($_) } @$_ ] }; | ||
| 276 | |||
| 277 | declare 'MapStringListReferenceImagesRequest', | ||
| 278 | as HashRef[ListReferenceImagesRequest()]; | ||
| 279 | |||
| 280 | declare 'ListReferenceImagesResponse', | ||
| 281 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::ListReferenceImagesResponse']; | ||
| 282 | |||
| 283 | coerce 'ListReferenceImagesResponse', | ||
| 284 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::ListReferenceImagesResponse'->new($_) }; | ||
| 285 | |||
| 286 | declare 'RepeatedListReferenceImagesResponse', | ||
| 287 | as ArrayRef[ListReferenceImagesResponse()]; | ||
| 288 | |||
| 289 | coerce 'RepeatedListReferenceImagesResponse', | ||
| 290 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::ListReferenceImagesResponse'->new($_) } @$_ ] }; | ||
| 291 | |||
| 292 | declare 'MapStringListReferenceImagesResponse', | ||
| 293 | as HashRef[ListReferenceImagesResponse()]; | ||
| 294 | |||
| 295 | declare 'GetReferenceImageRequest', | ||
| 296 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::GetReferenceImageRequest']; | ||
| 297 | |||
| 298 | coerce 'GetReferenceImageRequest', | ||
| 299 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::GetReferenceImageRequest'->new($_) }; | ||
| 300 | |||
| 301 | declare 'RepeatedGetReferenceImageRequest', | ||
| 302 | as ArrayRef[GetReferenceImageRequest()]; | ||
| 303 | |||
| 304 | coerce 'RepeatedGetReferenceImageRequest', | ||
| 305 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::GetReferenceImageRequest'->new($_) } @$_ ] }; | ||
| 306 | |||
| 307 | declare 'MapStringGetReferenceImageRequest', | ||
| 308 | as HashRef[GetReferenceImageRequest()]; | ||
| 309 | |||
| 310 | declare 'DeleteReferenceImageRequest', | ||
| 311 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::DeleteReferenceImageRequest']; | ||
| 312 | |||
| 313 | coerce 'DeleteReferenceImageRequest', | ||
| 314 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::DeleteReferenceImageRequest'->new($_) }; | ||
| 315 | |||
| 316 | declare 'RepeatedDeleteReferenceImageRequest', | ||
| 317 | as ArrayRef[DeleteReferenceImageRequest()]; | ||
| 318 | |||
| 319 | coerce 'RepeatedDeleteReferenceImageRequest', | ||
| 320 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::DeleteReferenceImageRequest'->new($_) } @$_ ] }; | ||
| 321 | |||
| 322 | declare 'MapStringDeleteReferenceImageRequest', | ||
| 323 | as HashRef[DeleteReferenceImageRequest()]; | ||
| 324 | |||
| 325 | declare 'AddProductToProductSetRequest', | ||
| 326 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::AddProductToProductSetRequest']; | ||
| 327 | |||
| 328 | coerce 'AddProductToProductSetRequest', | ||
| 329 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::AddProductToProductSetRequest'->new($_) }; | ||
| 330 | |||
| 331 | declare 'RepeatedAddProductToProductSetRequest', | ||
| 332 | as ArrayRef[AddProductToProductSetRequest()]; | ||
| 333 | |||
| 334 | coerce 'RepeatedAddProductToProductSetRequest', | ||
| 335 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::AddProductToProductSetRequest'->new($_) } @$_ ] }; | ||
| 336 | |||
| 337 | declare 'MapStringAddProductToProductSetRequest', | ||
| 338 | as HashRef[AddProductToProductSetRequest()]; | ||
| 339 | |||
| 340 | declare 'RemoveProductFromProductSetRequest', | ||
| 341 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::RemoveProductFromProductSetRequest']; | ||
| 342 | |||
| 343 | coerce 'RemoveProductFromProductSetRequest', | ||
| 344 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::RemoveProductFromProductSetRequest'->new($_) }; | ||
| 345 | |||
| 346 | declare 'RepeatedRemoveProductFromProductSetRequest', | ||
| 347 | as ArrayRef[RemoveProductFromProductSetRequest()]; | ||
| 348 | |||
| 349 | coerce 'RepeatedRemoveProductFromProductSetRequest', | ||
| 350 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::RemoveProductFromProductSetRequest'->new($_) } @$_ ] }; | ||
| 351 | |||
| 352 | declare 'MapStringRemoveProductFromProductSetRequest', | ||
| 353 | as HashRef[RemoveProductFromProductSetRequest()]; | ||
| 354 | |||
| 355 | declare 'ListProductsInProductSetRequest', | ||
| 356 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::ListProductsInProductSetRequest']; | ||
| 357 | |||
| 358 | coerce 'ListProductsInProductSetRequest', | ||
| 359 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::ListProductsInProductSetRequest'->new($_) }; | ||
| 360 | |||
| 361 | declare 'RepeatedListProductsInProductSetRequest', | ||
| 362 | as ArrayRef[ListProductsInProductSetRequest()]; | ||
| 363 | |||
| 364 | coerce 'RepeatedListProductsInProductSetRequest', | ||
| 365 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::ListProductsInProductSetRequest'->new($_) } @$_ ] }; | ||
| 366 | |||
| 367 | declare 'MapStringListProductsInProductSetRequest', | ||
| 368 | as HashRef[ListProductsInProductSetRequest()]; | ||
| 369 | |||
| 370 | declare 'ListProductsInProductSetResponse', | ||
| 371 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::ListProductsInProductSetResponse']; | ||
| 372 | |||
| 373 | coerce 'ListProductsInProductSetResponse', | ||
| 374 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::ListProductsInProductSetResponse'->new($_) }; | ||
| 375 | |||
| 376 | declare 'RepeatedListProductsInProductSetResponse', | ||
| 377 | as ArrayRef[ListProductsInProductSetResponse()]; | ||
| 378 | |||
| 379 | coerce 'RepeatedListProductsInProductSetResponse', | ||
| 380 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::ListProductsInProductSetResponse'->new($_) } @$_ ] }; | ||
| 381 | |||
| 382 | declare 'MapStringListProductsInProductSetResponse', | ||
| 383 | as HashRef[ListProductsInProductSetResponse()]; | ||
| 384 | |||
| 385 | declare 'ImportProductSetsGcsSource', | ||
| 386 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::ImportProductSetsGcsSource']; | ||
| 387 | |||
| 388 | coerce 'ImportProductSetsGcsSource', | ||
| 389 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::ImportProductSetsGcsSource'->new($_) }; | ||
| 390 | |||
| 391 | declare 'RepeatedImportProductSetsGcsSource', | ||
| 392 | as ArrayRef[ImportProductSetsGcsSource()]; | ||
| 393 | |||
| 394 | coerce 'RepeatedImportProductSetsGcsSource', | ||
| 395 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::ImportProductSetsGcsSource'->new($_) } @$_ ] }; | ||
| 396 | |||
| 397 | declare 'MapStringImportProductSetsGcsSource', | ||
| 398 | as HashRef[ImportProductSetsGcsSource()]; | ||
| 399 | |||
| 400 | declare 'ImportProductSetsInputConfig', | ||
| 401 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::ImportProductSetsInputConfig']; | ||
| 402 | |||
| 403 | coerce 'ImportProductSetsInputConfig', | ||
| 404 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::ImportProductSetsInputConfig'->new($_) }; | ||
| 405 | |||
| 406 | declare 'RepeatedImportProductSetsInputConfig', | ||
| 407 | as ArrayRef[ImportProductSetsInputConfig()]; | ||
| 408 | |||
| 409 | coerce 'RepeatedImportProductSetsInputConfig', | ||
| 410 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::ImportProductSetsInputConfig'->new($_) } @$_ ] }; | ||
| 411 | |||
| 412 | declare 'MapStringImportProductSetsInputConfig', | ||
| 413 | as HashRef[ImportProductSetsInputConfig()]; | ||
| 414 | |||
| 415 | declare 'ImportProductSetsRequest', | ||
| 416 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::ImportProductSetsRequest']; | ||
| 417 | |||
| 418 | coerce 'ImportProductSetsRequest', | ||
| 419 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::ImportProductSetsRequest'->new($_) }; | ||
| 420 | |||
| 421 | declare 'RepeatedImportProductSetsRequest', | ||
| 422 | as ArrayRef[ImportProductSetsRequest()]; | ||
| 423 | |||
| 424 | coerce 'RepeatedImportProductSetsRequest', | ||
| 425 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::ImportProductSetsRequest'->new($_) } @$_ ] }; | ||
| 426 | |||
| 427 | declare 'MapStringImportProductSetsRequest', | ||
| 428 | as HashRef[ImportProductSetsRequest()]; | ||
| 429 | |||
| 430 | declare 'ImportProductSetsResponse', | ||
| 431 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::ImportProductSetsResponse']; | ||
| 432 | |||
| 433 | coerce 'ImportProductSetsResponse', | ||
| 434 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::ImportProductSetsResponse'->new($_) }; | ||
| 435 | |||
| 436 | declare 'RepeatedImportProductSetsResponse', | ||
| 437 | as ArrayRef[ImportProductSetsResponse()]; | ||
| 438 | |||
| 439 | coerce 'RepeatedImportProductSetsResponse', | ||
| 440 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::ImportProductSetsResponse'->new($_) } @$_ ] }; | ||
| 441 | |||
| 442 | declare 'MapStringImportProductSetsResponse', | ||
| 443 | as HashRef[ImportProductSetsResponse()]; | ||
| 444 | |||
| 445 | declare 'BatchOperationMetadata', | ||
| 446 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::BatchOperationMetadata']; | ||
| 447 | |||
| 448 | coerce 'BatchOperationMetadata', | ||
| 449 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::BatchOperationMetadata'->new($_) }; | ||
| 450 | |||
| 451 | declare 'RepeatedBatchOperationMetadata', | ||
| 452 | as ArrayRef[BatchOperationMetadata()]; | ||
| 453 | |||
| 454 | coerce 'RepeatedBatchOperationMetadata', | ||
| 455 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::BatchOperationMetadata'->new($_) } @$_ ] }; | ||
| 456 | |||
| 457 | declare 'MapStringBatchOperationMetadata', | ||
| 458 | as HashRef[BatchOperationMetadata()]; | ||
| 459 | |||
| 460 | declare 'State', | ||
| 461 | as (Int | Str); | ||
| 462 | |||
| 463 | declare 'ProductSetPurgeConfig', | ||
| 464 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::ProductSetPurgeConfig']; | ||
| 465 | |||
| 466 | coerce 'ProductSetPurgeConfig', | ||
| 467 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::ProductSetPurgeConfig'->new($_) }; | ||
| 468 | |||
| 469 | declare 'RepeatedProductSetPurgeConfig', | ||
| 470 | as ArrayRef[ProductSetPurgeConfig()]; | ||
| 471 | |||
| 472 | coerce 'RepeatedProductSetPurgeConfig', | ||
| 473 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::ProductSetPurgeConfig'->new($_) } @$_ ] }; | ||
| 474 | |||
| 475 | declare 'MapStringProductSetPurgeConfig', | ||
| 476 | as HashRef[ProductSetPurgeConfig()]; | ||
| 477 | |||
| 478 | declare 'PurgeProductsRequest', | ||
| 479 | as InstanceOf['Google::Cloud::Vision::V1::ProductSearchService::PurgeProductsRequest']; | ||
| 480 | |||
| 481 | coerce 'PurgeProductsRequest', | ||
| 482 | from HashRef, via { 'Google::Cloud::Vision::V1::ProductSearchService::PurgeProductsRequest'->new($_) }; | ||
| 483 | |||
| 484 | declare 'RepeatedPurgeProductsRequest', | ||
| 485 | as ArrayRef[PurgeProductsRequest()]; | ||
| 486 | |||
| 487 | coerce 'RepeatedPurgeProductsRequest', | ||
| 488 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vision::V1::ProductSearchService::PurgeProductsRequest'->new($_) } @$_ ] }; | ||
| 489 | |||
| 490 | declare 'MapStringPurgeProductsRequest', | ||
| 491 | as HashRef[PurgeProductsRequest()]; | ||
| 492 | |||
| 493 | 1; | ||
| 494 | |||
| 495 | __END__ |