| 1 | package Google::Cloud::Apihub::V1::CommonFields::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 'LintState', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'Linter', | ||
| 14 | as (Int | Str); | ||
| 15 | |||
| 16 | declare 'Severity', | ||
| 17 | as (Int | Str); | ||
| 18 | |||
| 19 | declare 'AuthType', | ||
| 20 | as (Int | Str); | ||
| 21 | |||
| 22 | declare 'PluginCategory', | ||
| 23 | as (Int | Str); | ||
| 24 | |||
| 25 | declare 'Api', | ||
| 26 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::Api']; | ||
| 27 | |||
| 28 | coerce 'Api', | ||
| 29 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::Api'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedApi', | ||
| 32 | as ArrayRef[Api()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedApi', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::Api'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringApi', | ||
| 38 | as HashRef[Api()]; | ||
| 39 | |||
| 40 | declare 'AttributesEntry', | ||
| 41 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::Api::AttributesEntry']; | ||
| 42 | |||
| 43 | coerce 'AttributesEntry', | ||
| 44 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::Api::AttributesEntry'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedAttributesEntry', | ||
| 47 | as ArrayRef[AttributesEntry()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedAttributesEntry', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::Api::AttributesEntry'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringAttributesEntry', | ||
| 53 | as HashRef[AttributesEntry()]; | ||
| 54 | |||
| 55 | declare 'Version', | ||
| 56 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::Version']; | ||
| 57 | |||
| 58 | coerce 'Version', | ||
| 59 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::Version'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedVersion', | ||
| 62 | as ArrayRef[Version()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedVersion', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::Version'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringVersion', | ||
| 68 | as HashRef[Version()]; | ||
| 69 | |||
| 70 | declare 'AttributesEntry', | ||
| 71 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::Version::AttributesEntry']; | ||
| 72 | |||
| 73 | coerce 'AttributesEntry', | ||
| 74 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::Version::AttributesEntry'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedAttributesEntry', | ||
| 77 | as ArrayRef[AttributesEntry()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedAttributesEntry', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::Version::AttributesEntry'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringAttributesEntry', | ||
| 83 | as HashRef[AttributesEntry()]; | ||
| 84 | |||
| 85 | declare 'Spec', | ||
| 86 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::Spec']; | ||
| 87 | |||
| 88 | coerce 'Spec', | ||
| 89 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::Spec'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedSpec', | ||
| 92 | as ArrayRef[Spec()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedSpec', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::Spec'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringSpec', | ||
| 98 | as HashRef[Spec()]; | ||
| 99 | |||
| 100 | declare 'ParsingMode', | ||
| 101 | as (Int | Str); | ||
| 102 | |||
| 103 | declare 'AttributesEntry', | ||
| 104 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::Spec::AttributesEntry']; | ||
| 105 | |||
| 106 | coerce 'AttributesEntry', | ||
| 107 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::Spec::AttributesEntry'->new($_) }; | ||
| 108 | |||
| 109 | declare 'RepeatedAttributesEntry', | ||
| 110 | as ArrayRef[AttributesEntry()]; | ||
| 111 | |||
| 112 | coerce 'RepeatedAttributesEntry', | ||
| 113 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::Spec::AttributesEntry'->new($_) } @$_ ] }; | ||
| 114 | |||
| 115 | declare 'MapStringAttributesEntry', | ||
| 116 | as HashRef[AttributesEntry()]; | ||
| 117 | |||
| 118 | declare 'Deployment', | ||
| 119 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::Deployment']; | ||
| 120 | |||
| 121 | coerce 'Deployment', | ||
| 122 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::Deployment'->new($_) }; | ||
| 123 | |||
| 124 | declare 'RepeatedDeployment', | ||
| 125 | as ArrayRef[Deployment()]; | ||
| 126 | |||
| 127 | coerce 'RepeatedDeployment', | ||
| 128 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::Deployment'->new($_) } @$_ ] }; | ||
| 129 | |||
| 130 | declare 'MapStringDeployment', | ||
| 131 | as HashRef[Deployment()]; | ||
| 132 | |||
| 133 | declare 'AttributesEntry', | ||
| 134 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::Deployment::AttributesEntry']; | ||
| 135 | |||
| 136 | coerce 'AttributesEntry', | ||
| 137 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::Deployment::AttributesEntry'->new($_) }; | ||
| 138 | |||
| 139 | declare 'RepeatedAttributesEntry', | ||
| 140 | as ArrayRef[AttributesEntry()]; | ||
| 141 | |||
| 142 | coerce 'RepeatedAttributesEntry', | ||
| 143 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::Deployment::AttributesEntry'->new($_) } @$_ ] }; | ||
| 144 | |||
| 145 | declare 'MapStringAttributesEntry', | ||
| 146 | as HashRef[AttributesEntry()]; | ||
| 147 | |||
| 148 | declare 'ApiOperation', | ||
| 149 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::ApiOperation']; | ||
| 150 | |||
| 151 | coerce 'ApiOperation', | ||
| 152 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::ApiOperation'->new($_) }; | ||
| 153 | |||
| 154 | declare 'RepeatedApiOperation', | ||
| 155 | as ArrayRef[ApiOperation()]; | ||
| 156 | |||
| 157 | coerce 'RepeatedApiOperation', | ||
| 158 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::ApiOperation'->new($_) } @$_ ] }; | ||
| 159 | |||
| 160 | declare 'MapStringApiOperation', | ||
| 161 | as HashRef[ApiOperation()]; | ||
| 162 | |||
| 163 | declare 'AttributesEntry', | ||
| 164 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::ApiOperation::AttributesEntry']; | ||
| 165 | |||
| 166 | coerce 'AttributesEntry', | ||
| 167 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::ApiOperation::AttributesEntry'->new($_) }; | ||
| 168 | |||
| 169 | declare 'RepeatedAttributesEntry', | ||
| 170 | as ArrayRef[AttributesEntry()]; | ||
| 171 | |||
| 172 | coerce 'RepeatedAttributesEntry', | ||
| 173 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::ApiOperation::AttributesEntry'->new($_) } @$_ ] }; | ||
| 174 | |||
| 175 | declare 'MapStringAttributesEntry', | ||
| 176 | as HashRef[AttributesEntry()]; | ||
| 177 | |||
| 178 | declare 'Definition', | ||
| 179 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::Definition']; | ||
| 180 | |||
| 181 | coerce 'Definition', | ||
| 182 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::Definition'->new($_) }; | ||
| 183 | |||
| 184 | declare 'RepeatedDefinition', | ||
| 185 | as ArrayRef[Definition()]; | ||
| 186 | |||
| 187 | coerce 'RepeatedDefinition', | ||
| 188 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::Definition'->new($_) } @$_ ] }; | ||
| 189 | |||
| 190 | declare 'MapStringDefinition', | ||
| 191 | as HashRef[Definition()]; | ||
| 192 | |||
| 193 | declare 'Type', | ||
| 194 | as (Int | Str); | ||
| 195 | |||
| 196 | declare 'AttributesEntry', | ||
| 197 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::Definition::AttributesEntry']; | ||
| 198 | |||
| 199 | coerce 'AttributesEntry', | ||
| 200 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::Definition::AttributesEntry'->new($_) }; | ||
| 201 | |||
| 202 | declare 'RepeatedAttributesEntry', | ||
| 203 | as ArrayRef[AttributesEntry()]; | ||
| 204 | |||
| 205 | coerce 'RepeatedAttributesEntry', | ||
| 206 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::Definition::AttributesEntry'->new($_) } @$_ ] }; | ||
| 207 | |||
| 208 | declare 'MapStringAttributesEntry', | ||
| 209 | as HashRef[AttributesEntry()]; | ||
| 210 | |||
| 211 | declare 'Attribute', | ||
| 212 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::Attribute']; | ||
| 213 | |||
| 214 | coerce 'Attribute', | ||
| 215 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::Attribute'->new($_) }; | ||
| 216 | |||
| 217 | declare 'RepeatedAttribute', | ||
| 218 | as ArrayRef[Attribute()]; | ||
| 219 | |||
| 220 | coerce 'RepeatedAttribute', | ||
| 221 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::Attribute'->new($_) } @$_ ] }; | ||
| 222 | |||
| 223 | declare 'MapStringAttribute', | ||
| 224 | as HashRef[Attribute()]; | ||
| 225 | |||
| 226 | declare 'DefinitionType', | ||
| 227 | as (Int | Str); | ||
| 228 | |||
| 229 | declare 'Scope', | ||
| 230 | as (Int | Str); | ||
| 231 | |||
| 232 | declare 'DataType', | ||
| 233 | as (Int | Str); | ||
| 234 | |||
| 235 | declare 'AllowedValue', | ||
| 236 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::Attribute::AllowedValue']; | ||
| 237 | |||
| 238 | coerce 'AllowedValue', | ||
| 239 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::Attribute::AllowedValue'->new($_) }; | ||
| 240 | |||
| 241 | declare 'RepeatedAllowedValue', | ||
| 242 | as ArrayRef[AllowedValue()]; | ||
| 243 | |||
| 244 | coerce 'RepeatedAllowedValue', | ||
| 245 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::Attribute::AllowedValue'->new($_) } @$_ ] }; | ||
| 246 | |||
| 247 | declare 'MapStringAllowedValue', | ||
| 248 | as HashRef[AllowedValue()]; | ||
| 249 | |||
| 250 | declare 'SpecContents', | ||
| 251 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::SpecContents']; | ||
| 252 | |||
| 253 | coerce 'SpecContents', | ||
| 254 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::SpecContents'->new($_) }; | ||
| 255 | |||
| 256 | declare 'RepeatedSpecContents', | ||
| 257 | as ArrayRef[SpecContents()]; | ||
| 258 | |||
| 259 | coerce 'RepeatedSpecContents', | ||
| 260 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::SpecContents'->new($_) } @$_ ] }; | ||
| 261 | |||
| 262 | declare 'MapStringSpecContents', | ||
| 263 | as HashRef[SpecContents()]; | ||
| 264 | |||
| 265 | declare 'SpecDetails', | ||
| 266 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::SpecDetails']; | ||
| 267 | |||
| 268 | coerce 'SpecDetails', | ||
| 269 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::SpecDetails'->new($_) }; | ||
| 270 | |||
| 271 | declare 'RepeatedSpecDetails', | ||
| 272 | as ArrayRef[SpecDetails()]; | ||
| 273 | |||
| 274 | coerce 'RepeatedSpecDetails', | ||
| 275 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::SpecDetails'->new($_) } @$_ ] }; | ||
| 276 | |||
| 277 | declare 'MapStringSpecDetails', | ||
| 278 | as HashRef[SpecDetails()]; | ||
| 279 | |||
| 280 | declare 'OpenApiSpecDetails', | ||
| 281 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::OpenApiSpecDetails']; | ||
| 282 | |||
| 283 | coerce 'OpenApiSpecDetails', | ||
| 284 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::OpenApiSpecDetails'->new($_) }; | ||
| 285 | |||
| 286 | declare 'RepeatedOpenApiSpecDetails', | ||
| 287 | as ArrayRef[OpenApiSpecDetails()]; | ||
| 288 | |||
| 289 | coerce 'RepeatedOpenApiSpecDetails', | ||
| 290 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::OpenApiSpecDetails'->new($_) } @$_ ] }; | ||
| 291 | |||
| 292 | declare 'MapStringOpenApiSpecDetails', | ||
| 293 | as HashRef[OpenApiSpecDetails()]; | ||
| 294 | |||
| 295 | declare 'Format', | ||
| 296 | as (Int | Str); | ||
| 297 | |||
| 298 | declare 'OperationDetails', | ||
| 299 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::OperationDetails']; | ||
| 300 | |||
| 301 | coerce 'OperationDetails', | ||
| 302 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::OperationDetails'->new($_) }; | ||
| 303 | |||
| 304 | declare 'RepeatedOperationDetails', | ||
| 305 | as ArrayRef[OperationDetails()]; | ||
| 306 | |||
| 307 | coerce 'RepeatedOperationDetails', | ||
| 308 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::OperationDetails'->new($_) } @$_ ] }; | ||
| 309 | |||
| 310 | declare 'MapStringOperationDetails', | ||
| 311 | as HashRef[OperationDetails()]; | ||
| 312 | |||
| 313 | declare 'HttpOperation', | ||
| 314 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::HttpOperation']; | ||
| 315 | |||
| 316 | coerce 'HttpOperation', | ||
| 317 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::HttpOperation'->new($_) }; | ||
| 318 | |||
| 319 | declare 'RepeatedHttpOperation', | ||
| 320 | as ArrayRef[HttpOperation()]; | ||
| 321 | |||
| 322 | coerce 'RepeatedHttpOperation', | ||
| 323 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::HttpOperation'->new($_) } @$_ ] }; | ||
| 324 | |||
| 325 | declare 'MapStringHttpOperation', | ||
| 326 | as HashRef[HttpOperation()]; | ||
| 327 | |||
| 328 | declare 'Method', | ||
| 329 | as (Int | Str); | ||
| 330 | |||
| 331 | declare 'Path', | ||
| 332 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::Path']; | ||
| 333 | |||
| 334 | coerce 'Path', | ||
| 335 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::Path'->new($_) }; | ||
| 336 | |||
| 337 | declare 'RepeatedPath', | ||
| 338 | as ArrayRef[Path()]; | ||
| 339 | |||
| 340 | coerce 'RepeatedPath', | ||
| 341 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::Path'->new($_) } @$_ ] }; | ||
| 342 | |||
| 343 | declare 'MapStringPath', | ||
| 344 | as HashRef[Path()]; | ||
| 345 | |||
| 346 | declare 'Schema', | ||
| 347 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::Schema']; | ||
| 348 | |||
| 349 | coerce 'Schema', | ||
| 350 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::Schema'->new($_) }; | ||
| 351 | |||
| 352 | declare 'RepeatedSchema', | ||
| 353 | as ArrayRef[Schema()]; | ||
| 354 | |||
| 355 | coerce 'RepeatedSchema', | ||
| 356 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::Schema'->new($_) } @$_ ] }; | ||
| 357 | |||
| 358 | declare 'MapStringSchema', | ||
| 359 | as HashRef[Schema()]; | ||
| 360 | |||
| 361 | declare 'Owner', | ||
| 362 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::Owner']; | ||
| 363 | |||
| 364 | coerce 'Owner', | ||
| 365 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::Owner'->new($_) }; | ||
| 366 | |||
| 367 | declare 'RepeatedOwner', | ||
| 368 | as ArrayRef[Owner()]; | ||
| 369 | |||
| 370 | coerce 'RepeatedOwner', | ||
| 371 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::Owner'->new($_) } @$_ ] }; | ||
| 372 | |||
| 373 | declare 'MapStringOwner', | ||
| 374 | as HashRef[Owner()]; | ||
| 375 | |||
| 376 | declare 'Documentation', | ||
| 377 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::Documentation']; | ||
| 378 | |||
| 379 | coerce 'Documentation', | ||
| 380 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::Documentation'->new($_) }; | ||
| 381 | |||
| 382 | declare 'RepeatedDocumentation', | ||
| 383 | as ArrayRef[Documentation()]; | ||
| 384 | |||
| 385 | coerce 'RepeatedDocumentation', | ||
| 386 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::Documentation'->new($_) } @$_ ] }; | ||
| 387 | |||
| 388 | declare 'MapStringDocumentation', | ||
| 389 | as HashRef[Documentation()]; | ||
| 390 | |||
| 391 | declare 'AttributeValues', | ||
| 392 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::AttributeValues']; | ||
| 393 | |||
| 394 | coerce 'AttributeValues', | ||
| 395 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::AttributeValues'->new($_) }; | ||
| 396 | |||
| 397 | declare 'RepeatedAttributeValues', | ||
| 398 | as ArrayRef[AttributeValues()]; | ||
| 399 | |||
| 400 | coerce 'RepeatedAttributeValues', | ||
| 401 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::AttributeValues'->new($_) } @$_ ] }; | ||
| 402 | |||
| 403 | declare 'MapStringAttributeValues', | ||
| 404 | as HashRef[AttributeValues()]; | ||
| 405 | |||
| 406 | declare 'EnumAttributeValues', | ||
| 407 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::AttributeValues::EnumAttributeValues']; | ||
| 408 | |||
| 409 | coerce 'EnumAttributeValues', | ||
| 410 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::AttributeValues::EnumAttributeValues'->new($_) }; | ||
| 411 | |||
| 412 | declare 'RepeatedEnumAttributeValues', | ||
| 413 | as ArrayRef[EnumAttributeValues()]; | ||
| 414 | |||
| 415 | coerce 'RepeatedEnumAttributeValues', | ||
| 416 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::AttributeValues::EnumAttributeValues'->new($_) } @$_ ] }; | ||
| 417 | |||
| 418 | declare 'MapStringEnumAttributeValues', | ||
| 419 | as HashRef[EnumAttributeValues()]; | ||
| 420 | |||
| 421 | declare 'StringAttributeValues', | ||
| 422 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::AttributeValues::StringAttributeValues']; | ||
| 423 | |||
| 424 | coerce 'StringAttributeValues', | ||
| 425 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::AttributeValues::StringAttributeValues'->new($_) }; | ||
| 426 | |||
| 427 | declare 'RepeatedStringAttributeValues', | ||
| 428 | as ArrayRef[StringAttributeValues()]; | ||
| 429 | |||
| 430 | coerce 'RepeatedStringAttributeValues', | ||
| 431 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::AttributeValues::StringAttributeValues'->new($_) } @$_ ] }; | ||
| 432 | |||
| 433 | declare 'MapStringStringAttributeValues', | ||
| 434 | as HashRef[StringAttributeValues()]; | ||
| 435 | |||
| 436 | declare 'Dependency', | ||
| 437 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::Dependency']; | ||
| 438 | |||
| 439 | coerce 'Dependency', | ||
| 440 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::Dependency'->new($_) }; | ||
| 441 | |||
| 442 | declare 'RepeatedDependency', | ||
| 443 | as ArrayRef[Dependency()]; | ||
| 444 | |||
| 445 | coerce 'RepeatedDependency', | ||
| 446 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::Dependency'->new($_) } @$_ ] }; | ||
| 447 | |||
| 448 | declare 'MapStringDependency', | ||
| 449 | as HashRef[Dependency()]; | ||
| 450 | |||
| 451 | declare 'State', | ||
| 452 | as (Int | Str); | ||
| 453 | |||
| 454 | declare 'DiscoveryMode', | ||
| 455 | as (Int | Str); | ||
| 456 | |||
| 457 | declare 'AttributesEntry', | ||
| 458 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::Dependency::AttributesEntry']; | ||
| 459 | |||
| 460 | coerce 'AttributesEntry', | ||
| 461 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::Dependency::AttributesEntry'->new($_) }; | ||
| 462 | |||
| 463 | declare 'RepeatedAttributesEntry', | ||
| 464 | as ArrayRef[AttributesEntry()]; | ||
| 465 | |||
| 466 | coerce 'RepeatedAttributesEntry', | ||
| 467 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::Dependency::AttributesEntry'->new($_) } @$_ ] }; | ||
| 468 | |||
| 469 | declare 'MapStringAttributesEntry', | ||
| 470 | as HashRef[AttributesEntry()]; | ||
| 471 | |||
| 472 | declare 'DependencyEntityReference', | ||
| 473 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::DependencyEntityReference']; | ||
| 474 | |||
| 475 | coerce 'DependencyEntityReference', | ||
| 476 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::DependencyEntityReference'->new($_) }; | ||
| 477 | |||
| 478 | declare 'RepeatedDependencyEntityReference', | ||
| 479 | as ArrayRef[DependencyEntityReference()]; | ||
| 480 | |||
| 481 | coerce 'RepeatedDependencyEntityReference', | ||
| 482 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::DependencyEntityReference'->new($_) } @$_ ] }; | ||
| 483 | |||
| 484 | declare 'MapStringDependencyEntityReference', | ||
| 485 | as HashRef[DependencyEntityReference()]; | ||
| 486 | |||
| 487 | declare 'DependencyErrorDetail', | ||
| 488 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::DependencyErrorDetail']; | ||
| 489 | |||
| 490 | coerce 'DependencyErrorDetail', | ||
| 491 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::DependencyErrorDetail'->new($_) }; | ||
| 492 | |||
| 493 | declare 'RepeatedDependencyErrorDetail', | ||
| 494 | as ArrayRef[DependencyErrorDetail()]; | ||
| 495 | |||
| 496 | coerce 'RepeatedDependencyErrorDetail', | ||
| 497 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::DependencyErrorDetail'->new($_) } @$_ ] }; | ||
| 498 | |||
| 499 | declare 'MapStringDependencyErrorDetail', | ||
| 500 | as HashRef[DependencyErrorDetail()]; | ||
| 501 | |||
| 502 | declare 'Error', | ||
| 503 | as (Int | Str); | ||
| 504 | |||
| 505 | declare 'LintResponse', | ||
| 506 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::LintResponse']; | ||
| 507 | |||
| 508 | coerce 'LintResponse', | ||
| 509 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::LintResponse'->new($_) }; | ||
| 510 | |||
| 511 | declare 'RepeatedLintResponse', | ||
| 512 | as ArrayRef[LintResponse()]; | ||
| 513 | |||
| 514 | coerce 'RepeatedLintResponse', | ||
| 515 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::LintResponse'->new($_) } @$_ ] }; | ||
| 516 | |||
| 517 | declare 'MapStringLintResponse', | ||
| 518 | as HashRef[LintResponse()]; | ||
| 519 | |||
| 520 | declare 'SummaryEntry', | ||
| 521 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::LintResponse::SummaryEntry']; | ||
| 522 | |||
| 523 | coerce 'SummaryEntry', | ||
| 524 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::LintResponse::SummaryEntry'->new($_) }; | ||
| 525 | |||
| 526 | declare 'RepeatedSummaryEntry', | ||
| 527 | as ArrayRef[SummaryEntry()]; | ||
| 528 | |||
| 529 | coerce 'RepeatedSummaryEntry', | ||
| 530 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::LintResponse::SummaryEntry'->new($_) } @$_ ] }; | ||
| 531 | |||
| 532 | declare 'MapStringSummaryEntry', | ||
| 533 | as HashRef[SummaryEntry()]; | ||
| 534 | |||
| 535 | declare 'Issue', | ||
| 536 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::Issue']; | ||
| 537 | |||
| 538 | coerce 'Issue', | ||
| 539 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::Issue'->new($_) }; | ||
| 540 | |||
| 541 | declare 'RepeatedIssue', | ||
| 542 | as ArrayRef[Issue()]; | ||
| 543 | |||
| 544 | coerce 'RepeatedIssue', | ||
| 545 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::Issue'->new($_) } @$_ ] }; | ||
| 546 | |||
| 547 | declare 'MapStringIssue', | ||
| 548 | as HashRef[Issue()]; | ||
| 549 | |||
| 550 | declare 'Range', | ||
| 551 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::Range']; | ||
| 552 | |||
| 553 | coerce 'Range', | ||
| 554 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::Range'->new($_) }; | ||
| 555 | |||
| 556 | declare 'RepeatedRange', | ||
| 557 | as ArrayRef[Range()]; | ||
| 558 | |||
| 559 | coerce 'RepeatedRange', | ||
| 560 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::Range'->new($_) } @$_ ] }; | ||
| 561 | |||
| 562 | declare 'MapStringRange', | ||
| 563 | as HashRef[Range()]; | ||
| 564 | |||
| 565 | declare 'Point', | ||
| 566 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::Point']; | ||
| 567 | |||
| 568 | coerce 'Point', | ||
| 569 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::Point'->new($_) }; | ||
| 570 | |||
| 571 | declare 'RepeatedPoint', | ||
| 572 | as ArrayRef[Point()]; | ||
| 573 | |||
| 574 | coerce 'RepeatedPoint', | ||
| 575 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::Point'->new($_) } @$_ ] }; | ||
| 576 | |||
| 577 | declare 'MapStringPoint', | ||
| 578 | as HashRef[Point()]; | ||
| 579 | |||
| 580 | declare 'OperationMetadata', | ||
| 581 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::OperationMetadata']; | ||
| 582 | |||
| 583 | coerce 'OperationMetadata', | ||
| 584 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::OperationMetadata'->new($_) }; | ||
| 585 | |||
| 586 | declare 'RepeatedOperationMetadata', | ||
| 587 | as ArrayRef[OperationMetadata()]; | ||
| 588 | |||
| 589 | coerce 'RepeatedOperationMetadata', | ||
| 590 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::OperationMetadata'->new($_) } @$_ ] }; | ||
| 591 | |||
| 592 | declare 'MapStringOperationMetadata', | ||
| 593 | as HashRef[OperationMetadata()]; | ||
| 594 | |||
| 595 | declare 'ApiHubInstance', | ||
| 596 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::ApiHubInstance']; | ||
| 597 | |||
| 598 | coerce 'ApiHubInstance', | ||
| 599 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::ApiHubInstance'->new($_) }; | ||
| 600 | |||
| 601 | declare 'RepeatedApiHubInstance', | ||
| 602 | as ArrayRef[ApiHubInstance()]; | ||
| 603 | |||
| 604 | coerce 'RepeatedApiHubInstance', | ||
| 605 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::ApiHubInstance'->new($_) } @$_ ] }; | ||
| 606 | |||
| 607 | declare 'MapStringApiHubInstance', | ||
| 608 | as HashRef[ApiHubInstance()]; | ||
| 609 | |||
| 610 | declare 'State', | ||
| 611 | as (Int | Str); | ||
| 612 | |||
| 613 | declare 'Config', | ||
| 614 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::ApiHubInstance::Config']; | ||
| 615 | |||
| 616 | coerce 'Config', | ||
| 617 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::ApiHubInstance::Config'->new($_) }; | ||
| 618 | |||
| 619 | declare 'RepeatedConfig', | ||
| 620 | as ArrayRef[Config()]; | ||
| 621 | |||
| 622 | coerce 'RepeatedConfig', | ||
| 623 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::ApiHubInstance::Config'->new($_) } @$_ ] }; | ||
| 624 | |||
| 625 | declare 'MapStringConfig', | ||
| 626 | as HashRef[Config()]; | ||
| 627 | |||
| 628 | declare 'EncryptionType', | ||
| 629 | as (Int | Str); | ||
| 630 | |||
| 631 | declare 'LabelsEntry', | ||
| 632 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::ApiHubInstance::LabelsEntry']; | ||
| 633 | |||
| 634 | coerce 'LabelsEntry', | ||
| 635 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::ApiHubInstance::LabelsEntry'->new($_) }; | ||
| 636 | |||
| 637 | declare 'RepeatedLabelsEntry', | ||
| 638 | as ArrayRef[LabelsEntry()]; | ||
| 639 | |||
| 640 | coerce 'RepeatedLabelsEntry', | ||
| 641 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::ApiHubInstance::LabelsEntry'->new($_) } @$_ ] }; | ||
| 642 | |||
| 643 | declare 'MapStringLabelsEntry', | ||
| 644 | as HashRef[LabelsEntry()]; | ||
| 645 | |||
| 646 | declare 'ExternalApi', | ||
| 647 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::ExternalApi']; | ||
| 648 | |||
| 649 | coerce 'ExternalApi', | ||
| 650 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::ExternalApi'->new($_) }; | ||
| 651 | |||
| 652 | declare 'RepeatedExternalApi', | ||
| 653 | as ArrayRef[ExternalApi()]; | ||
| 654 | |||
| 655 | coerce 'RepeatedExternalApi', | ||
| 656 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::ExternalApi'->new($_) } @$_ ] }; | ||
| 657 | |||
| 658 | declare 'MapStringExternalApi', | ||
| 659 | as HashRef[ExternalApi()]; | ||
| 660 | |||
| 661 | declare 'AttributesEntry', | ||
| 662 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::ExternalApi::AttributesEntry']; | ||
| 663 | |||
| 664 | coerce 'AttributesEntry', | ||
| 665 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::ExternalApi::AttributesEntry'->new($_) }; | ||
| 666 | |||
| 667 | declare 'RepeatedAttributesEntry', | ||
| 668 | as ArrayRef[AttributesEntry()]; | ||
| 669 | |||
| 670 | coerce 'RepeatedAttributesEntry', | ||
| 671 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::ExternalApi::AttributesEntry'->new($_) } @$_ ] }; | ||
| 672 | |||
| 673 | declare 'MapStringAttributesEntry', | ||
| 674 | as HashRef[AttributesEntry()]; | ||
| 675 | |||
| 676 | declare 'ConfigValueOption', | ||
| 677 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::ConfigValueOption']; | ||
| 678 | |||
| 679 | coerce 'ConfigValueOption', | ||
| 680 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::ConfigValueOption'->new($_) }; | ||
| 681 | |||
| 682 | declare 'RepeatedConfigValueOption', | ||
| 683 | as ArrayRef[ConfigValueOption()]; | ||
| 684 | |||
| 685 | coerce 'RepeatedConfigValueOption', | ||
| 686 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::ConfigValueOption'->new($_) } @$_ ] }; | ||
| 687 | |||
| 688 | declare 'MapStringConfigValueOption', | ||
| 689 | as HashRef[ConfigValueOption()]; | ||
| 690 | |||
| 691 | declare 'Secret', | ||
| 692 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::Secret']; | ||
| 693 | |||
| 694 | coerce 'Secret', | ||
| 695 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::Secret'->new($_) }; | ||
| 696 | |||
| 697 | declare 'RepeatedSecret', | ||
| 698 | as ArrayRef[Secret()]; | ||
| 699 | |||
| 700 | coerce 'RepeatedSecret', | ||
| 701 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::Secret'->new($_) } @$_ ] }; | ||
| 702 | |||
| 703 | declare 'MapStringSecret', | ||
| 704 | as HashRef[Secret()]; | ||
| 705 | |||
| 706 | declare 'ConfigVariableTemplate', | ||
| 707 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::ConfigVariableTemplate']; | ||
| 708 | |||
| 709 | coerce 'ConfigVariableTemplate', | ||
| 710 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::ConfigVariableTemplate'->new($_) }; | ||
| 711 | |||
| 712 | declare 'RepeatedConfigVariableTemplate', | ||
| 713 | as ArrayRef[ConfigVariableTemplate()]; | ||
| 714 | |||
| 715 | coerce 'RepeatedConfigVariableTemplate', | ||
| 716 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::ConfigVariableTemplate'->new($_) } @$_ ] }; | ||
| 717 | |||
| 718 | declare 'MapStringConfigVariableTemplate', | ||
| 719 | as HashRef[ConfigVariableTemplate()]; | ||
| 720 | |||
| 721 | declare 'ValueType', | ||
| 722 | as (Int | Str); | ||
| 723 | |||
| 724 | declare 'ConfigVariable', | ||
| 725 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::ConfigVariable']; | ||
| 726 | |||
| 727 | coerce 'ConfigVariable', | ||
| 728 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::ConfigVariable'->new($_) }; | ||
| 729 | |||
| 730 | declare 'RepeatedConfigVariable', | ||
| 731 | as ArrayRef[ConfigVariable()]; | ||
| 732 | |||
| 733 | coerce 'RepeatedConfigVariable', | ||
| 734 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::ConfigVariable'->new($_) } @$_ ] }; | ||
| 735 | |||
| 736 | declare 'MapStringConfigVariable', | ||
| 737 | as HashRef[ConfigVariable()]; | ||
| 738 | |||
| 739 | declare 'MultiSelectValues', | ||
| 740 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::ConfigVariable::MultiSelectValues']; | ||
| 741 | |||
| 742 | coerce 'MultiSelectValues', | ||
| 743 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::ConfigVariable::MultiSelectValues'->new($_) }; | ||
| 744 | |||
| 745 | declare 'RepeatedMultiSelectValues', | ||
| 746 | as ArrayRef[MultiSelectValues()]; | ||
| 747 | |||
| 748 | coerce 'RepeatedMultiSelectValues', | ||
| 749 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::ConfigVariable::MultiSelectValues'->new($_) } @$_ ] }; | ||
| 750 | |||
| 751 | declare 'MapStringMultiSelectValues', | ||
| 752 | as HashRef[MultiSelectValues()]; | ||
| 753 | |||
| 754 | declare 'MultiStringValues', | ||
| 755 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::ConfigVariable::MultiStringValues']; | ||
| 756 | |||
| 757 | coerce 'MultiStringValues', | ||
| 758 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::ConfigVariable::MultiStringValues'->new($_) }; | ||
| 759 | |||
| 760 | declare 'RepeatedMultiStringValues', | ||
| 761 | as ArrayRef[MultiStringValues()]; | ||
| 762 | |||
| 763 | coerce 'RepeatedMultiStringValues', | ||
| 764 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::ConfigVariable::MultiStringValues'->new($_) } @$_ ] }; | ||
| 765 | |||
| 766 | declare 'MapStringMultiStringValues', | ||
| 767 | as HashRef[MultiStringValues()]; | ||
| 768 | |||
| 769 | declare 'MultiIntValues', | ||
| 770 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::ConfigVariable::MultiIntValues']; | ||
| 771 | |||
| 772 | coerce 'MultiIntValues', | ||
| 773 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::ConfigVariable::MultiIntValues'->new($_) }; | ||
| 774 | |||
| 775 | declare 'RepeatedMultiIntValues', | ||
| 776 | as ArrayRef[MultiIntValues()]; | ||
| 777 | |||
| 778 | coerce 'RepeatedMultiIntValues', | ||
| 779 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::ConfigVariable::MultiIntValues'->new($_) } @$_ ] }; | ||
| 780 | |||
| 781 | declare 'MapStringMultiIntValues', | ||
| 782 | as HashRef[MultiIntValues()]; | ||
| 783 | |||
| 784 | declare 'GoogleServiceAccountConfig', | ||
| 785 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::GoogleServiceAccountConfig']; | ||
| 786 | |||
| 787 | coerce 'GoogleServiceAccountConfig', | ||
| 788 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::GoogleServiceAccountConfig'->new($_) }; | ||
| 789 | |||
| 790 | declare 'RepeatedGoogleServiceAccountConfig', | ||
| 791 | as ArrayRef[GoogleServiceAccountConfig()]; | ||
| 792 | |||
| 793 | coerce 'RepeatedGoogleServiceAccountConfig', | ||
| 794 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::GoogleServiceAccountConfig'->new($_) } @$_ ] }; | ||
| 795 | |||
| 796 | declare 'MapStringGoogleServiceAccountConfig', | ||
| 797 | as HashRef[GoogleServiceAccountConfig()]; | ||
| 798 | |||
| 799 | declare 'AuthConfig', | ||
| 800 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::AuthConfig']; | ||
| 801 | |||
| 802 | coerce 'AuthConfig', | ||
| 803 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::AuthConfig'->new($_) }; | ||
| 804 | |||
| 805 | declare 'RepeatedAuthConfig', | ||
| 806 | as ArrayRef[AuthConfig()]; | ||
| 807 | |||
| 808 | coerce 'RepeatedAuthConfig', | ||
| 809 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::AuthConfig'->new($_) } @$_ ] }; | ||
| 810 | |||
| 811 | declare 'MapStringAuthConfig', | ||
| 812 | as HashRef[AuthConfig()]; | ||
| 813 | |||
| 814 | declare 'UserPasswordConfig', | ||
| 815 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::AuthConfig::UserPasswordConfig']; | ||
| 816 | |||
| 817 | coerce 'UserPasswordConfig', | ||
| 818 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::AuthConfig::UserPasswordConfig'->new($_) }; | ||
| 819 | |||
| 820 | declare 'RepeatedUserPasswordConfig', | ||
| 821 | as ArrayRef[UserPasswordConfig()]; | ||
| 822 | |||
| 823 | coerce 'RepeatedUserPasswordConfig', | ||
| 824 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::AuthConfig::UserPasswordConfig'->new($_) } @$_ ] }; | ||
| 825 | |||
| 826 | declare 'MapStringUserPasswordConfig', | ||
| 827 | as HashRef[UserPasswordConfig()]; | ||
| 828 | |||
| 829 | declare 'Oauth2ClientCredentialsConfig', | ||
| 830 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::AuthConfig::Oauth2ClientCredentialsConfig']; | ||
| 831 | |||
| 832 | coerce 'Oauth2ClientCredentialsConfig', | ||
| 833 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::AuthConfig::Oauth2ClientCredentialsConfig'->new($_) }; | ||
| 834 | |||
| 835 | declare 'RepeatedOauth2ClientCredentialsConfig', | ||
| 836 | as ArrayRef[Oauth2ClientCredentialsConfig()]; | ||
| 837 | |||
| 838 | coerce 'RepeatedOauth2ClientCredentialsConfig', | ||
| 839 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::AuthConfig::Oauth2ClientCredentialsConfig'->new($_) } @$_ ] }; | ||
| 840 | |||
| 841 | declare 'MapStringOauth2ClientCredentialsConfig', | ||
| 842 | as HashRef[Oauth2ClientCredentialsConfig()]; | ||
| 843 | |||
| 844 | declare 'ApiKeyConfig', | ||
| 845 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::AuthConfig::ApiKeyConfig']; | ||
| 846 | |||
| 847 | coerce 'ApiKeyConfig', | ||
| 848 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::AuthConfig::ApiKeyConfig'->new($_) }; | ||
| 849 | |||
| 850 | declare 'RepeatedApiKeyConfig', | ||
| 851 | as ArrayRef[ApiKeyConfig()]; | ||
| 852 | |||
| 853 | coerce 'RepeatedApiKeyConfig', | ||
| 854 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::AuthConfig::ApiKeyConfig'->new($_) } @$_ ] }; | ||
| 855 | |||
| 856 | declare 'MapStringApiKeyConfig', | ||
| 857 | as HashRef[ApiKeyConfig()]; | ||
| 858 | |||
| 859 | declare 'HttpElementLocation', | ||
| 860 | as (Int | Str); | ||
| 861 | |||
| 862 | declare 'SourceMetadata', | ||
| 863 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::SourceMetadata']; | ||
| 864 | |||
| 865 | coerce 'SourceMetadata', | ||
| 866 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::SourceMetadata'->new($_) }; | ||
| 867 | |||
| 868 | declare 'RepeatedSourceMetadata', | ||
| 869 | as ArrayRef[SourceMetadata()]; | ||
| 870 | |||
| 871 | coerce 'RepeatedSourceMetadata', | ||
| 872 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::SourceMetadata'->new($_) } @$_ ] }; | ||
| 873 | |||
| 874 | declare 'MapStringSourceMetadata', | ||
| 875 | as HashRef[SourceMetadata()]; | ||
| 876 | |||
| 877 | declare 'SourceType', | ||
| 878 | as (Int | Str); | ||
| 879 | |||
| 880 | declare 'PluginInstanceActionSource', | ||
| 881 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::SourceMetadata::PluginInstanceActionSource']; | ||
| 882 | |||
| 883 | coerce 'PluginInstanceActionSource', | ||
| 884 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::SourceMetadata::PluginInstanceActionSource'->new($_) }; | ||
| 885 | |||
| 886 | declare 'RepeatedPluginInstanceActionSource', | ||
| 887 | as ArrayRef[PluginInstanceActionSource()]; | ||
| 888 | |||
| 889 | coerce 'RepeatedPluginInstanceActionSource', | ||
| 890 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::SourceMetadata::PluginInstanceActionSource'->new($_) } @$_ ] }; | ||
| 891 | |||
| 892 | declare 'MapStringPluginInstanceActionSource', | ||
| 893 | as HashRef[PluginInstanceActionSource()]; | ||
| 894 | |||
| 895 | declare 'DiscoveredApiObservation', | ||
| 896 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::DiscoveredApiObservation']; | ||
| 897 | |||
| 898 | coerce 'DiscoveredApiObservation', | ||
| 899 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::DiscoveredApiObservation'->new($_) }; | ||
| 900 | |||
| 901 | declare 'RepeatedDiscoveredApiObservation', | ||
| 902 | as ArrayRef[DiscoveredApiObservation()]; | ||
| 903 | |||
| 904 | coerce 'RepeatedDiscoveredApiObservation', | ||
| 905 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::DiscoveredApiObservation'->new($_) } @$_ ] }; | ||
| 906 | |||
| 907 | declare 'MapStringDiscoveredApiObservation', | ||
| 908 | as HashRef[DiscoveredApiObservation()]; | ||
| 909 | |||
| 910 | declare 'Style', | ||
| 911 | as (Int | Str); | ||
| 912 | |||
| 913 | declare 'SourceType', | ||
| 914 | as (Int | Str); | ||
| 915 | |||
| 916 | declare 'DiscoveredApiOperation', | ||
| 917 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::DiscoveredApiOperation']; | ||
| 918 | |||
| 919 | coerce 'DiscoveredApiOperation', | ||
| 920 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::DiscoveredApiOperation'->new($_) }; | ||
| 921 | |||
| 922 | declare 'RepeatedDiscoveredApiOperation', | ||
| 923 | as ArrayRef[DiscoveredApiOperation()]; | ||
| 924 | |||
| 925 | coerce 'RepeatedDiscoveredApiOperation', | ||
| 926 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::DiscoveredApiOperation'->new($_) } @$_ ] }; | ||
| 927 | |||
| 928 | declare 'MapStringDiscoveredApiOperation', | ||
| 929 | as HashRef[DiscoveredApiOperation()]; | ||
| 930 | |||
| 931 | declare 'Classification', | ||
| 932 | as (Int | Str); | ||
| 933 | |||
| 934 | declare 'MatchResult', | ||
| 935 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::DiscoveredApiOperation::MatchResult']; | ||
| 936 | |||
| 937 | coerce 'MatchResult', | ||
| 938 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::DiscoveredApiOperation::MatchResult'->new($_) }; | ||
| 939 | |||
| 940 | declare 'RepeatedMatchResult', | ||
| 941 | as ArrayRef[MatchResult()]; | ||
| 942 | |||
| 943 | coerce 'RepeatedMatchResult', | ||
| 944 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::DiscoveredApiOperation::MatchResult'->new($_) } @$_ ] }; | ||
| 945 | |||
| 946 | declare 'MapStringMatchResult', | ||
| 947 | as HashRef[MatchResult()]; | ||
| 948 | |||
| 949 | declare 'HttpOperationDetails', | ||
| 950 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails']; | ||
| 951 | |||
| 952 | coerce 'HttpOperationDetails', | ||
| 953 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails'->new($_) }; | ||
| 954 | |||
| 955 | declare 'RepeatedHttpOperationDetails', | ||
| 956 | as ArrayRef[HttpOperationDetails()]; | ||
| 957 | |||
| 958 | coerce 'RepeatedHttpOperationDetails', | ||
| 959 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails'->new($_) } @$_ ] }; | ||
| 960 | |||
| 961 | declare 'MapStringHttpOperationDetails', | ||
| 962 | as HashRef[HttpOperationDetails()]; | ||
| 963 | |||
| 964 | declare 'DataType', | ||
| 965 | as (Int | Str); | ||
| 966 | |||
| 967 | declare 'PathParam', | ||
| 968 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails::PathParam']; | ||
| 969 | |||
| 970 | coerce 'PathParam', | ||
| 971 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails::PathParam'->new($_) }; | ||
| 972 | |||
| 973 | declare 'RepeatedPathParam', | ||
| 974 | as ArrayRef[PathParam()]; | ||
| 975 | |||
| 976 | coerce 'RepeatedPathParam', | ||
| 977 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails::PathParam'->new($_) } @$_ ] }; | ||
| 978 | |||
| 979 | declare 'MapStringPathParam', | ||
| 980 | as HashRef[PathParam()]; | ||
| 981 | |||
| 982 | declare 'QueryParam', | ||
| 983 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails::QueryParam']; | ||
| 984 | |||
| 985 | coerce 'QueryParam', | ||
| 986 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails::QueryParam'->new($_) }; | ||
| 987 | |||
| 988 | declare 'RepeatedQueryParam', | ||
| 989 | as ArrayRef[QueryParam()]; | ||
| 990 | |||
| 991 | coerce 'RepeatedQueryParam', | ||
| 992 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails::QueryParam'->new($_) } @$_ ] }; | ||
| 993 | |||
| 994 | declare 'MapStringQueryParam', | ||
| 995 | as HashRef[QueryParam()]; | ||
| 996 | |||
| 997 | declare 'Header', | ||
| 998 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails::Header']; | ||
| 999 | |||
| 1000 | coerce 'Header', | ||
| 1001 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails::Header'->new($_) }; | ||
| 1002 | |||
| 1003 | declare 'RepeatedHeader', | ||
| 1004 | as ArrayRef[Header()]; | ||
| 1005 | |||
| 1006 | coerce 'RepeatedHeader', | ||
| 1007 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails::Header'->new($_) } @$_ ] }; | ||
| 1008 | |||
| 1009 | declare 'MapStringHeader', | ||
| 1010 | as HashRef[Header()]; | ||
| 1011 | |||
| 1012 | declare 'HttpRequest', | ||
| 1013 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails::HttpRequest']; | ||
| 1014 | |||
| 1015 | coerce 'HttpRequest', | ||
| 1016 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails::HttpRequest'->new($_) }; | ||
| 1017 | |||
| 1018 | declare 'RepeatedHttpRequest', | ||
| 1019 | as ArrayRef[HttpRequest()]; | ||
| 1020 | |||
| 1021 | coerce 'RepeatedHttpRequest', | ||
| 1022 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails::HttpRequest'->new($_) } @$_ ] }; | ||
| 1023 | |||
| 1024 | declare 'MapStringHttpRequest', | ||
| 1025 | as HashRef[HttpRequest()]; | ||
| 1026 | |||
| 1027 | declare 'HeadersEntry', | ||
| 1028 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails::HttpRequest::HeadersEntry']; | ||
| 1029 | |||
| 1030 | coerce 'HeadersEntry', | ||
| 1031 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails::HttpRequest::HeadersEntry'->new($_) }; | ||
| 1032 | |||
| 1033 | declare 'RepeatedHeadersEntry', | ||
| 1034 | as ArrayRef[HeadersEntry()]; | ||
| 1035 | |||
| 1036 | coerce 'RepeatedHeadersEntry', | ||
| 1037 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails::HttpRequest::HeadersEntry'->new($_) } @$_ ] }; | ||
| 1038 | |||
| 1039 | declare 'MapStringHeadersEntry', | ||
| 1040 | as HashRef[HeadersEntry()]; | ||
| 1041 | |||
| 1042 | declare 'HttpResponse', | ||
| 1043 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails::HttpResponse']; | ||
| 1044 | |||
| 1045 | coerce 'HttpResponse', | ||
| 1046 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails::HttpResponse'->new($_) }; | ||
| 1047 | |||
| 1048 | declare 'RepeatedHttpResponse', | ||
| 1049 | as ArrayRef[HttpResponse()]; | ||
| 1050 | |||
| 1051 | coerce 'RepeatedHttpResponse', | ||
| 1052 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails::HttpResponse'->new($_) } @$_ ] }; | ||
| 1053 | |||
| 1054 | declare 'MapStringHttpResponse', | ||
| 1055 | as HashRef[HttpResponse()]; | ||
| 1056 | |||
| 1057 | declare 'HeadersEntry', | ||
| 1058 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails::HttpResponse::HeadersEntry']; | ||
| 1059 | |||
| 1060 | coerce 'HeadersEntry', | ||
| 1061 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails::HttpResponse::HeadersEntry'->new($_) }; | ||
| 1062 | |||
| 1063 | declare 'RepeatedHeadersEntry', | ||
| 1064 | as ArrayRef[HeadersEntry()]; | ||
| 1065 | |||
| 1066 | coerce 'RepeatedHeadersEntry', | ||
| 1067 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails::HttpResponse::HeadersEntry'->new($_) } @$_ ] }; | ||
| 1068 | |||
| 1069 | declare 'MapStringHeadersEntry', | ||
| 1070 | as HashRef[HeadersEntry()]; | ||
| 1071 | |||
| 1072 | declare 'ResponseCodesEntry', | ||
| 1073 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails::HttpResponse::ResponseCodesEntry']; | ||
| 1074 | |||
| 1075 | coerce 'ResponseCodesEntry', | ||
| 1076 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails::HttpResponse::ResponseCodesEntry'->new($_) }; | ||
| 1077 | |||
| 1078 | declare 'RepeatedResponseCodesEntry', | ||
| 1079 | as ArrayRef[ResponseCodesEntry()]; | ||
| 1080 | |||
| 1081 | coerce 'RepeatedResponseCodesEntry', | ||
| 1082 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails::HttpResponse::ResponseCodesEntry'->new($_) } @$_ ] }; | ||
| 1083 | |||
| 1084 | declare 'MapStringResponseCodesEntry', | ||
| 1085 | as HashRef[ResponseCodesEntry()]; | ||
| 1086 | |||
| 1087 | declare 'QueryParamsEntry', | ||
| 1088 | as InstanceOf['Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails::QueryParamsEntry']; | ||
| 1089 | |||
| 1090 | coerce 'QueryParamsEntry', | ||
| 1091 | from HashRef, via { 'Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails::QueryParamsEntry'->new($_) }; | ||
| 1092 | |||
| 1093 | declare 'RepeatedQueryParamsEntry', | ||
| 1094 | as ArrayRef[QueryParamsEntry()]; | ||
| 1095 | |||
| 1096 | coerce 'RepeatedQueryParamsEntry', | ||
| 1097 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Apihub::V1::CommonFields::HttpOperationDetails::QueryParamsEntry'->new($_) } @$_ ] }; | ||
| 1098 | |||
| 1099 | declare 'MapStringQueryParamsEntry', | ||
| 1100 | as HashRef[QueryParamsEntry()]; | ||
| 1101 | |||
| 1102 | 1; | ||
| 1103 | |||
| 1104 | __END__ |