| 1 | package Google::Cloud::Cloudsecuritycompliance::V1::Audit::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 'ComplianceState', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'GenerateFrameworkAuditScopeReportRequest', | ||
| 14 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Audit::GenerateFrameworkAuditScopeReportRequest']; | ||
| 15 | |||
| 16 | coerce 'GenerateFrameworkAuditScopeReportRequest', | ||
| 17 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::GenerateFrameworkAuditScopeReportRequest'->new($_) }; | ||
| 18 | |||
| 19 | declare 'RepeatedGenerateFrameworkAuditScopeReportRequest', | ||
| 20 | as ArrayRef[GenerateFrameworkAuditScopeReportRequest()]; | ||
| 21 | |||
| 22 | coerce 'RepeatedGenerateFrameworkAuditScopeReportRequest', | ||
| 23 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::GenerateFrameworkAuditScopeReportRequest'->new($_) } @$_ ] }; | ||
| 24 | |||
| 25 | declare 'MapStringGenerateFrameworkAuditScopeReportRequest', | ||
| 26 | as HashRef[GenerateFrameworkAuditScopeReportRequest()]; | ||
| 27 | |||
| 28 | declare 'Format', | ||
| 29 | as (Int | Str); | ||
| 30 | |||
| 31 | declare 'GenerateFrameworkAuditScopeReportResponse', | ||
| 32 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Audit::GenerateFrameworkAuditScopeReportResponse']; | ||
| 33 | |||
| 34 | coerce 'GenerateFrameworkAuditScopeReportResponse', | ||
| 35 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::GenerateFrameworkAuditScopeReportResponse'->new($_) }; | ||
| 36 | |||
| 37 | declare 'RepeatedGenerateFrameworkAuditScopeReportResponse', | ||
| 38 | as ArrayRef[GenerateFrameworkAuditScopeReportResponse()]; | ||
| 39 | |||
| 40 | coerce 'RepeatedGenerateFrameworkAuditScopeReportResponse', | ||
| 41 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::GenerateFrameworkAuditScopeReportResponse'->new($_) } @$_ ] }; | ||
| 42 | |||
| 43 | declare 'MapStringGenerateFrameworkAuditScopeReportResponse', | ||
| 44 | as HashRef[GenerateFrameworkAuditScopeReportResponse()]; | ||
| 45 | |||
| 46 | declare 'ReportSummary', | ||
| 47 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Audit::ReportSummary']; | ||
| 48 | |||
| 49 | coerce 'ReportSummary', | ||
| 50 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::ReportSummary'->new($_) }; | ||
| 51 | |||
| 52 | declare 'RepeatedReportSummary', | ||
| 53 | as ArrayRef[ReportSummary()]; | ||
| 54 | |||
| 55 | coerce 'RepeatedReportSummary', | ||
| 56 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::ReportSummary'->new($_) } @$_ ] }; | ||
| 57 | |||
| 58 | declare 'MapStringReportSummary', | ||
| 59 | as HashRef[ReportSummary()]; | ||
| 60 | |||
| 61 | declare 'CreateFrameworkAuditRequest', | ||
| 62 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Audit::CreateFrameworkAuditRequest']; | ||
| 63 | |||
| 64 | coerce 'CreateFrameworkAuditRequest', | ||
| 65 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::CreateFrameworkAuditRequest'->new($_) }; | ||
| 66 | |||
| 67 | declare 'RepeatedCreateFrameworkAuditRequest', | ||
| 68 | as ArrayRef[CreateFrameworkAuditRequest()]; | ||
| 69 | |||
| 70 | coerce 'RepeatedCreateFrameworkAuditRequest', | ||
| 71 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::CreateFrameworkAuditRequest'->new($_) } @$_ ] }; | ||
| 72 | |||
| 73 | declare 'MapStringCreateFrameworkAuditRequest', | ||
| 74 | as HashRef[CreateFrameworkAuditRequest()]; | ||
| 75 | |||
| 76 | declare 'FrameworkAuditDestination', | ||
| 77 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Audit::FrameworkAuditDestination']; | ||
| 78 | |||
| 79 | coerce 'FrameworkAuditDestination', | ||
| 80 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::FrameworkAuditDestination'->new($_) }; | ||
| 81 | |||
| 82 | declare 'RepeatedFrameworkAuditDestination', | ||
| 83 | as ArrayRef[FrameworkAuditDestination()]; | ||
| 84 | |||
| 85 | coerce 'RepeatedFrameworkAuditDestination', | ||
| 86 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::FrameworkAuditDestination'->new($_) } @$_ ] }; | ||
| 87 | |||
| 88 | declare 'MapStringFrameworkAuditDestination', | ||
| 89 | as HashRef[FrameworkAuditDestination()]; | ||
| 90 | |||
| 91 | declare 'BucketDestination', | ||
| 92 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Audit::BucketDestination']; | ||
| 93 | |||
| 94 | coerce 'BucketDestination', | ||
| 95 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::BucketDestination'->new($_) }; | ||
| 96 | |||
| 97 | declare 'RepeatedBucketDestination', | ||
| 98 | as ArrayRef[BucketDestination()]; | ||
| 99 | |||
| 100 | coerce 'RepeatedBucketDestination', | ||
| 101 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::BucketDestination'->new($_) } @$_ ] }; | ||
| 102 | |||
| 103 | declare 'MapStringBucketDestination', | ||
| 104 | as HashRef[BucketDestination()]; | ||
| 105 | |||
| 106 | declare 'Format', | ||
| 107 | as (Int | Str); | ||
| 108 | |||
| 109 | declare 'FrameworkAudit', | ||
| 110 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Audit::FrameworkAudit']; | ||
| 111 | |||
| 112 | coerce 'FrameworkAudit', | ||
| 113 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::FrameworkAudit'->new($_) }; | ||
| 114 | |||
| 115 | declare 'RepeatedFrameworkAudit', | ||
| 116 | as ArrayRef[FrameworkAudit()]; | ||
| 117 | |||
| 118 | coerce 'RepeatedFrameworkAudit', | ||
| 119 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::FrameworkAudit'->new($_) } @$_ ] }; | ||
| 120 | |||
| 121 | declare 'MapStringFrameworkAudit', | ||
| 122 | as HashRef[FrameworkAudit()]; | ||
| 123 | |||
| 124 | declare 'State', | ||
| 125 | as (Int | Str); | ||
| 126 | |||
| 127 | declare 'ListFrameworkAuditsRequest', | ||
| 128 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Audit::ListFrameworkAuditsRequest']; | ||
| 129 | |||
| 130 | coerce 'ListFrameworkAuditsRequest', | ||
| 131 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::ListFrameworkAuditsRequest'->new($_) }; | ||
| 132 | |||
| 133 | declare 'RepeatedListFrameworkAuditsRequest', | ||
| 134 | as ArrayRef[ListFrameworkAuditsRequest()]; | ||
| 135 | |||
| 136 | coerce 'RepeatedListFrameworkAuditsRequest', | ||
| 137 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::ListFrameworkAuditsRequest'->new($_) } @$_ ] }; | ||
| 138 | |||
| 139 | declare 'MapStringListFrameworkAuditsRequest', | ||
| 140 | as HashRef[ListFrameworkAuditsRequest()]; | ||
| 141 | |||
| 142 | declare 'ListFrameworkAuditsResponse', | ||
| 143 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Audit::ListFrameworkAuditsResponse']; | ||
| 144 | |||
| 145 | coerce 'ListFrameworkAuditsResponse', | ||
| 146 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::ListFrameworkAuditsResponse'->new($_) }; | ||
| 147 | |||
| 148 | declare 'RepeatedListFrameworkAuditsResponse', | ||
| 149 | as ArrayRef[ListFrameworkAuditsResponse()]; | ||
| 150 | |||
| 151 | coerce 'RepeatedListFrameworkAuditsResponse', | ||
| 152 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::ListFrameworkAuditsResponse'->new($_) } @$_ ] }; | ||
| 153 | |||
| 154 | declare 'MapStringListFrameworkAuditsResponse', | ||
| 155 | as HashRef[ListFrameworkAuditsResponse()]; | ||
| 156 | |||
| 157 | declare 'GetFrameworkAuditRequest', | ||
| 158 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Audit::GetFrameworkAuditRequest']; | ||
| 159 | |||
| 160 | coerce 'GetFrameworkAuditRequest', | ||
| 161 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::GetFrameworkAuditRequest'->new($_) }; | ||
| 162 | |||
| 163 | declare 'RepeatedGetFrameworkAuditRequest', | ||
| 164 | as ArrayRef[GetFrameworkAuditRequest()]; | ||
| 165 | |||
| 166 | coerce 'RepeatedGetFrameworkAuditRequest', | ||
| 167 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::GetFrameworkAuditRequest'->new($_) } @$_ ] }; | ||
| 168 | |||
| 169 | declare 'MapStringGetFrameworkAuditRequest', | ||
| 170 | as HashRef[GetFrameworkAuditRequest()]; | ||
| 171 | |||
| 172 | declare 'CloudControlGroupAuditDetails', | ||
| 173 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Audit::CloudControlGroupAuditDetails']; | ||
| 174 | |||
| 175 | coerce 'CloudControlGroupAuditDetails', | ||
| 176 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::CloudControlGroupAuditDetails'->new($_) }; | ||
| 177 | |||
| 178 | declare 'RepeatedCloudControlGroupAuditDetails', | ||
| 179 | as ArrayRef[CloudControlGroupAuditDetails()]; | ||
| 180 | |||
| 181 | coerce 'RepeatedCloudControlGroupAuditDetails', | ||
| 182 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::CloudControlGroupAuditDetails'->new($_) } @$_ ] }; | ||
| 183 | |||
| 184 | declare 'MapStringCloudControlGroupAuditDetails', | ||
| 185 | as HashRef[CloudControlGroupAuditDetails()]; | ||
| 186 | |||
| 187 | declare 'FindingDetails', | ||
| 188 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Audit::FindingDetails']; | ||
| 189 | |||
| 190 | coerce 'FindingDetails', | ||
| 191 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::FindingDetails'->new($_) }; | ||
| 192 | |||
| 193 | declare 'RepeatedFindingDetails', | ||
| 194 | as ArrayRef[FindingDetails()]; | ||
| 195 | |||
| 196 | coerce 'RepeatedFindingDetails', | ||
| 197 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::FindingDetails'->new($_) } @$_ ] }; | ||
| 198 | |||
| 199 | declare 'MapStringFindingDetails', | ||
| 200 | as HashRef[FindingDetails()]; | ||
| 201 | |||
| 202 | declare 'ObservationDetails', | ||
| 203 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Audit::ObservationDetails']; | ||
| 204 | |||
| 205 | coerce 'ObservationDetails', | ||
| 206 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::ObservationDetails'->new($_) }; | ||
| 207 | |||
| 208 | declare 'RepeatedObservationDetails', | ||
| 209 | as ArrayRef[ObservationDetails()]; | ||
| 210 | |||
| 211 | coerce 'RepeatedObservationDetails', | ||
| 212 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::ObservationDetails'->new($_) } @$_ ] }; | ||
| 213 | |||
| 214 | declare 'MapStringObservationDetails', | ||
| 215 | as HashRef[ObservationDetails()]; | ||
| 216 | |||
| 217 | declare 'EvidenceDetails', | ||
| 218 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Audit::EvidenceDetails']; | ||
| 219 | |||
| 220 | coerce 'EvidenceDetails', | ||
| 221 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::EvidenceDetails'->new($_) }; | ||
| 222 | |||
| 223 | declare 'RepeatedEvidenceDetails', | ||
| 224 | as ArrayRef[EvidenceDetails()]; | ||
| 225 | |||
| 226 | coerce 'RepeatedEvidenceDetails', | ||
| 227 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::EvidenceDetails'->new($_) } @$_ ] }; | ||
| 228 | |||
| 229 | declare 'MapStringEvidenceDetails', | ||
| 230 | as HashRef[EvidenceDetails()]; | ||
| 231 | |||
| 232 | declare 'CloudControlAuditDetails', | ||
| 233 | as InstanceOf['Google::Cloud::Cloudsecuritycompliance::V1::Audit::CloudControlAuditDetails']; | ||
| 234 | |||
| 235 | coerce 'CloudControlAuditDetails', | ||
| 236 | from HashRef, via { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::CloudControlAuditDetails'->new($_) }; | ||
| 237 | |||
| 238 | declare 'RepeatedCloudControlAuditDetails', | ||
| 239 | as ArrayRef[CloudControlAuditDetails()]; | ||
| 240 | |||
| 241 | coerce 'RepeatedCloudControlAuditDetails', | ||
| 242 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Cloudsecuritycompliance::V1::Audit::CloudControlAuditDetails'->new($_) } @$_ ] }; | ||
| 243 | |||
| 244 | declare 'MapStringCloudControlAuditDetails', | ||
| 245 | as HashRef[CloudControlAuditDetails()]; | ||
| 246 | |||
| 247 | 1; | ||
| 248 | |||
| 249 | __END__ |