| 1 | package Google::Cloud::Functions::V2alpha::Functions::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 'OperationType', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'Environment', | ||
| 14 | as (Int | Str); | ||
| 15 | |||
| 16 | declare 'Function', | ||
| 17 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::Function']; | ||
| 18 | |||
| 19 | coerce 'Function', | ||
| 20 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::Function'->new($_) }; | ||
| 21 | |||
| 22 | declare 'RepeatedFunction', | ||
| 23 | as ArrayRef[Function()]; | ||
| 24 | |||
| 25 | coerce 'RepeatedFunction', | ||
| 26 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::Function'->new($_) } @$_ ] }; | ||
| 27 | |||
| 28 | declare 'MapStringFunction', | ||
| 29 | as HashRef[Function()]; | ||
| 30 | |||
| 31 | declare 'State', | ||
| 32 | as (Int | Str); | ||
| 33 | |||
| 34 | declare 'LabelsEntry', | ||
| 35 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::Function::LabelsEntry']; | ||
| 36 | |||
| 37 | coerce 'LabelsEntry', | ||
| 38 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::Function::LabelsEntry'->new($_) }; | ||
| 39 | |||
| 40 | declare 'RepeatedLabelsEntry', | ||
| 41 | as ArrayRef[LabelsEntry()]; | ||
| 42 | |||
| 43 | coerce 'RepeatedLabelsEntry', | ||
| 44 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::Function::LabelsEntry'->new($_) } @$_ ] }; | ||
| 45 | |||
| 46 | declare 'MapStringLabelsEntry', | ||
| 47 | as HashRef[LabelsEntry()]; | ||
| 48 | |||
| 49 | declare 'StateMessage', | ||
| 50 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::StateMessage']; | ||
| 51 | |||
| 52 | coerce 'StateMessage', | ||
| 53 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::StateMessage'->new($_) }; | ||
| 54 | |||
| 55 | declare 'RepeatedStateMessage', | ||
| 56 | as ArrayRef[StateMessage()]; | ||
| 57 | |||
| 58 | coerce 'RepeatedStateMessage', | ||
| 59 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::StateMessage'->new($_) } @$_ ] }; | ||
| 60 | |||
| 61 | declare 'MapStringStateMessage', | ||
| 62 | as HashRef[StateMessage()]; | ||
| 63 | |||
| 64 | declare 'Severity', | ||
| 65 | as (Int | Str); | ||
| 66 | |||
| 67 | declare 'StorageSource', | ||
| 68 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::StorageSource']; | ||
| 69 | |||
| 70 | coerce 'StorageSource', | ||
| 71 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::StorageSource'->new($_) }; | ||
| 72 | |||
| 73 | declare 'RepeatedStorageSource', | ||
| 74 | as ArrayRef[StorageSource()]; | ||
| 75 | |||
| 76 | coerce 'RepeatedStorageSource', | ||
| 77 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::StorageSource'->new($_) } @$_ ] }; | ||
| 78 | |||
| 79 | declare 'MapStringStorageSource', | ||
| 80 | as HashRef[StorageSource()]; | ||
| 81 | |||
| 82 | declare 'RepoSource', | ||
| 83 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::RepoSource']; | ||
| 84 | |||
| 85 | coerce 'RepoSource', | ||
| 86 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::RepoSource'->new($_) }; | ||
| 87 | |||
| 88 | declare 'RepeatedRepoSource', | ||
| 89 | as ArrayRef[RepoSource()]; | ||
| 90 | |||
| 91 | coerce 'RepeatedRepoSource', | ||
| 92 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::RepoSource'->new($_) } @$_ ] }; | ||
| 93 | |||
| 94 | declare 'MapStringRepoSource', | ||
| 95 | as HashRef[RepoSource()]; | ||
| 96 | |||
| 97 | declare 'Source', | ||
| 98 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::Source']; | ||
| 99 | |||
| 100 | coerce 'Source', | ||
| 101 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::Source'->new($_) }; | ||
| 102 | |||
| 103 | declare 'RepeatedSource', | ||
| 104 | as ArrayRef[Source()]; | ||
| 105 | |||
| 106 | coerce 'RepeatedSource', | ||
| 107 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::Source'->new($_) } @$_ ] }; | ||
| 108 | |||
| 109 | declare 'MapStringSource', | ||
| 110 | as HashRef[Source()]; | ||
| 111 | |||
| 112 | declare 'SourceProvenance', | ||
| 113 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::SourceProvenance']; | ||
| 114 | |||
| 115 | coerce 'SourceProvenance', | ||
| 116 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::SourceProvenance'->new($_) }; | ||
| 117 | |||
| 118 | declare 'RepeatedSourceProvenance', | ||
| 119 | as ArrayRef[SourceProvenance()]; | ||
| 120 | |||
| 121 | coerce 'RepeatedSourceProvenance', | ||
| 122 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::SourceProvenance'->new($_) } @$_ ] }; | ||
| 123 | |||
| 124 | declare 'MapStringSourceProvenance', | ||
| 125 | as HashRef[SourceProvenance()]; | ||
| 126 | |||
| 127 | declare 'BuildConfig', | ||
| 128 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::BuildConfig']; | ||
| 129 | |||
| 130 | coerce 'BuildConfig', | ||
| 131 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::BuildConfig'->new($_) }; | ||
| 132 | |||
| 133 | declare 'RepeatedBuildConfig', | ||
| 134 | as ArrayRef[BuildConfig()]; | ||
| 135 | |||
| 136 | coerce 'RepeatedBuildConfig', | ||
| 137 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::BuildConfig'->new($_) } @$_ ] }; | ||
| 138 | |||
| 139 | declare 'MapStringBuildConfig', | ||
| 140 | as HashRef[BuildConfig()]; | ||
| 141 | |||
| 142 | declare 'DockerRegistry', | ||
| 143 | as (Int | Str); | ||
| 144 | |||
| 145 | declare 'EnvironmentVariablesEntry', | ||
| 146 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::BuildConfig::EnvironmentVariablesEntry']; | ||
| 147 | |||
| 148 | coerce 'EnvironmentVariablesEntry', | ||
| 149 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::BuildConfig::EnvironmentVariablesEntry'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedEnvironmentVariablesEntry', | ||
| 152 | as ArrayRef[EnvironmentVariablesEntry()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedEnvironmentVariablesEntry', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::BuildConfig::EnvironmentVariablesEntry'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringEnvironmentVariablesEntry', | ||
| 158 | as HashRef[EnvironmentVariablesEntry()]; | ||
| 159 | |||
| 160 | declare 'ServiceConfig', | ||
| 161 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::ServiceConfig']; | ||
| 162 | |||
| 163 | coerce 'ServiceConfig', | ||
| 164 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::ServiceConfig'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedServiceConfig', | ||
| 167 | as ArrayRef[ServiceConfig()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedServiceConfig', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::ServiceConfig'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringServiceConfig', | ||
| 173 | as HashRef[ServiceConfig()]; | ||
| 174 | |||
| 175 | declare 'VpcConnectorEgressSettings', | ||
| 176 | as (Int | Str); | ||
| 177 | |||
| 178 | declare 'IngressSettings', | ||
| 179 | as (Int | Str); | ||
| 180 | |||
| 181 | declare 'SecurityLevel', | ||
| 182 | as (Int | Str); | ||
| 183 | |||
| 184 | declare 'EnvironmentVariablesEntry', | ||
| 185 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::ServiceConfig::EnvironmentVariablesEntry']; | ||
| 186 | |||
| 187 | coerce 'EnvironmentVariablesEntry', | ||
| 188 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::ServiceConfig::EnvironmentVariablesEntry'->new($_) }; | ||
| 189 | |||
| 190 | declare 'RepeatedEnvironmentVariablesEntry', | ||
| 191 | as ArrayRef[EnvironmentVariablesEntry()]; | ||
| 192 | |||
| 193 | coerce 'RepeatedEnvironmentVariablesEntry', | ||
| 194 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::ServiceConfig::EnvironmentVariablesEntry'->new($_) } @$_ ] }; | ||
| 195 | |||
| 196 | declare 'MapStringEnvironmentVariablesEntry', | ||
| 197 | as HashRef[EnvironmentVariablesEntry()]; | ||
| 198 | |||
| 199 | declare 'SecretEnvVar', | ||
| 200 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::SecretEnvVar']; | ||
| 201 | |||
| 202 | coerce 'SecretEnvVar', | ||
| 203 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::SecretEnvVar'->new($_) }; | ||
| 204 | |||
| 205 | declare 'RepeatedSecretEnvVar', | ||
| 206 | as ArrayRef[SecretEnvVar()]; | ||
| 207 | |||
| 208 | coerce 'RepeatedSecretEnvVar', | ||
| 209 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::SecretEnvVar'->new($_) } @$_ ] }; | ||
| 210 | |||
| 211 | declare 'MapStringSecretEnvVar', | ||
| 212 | as HashRef[SecretEnvVar()]; | ||
| 213 | |||
| 214 | declare 'SecretVolume', | ||
| 215 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::SecretVolume']; | ||
| 216 | |||
| 217 | coerce 'SecretVolume', | ||
| 218 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::SecretVolume'->new($_) }; | ||
| 219 | |||
| 220 | declare 'RepeatedSecretVolume', | ||
| 221 | as ArrayRef[SecretVolume()]; | ||
| 222 | |||
| 223 | coerce 'RepeatedSecretVolume', | ||
| 224 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::SecretVolume'->new($_) } @$_ ] }; | ||
| 225 | |||
| 226 | declare 'MapStringSecretVolume', | ||
| 227 | as HashRef[SecretVolume()]; | ||
| 228 | |||
| 229 | declare 'SecretVersion', | ||
| 230 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::SecretVolume::SecretVersion']; | ||
| 231 | |||
| 232 | coerce 'SecretVersion', | ||
| 233 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::SecretVolume::SecretVersion'->new($_) }; | ||
| 234 | |||
| 235 | declare 'RepeatedSecretVersion', | ||
| 236 | as ArrayRef[SecretVersion()]; | ||
| 237 | |||
| 238 | coerce 'RepeatedSecretVersion', | ||
| 239 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::SecretVolume::SecretVersion'->new($_) } @$_ ] }; | ||
| 240 | |||
| 241 | declare 'MapStringSecretVersion', | ||
| 242 | as HashRef[SecretVersion()]; | ||
| 243 | |||
| 244 | declare 'EventTrigger', | ||
| 245 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::EventTrigger']; | ||
| 246 | |||
| 247 | coerce 'EventTrigger', | ||
| 248 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::EventTrigger'->new($_) }; | ||
| 249 | |||
| 250 | declare 'RepeatedEventTrigger', | ||
| 251 | as ArrayRef[EventTrigger()]; | ||
| 252 | |||
| 253 | coerce 'RepeatedEventTrigger', | ||
| 254 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::EventTrigger'->new($_) } @$_ ] }; | ||
| 255 | |||
| 256 | declare 'MapStringEventTrigger', | ||
| 257 | as HashRef[EventTrigger()]; | ||
| 258 | |||
| 259 | declare 'RetryPolicy', | ||
| 260 | as (Int | Str); | ||
| 261 | |||
| 262 | declare 'EventFilter', | ||
| 263 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::EventFilter']; | ||
| 264 | |||
| 265 | coerce 'EventFilter', | ||
| 266 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::EventFilter'->new($_) }; | ||
| 267 | |||
| 268 | declare 'RepeatedEventFilter', | ||
| 269 | as ArrayRef[EventFilter()]; | ||
| 270 | |||
| 271 | coerce 'RepeatedEventFilter', | ||
| 272 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::EventFilter'->new($_) } @$_ ] }; | ||
| 273 | |||
| 274 | declare 'MapStringEventFilter', | ||
| 275 | as HashRef[EventFilter()]; | ||
| 276 | |||
| 277 | declare 'GetFunctionRequest', | ||
| 278 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::GetFunctionRequest']; | ||
| 279 | |||
| 280 | coerce 'GetFunctionRequest', | ||
| 281 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::GetFunctionRequest'->new($_) }; | ||
| 282 | |||
| 283 | declare 'RepeatedGetFunctionRequest', | ||
| 284 | as ArrayRef[GetFunctionRequest()]; | ||
| 285 | |||
| 286 | coerce 'RepeatedGetFunctionRequest', | ||
| 287 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::GetFunctionRequest'->new($_) } @$_ ] }; | ||
| 288 | |||
| 289 | declare 'MapStringGetFunctionRequest', | ||
| 290 | as HashRef[GetFunctionRequest()]; | ||
| 291 | |||
| 292 | declare 'ListFunctionsRequest', | ||
| 293 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::ListFunctionsRequest']; | ||
| 294 | |||
| 295 | coerce 'ListFunctionsRequest', | ||
| 296 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::ListFunctionsRequest'->new($_) }; | ||
| 297 | |||
| 298 | declare 'RepeatedListFunctionsRequest', | ||
| 299 | as ArrayRef[ListFunctionsRequest()]; | ||
| 300 | |||
| 301 | coerce 'RepeatedListFunctionsRequest', | ||
| 302 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::ListFunctionsRequest'->new($_) } @$_ ] }; | ||
| 303 | |||
| 304 | declare 'MapStringListFunctionsRequest', | ||
| 305 | as HashRef[ListFunctionsRequest()]; | ||
| 306 | |||
| 307 | declare 'ListFunctionsResponse', | ||
| 308 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::ListFunctionsResponse']; | ||
| 309 | |||
| 310 | coerce 'ListFunctionsResponse', | ||
| 311 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::ListFunctionsResponse'->new($_) }; | ||
| 312 | |||
| 313 | declare 'RepeatedListFunctionsResponse', | ||
| 314 | as ArrayRef[ListFunctionsResponse()]; | ||
| 315 | |||
| 316 | coerce 'RepeatedListFunctionsResponse', | ||
| 317 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::ListFunctionsResponse'->new($_) } @$_ ] }; | ||
| 318 | |||
| 319 | declare 'MapStringListFunctionsResponse', | ||
| 320 | as HashRef[ListFunctionsResponse()]; | ||
| 321 | |||
| 322 | declare 'CreateFunctionRequest', | ||
| 323 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::CreateFunctionRequest']; | ||
| 324 | |||
| 325 | coerce 'CreateFunctionRequest', | ||
| 326 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::CreateFunctionRequest'->new($_) }; | ||
| 327 | |||
| 328 | declare 'RepeatedCreateFunctionRequest', | ||
| 329 | as ArrayRef[CreateFunctionRequest()]; | ||
| 330 | |||
| 331 | coerce 'RepeatedCreateFunctionRequest', | ||
| 332 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::CreateFunctionRequest'->new($_) } @$_ ] }; | ||
| 333 | |||
| 334 | declare 'MapStringCreateFunctionRequest', | ||
| 335 | as HashRef[CreateFunctionRequest()]; | ||
| 336 | |||
| 337 | declare 'UpdateFunctionRequest', | ||
| 338 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::UpdateFunctionRequest']; | ||
| 339 | |||
| 340 | coerce 'UpdateFunctionRequest', | ||
| 341 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::UpdateFunctionRequest'->new($_) }; | ||
| 342 | |||
| 343 | declare 'RepeatedUpdateFunctionRequest', | ||
| 344 | as ArrayRef[UpdateFunctionRequest()]; | ||
| 345 | |||
| 346 | coerce 'RepeatedUpdateFunctionRequest', | ||
| 347 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::UpdateFunctionRequest'->new($_) } @$_ ] }; | ||
| 348 | |||
| 349 | declare 'MapStringUpdateFunctionRequest', | ||
| 350 | as HashRef[UpdateFunctionRequest()]; | ||
| 351 | |||
| 352 | declare 'DeleteFunctionRequest', | ||
| 353 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::DeleteFunctionRequest']; | ||
| 354 | |||
| 355 | coerce 'DeleteFunctionRequest', | ||
| 356 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::DeleteFunctionRequest'->new($_) }; | ||
| 357 | |||
| 358 | declare 'RepeatedDeleteFunctionRequest', | ||
| 359 | as ArrayRef[DeleteFunctionRequest()]; | ||
| 360 | |||
| 361 | coerce 'RepeatedDeleteFunctionRequest', | ||
| 362 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::DeleteFunctionRequest'->new($_) } @$_ ] }; | ||
| 363 | |||
| 364 | declare 'MapStringDeleteFunctionRequest', | ||
| 365 | as HashRef[DeleteFunctionRequest()]; | ||
| 366 | |||
| 367 | declare 'GenerateUploadUrlRequest', | ||
| 368 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::GenerateUploadUrlRequest']; | ||
| 369 | |||
| 370 | coerce 'GenerateUploadUrlRequest', | ||
| 371 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::GenerateUploadUrlRequest'->new($_) }; | ||
| 372 | |||
| 373 | declare 'RepeatedGenerateUploadUrlRequest', | ||
| 374 | as ArrayRef[GenerateUploadUrlRequest()]; | ||
| 375 | |||
| 376 | coerce 'RepeatedGenerateUploadUrlRequest', | ||
| 377 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::GenerateUploadUrlRequest'->new($_) } @$_ ] }; | ||
| 378 | |||
| 379 | declare 'MapStringGenerateUploadUrlRequest', | ||
| 380 | as HashRef[GenerateUploadUrlRequest()]; | ||
| 381 | |||
| 382 | declare 'GenerateUploadUrlResponse', | ||
| 383 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::GenerateUploadUrlResponse']; | ||
| 384 | |||
| 385 | coerce 'GenerateUploadUrlResponse', | ||
| 386 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::GenerateUploadUrlResponse'->new($_) }; | ||
| 387 | |||
| 388 | declare 'RepeatedGenerateUploadUrlResponse', | ||
| 389 | as ArrayRef[GenerateUploadUrlResponse()]; | ||
| 390 | |||
| 391 | coerce 'RepeatedGenerateUploadUrlResponse', | ||
| 392 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::GenerateUploadUrlResponse'->new($_) } @$_ ] }; | ||
| 393 | |||
| 394 | declare 'MapStringGenerateUploadUrlResponse', | ||
| 395 | as HashRef[GenerateUploadUrlResponse()]; | ||
| 396 | |||
| 397 | declare 'GenerateDownloadUrlRequest', | ||
| 398 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::GenerateDownloadUrlRequest']; | ||
| 399 | |||
| 400 | coerce 'GenerateDownloadUrlRequest', | ||
| 401 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::GenerateDownloadUrlRequest'->new($_) }; | ||
| 402 | |||
| 403 | declare 'RepeatedGenerateDownloadUrlRequest', | ||
| 404 | as ArrayRef[GenerateDownloadUrlRequest()]; | ||
| 405 | |||
| 406 | coerce 'RepeatedGenerateDownloadUrlRequest', | ||
| 407 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::GenerateDownloadUrlRequest'->new($_) } @$_ ] }; | ||
| 408 | |||
| 409 | declare 'MapStringGenerateDownloadUrlRequest', | ||
| 410 | as HashRef[GenerateDownloadUrlRequest()]; | ||
| 411 | |||
| 412 | declare 'GenerateDownloadUrlResponse', | ||
| 413 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::GenerateDownloadUrlResponse']; | ||
| 414 | |||
| 415 | coerce 'GenerateDownloadUrlResponse', | ||
| 416 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::GenerateDownloadUrlResponse'->new($_) }; | ||
| 417 | |||
| 418 | declare 'RepeatedGenerateDownloadUrlResponse', | ||
| 419 | as ArrayRef[GenerateDownloadUrlResponse()]; | ||
| 420 | |||
| 421 | coerce 'RepeatedGenerateDownloadUrlResponse', | ||
| 422 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::GenerateDownloadUrlResponse'->new($_) } @$_ ] }; | ||
| 423 | |||
| 424 | declare 'MapStringGenerateDownloadUrlResponse', | ||
| 425 | as HashRef[GenerateDownloadUrlResponse()]; | ||
| 426 | |||
| 427 | declare 'ListRuntimesRequest', | ||
| 428 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::ListRuntimesRequest']; | ||
| 429 | |||
| 430 | coerce 'ListRuntimesRequest', | ||
| 431 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::ListRuntimesRequest'->new($_) }; | ||
| 432 | |||
| 433 | declare 'RepeatedListRuntimesRequest', | ||
| 434 | as ArrayRef[ListRuntimesRequest()]; | ||
| 435 | |||
| 436 | coerce 'RepeatedListRuntimesRequest', | ||
| 437 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::ListRuntimesRequest'->new($_) } @$_ ] }; | ||
| 438 | |||
| 439 | declare 'MapStringListRuntimesRequest', | ||
| 440 | as HashRef[ListRuntimesRequest()]; | ||
| 441 | |||
| 442 | declare 'ListRuntimesResponse', | ||
| 443 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::ListRuntimesResponse']; | ||
| 444 | |||
| 445 | coerce 'ListRuntimesResponse', | ||
| 446 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::ListRuntimesResponse'->new($_) }; | ||
| 447 | |||
| 448 | declare 'RepeatedListRuntimesResponse', | ||
| 449 | as ArrayRef[ListRuntimesResponse()]; | ||
| 450 | |||
| 451 | coerce 'RepeatedListRuntimesResponse', | ||
| 452 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::ListRuntimesResponse'->new($_) } @$_ ] }; | ||
| 453 | |||
| 454 | declare 'MapStringListRuntimesResponse', | ||
| 455 | as HashRef[ListRuntimesResponse()]; | ||
| 456 | |||
| 457 | declare 'RuntimeStage', | ||
| 458 | as (Int | Str); | ||
| 459 | |||
| 460 | declare 'Runtime', | ||
| 461 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::ListRuntimesResponse::Runtime']; | ||
| 462 | |||
| 463 | coerce 'Runtime', | ||
| 464 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::ListRuntimesResponse::Runtime'->new($_) }; | ||
| 465 | |||
| 466 | declare 'RepeatedRuntime', | ||
| 467 | as ArrayRef[Runtime()]; | ||
| 468 | |||
| 469 | coerce 'RepeatedRuntime', | ||
| 470 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::ListRuntimesResponse::Runtime'->new($_) } @$_ ] }; | ||
| 471 | |||
| 472 | declare 'MapStringRuntime', | ||
| 473 | as HashRef[Runtime()]; | ||
| 474 | |||
| 475 | declare 'AutomaticUpdatePolicy', | ||
| 476 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::AutomaticUpdatePolicy']; | ||
| 477 | |||
| 478 | coerce 'AutomaticUpdatePolicy', | ||
| 479 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::AutomaticUpdatePolicy'->new($_) }; | ||
| 480 | |||
| 481 | declare 'RepeatedAutomaticUpdatePolicy', | ||
| 482 | as ArrayRef[AutomaticUpdatePolicy()]; | ||
| 483 | |||
| 484 | coerce 'RepeatedAutomaticUpdatePolicy', | ||
| 485 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::AutomaticUpdatePolicy'->new($_) } @$_ ] }; | ||
| 486 | |||
| 487 | declare 'MapStringAutomaticUpdatePolicy', | ||
| 488 | as HashRef[AutomaticUpdatePolicy()]; | ||
| 489 | |||
| 490 | declare 'OnDeployUpdatePolicy', | ||
| 491 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::OnDeployUpdatePolicy']; | ||
| 492 | |||
| 493 | coerce 'OnDeployUpdatePolicy', | ||
| 494 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::OnDeployUpdatePolicy'->new($_) }; | ||
| 495 | |||
| 496 | declare 'RepeatedOnDeployUpdatePolicy', | ||
| 497 | as ArrayRef[OnDeployUpdatePolicy()]; | ||
| 498 | |||
| 499 | coerce 'RepeatedOnDeployUpdatePolicy', | ||
| 500 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::OnDeployUpdatePolicy'->new($_) } @$_ ] }; | ||
| 501 | |||
| 502 | declare 'MapStringOnDeployUpdatePolicy', | ||
| 503 | as HashRef[OnDeployUpdatePolicy()]; | ||
| 504 | |||
| 505 | declare 'OperationMetadata', | ||
| 506 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::OperationMetadata']; | ||
| 507 | |||
| 508 | coerce 'OperationMetadata', | ||
| 509 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::OperationMetadata'->new($_) }; | ||
| 510 | |||
| 511 | declare 'RepeatedOperationMetadata', | ||
| 512 | as ArrayRef[OperationMetadata()]; | ||
| 513 | |||
| 514 | coerce 'RepeatedOperationMetadata', | ||
| 515 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::OperationMetadata'->new($_) } @$_ ] }; | ||
| 516 | |||
| 517 | declare 'MapStringOperationMetadata', | ||
| 518 | as HashRef[OperationMetadata()]; | ||
| 519 | |||
| 520 | declare 'LocationMetadata', | ||
| 521 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::LocationMetadata']; | ||
| 522 | |||
| 523 | coerce 'LocationMetadata', | ||
| 524 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::LocationMetadata'->new($_) }; | ||
| 525 | |||
| 526 | declare 'RepeatedLocationMetadata', | ||
| 527 | as ArrayRef[LocationMetadata()]; | ||
| 528 | |||
| 529 | coerce 'RepeatedLocationMetadata', | ||
| 530 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::LocationMetadata'->new($_) } @$_ ] }; | ||
| 531 | |||
| 532 | declare 'MapStringLocationMetadata', | ||
| 533 | as HashRef[LocationMetadata()]; | ||
| 534 | |||
| 535 | declare 'Stage', | ||
| 536 | as InstanceOf['Google::Cloud::Functions::V2alpha::Functions::Stage']; | ||
| 537 | |||
| 538 | coerce 'Stage', | ||
| 539 | from HashRef, via { 'Google::Cloud::Functions::V2alpha::Functions::Stage'->new($_) }; | ||
| 540 | |||
| 541 | declare 'RepeatedStage', | ||
| 542 | as ArrayRef[Stage()]; | ||
| 543 | |||
| 544 | coerce 'RepeatedStage', | ||
| 545 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Functions::V2alpha::Functions::Stage'->new($_) } @$_ ] }; | ||
| 546 | |||
| 547 | declare 'MapStringStage', | ||
| 548 | as HashRef[Stage()]; | ||
| 549 | |||
| 550 | declare 'Name', | ||
| 551 | as (Int | Str); | ||
| 552 | |||
| 553 | declare 'State', | ||
| 554 | as (Int | Str); | ||
| 555 | |||
| 556 | 1; | ||
| 557 | |||
| 558 | __END__ |