| 1 | package Google::Cloud::Visionai::V1::Warehouse::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 'FacetBucketType', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'CreateAssetRequest', | ||
| 14 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::CreateAssetRequest']; | ||
| 15 | |||
| 16 | coerce 'CreateAssetRequest', | ||
| 17 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::CreateAssetRequest'->new($_) }; | ||
| 18 | |||
| 19 | declare 'RepeatedCreateAssetRequest', | ||
| 20 | as ArrayRef[CreateAssetRequest()]; | ||
| 21 | |||
| 22 | coerce 'RepeatedCreateAssetRequest', | ||
| 23 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::CreateAssetRequest'->new($_) } @$_ ] }; | ||
| 24 | |||
| 25 | declare 'MapStringCreateAssetRequest', | ||
| 26 | as HashRef[CreateAssetRequest()]; | ||
| 27 | |||
| 28 | declare 'GetAssetRequest', | ||
| 29 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::GetAssetRequest']; | ||
| 30 | |||
| 31 | coerce 'GetAssetRequest', | ||
| 32 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::GetAssetRequest'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedGetAssetRequest', | ||
| 35 | as ArrayRef[GetAssetRequest()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedGetAssetRequest', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::GetAssetRequest'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringGetAssetRequest', | ||
| 41 | as HashRef[GetAssetRequest()]; | ||
| 42 | |||
| 43 | declare 'ListAssetsRequest', | ||
| 44 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::ListAssetsRequest']; | ||
| 45 | |||
| 46 | coerce 'ListAssetsRequest', | ||
| 47 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::ListAssetsRequest'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedListAssetsRequest', | ||
| 50 | as ArrayRef[ListAssetsRequest()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedListAssetsRequest', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::ListAssetsRequest'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringListAssetsRequest', | ||
| 56 | as HashRef[ListAssetsRequest()]; | ||
| 57 | |||
| 58 | declare 'ListAssetsResponse', | ||
| 59 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::ListAssetsResponse']; | ||
| 60 | |||
| 61 | coerce 'ListAssetsResponse', | ||
| 62 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::ListAssetsResponse'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedListAssetsResponse', | ||
| 65 | as ArrayRef[ListAssetsResponse()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedListAssetsResponse', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::ListAssetsResponse'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringListAssetsResponse', | ||
| 71 | as HashRef[ListAssetsResponse()]; | ||
| 72 | |||
| 73 | declare 'UpdateAssetRequest', | ||
| 74 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::UpdateAssetRequest']; | ||
| 75 | |||
| 76 | coerce 'UpdateAssetRequest', | ||
| 77 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::UpdateAssetRequest'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedUpdateAssetRequest', | ||
| 80 | as ArrayRef[UpdateAssetRequest()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedUpdateAssetRequest', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::UpdateAssetRequest'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringUpdateAssetRequest', | ||
| 86 | as HashRef[UpdateAssetRequest()]; | ||
| 87 | |||
| 88 | declare 'DeleteAssetRequest', | ||
| 89 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::DeleteAssetRequest']; | ||
| 90 | |||
| 91 | coerce 'DeleteAssetRequest', | ||
| 92 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::DeleteAssetRequest'->new($_) }; | ||
| 93 | |||
| 94 | declare 'RepeatedDeleteAssetRequest', | ||
| 95 | as ArrayRef[DeleteAssetRequest()]; | ||
| 96 | |||
| 97 | coerce 'RepeatedDeleteAssetRequest', | ||
| 98 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::DeleteAssetRequest'->new($_) } @$_ ] }; | ||
| 99 | |||
| 100 | declare 'MapStringDeleteAssetRequest', | ||
| 101 | as HashRef[DeleteAssetRequest()]; | ||
| 102 | |||
| 103 | declare 'AssetSource', | ||
| 104 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::AssetSource']; | ||
| 105 | |||
| 106 | coerce 'AssetSource', | ||
| 107 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::AssetSource'->new($_) }; | ||
| 108 | |||
| 109 | declare 'RepeatedAssetSource', | ||
| 110 | as ArrayRef[AssetSource()]; | ||
| 111 | |||
| 112 | coerce 'RepeatedAssetSource', | ||
| 113 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::AssetSource'->new($_) } @$_ ] }; | ||
| 114 | |||
| 115 | declare 'MapStringAssetSource', | ||
| 116 | as HashRef[AssetSource()]; | ||
| 117 | |||
| 118 | declare 'AssetGcsSource', | ||
| 119 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::AssetSource::AssetGcsSource']; | ||
| 120 | |||
| 121 | coerce 'AssetGcsSource', | ||
| 122 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::AssetSource::AssetGcsSource'->new($_) }; | ||
| 123 | |||
| 124 | declare 'RepeatedAssetGcsSource', | ||
| 125 | as ArrayRef[AssetGcsSource()]; | ||
| 126 | |||
| 127 | coerce 'RepeatedAssetGcsSource', | ||
| 128 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::AssetSource::AssetGcsSource'->new($_) } @$_ ] }; | ||
| 129 | |||
| 130 | declare 'MapStringAssetGcsSource', | ||
| 131 | as HashRef[AssetGcsSource()]; | ||
| 132 | |||
| 133 | declare 'AssetContentData', | ||
| 134 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::AssetSource::AssetContentData']; | ||
| 135 | |||
| 136 | coerce 'AssetContentData', | ||
| 137 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::AssetSource::AssetContentData'->new($_) }; | ||
| 138 | |||
| 139 | declare 'RepeatedAssetContentData', | ||
| 140 | as ArrayRef[AssetContentData()]; | ||
| 141 | |||
| 142 | coerce 'RepeatedAssetContentData', | ||
| 143 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::AssetSource::AssetContentData'->new($_) } @$_ ] }; | ||
| 144 | |||
| 145 | declare 'MapStringAssetContentData', | ||
| 146 | as HashRef[AssetContentData()]; | ||
| 147 | |||
| 148 | declare 'UploadAssetRequest', | ||
| 149 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::UploadAssetRequest']; | ||
| 150 | |||
| 151 | coerce 'UploadAssetRequest', | ||
| 152 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::UploadAssetRequest'->new($_) }; | ||
| 153 | |||
| 154 | declare 'RepeatedUploadAssetRequest', | ||
| 155 | as ArrayRef[UploadAssetRequest()]; | ||
| 156 | |||
| 157 | coerce 'RepeatedUploadAssetRequest', | ||
| 158 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::UploadAssetRequest'->new($_) } @$_ ] }; | ||
| 159 | |||
| 160 | declare 'MapStringUploadAssetRequest', | ||
| 161 | as HashRef[UploadAssetRequest()]; | ||
| 162 | |||
| 163 | declare 'UploadAssetResponse', | ||
| 164 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::UploadAssetResponse']; | ||
| 165 | |||
| 166 | coerce 'UploadAssetResponse', | ||
| 167 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::UploadAssetResponse'->new($_) }; | ||
| 168 | |||
| 169 | declare 'RepeatedUploadAssetResponse', | ||
| 170 | as ArrayRef[UploadAssetResponse()]; | ||
| 171 | |||
| 172 | coerce 'RepeatedUploadAssetResponse', | ||
| 173 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::UploadAssetResponse'->new($_) } @$_ ] }; | ||
| 174 | |||
| 175 | declare 'MapStringUploadAssetResponse', | ||
| 176 | as HashRef[UploadAssetResponse()]; | ||
| 177 | |||
| 178 | declare 'UploadAssetMetadata', | ||
| 179 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::UploadAssetMetadata']; | ||
| 180 | |||
| 181 | coerce 'UploadAssetMetadata', | ||
| 182 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::UploadAssetMetadata'->new($_) }; | ||
| 183 | |||
| 184 | declare 'RepeatedUploadAssetMetadata', | ||
| 185 | as ArrayRef[UploadAssetMetadata()]; | ||
| 186 | |||
| 187 | coerce 'RepeatedUploadAssetMetadata', | ||
| 188 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::UploadAssetMetadata'->new($_) } @$_ ] }; | ||
| 189 | |||
| 190 | declare 'MapStringUploadAssetMetadata', | ||
| 191 | as HashRef[UploadAssetMetadata()]; | ||
| 192 | |||
| 193 | declare 'GenerateRetrievalUrlRequest', | ||
| 194 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::GenerateRetrievalUrlRequest']; | ||
| 195 | |||
| 196 | coerce 'GenerateRetrievalUrlRequest', | ||
| 197 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::GenerateRetrievalUrlRequest'->new($_) }; | ||
| 198 | |||
| 199 | declare 'RepeatedGenerateRetrievalUrlRequest', | ||
| 200 | as ArrayRef[GenerateRetrievalUrlRequest()]; | ||
| 201 | |||
| 202 | coerce 'RepeatedGenerateRetrievalUrlRequest', | ||
| 203 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::GenerateRetrievalUrlRequest'->new($_) } @$_ ] }; | ||
| 204 | |||
| 205 | declare 'MapStringGenerateRetrievalUrlRequest', | ||
| 206 | as HashRef[GenerateRetrievalUrlRequest()]; | ||
| 207 | |||
| 208 | declare 'GenerateRetrievalUrlResponse', | ||
| 209 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::GenerateRetrievalUrlResponse']; | ||
| 210 | |||
| 211 | coerce 'GenerateRetrievalUrlResponse', | ||
| 212 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::GenerateRetrievalUrlResponse'->new($_) }; | ||
| 213 | |||
| 214 | declare 'RepeatedGenerateRetrievalUrlResponse', | ||
| 215 | as ArrayRef[GenerateRetrievalUrlResponse()]; | ||
| 216 | |||
| 217 | coerce 'RepeatedGenerateRetrievalUrlResponse', | ||
| 218 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::GenerateRetrievalUrlResponse'->new($_) } @$_ ] }; | ||
| 219 | |||
| 220 | declare 'MapStringGenerateRetrievalUrlResponse', | ||
| 221 | as HashRef[GenerateRetrievalUrlResponse()]; | ||
| 222 | |||
| 223 | declare 'Asset', | ||
| 224 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::Asset']; | ||
| 225 | |||
| 226 | coerce 'Asset', | ||
| 227 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::Asset'->new($_) }; | ||
| 228 | |||
| 229 | declare 'RepeatedAsset', | ||
| 230 | as ArrayRef[Asset()]; | ||
| 231 | |||
| 232 | coerce 'RepeatedAsset', | ||
| 233 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::Asset'->new($_) } @$_ ] }; | ||
| 234 | |||
| 235 | declare 'MapStringAsset', | ||
| 236 | as HashRef[Asset()]; | ||
| 237 | |||
| 238 | declare 'AnalyzeAssetRequest', | ||
| 239 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::AnalyzeAssetRequest']; | ||
| 240 | |||
| 241 | coerce 'AnalyzeAssetRequest', | ||
| 242 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::AnalyzeAssetRequest'->new($_) }; | ||
| 243 | |||
| 244 | declare 'RepeatedAnalyzeAssetRequest', | ||
| 245 | as ArrayRef[AnalyzeAssetRequest()]; | ||
| 246 | |||
| 247 | coerce 'RepeatedAnalyzeAssetRequest', | ||
| 248 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::AnalyzeAssetRequest'->new($_) } @$_ ] }; | ||
| 249 | |||
| 250 | declare 'MapStringAnalyzeAssetRequest', | ||
| 251 | as HashRef[AnalyzeAssetRequest()]; | ||
| 252 | |||
| 253 | declare 'AnalyzeAssetMetadata', | ||
| 254 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::AnalyzeAssetMetadata']; | ||
| 255 | |||
| 256 | coerce 'AnalyzeAssetMetadata', | ||
| 257 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::AnalyzeAssetMetadata'->new($_) }; | ||
| 258 | |||
| 259 | declare 'RepeatedAnalyzeAssetMetadata', | ||
| 260 | as ArrayRef[AnalyzeAssetMetadata()]; | ||
| 261 | |||
| 262 | coerce 'RepeatedAnalyzeAssetMetadata', | ||
| 263 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::AnalyzeAssetMetadata'->new($_) } @$_ ] }; | ||
| 264 | |||
| 265 | declare 'MapStringAnalyzeAssetMetadata', | ||
| 266 | as HashRef[AnalyzeAssetMetadata()]; | ||
| 267 | |||
| 268 | declare 'AnalysisStatus', | ||
| 269 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::AnalyzeAssetMetadata::AnalysisStatus']; | ||
| 270 | |||
| 271 | coerce 'AnalysisStatus', | ||
| 272 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::AnalyzeAssetMetadata::AnalysisStatus'->new($_) }; | ||
| 273 | |||
| 274 | declare 'RepeatedAnalysisStatus', | ||
| 275 | as ArrayRef[AnalysisStatus()]; | ||
| 276 | |||
| 277 | coerce 'RepeatedAnalysisStatus', | ||
| 278 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::AnalyzeAssetMetadata::AnalysisStatus'->new($_) } @$_ ] }; | ||
| 279 | |||
| 280 | declare 'MapStringAnalysisStatus', | ||
| 281 | as HashRef[AnalysisStatus()]; | ||
| 282 | |||
| 283 | declare 'State', | ||
| 284 | as (Int | Str); | ||
| 285 | |||
| 286 | declare 'AnalyzeAssetResponse', | ||
| 287 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::AnalyzeAssetResponse']; | ||
| 288 | |||
| 289 | coerce 'AnalyzeAssetResponse', | ||
| 290 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::AnalyzeAssetResponse'->new($_) }; | ||
| 291 | |||
| 292 | declare 'RepeatedAnalyzeAssetResponse', | ||
| 293 | as ArrayRef[AnalyzeAssetResponse()]; | ||
| 294 | |||
| 295 | coerce 'RepeatedAnalyzeAssetResponse', | ||
| 296 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::AnalyzeAssetResponse'->new($_) } @$_ ] }; | ||
| 297 | |||
| 298 | declare 'MapStringAnalyzeAssetResponse', | ||
| 299 | as HashRef[AnalyzeAssetResponse()]; | ||
| 300 | |||
| 301 | declare 'IndexingStatus', | ||
| 302 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::IndexingStatus']; | ||
| 303 | |||
| 304 | coerce 'IndexingStatus', | ||
| 305 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::IndexingStatus'->new($_) }; | ||
| 306 | |||
| 307 | declare 'RepeatedIndexingStatus', | ||
| 308 | as ArrayRef[IndexingStatus()]; | ||
| 309 | |||
| 310 | coerce 'RepeatedIndexingStatus', | ||
| 311 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::IndexingStatus'->new($_) } @$_ ] }; | ||
| 312 | |||
| 313 | declare 'MapStringIndexingStatus', | ||
| 314 | as HashRef[IndexingStatus()]; | ||
| 315 | |||
| 316 | declare 'State', | ||
| 317 | as (Int | Str); | ||
| 318 | |||
| 319 | declare 'IndexAssetRequest', | ||
| 320 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::IndexAssetRequest']; | ||
| 321 | |||
| 322 | coerce 'IndexAssetRequest', | ||
| 323 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::IndexAssetRequest'->new($_) }; | ||
| 324 | |||
| 325 | declare 'RepeatedIndexAssetRequest', | ||
| 326 | as ArrayRef[IndexAssetRequest()]; | ||
| 327 | |||
| 328 | coerce 'RepeatedIndexAssetRequest', | ||
| 329 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::IndexAssetRequest'->new($_) } @$_ ] }; | ||
| 330 | |||
| 331 | declare 'MapStringIndexAssetRequest', | ||
| 332 | as HashRef[IndexAssetRequest()]; | ||
| 333 | |||
| 334 | declare 'IndexAssetMetadata', | ||
| 335 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::IndexAssetMetadata']; | ||
| 336 | |||
| 337 | coerce 'IndexAssetMetadata', | ||
| 338 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::IndexAssetMetadata'->new($_) }; | ||
| 339 | |||
| 340 | declare 'RepeatedIndexAssetMetadata', | ||
| 341 | as ArrayRef[IndexAssetMetadata()]; | ||
| 342 | |||
| 343 | coerce 'RepeatedIndexAssetMetadata', | ||
| 344 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::IndexAssetMetadata'->new($_) } @$_ ] }; | ||
| 345 | |||
| 346 | declare 'MapStringIndexAssetMetadata', | ||
| 347 | as HashRef[IndexAssetMetadata()]; | ||
| 348 | |||
| 349 | declare 'IndexAssetResponse', | ||
| 350 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::IndexAssetResponse']; | ||
| 351 | |||
| 352 | coerce 'IndexAssetResponse', | ||
| 353 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::IndexAssetResponse'->new($_) }; | ||
| 354 | |||
| 355 | declare 'RepeatedIndexAssetResponse', | ||
| 356 | as ArrayRef[IndexAssetResponse()]; | ||
| 357 | |||
| 358 | coerce 'RepeatedIndexAssetResponse', | ||
| 359 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::IndexAssetResponse'->new($_) } @$_ ] }; | ||
| 360 | |||
| 361 | declare 'MapStringIndexAssetResponse', | ||
| 362 | as HashRef[IndexAssetResponse()]; | ||
| 363 | |||
| 364 | declare 'RemoveIndexAssetRequest', | ||
| 365 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::RemoveIndexAssetRequest']; | ||
| 366 | |||
| 367 | coerce 'RemoveIndexAssetRequest', | ||
| 368 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::RemoveIndexAssetRequest'->new($_) }; | ||
| 369 | |||
| 370 | declare 'RepeatedRemoveIndexAssetRequest', | ||
| 371 | as ArrayRef[RemoveIndexAssetRequest()]; | ||
| 372 | |||
| 373 | coerce 'RepeatedRemoveIndexAssetRequest', | ||
| 374 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::RemoveIndexAssetRequest'->new($_) } @$_ ] }; | ||
| 375 | |||
| 376 | declare 'MapStringRemoveIndexAssetRequest', | ||
| 377 | as HashRef[RemoveIndexAssetRequest()]; | ||
| 378 | |||
| 379 | declare 'RemoveIndexAssetMetadata', | ||
| 380 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::RemoveIndexAssetMetadata']; | ||
| 381 | |||
| 382 | coerce 'RemoveIndexAssetMetadata', | ||
| 383 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::RemoveIndexAssetMetadata'->new($_) }; | ||
| 384 | |||
| 385 | declare 'RepeatedRemoveIndexAssetMetadata', | ||
| 386 | as ArrayRef[RemoveIndexAssetMetadata()]; | ||
| 387 | |||
| 388 | coerce 'RepeatedRemoveIndexAssetMetadata', | ||
| 389 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::RemoveIndexAssetMetadata'->new($_) } @$_ ] }; | ||
| 390 | |||
| 391 | declare 'MapStringRemoveIndexAssetMetadata', | ||
| 392 | as HashRef[RemoveIndexAssetMetadata()]; | ||
| 393 | |||
| 394 | declare 'RemoveIndexAssetResponse', | ||
| 395 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::RemoveIndexAssetResponse']; | ||
| 396 | |||
| 397 | coerce 'RemoveIndexAssetResponse', | ||
| 398 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::RemoveIndexAssetResponse'->new($_) }; | ||
| 399 | |||
| 400 | declare 'RepeatedRemoveIndexAssetResponse', | ||
| 401 | as ArrayRef[RemoveIndexAssetResponse()]; | ||
| 402 | |||
| 403 | coerce 'RepeatedRemoveIndexAssetResponse', | ||
| 404 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::RemoveIndexAssetResponse'->new($_) } @$_ ] }; | ||
| 405 | |||
| 406 | declare 'MapStringRemoveIndexAssetResponse', | ||
| 407 | as HashRef[RemoveIndexAssetResponse()]; | ||
| 408 | |||
| 409 | declare 'IndexedAsset', | ||
| 410 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::IndexedAsset']; | ||
| 411 | |||
| 412 | coerce 'IndexedAsset', | ||
| 413 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::IndexedAsset'->new($_) }; | ||
| 414 | |||
| 415 | declare 'RepeatedIndexedAsset', | ||
| 416 | as ArrayRef[IndexedAsset()]; | ||
| 417 | |||
| 418 | coerce 'RepeatedIndexedAsset', | ||
| 419 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::IndexedAsset'->new($_) } @$_ ] }; | ||
| 420 | |||
| 421 | declare 'MapStringIndexedAsset', | ||
| 422 | as HashRef[IndexedAsset()]; | ||
| 423 | |||
| 424 | declare 'ViewIndexedAssetsRequest', | ||
| 425 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::ViewIndexedAssetsRequest']; | ||
| 426 | |||
| 427 | coerce 'ViewIndexedAssetsRequest', | ||
| 428 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::ViewIndexedAssetsRequest'->new($_) }; | ||
| 429 | |||
| 430 | declare 'RepeatedViewIndexedAssetsRequest', | ||
| 431 | as ArrayRef[ViewIndexedAssetsRequest()]; | ||
| 432 | |||
| 433 | coerce 'RepeatedViewIndexedAssetsRequest', | ||
| 434 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::ViewIndexedAssetsRequest'->new($_) } @$_ ] }; | ||
| 435 | |||
| 436 | declare 'MapStringViewIndexedAssetsRequest', | ||
| 437 | as HashRef[ViewIndexedAssetsRequest()]; | ||
| 438 | |||
| 439 | declare 'ViewIndexedAssetsResponse', | ||
| 440 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::ViewIndexedAssetsResponse']; | ||
| 441 | |||
| 442 | coerce 'ViewIndexedAssetsResponse', | ||
| 443 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::ViewIndexedAssetsResponse'->new($_) }; | ||
| 444 | |||
| 445 | declare 'RepeatedViewIndexedAssetsResponse', | ||
| 446 | as ArrayRef[ViewIndexedAssetsResponse()]; | ||
| 447 | |||
| 448 | coerce 'RepeatedViewIndexedAssetsResponse', | ||
| 449 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::ViewIndexedAssetsResponse'->new($_) } @$_ ] }; | ||
| 450 | |||
| 451 | declare 'MapStringViewIndexedAssetsResponse', | ||
| 452 | as HashRef[ViewIndexedAssetsResponse()]; | ||
| 453 | |||
| 454 | declare 'CreateCorpusRequest', | ||
| 455 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::CreateCorpusRequest']; | ||
| 456 | |||
| 457 | coerce 'CreateCorpusRequest', | ||
| 458 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::CreateCorpusRequest'->new($_) }; | ||
| 459 | |||
| 460 | declare 'RepeatedCreateCorpusRequest', | ||
| 461 | as ArrayRef[CreateCorpusRequest()]; | ||
| 462 | |||
| 463 | coerce 'RepeatedCreateCorpusRequest', | ||
| 464 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::CreateCorpusRequest'->new($_) } @$_ ] }; | ||
| 465 | |||
| 466 | declare 'MapStringCreateCorpusRequest', | ||
| 467 | as HashRef[CreateCorpusRequest()]; | ||
| 468 | |||
| 469 | declare 'CreateCorpusMetadata', | ||
| 470 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::CreateCorpusMetadata']; | ||
| 471 | |||
| 472 | coerce 'CreateCorpusMetadata', | ||
| 473 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::CreateCorpusMetadata'->new($_) }; | ||
| 474 | |||
| 475 | declare 'RepeatedCreateCorpusMetadata', | ||
| 476 | as ArrayRef[CreateCorpusMetadata()]; | ||
| 477 | |||
| 478 | coerce 'RepeatedCreateCorpusMetadata', | ||
| 479 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::CreateCorpusMetadata'->new($_) } @$_ ] }; | ||
| 480 | |||
| 481 | declare 'MapStringCreateCorpusMetadata', | ||
| 482 | as HashRef[CreateCorpusMetadata()]; | ||
| 483 | |||
| 484 | declare 'SearchCapability', | ||
| 485 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::SearchCapability']; | ||
| 486 | |||
| 487 | coerce 'SearchCapability', | ||
| 488 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::SearchCapability'->new($_) }; | ||
| 489 | |||
| 490 | declare 'RepeatedSearchCapability', | ||
| 491 | as ArrayRef[SearchCapability()]; | ||
| 492 | |||
| 493 | coerce 'RepeatedSearchCapability', | ||
| 494 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::SearchCapability'->new($_) } @$_ ] }; | ||
| 495 | |||
| 496 | declare 'MapStringSearchCapability', | ||
| 497 | as HashRef[SearchCapability()]; | ||
| 498 | |||
| 499 | declare 'Type', | ||
| 500 | as (Int | Str); | ||
| 501 | |||
| 502 | declare 'SearchCapabilitySetting', | ||
| 503 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::SearchCapabilitySetting']; | ||
| 504 | |||
| 505 | coerce 'SearchCapabilitySetting', | ||
| 506 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::SearchCapabilitySetting'->new($_) }; | ||
| 507 | |||
| 508 | declare 'RepeatedSearchCapabilitySetting', | ||
| 509 | as ArrayRef[SearchCapabilitySetting()]; | ||
| 510 | |||
| 511 | coerce 'RepeatedSearchCapabilitySetting', | ||
| 512 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::SearchCapabilitySetting'->new($_) } @$_ ] }; | ||
| 513 | |||
| 514 | declare 'MapStringSearchCapabilitySetting', | ||
| 515 | as HashRef[SearchCapabilitySetting()]; | ||
| 516 | |||
| 517 | declare 'CreateCollectionMetadata', | ||
| 518 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::CreateCollectionMetadata']; | ||
| 519 | |||
| 520 | coerce 'CreateCollectionMetadata', | ||
| 521 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::CreateCollectionMetadata'->new($_) }; | ||
| 522 | |||
| 523 | declare 'RepeatedCreateCollectionMetadata', | ||
| 524 | as ArrayRef[CreateCollectionMetadata()]; | ||
| 525 | |||
| 526 | coerce 'RepeatedCreateCollectionMetadata', | ||
| 527 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::CreateCollectionMetadata'->new($_) } @$_ ] }; | ||
| 528 | |||
| 529 | declare 'MapStringCreateCollectionMetadata', | ||
| 530 | as HashRef[CreateCollectionMetadata()]; | ||
| 531 | |||
| 532 | declare 'CreateCollectionRequest', | ||
| 533 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::CreateCollectionRequest']; | ||
| 534 | |||
| 535 | coerce 'CreateCollectionRequest', | ||
| 536 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::CreateCollectionRequest'->new($_) }; | ||
| 537 | |||
| 538 | declare 'RepeatedCreateCollectionRequest', | ||
| 539 | as ArrayRef[CreateCollectionRequest()]; | ||
| 540 | |||
| 541 | coerce 'RepeatedCreateCollectionRequest', | ||
| 542 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::CreateCollectionRequest'->new($_) } @$_ ] }; | ||
| 543 | |||
| 544 | declare 'MapStringCreateCollectionRequest', | ||
| 545 | as HashRef[CreateCollectionRequest()]; | ||
| 546 | |||
| 547 | declare 'DeleteCollectionMetadata', | ||
| 548 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::DeleteCollectionMetadata']; | ||
| 549 | |||
| 550 | coerce 'DeleteCollectionMetadata', | ||
| 551 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::DeleteCollectionMetadata'->new($_) }; | ||
| 552 | |||
| 553 | declare 'RepeatedDeleteCollectionMetadata', | ||
| 554 | as ArrayRef[DeleteCollectionMetadata()]; | ||
| 555 | |||
| 556 | coerce 'RepeatedDeleteCollectionMetadata', | ||
| 557 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::DeleteCollectionMetadata'->new($_) } @$_ ] }; | ||
| 558 | |||
| 559 | declare 'MapStringDeleteCollectionMetadata', | ||
| 560 | as HashRef[DeleteCollectionMetadata()]; | ||
| 561 | |||
| 562 | declare 'DeleteCollectionRequest', | ||
| 563 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::DeleteCollectionRequest']; | ||
| 564 | |||
| 565 | coerce 'DeleteCollectionRequest', | ||
| 566 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::DeleteCollectionRequest'->new($_) }; | ||
| 567 | |||
| 568 | declare 'RepeatedDeleteCollectionRequest', | ||
| 569 | as ArrayRef[DeleteCollectionRequest()]; | ||
| 570 | |||
| 571 | coerce 'RepeatedDeleteCollectionRequest', | ||
| 572 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::DeleteCollectionRequest'->new($_) } @$_ ] }; | ||
| 573 | |||
| 574 | declare 'MapStringDeleteCollectionRequest', | ||
| 575 | as HashRef[DeleteCollectionRequest()]; | ||
| 576 | |||
| 577 | declare 'GetCollectionRequest', | ||
| 578 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::GetCollectionRequest']; | ||
| 579 | |||
| 580 | coerce 'GetCollectionRequest', | ||
| 581 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::GetCollectionRequest'->new($_) }; | ||
| 582 | |||
| 583 | declare 'RepeatedGetCollectionRequest', | ||
| 584 | as ArrayRef[GetCollectionRequest()]; | ||
| 585 | |||
| 586 | coerce 'RepeatedGetCollectionRequest', | ||
| 587 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::GetCollectionRequest'->new($_) } @$_ ] }; | ||
| 588 | |||
| 589 | declare 'MapStringGetCollectionRequest', | ||
| 590 | as HashRef[GetCollectionRequest()]; | ||
| 591 | |||
| 592 | declare 'UpdateCollectionRequest', | ||
| 593 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::UpdateCollectionRequest']; | ||
| 594 | |||
| 595 | coerce 'UpdateCollectionRequest', | ||
| 596 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::UpdateCollectionRequest'->new($_) }; | ||
| 597 | |||
| 598 | declare 'RepeatedUpdateCollectionRequest', | ||
| 599 | as ArrayRef[UpdateCollectionRequest()]; | ||
| 600 | |||
| 601 | coerce 'RepeatedUpdateCollectionRequest', | ||
| 602 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::UpdateCollectionRequest'->new($_) } @$_ ] }; | ||
| 603 | |||
| 604 | declare 'MapStringUpdateCollectionRequest', | ||
| 605 | as HashRef[UpdateCollectionRequest()]; | ||
| 606 | |||
| 607 | declare 'ListCollectionsRequest', | ||
| 608 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::ListCollectionsRequest']; | ||
| 609 | |||
| 610 | coerce 'ListCollectionsRequest', | ||
| 611 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::ListCollectionsRequest'->new($_) }; | ||
| 612 | |||
| 613 | declare 'RepeatedListCollectionsRequest', | ||
| 614 | as ArrayRef[ListCollectionsRequest()]; | ||
| 615 | |||
| 616 | coerce 'RepeatedListCollectionsRequest', | ||
| 617 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::ListCollectionsRequest'->new($_) } @$_ ] }; | ||
| 618 | |||
| 619 | declare 'MapStringListCollectionsRequest', | ||
| 620 | as HashRef[ListCollectionsRequest()]; | ||
| 621 | |||
| 622 | declare 'ListCollectionsResponse', | ||
| 623 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::ListCollectionsResponse']; | ||
| 624 | |||
| 625 | coerce 'ListCollectionsResponse', | ||
| 626 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::ListCollectionsResponse'->new($_) }; | ||
| 627 | |||
| 628 | declare 'RepeatedListCollectionsResponse', | ||
| 629 | as ArrayRef[ListCollectionsResponse()]; | ||
| 630 | |||
| 631 | coerce 'RepeatedListCollectionsResponse', | ||
| 632 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::ListCollectionsResponse'->new($_) } @$_ ] }; | ||
| 633 | |||
| 634 | declare 'MapStringListCollectionsResponse', | ||
| 635 | as HashRef[ListCollectionsResponse()]; | ||
| 636 | |||
| 637 | declare 'AddCollectionItemRequest', | ||
| 638 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::AddCollectionItemRequest']; | ||
| 639 | |||
| 640 | coerce 'AddCollectionItemRequest', | ||
| 641 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::AddCollectionItemRequest'->new($_) }; | ||
| 642 | |||
| 643 | declare 'RepeatedAddCollectionItemRequest', | ||
| 644 | as ArrayRef[AddCollectionItemRequest()]; | ||
| 645 | |||
| 646 | coerce 'RepeatedAddCollectionItemRequest', | ||
| 647 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::AddCollectionItemRequest'->new($_) } @$_ ] }; | ||
| 648 | |||
| 649 | declare 'MapStringAddCollectionItemRequest', | ||
| 650 | as HashRef[AddCollectionItemRequest()]; | ||
| 651 | |||
| 652 | declare 'AddCollectionItemResponse', | ||
| 653 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::AddCollectionItemResponse']; | ||
| 654 | |||
| 655 | coerce 'AddCollectionItemResponse', | ||
| 656 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::AddCollectionItemResponse'->new($_) }; | ||
| 657 | |||
| 658 | declare 'RepeatedAddCollectionItemResponse', | ||
| 659 | as ArrayRef[AddCollectionItemResponse()]; | ||
| 660 | |||
| 661 | coerce 'RepeatedAddCollectionItemResponse', | ||
| 662 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::AddCollectionItemResponse'->new($_) } @$_ ] }; | ||
| 663 | |||
| 664 | declare 'MapStringAddCollectionItemResponse', | ||
| 665 | as HashRef[AddCollectionItemResponse()]; | ||
| 666 | |||
| 667 | declare 'RemoveCollectionItemRequest', | ||
| 668 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::RemoveCollectionItemRequest']; | ||
| 669 | |||
| 670 | coerce 'RemoveCollectionItemRequest', | ||
| 671 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::RemoveCollectionItemRequest'->new($_) }; | ||
| 672 | |||
| 673 | declare 'RepeatedRemoveCollectionItemRequest', | ||
| 674 | as ArrayRef[RemoveCollectionItemRequest()]; | ||
| 675 | |||
| 676 | coerce 'RepeatedRemoveCollectionItemRequest', | ||
| 677 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::RemoveCollectionItemRequest'->new($_) } @$_ ] }; | ||
| 678 | |||
| 679 | declare 'MapStringRemoveCollectionItemRequest', | ||
| 680 | as HashRef[RemoveCollectionItemRequest()]; | ||
| 681 | |||
| 682 | declare 'RemoveCollectionItemResponse', | ||
| 683 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::RemoveCollectionItemResponse']; | ||
| 684 | |||
| 685 | coerce 'RemoveCollectionItemResponse', | ||
| 686 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::RemoveCollectionItemResponse'->new($_) }; | ||
| 687 | |||
| 688 | declare 'RepeatedRemoveCollectionItemResponse', | ||
| 689 | as ArrayRef[RemoveCollectionItemResponse()]; | ||
| 690 | |||
| 691 | coerce 'RepeatedRemoveCollectionItemResponse', | ||
| 692 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::RemoveCollectionItemResponse'->new($_) } @$_ ] }; | ||
| 693 | |||
| 694 | declare 'MapStringRemoveCollectionItemResponse', | ||
| 695 | as HashRef[RemoveCollectionItemResponse()]; | ||
| 696 | |||
| 697 | declare 'ViewCollectionItemsRequest', | ||
| 698 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::ViewCollectionItemsRequest']; | ||
| 699 | |||
| 700 | coerce 'ViewCollectionItemsRequest', | ||
| 701 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::ViewCollectionItemsRequest'->new($_) }; | ||
| 702 | |||
| 703 | declare 'RepeatedViewCollectionItemsRequest', | ||
| 704 | as ArrayRef[ViewCollectionItemsRequest()]; | ||
| 705 | |||
| 706 | coerce 'RepeatedViewCollectionItemsRequest', | ||
| 707 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::ViewCollectionItemsRequest'->new($_) } @$_ ] }; | ||
| 708 | |||
| 709 | declare 'MapStringViewCollectionItemsRequest', | ||
| 710 | as HashRef[ViewCollectionItemsRequest()]; | ||
| 711 | |||
| 712 | declare 'ViewCollectionItemsResponse', | ||
| 713 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::ViewCollectionItemsResponse']; | ||
| 714 | |||
| 715 | coerce 'ViewCollectionItemsResponse', | ||
| 716 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::ViewCollectionItemsResponse'->new($_) }; | ||
| 717 | |||
| 718 | declare 'RepeatedViewCollectionItemsResponse', | ||
| 719 | as ArrayRef[ViewCollectionItemsResponse()]; | ||
| 720 | |||
| 721 | coerce 'RepeatedViewCollectionItemsResponse', | ||
| 722 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::ViewCollectionItemsResponse'->new($_) } @$_ ] }; | ||
| 723 | |||
| 724 | declare 'MapStringViewCollectionItemsResponse', | ||
| 725 | as HashRef[ViewCollectionItemsResponse()]; | ||
| 726 | |||
| 727 | declare 'Collection', | ||
| 728 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::Collection']; | ||
| 729 | |||
| 730 | coerce 'Collection', | ||
| 731 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::Collection'->new($_) }; | ||
| 732 | |||
| 733 | declare 'RepeatedCollection', | ||
| 734 | as ArrayRef[Collection()]; | ||
| 735 | |||
| 736 | coerce 'RepeatedCollection', | ||
| 737 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::Collection'->new($_) } @$_ ] }; | ||
| 738 | |||
| 739 | declare 'MapStringCollection', | ||
| 740 | as HashRef[Collection()]; | ||
| 741 | |||
| 742 | declare 'CollectionItem', | ||
| 743 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::CollectionItem']; | ||
| 744 | |||
| 745 | coerce 'CollectionItem', | ||
| 746 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::CollectionItem'->new($_) }; | ||
| 747 | |||
| 748 | declare 'RepeatedCollectionItem', | ||
| 749 | as ArrayRef[CollectionItem()]; | ||
| 750 | |||
| 751 | coerce 'RepeatedCollectionItem', | ||
| 752 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::CollectionItem'->new($_) } @$_ ] }; | ||
| 753 | |||
| 754 | declare 'MapStringCollectionItem', | ||
| 755 | as HashRef[CollectionItem()]; | ||
| 756 | |||
| 757 | declare 'Type', | ||
| 758 | as (Int | Str); | ||
| 759 | |||
| 760 | declare 'CreateIndexRequest', | ||
| 761 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::CreateIndexRequest']; | ||
| 762 | |||
| 763 | coerce 'CreateIndexRequest', | ||
| 764 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::CreateIndexRequest'->new($_) }; | ||
| 765 | |||
| 766 | declare 'RepeatedCreateIndexRequest', | ||
| 767 | as ArrayRef[CreateIndexRequest()]; | ||
| 768 | |||
| 769 | coerce 'RepeatedCreateIndexRequest', | ||
| 770 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::CreateIndexRequest'->new($_) } @$_ ] }; | ||
| 771 | |||
| 772 | declare 'MapStringCreateIndexRequest', | ||
| 773 | as HashRef[CreateIndexRequest()]; | ||
| 774 | |||
| 775 | declare 'CreateIndexMetadata', | ||
| 776 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::CreateIndexMetadata']; | ||
| 777 | |||
| 778 | coerce 'CreateIndexMetadata', | ||
| 779 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::CreateIndexMetadata'->new($_) }; | ||
| 780 | |||
| 781 | declare 'RepeatedCreateIndexMetadata', | ||
| 782 | as ArrayRef[CreateIndexMetadata()]; | ||
| 783 | |||
| 784 | coerce 'RepeatedCreateIndexMetadata', | ||
| 785 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::CreateIndexMetadata'->new($_) } @$_ ] }; | ||
| 786 | |||
| 787 | declare 'MapStringCreateIndexMetadata', | ||
| 788 | as HashRef[CreateIndexMetadata()]; | ||
| 789 | |||
| 790 | declare 'UpdateIndexRequest', | ||
| 791 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::UpdateIndexRequest']; | ||
| 792 | |||
| 793 | coerce 'UpdateIndexRequest', | ||
| 794 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::UpdateIndexRequest'->new($_) }; | ||
| 795 | |||
| 796 | declare 'RepeatedUpdateIndexRequest', | ||
| 797 | as ArrayRef[UpdateIndexRequest()]; | ||
| 798 | |||
| 799 | coerce 'RepeatedUpdateIndexRequest', | ||
| 800 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::UpdateIndexRequest'->new($_) } @$_ ] }; | ||
| 801 | |||
| 802 | declare 'MapStringUpdateIndexRequest', | ||
| 803 | as HashRef[UpdateIndexRequest()]; | ||
| 804 | |||
| 805 | declare 'UpdateIndexMetadata', | ||
| 806 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::UpdateIndexMetadata']; | ||
| 807 | |||
| 808 | coerce 'UpdateIndexMetadata', | ||
| 809 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::UpdateIndexMetadata'->new($_) }; | ||
| 810 | |||
| 811 | declare 'RepeatedUpdateIndexMetadata', | ||
| 812 | as ArrayRef[UpdateIndexMetadata()]; | ||
| 813 | |||
| 814 | coerce 'RepeatedUpdateIndexMetadata', | ||
| 815 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::UpdateIndexMetadata'->new($_) } @$_ ] }; | ||
| 816 | |||
| 817 | declare 'MapStringUpdateIndexMetadata', | ||
| 818 | as HashRef[UpdateIndexMetadata()]; | ||
| 819 | |||
| 820 | declare 'GetIndexRequest', | ||
| 821 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::GetIndexRequest']; | ||
| 822 | |||
| 823 | coerce 'GetIndexRequest', | ||
| 824 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::GetIndexRequest'->new($_) }; | ||
| 825 | |||
| 826 | declare 'RepeatedGetIndexRequest', | ||
| 827 | as ArrayRef[GetIndexRequest()]; | ||
| 828 | |||
| 829 | coerce 'RepeatedGetIndexRequest', | ||
| 830 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::GetIndexRequest'->new($_) } @$_ ] }; | ||
| 831 | |||
| 832 | declare 'MapStringGetIndexRequest', | ||
| 833 | as HashRef[GetIndexRequest()]; | ||
| 834 | |||
| 835 | declare 'ListIndexesRequest', | ||
| 836 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::ListIndexesRequest']; | ||
| 837 | |||
| 838 | coerce 'ListIndexesRequest', | ||
| 839 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::ListIndexesRequest'->new($_) }; | ||
| 840 | |||
| 841 | declare 'RepeatedListIndexesRequest', | ||
| 842 | as ArrayRef[ListIndexesRequest()]; | ||
| 843 | |||
| 844 | coerce 'RepeatedListIndexesRequest', | ||
| 845 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::ListIndexesRequest'->new($_) } @$_ ] }; | ||
| 846 | |||
| 847 | declare 'MapStringListIndexesRequest', | ||
| 848 | as HashRef[ListIndexesRequest()]; | ||
| 849 | |||
| 850 | declare 'ListIndexesResponse', | ||
| 851 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::ListIndexesResponse']; | ||
| 852 | |||
| 853 | coerce 'ListIndexesResponse', | ||
| 854 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::ListIndexesResponse'->new($_) }; | ||
| 855 | |||
| 856 | declare 'RepeatedListIndexesResponse', | ||
| 857 | as ArrayRef[ListIndexesResponse()]; | ||
| 858 | |||
| 859 | coerce 'RepeatedListIndexesResponse', | ||
| 860 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::ListIndexesResponse'->new($_) } @$_ ] }; | ||
| 861 | |||
| 862 | declare 'MapStringListIndexesResponse', | ||
| 863 | as HashRef[ListIndexesResponse()]; | ||
| 864 | |||
| 865 | declare 'DeleteIndexRequest', | ||
| 866 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::DeleteIndexRequest']; | ||
| 867 | |||
| 868 | coerce 'DeleteIndexRequest', | ||
| 869 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::DeleteIndexRequest'->new($_) }; | ||
| 870 | |||
| 871 | declare 'RepeatedDeleteIndexRequest', | ||
| 872 | as ArrayRef[DeleteIndexRequest()]; | ||
| 873 | |||
| 874 | coerce 'RepeatedDeleteIndexRequest', | ||
| 875 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::DeleteIndexRequest'->new($_) } @$_ ] }; | ||
| 876 | |||
| 877 | declare 'MapStringDeleteIndexRequest', | ||
| 878 | as HashRef[DeleteIndexRequest()]; | ||
| 879 | |||
| 880 | declare 'DeleteIndexMetadata', | ||
| 881 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::DeleteIndexMetadata']; | ||
| 882 | |||
| 883 | coerce 'DeleteIndexMetadata', | ||
| 884 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::DeleteIndexMetadata'->new($_) }; | ||
| 885 | |||
| 886 | declare 'RepeatedDeleteIndexMetadata', | ||
| 887 | as ArrayRef[DeleteIndexMetadata()]; | ||
| 888 | |||
| 889 | coerce 'RepeatedDeleteIndexMetadata', | ||
| 890 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::DeleteIndexMetadata'->new($_) } @$_ ] }; | ||
| 891 | |||
| 892 | declare 'MapStringDeleteIndexMetadata', | ||
| 893 | as HashRef[DeleteIndexMetadata()]; | ||
| 894 | |||
| 895 | declare 'Index', | ||
| 896 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::Index']; | ||
| 897 | |||
| 898 | coerce 'Index', | ||
| 899 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::Index'->new($_) }; | ||
| 900 | |||
| 901 | declare 'RepeatedIndex', | ||
| 902 | as ArrayRef[Index()]; | ||
| 903 | |||
| 904 | coerce 'RepeatedIndex', | ||
| 905 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::Index'->new($_) } @$_ ] }; | ||
| 906 | |||
| 907 | declare 'MapStringIndex', | ||
| 908 | as HashRef[Index()]; | ||
| 909 | |||
| 910 | declare 'State', | ||
| 911 | as (Int | Str); | ||
| 912 | |||
| 913 | declare 'DeployedIndexReference', | ||
| 914 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::DeployedIndexReference']; | ||
| 915 | |||
| 916 | coerce 'DeployedIndexReference', | ||
| 917 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::DeployedIndexReference'->new($_) }; | ||
| 918 | |||
| 919 | declare 'RepeatedDeployedIndexReference', | ||
| 920 | as ArrayRef[DeployedIndexReference()]; | ||
| 921 | |||
| 922 | coerce 'RepeatedDeployedIndexReference', | ||
| 923 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::DeployedIndexReference'->new($_) } @$_ ] }; | ||
| 924 | |||
| 925 | declare 'MapStringDeployedIndexReference', | ||
| 926 | as HashRef[DeployedIndexReference()]; | ||
| 927 | |||
| 928 | declare 'Corpus', | ||
| 929 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::Corpus']; | ||
| 930 | |||
| 931 | coerce 'Corpus', | ||
| 932 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::Corpus'->new($_) }; | ||
| 933 | |||
| 934 | declare 'RepeatedCorpus', | ||
| 935 | as ArrayRef[Corpus()]; | ||
| 936 | |||
| 937 | coerce 'RepeatedCorpus', | ||
| 938 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::Corpus'->new($_) } @$_ ] }; | ||
| 939 | |||
| 940 | declare 'MapStringCorpus', | ||
| 941 | as HashRef[Corpus()]; | ||
| 942 | |||
| 943 | declare 'Type', | ||
| 944 | as (Int | Str); | ||
| 945 | |||
| 946 | declare 'GetCorpusRequest', | ||
| 947 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::GetCorpusRequest']; | ||
| 948 | |||
| 949 | coerce 'GetCorpusRequest', | ||
| 950 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::GetCorpusRequest'->new($_) }; | ||
| 951 | |||
| 952 | declare 'RepeatedGetCorpusRequest', | ||
| 953 | as ArrayRef[GetCorpusRequest()]; | ||
| 954 | |||
| 955 | coerce 'RepeatedGetCorpusRequest', | ||
| 956 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::GetCorpusRequest'->new($_) } @$_ ] }; | ||
| 957 | |||
| 958 | declare 'MapStringGetCorpusRequest', | ||
| 959 | as HashRef[GetCorpusRequest()]; | ||
| 960 | |||
| 961 | declare 'UpdateCorpusRequest', | ||
| 962 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::UpdateCorpusRequest']; | ||
| 963 | |||
| 964 | coerce 'UpdateCorpusRequest', | ||
| 965 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::UpdateCorpusRequest'->new($_) }; | ||
| 966 | |||
| 967 | declare 'RepeatedUpdateCorpusRequest', | ||
| 968 | as ArrayRef[UpdateCorpusRequest()]; | ||
| 969 | |||
| 970 | coerce 'RepeatedUpdateCorpusRequest', | ||
| 971 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::UpdateCorpusRequest'->new($_) } @$_ ] }; | ||
| 972 | |||
| 973 | declare 'MapStringUpdateCorpusRequest', | ||
| 974 | as HashRef[UpdateCorpusRequest()]; | ||
| 975 | |||
| 976 | declare 'ListCorporaRequest', | ||
| 977 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::ListCorporaRequest']; | ||
| 978 | |||
| 979 | coerce 'ListCorporaRequest', | ||
| 980 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::ListCorporaRequest'->new($_) }; | ||
| 981 | |||
| 982 | declare 'RepeatedListCorporaRequest', | ||
| 983 | as ArrayRef[ListCorporaRequest()]; | ||
| 984 | |||
| 985 | coerce 'RepeatedListCorporaRequest', | ||
| 986 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::ListCorporaRequest'->new($_) } @$_ ] }; | ||
| 987 | |||
| 988 | declare 'MapStringListCorporaRequest', | ||
| 989 | as HashRef[ListCorporaRequest()]; | ||
| 990 | |||
| 991 | declare 'ListCorporaResponse', | ||
| 992 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::ListCorporaResponse']; | ||
| 993 | |||
| 994 | coerce 'ListCorporaResponse', | ||
| 995 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::ListCorporaResponse'->new($_) }; | ||
| 996 | |||
| 997 | declare 'RepeatedListCorporaResponse', | ||
| 998 | as ArrayRef[ListCorporaResponse()]; | ||
| 999 | |||
| 1000 | coerce 'RepeatedListCorporaResponse', | ||
| 1001 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::ListCorporaResponse'->new($_) } @$_ ] }; | ||
| 1002 | |||
| 1003 | declare 'MapStringListCorporaResponse', | ||
| 1004 | as HashRef[ListCorporaResponse()]; | ||
| 1005 | |||
| 1006 | declare 'DeleteCorpusRequest', | ||
| 1007 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::DeleteCorpusRequest']; | ||
| 1008 | |||
| 1009 | coerce 'DeleteCorpusRequest', | ||
| 1010 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::DeleteCorpusRequest'->new($_) }; | ||
| 1011 | |||
| 1012 | declare 'RepeatedDeleteCorpusRequest', | ||
| 1013 | as ArrayRef[DeleteCorpusRequest()]; | ||
| 1014 | |||
| 1015 | coerce 'RepeatedDeleteCorpusRequest', | ||
| 1016 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::DeleteCorpusRequest'->new($_) } @$_ ] }; | ||
| 1017 | |||
| 1018 | declare 'MapStringDeleteCorpusRequest', | ||
| 1019 | as HashRef[DeleteCorpusRequest()]; | ||
| 1020 | |||
| 1021 | declare 'AnalyzeCorpusRequest', | ||
| 1022 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::AnalyzeCorpusRequest']; | ||
| 1023 | |||
| 1024 | coerce 'AnalyzeCorpusRequest', | ||
| 1025 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::AnalyzeCorpusRequest'->new($_) }; | ||
| 1026 | |||
| 1027 | declare 'RepeatedAnalyzeCorpusRequest', | ||
| 1028 | as ArrayRef[AnalyzeCorpusRequest()]; | ||
| 1029 | |||
| 1030 | coerce 'RepeatedAnalyzeCorpusRequest', | ||
| 1031 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::AnalyzeCorpusRequest'->new($_) } @$_ ] }; | ||
| 1032 | |||
| 1033 | declare 'MapStringAnalyzeCorpusRequest', | ||
| 1034 | as HashRef[AnalyzeCorpusRequest()]; | ||
| 1035 | |||
| 1036 | declare 'AnalyzeCorpusMetadata', | ||
| 1037 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::AnalyzeCorpusMetadata']; | ||
| 1038 | |||
| 1039 | coerce 'AnalyzeCorpusMetadata', | ||
| 1040 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::AnalyzeCorpusMetadata'->new($_) }; | ||
| 1041 | |||
| 1042 | declare 'RepeatedAnalyzeCorpusMetadata', | ||
| 1043 | as ArrayRef[AnalyzeCorpusMetadata()]; | ||
| 1044 | |||
| 1045 | coerce 'RepeatedAnalyzeCorpusMetadata', | ||
| 1046 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::AnalyzeCorpusMetadata'->new($_) } @$_ ] }; | ||
| 1047 | |||
| 1048 | declare 'MapStringAnalyzeCorpusMetadata', | ||
| 1049 | as HashRef[AnalyzeCorpusMetadata()]; | ||
| 1050 | |||
| 1051 | declare 'AnalyzeCorpusResponse', | ||
| 1052 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::AnalyzeCorpusResponse']; | ||
| 1053 | |||
| 1054 | coerce 'AnalyzeCorpusResponse', | ||
| 1055 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::AnalyzeCorpusResponse'->new($_) }; | ||
| 1056 | |||
| 1057 | declare 'RepeatedAnalyzeCorpusResponse', | ||
| 1058 | as ArrayRef[AnalyzeCorpusResponse()]; | ||
| 1059 | |||
| 1060 | coerce 'RepeatedAnalyzeCorpusResponse', | ||
| 1061 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::AnalyzeCorpusResponse'->new($_) } @$_ ] }; | ||
| 1062 | |||
| 1063 | declare 'MapStringAnalyzeCorpusResponse', | ||
| 1064 | as HashRef[AnalyzeCorpusResponse()]; | ||
| 1065 | |||
| 1066 | declare 'CreateDataSchemaRequest', | ||
| 1067 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::CreateDataSchemaRequest']; | ||
| 1068 | |||
| 1069 | coerce 'CreateDataSchemaRequest', | ||
| 1070 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::CreateDataSchemaRequest'->new($_) }; | ||
| 1071 | |||
| 1072 | declare 'RepeatedCreateDataSchemaRequest', | ||
| 1073 | as ArrayRef[CreateDataSchemaRequest()]; | ||
| 1074 | |||
| 1075 | coerce 'RepeatedCreateDataSchemaRequest', | ||
| 1076 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::CreateDataSchemaRequest'->new($_) } @$_ ] }; | ||
| 1077 | |||
| 1078 | declare 'MapStringCreateDataSchemaRequest', | ||
| 1079 | as HashRef[CreateDataSchemaRequest()]; | ||
| 1080 | |||
| 1081 | declare 'DataSchema', | ||
| 1082 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::DataSchema']; | ||
| 1083 | |||
| 1084 | coerce 'DataSchema', | ||
| 1085 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::DataSchema'->new($_) }; | ||
| 1086 | |||
| 1087 | declare 'RepeatedDataSchema', | ||
| 1088 | as ArrayRef[DataSchema()]; | ||
| 1089 | |||
| 1090 | coerce 'RepeatedDataSchema', | ||
| 1091 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::DataSchema'->new($_) } @$_ ] }; | ||
| 1092 | |||
| 1093 | declare 'MapStringDataSchema', | ||
| 1094 | as HashRef[DataSchema()]; | ||
| 1095 | |||
| 1096 | declare 'DataSchemaDetails', | ||
| 1097 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::DataSchemaDetails']; | ||
| 1098 | |||
| 1099 | coerce 'DataSchemaDetails', | ||
| 1100 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::DataSchemaDetails'->new($_) }; | ||
| 1101 | |||
| 1102 | declare 'RepeatedDataSchemaDetails', | ||
| 1103 | as ArrayRef[DataSchemaDetails()]; | ||
| 1104 | |||
| 1105 | coerce 'RepeatedDataSchemaDetails', | ||
| 1106 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::DataSchemaDetails'->new($_) } @$_ ] }; | ||
| 1107 | |||
| 1108 | declare 'MapStringDataSchemaDetails', | ||
| 1109 | as HashRef[DataSchemaDetails()]; | ||
| 1110 | |||
| 1111 | declare 'DataType', | ||
| 1112 | as (Int | Str); | ||
| 1113 | |||
| 1114 | declare 'Granularity', | ||
| 1115 | as (Int | Str); | ||
| 1116 | |||
| 1117 | declare 'ProtoAnyConfig', | ||
| 1118 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::DataSchemaDetails::ProtoAnyConfig']; | ||
| 1119 | |||
| 1120 | coerce 'ProtoAnyConfig', | ||
| 1121 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::DataSchemaDetails::ProtoAnyConfig'->new($_) }; | ||
| 1122 | |||
| 1123 | declare 'RepeatedProtoAnyConfig', | ||
| 1124 | as ArrayRef[ProtoAnyConfig()]; | ||
| 1125 | |||
| 1126 | coerce 'RepeatedProtoAnyConfig', | ||
| 1127 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::DataSchemaDetails::ProtoAnyConfig'->new($_) } @$_ ] }; | ||
| 1128 | |||
| 1129 | declare 'MapStringProtoAnyConfig', | ||
| 1130 | as HashRef[ProtoAnyConfig()]; | ||
| 1131 | |||
| 1132 | declare 'ListConfig', | ||
| 1133 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::DataSchemaDetails::ListConfig']; | ||
| 1134 | |||
| 1135 | coerce 'ListConfig', | ||
| 1136 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::DataSchemaDetails::ListConfig'->new($_) }; | ||
| 1137 | |||
| 1138 | declare 'RepeatedListConfig', | ||
| 1139 | as ArrayRef[ListConfig()]; | ||
| 1140 | |||
| 1141 | coerce 'RepeatedListConfig', | ||
| 1142 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::DataSchemaDetails::ListConfig'->new($_) } @$_ ] }; | ||
| 1143 | |||
| 1144 | declare 'MapStringListConfig', | ||
| 1145 | as HashRef[ListConfig()]; | ||
| 1146 | |||
| 1147 | declare 'CustomizedStructConfig', | ||
| 1148 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::DataSchemaDetails::CustomizedStructConfig']; | ||
| 1149 | |||
| 1150 | coerce 'CustomizedStructConfig', | ||
| 1151 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::DataSchemaDetails::CustomizedStructConfig'->new($_) }; | ||
| 1152 | |||
| 1153 | declare 'RepeatedCustomizedStructConfig', | ||
| 1154 | as ArrayRef[CustomizedStructConfig()]; | ||
| 1155 | |||
| 1156 | coerce 'RepeatedCustomizedStructConfig', | ||
| 1157 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::DataSchemaDetails::CustomizedStructConfig'->new($_) } @$_ ] }; | ||
| 1158 | |||
| 1159 | declare 'MapStringCustomizedStructConfig', | ||
| 1160 | as HashRef[CustomizedStructConfig()]; | ||
| 1161 | |||
| 1162 | declare 'FieldSchemasEntry', | ||
| 1163 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::DataSchemaDetails::CustomizedStructConfig::FieldSchemasEntry']; | ||
| 1164 | |||
| 1165 | coerce 'FieldSchemasEntry', | ||
| 1166 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::DataSchemaDetails::CustomizedStructConfig::FieldSchemasEntry'->new($_) }; | ||
| 1167 | |||
| 1168 | declare 'RepeatedFieldSchemasEntry', | ||
| 1169 | as ArrayRef[FieldSchemasEntry()]; | ||
| 1170 | |||
| 1171 | coerce 'RepeatedFieldSchemasEntry', | ||
| 1172 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::DataSchemaDetails::CustomizedStructConfig::FieldSchemasEntry'->new($_) } @$_ ] }; | ||
| 1173 | |||
| 1174 | declare 'MapStringFieldSchemasEntry', | ||
| 1175 | as HashRef[FieldSchemasEntry()]; | ||
| 1176 | |||
| 1177 | declare 'SearchStrategy', | ||
| 1178 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::DataSchemaDetails::SearchStrategy']; | ||
| 1179 | |||
| 1180 | coerce 'SearchStrategy', | ||
| 1181 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::DataSchemaDetails::SearchStrategy'->new($_) }; | ||
| 1182 | |||
| 1183 | declare 'RepeatedSearchStrategy', | ||
| 1184 | as ArrayRef[SearchStrategy()]; | ||
| 1185 | |||
| 1186 | coerce 'RepeatedSearchStrategy', | ||
| 1187 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::DataSchemaDetails::SearchStrategy'->new($_) } @$_ ] }; | ||
| 1188 | |||
| 1189 | declare 'MapStringSearchStrategy', | ||
| 1190 | as HashRef[SearchStrategy()]; | ||
| 1191 | |||
| 1192 | declare 'SearchStrategyType', | ||
| 1193 | as (Int | Str); | ||
| 1194 | |||
| 1195 | declare 'ConfidenceScoreIndexConfig', | ||
| 1196 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::DataSchemaDetails::SearchStrategy::ConfidenceScoreIndexConfig']; | ||
| 1197 | |||
| 1198 | coerce 'ConfidenceScoreIndexConfig', | ||
| 1199 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::DataSchemaDetails::SearchStrategy::ConfidenceScoreIndexConfig'->new($_) }; | ||
| 1200 | |||
| 1201 | declare 'RepeatedConfidenceScoreIndexConfig', | ||
| 1202 | as ArrayRef[ConfidenceScoreIndexConfig()]; | ||
| 1203 | |||
| 1204 | coerce 'RepeatedConfidenceScoreIndexConfig', | ||
| 1205 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::DataSchemaDetails::SearchStrategy::ConfidenceScoreIndexConfig'->new($_) } @$_ ] }; | ||
| 1206 | |||
| 1207 | declare 'MapStringConfidenceScoreIndexConfig', | ||
| 1208 | as HashRef[ConfidenceScoreIndexConfig()]; | ||
| 1209 | |||
| 1210 | declare 'UpdateDataSchemaRequest', | ||
| 1211 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::UpdateDataSchemaRequest']; | ||
| 1212 | |||
| 1213 | coerce 'UpdateDataSchemaRequest', | ||
| 1214 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::UpdateDataSchemaRequest'->new($_) }; | ||
| 1215 | |||
| 1216 | declare 'RepeatedUpdateDataSchemaRequest', | ||
| 1217 | as ArrayRef[UpdateDataSchemaRequest()]; | ||
| 1218 | |||
| 1219 | coerce 'RepeatedUpdateDataSchemaRequest', | ||
| 1220 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::UpdateDataSchemaRequest'->new($_) } @$_ ] }; | ||
| 1221 | |||
| 1222 | declare 'MapStringUpdateDataSchemaRequest', | ||
| 1223 | as HashRef[UpdateDataSchemaRequest()]; | ||
| 1224 | |||
| 1225 | declare 'GetDataSchemaRequest', | ||
| 1226 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::GetDataSchemaRequest']; | ||
| 1227 | |||
| 1228 | coerce 'GetDataSchemaRequest', | ||
| 1229 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::GetDataSchemaRequest'->new($_) }; | ||
| 1230 | |||
| 1231 | declare 'RepeatedGetDataSchemaRequest', | ||
| 1232 | as ArrayRef[GetDataSchemaRequest()]; | ||
| 1233 | |||
| 1234 | coerce 'RepeatedGetDataSchemaRequest', | ||
| 1235 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::GetDataSchemaRequest'->new($_) } @$_ ] }; | ||
| 1236 | |||
| 1237 | declare 'MapStringGetDataSchemaRequest', | ||
| 1238 | as HashRef[GetDataSchemaRequest()]; | ||
| 1239 | |||
| 1240 | declare 'DeleteDataSchemaRequest', | ||
| 1241 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::DeleteDataSchemaRequest']; | ||
| 1242 | |||
| 1243 | coerce 'DeleteDataSchemaRequest', | ||
| 1244 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::DeleteDataSchemaRequest'->new($_) }; | ||
| 1245 | |||
| 1246 | declare 'RepeatedDeleteDataSchemaRequest', | ||
| 1247 | as ArrayRef[DeleteDataSchemaRequest()]; | ||
| 1248 | |||
| 1249 | coerce 'RepeatedDeleteDataSchemaRequest', | ||
| 1250 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::DeleteDataSchemaRequest'->new($_) } @$_ ] }; | ||
| 1251 | |||
| 1252 | declare 'MapStringDeleteDataSchemaRequest', | ||
| 1253 | as HashRef[DeleteDataSchemaRequest()]; | ||
| 1254 | |||
| 1255 | declare 'ListDataSchemasRequest', | ||
| 1256 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::ListDataSchemasRequest']; | ||
| 1257 | |||
| 1258 | coerce 'ListDataSchemasRequest', | ||
| 1259 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::ListDataSchemasRequest'->new($_) }; | ||
| 1260 | |||
| 1261 | declare 'RepeatedListDataSchemasRequest', | ||
| 1262 | as ArrayRef[ListDataSchemasRequest()]; | ||
| 1263 | |||
| 1264 | coerce 'RepeatedListDataSchemasRequest', | ||
| 1265 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::ListDataSchemasRequest'->new($_) } @$_ ] }; | ||
| 1266 | |||
| 1267 | declare 'MapStringListDataSchemasRequest', | ||
| 1268 | as HashRef[ListDataSchemasRequest()]; | ||
| 1269 | |||
| 1270 | declare 'ListDataSchemasResponse', | ||
| 1271 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::ListDataSchemasResponse']; | ||
| 1272 | |||
| 1273 | coerce 'ListDataSchemasResponse', | ||
| 1274 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::ListDataSchemasResponse'->new($_) }; | ||
| 1275 | |||
| 1276 | declare 'RepeatedListDataSchemasResponse', | ||
| 1277 | as ArrayRef[ListDataSchemasResponse()]; | ||
| 1278 | |||
| 1279 | coerce 'RepeatedListDataSchemasResponse', | ||
| 1280 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::ListDataSchemasResponse'->new($_) } @$_ ] }; | ||
| 1281 | |||
| 1282 | declare 'MapStringListDataSchemasResponse', | ||
| 1283 | as HashRef[ListDataSchemasResponse()]; | ||
| 1284 | |||
| 1285 | declare 'CreateAnnotationRequest', | ||
| 1286 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::CreateAnnotationRequest']; | ||
| 1287 | |||
| 1288 | coerce 'CreateAnnotationRequest', | ||
| 1289 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::CreateAnnotationRequest'->new($_) }; | ||
| 1290 | |||
| 1291 | declare 'RepeatedCreateAnnotationRequest', | ||
| 1292 | as ArrayRef[CreateAnnotationRequest()]; | ||
| 1293 | |||
| 1294 | coerce 'RepeatedCreateAnnotationRequest', | ||
| 1295 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::CreateAnnotationRequest'->new($_) } @$_ ] }; | ||
| 1296 | |||
| 1297 | declare 'MapStringCreateAnnotationRequest', | ||
| 1298 | as HashRef[CreateAnnotationRequest()]; | ||
| 1299 | |||
| 1300 | declare 'Annotation', | ||
| 1301 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::Annotation']; | ||
| 1302 | |||
| 1303 | coerce 'Annotation', | ||
| 1304 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::Annotation'->new($_) }; | ||
| 1305 | |||
| 1306 | declare 'RepeatedAnnotation', | ||
| 1307 | as ArrayRef[Annotation()]; | ||
| 1308 | |||
| 1309 | coerce 'RepeatedAnnotation', | ||
| 1310 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::Annotation'->new($_) } @$_ ] }; | ||
| 1311 | |||
| 1312 | declare 'MapStringAnnotation', | ||
| 1313 | as HashRef[Annotation()]; | ||
| 1314 | |||
| 1315 | declare 'UserSpecifiedAnnotation', | ||
| 1316 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::UserSpecifiedAnnotation']; | ||
| 1317 | |||
| 1318 | coerce 'UserSpecifiedAnnotation', | ||
| 1319 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::UserSpecifiedAnnotation'->new($_) }; | ||
| 1320 | |||
| 1321 | declare 'RepeatedUserSpecifiedAnnotation', | ||
| 1322 | as ArrayRef[UserSpecifiedAnnotation()]; | ||
| 1323 | |||
| 1324 | coerce 'RepeatedUserSpecifiedAnnotation', | ||
| 1325 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::UserSpecifiedAnnotation'->new($_) } @$_ ] }; | ||
| 1326 | |||
| 1327 | declare 'MapStringUserSpecifiedAnnotation', | ||
| 1328 | as HashRef[UserSpecifiedAnnotation()]; | ||
| 1329 | |||
| 1330 | declare 'GeoCoordinate', | ||
| 1331 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::GeoCoordinate']; | ||
| 1332 | |||
| 1333 | coerce 'GeoCoordinate', | ||
| 1334 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::GeoCoordinate'->new($_) }; | ||
| 1335 | |||
| 1336 | declare 'RepeatedGeoCoordinate', | ||
| 1337 | as ArrayRef[GeoCoordinate()]; | ||
| 1338 | |||
| 1339 | coerce 'RepeatedGeoCoordinate', | ||
| 1340 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::GeoCoordinate'->new($_) } @$_ ] }; | ||
| 1341 | |||
| 1342 | declare 'MapStringGeoCoordinate', | ||
| 1343 | as HashRef[GeoCoordinate()]; | ||
| 1344 | |||
| 1345 | declare 'AnnotationValue', | ||
| 1346 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::AnnotationValue']; | ||
| 1347 | |||
| 1348 | coerce 'AnnotationValue', | ||
| 1349 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::AnnotationValue'->new($_) }; | ||
| 1350 | |||
| 1351 | declare 'RepeatedAnnotationValue', | ||
| 1352 | as ArrayRef[AnnotationValue()]; | ||
| 1353 | |||
| 1354 | coerce 'RepeatedAnnotationValue', | ||
| 1355 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::AnnotationValue'->new($_) } @$_ ] }; | ||
| 1356 | |||
| 1357 | declare 'MapStringAnnotationValue', | ||
| 1358 | as HashRef[AnnotationValue()]; | ||
| 1359 | |||
| 1360 | declare 'AnnotationList', | ||
| 1361 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::AnnotationList']; | ||
| 1362 | |||
| 1363 | coerce 'AnnotationList', | ||
| 1364 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::AnnotationList'->new($_) }; | ||
| 1365 | |||
| 1366 | declare 'RepeatedAnnotationList', | ||
| 1367 | as ArrayRef[AnnotationList()]; | ||
| 1368 | |||
| 1369 | coerce 'RepeatedAnnotationList', | ||
| 1370 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::AnnotationList'->new($_) } @$_ ] }; | ||
| 1371 | |||
| 1372 | declare 'MapStringAnnotationList', | ||
| 1373 | as HashRef[AnnotationList()]; | ||
| 1374 | |||
| 1375 | declare 'AnnotationCustomizedStruct', | ||
| 1376 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::AnnotationCustomizedStruct']; | ||
| 1377 | |||
| 1378 | coerce 'AnnotationCustomizedStruct', | ||
| 1379 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::AnnotationCustomizedStruct'->new($_) }; | ||
| 1380 | |||
| 1381 | declare 'RepeatedAnnotationCustomizedStruct', | ||
| 1382 | as ArrayRef[AnnotationCustomizedStruct()]; | ||
| 1383 | |||
| 1384 | coerce 'RepeatedAnnotationCustomizedStruct', | ||
| 1385 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::AnnotationCustomizedStruct'->new($_) } @$_ ] }; | ||
| 1386 | |||
| 1387 | declare 'MapStringAnnotationCustomizedStruct', | ||
| 1388 | as HashRef[AnnotationCustomizedStruct()]; | ||
| 1389 | |||
| 1390 | declare 'ElementsEntry', | ||
| 1391 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::AnnotationCustomizedStruct::ElementsEntry']; | ||
| 1392 | |||
| 1393 | coerce 'ElementsEntry', | ||
| 1394 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::AnnotationCustomizedStruct::ElementsEntry'->new($_) }; | ||
| 1395 | |||
| 1396 | declare 'RepeatedElementsEntry', | ||
| 1397 | as ArrayRef[ElementsEntry()]; | ||
| 1398 | |||
| 1399 | coerce 'RepeatedElementsEntry', | ||
| 1400 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::AnnotationCustomizedStruct::ElementsEntry'->new($_) } @$_ ] }; | ||
| 1401 | |||
| 1402 | declare 'MapStringElementsEntry', | ||
| 1403 | as HashRef[ElementsEntry()]; | ||
| 1404 | |||
| 1405 | declare 'ListAnnotationsRequest', | ||
| 1406 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::ListAnnotationsRequest']; | ||
| 1407 | |||
| 1408 | coerce 'ListAnnotationsRequest', | ||
| 1409 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::ListAnnotationsRequest'->new($_) }; | ||
| 1410 | |||
| 1411 | declare 'RepeatedListAnnotationsRequest', | ||
| 1412 | as ArrayRef[ListAnnotationsRequest()]; | ||
| 1413 | |||
| 1414 | coerce 'RepeatedListAnnotationsRequest', | ||
| 1415 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::ListAnnotationsRequest'->new($_) } @$_ ] }; | ||
| 1416 | |||
| 1417 | declare 'MapStringListAnnotationsRequest', | ||
| 1418 | as HashRef[ListAnnotationsRequest()]; | ||
| 1419 | |||
| 1420 | declare 'ListAnnotationsResponse', | ||
| 1421 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::ListAnnotationsResponse']; | ||
| 1422 | |||
| 1423 | coerce 'ListAnnotationsResponse', | ||
| 1424 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::ListAnnotationsResponse'->new($_) }; | ||
| 1425 | |||
| 1426 | declare 'RepeatedListAnnotationsResponse', | ||
| 1427 | as ArrayRef[ListAnnotationsResponse()]; | ||
| 1428 | |||
| 1429 | coerce 'RepeatedListAnnotationsResponse', | ||
| 1430 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::ListAnnotationsResponse'->new($_) } @$_ ] }; | ||
| 1431 | |||
| 1432 | declare 'MapStringListAnnotationsResponse', | ||
| 1433 | as HashRef[ListAnnotationsResponse()]; | ||
| 1434 | |||
| 1435 | declare 'GetAnnotationRequest', | ||
| 1436 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::GetAnnotationRequest']; | ||
| 1437 | |||
| 1438 | coerce 'GetAnnotationRequest', | ||
| 1439 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::GetAnnotationRequest'->new($_) }; | ||
| 1440 | |||
| 1441 | declare 'RepeatedGetAnnotationRequest', | ||
| 1442 | as ArrayRef[GetAnnotationRequest()]; | ||
| 1443 | |||
| 1444 | coerce 'RepeatedGetAnnotationRequest', | ||
| 1445 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::GetAnnotationRequest'->new($_) } @$_ ] }; | ||
| 1446 | |||
| 1447 | declare 'MapStringGetAnnotationRequest', | ||
| 1448 | as HashRef[GetAnnotationRequest()]; | ||
| 1449 | |||
| 1450 | declare 'UpdateAnnotationRequest', | ||
| 1451 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::UpdateAnnotationRequest']; | ||
| 1452 | |||
| 1453 | coerce 'UpdateAnnotationRequest', | ||
| 1454 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::UpdateAnnotationRequest'->new($_) }; | ||
| 1455 | |||
| 1456 | declare 'RepeatedUpdateAnnotationRequest', | ||
| 1457 | as ArrayRef[UpdateAnnotationRequest()]; | ||
| 1458 | |||
| 1459 | coerce 'RepeatedUpdateAnnotationRequest', | ||
| 1460 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::UpdateAnnotationRequest'->new($_) } @$_ ] }; | ||
| 1461 | |||
| 1462 | declare 'MapStringUpdateAnnotationRequest', | ||
| 1463 | as HashRef[UpdateAnnotationRequest()]; | ||
| 1464 | |||
| 1465 | declare 'DeleteAnnotationRequest', | ||
| 1466 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::DeleteAnnotationRequest']; | ||
| 1467 | |||
| 1468 | coerce 'DeleteAnnotationRequest', | ||
| 1469 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::DeleteAnnotationRequest'->new($_) }; | ||
| 1470 | |||
| 1471 | declare 'RepeatedDeleteAnnotationRequest', | ||
| 1472 | as ArrayRef[DeleteAnnotationRequest()]; | ||
| 1473 | |||
| 1474 | coerce 'RepeatedDeleteAnnotationRequest', | ||
| 1475 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::DeleteAnnotationRequest'->new($_) } @$_ ] }; | ||
| 1476 | |||
| 1477 | declare 'MapStringDeleteAnnotationRequest', | ||
| 1478 | as HashRef[DeleteAnnotationRequest()]; | ||
| 1479 | |||
| 1480 | declare 'ImportAssetsRequest', | ||
| 1481 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::ImportAssetsRequest']; | ||
| 1482 | |||
| 1483 | coerce 'ImportAssetsRequest', | ||
| 1484 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::ImportAssetsRequest'->new($_) }; | ||
| 1485 | |||
| 1486 | declare 'RepeatedImportAssetsRequest', | ||
| 1487 | as ArrayRef[ImportAssetsRequest()]; | ||
| 1488 | |||
| 1489 | coerce 'RepeatedImportAssetsRequest', | ||
| 1490 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::ImportAssetsRequest'->new($_) } @$_ ] }; | ||
| 1491 | |||
| 1492 | declare 'MapStringImportAssetsRequest', | ||
| 1493 | as HashRef[ImportAssetsRequest()]; | ||
| 1494 | |||
| 1495 | declare 'ImportAssetsMetadata', | ||
| 1496 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::ImportAssetsMetadata']; | ||
| 1497 | |||
| 1498 | coerce 'ImportAssetsMetadata', | ||
| 1499 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::ImportAssetsMetadata'->new($_) }; | ||
| 1500 | |||
| 1501 | declare 'RepeatedImportAssetsMetadata', | ||
| 1502 | as ArrayRef[ImportAssetsMetadata()]; | ||
| 1503 | |||
| 1504 | coerce 'RepeatedImportAssetsMetadata', | ||
| 1505 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::ImportAssetsMetadata'->new($_) } @$_ ] }; | ||
| 1506 | |||
| 1507 | declare 'MapStringImportAssetsMetadata', | ||
| 1508 | as HashRef[ImportAssetsMetadata()]; | ||
| 1509 | |||
| 1510 | declare 'BatchOperationStatus', | ||
| 1511 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::BatchOperationStatus']; | ||
| 1512 | |||
| 1513 | coerce 'BatchOperationStatus', | ||
| 1514 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::BatchOperationStatus'->new($_) }; | ||
| 1515 | |||
| 1516 | declare 'RepeatedBatchOperationStatus', | ||
| 1517 | as ArrayRef[BatchOperationStatus()]; | ||
| 1518 | |||
| 1519 | coerce 'RepeatedBatchOperationStatus', | ||
| 1520 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::BatchOperationStatus'->new($_) } @$_ ] }; | ||
| 1521 | |||
| 1522 | declare 'MapStringBatchOperationStatus', | ||
| 1523 | as HashRef[BatchOperationStatus()]; | ||
| 1524 | |||
| 1525 | declare 'ImportAssetsResponse', | ||
| 1526 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::ImportAssetsResponse']; | ||
| 1527 | |||
| 1528 | coerce 'ImportAssetsResponse', | ||
| 1529 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::ImportAssetsResponse'->new($_) }; | ||
| 1530 | |||
| 1531 | declare 'RepeatedImportAssetsResponse', | ||
| 1532 | as ArrayRef[ImportAssetsResponse()]; | ||
| 1533 | |||
| 1534 | coerce 'RepeatedImportAssetsResponse', | ||
| 1535 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::ImportAssetsResponse'->new($_) } @$_ ] }; | ||
| 1536 | |||
| 1537 | declare 'MapStringImportAssetsResponse', | ||
| 1538 | as HashRef[ImportAssetsResponse()]; | ||
| 1539 | |||
| 1540 | declare 'CreateSearchConfigRequest', | ||
| 1541 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::CreateSearchConfigRequest']; | ||
| 1542 | |||
| 1543 | coerce 'CreateSearchConfigRequest', | ||
| 1544 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::CreateSearchConfigRequest'->new($_) }; | ||
| 1545 | |||
| 1546 | declare 'RepeatedCreateSearchConfigRequest', | ||
| 1547 | as ArrayRef[CreateSearchConfigRequest()]; | ||
| 1548 | |||
| 1549 | coerce 'RepeatedCreateSearchConfigRequest', | ||
| 1550 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::CreateSearchConfigRequest'->new($_) } @$_ ] }; | ||
| 1551 | |||
| 1552 | declare 'MapStringCreateSearchConfigRequest', | ||
| 1553 | as HashRef[CreateSearchConfigRequest()]; | ||
| 1554 | |||
| 1555 | declare 'UpdateSearchConfigRequest', | ||
| 1556 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::UpdateSearchConfigRequest']; | ||
| 1557 | |||
| 1558 | coerce 'UpdateSearchConfigRequest', | ||
| 1559 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::UpdateSearchConfigRequest'->new($_) }; | ||
| 1560 | |||
| 1561 | declare 'RepeatedUpdateSearchConfigRequest', | ||
| 1562 | as ArrayRef[UpdateSearchConfigRequest()]; | ||
| 1563 | |||
| 1564 | coerce 'RepeatedUpdateSearchConfigRequest', | ||
| 1565 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::UpdateSearchConfigRequest'->new($_) } @$_ ] }; | ||
| 1566 | |||
| 1567 | declare 'MapStringUpdateSearchConfigRequest', | ||
| 1568 | as HashRef[UpdateSearchConfigRequest()]; | ||
| 1569 | |||
| 1570 | declare 'GetSearchConfigRequest', | ||
| 1571 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::GetSearchConfigRequest']; | ||
| 1572 | |||
| 1573 | coerce 'GetSearchConfigRequest', | ||
| 1574 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::GetSearchConfigRequest'->new($_) }; | ||
| 1575 | |||
| 1576 | declare 'RepeatedGetSearchConfigRequest', | ||
| 1577 | as ArrayRef[GetSearchConfigRequest()]; | ||
| 1578 | |||
| 1579 | coerce 'RepeatedGetSearchConfigRequest', | ||
| 1580 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::GetSearchConfigRequest'->new($_) } @$_ ] }; | ||
| 1581 | |||
| 1582 | declare 'MapStringGetSearchConfigRequest', | ||
| 1583 | as HashRef[GetSearchConfigRequest()]; | ||
| 1584 | |||
| 1585 | declare 'DeleteSearchConfigRequest', | ||
| 1586 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::DeleteSearchConfigRequest']; | ||
| 1587 | |||
| 1588 | coerce 'DeleteSearchConfigRequest', | ||
| 1589 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::DeleteSearchConfigRequest'->new($_) }; | ||
| 1590 | |||
| 1591 | declare 'RepeatedDeleteSearchConfigRequest', | ||
| 1592 | as ArrayRef[DeleteSearchConfigRequest()]; | ||
| 1593 | |||
| 1594 | coerce 'RepeatedDeleteSearchConfigRequest', | ||
| 1595 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::DeleteSearchConfigRequest'->new($_) } @$_ ] }; | ||
| 1596 | |||
| 1597 | declare 'MapStringDeleteSearchConfigRequest', | ||
| 1598 | as HashRef[DeleteSearchConfigRequest()]; | ||
| 1599 | |||
| 1600 | declare 'ListSearchConfigsRequest', | ||
| 1601 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::ListSearchConfigsRequest']; | ||
| 1602 | |||
| 1603 | coerce 'ListSearchConfigsRequest', | ||
| 1604 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::ListSearchConfigsRequest'->new($_) }; | ||
| 1605 | |||
| 1606 | declare 'RepeatedListSearchConfigsRequest', | ||
| 1607 | as ArrayRef[ListSearchConfigsRequest()]; | ||
| 1608 | |||
| 1609 | coerce 'RepeatedListSearchConfigsRequest', | ||
| 1610 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::ListSearchConfigsRequest'->new($_) } @$_ ] }; | ||
| 1611 | |||
| 1612 | declare 'MapStringListSearchConfigsRequest', | ||
| 1613 | as HashRef[ListSearchConfigsRequest()]; | ||
| 1614 | |||
| 1615 | declare 'ListSearchConfigsResponse', | ||
| 1616 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::ListSearchConfigsResponse']; | ||
| 1617 | |||
| 1618 | coerce 'ListSearchConfigsResponse', | ||
| 1619 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::ListSearchConfigsResponse'->new($_) }; | ||
| 1620 | |||
| 1621 | declare 'RepeatedListSearchConfigsResponse', | ||
| 1622 | as ArrayRef[ListSearchConfigsResponse()]; | ||
| 1623 | |||
| 1624 | coerce 'RepeatedListSearchConfigsResponse', | ||
| 1625 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::ListSearchConfigsResponse'->new($_) } @$_ ] }; | ||
| 1626 | |||
| 1627 | declare 'MapStringListSearchConfigsResponse', | ||
| 1628 | as HashRef[ListSearchConfigsResponse()]; | ||
| 1629 | |||
| 1630 | declare 'SearchConfig', | ||
| 1631 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::SearchConfig']; | ||
| 1632 | |||
| 1633 | coerce 'SearchConfig', | ||
| 1634 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::SearchConfig'->new($_) }; | ||
| 1635 | |||
| 1636 | declare 'RepeatedSearchConfig', | ||
| 1637 | as ArrayRef[SearchConfig()]; | ||
| 1638 | |||
| 1639 | coerce 'RepeatedSearchConfig', | ||
| 1640 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::SearchConfig'->new($_) } @$_ ] }; | ||
| 1641 | |||
| 1642 | declare 'MapStringSearchConfig', | ||
| 1643 | as HashRef[SearchConfig()]; | ||
| 1644 | |||
| 1645 | declare 'IndexEndpoint', | ||
| 1646 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::IndexEndpoint']; | ||
| 1647 | |||
| 1648 | coerce 'IndexEndpoint', | ||
| 1649 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::IndexEndpoint'->new($_) }; | ||
| 1650 | |||
| 1651 | declare 'RepeatedIndexEndpoint', | ||
| 1652 | as ArrayRef[IndexEndpoint()]; | ||
| 1653 | |||
| 1654 | coerce 'RepeatedIndexEndpoint', | ||
| 1655 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::IndexEndpoint'->new($_) } @$_ ] }; | ||
| 1656 | |||
| 1657 | declare 'MapStringIndexEndpoint', | ||
| 1658 | as HashRef[IndexEndpoint()]; | ||
| 1659 | |||
| 1660 | declare 'State', | ||
| 1661 | as (Int | Str); | ||
| 1662 | |||
| 1663 | declare 'LabelsEntry', | ||
| 1664 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::IndexEndpoint::LabelsEntry']; | ||
| 1665 | |||
| 1666 | coerce 'LabelsEntry', | ||
| 1667 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::IndexEndpoint::LabelsEntry'->new($_) }; | ||
| 1668 | |||
| 1669 | declare 'RepeatedLabelsEntry', | ||
| 1670 | as ArrayRef[LabelsEntry()]; | ||
| 1671 | |||
| 1672 | coerce 'RepeatedLabelsEntry', | ||
| 1673 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::IndexEndpoint::LabelsEntry'->new($_) } @$_ ] }; | ||
| 1674 | |||
| 1675 | declare 'MapStringLabelsEntry', | ||
| 1676 | as HashRef[LabelsEntry()]; | ||
| 1677 | |||
| 1678 | declare 'CreateIndexEndpointRequest', | ||
| 1679 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::CreateIndexEndpointRequest']; | ||
| 1680 | |||
| 1681 | coerce 'CreateIndexEndpointRequest', | ||
| 1682 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::CreateIndexEndpointRequest'->new($_) }; | ||
| 1683 | |||
| 1684 | declare 'RepeatedCreateIndexEndpointRequest', | ||
| 1685 | as ArrayRef[CreateIndexEndpointRequest()]; | ||
| 1686 | |||
| 1687 | coerce 'RepeatedCreateIndexEndpointRequest', | ||
| 1688 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::CreateIndexEndpointRequest'->new($_) } @$_ ] }; | ||
| 1689 | |||
| 1690 | declare 'MapStringCreateIndexEndpointRequest', | ||
| 1691 | as HashRef[CreateIndexEndpointRequest()]; | ||
| 1692 | |||
| 1693 | declare 'CreateIndexEndpointMetadata', | ||
| 1694 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::CreateIndexEndpointMetadata']; | ||
| 1695 | |||
| 1696 | coerce 'CreateIndexEndpointMetadata', | ||
| 1697 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::CreateIndexEndpointMetadata'->new($_) }; | ||
| 1698 | |||
| 1699 | declare 'RepeatedCreateIndexEndpointMetadata', | ||
| 1700 | as ArrayRef[CreateIndexEndpointMetadata()]; | ||
| 1701 | |||
| 1702 | coerce 'RepeatedCreateIndexEndpointMetadata', | ||
| 1703 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::CreateIndexEndpointMetadata'->new($_) } @$_ ] }; | ||
| 1704 | |||
| 1705 | declare 'MapStringCreateIndexEndpointMetadata', | ||
| 1706 | as HashRef[CreateIndexEndpointMetadata()]; | ||
| 1707 | |||
| 1708 | declare 'GetIndexEndpointRequest', | ||
| 1709 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::GetIndexEndpointRequest']; | ||
| 1710 | |||
| 1711 | coerce 'GetIndexEndpointRequest', | ||
| 1712 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::GetIndexEndpointRequest'->new($_) }; | ||
| 1713 | |||
| 1714 | declare 'RepeatedGetIndexEndpointRequest', | ||
| 1715 | as ArrayRef[GetIndexEndpointRequest()]; | ||
| 1716 | |||
| 1717 | coerce 'RepeatedGetIndexEndpointRequest', | ||
| 1718 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::GetIndexEndpointRequest'->new($_) } @$_ ] }; | ||
| 1719 | |||
| 1720 | declare 'MapStringGetIndexEndpointRequest', | ||
| 1721 | as HashRef[GetIndexEndpointRequest()]; | ||
| 1722 | |||
| 1723 | declare 'ListIndexEndpointsRequest', | ||
| 1724 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::ListIndexEndpointsRequest']; | ||
| 1725 | |||
| 1726 | coerce 'ListIndexEndpointsRequest', | ||
| 1727 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::ListIndexEndpointsRequest'->new($_) }; | ||
| 1728 | |||
| 1729 | declare 'RepeatedListIndexEndpointsRequest', | ||
| 1730 | as ArrayRef[ListIndexEndpointsRequest()]; | ||
| 1731 | |||
| 1732 | coerce 'RepeatedListIndexEndpointsRequest', | ||
| 1733 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::ListIndexEndpointsRequest'->new($_) } @$_ ] }; | ||
| 1734 | |||
| 1735 | declare 'MapStringListIndexEndpointsRequest', | ||
| 1736 | as HashRef[ListIndexEndpointsRequest()]; | ||
| 1737 | |||
| 1738 | declare 'ListIndexEndpointsResponse', | ||
| 1739 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::ListIndexEndpointsResponse']; | ||
| 1740 | |||
| 1741 | coerce 'ListIndexEndpointsResponse', | ||
| 1742 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::ListIndexEndpointsResponse'->new($_) }; | ||
| 1743 | |||
| 1744 | declare 'RepeatedListIndexEndpointsResponse', | ||
| 1745 | as ArrayRef[ListIndexEndpointsResponse()]; | ||
| 1746 | |||
| 1747 | coerce 'RepeatedListIndexEndpointsResponse', | ||
| 1748 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::ListIndexEndpointsResponse'->new($_) } @$_ ] }; | ||
| 1749 | |||
| 1750 | declare 'MapStringListIndexEndpointsResponse', | ||
| 1751 | as HashRef[ListIndexEndpointsResponse()]; | ||
| 1752 | |||
| 1753 | declare 'UpdateIndexEndpointRequest', | ||
| 1754 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::UpdateIndexEndpointRequest']; | ||
| 1755 | |||
| 1756 | coerce 'UpdateIndexEndpointRequest', | ||
| 1757 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::UpdateIndexEndpointRequest'->new($_) }; | ||
| 1758 | |||
| 1759 | declare 'RepeatedUpdateIndexEndpointRequest', | ||
| 1760 | as ArrayRef[UpdateIndexEndpointRequest()]; | ||
| 1761 | |||
| 1762 | coerce 'RepeatedUpdateIndexEndpointRequest', | ||
| 1763 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::UpdateIndexEndpointRequest'->new($_) } @$_ ] }; | ||
| 1764 | |||
| 1765 | declare 'MapStringUpdateIndexEndpointRequest', | ||
| 1766 | as HashRef[UpdateIndexEndpointRequest()]; | ||
| 1767 | |||
| 1768 | declare 'UpdateIndexEndpointMetadata', | ||
| 1769 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::UpdateIndexEndpointMetadata']; | ||
| 1770 | |||
| 1771 | coerce 'UpdateIndexEndpointMetadata', | ||
| 1772 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::UpdateIndexEndpointMetadata'->new($_) }; | ||
| 1773 | |||
| 1774 | declare 'RepeatedUpdateIndexEndpointMetadata', | ||
| 1775 | as ArrayRef[UpdateIndexEndpointMetadata()]; | ||
| 1776 | |||
| 1777 | coerce 'RepeatedUpdateIndexEndpointMetadata', | ||
| 1778 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::UpdateIndexEndpointMetadata'->new($_) } @$_ ] }; | ||
| 1779 | |||
| 1780 | declare 'MapStringUpdateIndexEndpointMetadata', | ||
| 1781 | as HashRef[UpdateIndexEndpointMetadata()]; | ||
| 1782 | |||
| 1783 | declare 'DeleteIndexEndpointRequest', | ||
| 1784 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::DeleteIndexEndpointRequest']; | ||
| 1785 | |||
| 1786 | coerce 'DeleteIndexEndpointRequest', | ||
| 1787 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::DeleteIndexEndpointRequest'->new($_) }; | ||
| 1788 | |||
| 1789 | declare 'RepeatedDeleteIndexEndpointRequest', | ||
| 1790 | as ArrayRef[DeleteIndexEndpointRequest()]; | ||
| 1791 | |||
| 1792 | coerce 'RepeatedDeleteIndexEndpointRequest', | ||
| 1793 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::DeleteIndexEndpointRequest'->new($_) } @$_ ] }; | ||
| 1794 | |||
| 1795 | declare 'MapStringDeleteIndexEndpointRequest', | ||
| 1796 | as HashRef[DeleteIndexEndpointRequest()]; | ||
| 1797 | |||
| 1798 | declare 'DeleteIndexEndpointMetadata', | ||
| 1799 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::DeleteIndexEndpointMetadata']; | ||
| 1800 | |||
| 1801 | coerce 'DeleteIndexEndpointMetadata', | ||
| 1802 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::DeleteIndexEndpointMetadata'->new($_) }; | ||
| 1803 | |||
| 1804 | declare 'RepeatedDeleteIndexEndpointMetadata', | ||
| 1805 | as ArrayRef[DeleteIndexEndpointMetadata()]; | ||
| 1806 | |||
| 1807 | coerce 'RepeatedDeleteIndexEndpointMetadata', | ||
| 1808 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::DeleteIndexEndpointMetadata'->new($_) } @$_ ] }; | ||
| 1809 | |||
| 1810 | declare 'MapStringDeleteIndexEndpointMetadata', | ||
| 1811 | as HashRef[DeleteIndexEndpointMetadata()]; | ||
| 1812 | |||
| 1813 | declare 'DeployIndexRequest', | ||
| 1814 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::DeployIndexRequest']; | ||
| 1815 | |||
| 1816 | coerce 'DeployIndexRequest', | ||
| 1817 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::DeployIndexRequest'->new($_) }; | ||
| 1818 | |||
| 1819 | declare 'RepeatedDeployIndexRequest', | ||
| 1820 | as ArrayRef[DeployIndexRequest()]; | ||
| 1821 | |||
| 1822 | coerce 'RepeatedDeployIndexRequest', | ||
| 1823 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::DeployIndexRequest'->new($_) } @$_ ] }; | ||
| 1824 | |||
| 1825 | declare 'MapStringDeployIndexRequest', | ||
| 1826 | as HashRef[DeployIndexRequest()]; | ||
| 1827 | |||
| 1828 | declare 'DeployIndexResponse', | ||
| 1829 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::DeployIndexResponse']; | ||
| 1830 | |||
| 1831 | coerce 'DeployIndexResponse', | ||
| 1832 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::DeployIndexResponse'->new($_) }; | ||
| 1833 | |||
| 1834 | declare 'RepeatedDeployIndexResponse', | ||
| 1835 | as ArrayRef[DeployIndexResponse()]; | ||
| 1836 | |||
| 1837 | coerce 'RepeatedDeployIndexResponse', | ||
| 1838 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::DeployIndexResponse'->new($_) } @$_ ] }; | ||
| 1839 | |||
| 1840 | declare 'MapStringDeployIndexResponse', | ||
| 1841 | as HashRef[DeployIndexResponse()]; | ||
| 1842 | |||
| 1843 | declare 'DeployIndexMetadata', | ||
| 1844 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::DeployIndexMetadata']; | ||
| 1845 | |||
| 1846 | coerce 'DeployIndexMetadata', | ||
| 1847 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::DeployIndexMetadata'->new($_) }; | ||
| 1848 | |||
| 1849 | declare 'RepeatedDeployIndexMetadata', | ||
| 1850 | as ArrayRef[DeployIndexMetadata()]; | ||
| 1851 | |||
| 1852 | coerce 'RepeatedDeployIndexMetadata', | ||
| 1853 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::DeployIndexMetadata'->new($_) } @$_ ] }; | ||
| 1854 | |||
| 1855 | declare 'MapStringDeployIndexMetadata', | ||
| 1856 | as HashRef[DeployIndexMetadata()]; | ||
| 1857 | |||
| 1858 | declare 'UndeployIndexMetadata', | ||
| 1859 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::UndeployIndexMetadata']; | ||
| 1860 | |||
| 1861 | coerce 'UndeployIndexMetadata', | ||
| 1862 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::UndeployIndexMetadata'->new($_) }; | ||
| 1863 | |||
| 1864 | declare 'RepeatedUndeployIndexMetadata', | ||
| 1865 | as ArrayRef[UndeployIndexMetadata()]; | ||
| 1866 | |||
| 1867 | coerce 'RepeatedUndeployIndexMetadata', | ||
| 1868 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::UndeployIndexMetadata'->new($_) } @$_ ] }; | ||
| 1869 | |||
| 1870 | declare 'MapStringUndeployIndexMetadata', | ||
| 1871 | as HashRef[UndeployIndexMetadata()]; | ||
| 1872 | |||
| 1873 | declare 'UndeployIndexRequest', | ||
| 1874 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::UndeployIndexRequest']; | ||
| 1875 | |||
| 1876 | coerce 'UndeployIndexRequest', | ||
| 1877 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::UndeployIndexRequest'->new($_) }; | ||
| 1878 | |||
| 1879 | declare 'RepeatedUndeployIndexRequest', | ||
| 1880 | as ArrayRef[UndeployIndexRequest()]; | ||
| 1881 | |||
| 1882 | coerce 'RepeatedUndeployIndexRequest', | ||
| 1883 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::UndeployIndexRequest'->new($_) } @$_ ] }; | ||
| 1884 | |||
| 1885 | declare 'MapStringUndeployIndexRequest', | ||
| 1886 | as HashRef[UndeployIndexRequest()]; | ||
| 1887 | |||
| 1888 | declare 'UndeployIndexResponse', | ||
| 1889 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::UndeployIndexResponse']; | ||
| 1890 | |||
| 1891 | coerce 'UndeployIndexResponse', | ||
| 1892 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::UndeployIndexResponse'->new($_) }; | ||
| 1893 | |||
| 1894 | declare 'RepeatedUndeployIndexResponse', | ||
| 1895 | as ArrayRef[UndeployIndexResponse()]; | ||
| 1896 | |||
| 1897 | coerce 'RepeatedUndeployIndexResponse', | ||
| 1898 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::UndeployIndexResponse'->new($_) } @$_ ] }; | ||
| 1899 | |||
| 1900 | declare 'MapStringUndeployIndexResponse', | ||
| 1901 | as HashRef[UndeployIndexResponse()]; | ||
| 1902 | |||
| 1903 | declare 'DeployedIndex', | ||
| 1904 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::DeployedIndex']; | ||
| 1905 | |||
| 1906 | coerce 'DeployedIndex', | ||
| 1907 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::DeployedIndex'->new($_) }; | ||
| 1908 | |||
| 1909 | declare 'RepeatedDeployedIndex', | ||
| 1910 | as ArrayRef[DeployedIndex()]; | ||
| 1911 | |||
| 1912 | coerce 'RepeatedDeployedIndex', | ||
| 1913 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::DeployedIndex'->new($_) } @$_ ] }; | ||
| 1914 | |||
| 1915 | declare 'MapStringDeployedIndex', | ||
| 1916 | as HashRef[DeployedIndex()]; | ||
| 1917 | |||
| 1918 | declare 'FacetProperty', | ||
| 1919 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::FacetProperty']; | ||
| 1920 | |||
| 1921 | coerce 'FacetProperty', | ||
| 1922 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::FacetProperty'->new($_) }; | ||
| 1923 | |||
| 1924 | declare 'RepeatedFacetProperty', | ||
| 1925 | as ArrayRef[FacetProperty()]; | ||
| 1926 | |||
| 1927 | coerce 'RepeatedFacetProperty', | ||
| 1928 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::FacetProperty'->new($_) } @$_ ] }; | ||
| 1929 | |||
| 1930 | declare 'MapStringFacetProperty', | ||
| 1931 | as HashRef[FacetProperty()]; | ||
| 1932 | |||
| 1933 | declare 'FixedRangeBucketSpec', | ||
| 1934 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::FacetProperty::FixedRangeBucketSpec']; | ||
| 1935 | |||
| 1936 | coerce 'FixedRangeBucketSpec', | ||
| 1937 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::FacetProperty::FixedRangeBucketSpec'->new($_) }; | ||
| 1938 | |||
| 1939 | declare 'RepeatedFixedRangeBucketSpec', | ||
| 1940 | as ArrayRef[FixedRangeBucketSpec()]; | ||
| 1941 | |||
| 1942 | coerce 'RepeatedFixedRangeBucketSpec', | ||
| 1943 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::FacetProperty::FixedRangeBucketSpec'->new($_) } @$_ ] }; | ||
| 1944 | |||
| 1945 | declare 'MapStringFixedRangeBucketSpec', | ||
| 1946 | as HashRef[FixedRangeBucketSpec()]; | ||
| 1947 | |||
| 1948 | declare 'CustomRangeBucketSpec', | ||
| 1949 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::FacetProperty::CustomRangeBucketSpec']; | ||
| 1950 | |||
| 1951 | coerce 'CustomRangeBucketSpec', | ||
| 1952 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::FacetProperty::CustomRangeBucketSpec'->new($_) }; | ||
| 1953 | |||
| 1954 | declare 'RepeatedCustomRangeBucketSpec', | ||
| 1955 | as ArrayRef[CustomRangeBucketSpec()]; | ||
| 1956 | |||
| 1957 | coerce 'RepeatedCustomRangeBucketSpec', | ||
| 1958 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::FacetProperty::CustomRangeBucketSpec'->new($_) } @$_ ] }; | ||
| 1959 | |||
| 1960 | declare 'MapStringCustomRangeBucketSpec', | ||
| 1961 | as HashRef[CustomRangeBucketSpec()]; | ||
| 1962 | |||
| 1963 | declare 'DateTimeBucketSpec', | ||
| 1964 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::FacetProperty::DateTimeBucketSpec']; | ||
| 1965 | |||
| 1966 | coerce 'DateTimeBucketSpec', | ||
| 1967 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::FacetProperty::DateTimeBucketSpec'->new($_) }; | ||
| 1968 | |||
| 1969 | declare 'RepeatedDateTimeBucketSpec', | ||
| 1970 | as ArrayRef[DateTimeBucketSpec()]; | ||
| 1971 | |||
| 1972 | coerce 'RepeatedDateTimeBucketSpec', | ||
| 1973 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::FacetProperty::DateTimeBucketSpec'->new($_) } @$_ ] }; | ||
| 1974 | |||
| 1975 | declare 'MapStringDateTimeBucketSpec', | ||
| 1976 | as HashRef[DateTimeBucketSpec()]; | ||
| 1977 | |||
| 1978 | declare 'Granularity', | ||
| 1979 | as (Int | Str); | ||
| 1980 | |||
| 1981 | declare 'SearchHypernym', | ||
| 1982 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::SearchHypernym']; | ||
| 1983 | |||
| 1984 | coerce 'SearchHypernym', | ||
| 1985 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::SearchHypernym'->new($_) }; | ||
| 1986 | |||
| 1987 | declare 'RepeatedSearchHypernym', | ||
| 1988 | as ArrayRef[SearchHypernym()]; | ||
| 1989 | |||
| 1990 | coerce 'RepeatedSearchHypernym', | ||
| 1991 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::SearchHypernym'->new($_) } @$_ ] }; | ||
| 1992 | |||
| 1993 | declare 'MapStringSearchHypernym', | ||
| 1994 | as HashRef[SearchHypernym()]; | ||
| 1995 | |||
| 1996 | declare 'CreateSearchHypernymRequest', | ||
| 1997 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::CreateSearchHypernymRequest']; | ||
| 1998 | |||
| 1999 | coerce 'CreateSearchHypernymRequest', | ||
| 2000 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::CreateSearchHypernymRequest'->new($_) }; | ||
| 2001 | |||
| 2002 | declare 'RepeatedCreateSearchHypernymRequest', | ||
| 2003 | as ArrayRef[CreateSearchHypernymRequest()]; | ||
| 2004 | |||
| 2005 | coerce 'RepeatedCreateSearchHypernymRequest', | ||
| 2006 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::CreateSearchHypernymRequest'->new($_) } @$_ ] }; | ||
| 2007 | |||
| 2008 | declare 'MapStringCreateSearchHypernymRequest', | ||
| 2009 | as HashRef[CreateSearchHypernymRequest()]; | ||
| 2010 | |||
| 2011 | declare 'UpdateSearchHypernymRequest', | ||
| 2012 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::UpdateSearchHypernymRequest']; | ||
| 2013 | |||
| 2014 | coerce 'UpdateSearchHypernymRequest', | ||
| 2015 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::UpdateSearchHypernymRequest'->new($_) }; | ||
| 2016 | |||
| 2017 | declare 'RepeatedUpdateSearchHypernymRequest', | ||
| 2018 | as ArrayRef[UpdateSearchHypernymRequest()]; | ||
| 2019 | |||
| 2020 | coerce 'RepeatedUpdateSearchHypernymRequest', | ||
| 2021 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::UpdateSearchHypernymRequest'->new($_) } @$_ ] }; | ||
| 2022 | |||
| 2023 | declare 'MapStringUpdateSearchHypernymRequest', | ||
| 2024 | as HashRef[UpdateSearchHypernymRequest()]; | ||
| 2025 | |||
| 2026 | declare 'GetSearchHypernymRequest', | ||
| 2027 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::GetSearchHypernymRequest']; | ||
| 2028 | |||
| 2029 | coerce 'GetSearchHypernymRequest', | ||
| 2030 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::GetSearchHypernymRequest'->new($_) }; | ||
| 2031 | |||
| 2032 | declare 'RepeatedGetSearchHypernymRequest', | ||
| 2033 | as ArrayRef[GetSearchHypernymRequest()]; | ||
| 2034 | |||
| 2035 | coerce 'RepeatedGetSearchHypernymRequest', | ||
| 2036 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::GetSearchHypernymRequest'->new($_) } @$_ ] }; | ||
| 2037 | |||
| 2038 | declare 'MapStringGetSearchHypernymRequest', | ||
| 2039 | as HashRef[GetSearchHypernymRequest()]; | ||
| 2040 | |||
| 2041 | declare 'DeleteSearchHypernymRequest', | ||
| 2042 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::DeleteSearchHypernymRequest']; | ||
| 2043 | |||
| 2044 | coerce 'DeleteSearchHypernymRequest', | ||
| 2045 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::DeleteSearchHypernymRequest'->new($_) }; | ||
| 2046 | |||
| 2047 | declare 'RepeatedDeleteSearchHypernymRequest', | ||
| 2048 | as ArrayRef[DeleteSearchHypernymRequest()]; | ||
| 2049 | |||
| 2050 | coerce 'RepeatedDeleteSearchHypernymRequest', | ||
| 2051 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::DeleteSearchHypernymRequest'->new($_) } @$_ ] }; | ||
| 2052 | |||
| 2053 | declare 'MapStringDeleteSearchHypernymRequest', | ||
| 2054 | as HashRef[DeleteSearchHypernymRequest()]; | ||
| 2055 | |||
| 2056 | declare 'ListSearchHypernymsRequest', | ||
| 2057 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::ListSearchHypernymsRequest']; | ||
| 2058 | |||
| 2059 | coerce 'ListSearchHypernymsRequest', | ||
| 2060 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::ListSearchHypernymsRequest'->new($_) }; | ||
| 2061 | |||
| 2062 | declare 'RepeatedListSearchHypernymsRequest', | ||
| 2063 | as ArrayRef[ListSearchHypernymsRequest()]; | ||
| 2064 | |||
| 2065 | coerce 'RepeatedListSearchHypernymsRequest', | ||
| 2066 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::ListSearchHypernymsRequest'->new($_) } @$_ ] }; | ||
| 2067 | |||
| 2068 | declare 'MapStringListSearchHypernymsRequest', | ||
| 2069 | as HashRef[ListSearchHypernymsRequest()]; | ||
| 2070 | |||
| 2071 | declare 'ListSearchHypernymsResponse', | ||
| 2072 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::ListSearchHypernymsResponse']; | ||
| 2073 | |||
| 2074 | coerce 'ListSearchHypernymsResponse', | ||
| 2075 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::ListSearchHypernymsResponse'->new($_) }; | ||
| 2076 | |||
| 2077 | declare 'RepeatedListSearchHypernymsResponse', | ||
| 2078 | as ArrayRef[ListSearchHypernymsResponse()]; | ||
| 2079 | |||
| 2080 | coerce 'RepeatedListSearchHypernymsResponse', | ||
| 2081 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::ListSearchHypernymsResponse'->new($_) } @$_ ] }; | ||
| 2082 | |||
| 2083 | declare 'MapStringListSearchHypernymsResponse', | ||
| 2084 | as HashRef[ListSearchHypernymsResponse()]; | ||
| 2085 | |||
| 2086 | declare 'SearchCriteriaProperty', | ||
| 2087 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::SearchCriteriaProperty']; | ||
| 2088 | |||
| 2089 | coerce 'SearchCriteriaProperty', | ||
| 2090 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::SearchCriteriaProperty'->new($_) }; | ||
| 2091 | |||
| 2092 | declare 'RepeatedSearchCriteriaProperty', | ||
| 2093 | as ArrayRef[SearchCriteriaProperty()]; | ||
| 2094 | |||
| 2095 | coerce 'RepeatedSearchCriteriaProperty', | ||
| 2096 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::SearchCriteriaProperty'->new($_) } @$_ ] }; | ||
| 2097 | |||
| 2098 | declare 'MapStringSearchCriteriaProperty', | ||
| 2099 | as HashRef[SearchCriteriaProperty()]; | ||
| 2100 | |||
| 2101 | declare 'FacetValue', | ||
| 2102 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::FacetValue']; | ||
| 2103 | |||
| 2104 | coerce 'FacetValue', | ||
| 2105 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::FacetValue'->new($_) }; | ||
| 2106 | |||
| 2107 | declare 'RepeatedFacetValue', | ||
| 2108 | as ArrayRef[FacetValue()]; | ||
| 2109 | |||
| 2110 | coerce 'RepeatedFacetValue', | ||
| 2111 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::FacetValue'->new($_) } @$_ ] }; | ||
| 2112 | |||
| 2113 | declare 'MapStringFacetValue', | ||
| 2114 | as HashRef[FacetValue()]; | ||
| 2115 | |||
| 2116 | declare 'FacetBucket', | ||
| 2117 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::FacetBucket']; | ||
| 2118 | |||
| 2119 | coerce 'FacetBucket', | ||
| 2120 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::FacetBucket'->new($_) }; | ||
| 2121 | |||
| 2122 | declare 'RepeatedFacetBucket', | ||
| 2123 | as ArrayRef[FacetBucket()]; | ||
| 2124 | |||
| 2125 | coerce 'RepeatedFacetBucket', | ||
| 2126 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::FacetBucket'->new($_) } @$_ ] }; | ||
| 2127 | |||
| 2128 | declare 'MapStringFacetBucket', | ||
| 2129 | as HashRef[FacetBucket()]; | ||
| 2130 | |||
| 2131 | declare 'Range', | ||
| 2132 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::FacetBucket::Range']; | ||
| 2133 | |||
| 2134 | coerce 'Range', | ||
| 2135 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::FacetBucket::Range'->new($_) }; | ||
| 2136 | |||
| 2137 | declare 'RepeatedRange', | ||
| 2138 | as ArrayRef[Range()]; | ||
| 2139 | |||
| 2140 | coerce 'RepeatedRange', | ||
| 2141 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::FacetBucket::Range'->new($_) } @$_ ] }; | ||
| 2142 | |||
| 2143 | declare 'MapStringRange', | ||
| 2144 | as HashRef[Range()]; | ||
| 2145 | |||
| 2146 | declare 'FacetGroup', | ||
| 2147 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::FacetGroup']; | ||
| 2148 | |||
| 2149 | coerce 'FacetGroup', | ||
| 2150 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::FacetGroup'->new($_) }; | ||
| 2151 | |||
| 2152 | declare 'RepeatedFacetGroup', | ||
| 2153 | as ArrayRef[FacetGroup()]; | ||
| 2154 | |||
| 2155 | coerce 'RepeatedFacetGroup', | ||
| 2156 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::FacetGroup'->new($_) } @$_ ] }; | ||
| 2157 | |||
| 2158 | declare 'MapStringFacetGroup', | ||
| 2159 | as HashRef[FacetGroup()]; | ||
| 2160 | |||
| 2161 | declare 'IngestAssetRequest', | ||
| 2162 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::IngestAssetRequest']; | ||
| 2163 | |||
| 2164 | coerce 'IngestAssetRequest', | ||
| 2165 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::IngestAssetRequest'->new($_) }; | ||
| 2166 | |||
| 2167 | declare 'RepeatedIngestAssetRequest', | ||
| 2168 | as ArrayRef[IngestAssetRequest()]; | ||
| 2169 | |||
| 2170 | coerce 'RepeatedIngestAssetRequest', | ||
| 2171 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::IngestAssetRequest'->new($_) } @$_ ] }; | ||
| 2172 | |||
| 2173 | declare 'MapStringIngestAssetRequest', | ||
| 2174 | as HashRef[IngestAssetRequest()]; | ||
| 2175 | |||
| 2176 | declare 'Config', | ||
| 2177 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::IngestAssetRequest::Config']; | ||
| 2178 | |||
| 2179 | coerce 'Config', | ||
| 2180 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::IngestAssetRequest::Config'->new($_) }; | ||
| 2181 | |||
| 2182 | declare 'RepeatedConfig', | ||
| 2183 | as ArrayRef[Config()]; | ||
| 2184 | |||
| 2185 | coerce 'RepeatedConfig', | ||
| 2186 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::IngestAssetRequest::Config'->new($_) } @$_ ] }; | ||
| 2187 | |||
| 2188 | declare 'MapStringConfig', | ||
| 2189 | as HashRef[Config()]; | ||
| 2190 | |||
| 2191 | declare 'VideoType', | ||
| 2192 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::IngestAssetRequest::Config::VideoType']; | ||
| 2193 | |||
| 2194 | coerce 'VideoType', | ||
| 2195 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::IngestAssetRequest::Config::VideoType'->new($_) }; | ||
| 2196 | |||
| 2197 | declare 'RepeatedVideoType', | ||
| 2198 | as ArrayRef[VideoType()]; | ||
| 2199 | |||
| 2200 | coerce 'RepeatedVideoType', | ||
| 2201 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::IngestAssetRequest::Config::VideoType'->new($_) } @$_ ] }; | ||
| 2202 | |||
| 2203 | declare 'MapStringVideoType', | ||
| 2204 | as HashRef[VideoType()]; | ||
| 2205 | |||
| 2206 | declare 'ContainerFormat', | ||
| 2207 | as (Int | Str); | ||
| 2208 | |||
| 2209 | declare 'TimeIndexedData', | ||
| 2210 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::IngestAssetRequest::TimeIndexedData']; | ||
| 2211 | |||
| 2212 | coerce 'TimeIndexedData', | ||
| 2213 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::IngestAssetRequest::TimeIndexedData'->new($_) }; | ||
| 2214 | |||
| 2215 | declare 'RepeatedTimeIndexedData', | ||
| 2216 | as ArrayRef[TimeIndexedData()]; | ||
| 2217 | |||
| 2218 | coerce 'RepeatedTimeIndexedData', | ||
| 2219 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::IngestAssetRequest::TimeIndexedData'->new($_) } @$_ ] }; | ||
| 2220 | |||
| 2221 | declare 'MapStringTimeIndexedData', | ||
| 2222 | as HashRef[TimeIndexedData()]; | ||
| 2223 | |||
| 2224 | declare 'IngestAssetResponse', | ||
| 2225 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::IngestAssetResponse']; | ||
| 2226 | |||
| 2227 | coerce 'IngestAssetResponse', | ||
| 2228 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::IngestAssetResponse'->new($_) }; | ||
| 2229 | |||
| 2230 | declare 'RepeatedIngestAssetResponse', | ||
| 2231 | as ArrayRef[IngestAssetResponse()]; | ||
| 2232 | |||
| 2233 | coerce 'RepeatedIngestAssetResponse', | ||
| 2234 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::IngestAssetResponse'->new($_) } @$_ ] }; | ||
| 2235 | |||
| 2236 | declare 'MapStringIngestAssetResponse', | ||
| 2237 | as HashRef[IngestAssetResponse()]; | ||
| 2238 | |||
| 2239 | declare 'ClipAssetRequest', | ||
| 2240 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::ClipAssetRequest']; | ||
| 2241 | |||
| 2242 | coerce 'ClipAssetRequest', | ||
| 2243 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::ClipAssetRequest'->new($_) }; | ||
| 2244 | |||
| 2245 | declare 'RepeatedClipAssetRequest', | ||
| 2246 | as ArrayRef[ClipAssetRequest()]; | ||
| 2247 | |||
| 2248 | coerce 'RepeatedClipAssetRequest', | ||
| 2249 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::ClipAssetRequest'->new($_) } @$_ ] }; | ||
| 2250 | |||
| 2251 | declare 'MapStringClipAssetRequest', | ||
| 2252 | as HashRef[ClipAssetRequest()]; | ||
| 2253 | |||
| 2254 | declare 'ClipAssetResponse', | ||
| 2255 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::ClipAssetResponse']; | ||
| 2256 | |||
| 2257 | coerce 'ClipAssetResponse', | ||
| 2258 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::ClipAssetResponse'->new($_) }; | ||
| 2259 | |||
| 2260 | declare 'RepeatedClipAssetResponse', | ||
| 2261 | as ArrayRef[ClipAssetResponse()]; | ||
| 2262 | |||
| 2263 | coerce 'RepeatedClipAssetResponse', | ||
| 2264 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::ClipAssetResponse'->new($_) } @$_ ] }; | ||
| 2265 | |||
| 2266 | declare 'MapStringClipAssetResponse', | ||
| 2267 | as HashRef[ClipAssetResponse()]; | ||
| 2268 | |||
| 2269 | declare 'TimeIndexedUri', | ||
| 2270 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::ClipAssetResponse::TimeIndexedUri']; | ||
| 2271 | |||
| 2272 | coerce 'TimeIndexedUri', | ||
| 2273 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::ClipAssetResponse::TimeIndexedUri'->new($_) }; | ||
| 2274 | |||
| 2275 | declare 'RepeatedTimeIndexedUri', | ||
| 2276 | as ArrayRef[TimeIndexedUri()]; | ||
| 2277 | |||
| 2278 | coerce 'RepeatedTimeIndexedUri', | ||
| 2279 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::ClipAssetResponse::TimeIndexedUri'->new($_) } @$_ ] }; | ||
| 2280 | |||
| 2281 | declare 'MapStringTimeIndexedUri', | ||
| 2282 | as HashRef[TimeIndexedUri()]; | ||
| 2283 | |||
| 2284 | declare 'GenerateHlsUriRequest', | ||
| 2285 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::GenerateHlsUriRequest']; | ||
| 2286 | |||
| 2287 | coerce 'GenerateHlsUriRequest', | ||
| 2288 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::GenerateHlsUriRequest'->new($_) }; | ||
| 2289 | |||
| 2290 | declare 'RepeatedGenerateHlsUriRequest', | ||
| 2291 | as ArrayRef[GenerateHlsUriRequest()]; | ||
| 2292 | |||
| 2293 | coerce 'RepeatedGenerateHlsUriRequest', | ||
| 2294 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::GenerateHlsUriRequest'->new($_) } @$_ ] }; | ||
| 2295 | |||
| 2296 | declare 'MapStringGenerateHlsUriRequest', | ||
| 2297 | as HashRef[GenerateHlsUriRequest()]; | ||
| 2298 | |||
| 2299 | declare 'GenerateHlsUriResponse', | ||
| 2300 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::GenerateHlsUriResponse']; | ||
| 2301 | |||
| 2302 | coerce 'GenerateHlsUriResponse', | ||
| 2303 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::GenerateHlsUriResponse'->new($_) }; | ||
| 2304 | |||
| 2305 | declare 'RepeatedGenerateHlsUriResponse', | ||
| 2306 | as ArrayRef[GenerateHlsUriResponse()]; | ||
| 2307 | |||
| 2308 | coerce 'RepeatedGenerateHlsUriResponse', | ||
| 2309 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::GenerateHlsUriResponse'->new($_) } @$_ ] }; | ||
| 2310 | |||
| 2311 | declare 'MapStringGenerateHlsUriResponse', | ||
| 2312 | as HashRef[GenerateHlsUriResponse()]; | ||
| 2313 | |||
| 2314 | declare 'SearchAssetsRequest', | ||
| 2315 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::SearchAssetsRequest']; | ||
| 2316 | |||
| 2317 | coerce 'SearchAssetsRequest', | ||
| 2318 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::SearchAssetsRequest'->new($_) }; | ||
| 2319 | |||
| 2320 | declare 'RepeatedSearchAssetsRequest', | ||
| 2321 | as ArrayRef[SearchAssetsRequest()]; | ||
| 2322 | |||
| 2323 | coerce 'RepeatedSearchAssetsRequest', | ||
| 2324 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::SearchAssetsRequest'->new($_) } @$_ ] }; | ||
| 2325 | |||
| 2326 | declare 'MapStringSearchAssetsRequest', | ||
| 2327 | as HashRef[SearchAssetsRequest()]; | ||
| 2328 | |||
| 2329 | declare 'SearchIndexEndpointRequest', | ||
| 2330 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::SearchIndexEndpointRequest']; | ||
| 2331 | |||
| 2332 | coerce 'SearchIndexEndpointRequest', | ||
| 2333 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::SearchIndexEndpointRequest'->new($_) }; | ||
| 2334 | |||
| 2335 | declare 'RepeatedSearchIndexEndpointRequest', | ||
| 2336 | as ArrayRef[SearchIndexEndpointRequest()]; | ||
| 2337 | |||
| 2338 | coerce 'RepeatedSearchIndexEndpointRequest', | ||
| 2339 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::SearchIndexEndpointRequest'->new($_) } @$_ ] }; | ||
| 2340 | |||
| 2341 | declare 'MapStringSearchIndexEndpointRequest', | ||
| 2342 | as HashRef[SearchIndexEndpointRequest()]; | ||
| 2343 | |||
| 2344 | declare 'ImageQuery', | ||
| 2345 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::ImageQuery']; | ||
| 2346 | |||
| 2347 | coerce 'ImageQuery', | ||
| 2348 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::ImageQuery'->new($_) }; | ||
| 2349 | |||
| 2350 | declare 'RepeatedImageQuery', | ||
| 2351 | as ArrayRef[ImageQuery()]; | ||
| 2352 | |||
| 2353 | coerce 'RepeatedImageQuery', | ||
| 2354 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::ImageQuery'->new($_) } @$_ ] }; | ||
| 2355 | |||
| 2356 | declare 'MapStringImageQuery', | ||
| 2357 | as HashRef[ImageQuery()]; | ||
| 2358 | |||
| 2359 | declare 'SchemaKeySortingStrategy', | ||
| 2360 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::SchemaKeySortingStrategy']; | ||
| 2361 | |||
| 2362 | coerce 'SchemaKeySortingStrategy', | ||
| 2363 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::SchemaKeySortingStrategy'->new($_) }; | ||
| 2364 | |||
| 2365 | declare 'RepeatedSchemaKeySortingStrategy', | ||
| 2366 | as ArrayRef[SchemaKeySortingStrategy()]; | ||
| 2367 | |||
| 2368 | coerce 'RepeatedSchemaKeySortingStrategy', | ||
| 2369 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::SchemaKeySortingStrategy'->new($_) } @$_ ] }; | ||
| 2370 | |||
| 2371 | declare 'MapStringSchemaKeySortingStrategy', | ||
| 2372 | as HashRef[SchemaKeySortingStrategy()]; | ||
| 2373 | |||
| 2374 | declare 'Option', | ||
| 2375 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::SchemaKeySortingStrategy::Option']; | ||
| 2376 | |||
| 2377 | coerce 'Option', | ||
| 2378 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::SchemaKeySortingStrategy::Option'->new($_) }; | ||
| 2379 | |||
| 2380 | declare 'RepeatedOption', | ||
| 2381 | as ArrayRef[Option()]; | ||
| 2382 | |||
| 2383 | coerce 'RepeatedOption', | ||
| 2384 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::SchemaKeySortingStrategy::Option'->new($_) } @$_ ] }; | ||
| 2385 | |||
| 2386 | declare 'MapStringOption', | ||
| 2387 | as HashRef[Option()]; | ||
| 2388 | |||
| 2389 | declare 'AggregateMethod', | ||
| 2390 | as (Int | Str); | ||
| 2391 | |||
| 2392 | declare 'DeleteAssetMetadata', | ||
| 2393 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::DeleteAssetMetadata']; | ||
| 2394 | |||
| 2395 | coerce 'DeleteAssetMetadata', | ||
| 2396 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::DeleteAssetMetadata'->new($_) }; | ||
| 2397 | |||
| 2398 | declare 'RepeatedDeleteAssetMetadata', | ||
| 2399 | as ArrayRef[DeleteAssetMetadata()]; | ||
| 2400 | |||
| 2401 | coerce 'RepeatedDeleteAssetMetadata', | ||
| 2402 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::DeleteAssetMetadata'->new($_) } @$_ ] }; | ||
| 2403 | |||
| 2404 | declare 'MapStringDeleteAssetMetadata', | ||
| 2405 | as HashRef[DeleteAssetMetadata()]; | ||
| 2406 | |||
| 2407 | declare 'AnnotationMatchingResult', | ||
| 2408 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::AnnotationMatchingResult']; | ||
| 2409 | |||
| 2410 | coerce 'AnnotationMatchingResult', | ||
| 2411 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::AnnotationMatchingResult'->new($_) }; | ||
| 2412 | |||
| 2413 | declare 'RepeatedAnnotationMatchingResult', | ||
| 2414 | as ArrayRef[AnnotationMatchingResult()]; | ||
| 2415 | |||
| 2416 | coerce 'RepeatedAnnotationMatchingResult', | ||
| 2417 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::AnnotationMatchingResult'->new($_) } @$_ ] }; | ||
| 2418 | |||
| 2419 | declare 'MapStringAnnotationMatchingResult', | ||
| 2420 | as HashRef[AnnotationMatchingResult()]; | ||
| 2421 | |||
| 2422 | declare 'SearchResultItem', | ||
| 2423 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::SearchResultItem']; | ||
| 2424 | |||
| 2425 | coerce 'SearchResultItem', | ||
| 2426 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::SearchResultItem'->new($_) }; | ||
| 2427 | |||
| 2428 | declare 'RepeatedSearchResultItem', | ||
| 2429 | as ArrayRef[SearchResultItem()]; | ||
| 2430 | |||
| 2431 | coerce 'RepeatedSearchResultItem', | ||
| 2432 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::SearchResultItem'->new($_) } @$_ ] }; | ||
| 2433 | |||
| 2434 | declare 'MapStringSearchResultItem', | ||
| 2435 | as HashRef[SearchResultItem()]; | ||
| 2436 | |||
| 2437 | declare 'SearchAssetsResponse', | ||
| 2438 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::SearchAssetsResponse']; | ||
| 2439 | |||
| 2440 | coerce 'SearchAssetsResponse', | ||
| 2441 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::SearchAssetsResponse'->new($_) }; | ||
| 2442 | |||
| 2443 | declare 'RepeatedSearchAssetsResponse', | ||
| 2444 | as ArrayRef[SearchAssetsResponse()]; | ||
| 2445 | |||
| 2446 | coerce 'RepeatedSearchAssetsResponse', | ||
| 2447 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::SearchAssetsResponse'->new($_) } @$_ ] }; | ||
| 2448 | |||
| 2449 | declare 'MapStringSearchAssetsResponse', | ||
| 2450 | as HashRef[SearchAssetsResponse()]; | ||
| 2451 | |||
| 2452 | declare 'SearchIndexEndpointResponse', | ||
| 2453 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::SearchIndexEndpointResponse']; | ||
| 2454 | |||
| 2455 | coerce 'SearchIndexEndpointResponse', | ||
| 2456 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::SearchIndexEndpointResponse'->new($_) }; | ||
| 2457 | |||
| 2458 | declare 'RepeatedSearchIndexEndpointResponse', | ||
| 2459 | as ArrayRef[SearchIndexEndpointResponse()]; | ||
| 2460 | |||
| 2461 | coerce 'RepeatedSearchIndexEndpointResponse', | ||
| 2462 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::SearchIndexEndpointResponse'->new($_) } @$_ ] }; | ||
| 2463 | |||
| 2464 | declare 'MapStringSearchIndexEndpointResponse', | ||
| 2465 | as HashRef[SearchIndexEndpointResponse()]; | ||
| 2466 | |||
| 2467 | declare 'IntRange', | ||
| 2468 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::IntRange']; | ||
| 2469 | |||
| 2470 | coerce 'IntRange', | ||
| 2471 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::IntRange'->new($_) }; | ||
| 2472 | |||
| 2473 | declare 'RepeatedIntRange', | ||
| 2474 | as ArrayRef[IntRange()]; | ||
| 2475 | |||
| 2476 | coerce 'RepeatedIntRange', | ||
| 2477 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::IntRange'->new($_) } @$_ ] }; | ||
| 2478 | |||
| 2479 | declare 'MapStringIntRange', | ||
| 2480 | as HashRef[IntRange()]; | ||
| 2481 | |||
| 2482 | declare 'FloatRange', | ||
| 2483 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::FloatRange']; | ||
| 2484 | |||
| 2485 | coerce 'FloatRange', | ||
| 2486 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::FloatRange'->new($_) }; | ||
| 2487 | |||
| 2488 | declare 'RepeatedFloatRange', | ||
| 2489 | as ArrayRef[FloatRange()]; | ||
| 2490 | |||
| 2491 | coerce 'RepeatedFloatRange', | ||
| 2492 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::FloatRange'->new($_) } @$_ ] }; | ||
| 2493 | |||
| 2494 | declare 'MapStringFloatRange', | ||
| 2495 | as HashRef[FloatRange()]; | ||
| 2496 | |||
| 2497 | declare 'StringArray', | ||
| 2498 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::StringArray']; | ||
| 2499 | |||
| 2500 | coerce 'StringArray', | ||
| 2501 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::StringArray'->new($_) }; | ||
| 2502 | |||
| 2503 | declare 'RepeatedStringArray', | ||
| 2504 | as ArrayRef[StringArray()]; | ||
| 2505 | |||
| 2506 | coerce 'RepeatedStringArray', | ||
| 2507 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::StringArray'->new($_) } @$_ ] }; | ||
| 2508 | |||
| 2509 | declare 'MapStringStringArray', | ||
| 2510 | as HashRef[StringArray()]; | ||
| 2511 | |||
| 2512 | declare 'IntRangeArray', | ||
| 2513 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::IntRangeArray']; | ||
| 2514 | |||
| 2515 | coerce 'IntRangeArray', | ||
| 2516 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::IntRangeArray'->new($_) }; | ||
| 2517 | |||
| 2518 | declare 'RepeatedIntRangeArray', | ||
| 2519 | as ArrayRef[IntRangeArray()]; | ||
| 2520 | |||
| 2521 | coerce 'RepeatedIntRangeArray', | ||
| 2522 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::IntRangeArray'->new($_) } @$_ ] }; | ||
| 2523 | |||
| 2524 | declare 'MapStringIntRangeArray', | ||
| 2525 | as HashRef[IntRangeArray()]; | ||
| 2526 | |||
| 2527 | declare 'FloatRangeArray', | ||
| 2528 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::FloatRangeArray']; | ||
| 2529 | |||
| 2530 | coerce 'FloatRangeArray', | ||
| 2531 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::FloatRangeArray'->new($_) }; | ||
| 2532 | |||
| 2533 | declare 'RepeatedFloatRangeArray', | ||
| 2534 | as ArrayRef[FloatRangeArray()]; | ||
| 2535 | |||
| 2536 | coerce 'RepeatedFloatRangeArray', | ||
| 2537 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::FloatRangeArray'->new($_) } @$_ ] }; | ||
| 2538 | |||
| 2539 | declare 'MapStringFloatRangeArray', | ||
| 2540 | as HashRef[FloatRangeArray()]; | ||
| 2541 | |||
| 2542 | declare 'DateTimeRange', | ||
| 2543 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::DateTimeRange']; | ||
| 2544 | |||
| 2545 | coerce 'DateTimeRange', | ||
| 2546 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::DateTimeRange'->new($_) }; | ||
| 2547 | |||
| 2548 | declare 'RepeatedDateTimeRange', | ||
| 2549 | as ArrayRef[DateTimeRange()]; | ||
| 2550 | |||
| 2551 | coerce 'RepeatedDateTimeRange', | ||
| 2552 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::DateTimeRange'->new($_) } @$_ ] }; | ||
| 2553 | |||
| 2554 | declare 'MapStringDateTimeRange', | ||
| 2555 | as HashRef[DateTimeRange()]; | ||
| 2556 | |||
| 2557 | declare 'DateTimeRangeArray', | ||
| 2558 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::DateTimeRangeArray']; | ||
| 2559 | |||
| 2560 | coerce 'DateTimeRangeArray', | ||
| 2561 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::DateTimeRangeArray'->new($_) }; | ||
| 2562 | |||
| 2563 | declare 'RepeatedDateTimeRangeArray', | ||
| 2564 | as ArrayRef[DateTimeRangeArray()]; | ||
| 2565 | |||
| 2566 | coerce 'RepeatedDateTimeRangeArray', | ||
| 2567 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::DateTimeRangeArray'->new($_) } @$_ ] }; | ||
| 2568 | |||
| 2569 | declare 'MapStringDateTimeRangeArray', | ||
| 2570 | as HashRef[DateTimeRangeArray()]; | ||
| 2571 | |||
| 2572 | declare 'CircleArea', | ||
| 2573 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::CircleArea']; | ||
| 2574 | |||
| 2575 | coerce 'CircleArea', | ||
| 2576 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::CircleArea'->new($_) }; | ||
| 2577 | |||
| 2578 | declare 'RepeatedCircleArea', | ||
| 2579 | as ArrayRef[CircleArea()]; | ||
| 2580 | |||
| 2581 | coerce 'RepeatedCircleArea', | ||
| 2582 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::CircleArea'->new($_) } @$_ ] }; | ||
| 2583 | |||
| 2584 | declare 'MapStringCircleArea', | ||
| 2585 | as HashRef[CircleArea()]; | ||
| 2586 | |||
| 2587 | declare 'GeoLocationArray', | ||
| 2588 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::GeoLocationArray']; | ||
| 2589 | |||
| 2590 | coerce 'GeoLocationArray', | ||
| 2591 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::GeoLocationArray'->new($_) }; | ||
| 2592 | |||
| 2593 | declare 'RepeatedGeoLocationArray', | ||
| 2594 | as ArrayRef[GeoLocationArray()]; | ||
| 2595 | |||
| 2596 | coerce 'RepeatedGeoLocationArray', | ||
| 2597 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::GeoLocationArray'->new($_) } @$_ ] }; | ||
| 2598 | |||
| 2599 | declare 'MapStringGeoLocationArray', | ||
| 2600 | as HashRef[GeoLocationArray()]; | ||
| 2601 | |||
| 2602 | declare 'BoolValue', | ||
| 2603 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::BoolValue']; | ||
| 2604 | |||
| 2605 | coerce 'BoolValue', | ||
| 2606 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::BoolValue'->new($_) }; | ||
| 2607 | |||
| 2608 | declare 'RepeatedBoolValue', | ||
| 2609 | as ArrayRef[BoolValue()]; | ||
| 2610 | |||
| 2611 | coerce 'RepeatedBoolValue', | ||
| 2612 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::BoolValue'->new($_) } @$_ ] }; | ||
| 2613 | |||
| 2614 | declare 'MapStringBoolValue', | ||
| 2615 | as HashRef[BoolValue()]; | ||
| 2616 | |||
| 2617 | declare 'Criteria', | ||
| 2618 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::Criteria']; | ||
| 2619 | |||
| 2620 | coerce 'Criteria', | ||
| 2621 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::Criteria'->new($_) }; | ||
| 2622 | |||
| 2623 | declare 'RepeatedCriteria', | ||
| 2624 | as ArrayRef[Criteria()]; | ||
| 2625 | |||
| 2626 | coerce 'RepeatedCriteria', | ||
| 2627 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::Criteria'->new($_) } @$_ ] }; | ||
| 2628 | |||
| 2629 | declare 'MapStringCriteria', | ||
| 2630 | as HashRef[Criteria()]; | ||
| 2631 | |||
| 2632 | declare 'Partition', | ||
| 2633 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::Partition']; | ||
| 2634 | |||
| 2635 | coerce 'Partition', | ||
| 2636 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::Partition'->new($_) }; | ||
| 2637 | |||
| 2638 | declare 'RepeatedPartition', | ||
| 2639 | as ArrayRef[Partition()]; | ||
| 2640 | |||
| 2641 | coerce 'RepeatedPartition', | ||
| 2642 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::Partition'->new($_) } @$_ ] }; | ||
| 2643 | |||
| 2644 | declare 'MapStringPartition', | ||
| 2645 | as HashRef[Partition()]; | ||
| 2646 | |||
| 2647 | declare 'TemporalPartition', | ||
| 2648 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::Partition::TemporalPartition']; | ||
| 2649 | |||
| 2650 | coerce 'TemporalPartition', | ||
| 2651 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::Partition::TemporalPartition'->new($_) }; | ||
| 2652 | |||
| 2653 | declare 'RepeatedTemporalPartition', | ||
| 2654 | as ArrayRef[TemporalPartition()]; | ||
| 2655 | |||
| 2656 | coerce 'RepeatedTemporalPartition', | ||
| 2657 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::Partition::TemporalPartition'->new($_) } @$_ ] }; | ||
| 2658 | |||
| 2659 | declare 'MapStringTemporalPartition', | ||
| 2660 | as HashRef[TemporalPartition()]; | ||
| 2661 | |||
| 2662 | declare 'SpatialPartition', | ||
| 2663 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::Partition::SpatialPartition']; | ||
| 2664 | |||
| 2665 | coerce 'SpatialPartition', | ||
| 2666 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::Partition::SpatialPartition'->new($_) }; | ||
| 2667 | |||
| 2668 | declare 'RepeatedSpatialPartition', | ||
| 2669 | as ArrayRef[SpatialPartition()]; | ||
| 2670 | |||
| 2671 | coerce 'RepeatedSpatialPartition', | ||
| 2672 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::Partition::SpatialPartition'->new($_) } @$_ ] }; | ||
| 2673 | |||
| 2674 | declare 'MapStringSpatialPartition', | ||
| 2675 | as HashRef[SpatialPartition()]; | ||
| 2676 | |||
| 2677 | declare 'RelativeTemporalPartition', | ||
| 2678 | as InstanceOf['Google::Cloud::Visionai::V1::Warehouse::Partition::RelativeTemporalPartition']; | ||
| 2679 | |||
| 2680 | coerce 'RelativeTemporalPartition', | ||
| 2681 | from HashRef, via { 'Google::Cloud::Visionai::V1::Warehouse::Partition::RelativeTemporalPartition'->new($_) }; | ||
| 2682 | |||
| 2683 | declare 'RepeatedRelativeTemporalPartition', | ||
| 2684 | as ArrayRef[RelativeTemporalPartition()]; | ||
| 2685 | |||
| 2686 | coerce 'RepeatedRelativeTemporalPartition', | ||
| 2687 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Warehouse::Partition::RelativeTemporalPartition'->new($_) } @$_ ] }; | ||
| 2688 | |||
| 2689 | declare 'MapStringRelativeTemporalPartition', | ||
| 2690 | as HashRef[RelativeTemporalPartition()]; | ||
| 2691 | |||
| 2692 | 1; | ||
| 2693 | |||
| 2694 | __END__ |