| 1 | package Google::Cloud::Securitycenter::V2::Exfiltration::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 'Exfiltration', | ||
| 11 | as InstanceOf['Google::Cloud::Securitycenter::V2::Exfiltration::Exfiltration']; | ||
| 12 | |||
| 13 | coerce 'Exfiltration', | ||
| 14 | from HashRef, via { 'Google::Cloud::Securitycenter::V2::Exfiltration::Exfiltration'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedExfiltration', | ||
| 17 | as ArrayRef[Exfiltration()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedExfiltration', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Securitycenter::V2::Exfiltration::Exfiltration'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringExfiltration', | ||
| 23 | as HashRef[Exfiltration()]; | ||
| 24 | |||
| 25 | declare 'ExfilResource', | ||
| 26 | as InstanceOf['Google::Cloud::Securitycenter::V2::Exfiltration::ExfilResource']; | ||
| 27 | |||
| 28 | coerce 'ExfilResource', | ||
| 29 | from HashRef, via { 'Google::Cloud::Securitycenter::V2::Exfiltration::ExfilResource'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedExfilResource', | ||
| 32 | as ArrayRef[ExfilResource()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedExfilResource', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Securitycenter::V2::Exfiltration::ExfilResource'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringExfilResource', | ||
| 38 | as HashRef[ExfilResource()]; | ||
| 39 | |||
| 40 | 1; | ||
| 41 | |||
| 42 | __END__ |