| 1 | package Google::Cloud::Visionai::V1::Platform::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 'ModelType', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'AcceleratorType', | ||
| 14 | as (Int | Str); | ||
| 15 | |||
| 16 | declare 'DataType', | ||
| 17 | as (Int | Str); | ||
| 18 | |||
| 19 | declare 'DeleteApplicationInstancesResponse', | ||
| 20 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::DeleteApplicationInstancesResponse']; | ||
| 21 | |||
| 22 | coerce 'DeleteApplicationInstancesResponse', | ||
| 23 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::DeleteApplicationInstancesResponse'->new($_) }; | ||
| 24 | |||
| 25 | declare 'RepeatedDeleteApplicationInstancesResponse', | ||
| 26 | as ArrayRef[DeleteApplicationInstancesResponse()]; | ||
| 27 | |||
| 28 | coerce 'RepeatedDeleteApplicationInstancesResponse', | ||
| 29 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::DeleteApplicationInstancesResponse'->new($_) } @$_ ] }; | ||
| 30 | |||
| 31 | declare 'MapStringDeleteApplicationInstancesResponse', | ||
| 32 | as HashRef[DeleteApplicationInstancesResponse()]; | ||
| 33 | |||
| 34 | declare 'CreateApplicationInstancesResponse', | ||
| 35 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::CreateApplicationInstancesResponse']; | ||
| 36 | |||
| 37 | coerce 'CreateApplicationInstancesResponse', | ||
| 38 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::CreateApplicationInstancesResponse'->new($_) }; | ||
| 39 | |||
| 40 | declare 'RepeatedCreateApplicationInstancesResponse', | ||
| 41 | as ArrayRef[CreateApplicationInstancesResponse()]; | ||
| 42 | |||
| 43 | coerce 'RepeatedCreateApplicationInstancesResponse', | ||
| 44 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::CreateApplicationInstancesResponse'->new($_) } @$_ ] }; | ||
| 45 | |||
| 46 | declare 'MapStringCreateApplicationInstancesResponse', | ||
| 47 | as HashRef[CreateApplicationInstancesResponse()]; | ||
| 48 | |||
| 49 | declare 'UpdateApplicationInstancesResponse', | ||
| 50 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::UpdateApplicationInstancesResponse']; | ||
| 51 | |||
| 52 | coerce 'UpdateApplicationInstancesResponse', | ||
| 53 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::UpdateApplicationInstancesResponse'->new($_) }; | ||
| 54 | |||
| 55 | declare 'RepeatedUpdateApplicationInstancesResponse', | ||
| 56 | as ArrayRef[UpdateApplicationInstancesResponse()]; | ||
| 57 | |||
| 58 | coerce 'RepeatedUpdateApplicationInstancesResponse', | ||
| 59 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::UpdateApplicationInstancesResponse'->new($_) } @$_ ] }; | ||
| 60 | |||
| 61 | declare 'MapStringUpdateApplicationInstancesResponse', | ||
| 62 | as HashRef[UpdateApplicationInstancesResponse()]; | ||
| 63 | |||
| 64 | declare 'CreateApplicationInstancesRequest', | ||
| 65 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::CreateApplicationInstancesRequest']; | ||
| 66 | |||
| 67 | coerce 'CreateApplicationInstancesRequest', | ||
| 68 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::CreateApplicationInstancesRequest'->new($_) }; | ||
| 69 | |||
| 70 | declare 'RepeatedCreateApplicationInstancesRequest', | ||
| 71 | as ArrayRef[CreateApplicationInstancesRequest()]; | ||
| 72 | |||
| 73 | coerce 'RepeatedCreateApplicationInstancesRequest', | ||
| 74 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::CreateApplicationInstancesRequest'->new($_) } @$_ ] }; | ||
| 75 | |||
| 76 | declare 'MapStringCreateApplicationInstancesRequest', | ||
| 77 | as HashRef[CreateApplicationInstancesRequest()]; | ||
| 78 | |||
| 79 | declare 'DeleteApplicationInstancesRequest', | ||
| 80 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::DeleteApplicationInstancesRequest']; | ||
| 81 | |||
| 82 | coerce 'DeleteApplicationInstancesRequest', | ||
| 83 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::DeleteApplicationInstancesRequest'->new($_) }; | ||
| 84 | |||
| 85 | declare 'RepeatedDeleteApplicationInstancesRequest', | ||
| 86 | as ArrayRef[DeleteApplicationInstancesRequest()]; | ||
| 87 | |||
| 88 | coerce 'RepeatedDeleteApplicationInstancesRequest', | ||
| 89 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::DeleteApplicationInstancesRequest'->new($_) } @$_ ] }; | ||
| 90 | |||
| 91 | declare 'MapStringDeleteApplicationInstancesRequest', | ||
| 92 | as HashRef[DeleteApplicationInstancesRequest()]; | ||
| 93 | |||
| 94 | declare 'DeployApplicationResponse', | ||
| 95 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::DeployApplicationResponse']; | ||
| 96 | |||
| 97 | coerce 'DeployApplicationResponse', | ||
| 98 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::DeployApplicationResponse'->new($_) }; | ||
| 99 | |||
| 100 | declare 'RepeatedDeployApplicationResponse', | ||
| 101 | as ArrayRef[DeployApplicationResponse()]; | ||
| 102 | |||
| 103 | coerce 'RepeatedDeployApplicationResponse', | ||
| 104 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::DeployApplicationResponse'->new($_) } @$_ ] }; | ||
| 105 | |||
| 106 | declare 'MapStringDeployApplicationResponse', | ||
| 107 | as HashRef[DeployApplicationResponse()]; | ||
| 108 | |||
| 109 | declare 'UndeployApplicationResponse', | ||
| 110 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::UndeployApplicationResponse']; | ||
| 111 | |||
| 112 | coerce 'UndeployApplicationResponse', | ||
| 113 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::UndeployApplicationResponse'->new($_) }; | ||
| 114 | |||
| 115 | declare 'RepeatedUndeployApplicationResponse', | ||
| 116 | as ArrayRef[UndeployApplicationResponse()]; | ||
| 117 | |||
| 118 | coerce 'RepeatedUndeployApplicationResponse', | ||
| 119 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::UndeployApplicationResponse'->new($_) } @$_ ] }; | ||
| 120 | |||
| 121 | declare 'MapStringUndeployApplicationResponse', | ||
| 122 | as HashRef[UndeployApplicationResponse()]; | ||
| 123 | |||
| 124 | declare 'RemoveApplicationStreamInputResponse', | ||
| 125 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::RemoveApplicationStreamInputResponse']; | ||
| 126 | |||
| 127 | coerce 'RemoveApplicationStreamInputResponse', | ||
| 128 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::RemoveApplicationStreamInputResponse'->new($_) }; | ||
| 129 | |||
| 130 | declare 'RepeatedRemoveApplicationStreamInputResponse', | ||
| 131 | as ArrayRef[RemoveApplicationStreamInputResponse()]; | ||
| 132 | |||
| 133 | coerce 'RepeatedRemoveApplicationStreamInputResponse', | ||
| 134 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::RemoveApplicationStreamInputResponse'->new($_) } @$_ ] }; | ||
| 135 | |||
| 136 | declare 'MapStringRemoveApplicationStreamInputResponse', | ||
| 137 | as HashRef[RemoveApplicationStreamInputResponse()]; | ||
| 138 | |||
| 139 | declare 'AddApplicationStreamInputResponse', | ||
| 140 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::AddApplicationStreamInputResponse']; | ||
| 141 | |||
| 142 | coerce 'AddApplicationStreamInputResponse', | ||
| 143 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::AddApplicationStreamInputResponse'->new($_) }; | ||
| 144 | |||
| 145 | declare 'RepeatedAddApplicationStreamInputResponse', | ||
| 146 | as ArrayRef[AddApplicationStreamInputResponse()]; | ||
| 147 | |||
| 148 | coerce 'RepeatedAddApplicationStreamInputResponse', | ||
| 149 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::AddApplicationStreamInputResponse'->new($_) } @$_ ] }; | ||
| 150 | |||
| 151 | declare 'MapStringAddApplicationStreamInputResponse', | ||
| 152 | as HashRef[AddApplicationStreamInputResponse()]; | ||
| 153 | |||
| 154 | declare 'UpdateApplicationStreamInputResponse', | ||
| 155 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::UpdateApplicationStreamInputResponse']; | ||
| 156 | |||
| 157 | coerce 'UpdateApplicationStreamInputResponse', | ||
| 158 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::UpdateApplicationStreamInputResponse'->new($_) }; | ||
| 159 | |||
| 160 | declare 'RepeatedUpdateApplicationStreamInputResponse', | ||
| 161 | as ArrayRef[UpdateApplicationStreamInputResponse()]; | ||
| 162 | |||
| 163 | coerce 'RepeatedUpdateApplicationStreamInputResponse', | ||
| 164 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::UpdateApplicationStreamInputResponse'->new($_) } @$_ ] }; | ||
| 165 | |||
| 166 | declare 'MapStringUpdateApplicationStreamInputResponse', | ||
| 167 | as HashRef[UpdateApplicationStreamInputResponse()]; | ||
| 168 | |||
| 169 | declare 'ListApplicationsRequest', | ||
| 170 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::ListApplicationsRequest']; | ||
| 171 | |||
| 172 | coerce 'ListApplicationsRequest', | ||
| 173 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::ListApplicationsRequest'->new($_) }; | ||
| 174 | |||
| 175 | declare 'RepeatedListApplicationsRequest', | ||
| 176 | as ArrayRef[ListApplicationsRequest()]; | ||
| 177 | |||
| 178 | coerce 'RepeatedListApplicationsRequest', | ||
| 179 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::ListApplicationsRequest'->new($_) } @$_ ] }; | ||
| 180 | |||
| 181 | declare 'MapStringListApplicationsRequest', | ||
| 182 | as HashRef[ListApplicationsRequest()]; | ||
| 183 | |||
| 184 | declare 'ListApplicationsResponse', | ||
| 185 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::ListApplicationsResponse']; | ||
| 186 | |||
| 187 | coerce 'ListApplicationsResponse', | ||
| 188 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::ListApplicationsResponse'->new($_) }; | ||
| 189 | |||
| 190 | declare 'RepeatedListApplicationsResponse', | ||
| 191 | as ArrayRef[ListApplicationsResponse()]; | ||
| 192 | |||
| 193 | coerce 'RepeatedListApplicationsResponse', | ||
| 194 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::ListApplicationsResponse'->new($_) } @$_ ] }; | ||
| 195 | |||
| 196 | declare 'MapStringListApplicationsResponse', | ||
| 197 | as HashRef[ListApplicationsResponse()]; | ||
| 198 | |||
| 199 | declare 'GetApplicationRequest', | ||
| 200 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::GetApplicationRequest']; | ||
| 201 | |||
| 202 | coerce 'GetApplicationRequest', | ||
| 203 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::GetApplicationRequest'->new($_) }; | ||
| 204 | |||
| 205 | declare 'RepeatedGetApplicationRequest', | ||
| 206 | as ArrayRef[GetApplicationRequest()]; | ||
| 207 | |||
| 208 | coerce 'RepeatedGetApplicationRequest', | ||
| 209 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::GetApplicationRequest'->new($_) } @$_ ] }; | ||
| 210 | |||
| 211 | declare 'MapStringGetApplicationRequest', | ||
| 212 | as HashRef[GetApplicationRequest()]; | ||
| 213 | |||
| 214 | declare 'CreateApplicationRequest', | ||
| 215 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::CreateApplicationRequest']; | ||
| 216 | |||
| 217 | coerce 'CreateApplicationRequest', | ||
| 218 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::CreateApplicationRequest'->new($_) }; | ||
| 219 | |||
| 220 | declare 'RepeatedCreateApplicationRequest', | ||
| 221 | as ArrayRef[CreateApplicationRequest()]; | ||
| 222 | |||
| 223 | coerce 'RepeatedCreateApplicationRequest', | ||
| 224 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::CreateApplicationRequest'->new($_) } @$_ ] }; | ||
| 225 | |||
| 226 | declare 'MapStringCreateApplicationRequest', | ||
| 227 | as HashRef[CreateApplicationRequest()]; | ||
| 228 | |||
| 229 | declare 'UpdateApplicationRequest', | ||
| 230 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::UpdateApplicationRequest']; | ||
| 231 | |||
| 232 | coerce 'UpdateApplicationRequest', | ||
| 233 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::UpdateApplicationRequest'->new($_) }; | ||
| 234 | |||
| 235 | declare 'RepeatedUpdateApplicationRequest', | ||
| 236 | as ArrayRef[UpdateApplicationRequest()]; | ||
| 237 | |||
| 238 | coerce 'RepeatedUpdateApplicationRequest', | ||
| 239 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::UpdateApplicationRequest'->new($_) } @$_ ] }; | ||
| 240 | |||
| 241 | declare 'MapStringUpdateApplicationRequest', | ||
| 242 | as HashRef[UpdateApplicationRequest()]; | ||
| 243 | |||
| 244 | declare 'DeleteApplicationRequest', | ||
| 245 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::DeleteApplicationRequest']; | ||
| 246 | |||
| 247 | coerce 'DeleteApplicationRequest', | ||
| 248 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::DeleteApplicationRequest'->new($_) }; | ||
| 249 | |||
| 250 | declare 'RepeatedDeleteApplicationRequest', | ||
| 251 | as ArrayRef[DeleteApplicationRequest()]; | ||
| 252 | |||
| 253 | coerce 'RepeatedDeleteApplicationRequest', | ||
| 254 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::DeleteApplicationRequest'->new($_) } @$_ ] }; | ||
| 255 | |||
| 256 | declare 'MapStringDeleteApplicationRequest', | ||
| 257 | as HashRef[DeleteApplicationRequest()]; | ||
| 258 | |||
| 259 | declare 'DeployApplicationRequest', | ||
| 260 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::DeployApplicationRequest']; | ||
| 261 | |||
| 262 | coerce 'DeployApplicationRequest', | ||
| 263 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::DeployApplicationRequest'->new($_) }; | ||
| 264 | |||
| 265 | declare 'RepeatedDeployApplicationRequest', | ||
| 266 | as ArrayRef[DeployApplicationRequest()]; | ||
| 267 | |||
| 268 | coerce 'RepeatedDeployApplicationRequest', | ||
| 269 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::DeployApplicationRequest'->new($_) } @$_ ] }; | ||
| 270 | |||
| 271 | declare 'MapStringDeployApplicationRequest', | ||
| 272 | as HashRef[DeployApplicationRequest()]; | ||
| 273 | |||
| 274 | declare 'UndeployApplicationRequest', | ||
| 275 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::UndeployApplicationRequest']; | ||
| 276 | |||
| 277 | coerce 'UndeployApplicationRequest', | ||
| 278 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::UndeployApplicationRequest'->new($_) }; | ||
| 279 | |||
| 280 | declare 'RepeatedUndeployApplicationRequest', | ||
| 281 | as ArrayRef[UndeployApplicationRequest()]; | ||
| 282 | |||
| 283 | coerce 'RepeatedUndeployApplicationRequest', | ||
| 284 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::UndeployApplicationRequest'->new($_) } @$_ ] }; | ||
| 285 | |||
| 286 | declare 'MapStringUndeployApplicationRequest', | ||
| 287 | as HashRef[UndeployApplicationRequest()]; | ||
| 288 | |||
| 289 | declare 'ApplicationStreamInput', | ||
| 290 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::ApplicationStreamInput']; | ||
| 291 | |||
| 292 | coerce 'ApplicationStreamInput', | ||
| 293 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::ApplicationStreamInput'->new($_) }; | ||
| 294 | |||
| 295 | declare 'RepeatedApplicationStreamInput', | ||
| 296 | as ArrayRef[ApplicationStreamInput()]; | ||
| 297 | |||
| 298 | coerce 'RepeatedApplicationStreamInput', | ||
| 299 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::ApplicationStreamInput'->new($_) } @$_ ] }; | ||
| 300 | |||
| 301 | declare 'MapStringApplicationStreamInput', | ||
| 302 | as HashRef[ApplicationStreamInput()]; | ||
| 303 | |||
| 304 | declare 'AddApplicationStreamInputRequest', | ||
| 305 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::AddApplicationStreamInputRequest']; | ||
| 306 | |||
| 307 | coerce 'AddApplicationStreamInputRequest', | ||
| 308 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::AddApplicationStreamInputRequest'->new($_) }; | ||
| 309 | |||
| 310 | declare 'RepeatedAddApplicationStreamInputRequest', | ||
| 311 | as ArrayRef[AddApplicationStreamInputRequest()]; | ||
| 312 | |||
| 313 | coerce 'RepeatedAddApplicationStreamInputRequest', | ||
| 314 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::AddApplicationStreamInputRequest'->new($_) } @$_ ] }; | ||
| 315 | |||
| 316 | declare 'MapStringAddApplicationStreamInputRequest', | ||
| 317 | as HashRef[AddApplicationStreamInputRequest()]; | ||
| 318 | |||
| 319 | declare 'UpdateApplicationStreamInputRequest', | ||
| 320 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::UpdateApplicationStreamInputRequest']; | ||
| 321 | |||
| 322 | coerce 'UpdateApplicationStreamInputRequest', | ||
| 323 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::UpdateApplicationStreamInputRequest'->new($_) }; | ||
| 324 | |||
| 325 | declare 'RepeatedUpdateApplicationStreamInputRequest', | ||
| 326 | as ArrayRef[UpdateApplicationStreamInputRequest()]; | ||
| 327 | |||
| 328 | coerce 'RepeatedUpdateApplicationStreamInputRequest', | ||
| 329 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::UpdateApplicationStreamInputRequest'->new($_) } @$_ ] }; | ||
| 330 | |||
| 331 | declare 'MapStringUpdateApplicationStreamInputRequest', | ||
| 332 | as HashRef[UpdateApplicationStreamInputRequest()]; | ||
| 333 | |||
| 334 | declare 'RemoveApplicationStreamInputRequest', | ||
| 335 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::RemoveApplicationStreamInputRequest']; | ||
| 336 | |||
| 337 | coerce 'RemoveApplicationStreamInputRequest', | ||
| 338 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::RemoveApplicationStreamInputRequest'->new($_) }; | ||
| 339 | |||
| 340 | declare 'RepeatedRemoveApplicationStreamInputRequest', | ||
| 341 | as ArrayRef[RemoveApplicationStreamInputRequest()]; | ||
| 342 | |||
| 343 | coerce 'RepeatedRemoveApplicationStreamInputRequest', | ||
| 344 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::RemoveApplicationStreamInputRequest'->new($_) } @$_ ] }; | ||
| 345 | |||
| 346 | declare 'MapStringRemoveApplicationStreamInputRequest', | ||
| 347 | as HashRef[RemoveApplicationStreamInputRequest()]; | ||
| 348 | |||
| 349 | declare 'TargetStreamInput', | ||
| 350 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::RemoveApplicationStreamInputRequest::TargetStreamInput']; | ||
| 351 | |||
| 352 | coerce 'TargetStreamInput', | ||
| 353 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::RemoveApplicationStreamInputRequest::TargetStreamInput'->new($_) }; | ||
| 354 | |||
| 355 | declare 'RepeatedTargetStreamInput', | ||
| 356 | as ArrayRef[TargetStreamInput()]; | ||
| 357 | |||
| 358 | coerce 'RepeatedTargetStreamInput', | ||
| 359 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::RemoveApplicationStreamInputRequest::TargetStreamInput'->new($_) } @$_ ] }; | ||
| 360 | |||
| 361 | declare 'MapStringTargetStreamInput', | ||
| 362 | as HashRef[TargetStreamInput()]; | ||
| 363 | |||
| 364 | declare 'ListInstancesRequest', | ||
| 365 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::ListInstancesRequest']; | ||
| 366 | |||
| 367 | coerce 'ListInstancesRequest', | ||
| 368 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::ListInstancesRequest'->new($_) }; | ||
| 369 | |||
| 370 | declare 'RepeatedListInstancesRequest', | ||
| 371 | as ArrayRef[ListInstancesRequest()]; | ||
| 372 | |||
| 373 | coerce 'RepeatedListInstancesRequest', | ||
| 374 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::ListInstancesRequest'->new($_) } @$_ ] }; | ||
| 375 | |||
| 376 | declare 'MapStringListInstancesRequest', | ||
| 377 | as HashRef[ListInstancesRequest()]; | ||
| 378 | |||
| 379 | declare 'ListInstancesResponse', | ||
| 380 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::ListInstancesResponse']; | ||
| 381 | |||
| 382 | coerce 'ListInstancesResponse', | ||
| 383 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::ListInstancesResponse'->new($_) }; | ||
| 384 | |||
| 385 | declare 'RepeatedListInstancesResponse', | ||
| 386 | as ArrayRef[ListInstancesResponse()]; | ||
| 387 | |||
| 388 | coerce 'RepeatedListInstancesResponse', | ||
| 389 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::ListInstancesResponse'->new($_) } @$_ ] }; | ||
| 390 | |||
| 391 | declare 'MapStringListInstancesResponse', | ||
| 392 | as HashRef[ListInstancesResponse()]; | ||
| 393 | |||
| 394 | declare 'GetInstanceRequest', | ||
| 395 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::GetInstanceRequest']; | ||
| 396 | |||
| 397 | coerce 'GetInstanceRequest', | ||
| 398 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::GetInstanceRequest'->new($_) }; | ||
| 399 | |||
| 400 | declare 'RepeatedGetInstanceRequest', | ||
| 401 | as ArrayRef[GetInstanceRequest()]; | ||
| 402 | |||
| 403 | coerce 'RepeatedGetInstanceRequest', | ||
| 404 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::GetInstanceRequest'->new($_) } @$_ ] }; | ||
| 405 | |||
| 406 | declare 'MapStringGetInstanceRequest', | ||
| 407 | as HashRef[GetInstanceRequest()]; | ||
| 408 | |||
| 409 | declare 'ListDraftsRequest', | ||
| 410 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::ListDraftsRequest']; | ||
| 411 | |||
| 412 | coerce 'ListDraftsRequest', | ||
| 413 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::ListDraftsRequest'->new($_) }; | ||
| 414 | |||
| 415 | declare 'RepeatedListDraftsRequest', | ||
| 416 | as ArrayRef[ListDraftsRequest()]; | ||
| 417 | |||
| 418 | coerce 'RepeatedListDraftsRequest', | ||
| 419 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::ListDraftsRequest'->new($_) } @$_ ] }; | ||
| 420 | |||
| 421 | declare 'MapStringListDraftsRequest', | ||
| 422 | as HashRef[ListDraftsRequest()]; | ||
| 423 | |||
| 424 | declare 'ListDraftsResponse', | ||
| 425 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::ListDraftsResponse']; | ||
| 426 | |||
| 427 | coerce 'ListDraftsResponse', | ||
| 428 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::ListDraftsResponse'->new($_) }; | ||
| 429 | |||
| 430 | declare 'RepeatedListDraftsResponse', | ||
| 431 | as ArrayRef[ListDraftsResponse()]; | ||
| 432 | |||
| 433 | coerce 'RepeatedListDraftsResponse', | ||
| 434 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::ListDraftsResponse'->new($_) } @$_ ] }; | ||
| 435 | |||
| 436 | declare 'MapStringListDraftsResponse', | ||
| 437 | as HashRef[ListDraftsResponse()]; | ||
| 438 | |||
| 439 | declare 'GetDraftRequest', | ||
| 440 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::GetDraftRequest']; | ||
| 441 | |||
| 442 | coerce 'GetDraftRequest', | ||
| 443 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::GetDraftRequest'->new($_) }; | ||
| 444 | |||
| 445 | declare 'RepeatedGetDraftRequest', | ||
| 446 | as ArrayRef[GetDraftRequest()]; | ||
| 447 | |||
| 448 | coerce 'RepeatedGetDraftRequest', | ||
| 449 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::GetDraftRequest'->new($_) } @$_ ] }; | ||
| 450 | |||
| 451 | declare 'MapStringGetDraftRequest', | ||
| 452 | as HashRef[GetDraftRequest()]; | ||
| 453 | |||
| 454 | declare 'CreateDraftRequest', | ||
| 455 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::CreateDraftRequest']; | ||
| 456 | |||
| 457 | coerce 'CreateDraftRequest', | ||
| 458 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::CreateDraftRequest'->new($_) }; | ||
| 459 | |||
| 460 | declare 'RepeatedCreateDraftRequest', | ||
| 461 | as ArrayRef[CreateDraftRequest()]; | ||
| 462 | |||
| 463 | coerce 'RepeatedCreateDraftRequest', | ||
| 464 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::CreateDraftRequest'->new($_) } @$_ ] }; | ||
| 465 | |||
| 466 | declare 'MapStringCreateDraftRequest', | ||
| 467 | as HashRef[CreateDraftRequest()]; | ||
| 468 | |||
| 469 | declare 'UpdateDraftRequest', | ||
| 470 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::UpdateDraftRequest']; | ||
| 471 | |||
| 472 | coerce 'UpdateDraftRequest', | ||
| 473 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::UpdateDraftRequest'->new($_) }; | ||
| 474 | |||
| 475 | declare 'RepeatedUpdateDraftRequest', | ||
| 476 | as ArrayRef[UpdateDraftRequest()]; | ||
| 477 | |||
| 478 | coerce 'RepeatedUpdateDraftRequest', | ||
| 479 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::UpdateDraftRequest'->new($_) } @$_ ] }; | ||
| 480 | |||
| 481 | declare 'MapStringUpdateDraftRequest', | ||
| 482 | as HashRef[UpdateDraftRequest()]; | ||
| 483 | |||
| 484 | declare 'UpdateApplicationInstancesRequest', | ||
| 485 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::UpdateApplicationInstancesRequest']; | ||
| 486 | |||
| 487 | coerce 'UpdateApplicationInstancesRequest', | ||
| 488 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::UpdateApplicationInstancesRequest'->new($_) }; | ||
| 489 | |||
| 490 | declare 'RepeatedUpdateApplicationInstancesRequest', | ||
| 491 | as ArrayRef[UpdateApplicationInstancesRequest()]; | ||
| 492 | |||
| 493 | coerce 'RepeatedUpdateApplicationInstancesRequest', | ||
| 494 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::UpdateApplicationInstancesRequest'->new($_) } @$_ ] }; | ||
| 495 | |||
| 496 | declare 'MapStringUpdateApplicationInstancesRequest', | ||
| 497 | as HashRef[UpdateApplicationInstancesRequest()]; | ||
| 498 | |||
| 499 | declare 'UpdateApplicationInstance', | ||
| 500 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::UpdateApplicationInstancesRequest::UpdateApplicationInstance']; | ||
| 501 | |||
| 502 | coerce 'UpdateApplicationInstance', | ||
| 503 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::UpdateApplicationInstancesRequest::UpdateApplicationInstance'->new($_) }; | ||
| 504 | |||
| 505 | declare 'RepeatedUpdateApplicationInstance', | ||
| 506 | as ArrayRef[UpdateApplicationInstance()]; | ||
| 507 | |||
| 508 | coerce 'RepeatedUpdateApplicationInstance', | ||
| 509 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::UpdateApplicationInstancesRequest::UpdateApplicationInstance'->new($_) } @$_ ] }; | ||
| 510 | |||
| 511 | declare 'MapStringUpdateApplicationInstance', | ||
| 512 | as HashRef[UpdateApplicationInstance()]; | ||
| 513 | |||
| 514 | declare 'DeleteDraftRequest', | ||
| 515 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::DeleteDraftRequest']; | ||
| 516 | |||
| 517 | coerce 'DeleteDraftRequest', | ||
| 518 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::DeleteDraftRequest'->new($_) }; | ||
| 519 | |||
| 520 | declare 'RepeatedDeleteDraftRequest', | ||
| 521 | as ArrayRef[DeleteDraftRequest()]; | ||
| 522 | |||
| 523 | coerce 'RepeatedDeleteDraftRequest', | ||
| 524 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::DeleteDraftRequest'->new($_) } @$_ ] }; | ||
| 525 | |||
| 526 | declare 'MapStringDeleteDraftRequest', | ||
| 527 | as HashRef[DeleteDraftRequest()]; | ||
| 528 | |||
| 529 | declare 'ListProcessorsRequest', | ||
| 530 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::ListProcessorsRequest']; | ||
| 531 | |||
| 532 | coerce 'ListProcessorsRequest', | ||
| 533 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::ListProcessorsRequest'->new($_) }; | ||
| 534 | |||
| 535 | declare 'RepeatedListProcessorsRequest', | ||
| 536 | as ArrayRef[ListProcessorsRequest()]; | ||
| 537 | |||
| 538 | coerce 'RepeatedListProcessorsRequest', | ||
| 539 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::ListProcessorsRequest'->new($_) } @$_ ] }; | ||
| 540 | |||
| 541 | declare 'MapStringListProcessorsRequest', | ||
| 542 | as HashRef[ListProcessorsRequest()]; | ||
| 543 | |||
| 544 | declare 'ListProcessorsResponse', | ||
| 545 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::ListProcessorsResponse']; | ||
| 546 | |||
| 547 | coerce 'ListProcessorsResponse', | ||
| 548 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::ListProcessorsResponse'->new($_) }; | ||
| 549 | |||
| 550 | declare 'RepeatedListProcessorsResponse', | ||
| 551 | as ArrayRef[ListProcessorsResponse()]; | ||
| 552 | |||
| 553 | coerce 'RepeatedListProcessorsResponse', | ||
| 554 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::ListProcessorsResponse'->new($_) } @$_ ] }; | ||
| 555 | |||
| 556 | declare 'MapStringListProcessorsResponse', | ||
| 557 | as HashRef[ListProcessorsResponse()]; | ||
| 558 | |||
| 559 | declare 'ListPrebuiltProcessorsRequest', | ||
| 560 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::ListPrebuiltProcessorsRequest']; | ||
| 561 | |||
| 562 | coerce 'ListPrebuiltProcessorsRequest', | ||
| 563 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::ListPrebuiltProcessorsRequest'->new($_) }; | ||
| 564 | |||
| 565 | declare 'RepeatedListPrebuiltProcessorsRequest', | ||
| 566 | as ArrayRef[ListPrebuiltProcessorsRequest()]; | ||
| 567 | |||
| 568 | coerce 'RepeatedListPrebuiltProcessorsRequest', | ||
| 569 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::ListPrebuiltProcessorsRequest'->new($_) } @$_ ] }; | ||
| 570 | |||
| 571 | declare 'MapStringListPrebuiltProcessorsRequest', | ||
| 572 | as HashRef[ListPrebuiltProcessorsRequest()]; | ||
| 573 | |||
| 574 | declare 'ListPrebuiltProcessorsResponse', | ||
| 575 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::ListPrebuiltProcessorsResponse']; | ||
| 576 | |||
| 577 | coerce 'ListPrebuiltProcessorsResponse', | ||
| 578 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::ListPrebuiltProcessorsResponse'->new($_) }; | ||
| 579 | |||
| 580 | declare 'RepeatedListPrebuiltProcessorsResponse', | ||
| 581 | as ArrayRef[ListPrebuiltProcessorsResponse()]; | ||
| 582 | |||
| 583 | coerce 'RepeatedListPrebuiltProcessorsResponse', | ||
| 584 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::ListPrebuiltProcessorsResponse'->new($_) } @$_ ] }; | ||
| 585 | |||
| 586 | declare 'MapStringListPrebuiltProcessorsResponse', | ||
| 587 | as HashRef[ListPrebuiltProcessorsResponse()]; | ||
| 588 | |||
| 589 | declare 'GetProcessorRequest', | ||
| 590 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::GetProcessorRequest']; | ||
| 591 | |||
| 592 | coerce 'GetProcessorRequest', | ||
| 593 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::GetProcessorRequest'->new($_) }; | ||
| 594 | |||
| 595 | declare 'RepeatedGetProcessorRequest', | ||
| 596 | as ArrayRef[GetProcessorRequest()]; | ||
| 597 | |||
| 598 | coerce 'RepeatedGetProcessorRequest', | ||
| 599 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::GetProcessorRequest'->new($_) } @$_ ] }; | ||
| 600 | |||
| 601 | declare 'MapStringGetProcessorRequest', | ||
| 602 | as HashRef[GetProcessorRequest()]; | ||
| 603 | |||
| 604 | declare 'CreateProcessorRequest', | ||
| 605 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::CreateProcessorRequest']; | ||
| 606 | |||
| 607 | coerce 'CreateProcessorRequest', | ||
| 608 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::CreateProcessorRequest'->new($_) }; | ||
| 609 | |||
| 610 | declare 'RepeatedCreateProcessorRequest', | ||
| 611 | as ArrayRef[CreateProcessorRequest()]; | ||
| 612 | |||
| 613 | coerce 'RepeatedCreateProcessorRequest', | ||
| 614 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::CreateProcessorRequest'->new($_) } @$_ ] }; | ||
| 615 | |||
| 616 | declare 'MapStringCreateProcessorRequest', | ||
| 617 | as HashRef[CreateProcessorRequest()]; | ||
| 618 | |||
| 619 | declare 'UpdateProcessorRequest', | ||
| 620 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::UpdateProcessorRequest']; | ||
| 621 | |||
| 622 | coerce 'UpdateProcessorRequest', | ||
| 623 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::UpdateProcessorRequest'->new($_) }; | ||
| 624 | |||
| 625 | declare 'RepeatedUpdateProcessorRequest', | ||
| 626 | as ArrayRef[UpdateProcessorRequest()]; | ||
| 627 | |||
| 628 | coerce 'RepeatedUpdateProcessorRequest', | ||
| 629 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::UpdateProcessorRequest'->new($_) } @$_ ] }; | ||
| 630 | |||
| 631 | declare 'MapStringUpdateProcessorRequest', | ||
| 632 | as HashRef[UpdateProcessorRequest()]; | ||
| 633 | |||
| 634 | declare 'DeleteProcessorRequest', | ||
| 635 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::DeleteProcessorRequest']; | ||
| 636 | |||
| 637 | coerce 'DeleteProcessorRequest', | ||
| 638 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::DeleteProcessorRequest'->new($_) }; | ||
| 639 | |||
| 640 | declare 'RepeatedDeleteProcessorRequest', | ||
| 641 | as ArrayRef[DeleteProcessorRequest()]; | ||
| 642 | |||
| 643 | coerce 'RepeatedDeleteProcessorRequest', | ||
| 644 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::DeleteProcessorRequest'->new($_) } @$_ ] }; | ||
| 645 | |||
| 646 | declare 'MapStringDeleteProcessorRequest', | ||
| 647 | as HashRef[DeleteProcessorRequest()]; | ||
| 648 | |||
| 649 | declare 'Application', | ||
| 650 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::Application']; | ||
| 651 | |||
| 652 | coerce 'Application', | ||
| 653 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::Application'->new($_) }; | ||
| 654 | |||
| 655 | declare 'RepeatedApplication', | ||
| 656 | as ArrayRef[Application()]; | ||
| 657 | |||
| 658 | coerce 'RepeatedApplication', | ||
| 659 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::Application'->new($_) } @$_ ] }; | ||
| 660 | |||
| 661 | declare 'MapStringApplication', | ||
| 662 | as HashRef[Application()]; | ||
| 663 | |||
| 664 | declare 'State', | ||
| 665 | as (Int | Str); | ||
| 666 | |||
| 667 | declare 'BillingMode', | ||
| 668 | as (Int | Str); | ||
| 669 | |||
| 670 | declare 'ApplicationRuntimeInfo', | ||
| 671 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::Application::ApplicationRuntimeInfo']; | ||
| 672 | |||
| 673 | coerce 'ApplicationRuntimeInfo', | ||
| 674 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::Application::ApplicationRuntimeInfo'->new($_) }; | ||
| 675 | |||
| 676 | declare 'RepeatedApplicationRuntimeInfo', | ||
| 677 | as ArrayRef[ApplicationRuntimeInfo()]; | ||
| 678 | |||
| 679 | coerce 'RepeatedApplicationRuntimeInfo', | ||
| 680 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::Application::ApplicationRuntimeInfo'->new($_) } @$_ ] }; | ||
| 681 | |||
| 682 | declare 'MapStringApplicationRuntimeInfo', | ||
| 683 | as HashRef[ApplicationRuntimeInfo()]; | ||
| 684 | |||
| 685 | declare 'GlobalOutputResource', | ||
| 686 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::Application::ApplicationRuntimeInfo::GlobalOutputResource']; | ||
| 687 | |||
| 688 | coerce 'GlobalOutputResource', | ||
| 689 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::Application::ApplicationRuntimeInfo::GlobalOutputResource'->new($_) }; | ||
| 690 | |||
| 691 | declare 'RepeatedGlobalOutputResource', | ||
| 692 | as ArrayRef[GlobalOutputResource()]; | ||
| 693 | |||
| 694 | coerce 'RepeatedGlobalOutputResource', | ||
| 695 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::Application::ApplicationRuntimeInfo::GlobalOutputResource'->new($_) } @$_ ] }; | ||
| 696 | |||
| 697 | declare 'MapStringGlobalOutputResource', | ||
| 698 | as HashRef[GlobalOutputResource()]; | ||
| 699 | |||
| 700 | declare 'MonitoringConfig', | ||
| 701 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::Application::ApplicationRuntimeInfo::MonitoringConfig']; | ||
| 702 | |||
| 703 | coerce 'MonitoringConfig', | ||
| 704 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::Application::ApplicationRuntimeInfo::MonitoringConfig'->new($_) }; | ||
| 705 | |||
| 706 | declare 'RepeatedMonitoringConfig', | ||
| 707 | as ArrayRef[MonitoringConfig()]; | ||
| 708 | |||
| 709 | coerce 'RepeatedMonitoringConfig', | ||
| 710 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::Application::ApplicationRuntimeInfo::MonitoringConfig'->new($_) } @$_ ] }; | ||
| 711 | |||
| 712 | declare 'MapStringMonitoringConfig', | ||
| 713 | as HashRef[MonitoringConfig()]; | ||
| 714 | |||
| 715 | declare 'LabelsEntry', | ||
| 716 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::Application::LabelsEntry']; | ||
| 717 | |||
| 718 | coerce 'LabelsEntry', | ||
| 719 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::Application::LabelsEntry'->new($_) }; | ||
| 720 | |||
| 721 | declare 'RepeatedLabelsEntry', | ||
| 722 | as ArrayRef[LabelsEntry()]; | ||
| 723 | |||
| 724 | coerce 'RepeatedLabelsEntry', | ||
| 725 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::Application::LabelsEntry'->new($_) } @$_ ] }; | ||
| 726 | |||
| 727 | declare 'MapStringLabelsEntry', | ||
| 728 | as HashRef[LabelsEntry()]; | ||
| 729 | |||
| 730 | declare 'ApplicationConfigs', | ||
| 731 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::ApplicationConfigs']; | ||
| 732 | |||
| 733 | coerce 'ApplicationConfigs', | ||
| 734 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::ApplicationConfigs'->new($_) }; | ||
| 735 | |||
| 736 | declare 'RepeatedApplicationConfigs', | ||
| 737 | as ArrayRef[ApplicationConfigs()]; | ||
| 738 | |||
| 739 | coerce 'RepeatedApplicationConfigs', | ||
| 740 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::ApplicationConfigs'->new($_) } @$_ ] }; | ||
| 741 | |||
| 742 | declare 'MapStringApplicationConfigs', | ||
| 743 | as HashRef[ApplicationConfigs()]; | ||
| 744 | |||
| 745 | declare 'EventDeliveryConfig', | ||
| 746 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::ApplicationConfigs::EventDeliveryConfig']; | ||
| 747 | |||
| 748 | coerce 'EventDeliveryConfig', | ||
| 749 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::ApplicationConfigs::EventDeliveryConfig'->new($_) }; | ||
| 750 | |||
| 751 | declare 'RepeatedEventDeliveryConfig', | ||
| 752 | as ArrayRef[EventDeliveryConfig()]; | ||
| 753 | |||
| 754 | coerce 'RepeatedEventDeliveryConfig', | ||
| 755 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::ApplicationConfigs::EventDeliveryConfig'->new($_) } @$_ ] }; | ||
| 756 | |||
| 757 | declare 'MapStringEventDeliveryConfig', | ||
| 758 | as HashRef[EventDeliveryConfig()]; | ||
| 759 | |||
| 760 | declare 'Node', | ||
| 761 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::Node']; | ||
| 762 | |||
| 763 | coerce 'Node', | ||
| 764 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::Node'->new($_) }; | ||
| 765 | |||
| 766 | declare 'RepeatedNode', | ||
| 767 | as ArrayRef[Node()]; | ||
| 768 | |||
| 769 | coerce 'RepeatedNode', | ||
| 770 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::Node'->new($_) } @$_ ] }; | ||
| 771 | |||
| 772 | declare 'MapStringNode', | ||
| 773 | as HashRef[Node()]; | ||
| 774 | |||
| 775 | declare 'InputEdge', | ||
| 776 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::Node::InputEdge']; | ||
| 777 | |||
| 778 | coerce 'InputEdge', | ||
| 779 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::Node::InputEdge'->new($_) }; | ||
| 780 | |||
| 781 | declare 'RepeatedInputEdge', | ||
| 782 | as ArrayRef[InputEdge()]; | ||
| 783 | |||
| 784 | coerce 'RepeatedInputEdge', | ||
| 785 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::Node::InputEdge'->new($_) } @$_ ] }; | ||
| 786 | |||
| 787 | declare 'MapStringInputEdge', | ||
| 788 | as HashRef[InputEdge()]; | ||
| 789 | |||
| 790 | declare 'Draft', | ||
| 791 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::Draft']; | ||
| 792 | |||
| 793 | coerce 'Draft', | ||
| 794 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::Draft'->new($_) }; | ||
| 795 | |||
| 796 | declare 'RepeatedDraft', | ||
| 797 | as ArrayRef[Draft()]; | ||
| 798 | |||
| 799 | coerce 'RepeatedDraft', | ||
| 800 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::Draft'->new($_) } @$_ ] }; | ||
| 801 | |||
| 802 | declare 'MapStringDraft', | ||
| 803 | as HashRef[Draft()]; | ||
| 804 | |||
| 805 | declare 'LabelsEntry', | ||
| 806 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::Draft::LabelsEntry']; | ||
| 807 | |||
| 808 | coerce 'LabelsEntry', | ||
| 809 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::Draft::LabelsEntry'->new($_) }; | ||
| 810 | |||
| 811 | declare 'RepeatedLabelsEntry', | ||
| 812 | as ArrayRef[LabelsEntry()]; | ||
| 813 | |||
| 814 | coerce 'RepeatedLabelsEntry', | ||
| 815 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::Draft::LabelsEntry'->new($_) } @$_ ] }; | ||
| 816 | |||
| 817 | declare 'MapStringLabelsEntry', | ||
| 818 | as HashRef[LabelsEntry()]; | ||
| 819 | |||
| 820 | declare 'Instance', | ||
| 821 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::Instance']; | ||
| 822 | |||
| 823 | coerce 'Instance', | ||
| 824 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::Instance'->new($_) }; | ||
| 825 | |||
| 826 | declare 'RepeatedInstance', | ||
| 827 | as ArrayRef[Instance()]; | ||
| 828 | |||
| 829 | coerce 'RepeatedInstance', | ||
| 830 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::Instance'->new($_) } @$_ ] }; | ||
| 831 | |||
| 832 | declare 'MapStringInstance', | ||
| 833 | as HashRef[Instance()]; | ||
| 834 | |||
| 835 | declare 'InstanceType', | ||
| 836 | as (Int | Str); | ||
| 837 | |||
| 838 | declare 'State', | ||
| 839 | as (Int | Str); | ||
| 840 | |||
| 841 | declare 'InputResource', | ||
| 842 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::Instance::InputResource']; | ||
| 843 | |||
| 844 | coerce 'InputResource', | ||
| 845 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::Instance::InputResource'->new($_) }; | ||
| 846 | |||
| 847 | declare 'RepeatedInputResource', | ||
| 848 | as ArrayRef[InputResource()]; | ||
| 849 | |||
| 850 | coerce 'RepeatedInputResource', | ||
| 851 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::Instance::InputResource'->new($_) } @$_ ] }; | ||
| 852 | |||
| 853 | declare 'MapStringInputResource', | ||
| 854 | as HashRef[InputResource()]; | ||
| 855 | |||
| 856 | declare 'OutputResource', | ||
| 857 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::Instance::OutputResource']; | ||
| 858 | |||
| 859 | coerce 'OutputResource', | ||
| 860 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::Instance::OutputResource'->new($_) }; | ||
| 861 | |||
| 862 | declare 'RepeatedOutputResource', | ||
| 863 | as ArrayRef[OutputResource()]; | ||
| 864 | |||
| 865 | coerce 'RepeatedOutputResource', | ||
| 866 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::Instance::OutputResource'->new($_) } @$_ ] }; | ||
| 867 | |||
| 868 | declare 'MapStringOutputResource', | ||
| 869 | as HashRef[OutputResource()]; | ||
| 870 | |||
| 871 | declare 'LabelsEntry', | ||
| 872 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::Instance::LabelsEntry']; | ||
| 873 | |||
| 874 | coerce 'LabelsEntry', | ||
| 875 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::Instance::LabelsEntry'->new($_) }; | ||
| 876 | |||
| 877 | declare 'RepeatedLabelsEntry', | ||
| 878 | as ArrayRef[LabelsEntry()]; | ||
| 879 | |||
| 880 | coerce 'RepeatedLabelsEntry', | ||
| 881 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::Instance::LabelsEntry'->new($_) } @$_ ] }; | ||
| 882 | |||
| 883 | declare 'MapStringLabelsEntry', | ||
| 884 | as HashRef[LabelsEntry()]; | ||
| 885 | |||
| 886 | declare 'ApplicationInstance', | ||
| 887 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::ApplicationInstance']; | ||
| 888 | |||
| 889 | coerce 'ApplicationInstance', | ||
| 890 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::ApplicationInstance'->new($_) }; | ||
| 891 | |||
| 892 | declare 'RepeatedApplicationInstance', | ||
| 893 | as ArrayRef[ApplicationInstance()]; | ||
| 894 | |||
| 895 | coerce 'RepeatedApplicationInstance', | ||
| 896 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::ApplicationInstance'->new($_) } @$_ ] }; | ||
| 897 | |||
| 898 | declare 'MapStringApplicationInstance', | ||
| 899 | as HashRef[ApplicationInstance()]; | ||
| 900 | |||
| 901 | declare 'Processor', | ||
| 902 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::Processor']; | ||
| 903 | |||
| 904 | coerce 'Processor', | ||
| 905 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::Processor'->new($_) }; | ||
| 906 | |||
| 907 | declare 'RepeatedProcessor', | ||
| 908 | as ArrayRef[Processor()]; | ||
| 909 | |||
| 910 | coerce 'RepeatedProcessor', | ||
| 911 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::Processor'->new($_) } @$_ ] }; | ||
| 912 | |||
| 913 | declare 'MapStringProcessor', | ||
| 914 | as HashRef[Processor()]; | ||
| 915 | |||
| 916 | declare 'ProcessorType', | ||
| 917 | as (Int | Str); | ||
| 918 | |||
| 919 | declare 'ProcessorState', | ||
| 920 | as (Int | Str); | ||
| 921 | |||
| 922 | declare 'LabelsEntry', | ||
| 923 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::Processor::LabelsEntry']; | ||
| 924 | |||
| 925 | coerce 'LabelsEntry', | ||
| 926 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::Processor::LabelsEntry'->new($_) }; | ||
| 927 | |||
| 928 | declare 'RepeatedLabelsEntry', | ||
| 929 | as ArrayRef[LabelsEntry()]; | ||
| 930 | |||
| 931 | coerce 'RepeatedLabelsEntry', | ||
| 932 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::Processor::LabelsEntry'->new($_) } @$_ ] }; | ||
| 933 | |||
| 934 | declare 'MapStringLabelsEntry', | ||
| 935 | as HashRef[LabelsEntry()]; | ||
| 936 | |||
| 937 | declare 'ProcessorIOSpec', | ||
| 938 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::ProcessorIOSpec']; | ||
| 939 | |||
| 940 | coerce 'ProcessorIOSpec', | ||
| 941 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::ProcessorIOSpec'->new($_) }; | ||
| 942 | |||
| 943 | declare 'RepeatedProcessorIOSpec', | ||
| 944 | as ArrayRef[ProcessorIOSpec()]; | ||
| 945 | |||
| 946 | coerce 'RepeatedProcessorIOSpec', | ||
| 947 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::ProcessorIOSpec'->new($_) } @$_ ] }; | ||
| 948 | |||
| 949 | declare 'MapStringProcessorIOSpec', | ||
| 950 | as HashRef[ProcessorIOSpec()]; | ||
| 951 | |||
| 952 | declare 'GraphInputChannelSpec', | ||
| 953 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::ProcessorIOSpec::GraphInputChannelSpec']; | ||
| 954 | |||
| 955 | coerce 'GraphInputChannelSpec', | ||
| 956 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::ProcessorIOSpec::GraphInputChannelSpec'->new($_) }; | ||
| 957 | |||
| 958 | declare 'RepeatedGraphInputChannelSpec', | ||
| 959 | as ArrayRef[GraphInputChannelSpec()]; | ||
| 960 | |||
| 961 | coerce 'RepeatedGraphInputChannelSpec', | ||
| 962 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::ProcessorIOSpec::GraphInputChannelSpec'->new($_) } @$_ ] }; | ||
| 963 | |||
| 964 | declare 'MapStringGraphInputChannelSpec', | ||
| 965 | as HashRef[GraphInputChannelSpec()]; | ||
| 966 | |||
| 967 | declare 'GraphOutputChannelSpec', | ||
| 968 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::ProcessorIOSpec::GraphOutputChannelSpec']; | ||
| 969 | |||
| 970 | coerce 'GraphOutputChannelSpec', | ||
| 971 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::ProcessorIOSpec::GraphOutputChannelSpec'->new($_) }; | ||
| 972 | |||
| 973 | declare 'RepeatedGraphOutputChannelSpec', | ||
| 974 | as ArrayRef[GraphOutputChannelSpec()]; | ||
| 975 | |||
| 976 | coerce 'RepeatedGraphOutputChannelSpec', | ||
| 977 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::ProcessorIOSpec::GraphOutputChannelSpec'->new($_) } @$_ ] }; | ||
| 978 | |||
| 979 | declare 'MapStringGraphOutputChannelSpec', | ||
| 980 | as HashRef[GraphOutputChannelSpec()]; | ||
| 981 | |||
| 982 | declare 'InstanceResourceInputBindingSpec', | ||
| 983 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::ProcessorIOSpec::InstanceResourceInputBindingSpec']; | ||
| 984 | |||
| 985 | coerce 'InstanceResourceInputBindingSpec', | ||
| 986 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::ProcessorIOSpec::InstanceResourceInputBindingSpec'->new($_) }; | ||
| 987 | |||
| 988 | declare 'RepeatedInstanceResourceInputBindingSpec', | ||
| 989 | as ArrayRef[InstanceResourceInputBindingSpec()]; | ||
| 990 | |||
| 991 | coerce 'RepeatedInstanceResourceInputBindingSpec', | ||
| 992 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::ProcessorIOSpec::InstanceResourceInputBindingSpec'->new($_) } @$_ ] }; | ||
| 993 | |||
| 994 | declare 'MapStringInstanceResourceInputBindingSpec', | ||
| 995 | as HashRef[InstanceResourceInputBindingSpec()]; | ||
| 996 | |||
| 997 | declare 'InstanceResourceOutputBindingSpec', | ||
| 998 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::ProcessorIOSpec::InstanceResourceOutputBindingSpec']; | ||
| 999 | |||
| 1000 | coerce 'InstanceResourceOutputBindingSpec', | ||
| 1001 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::ProcessorIOSpec::InstanceResourceOutputBindingSpec'->new($_) }; | ||
| 1002 | |||
| 1003 | declare 'RepeatedInstanceResourceOutputBindingSpec', | ||
| 1004 | as ArrayRef[InstanceResourceOutputBindingSpec()]; | ||
| 1005 | |||
| 1006 | coerce 'RepeatedInstanceResourceOutputBindingSpec', | ||
| 1007 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::ProcessorIOSpec::InstanceResourceOutputBindingSpec'->new($_) } @$_ ] }; | ||
| 1008 | |||
| 1009 | declare 'MapStringInstanceResourceOutputBindingSpec', | ||
| 1010 | as HashRef[InstanceResourceOutputBindingSpec()]; | ||
| 1011 | |||
| 1012 | declare 'CustomProcessorSourceInfo', | ||
| 1013 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::CustomProcessorSourceInfo']; | ||
| 1014 | |||
| 1015 | coerce 'CustomProcessorSourceInfo', | ||
| 1016 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::CustomProcessorSourceInfo'->new($_) }; | ||
| 1017 | |||
| 1018 | declare 'RepeatedCustomProcessorSourceInfo', | ||
| 1019 | as ArrayRef[CustomProcessorSourceInfo()]; | ||
| 1020 | |||
| 1021 | coerce 'RepeatedCustomProcessorSourceInfo', | ||
| 1022 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::CustomProcessorSourceInfo'->new($_) } @$_ ] }; | ||
| 1023 | |||
| 1024 | declare 'MapStringCustomProcessorSourceInfo', | ||
| 1025 | as HashRef[CustomProcessorSourceInfo()]; | ||
| 1026 | |||
| 1027 | declare 'SourceType', | ||
| 1028 | as (Int | Str); | ||
| 1029 | |||
| 1030 | declare 'ProductRecognizerArtifact', | ||
| 1031 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::CustomProcessorSourceInfo::ProductRecognizerArtifact']; | ||
| 1032 | |||
| 1033 | coerce 'ProductRecognizerArtifact', | ||
| 1034 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::CustomProcessorSourceInfo::ProductRecognizerArtifact'->new($_) }; | ||
| 1035 | |||
| 1036 | declare 'RepeatedProductRecognizerArtifact', | ||
| 1037 | as ArrayRef[ProductRecognizerArtifact()]; | ||
| 1038 | |||
| 1039 | coerce 'RepeatedProductRecognizerArtifact', | ||
| 1040 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::CustomProcessorSourceInfo::ProductRecognizerArtifact'->new($_) } @$_ ] }; | ||
| 1041 | |||
| 1042 | declare 'MapStringProductRecognizerArtifact', | ||
| 1043 | as HashRef[ProductRecognizerArtifact()]; | ||
| 1044 | |||
| 1045 | declare 'ModelSchema', | ||
| 1046 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::CustomProcessorSourceInfo::ModelSchema']; | ||
| 1047 | |||
| 1048 | coerce 'ModelSchema', | ||
| 1049 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::CustomProcessorSourceInfo::ModelSchema'->new($_) }; | ||
| 1050 | |||
| 1051 | declare 'RepeatedModelSchema', | ||
| 1052 | as ArrayRef[ModelSchema()]; | ||
| 1053 | |||
| 1054 | coerce 'RepeatedModelSchema', | ||
| 1055 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::CustomProcessorSourceInfo::ModelSchema'->new($_) } @$_ ] }; | ||
| 1056 | |||
| 1057 | declare 'MapStringModelSchema', | ||
| 1058 | as HashRef[ModelSchema()]; | ||
| 1059 | |||
| 1060 | declare 'AdditionalInfoEntry', | ||
| 1061 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::CustomProcessorSourceInfo::AdditionalInfoEntry']; | ||
| 1062 | |||
| 1063 | coerce 'AdditionalInfoEntry', | ||
| 1064 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::CustomProcessorSourceInfo::AdditionalInfoEntry'->new($_) }; | ||
| 1065 | |||
| 1066 | declare 'RepeatedAdditionalInfoEntry', | ||
| 1067 | as ArrayRef[AdditionalInfoEntry()]; | ||
| 1068 | |||
| 1069 | coerce 'RepeatedAdditionalInfoEntry', | ||
| 1070 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::CustomProcessorSourceInfo::AdditionalInfoEntry'->new($_) } @$_ ] }; | ||
| 1071 | |||
| 1072 | declare 'MapStringAdditionalInfoEntry', | ||
| 1073 | as HashRef[AdditionalInfoEntry()]; | ||
| 1074 | |||
| 1075 | declare 'ProcessorConfig', | ||
| 1076 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::ProcessorConfig']; | ||
| 1077 | |||
| 1078 | coerce 'ProcessorConfig', | ||
| 1079 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::ProcessorConfig'->new($_) }; | ||
| 1080 | |||
| 1081 | declare 'RepeatedProcessorConfig', | ||
| 1082 | as ArrayRef[ProcessorConfig()]; | ||
| 1083 | |||
| 1084 | coerce 'RepeatedProcessorConfig', | ||
| 1085 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::ProcessorConfig'->new($_) } @$_ ] }; | ||
| 1086 | |||
| 1087 | declare 'MapStringProcessorConfig', | ||
| 1088 | as HashRef[ProcessorConfig()]; | ||
| 1089 | |||
| 1090 | declare 'StreamWithAnnotation', | ||
| 1091 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::StreamWithAnnotation']; | ||
| 1092 | |||
| 1093 | coerce 'StreamWithAnnotation', | ||
| 1094 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::StreamWithAnnotation'->new($_) }; | ||
| 1095 | |||
| 1096 | declare 'RepeatedStreamWithAnnotation', | ||
| 1097 | as ArrayRef[StreamWithAnnotation()]; | ||
| 1098 | |||
| 1099 | coerce 'RepeatedStreamWithAnnotation', | ||
| 1100 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::StreamWithAnnotation'->new($_) } @$_ ] }; | ||
| 1101 | |||
| 1102 | declare 'MapStringStreamWithAnnotation', | ||
| 1103 | as HashRef[StreamWithAnnotation()]; | ||
| 1104 | |||
| 1105 | declare 'NodeAnnotation', | ||
| 1106 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::StreamWithAnnotation::NodeAnnotation']; | ||
| 1107 | |||
| 1108 | coerce 'NodeAnnotation', | ||
| 1109 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::StreamWithAnnotation::NodeAnnotation'->new($_) }; | ||
| 1110 | |||
| 1111 | declare 'RepeatedNodeAnnotation', | ||
| 1112 | as ArrayRef[NodeAnnotation()]; | ||
| 1113 | |||
| 1114 | coerce 'RepeatedNodeAnnotation', | ||
| 1115 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::StreamWithAnnotation::NodeAnnotation'->new($_) } @$_ ] }; | ||
| 1116 | |||
| 1117 | declare 'MapStringNodeAnnotation', | ||
| 1118 | as HashRef[NodeAnnotation()]; | ||
| 1119 | |||
| 1120 | declare 'ApplicationNodeAnnotation', | ||
| 1121 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::ApplicationNodeAnnotation']; | ||
| 1122 | |||
| 1123 | coerce 'ApplicationNodeAnnotation', | ||
| 1124 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::ApplicationNodeAnnotation'->new($_) }; | ||
| 1125 | |||
| 1126 | declare 'RepeatedApplicationNodeAnnotation', | ||
| 1127 | as ArrayRef[ApplicationNodeAnnotation()]; | ||
| 1128 | |||
| 1129 | coerce 'RepeatedApplicationNodeAnnotation', | ||
| 1130 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::ApplicationNodeAnnotation'->new($_) } @$_ ] }; | ||
| 1131 | |||
| 1132 | declare 'MapStringApplicationNodeAnnotation', | ||
| 1133 | as HashRef[ApplicationNodeAnnotation()]; | ||
| 1134 | |||
| 1135 | declare 'ResourceAnnotations', | ||
| 1136 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::ResourceAnnotations']; | ||
| 1137 | |||
| 1138 | coerce 'ResourceAnnotations', | ||
| 1139 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::ResourceAnnotations'->new($_) }; | ||
| 1140 | |||
| 1141 | declare 'RepeatedResourceAnnotations', | ||
| 1142 | as ArrayRef[ResourceAnnotations()]; | ||
| 1143 | |||
| 1144 | coerce 'RepeatedResourceAnnotations', | ||
| 1145 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::ResourceAnnotations'->new($_) } @$_ ] }; | ||
| 1146 | |||
| 1147 | declare 'MapStringResourceAnnotations', | ||
| 1148 | as HashRef[ResourceAnnotations()]; | ||
| 1149 | |||
| 1150 | declare 'VideoStreamInputConfig', | ||
| 1151 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::VideoStreamInputConfig']; | ||
| 1152 | |||
| 1153 | coerce 'VideoStreamInputConfig', | ||
| 1154 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::VideoStreamInputConfig'->new($_) }; | ||
| 1155 | |||
| 1156 | declare 'RepeatedVideoStreamInputConfig', | ||
| 1157 | as ArrayRef[VideoStreamInputConfig()]; | ||
| 1158 | |||
| 1159 | coerce 'RepeatedVideoStreamInputConfig', | ||
| 1160 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::VideoStreamInputConfig'->new($_) } @$_ ] }; | ||
| 1161 | |||
| 1162 | declare 'MapStringVideoStreamInputConfig', | ||
| 1163 | as HashRef[VideoStreamInputConfig()]; | ||
| 1164 | |||
| 1165 | declare 'AIEnabledDevicesInputConfig', | ||
| 1166 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::AIEnabledDevicesInputConfig']; | ||
| 1167 | |||
| 1168 | coerce 'AIEnabledDevicesInputConfig', | ||
| 1169 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::AIEnabledDevicesInputConfig'->new($_) }; | ||
| 1170 | |||
| 1171 | declare 'RepeatedAIEnabledDevicesInputConfig', | ||
| 1172 | as ArrayRef[AIEnabledDevicesInputConfig()]; | ||
| 1173 | |||
| 1174 | coerce 'RepeatedAIEnabledDevicesInputConfig', | ||
| 1175 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::AIEnabledDevicesInputConfig'->new($_) } @$_ ] }; | ||
| 1176 | |||
| 1177 | declare 'MapStringAIEnabledDevicesInputConfig', | ||
| 1178 | as HashRef[AIEnabledDevicesInputConfig()]; | ||
| 1179 | |||
| 1180 | declare 'MediaWarehouseConfig', | ||
| 1181 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::MediaWarehouseConfig']; | ||
| 1182 | |||
| 1183 | coerce 'MediaWarehouseConfig', | ||
| 1184 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::MediaWarehouseConfig'->new($_) }; | ||
| 1185 | |||
| 1186 | declare 'RepeatedMediaWarehouseConfig', | ||
| 1187 | as ArrayRef[MediaWarehouseConfig()]; | ||
| 1188 | |||
| 1189 | coerce 'RepeatedMediaWarehouseConfig', | ||
| 1190 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::MediaWarehouseConfig'->new($_) } @$_ ] }; | ||
| 1191 | |||
| 1192 | declare 'MapStringMediaWarehouseConfig', | ||
| 1193 | as HashRef[MediaWarehouseConfig()]; | ||
| 1194 | |||
| 1195 | declare 'PersonBlurConfig', | ||
| 1196 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::PersonBlurConfig']; | ||
| 1197 | |||
| 1198 | coerce 'PersonBlurConfig', | ||
| 1199 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::PersonBlurConfig'->new($_) }; | ||
| 1200 | |||
| 1201 | declare 'RepeatedPersonBlurConfig', | ||
| 1202 | as ArrayRef[PersonBlurConfig()]; | ||
| 1203 | |||
| 1204 | coerce 'RepeatedPersonBlurConfig', | ||
| 1205 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::PersonBlurConfig'->new($_) } @$_ ] }; | ||
| 1206 | |||
| 1207 | declare 'MapStringPersonBlurConfig', | ||
| 1208 | as HashRef[PersonBlurConfig()]; | ||
| 1209 | |||
| 1210 | declare 'PersonBlurType', | ||
| 1211 | as (Int | Str); | ||
| 1212 | |||
| 1213 | declare 'OccupancyCountConfig', | ||
| 1214 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::OccupancyCountConfig']; | ||
| 1215 | |||
| 1216 | coerce 'OccupancyCountConfig', | ||
| 1217 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::OccupancyCountConfig'->new($_) }; | ||
| 1218 | |||
| 1219 | declare 'RepeatedOccupancyCountConfig', | ||
| 1220 | as ArrayRef[OccupancyCountConfig()]; | ||
| 1221 | |||
| 1222 | coerce 'RepeatedOccupancyCountConfig', | ||
| 1223 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::OccupancyCountConfig'->new($_) } @$_ ] }; | ||
| 1224 | |||
| 1225 | declare 'MapStringOccupancyCountConfig', | ||
| 1226 | as HashRef[OccupancyCountConfig()]; | ||
| 1227 | |||
| 1228 | declare 'PersonVehicleDetectionConfig', | ||
| 1229 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::PersonVehicleDetectionConfig']; | ||
| 1230 | |||
| 1231 | coerce 'PersonVehicleDetectionConfig', | ||
| 1232 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::PersonVehicleDetectionConfig'->new($_) }; | ||
| 1233 | |||
| 1234 | declare 'RepeatedPersonVehicleDetectionConfig', | ||
| 1235 | as ArrayRef[PersonVehicleDetectionConfig()]; | ||
| 1236 | |||
| 1237 | coerce 'RepeatedPersonVehicleDetectionConfig', | ||
| 1238 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::PersonVehicleDetectionConfig'->new($_) } @$_ ] }; | ||
| 1239 | |||
| 1240 | declare 'MapStringPersonVehicleDetectionConfig', | ||
| 1241 | as HashRef[PersonVehicleDetectionConfig()]; | ||
| 1242 | |||
| 1243 | declare 'PersonalProtectiveEquipmentDetectionConfig', | ||
| 1244 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::PersonalProtectiveEquipmentDetectionConfig']; | ||
| 1245 | |||
| 1246 | coerce 'PersonalProtectiveEquipmentDetectionConfig', | ||
| 1247 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::PersonalProtectiveEquipmentDetectionConfig'->new($_) }; | ||
| 1248 | |||
| 1249 | declare 'RepeatedPersonalProtectiveEquipmentDetectionConfig', | ||
| 1250 | as ArrayRef[PersonalProtectiveEquipmentDetectionConfig()]; | ||
| 1251 | |||
| 1252 | coerce 'RepeatedPersonalProtectiveEquipmentDetectionConfig', | ||
| 1253 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::PersonalProtectiveEquipmentDetectionConfig'->new($_) } @$_ ] }; | ||
| 1254 | |||
| 1255 | declare 'MapStringPersonalProtectiveEquipmentDetectionConfig', | ||
| 1256 | as HashRef[PersonalProtectiveEquipmentDetectionConfig()]; | ||
| 1257 | |||
| 1258 | declare 'GeneralObjectDetectionConfig', | ||
| 1259 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::GeneralObjectDetectionConfig']; | ||
| 1260 | |||
| 1261 | coerce 'GeneralObjectDetectionConfig', | ||
| 1262 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::GeneralObjectDetectionConfig'->new($_) }; | ||
| 1263 | |||
| 1264 | declare 'RepeatedGeneralObjectDetectionConfig', | ||
| 1265 | as ArrayRef[GeneralObjectDetectionConfig()]; | ||
| 1266 | |||
| 1267 | coerce 'RepeatedGeneralObjectDetectionConfig', | ||
| 1268 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::GeneralObjectDetectionConfig'->new($_) } @$_ ] }; | ||
| 1269 | |||
| 1270 | declare 'MapStringGeneralObjectDetectionConfig', | ||
| 1271 | as HashRef[GeneralObjectDetectionConfig()]; | ||
| 1272 | |||
| 1273 | declare 'BigQueryConfig', | ||
| 1274 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::BigQueryConfig']; | ||
| 1275 | |||
| 1276 | coerce 'BigQueryConfig', | ||
| 1277 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::BigQueryConfig'->new($_) }; | ||
| 1278 | |||
| 1279 | declare 'RepeatedBigQueryConfig', | ||
| 1280 | as ArrayRef[BigQueryConfig()]; | ||
| 1281 | |||
| 1282 | coerce 'RepeatedBigQueryConfig', | ||
| 1283 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::BigQueryConfig'->new($_) } @$_ ] }; | ||
| 1284 | |||
| 1285 | declare 'MapStringBigQueryConfig', | ||
| 1286 | as HashRef[BigQueryConfig()]; | ||
| 1287 | |||
| 1288 | declare 'CloudFunctionMappingEntry', | ||
| 1289 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::BigQueryConfig::CloudFunctionMappingEntry']; | ||
| 1290 | |||
| 1291 | coerce 'CloudFunctionMappingEntry', | ||
| 1292 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::BigQueryConfig::CloudFunctionMappingEntry'->new($_) }; | ||
| 1293 | |||
| 1294 | declare 'RepeatedCloudFunctionMappingEntry', | ||
| 1295 | as ArrayRef[CloudFunctionMappingEntry()]; | ||
| 1296 | |||
| 1297 | coerce 'RepeatedCloudFunctionMappingEntry', | ||
| 1298 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::BigQueryConfig::CloudFunctionMappingEntry'->new($_) } @$_ ] }; | ||
| 1299 | |||
| 1300 | declare 'MapStringCloudFunctionMappingEntry', | ||
| 1301 | as HashRef[CloudFunctionMappingEntry()]; | ||
| 1302 | |||
| 1303 | declare 'VertexAutoMLVisionConfig', | ||
| 1304 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::VertexAutoMLVisionConfig']; | ||
| 1305 | |||
| 1306 | coerce 'VertexAutoMLVisionConfig', | ||
| 1307 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::VertexAutoMLVisionConfig'->new($_) }; | ||
| 1308 | |||
| 1309 | declare 'RepeatedVertexAutoMLVisionConfig', | ||
| 1310 | as ArrayRef[VertexAutoMLVisionConfig()]; | ||
| 1311 | |||
| 1312 | coerce 'RepeatedVertexAutoMLVisionConfig', | ||
| 1313 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::VertexAutoMLVisionConfig'->new($_) } @$_ ] }; | ||
| 1314 | |||
| 1315 | declare 'MapStringVertexAutoMLVisionConfig', | ||
| 1316 | as HashRef[VertexAutoMLVisionConfig()]; | ||
| 1317 | |||
| 1318 | declare 'VertexAutoMLVideoConfig', | ||
| 1319 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::VertexAutoMLVideoConfig']; | ||
| 1320 | |||
| 1321 | coerce 'VertexAutoMLVideoConfig', | ||
| 1322 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::VertexAutoMLVideoConfig'->new($_) }; | ||
| 1323 | |||
| 1324 | declare 'RepeatedVertexAutoMLVideoConfig', | ||
| 1325 | as ArrayRef[VertexAutoMLVideoConfig()]; | ||
| 1326 | |||
| 1327 | coerce 'RepeatedVertexAutoMLVideoConfig', | ||
| 1328 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::VertexAutoMLVideoConfig'->new($_) } @$_ ] }; | ||
| 1329 | |||
| 1330 | declare 'MapStringVertexAutoMLVideoConfig', | ||
| 1331 | as HashRef[VertexAutoMLVideoConfig()]; | ||
| 1332 | |||
| 1333 | declare 'VertexCustomConfig', | ||
| 1334 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::VertexCustomConfig']; | ||
| 1335 | |||
| 1336 | coerce 'VertexCustomConfig', | ||
| 1337 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::VertexCustomConfig'->new($_) }; | ||
| 1338 | |||
| 1339 | declare 'RepeatedVertexCustomConfig', | ||
| 1340 | as ArrayRef[VertexCustomConfig()]; | ||
| 1341 | |||
| 1342 | coerce 'RepeatedVertexCustomConfig', | ||
| 1343 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::VertexCustomConfig'->new($_) } @$_ ] }; | ||
| 1344 | |||
| 1345 | declare 'MapStringVertexCustomConfig', | ||
| 1346 | as HashRef[VertexCustomConfig()]; | ||
| 1347 | |||
| 1348 | declare 'GcsOutputConfig', | ||
| 1349 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::GcsOutputConfig']; | ||
| 1350 | |||
| 1351 | coerce 'GcsOutputConfig', | ||
| 1352 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::GcsOutputConfig'->new($_) }; | ||
| 1353 | |||
| 1354 | declare 'RepeatedGcsOutputConfig', | ||
| 1355 | as ArrayRef[GcsOutputConfig()]; | ||
| 1356 | |||
| 1357 | coerce 'RepeatedGcsOutputConfig', | ||
| 1358 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::GcsOutputConfig'->new($_) } @$_ ] }; | ||
| 1359 | |||
| 1360 | declare 'MapStringGcsOutputConfig', | ||
| 1361 | as HashRef[GcsOutputConfig()]; | ||
| 1362 | |||
| 1363 | declare 'UniversalInputConfig', | ||
| 1364 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::UniversalInputConfig']; | ||
| 1365 | |||
| 1366 | coerce 'UniversalInputConfig', | ||
| 1367 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::UniversalInputConfig'->new($_) }; | ||
| 1368 | |||
| 1369 | declare 'RepeatedUniversalInputConfig', | ||
| 1370 | as ArrayRef[UniversalInputConfig()]; | ||
| 1371 | |||
| 1372 | coerce 'RepeatedUniversalInputConfig', | ||
| 1373 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::UniversalInputConfig'->new($_) } @$_ ] }; | ||
| 1374 | |||
| 1375 | declare 'MapStringUniversalInputConfig', | ||
| 1376 | as HashRef[UniversalInputConfig()]; | ||
| 1377 | |||
| 1378 | declare 'MachineSpec', | ||
| 1379 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::MachineSpec']; | ||
| 1380 | |||
| 1381 | coerce 'MachineSpec', | ||
| 1382 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::MachineSpec'->new($_) }; | ||
| 1383 | |||
| 1384 | declare 'RepeatedMachineSpec', | ||
| 1385 | as ArrayRef[MachineSpec()]; | ||
| 1386 | |||
| 1387 | coerce 'RepeatedMachineSpec', | ||
| 1388 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::MachineSpec'->new($_) } @$_ ] }; | ||
| 1389 | |||
| 1390 | declare 'MapStringMachineSpec', | ||
| 1391 | as HashRef[MachineSpec()]; | ||
| 1392 | |||
| 1393 | declare 'AutoscalingMetricSpec', | ||
| 1394 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::AutoscalingMetricSpec']; | ||
| 1395 | |||
| 1396 | coerce 'AutoscalingMetricSpec', | ||
| 1397 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::AutoscalingMetricSpec'->new($_) }; | ||
| 1398 | |||
| 1399 | declare 'RepeatedAutoscalingMetricSpec', | ||
| 1400 | as ArrayRef[AutoscalingMetricSpec()]; | ||
| 1401 | |||
| 1402 | coerce 'RepeatedAutoscalingMetricSpec', | ||
| 1403 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::AutoscalingMetricSpec'->new($_) } @$_ ] }; | ||
| 1404 | |||
| 1405 | declare 'MapStringAutoscalingMetricSpec', | ||
| 1406 | as HashRef[AutoscalingMetricSpec()]; | ||
| 1407 | |||
| 1408 | declare 'DedicatedResources', | ||
| 1409 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::DedicatedResources']; | ||
| 1410 | |||
| 1411 | coerce 'DedicatedResources', | ||
| 1412 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::DedicatedResources'->new($_) }; | ||
| 1413 | |||
| 1414 | declare 'RepeatedDedicatedResources', | ||
| 1415 | as ArrayRef[DedicatedResources()]; | ||
| 1416 | |||
| 1417 | coerce 'RepeatedDedicatedResources', | ||
| 1418 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::DedicatedResources'->new($_) } @$_ ] }; | ||
| 1419 | |||
| 1420 | declare 'MapStringDedicatedResources', | ||
| 1421 | as HashRef[DedicatedResources()]; | ||
| 1422 | |||
| 1423 | declare 'ProductRecognizerConfig', | ||
| 1424 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::ProductRecognizerConfig']; | ||
| 1425 | |||
| 1426 | coerce 'ProductRecognizerConfig', | ||
| 1427 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::ProductRecognizerConfig'->new($_) }; | ||
| 1428 | |||
| 1429 | declare 'RepeatedProductRecognizerConfig', | ||
| 1430 | as ArrayRef[ProductRecognizerConfig()]; | ||
| 1431 | |||
| 1432 | coerce 'RepeatedProductRecognizerConfig', | ||
| 1433 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::ProductRecognizerConfig'->new($_) } @$_ ] }; | ||
| 1434 | |||
| 1435 | declare 'MapStringProductRecognizerConfig', | ||
| 1436 | as HashRef[ProductRecognizerConfig()]; | ||
| 1437 | |||
| 1438 | declare 'TagRecognizerConfig', | ||
| 1439 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::TagRecognizerConfig']; | ||
| 1440 | |||
| 1441 | coerce 'TagRecognizerConfig', | ||
| 1442 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::TagRecognizerConfig'->new($_) }; | ||
| 1443 | |||
| 1444 | declare 'RepeatedTagRecognizerConfig', | ||
| 1445 | as ArrayRef[TagRecognizerConfig()]; | ||
| 1446 | |||
| 1447 | coerce 'RepeatedTagRecognizerConfig', | ||
| 1448 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::TagRecognizerConfig'->new($_) } @$_ ] }; | ||
| 1449 | |||
| 1450 | declare 'MapStringTagRecognizerConfig', | ||
| 1451 | as HashRef[TagRecognizerConfig()]; | ||
| 1452 | |||
| 1453 | declare 'TagParsingConfig', | ||
| 1454 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::TagParsingConfig']; | ||
| 1455 | |||
| 1456 | coerce 'TagParsingConfig', | ||
| 1457 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::TagParsingConfig'->new($_) }; | ||
| 1458 | |||
| 1459 | declare 'RepeatedTagParsingConfig', | ||
| 1460 | as ArrayRef[TagParsingConfig()]; | ||
| 1461 | |||
| 1462 | coerce 'RepeatedTagParsingConfig', | ||
| 1463 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::TagParsingConfig'->new($_) } @$_ ] }; | ||
| 1464 | |||
| 1465 | declare 'MapStringTagParsingConfig', | ||
| 1466 | as HashRef[TagParsingConfig()]; | ||
| 1467 | |||
| 1468 | declare 'EntityParsingConfig', | ||
| 1469 | as InstanceOf['Google::Cloud::Visionai::V1::Platform::TagParsingConfig::EntityParsingConfig']; | ||
| 1470 | |||
| 1471 | coerce 'EntityParsingConfig', | ||
| 1472 | from HashRef, via { 'Google::Cloud::Visionai::V1::Platform::TagParsingConfig::EntityParsingConfig'->new($_) }; | ||
| 1473 | |||
| 1474 | declare 'RepeatedEntityParsingConfig', | ||
| 1475 | as ArrayRef[EntityParsingConfig()]; | ||
| 1476 | |||
| 1477 | coerce 'RepeatedEntityParsingConfig', | ||
| 1478 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Visionai::V1::Platform::TagParsingConfig::EntityParsingConfig'->new($_) } @$_ ] }; | ||
| 1479 | |||
| 1480 | declare 'MapStringEntityParsingConfig', | ||
| 1481 | as HashRef[EntityParsingConfig()]; | ||
| 1482 | |||
| 1483 | declare 'EntityMatchingStrategy', | ||
| 1484 | as (Int | Str); | ||
| 1485 | |||
| 1486 | 1; | ||
| 1487 | |||
| 1488 | __END__ |