| 1 | package Google::Cloud::Dataplex::V1::DatascansCommon::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 'DataScanCatalogPublishingStatus', | ||
| 11 | as InstanceOf['Google::Cloud::Dataplex::V1::DatascansCommon::DataScanCatalogPublishingStatus']; | ||
| 12 | |||
| 13 | coerce 'DataScanCatalogPublishingStatus', | ||
| 14 | from HashRef, via { 'Google::Cloud::Dataplex::V1::DatascansCommon::DataScanCatalogPublishingStatus'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedDataScanCatalogPublishingStatus', | ||
| 17 | as ArrayRef[DataScanCatalogPublishingStatus()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedDataScanCatalogPublishingStatus', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Dataplex::V1::DatascansCommon::DataScanCatalogPublishingStatus'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringDataScanCatalogPublishingStatus', | ||
| 23 | as HashRef[DataScanCatalogPublishingStatus()]; | ||
| 24 | |||
| 25 | declare 'State', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | 1; | ||
| 29 | |||
| 30 | __END__ |