| 1 | package Google::Cloud::Visionai::V1alpha1::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::V1alpha1::Warehouse::CreateAssetRequest']; | ||
| 15 | |||
| 16 | coerce 'CreateAssetRequest', | ||
| 17 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::CreateAssetRequest'->new($_) }; | ||
| 18 | |||
| 19 | declare 'RepeatedCreateAssetRequest', | ||
| 20 | as ArrayRef[CreateAssetRequest()]; | ||
| 21 | |||
| 22 | coerce 'RepeatedCreateAssetRequest', | ||
| 23 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::CreateAssetRequest'->new($_) } @$_ ] }; | ||
| 24 | |||
| 25 | declare 'MapStringCreateAssetRequest', | ||
| 26 | as HashRef[CreateAssetRequest()]; | ||
| 27 | |||
| 28 | declare 'GetAssetRequest', | ||
| 29 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::GetAssetRequest']; | ||
| 30 | |||
| 31 | coerce 'GetAssetRequest', | ||
| 32 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::GetAssetRequest'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedGetAssetRequest', | ||
| 35 | as ArrayRef[GetAssetRequest()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedGetAssetRequest', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::GetAssetRequest'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringGetAssetRequest', | ||
| 41 | as HashRef[GetAssetRequest()]; | ||
| 42 | |||
| 43 | declare 'ListAssetsRequest', | ||
| 44 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::ListAssetsRequest']; | ||
| 45 | |||
| 46 | coerce 'ListAssetsRequest', | ||
| 47 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::ListAssetsRequest'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedListAssetsRequest', | ||
| 50 | as ArrayRef[ListAssetsRequest()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedListAssetsRequest', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::ListAssetsRequest'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringListAssetsRequest', | ||
| 56 | as HashRef[ListAssetsRequest()]; | ||
| 57 | |||
| 58 | declare 'ListAssetsResponse', | ||
| 59 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::ListAssetsResponse']; | ||
| 60 | |||
| 61 | coerce 'ListAssetsResponse', | ||
| 62 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::ListAssetsResponse'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedListAssetsResponse', | ||
| 65 | as ArrayRef[ListAssetsResponse()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedListAssetsResponse', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::ListAssetsResponse'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringListAssetsResponse', | ||
| 71 | as HashRef[ListAssetsResponse()]; | ||
| 72 | |||
| 73 | declare 'UpdateAssetRequest', | ||
| 74 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::UpdateAssetRequest']; | ||
| 75 | |||
| 76 | coerce 'UpdateAssetRequest', | ||
| 77 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::UpdateAssetRequest'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedUpdateAssetRequest', | ||
| 80 | as ArrayRef[UpdateAssetRequest()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedUpdateAssetRequest', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::UpdateAssetRequest'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringUpdateAssetRequest', | ||
| 86 | as HashRef[UpdateAssetRequest()]; | ||
| 87 | |||
| 88 | declare 'DeleteAssetRequest', | ||
| 89 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::DeleteAssetRequest']; | ||
| 90 | |||
| 91 | coerce 'DeleteAssetRequest', | ||
| 92 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::DeleteAssetRequest'->new($_) }; | ||
| 93 | |||
| 94 | declare 'RepeatedDeleteAssetRequest', | ||
| 95 | as ArrayRef[DeleteAssetRequest()]; | ||
| 96 | |||
| 97 | coerce 'RepeatedDeleteAssetRequest', | ||
| 98 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::DeleteAssetRequest'->new($_) } @$_ ] }; | ||
| 99 | |||
| 100 | declare 'MapStringDeleteAssetRequest', | ||
| 101 | as HashRef[DeleteAssetRequest()]; | ||
| 102 | |||
| 103 | declare 'Asset', | ||
| 104 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::Asset']; | ||
| 105 | |||
| 106 | coerce 'Asset', | ||
| 107 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::Asset'->new($_) }; | ||
| 108 | |||
| 109 | declare 'RepeatedAsset', | ||
| 110 | as ArrayRef[Asset()]; | ||
| 111 | |||
| 112 | coerce 'RepeatedAsset', | ||
| 113 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::Asset'->new($_) } @$_ ] }; | ||
| 114 | |||
| 115 | declare 'MapStringAsset', | ||
| 116 | as HashRef[Asset()]; | ||
| 117 | |||
| 118 | declare 'CreateCorpusRequest', | ||
| 119 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::CreateCorpusRequest']; | ||
| 120 | |||
| 121 | coerce 'CreateCorpusRequest', | ||
| 122 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::CreateCorpusRequest'->new($_) }; | ||
| 123 | |||
| 124 | declare 'RepeatedCreateCorpusRequest', | ||
| 125 | as ArrayRef[CreateCorpusRequest()]; | ||
| 126 | |||
| 127 | coerce 'RepeatedCreateCorpusRequest', | ||
| 128 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::CreateCorpusRequest'->new($_) } @$_ ] }; | ||
| 129 | |||
| 130 | declare 'MapStringCreateCorpusRequest', | ||
| 131 | as HashRef[CreateCorpusRequest()]; | ||
| 132 | |||
| 133 | declare 'CreateCorpusMetadata', | ||
| 134 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::CreateCorpusMetadata']; | ||
| 135 | |||
| 136 | coerce 'CreateCorpusMetadata', | ||
| 137 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::CreateCorpusMetadata'->new($_) }; | ||
| 138 | |||
| 139 | declare 'RepeatedCreateCorpusMetadata', | ||
| 140 | as ArrayRef[CreateCorpusMetadata()]; | ||
| 141 | |||
| 142 | coerce 'RepeatedCreateCorpusMetadata', | ||
| 143 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::CreateCorpusMetadata'->new($_) } @$_ ] }; | ||
| 144 | |||
| 145 | declare 'MapStringCreateCorpusMetadata', | ||
| 146 | as HashRef[CreateCorpusMetadata()]; | ||
| 147 | |||
| 148 | declare 'Corpus', | ||
| 149 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::Corpus']; | ||
| 150 | |||
| 151 | coerce 'Corpus', | ||
| 152 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::Corpus'->new($_) }; | ||
| 153 | |||
| 154 | declare 'RepeatedCorpus', | ||
| 155 | as ArrayRef[Corpus()]; | ||
| 156 | |||
| 157 | coerce 'RepeatedCorpus', | ||
| 158 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::Corpus'->new($_) } @$_ ] }; | ||
| 159 | |||
| 160 | declare 'MapStringCorpus', | ||
| 161 | as HashRef[Corpus()]; | ||
| 162 | |||
| 163 | declare 'GetCorpusRequest', | ||
| 164 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::GetCorpusRequest']; | ||
| 165 | |||
| 166 | coerce 'GetCorpusRequest', | ||
| 167 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::GetCorpusRequest'->new($_) }; | ||
| 168 | |||
| 169 | declare 'RepeatedGetCorpusRequest', | ||
| 170 | as ArrayRef[GetCorpusRequest()]; | ||
| 171 | |||
| 172 | coerce 'RepeatedGetCorpusRequest', | ||
| 173 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::GetCorpusRequest'->new($_) } @$_ ] }; | ||
| 174 | |||
| 175 | declare 'MapStringGetCorpusRequest', | ||
| 176 | as HashRef[GetCorpusRequest()]; | ||
| 177 | |||
| 178 | declare 'UpdateCorpusRequest', | ||
| 179 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::UpdateCorpusRequest']; | ||
| 180 | |||
| 181 | coerce 'UpdateCorpusRequest', | ||
| 182 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::UpdateCorpusRequest'->new($_) }; | ||
| 183 | |||
| 184 | declare 'RepeatedUpdateCorpusRequest', | ||
| 185 | as ArrayRef[UpdateCorpusRequest()]; | ||
| 186 | |||
| 187 | coerce 'RepeatedUpdateCorpusRequest', | ||
| 188 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::UpdateCorpusRequest'->new($_) } @$_ ] }; | ||
| 189 | |||
| 190 | declare 'MapStringUpdateCorpusRequest', | ||
| 191 | as HashRef[UpdateCorpusRequest()]; | ||
| 192 | |||
| 193 | declare 'ListCorporaRequest', | ||
| 194 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::ListCorporaRequest']; | ||
| 195 | |||
| 196 | coerce 'ListCorporaRequest', | ||
| 197 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::ListCorporaRequest'->new($_) }; | ||
| 198 | |||
| 199 | declare 'RepeatedListCorporaRequest', | ||
| 200 | as ArrayRef[ListCorporaRequest()]; | ||
| 201 | |||
| 202 | coerce 'RepeatedListCorporaRequest', | ||
| 203 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::ListCorporaRequest'->new($_) } @$_ ] }; | ||
| 204 | |||
| 205 | declare 'MapStringListCorporaRequest', | ||
| 206 | as HashRef[ListCorporaRequest()]; | ||
| 207 | |||
| 208 | declare 'ListCorporaResponse', | ||
| 209 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::ListCorporaResponse']; | ||
| 210 | |||
| 211 | coerce 'ListCorporaResponse', | ||
| 212 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::ListCorporaResponse'->new($_) }; | ||
| 213 | |||
| 214 | declare 'RepeatedListCorporaResponse', | ||
| 215 | as ArrayRef[ListCorporaResponse()]; | ||
| 216 | |||
| 217 | coerce 'RepeatedListCorporaResponse', | ||
| 218 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::ListCorporaResponse'->new($_) } @$_ ] }; | ||
| 219 | |||
| 220 | declare 'MapStringListCorporaResponse', | ||
| 221 | as HashRef[ListCorporaResponse()]; | ||
| 222 | |||
| 223 | declare 'DeleteCorpusRequest', | ||
| 224 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::DeleteCorpusRequest']; | ||
| 225 | |||
| 226 | coerce 'DeleteCorpusRequest', | ||
| 227 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::DeleteCorpusRequest'->new($_) }; | ||
| 228 | |||
| 229 | declare 'RepeatedDeleteCorpusRequest', | ||
| 230 | as ArrayRef[DeleteCorpusRequest()]; | ||
| 231 | |||
| 232 | coerce 'RepeatedDeleteCorpusRequest', | ||
| 233 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::DeleteCorpusRequest'->new($_) } @$_ ] }; | ||
| 234 | |||
| 235 | declare 'MapStringDeleteCorpusRequest', | ||
| 236 | as HashRef[DeleteCorpusRequest()]; | ||
| 237 | |||
| 238 | declare 'CreateDataSchemaRequest', | ||
| 239 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::CreateDataSchemaRequest']; | ||
| 240 | |||
| 241 | coerce 'CreateDataSchemaRequest', | ||
| 242 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::CreateDataSchemaRequest'->new($_) }; | ||
| 243 | |||
| 244 | declare 'RepeatedCreateDataSchemaRequest', | ||
| 245 | as ArrayRef[CreateDataSchemaRequest()]; | ||
| 246 | |||
| 247 | coerce 'RepeatedCreateDataSchemaRequest', | ||
| 248 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::CreateDataSchemaRequest'->new($_) } @$_ ] }; | ||
| 249 | |||
| 250 | declare 'MapStringCreateDataSchemaRequest', | ||
| 251 | as HashRef[CreateDataSchemaRequest()]; | ||
| 252 | |||
| 253 | declare 'DataSchema', | ||
| 254 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::DataSchema']; | ||
| 255 | |||
| 256 | coerce 'DataSchema', | ||
| 257 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::DataSchema'->new($_) }; | ||
| 258 | |||
| 259 | declare 'RepeatedDataSchema', | ||
| 260 | as ArrayRef[DataSchema()]; | ||
| 261 | |||
| 262 | coerce 'RepeatedDataSchema', | ||
| 263 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::DataSchema'->new($_) } @$_ ] }; | ||
| 264 | |||
| 265 | declare 'MapStringDataSchema', | ||
| 266 | as HashRef[DataSchema()]; | ||
| 267 | |||
| 268 | declare 'DataSchemaDetails', | ||
| 269 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::DataSchemaDetails']; | ||
| 270 | |||
| 271 | coerce 'DataSchemaDetails', | ||
| 272 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::DataSchemaDetails'->new($_) }; | ||
| 273 | |||
| 274 | declare 'RepeatedDataSchemaDetails', | ||
| 275 | as ArrayRef[DataSchemaDetails()]; | ||
| 276 | |||
| 277 | coerce 'RepeatedDataSchemaDetails', | ||
| 278 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::DataSchemaDetails'->new($_) } @$_ ] }; | ||
| 279 | |||
| 280 | declare 'MapStringDataSchemaDetails', | ||
| 281 | as HashRef[DataSchemaDetails()]; | ||
| 282 | |||
| 283 | declare 'DataType', | ||
| 284 | as (Int | Str); | ||
| 285 | |||
| 286 | declare 'Granularity', | ||
| 287 | as (Int | Str); | ||
| 288 | |||
| 289 | declare 'ProtoAnyConfig', | ||
| 290 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::DataSchemaDetails::ProtoAnyConfig']; | ||
| 291 | |||
| 292 | coerce 'ProtoAnyConfig', | ||
| 293 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::DataSchemaDetails::ProtoAnyConfig'->new($_) }; | ||
| 294 | |||
| 295 | declare 'RepeatedProtoAnyConfig', | ||
| 296 | as ArrayRef[ProtoAnyConfig()]; | ||
| 297 | |||
| 298 | coerce 'RepeatedProtoAnyConfig', | ||
| 299 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::DataSchemaDetails::ProtoAnyConfig'->new($_) } @$_ ] }; | ||
| 300 | |||
| 301 | declare 'MapStringProtoAnyConfig', | ||
| 302 | as HashRef[ProtoAnyConfig()]; | ||
| 303 | |||
| 304 | declare 'SearchStrategy', | ||
| 305 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::DataSchemaDetails::SearchStrategy']; | ||
| 306 | |||
| 307 | coerce 'SearchStrategy', | ||
| 308 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::DataSchemaDetails::SearchStrategy'->new($_) }; | ||
| 309 | |||
| 310 | declare 'RepeatedSearchStrategy', | ||
| 311 | as ArrayRef[SearchStrategy()]; | ||
| 312 | |||
| 313 | coerce 'RepeatedSearchStrategy', | ||
| 314 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::DataSchemaDetails::SearchStrategy'->new($_) } @$_ ] }; | ||
| 315 | |||
| 316 | declare 'MapStringSearchStrategy', | ||
| 317 | as HashRef[SearchStrategy()]; | ||
| 318 | |||
| 319 | declare 'SearchStrategyType', | ||
| 320 | as (Int | Str); | ||
| 321 | |||
| 322 | declare 'UpdateDataSchemaRequest', | ||
| 323 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::UpdateDataSchemaRequest']; | ||
| 324 | |||
| 325 | coerce 'UpdateDataSchemaRequest', | ||
| 326 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::UpdateDataSchemaRequest'->new($_) }; | ||
| 327 | |||
| 328 | declare 'RepeatedUpdateDataSchemaRequest', | ||
| 329 | as ArrayRef[UpdateDataSchemaRequest()]; | ||
| 330 | |||
| 331 | coerce 'RepeatedUpdateDataSchemaRequest', | ||
| 332 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::UpdateDataSchemaRequest'->new($_) } @$_ ] }; | ||
| 333 | |||
| 334 | declare 'MapStringUpdateDataSchemaRequest', | ||
| 335 | as HashRef[UpdateDataSchemaRequest()]; | ||
| 336 | |||
| 337 | declare 'GetDataSchemaRequest', | ||
| 338 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::GetDataSchemaRequest']; | ||
| 339 | |||
| 340 | coerce 'GetDataSchemaRequest', | ||
| 341 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::GetDataSchemaRequest'->new($_) }; | ||
| 342 | |||
| 343 | declare 'RepeatedGetDataSchemaRequest', | ||
| 344 | as ArrayRef[GetDataSchemaRequest()]; | ||
| 345 | |||
| 346 | coerce 'RepeatedGetDataSchemaRequest', | ||
| 347 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::GetDataSchemaRequest'->new($_) } @$_ ] }; | ||
| 348 | |||
| 349 | declare 'MapStringGetDataSchemaRequest', | ||
| 350 | as HashRef[GetDataSchemaRequest()]; | ||
| 351 | |||
| 352 | declare 'DeleteDataSchemaRequest', | ||
| 353 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::DeleteDataSchemaRequest']; | ||
| 354 | |||
| 355 | coerce 'DeleteDataSchemaRequest', | ||
| 356 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::DeleteDataSchemaRequest'->new($_) }; | ||
| 357 | |||
| 358 | declare 'RepeatedDeleteDataSchemaRequest', | ||
| 359 | as ArrayRef[DeleteDataSchemaRequest()]; | ||
| 360 | |||
| 361 | coerce 'RepeatedDeleteDataSchemaRequest', | ||
| 362 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::DeleteDataSchemaRequest'->new($_) } @$_ ] }; | ||
| 363 | |||
| 364 | declare 'MapStringDeleteDataSchemaRequest', | ||
| 365 | as HashRef[DeleteDataSchemaRequest()]; | ||
| 366 | |||
| 367 | declare 'ListDataSchemasRequest', | ||
| 368 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::ListDataSchemasRequest']; | ||
| 369 | |||
| 370 | coerce 'ListDataSchemasRequest', | ||
| 371 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::ListDataSchemasRequest'->new($_) }; | ||
| 372 | |||
| 373 | declare 'RepeatedListDataSchemasRequest', | ||
| 374 | as ArrayRef[ListDataSchemasRequest()]; | ||
| 375 | |||
| 376 | coerce 'RepeatedListDataSchemasRequest', | ||
| 377 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::ListDataSchemasRequest'->new($_) } @$_ ] }; | ||
| 378 | |||
| 379 | declare 'MapStringListDataSchemasRequest', | ||
| 380 | as HashRef[ListDataSchemasRequest()]; | ||
| 381 | |||
| 382 | declare 'ListDataSchemasResponse', | ||
| 383 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::ListDataSchemasResponse']; | ||
| 384 | |||
| 385 | coerce 'ListDataSchemasResponse', | ||
| 386 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::ListDataSchemasResponse'->new($_) }; | ||
| 387 | |||
| 388 | declare 'RepeatedListDataSchemasResponse', | ||
| 389 | as ArrayRef[ListDataSchemasResponse()]; | ||
| 390 | |||
| 391 | coerce 'RepeatedListDataSchemasResponse', | ||
| 392 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::ListDataSchemasResponse'->new($_) } @$_ ] }; | ||
| 393 | |||
| 394 | declare 'MapStringListDataSchemasResponse', | ||
| 395 | as HashRef[ListDataSchemasResponse()]; | ||
| 396 | |||
| 397 | declare 'CreateAnnotationRequest', | ||
| 398 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::CreateAnnotationRequest']; | ||
| 399 | |||
| 400 | coerce 'CreateAnnotationRequest', | ||
| 401 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::CreateAnnotationRequest'->new($_) }; | ||
| 402 | |||
| 403 | declare 'RepeatedCreateAnnotationRequest', | ||
| 404 | as ArrayRef[CreateAnnotationRequest()]; | ||
| 405 | |||
| 406 | coerce 'RepeatedCreateAnnotationRequest', | ||
| 407 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::CreateAnnotationRequest'->new($_) } @$_ ] }; | ||
| 408 | |||
| 409 | declare 'MapStringCreateAnnotationRequest', | ||
| 410 | as HashRef[CreateAnnotationRequest()]; | ||
| 411 | |||
| 412 | declare 'Annotation', | ||
| 413 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::Annotation']; | ||
| 414 | |||
| 415 | coerce 'Annotation', | ||
| 416 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::Annotation'->new($_) }; | ||
| 417 | |||
| 418 | declare 'RepeatedAnnotation', | ||
| 419 | as ArrayRef[Annotation()]; | ||
| 420 | |||
| 421 | coerce 'RepeatedAnnotation', | ||
| 422 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::Annotation'->new($_) } @$_ ] }; | ||
| 423 | |||
| 424 | declare 'MapStringAnnotation', | ||
| 425 | as HashRef[Annotation()]; | ||
| 426 | |||
| 427 | declare 'UserSpecifiedAnnotation', | ||
| 428 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::UserSpecifiedAnnotation']; | ||
| 429 | |||
| 430 | coerce 'UserSpecifiedAnnotation', | ||
| 431 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::UserSpecifiedAnnotation'->new($_) }; | ||
| 432 | |||
| 433 | declare 'RepeatedUserSpecifiedAnnotation', | ||
| 434 | as ArrayRef[UserSpecifiedAnnotation()]; | ||
| 435 | |||
| 436 | coerce 'RepeatedUserSpecifiedAnnotation', | ||
| 437 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::UserSpecifiedAnnotation'->new($_) } @$_ ] }; | ||
| 438 | |||
| 439 | declare 'MapStringUserSpecifiedAnnotation', | ||
| 440 | as HashRef[UserSpecifiedAnnotation()]; | ||
| 441 | |||
| 442 | declare 'GeoCoordinate', | ||
| 443 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::GeoCoordinate']; | ||
| 444 | |||
| 445 | coerce 'GeoCoordinate', | ||
| 446 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::GeoCoordinate'->new($_) }; | ||
| 447 | |||
| 448 | declare 'RepeatedGeoCoordinate', | ||
| 449 | as ArrayRef[GeoCoordinate()]; | ||
| 450 | |||
| 451 | coerce 'RepeatedGeoCoordinate', | ||
| 452 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::GeoCoordinate'->new($_) } @$_ ] }; | ||
| 453 | |||
| 454 | declare 'MapStringGeoCoordinate', | ||
| 455 | as HashRef[GeoCoordinate()]; | ||
| 456 | |||
| 457 | declare 'AnnotationValue', | ||
| 458 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::AnnotationValue']; | ||
| 459 | |||
| 460 | coerce 'AnnotationValue', | ||
| 461 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::AnnotationValue'->new($_) }; | ||
| 462 | |||
| 463 | declare 'RepeatedAnnotationValue', | ||
| 464 | as ArrayRef[AnnotationValue()]; | ||
| 465 | |||
| 466 | coerce 'RepeatedAnnotationValue', | ||
| 467 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::AnnotationValue'->new($_) } @$_ ] }; | ||
| 468 | |||
| 469 | declare 'MapStringAnnotationValue', | ||
| 470 | as HashRef[AnnotationValue()]; | ||
| 471 | |||
| 472 | declare 'ListAnnotationsRequest', | ||
| 473 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::ListAnnotationsRequest']; | ||
| 474 | |||
| 475 | coerce 'ListAnnotationsRequest', | ||
| 476 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::ListAnnotationsRequest'->new($_) }; | ||
| 477 | |||
| 478 | declare 'RepeatedListAnnotationsRequest', | ||
| 479 | as ArrayRef[ListAnnotationsRequest()]; | ||
| 480 | |||
| 481 | coerce 'RepeatedListAnnotationsRequest', | ||
| 482 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::ListAnnotationsRequest'->new($_) } @$_ ] }; | ||
| 483 | |||
| 484 | declare 'MapStringListAnnotationsRequest', | ||
| 485 | as HashRef[ListAnnotationsRequest()]; | ||
| 486 | |||
| 487 | declare 'ListAnnotationsResponse', | ||
| 488 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::ListAnnotationsResponse']; | ||
| 489 | |||
| 490 | coerce 'ListAnnotationsResponse', | ||
| 491 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::ListAnnotationsResponse'->new($_) }; | ||
| 492 | |||
| 493 | declare 'RepeatedListAnnotationsResponse', | ||
| 494 | as ArrayRef[ListAnnotationsResponse()]; | ||
| 495 | |||
| 496 | coerce 'RepeatedListAnnotationsResponse', | ||
| 497 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::ListAnnotationsResponse'->new($_) } @$_ ] }; | ||
| 498 | |||
| 499 | declare 'MapStringListAnnotationsResponse', | ||
| 500 | as HashRef[ListAnnotationsResponse()]; | ||
| 501 | |||
| 502 | declare 'GetAnnotationRequest', | ||
| 503 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::GetAnnotationRequest']; | ||
| 504 | |||
| 505 | coerce 'GetAnnotationRequest', | ||
| 506 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::GetAnnotationRequest'->new($_) }; | ||
| 507 | |||
| 508 | declare 'RepeatedGetAnnotationRequest', | ||
| 509 | as ArrayRef[GetAnnotationRequest()]; | ||
| 510 | |||
| 511 | coerce 'RepeatedGetAnnotationRequest', | ||
| 512 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::GetAnnotationRequest'->new($_) } @$_ ] }; | ||
| 513 | |||
| 514 | declare 'MapStringGetAnnotationRequest', | ||
| 515 | as HashRef[GetAnnotationRequest()]; | ||
| 516 | |||
| 517 | declare 'UpdateAnnotationRequest', | ||
| 518 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::UpdateAnnotationRequest']; | ||
| 519 | |||
| 520 | coerce 'UpdateAnnotationRequest', | ||
| 521 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::UpdateAnnotationRequest'->new($_) }; | ||
| 522 | |||
| 523 | declare 'RepeatedUpdateAnnotationRequest', | ||
| 524 | as ArrayRef[UpdateAnnotationRequest()]; | ||
| 525 | |||
| 526 | coerce 'RepeatedUpdateAnnotationRequest', | ||
| 527 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::UpdateAnnotationRequest'->new($_) } @$_ ] }; | ||
| 528 | |||
| 529 | declare 'MapStringUpdateAnnotationRequest', | ||
| 530 | as HashRef[UpdateAnnotationRequest()]; | ||
| 531 | |||
| 532 | declare 'DeleteAnnotationRequest', | ||
| 533 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::DeleteAnnotationRequest']; | ||
| 534 | |||
| 535 | coerce 'DeleteAnnotationRequest', | ||
| 536 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::DeleteAnnotationRequest'->new($_) }; | ||
| 537 | |||
| 538 | declare 'RepeatedDeleteAnnotationRequest', | ||
| 539 | as ArrayRef[DeleteAnnotationRequest()]; | ||
| 540 | |||
| 541 | coerce 'RepeatedDeleteAnnotationRequest', | ||
| 542 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::DeleteAnnotationRequest'->new($_) } @$_ ] }; | ||
| 543 | |||
| 544 | declare 'MapStringDeleteAnnotationRequest', | ||
| 545 | as HashRef[DeleteAnnotationRequest()]; | ||
| 546 | |||
| 547 | declare 'CreateSearchConfigRequest', | ||
| 548 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::CreateSearchConfigRequest']; | ||
| 549 | |||
| 550 | coerce 'CreateSearchConfigRequest', | ||
| 551 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::CreateSearchConfigRequest'->new($_) }; | ||
| 552 | |||
| 553 | declare 'RepeatedCreateSearchConfigRequest', | ||
| 554 | as ArrayRef[CreateSearchConfigRequest()]; | ||
| 555 | |||
| 556 | coerce 'RepeatedCreateSearchConfigRequest', | ||
| 557 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::CreateSearchConfigRequest'->new($_) } @$_ ] }; | ||
| 558 | |||
| 559 | declare 'MapStringCreateSearchConfigRequest', | ||
| 560 | as HashRef[CreateSearchConfigRequest()]; | ||
| 561 | |||
| 562 | declare 'UpdateSearchConfigRequest', | ||
| 563 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::UpdateSearchConfigRequest']; | ||
| 564 | |||
| 565 | coerce 'UpdateSearchConfigRequest', | ||
| 566 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::UpdateSearchConfigRequest'->new($_) }; | ||
| 567 | |||
| 568 | declare 'RepeatedUpdateSearchConfigRequest', | ||
| 569 | as ArrayRef[UpdateSearchConfigRequest()]; | ||
| 570 | |||
| 571 | coerce 'RepeatedUpdateSearchConfigRequest', | ||
| 572 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::UpdateSearchConfigRequest'->new($_) } @$_ ] }; | ||
| 573 | |||
| 574 | declare 'MapStringUpdateSearchConfigRequest', | ||
| 575 | as HashRef[UpdateSearchConfigRequest()]; | ||
| 576 | |||
| 577 | declare 'GetSearchConfigRequest', | ||
| 578 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::GetSearchConfigRequest']; | ||
| 579 | |||
| 580 | coerce 'GetSearchConfigRequest', | ||
| 581 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::GetSearchConfigRequest'->new($_) }; | ||
| 582 | |||
| 583 | declare 'RepeatedGetSearchConfigRequest', | ||
| 584 | as ArrayRef[GetSearchConfigRequest()]; | ||
| 585 | |||
| 586 | coerce 'RepeatedGetSearchConfigRequest', | ||
| 587 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::GetSearchConfigRequest'->new($_) } @$_ ] }; | ||
| 588 | |||
| 589 | declare 'MapStringGetSearchConfigRequest', | ||
| 590 | as HashRef[GetSearchConfigRequest()]; | ||
| 591 | |||
| 592 | declare 'DeleteSearchConfigRequest', | ||
| 593 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::DeleteSearchConfigRequest']; | ||
| 594 | |||
| 595 | coerce 'DeleteSearchConfigRequest', | ||
| 596 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::DeleteSearchConfigRequest'->new($_) }; | ||
| 597 | |||
| 598 | declare 'RepeatedDeleteSearchConfigRequest', | ||
| 599 | as ArrayRef[DeleteSearchConfigRequest()]; | ||
| 600 | |||
| 601 | coerce 'RepeatedDeleteSearchConfigRequest', | ||
| 602 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::DeleteSearchConfigRequest'->new($_) } @$_ ] }; | ||
| 603 | |||
| 604 | declare 'MapStringDeleteSearchConfigRequest', | ||
| 605 | as HashRef[DeleteSearchConfigRequest()]; | ||
| 606 | |||
| 607 | declare 'ListSearchConfigsRequest', | ||
| 608 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::ListSearchConfigsRequest']; | ||
| 609 | |||
| 610 | coerce 'ListSearchConfigsRequest', | ||
| 611 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::ListSearchConfigsRequest'->new($_) }; | ||
| 612 | |||
| 613 | declare 'RepeatedListSearchConfigsRequest', | ||
| 614 | as ArrayRef[ListSearchConfigsRequest()]; | ||
| 615 | |||
| 616 | coerce 'RepeatedListSearchConfigsRequest', | ||
| 617 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::ListSearchConfigsRequest'->new($_) } @$_ ] }; | ||
| 618 | |||
| 619 | declare 'MapStringListSearchConfigsRequest', | ||
| 620 | as HashRef[ListSearchConfigsRequest()]; | ||
| 621 | |||
| 622 | declare 'ListSearchConfigsResponse', | ||
| 623 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::ListSearchConfigsResponse']; | ||
| 624 | |||
| 625 | coerce 'ListSearchConfigsResponse', | ||
| 626 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::ListSearchConfigsResponse'->new($_) }; | ||
| 627 | |||
| 628 | declare 'RepeatedListSearchConfigsResponse', | ||
| 629 | as ArrayRef[ListSearchConfigsResponse()]; | ||
| 630 | |||
| 631 | coerce 'RepeatedListSearchConfigsResponse', | ||
| 632 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::ListSearchConfigsResponse'->new($_) } @$_ ] }; | ||
| 633 | |||
| 634 | declare 'MapStringListSearchConfigsResponse', | ||
| 635 | as HashRef[ListSearchConfigsResponse()]; | ||
| 636 | |||
| 637 | declare 'SearchConfig', | ||
| 638 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::SearchConfig']; | ||
| 639 | |||
| 640 | coerce 'SearchConfig', | ||
| 641 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::SearchConfig'->new($_) }; | ||
| 642 | |||
| 643 | declare 'RepeatedSearchConfig', | ||
| 644 | as ArrayRef[SearchConfig()]; | ||
| 645 | |||
| 646 | coerce 'RepeatedSearchConfig', | ||
| 647 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::SearchConfig'->new($_) } @$_ ] }; | ||
| 648 | |||
| 649 | declare 'MapStringSearchConfig', | ||
| 650 | as HashRef[SearchConfig()]; | ||
| 651 | |||
| 652 | declare 'FacetProperty', | ||
| 653 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::FacetProperty']; | ||
| 654 | |||
| 655 | coerce 'FacetProperty', | ||
| 656 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::FacetProperty'->new($_) }; | ||
| 657 | |||
| 658 | declare 'RepeatedFacetProperty', | ||
| 659 | as ArrayRef[FacetProperty()]; | ||
| 660 | |||
| 661 | coerce 'RepeatedFacetProperty', | ||
| 662 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::FacetProperty'->new($_) } @$_ ] }; | ||
| 663 | |||
| 664 | declare 'MapStringFacetProperty', | ||
| 665 | as HashRef[FacetProperty()]; | ||
| 666 | |||
| 667 | declare 'FixedRangeBucketSpec', | ||
| 668 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::FacetProperty::FixedRangeBucketSpec']; | ||
| 669 | |||
| 670 | coerce 'FixedRangeBucketSpec', | ||
| 671 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::FacetProperty::FixedRangeBucketSpec'->new($_) }; | ||
| 672 | |||
| 673 | declare 'RepeatedFixedRangeBucketSpec', | ||
| 674 | as ArrayRef[FixedRangeBucketSpec()]; | ||
| 675 | |||
| 676 | coerce 'RepeatedFixedRangeBucketSpec', | ||
| 677 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::FacetProperty::FixedRangeBucketSpec'->new($_) } @$_ ] }; | ||
| 678 | |||
| 679 | declare 'MapStringFixedRangeBucketSpec', | ||
| 680 | as HashRef[FixedRangeBucketSpec()]; | ||
| 681 | |||
| 682 | declare 'CustomRangeBucketSpec', | ||
| 683 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::FacetProperty::CustomRangeBucketSpec']; | ||
| 684 | |||
| 685 | coerce 'CustomRangeBucketSpec', | ||
| 686 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::FacetProperty::CustomRangeBucketSpec'->new($_) }; | ||
| 687 | |||
| 688 | declare 'RepeatedCustomRangeBucketSpec', | ||
| 689 | as ArrayRef[CustomRangeBucketSpec()]; | ||
| 690 | |||
| 691 | coerce 'RepeatedCustomRangeBucketSpec', | ||
| 692 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::FacetProperty::CustomRangeBucketSpec'->new($_) } @$_ ] }; | ||
| 693 | |||
| 694 | declare 'MapStringCustomRangeBucketSpec', | ||
| 695 | as HashRef[CustomRangeBucketSpec()]; | ||
| 696 | |||
| 697 | declare 'DateTimeBucketSpec', | ||
| 698 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::FacetProperty::DateTimeBucketSpec']; | ||
| 699 | |||
| 700 | coerce 'DateTimeBucketSpec', | ||
| 701 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::FacetProperty::DateTimeBucketSpec'->new($_) }; | ||
| 702 | |||
| 703 | declare 'RepeatedDateTimeBucketSpec', | ||
| 704 | as ArrayRef[DateTimeBucketSpec()]; | ||
| 705 | |||
| 706 | coerce 'RepeatedDateTimeBucketSpec', | ||
| 707 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::FacetProperty::DateTimeBucketSpec'->new($_) } @$_ ] }; | ||
| 708 | |||
| 709 | declare 'MapStringDateTimeBucketSpec', | ||
| 710 | as HashRef[DateTimeBucketSpec()]; | ||
| 711 | |||
| 712 | declare 'Granularity', | ||
| 713 | as (Int | Str); | ||
| 714 | |||
| 715 | declare 'SearchCriteriaProperty', | ||
| 716 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::SearchCriteriaProperty']; | ||
| 717 | |||
| 718 | coerce 'SearchCriteriaProperty', | ||
| 719 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::SearchCriteriaProperty'->new($_) }; | ||
| 720 | |||
| 721 | declare 'RepeatedSearchCriteriaProperty', | ||
| 722 | as ArrayRef[SearchCriteriaProperty()]; | ||
| 723 | |||
| 724 | coerce 'RepeatedSearchCriteriaProperty', | ||
| 725 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::SearchCriteriaProperty'->new($_) } @$_ ] }; | ||
| 726 | |||
| 727 | declare 'MapStringSearchCriteriaProperty', | ||
| 728 | as HashRef[SearchCriteriaProperty()]; | ||
| 729 | |||
| 730 | declare 'FacetValue', | ||
| 731 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::FacetValue']; | ||
| 732 | |||
| 733 | coerce 'FacetValue', | ||
| 734 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::FacetValue'->new($_) }; | ||
| 735 | |||
| 736 | declare 'RepeatedFacetValue', | ||
| 737 | as ArrayRef[FacetValue()]; | ||
| 738 | |||
| 739 | coerce 'RepeatedFacetValue', | ||
| 740 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::FacetValue'->new($_) } @$_ ] }; | ||
| 741 | |||
| 742 | declare 'MapStringFacetValue', | ||
| 743 | as HashRef[FacetValue()]; | ||
| 744 | |||
| 745 | declare 'FacetBucket', | ||
| 746 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::FacetBucket']; | ||
| 747 | |||
| 748 | coerce 'FacetBucket', | ||
| 749 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::FacetBucket'->new($_) }; | ||
| 750 | |||
| 751 | declare 'RepeatedFacetBucket', | ||
| 752 | as ArrayRef[FacetBucket()]; | ||
| 753 | |||
| 754 | coerce 'RepeatedFacetBucket', | ||
| 755 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::FacetBucket'->new($_) } @$_ ] }; | ||
| 756 | |||
| 757 | declare 'MapStringFacetBucket', | ||
| 758 | as HashRef[FacetBucket()]; | ||
| 759 | |||
| 760 | declare 'Range', | ||
| 761 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::FacetBucket::Range']; | ||
| 762 | |||
| 763 | coerce 'Range', | ||
| 764 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::FacetBucket::Range'->new($_) }; | ||
| 765 | |||
| 766 | declare 'RepeatedRange', | ||
| 767 | as ArrayRef[Range()]; | ||
| 768 | |||
| 769 | coerce 'RepeatedRange', | ||
| 770 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::FacetBucket::Range'->new($_) } @$_ ] }; | ||
| 771 | |||
| 772 | declare 'MapStringRange', | ||
| 773 | as HashRef[Range()]; | ||
| 774 | |||
| 775 | declare 'FacetGroup', | ||
| 776 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::FacetGroup']; | ||
| 777 | |||
| 778 | coerce 'FacetGroup', | ||
| 779 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::FacetGroup'->new($_) }; | ||
| 780 | |||
| 781 | declare 'RepeatedFacetGroup', | ||
| 782 | as ArrayRef[FacetGroup()]; | ||
| 783 | |||
| 784 | coerce 'RepeatedFacetGroup', | ||
| 785 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::FacetGroup'->new($_) } @$_ ] }; | ||
| 786 | |||
| 787 | declare 'MapStringFacetGroup', | ||
| 788 | as HashRef[FacetGroup()]; | ||
| 789 | |||
| 790 | declare 'IngestAssetRequest', | ||
| 791 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::IngestAssetRequest']; | ||
| 792 | |||
| 793 | coerce 'IngestAssetRequest', | ||
| 794 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::IngestAssetRequest'->new($_) }; | ||
| 795 | |||
| 796 | declare 'RepeatedIngestAssetRequest', | ||
| 797 | as ArrayRef[IngestAssetRequest()]; | ||
| 798 | |||
| 799 | coerce 'RepeatedIngestAssetRequest', | ||
| 800 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::IngestAssetRequest'->new($_) } @$_ ] }; | ||
| 801 | |||
| 802 | declare 'MapStringIngestAssetRequest', | ||
| 803 | as HashRef[IngestAssetRequest()]; | ||
| 804 | |||
| 805 | declare 'Config', | ||
| 806 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::IngestAssetRequest::Config']; | ||
| 807 | |||
| 808 | coerce 'Config', | ||
| 809 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::IngestAssetRequest::Config'->new($_) }; | ||
| 810 | |||
| 811 | declare 'RepeatedConfig', | ||
| 812 | as ArrayRef[Config()]; | ||
| 813 | |||
| 814 | coerce 'RepeatedConfig', | ||
| 815 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::IngestAssetRequest::Config'->new($_) } @$_ ] }; | ||
| 816 | |||
| 817 | declare 'MapStringConfig', | ||
| 818 | as HashRef[Config()]; | ||
| 819 | |||
| 820 | declare 'VideoType', | ||
| 821 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::IngestAssetRequest::Config::VideoType']; | ||
| 822 | |||
| 823 | coerce 'VideoType', | ||
| 824 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::IngestAssetRequest::Config::VideoType'->new($_) }; | ||
| 825 | |||
| 826 | declare 'RepeatedVideoType', | ||
| 827 | as ArrayRef[VideoType()]; | ||
| 828 | |||
| 829 | coerce 'RepeatedVideoType', | ||
| 830 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::IngestAssetRequest::Config::VideoType'->new($_) } @$_ ] }; | ||
| 831 | |||
| 832 | declare 'MapStringVideoType', | ||
| 833 | as HashRef[VideoType()]; | ||
| 834 | |||
| 835 | declare 'ContainerFormat', | ||
| 836 | as (Int | Str); | ||
| 837 | |||
| 838 | declare 'TimeIndexedData', | ||
| 839 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::IngestAssetRequest::TimeIndexedData']; | ||
| 840 | |||
| 841 | coerce 'TimeIndexedData', | ||
| 842 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::IngestAssetRequest::TimeIndexedData'->new($_) }; | ||
| 843 | |||
| 844 | declare 'RepeatedTimeIndexedData', | ||
| 845 | as ArrayRef[TimeIndexedData()]; | ||
| 846 | |||
| 847 | coerce 'RepeatedTimeIndexedData', | ||
| 848 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::IngestAssetRequest::TimeIndexedData'->new($_) } @$_ ] }; | ||
| 849 | |||
| 850 | declare 'MapStringTimeIndexedData', | ||
| 851 | as HashRef[TimeIndexedData()]; | ||
| 852 | |||
| 853 | declare 'IngestAssetResponse', | ||
| 854 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::IngestAssetResponse']; | ||
| 855 | |||
| 856 | coerce 'IngestAssetResponse', | ||
| 857 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::IngestAssetResponse'->new($_) }; | ||
| 858 | |||
| 859 | declare 'RepeatedIngestAssetResponse', | ||
| 860 | as ArrayRef[IngestAssetResponse()]; | ||
| 861 | |||
| 862 | coerce 'RepeatedIngestAssetResponse', | ||
| 863 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::IngestAssetResponse'->new($_) } @$_ ] }; | ||
| 864 | |||
| 865 | declare 'MapStringIngestAssetResponse', | ||
| 866 | as HashRef[IngestAssetResponse()]; | ||
| 867 | |||
| 868 | declare 'ClipAssetRequest', | ||
| 869 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::ClipAssetRequest']; | ||
| 870 | |||
| 871 | coerce 'ClipAssetRequest', | ||
| 872 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::ClipAssetRequest'->new($_) }; | ||
| 873 | |||
| 874 | declare 'RepeatedClipAssetRequest', | ||
| 875 | as ArrayRef[ClipAssetRequest()]; | ||
| 876 | |||
| 877 | coerce 'RepeatedClipAssetRequest', | ||
| 878 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::ClipAssetRequest'->new($_) } @$_ ] }; | ||
| 879 | |||
| 880 | declare 'MapStringClipAssetRequest', | ||
| 881 | as HashRef[ClipAssetRequest()]; | ||
| 882 | |||
| 883 | declare 'ClipAssetResponse', | ||
| 884 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::ClipAssetResponse']; | ||
| 885 | |||
| 886 | coerce 'ClipAssetResponse', | ||
| 887 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::ClipAssetResponse'->new($_) }; | ||
| 888 | |||
| 889 | declare 'RepeatedClipAssetResponse', | ||
| 890 | as ArrayRef[ClipAssetResponse()]; | ||
| 891 | |||
| 892 | coerce 'RepeatedClipAssetResponse', | ||
| 893 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::ClipAssetResponse'->new($_) } @$_ ] }; | ||
| 894 | |||
| 895 | declare 'MapStringClipAssetResponse', | ||
| 896 | as HashRef[ClipAssetResponse()]; | ||
| 897 | |||
| 898 | declare 'TimeIndexedUri', | ||
| 899 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::ClipAssetResponse::TimeIndexedUri']; | ||
| 900 | |||
| 901 | coerce 'TimeIndexedUri', | ||
| 902 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::ClipAssetResponse::TimeIndexedUri'->new($_) }; | ||
| 903 | |||
| 904 | declare 'RepeatedTimeIndexedUri', | ||
| 905 | as ArrayRef[TimeIndexedUri()]; | ||
| 906 | |||
| 907 | coerce 'RepeatedTimeIndexedUri', | ||
| 908 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::ClipAssetResponse::TimeIndexedUri'->new($_) } @$_ ] }; | ||
| 909 | |||
| 910 | declare 'MapStringTimeIndexedUri', | ||
| 911 | as HashRef[TimeIndexedUri()]; | ||
| 912 | |||
| 913 | declare 'GenerateHlsUriRequest', | ||
| 914 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::GenerateHlsUriRequest']; | ||
| 915 | |||
| 916 | coerce 'GenerateHlsUriRequest', | ||
| 917 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::GenerateHlsUriRequest'->new($_) }; | ||
| 918 | |||
| 919 | declare 'RepeatedGenerateHlsUriRequest', | ||
| 920 | as ArrayRef[GenerateHlsUriRequest()]; | ||
| 921 | |||
| 922 | coerce 'RepeatedGenerateHlsUriRequest', | ||
| 923 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::GenerateHlsUriRequest'->new($_) } @$_ ] }; | ||
| 924 | |||
| 925 | declare 'MapStringGenerateHlsUriRequest', | ||
| 926 | as HashRef[GenerateHlsUriRequest()]; | ||
| 927 | |||
| 928 | declare 'GenerateHlsUriResponse', | ||
| 929 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::GenerateHlsUriResponse']; | ||
| 930 | |||
| 931 | coerce 'GenerateHlsUriResponse', | ||
| 932 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::GenerateHlsUriResponse'->new($_) }; | ||
| 933 | |||
| 934 | declare 'RepeatedGenerateHlsUriResponse', | ||
| 935 | as ArrayRef[GenerateHlsUriResponse()]; | ||
| 936 | |||
| 937 | coerce 'RepeatedGenerateHlsUriResponse', | ||
| 938 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::GenerateHlsUriResponse'->new($_) } @$_ ] }; | ||
| 939 | |||
| 940 | declare 'MapStringGenerateHlsUriResponse', | ||
| 941 | as HashRef[GenerateHlsUriResponse()]; | ||
| 942 | |||
| 943 | declare 'SearchAssetsRequest', | ||
| 944 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::SearchAssetsRequest']; | ||
| 945 | |||
| 946 | coerce 'SearchAssetsRequest', | ||
| 947 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::SearchAssetsRequest'->new($_) }; | ||
| 948 | |||
| 949 | declare 'RepeatedSearchAssetsRequest', | ||
| 950 | as ArrayRef[SearchAssetsRequest()]; | ||
| 951 | |||
| 952 | coerce 'RepeatedSearchAssetsRequest', | ||
| 953 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::SearchAssetsRequest'->new($_) } @$_ ] }; | ||
| 954 | |||
| 955 | declare 'MapStringSearchAssetsRequest', | ||
| 956 | as HashRef[SearchAssetsRequest()]; | ||
| 957 | |||
| 958 | declare 'DeleteAssetMetadata', | ||
| 959 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::DeleteAssetMetadata']; | ||
| 960 | |||
| 961 | coerce 'DeleteAssetMetadata', | ||
| 962 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::DeleteAssetMetadata'->new($_) }; | ||
| 963 | |||
| 964 | declare 'RepeatedDeleteAssetMetadata', | ||
| 965 | as ArrayRef[DeleteAssetMetadata()]; | ||
| 966 | |||
| 967 | coerce 'RepeatedDeleteAssetMetadata', | ||
| 968 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::DeleteAssetMetadata'->new($_) } @$_ ] }; | ||
| 969 | |||
| 970 | declare 'MapStringDeleteAssetMetadata', | ||
| 971 | as HashRef[DeleteAssetMetadata()]; | ||
| 972 | |||
| 973 | declare 'AnnotationMatchingResult', | ||
| 974 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::AnnotationMatchingResult']; | ||
| 975 | |||
| 976 | coerce 'AnnotationMatchingResult', | ||
| 977 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::AnnotationMatchingResult'->new($_) }; | ||
| 978 | |||
| 979 | declare 'RepeatedAnnotationMatchingResult', | ||
| 980 | as ArrayRef[AnnotationMatchingResult()]; | ||
| 981 | |||
| 982 | coerce 'RepeatedAnnotationMatchingResult', | ||
| 983 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::AnnotationMatchingResult'->new($_) } @$_ ] }; | ||
| 984 | |||
| 985 | declare 'MapStringAnnotationMatchingResult', | ||
| 986 | as HashRef[AnnotationMatchingResult()]; | ||
| 987 | |||
| 988 | declare 'SearchResultItem', | ||
| 989 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::SearchResultItem']; | ||
| 990 | |||
| 991 | coerce 'SearchResultItem', | ||
| 992 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::SearchResultItem'->new($_) }; | ||
| 993 | |||
| 994 | declare 'RepeatedSearchResultItem', | ||
| 995 | as ArrayRef[SearchResultItem()]; | ||
| 996 | |||
| 997 | coerce 'RepeatedSearchResultItem', | ||
| 998 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::SearchResultItem'->new($_) } @$_ ] }; | ||
| 999 | |||
| 1000 | declare 'MapStringSearchResultItem', | ||
| 1001 | as HashRef[SearchResultItem()]; | ||
| 1002 | |||
| 1003 | declare 'SearchAssetsResponse', | ||
| 1004 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::SearchAssetsResponse']; | ||
| 1005 | |||
| 1006 | coerce 'SearchAssetsResponse', | ||
| 1007 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::SearchAssetsResponse'->new($_) }; | ||
| 1008 | |||
| 1009 | declare 'RepeatedSearchAssetsResponse', | ||
| 1010 | as ArrayRef[SearchAssetsResponse()]; | ||
| 1011 | |||
| 1012 | coerce 'RepeatedSearchAssetsResponse', | ||
| 1013 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::SearchAssetsResponse'->new($_) } @$_ ] }; | ||
| 1014 | |||
| 1015 | declare 'MapStringSearchAssetsResponse', | ||
| 1016 | as HashRef[SearchAssetsResponse()]; | ||
| 1017 | |||
| 1018 | declare 'IntRange', | ||
| 1019 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::IntRange']; | ||
| 1020 | |||
| 1021 | coerce 'IntRange', | ||
| 1022 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::IntRange'->new($_) }; | ||
| 1023 | |||
| 1024 | declare 'RepeatedIntRange', | ||
| 1025 | as ArrayRef[IntRange()]; | ||
| 1026 | |||
| 1027 | coerce 'RepeatedIntRange', | ||
| 1028 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::IntRange'->new($_) } @$_ ] }; | ||
| 1029 | |||
| 1030 | declare 'MapStringIntRange', | ||
| 1031 | as HashRef[IntRange()]; | ||
| 1032 | |||
| 1033 | declare 'FloatRange', | ||
| 1034 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::FloatRange']; | ||
| 1035 | |||
| 1036 | coerce 'FloatRange', | ||
| 1037 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::FloatRange'->new($_) }; | ||
| 1038 | |||
| 1039 | declare 'RepeatedFloatRange', | ||
| 1040 | as ArrayRef[FloatRange()]; | ||
| 1041 | |||
| 1042 | coerce 'RepeatedFloatRange', | ||
| 1043 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::FloatRange'->new($_) } @$_ ] }; | ||
| 1044 | |||
| 1045 | declare 'MapStringFloatRange', | ||
| 1046 | as HashRef[FloatRange()]; | ||
| 1047 | |||
| 1048 | declare 'StringArray', | ||
| 1049 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::StringArray']; | ||
| 1050 | |||
| 1051 | coerce 'StringArray', | ||
| 1052 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::StringArray'->new($_) }; | ||
| 1053 | |||
| 1054 | declare 'RepeatedStringArray', | ||
| 1055 | as ArrayRef[StringArray()]; | ||
| 1056 | |||
| 1057 | coerce 'RepeatedStringArray', | ||
| 1058 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::StringArray'->new($_) } @$_ ] }; | ||
| 1059 | |||
| 1060 | declare 'MapStringStringArray', | ||
| 1061 | as HashRef[StringArray()]; | ||
| 1062 | |||
| 1063 | declare 'IntRangeArray', | ||
| 1064 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::IntRangeArray']; | ||
| 1065 | |||
| 1066 | coerce 'IntRangeArray', | ||
| 1067 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::IntRangeArray'->new($_) }; | ||
| 1068 | |||
| 1069 | declare 'RepeatedIntRangeArray', | ||
| 1070 | as ArrayRef[IntRangeArray()]; | ||
| 1071 | |||
| 1072 | coerce 'RepeatedIntRangeArray', | ||
| 1073 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::IntRangeArray'->new($_) } @$_ ] }; | ||
| 1074 | |||
| 1075 | declare 'MapStringIntRangeArray', | ||
| 1076 | as HashRef[IntRangeArray()]; | ||
| 1077 | |||
| 1078 | declare 'FloatRangeArray', | ||
| 1079 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::FloatRangeArray']; | ||
| 1080 | |||
| 1081 | coerce 'FloatRangeArray', | ||
| 1082 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::FloatRangeArray'->new($_) }; | ||
| 1083 | |||
| 1084 | declare 'RepeatedFloatRangeArray', | ||
| 1085 | as ArrayRef[FloatRangeArray()]; | ||
| 1086 | |||
| 1087 | coerce 'RepeatedFloatRangeArray', | ||
| 1088 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::FloatRangeArray'->new($_) } @$_ ] }; | ||
| 1089 | |||
| 1090 | declare 'MapStringFloatRangeArray', | ||
| 1091 | as HashRef[FloatRangeArray()]; | ||
| 1092 | |||
| 1093 | declare 'DateTimeRange', | ||
| 1094 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::DateTimeRange']; | ||
| 1095 | |||
| 1096 | coerce 'DateTimeRange', | ||
| 1097 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::DateTimeRange'->new($_) }; | ||
| 1098 | |||
| 1099 | declare 'RepeatedDateTimeRange', | ||
| 1100 | as ArrayRef[DateTimeRange()]; | ||
| 1101 | |||
| 1102 | coerce 'RepeatedDateTimeRange', | ||
| 1103 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::DateTimeRange'->new($_) } @$_ ] }; | ||
| 1104 | |||
| 1105 | declare 'MapStringDateTimeRange', | ||
| 1106 | as HashRef[DateTimeRange()]; | ||
| 1107 | |||
| 1108 | declare 'DateTimeRangeArray', | ||
| 1109 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::DateTimeRangeArray']; | ||
| 1110 | |||
| 1111 | coerce 'DateTimeRangeArray', | ||
| 1112 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::DateTimeRangeArray'->new($_) }; | ||
| 1113 | |||
| 1114 | declare 'RepeatedDateTimeRangeArray', | ||
| 1115 | as ArrayRef[DateTimeRangeArray()]; | ||
| 1116 | |||
| 1117 | coerce 'RepeatedDateTimeRangeArray', | ||
| 1118 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::DateTimeRangeArray'->new($_) } @$_ ] }; | ||
| 1119 | |||
| 1120 | declare 'MapStringDateTimeRangeArray', | ||
| 1121 | as HashRef[DateTimeRangeArray()]; | ||
| 1122 | |||
| 1123 | declare 'CircleArea', | ||
| 1124 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::CircleArea']; | ||
| 1125 | |||
| 1126 | coerce 'CircleArea', | ||
| 1127 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::CircleArea'->new($_) }; | ||
| 1128 | |||
| 1129 | declare 'RepeatedCircleArea', | ||
| 1130 | as ArrayRef[CircleArea()]; | ||
| 1131 | |||
| 1132 | coerce 'RepeatedCircleArea', | ||
| 1133 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::CircleArea'->new($_) } @$_ ] }; | ||
| 1134 | |||
| 1135 | declare 'MapStringCircleArea', | ||
| 1136 | as HashRef[CircleArea()]; | ||
| 1137 | |||
| 1138 | declare 'GeoLocationArray', | ||
| 1139 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::GeoLocationArray']; | ||
| 1140 | |||
| 1141 | coerce 'GeoLocationArray', | ||
| 1142 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::GeoLocationArray'->new($_) }; | ||
| 1143 | |||
| 1144 | declare 'RepeatedGeoLocationArray', | ||
| 1145 | as ArrayRef[GeoLocationArray()]; | ||
| 1146 | |||
| 1147 | coerce 'RepeatedGeoLocationArray', | ||
| 1148 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::GeoLocationArray'->new($_) } @$_ ] }; | ||
| 1149 | |||
| 1150 | declare 'MapStringGeoLocationArray', | ||
| 1151 | as HashRef[GeoLocationArray()]; | ||
| 1152 | |||
| 1153 | declare 'BoolValue', | ||
| 1154 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::BoolValue']; | ||
| 1155 | |||
| 1156 | coerce 'BoolValue', | ||
| 1157 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::BoolValue'->new($_) }; | ||
| 1158 | |||
| 1159 | declare 'RepeatedBoolValue', | ||
| 1160 | as ArrayRef[BoolValue()]; | ||
| 1161 | |||
| 1162 | coerce 'RepeatedBoolValue', | ||
| 1163 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::BoolValue'->new($_) } @$_ ] }; | ||
| 1164 | |||
| 1165 | declare 'MapStringBoolValue', | ||
| 1166 | as HashRef[BoolValue()]; | ||
| 1167 | |||
| 1168 | declare 'Criteria', | ||
| 1169 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::Criteria']; | ||
| 1170 | |||
| 1171 | coerce 'Criteria', | ||
| 1172 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::Criteria'->new($_) }; | ||
| 1173 | |||
| 1174 | declare 'RepeatedCriteria', | ||
| 1175 | as ArrayRef[Criteria()]; | ||
| 1176 | |||
| 1177 | coerce 'RepeatedCriteria', | ||
| 1178 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::Criteria'->new($_) } @$_ ] }; | ||
| 1179 | |||
| 1180 | declare 'MapStringCriteria', | ||
| 1181 | as HashRef[Criteria()]; | ||
| 1182 | |||
| 1183 | declare 'Partition', | ||
| 1184 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::Partition']; | ||
| 1185 | |||
| 1186 | coerce 'Partition', | ||
| 1187 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::Partition'->new($_) }; | ||
| 1188 | |||
| 1189 | declare 'RepeatedPartition', | ||
| 1190 | as ArrayRef[Partition()]; | ||
| 1191 | |||
| 1192 | coerce 'RepeatedPartition', | ||
| 1193 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::Partition'->new($_) } @$_ ] }; | ||
| 1194 | |||
| 1195 | declare 'MapStringPartition', | ||
| 1196 | as HashRef[Partition()]; | ||
| 1197 | |||
| 1198 | declare 'TemporalPartition', | ||
| 1199 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::Partition::TemporalPartition']; | ||
| 1200 | |||
| 1201 | coerce 'TemporalPartition', | ||
| 1202 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::Partition::TemporalPartition'->new($_) }; | ||
| 1203 | |||
| 1204 | declare 'RepeatedTemporalPartition', | ||
| 1205 | as ArrayRef[TemporalPartition()]; | ||
| 1206 | |||
| 1207 | coerce 'RepeatedTemporalPartition', | ||
| 1208 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::Partition::TemporalPartition'->new($_) } @$_ ] }; | ||
| 1209 | |||
| 1210 | declare 'MapStringTemporalPartition', | ||
| 1211 | as HashRef[TemporalPartition()]; | ||
| 1212 | |||
| 1213 | declare 'SpatialPartition', | ||
| 1214 | as InstanceOf['Google::Cloud::Visionai::V1alpha1::Warehouse::Partition::SpatialPartition']; | ||
| 1215 | |||
| 1216 | coerce 'SpatialPartition', | ||
| 1217 | from HashRef, via { 'Google::Cloud::Visionai::V1alpha1::Warehouse::Partition::SpatialPartition'->new($_) }; | ||
| 1218 | |||
| 1219 | declare 'RepeatedSpatialPartition', | ||
| 1220 | as ArrayRef[SpatialPartition()]; | ||
| 1221 | |||
| 1222 | coerce 'RepeatedSpatialPartition', | ||
| 1223 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1alpha1::Warehouse::Partition::SpatialPartition'->new($_) } @$_ ] }; | ||
| 1224 | |||
| 1225 | declare 'MapStringSpatialPartition', | ||
| 1226 | as HashRef[SpatialPartition()]; | ||
| 1227 | |||
| 1228 | 1; | ||
| 1229 | |||
| 1230 | __END__ |