« Devtools/Containeranalysis/V1/Containeranalysis.pm
↑ Summary
Cloud/Devtools/Containeranalysis/V1.pm »
| 1 | package Google::Devtools::Containeranalysis::V1::Containeranalysis::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 'ExportSBOMRequest', | ||
| 11 | as InstanceOf['Google::Devtools::Containeranalysis::V1::Containeranalysis::ExportSBOMRequest']; | ||
| 12 | |||
| 13 | coerce 'ExportSBOMRequest', | ||
| 14 | from HashRef, via { 'Google::Devtools::Containeranalysis::V1::Containeranalysis::ExportSBOMRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedExportSBOMRequest', | ||
| 17 | as ArrayRef[ExportSBOMRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedExportSBOMRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Containeranalysis::V1::Containeranalysis::ExportSBOMRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringExportSBOMRequest', | ||
| 23 | as HashRef[ExportSBOMRequest()]; | ||
| 24 | |||
| 25 | declare 'CloudStorageLocation', | ||
| 26 | as InstanceOf['Google::Devtools::Containeranalysis::V1::Containeranalysis::ExportSBOMRequest::CloudStorageLocation']; | ||
| 27 | |||
| 28 | coerce 'CloudStorageLocation', | ||
| 29 | from HashRef, via { 'Google::Devtools::Containeranalysis::V1::Containeranalysis::ExportSBOMRequest::CloudStorageLocation'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedCloudStorageLocation', | ||
| 32 | as ArrayRef[CloudStorageLocation()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedCloudStorageLocation', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Containeranalysis::V1::Containeranalysis::ExportSBOMRequest::CloudStorageLocation'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringCloudStorageLocation', | ||
| 38 | as HashRef[CloudStorageLocation()]; | ||
| 39 | |||
| 40 | declare 'ExportSBOMResponse', | ||
| 41 | as InstanceOf['Google::Devtools::Containeranalysis::V1::Containeranalysis::ExportSBOMResponse']; | ||
| 42 | |||
| 43 | coerce 'ExportSBOMResponse', | ||
| 44 | from HashRef, via { 'Google::Devtools::Containeranalysis::V1::Containeranalysis::ExportSBOMResponse'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedExportSBOMResponse', | ||
| 47 | as ArrayRef[ExportSBOMResponse()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedExportSBOMResponse', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Containeranalysis::V1::Containeranalysis::ExportSBOMResponse'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringExportSBOMResponse', | ||
| 53 | as HashRef[ExportSBOMResponse()]; | ||
| 54 | |||
| 55 | declare 'GetVulnerabilityOccurrencesSummaryRequest', | ||
| 56 | as InstanceOf['Google::Devtools::Containeranalysis::V1::Containeranalysis::GetVulnerabilityOccurrencesSummaryRequest']; | ||
| 57 | |||
| 58 | coerce 'GetVulnerabilityOccurrencesSummaryRequest', | ||
| 59 | from HashRef, via { 'Google::Devtools::Containeranalysis::V1::Containeranalysis::GetVulnerabilityOccurrencesSummaryRequest'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedGetVulnerabilityOccurrencesSummaryRequest', | ||
| 62 | as ArrayRef[GetVulnerabilityOccurrencesSummaryRequest()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedGetVulnerabilityOccurrencesSummaryRequest', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Containeranalysis::V1::Containeranalysis::GetVulnerabilityOccurrencesSummaryRequest'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringGetVulnerabilityOccurrencesSummaryRequest', | ||
| 68 | as HashRef[GetVulnerabilityOccurrencesSummaryRequest()]; | ||
| 69 | |||
| 70 | declare 'VulnerabilityOccurrencesSummary', | ||
| 71 | as InstanceOf['Google::Devtools::Containeranalysis::V1::Containeranalysis::VulnerabilityOccurrencesSummary']; | ||
| 72 | |||
| 73 | coerce 'VulnerabilityOccurrencesSummary', | ||
| 74 | from HashRef, via { 'Google::Devtools::Containeranalysis::V1::Containeranalysis::VulnerabilityOccurrencesSummary'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedVulnerabilityOccurrencesSummary', | ||
| 77 | as ArrayRef[VulnerabilityOccurrencesSummary()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedVulnerabilityOccurrencesSummary', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Containeranalysis::V1::Containeranalysis::VulnerabilityOccurrencesSummary'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringVulnerabilityOccurrencesSummary', | ||
| 83 | as HashRef[VulnerabilityOccurrencesSummary()]; | ||
| 84 | |||
| 85 | declare 'FixableTotalByDigest', | ||
| 86 | as InstanceOf['Google::Devtools::Containeranalysis::V1::Containeranalysis::VulnerabilityOccurrencesSummary::FixableTotalByDigest']; | ||
| 87 | |||
| 88 | coerce 'FixableTotalByDigest', | ||
| 89 | from HashRef, via { 'Google::Devtools::Containeranalysis::V1::Containeranalysis::VulnerabilityOccurrencesSummary::FixableTotalByDigest'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedFixableTotalByDigest', | ||
| 92 | as ArrayRef[FixableTotalByDigest()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedFixableTotalByDigest', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Devtools::Containeranalysis::V1::Containeranalysis::VulnerabilityOccurrencesSummary::FixableTotalByDigest'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringFixableTotalByDigest', | ||
| 98 | as HashRef[FixableTotalByDigest()]; | ||
| 99 | |||
| 100 | 1; | ||
| 101 | |||
| 102 | __END__ |