| 1 | package Google::Cloud::Vectorsearch::V1beta::VectorsearchService::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 'Collection', | ||
| 11 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::Collection']; | ||
| 12 | |||
| 13 | coerce 'Collection', | ||
| 14 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::Collection'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedCollection', | ||
| 17 | as ArrayRef[Collection()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedCollection', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::Collection'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringCollection', | ||
| 23 | as HashRef[Collection()]; | ||
| 24 | |||
| 25 | declare 'LabelsEntry', | ||
| 26 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::Collection::LabelsEntry']; | ||
| 27 | |||
| 28 | coerce 'LabelsEntry', | ||
| 29 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::Collection::LabelsEntry'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedLabelsEntry', | ||
| 32 | as ArrayRef[LabelsEntry()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedLabelsEntry', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::Collection::LabelsEntry'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringLabelsEntry', | ||
| 38 | as HashRef[LabelsEntry()]; | ||
| 39 | |||
| 40 | declare 'VectorSchemaEntry', | ||
| 41 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::Collection::VectorSchemaEntry']; | ||
| 42 | |||
| 43 | coerce 'VectorSchemaEntry', | ||
| 44 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::Collection::VectorSchemaEntry'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedVectorSchemaEntry', | ||
| 47 | as ArrayRef[VectorSchemaEntry()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedVectorSchemaEntry', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::Collection::VectorSchemaEntry'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringVectorSchemaEntry', | ||
| 53 | as HashRef[VectorSchemaEntry()]; | ||
| 54 | |||
| 55 | declare 'VectorField', | ||
| 56 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::VectorField']; | ||
| 57 | |||
| 58 | coerce 'VectorField', | ||
| 59 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::VectorField'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedVectorField', | ||
| 62 | as ArrayRef[VectorField()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedVectorField', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::VectorField'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringVectorField', | ||
| 68 | as HashRef[VectorField()]; | ||
| 69 | |||
| 70 | declare 'DenseVectorField', | ||
| 71 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::DenseVectorField']; | ||
| 72 | |||
| 73 | coerce 'DenseVectorField', | ||
| 74 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::DenseVectorField'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedDenseVectorField', | ||
| 77 | as ArrayRef[DenseVectorField()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedDenseVectorField', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::DenseVectorField'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringDenseVectorField', | ||
| 83 | as HashRef[DenseVectorField()]; | ||
| 84 | |||
| 85 | declare 'SparseVectorField', | ||
| 86 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::SparseVectorField']; | ||
| 87 | |||
| 88 | coerce 'SparseVectorField', | ||
| 89 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::SparseVectorField'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedSparseVectorField', | ||
| 92 | as ArrayRef[SparseVectorField()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedSparseVectorField', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::SparseVectorField'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringSparseVectorField', | ||
| 98 | as HashRef[SparseVectorField()]; | ||
| 99 | |||
| 100 | declare 'ListCollectionsRequest', | ||
| 101 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ListCollectionsRequest']; | ||
| 102 | |||
| 103 | coerce 'ListCollectionsRequest', | ||
| 104 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ListCollectionsRequest'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedListCollectionsRequest', | ||
| 107 | as ArrayRef[ListCollectionsRequest()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedListCollectionsRequest', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ListCollectionsRequest'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringListCollectionsRequest', | ||
| 113 | as HashRef[ListCollectionsRequest()]; | ||
| 114 | |||
| 115 | declare 'ListCollectionsResponse', | ||
| 116 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ListCollectionsResponse']; | ||
| 117 | |||
| 118 | coerce 'ListCollectionsResponse', | ||
| 119 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ListCollectionsResponse'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedListCollectionsResponse', | ||
| 122 | as ArrayRef[ListCollectionsResponse()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedListCollectionsResponse', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ListCollectionsResponse'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringListCollectionsResponse', | ||
| 128 | as HashRef[ListCollectionsResponse()]; | ||
| 129 | |||
| 130 | declare 'GetCollectionRequest', | ||
| 131 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::GetCollectionRequest']; | ||
| 132 | |||
| 133 | coerce 'GetCollectionRequest', | ||
| 134 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::GetCollectionRequest'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedGetCollectionRequest', | ||
| 137 | as ArrayRef[GetCollectionRequest()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedGetCollectionRequest', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::GetCollectionRequest'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringGetCollectionRequest', | ||
| 143 | as HashRef[GetCollectionRequest()]; | ||
| 144 | |||
| 145 | declare 'CreateCollectionRequest', | ||
| 146 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::CreateCollectionRequest']; | ||
| 147 | |||
| 148 | coerce 'CreateCollectionRequest', | ||
| 149 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::CreateCollectionRequest'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedCreateCollectionRequest', | ||
| 152 | as ArrayRef[CreateCollectionRequest()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedCreateCollectionRequest', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::CreateCollectionRequest'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringCreateCollectionRequest', | ||
| 158 | as HashRef[CreateCollectionRequest()]; | ||
| 159 | |||
| 160 | declare 'UpdateCollectionRequest', | ||
| 161 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::UpdateCollectionRequest']; | ||
| 162 | |||
| 163 | coerce 'UpdateCollectionRequest', | ||
| 164 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::UpdateCollectionRequest'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedUpdateCollectionRequest', | ||
| 167 | as ArrayRef[UpdateCollectionRequest()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedUpdateCollectionRequest', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::UpdateCollectionRequest'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringUpdateCollectionRequest', | ||
| 173 | as HashRef[UpdateCollectionRequest()]; | ||
| 174 | |||
| 175 | declare 'DeleteCollectionRequest', | ||
| 176 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::DeleteCollectionRequest']; | ||
| 177 | |||
| 178 | coerce 'DeleteCollectionRequest', | ||
| 179 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::DeleteCollectionRequest'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedDeleteCollectionRequest', | ||
| 182 | as ArrayRef[DeleteCollectionRequest()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedDeleteCollectionRequest', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::DeleteCollectionRequest'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringDeleteCollectionRequest', | ||
| 188 | as HashRef[DeleteCollectionRequest()]; | ||
| 189 | |||
| 190 | declare 'Index', | ||
| 191 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::Index']; | ||
| 192 | |||
| 193 | coerce 'Index', | ||
| 194 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::Index'->new($_) }; | ||
| 195 | |||
| 196 | declare 'RepeatedIndex', | ||
| 197 | as ArrayRef[Index()]; | ||
| 198 | |||
| 199 | coerce 'RepeatedIndex', | ||
| 200 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::Index'->new($_) } @$_ ] }; | ||
| 201 | |||
| 202 | declare 'MapStringIndex', | ||
| 203 | as HashRef[Index()]; | ||
| 204 | |||
| 205 | declare 'LabelsEntry', | ||
| 206 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::Index::LabelsEntry']; | ||
| 207 | |||
| 208 | coerce 'LabelsEntry', | ||
| 209 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::Index::LabelsEntry'->new($_) }; | ||
| 210 | |||
| 211 | declare 'RepeatedLabelsEntry', | ||
| 212 | as ArrayRef[LabelsEntry()]; | ||
| 213 | |||
| 214 | coerce 'RepeatedLabelsEntry', | ||
| 215 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::Index::LabelsEntry'->new($_) } @$_ ] }; | ||
| 216 | |||
| 217 | declare 'MapStringLabelsEntry', | ||
| 218 | as HashRef[LabelsEntry()]; | ||
| 219 | |||
| 220 | declare 'CreateIndexRequest', | ||
| 221 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::CreateIndexRequest']; | ||
| 222 | |||
| 223 | coerce 'CreateIndexRequest', | ||
| 224 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::CreateIndexRequest'->new($_) }; | ||
| 225 | |||
| 226 | declare 'RepeatedCreateIndexRequest', | ||
| 227 | as ArrayRef[CreateIndexRequest()]; | ||
| 228 | |||
| 229 | coerce 'RepeatedCreateIndexRequest', | ||
| 230 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::CreateIndexRequest'->new($_) } @$_ ] }; | ||
| 231 | |||
| 232 | declare 'MapStringCreateIndexRequest', | ||
| 233 | as HashRef[CreateIndexRequest()]; | ||
| 234 | |||
| 235 | declare 'UpdateIndexRequest', | ||
| 236 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::UpdateIndexRequest']; | ||
| 237 | |||
| 238 | coerce 'UpdateIndexRequest', | ||
| 239 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::UpdateIndexRequest'->new($_) }; | ||
| 240 | |||
| 241 | declare 'RepeatedUpdateIndexRequest', | ||
| 242 | as ArrayRef[UpdateIndexRequest()]; | ||
| 243 | |||
| 244 | coerce 'RepeatedUpdateIndexRequest', | ||
| 245 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::UpdateIndexRequest'->new($_) } @$_ ] }; | ||
| 246 | |||
| 247 | declare 'MapStringUpdateIndexRequest', | ||
| 248 | as HashRef[UpdateIndexRequest()]; | ||
| 249 | |||
| 250 | declare 'DeleteIndexRequest', | ||
| 251 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::DeleteIndexRequest']; | ||
| 252 | |||
| 253 | coerce 'DeleteIndexRequest', | ||
| 254 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::DeleteIndexRequest'->new($_) }; | ||
| 255 | |||
| 256 | declare 'RepeatedDeleteIndexRequest', | ||
| 257 | as ArrayRef[DeleteIndexRequest()]; | ||
| 258 | |||
| 259 | coerce 'RepeatedDeleteIndexRequest', | ||
| 260 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::DeleteIndexRequest'->new($_) } @$_ ] }; | ||
| 261 | |||
| 262 | declare 'MapStringDeleteIndexRequest', | ||
| 263 | as HashRef[DeleteIndexRequest()]; | ||
| 264 | |||
| 265 | declare 'ListIndexesRequest', | ||
| 266 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ListIndexesRequest']; | ||
| 267 | |||
| 268 | coerce 'ListIndexesRequest', | ||
| 269 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ListIndexesRequest'->new($_) }; | ||
| 270 | |||
| 271 | declare 'RepeatedListIndexesRequest', | ||
| 272 | as ArrayRef[ListIndexesRequest()]; | ||
| 273 | |||
| 274 | coerce 'RepeatedListIndexesRequest', | ||
| 275 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ListIndexesRequest'->new($_) } @$_ ] }; | ||
| 276 | |||
| 277 | declare 'MapStringListIndexesRequest', | ||
| 278 | as HashRef[ListIndexesRequest()]; | ||
| 279 | |||
| 280 | declare 'ListIndexesResponse', | ||
| 281 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ListIndexesResponse']; | ||
| 282 | |||
| 283 | coerce 'ListIndexesResponse', | ||
| 284 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ListIndexesResponse'->new($_) }; | ||
| 285 | |||
| 286 | declare 'RepeatedListIndexesResponse', | ||
| 287 | as ArrayRef[ListIndexesResponse()]; | ||
| 288 | |||
| 289 | coerce 'RepeatedListIndexesResponse', | ||
| 290 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ListIndexesResponse'->new($_) } @$_ ] }; | ||
| 291 | |||
| 292 | declare 'MapStringListIndexesResponse', | ||
| 293 | as HashRef[ListIndexesResponse()]; | ||
| 294 | |||
| 295 | declare 'GetIndexRequest', | ||
| 296 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::GetIndexRequest']; | ||
| 297 | |||
| 298 | coerce 'GetIndexRequest', | ||
| 299 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::GetIndexRequest'->new($_) }; | ||
| 300 | |||
| 301 | declare 'RepeatedGetIndexRequest', | ||
| 302 | as ArrayRef[GetIndexRequest()]; | ||
| 303 | |||
| 304 | coerce 'RepeatedGetIndexRequest', | ||
| 305 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::GetIndexRequest'->new($_) } @$_ ] }; | ||
| 306 | |||
| 307 | declare 'MapStringGetIndexRequest', | ||
| 308 | as HashRef[GetIndexRequest()]; | ||
| 309 | |||
| 310 | declare 'OperationMetadata', | ||
| 311 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::OperationMetadata']; | ||
| 312 | |||
| 313 | coerce 'OperationMetadata', | ||
| 314 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::OperationMetadata'->new($_) }; | ||
| 315 | |||
| 316 | declare 'RepeatedOperationMetadata', | ||
| 317 | as ArrayRef[OperationMetadata()]; | ||
| 318 | |||
| 319 | coerce 'RepeatedOperationMetadata', | ||
| 320 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::OperationMetadata'->new($_) } @$_ ] }; | ||
| 321 | |||
| 322 | declare 'MapStringOperationMetadata', | ||
| 323 | as HashRef[OperationMetadata()]; | ||
| 324 | |||
| 325 | declare 'ImportDataObjectsRequest', | ||
| 326 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ImportDataObjectsRequest']; | ||
| 327 | |||
| 328 | coerce 'ImportDataObjectsRequest', | ||
| 329 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ImportDataObjectsRequest'->new($_) }; | ||
| 330 | |||
| 331 | declare 'RepeatedImportDataObjectsRequest', | ||
| 332 | as ArrayRef[ImportDataObjectsRequest()]; | ||
| 333 | |||
| 334 | coerce 'RepeatedImportDataObjectsRequest', | ||
| 335 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ImportDataObjectsRequest'->new($_) } @$_ ] }; | ||
| 336 | |||
| 337 | declare 'MapStringImportDataObjectsRequest', | ||
| 338 | as HashRef[ImportDataObjectsRequest()]; | ||
| 339 | |||
| 340 | declare 'GcsImportConfig', | ||
| 341 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ImportDataObjectsRequest::GcsImportConfig']; | ||
| 342 | |||
| 343 | coerce 'GcsImportConfig', | ||
| 344 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ImportDataObjectsRequest::GcsImportConfig'->new($_) }; | ||
| 345 | |||
| 346 | declare 'RepeatedGcsImportConfig', | ||
| 347 | as ArrayRef[GcsImportConfig()]; | ||
| 348 | |||
| 349 | coerce 'RepeatedGcsImportConfig', | ||
| 350 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ImportDataObjectsRequest::GcsImportConfig'->new($_) } @$_ ] }; | ||
| 351 | |||
| 352 | declare 'MapStringGcsImportConfig', | ||
| 353 | as HashRef[GcsImportConfig()]; | ||
| 354 | |||
| 355 | declare 'ImportDataObjectsMetadata', | ||
| 356 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ImportDataObjectsMetadata']; | ||
| 357 | |||
| 358 | coerce 'ImportDataObjectsMetadata', | ||
| 359 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ImportDataObjectsMetadata'->new($_) }; | ||
| 360 | |||
| 361 | declare 'RepeatedImportDataObjectsMetadata', | ||
| 362 | as ArrayRef[ImportDataObjectsMetadata()]; | ||
| 363 | |||
| 364 | coerce 'RepeatedImportDataObjectsMetadata', | ||
| 365 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ImportDataObjectsMetadata'->new($_) } @$_ ] }; | ||
| 366 | |||
| 367 | declare 'MapStringImportDataObjectsMetadata', | ||
| 368 | as HashRef[ImportDataObjectsMetadata()]; | ||
| 369 | |||
| 370 | declare 'ImportDataObjectsResponse', | ||
| 371 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ImportDataObjectsResponse']; | ||
| 372 | |||
| 373 | coerce 'ImportDataObjectsResponse', | ||
| 374 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ImportDataObjectsResponse'->new($_) }; | ||
| 375 | |||
| 376 | declare 'RepeatedImportDataObjectsResponse', | ||
| 377 | as ArrayRef[ImportDataObjectsResponse()]; | ||
| 378 | |||
| 379 | coerce 'RepeatedImportDataObjectsResponse', | ||
| 380 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ImportDataObjectsResponse'->new($_) } @$_ ] }; | ||
| 381 | |||
| 382 | declare 'MapStringImportDataObjectsResponse', | ||
| 383 | as HashRef[ImportDataObjectsResponse()]; | ||
| 384 | |||
| 385 | declare 'ExportDataObjectsRequest', | ||
| 386 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ExportDataObjectsRequest']; | ||
| 387 | |||
| 388 | coerce 'ExportDataObjectsRequest', | ||
| 389 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ExportDataObjectsRequest'->new($_) }; | ||
| 390 | |||
| 391 | declare 'RepeatedExportDataObjectsRequest', | ||
| 392 | as ArrayRef[ExportDataObjectsRequest()]; | ||
| 393 | |||
| 394 | coerce 'RepeatedExportDataObjectsRequest', | ||
| 395 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ExportDataObjectsRequest'->new($_) } @$_ ] }; | ||
| 396 | |||
| 397 | declare 'MapStringExportDataObjectsRequest', | ||
| 398 | as HashRef[ExportDataObjectsRequest()]; | ||
| 399 | |||
| 400 | declare 'GcsExportDestination', | ||
| 401 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ExportDataObjectsRequest::GcsExportDestination']; | ||
| 402 | |||
| 403 | coerce 'GcsExportDestination', | ||
| 404 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ExportDataObjectsRequest::GcsExportDestination'->new($_) }; | ||
| 405 | |||
| 406 | declare 'RepeatedGcsExportDestination', | ||
| 407 | as ArrayRef[GcsExportDestination()]; | ||
| 408 | |||
| 409 | coerce 'RepeatedGcsExportDestination', | ||
| 410 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ExportDataObjectsRequest::GcsExportDestination'->new($_) } @$_ ] }; | ||
| 411 | |||
| 412 | declare 'MapStringGcsExportDestination', | ||
| 413 | as HashRef[GcsExportDestination()]; | ||
| 414 | |||
| 415 | declare 'Format', | ||
| 416 | as (Int | Str); | ||
| 417 | |||
| 418 | declare 'FieldFilter', | ||
| 419 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ExportDataObjectsRequest::FieldFilter']; | ||
| 420 | |||
| 421 | coerce 'FieldFilter', | ||
| 422 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ExportDataObjectsRequest::FieldFilter'->new($_) }; | ||
| 423 | |||
| 424 | declare 'RepeatedFieldFilter', | ||
| 425 | as ArrayRef[FieldFilter()]; | ||
| 426 | |||
| 427 | coerce 'RepeatedFieldFilter', | ||
| 428 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ExportDataObjectsRequest::FieldFilter'->new($_) } @$_ ] }; | ||
| 429 | |||
| 430 | declare 'MapStringFieldFilter', | ||
| 431 | as HashRef[FieldFilter()]; | ||
| 432 | |||
| 433 | declare 'FieldList', | ||
| 434 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ExportDataObjectsRequest::FieldFilter::FieldList']; | ||
| 435 | |||
| 436 | coerce 'FieldList', | ||
| 437 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ExportDataObjectsRequest::FieldFilter::FieldList'->new($_) }; | ||
| 438 | |||
| 439 | declare 'RepeatedFieldList', | ||
| 440 | as ArrayRef[FieldList()]; | ||
| 441 | |||
| 442 | coerce 'RepeatedFieldList', | ||
| 443 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ExportDataObjectsRequest::FieldFilter::FieldList'->new($_) } @$_ ] }; | ||
| 444 | |||
| 445 | declare 'MapStringFieldList', | ||
| 446 | as HashRef[FieldList()]; | ||
| 447 | |||
| 448 | declare 'ExportDataObjectsMetadata', | ||
| 449 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ExportDataObjectsMetadata']; | ||
| 450 | |||
| 451 | coerce 'ExportDataObjectsMetadata', | ||
| 452 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ExportDataObjectsMetadata'->new($_) }; | ||
| 453 | |||
| 454 | declare 'RepeatedExportDataObjectsMetadata', | ||
| 455 | as ArrayRef[ExportDataObjectsMetadata()]; | ||
| 456 | |||
| 457 | coerce 'RepeatedExportDataObjectsMetadata', | ||
| 458 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ExportDataObjectsMetadata'->new($_) } @$_ ] }; | ||
| 459 | |||
| 460 | declare 'MapStringExportDataObjectsMetadata', | ||
| 461 | as HashRef[ExportDataObjectsMetadata()]; | ||
| 462 | |||
| 463 | declare 'ExportDataObjectsResponse', | ||
| 464 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ExportDataObjectsResponse']; | ||
| 465 | |||
| 466 | coerce 'ExportDataObjectsResponse', | ||
| 467 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ExportDataObjectsResponse'->new($_) }; | ||
| 468 | |||
| 469 | declare 'RepeatedExportDataObjectsResponse', | ||
| 470 | as ArrayRef[ExportDataObjectsResponse()]; | ||
| 471 | |||
| 472 | coerce 'RepeatedExportDataObjectsResponse', | ||
| 473 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::ExportDataObjectsResponse'->new($_) } @$_ ] }; | ||
| 474 | |||
| 475 | declare 'MapStringExportDataObjectsResponse', | ||
| 476 | as HashRef[ExportDataObjectsResponse()]; | ||
| 477 | |||
| 478 | declare 'DedicatedInfrastructure', | ||
| 479 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::DedicatedInfrastructure']; | ||
| 480 | |||
| 481 | coerce 'DedicatedInfrastructure', | ||
| 482 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::DedicatedInfrastructure'->new($_) }; | ||
| 483 | |||
| 484 | declare 'RepeatedDedicatedInfrastructure', | ||
| 485 | as ArrayRef[DedicatedInfrastructure()]; | ||
| 486 | |||
| 487 | coerce 'RepeatedDedicatedInfrastructure', | ||
| 488 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::DedicatedInfrastructure'->new($_) } @$_ ] }; | ||
| 489 | |||
| 490 | declare 'MapStringDedicatedInfrastructure', | ||
| 491 | as HashRef[DedicatedInfrastructure()]; | ||
| 492 | |||
| 493 | declare 'Mode', | ||
| 494 | as (Int | Str); | ||
| 495 | |||
| 496 | declare 'AutoscalingSpec', | ||
| 497 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::DedicatedInfrastructure::AutoscalingSpec']; | ||
| 498 | |||
| 499 | coerce 'AutoscalingSpec', | ||
| 500 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::DedicatedInfrastructure::AutoscalingSpec'->new($_) }; | ||
| 501 | |||
| 502 | declare 'RepeatedAutoscalingSpec', | ||
| 503 | as ArrayRef[AutoscalingSpec()]; | ||
| 504 | |||
| 505 | coerce 'RepeatedAutoscalingSpec', | ||
| 506 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::DedicatedInfrastructure::AutoscalingSpec'->new($_) } @$_ ] }; | ||
| 507 | |||
| 508 | declare 'MapStringAutoscalingSpec', | ||
| 509 | as HashRef[AutoscalingSpec()]; | ||
| 510 | |||
| 511 | declare 'DenseScannIndex', | ||
| 512 | as InstanceOf['Google::Cloud::Vectorsearch::V1beta::VectorsearchService::DenseScannIndex']; | ||
| 513 | |||
| 514 | coerce 'DenseScannIndex', | ||
| 515 | from HashRef, via { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::DenseScannIndex'->new($_) }; | ||
| 516 | |||
| 517 | declare 'RepeatedDenseScannIndex', | ||
| 518 | as ArrayRef[DenseScannIndex()]; | ||
| 519 | |||
| 520 | coerce 'RepeatedDenseScannIndex', | ||
| 521 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Vectorsearch::V1beta::VectorsearchService::DenseScannIndex'->new($_) } @$_ ] }; | ||
| 522 | |||
| 523 | declare 'MapStringDenseScannIndex', | ||
| 524 | as HashRef[DenseScannIndex()]; | ||
| 525 | |||
| 526 | declare 'FeatureNormType', | ||
| 527 | as (Int | Str); | ||
| 528 | |||
| 529 | 1; | ||
| 530 | |||
| 531 | __END__ |