| 1 | package Google::Cloud::Datacatalog::V1::Usage::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 'UsageStats', | ||
| 11 | as InstanceOf['Google::Cloud::Datacatalog::V1::Usage::UsageStats']; | ||
| 12 | |||
| 13 | coerce 'UsageStats', | ||
| 14 | from HashRef, via { 'Google::Cloud::Datacatalog::V1::Usage::UsageStats'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedUsageStats', | ||
| 17 | as ArrayRef[UsageStats()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedUsageStats', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datacatalog::V1::Usage::UsageStats'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringUsageStats', | ||
| 23 | as HashRef[UsageStats()]; | ||
| 24 | |||
| 25 | declare 'CommonUsageStats', | ||
| 26 | as InstanceOf['Google::Cloud::Datacatalog::V1::Usage::CommonUsageStats']; | ||
| 27 | |||
| 28 | coerce 'CommonUsageStats', | ||
| 29 | from HashRef, via { 'Google::Cloud::Datacatalog::V1::Usage::CommonUsageStats'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedCommonUsageStats', | ||
| 32 | as ArrayRef[CommonUsageStats()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedCommonUsageStats', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datacatalog::V1::Usage::CommonUsageStats'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringCommonUsageStats', | ||
| 38 | as HashRef[CommonUsageStats()]; | ||
| 39 | |||
| 40 | declare 'UsageSignal', | ||
| 41 | as InstanceOf['Google::Cloud::Datacatalog::V1::Usage::UsageSignal']; | ||
| 42 | |||
| 43 | coerce 'UsageSignal', | ||
| 44 | from HashRef, via { 'Google::Cloud::Datacatalog::V1::Usage::UsageSignal'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedUsageSignal', | ||
| 47 | as ArrayRef[UsageSignal()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedUsageSignal', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datacatalog::V1::Usage::UsageSignal'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringUsageSignal', | ||
| 53 | as HashRef[UsageSignal()]; | ||
| 54 | |||
| 55 | declare 'UsageWithinTimeRangeEntry', | ||
| 56 | as InstanceOf['Google::Cloud::Datacatalog::V1::Usage::UsageSignal::UsageWithinTimeRangeEntry']; | ||
| 57 | |||
| 58 | coerce 'UsageWithinTimeRangeEntry', | ||
| 59 | from HashRef, via { 'Google::Cloud::Datacatalog::V1::Usage::UsageSignal::UsageWithinTimeRangeEntry'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedUsageWithinTimeRangeEntry', | ||
| 62 | as ArrayRef[UsageWithinTimeRangeEntry()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedUsageWithinTimeRangeEntry', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datacatalog::V1::Usage::UsageSignal::UsageWithinTimeRangeEntry'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringUsageWithinTimeRangeEntry', | ||
| 68 | as HashRef[UsageWithinTimeRangeEntry()]; | ||
| 69 | |||
| 70 | declare 'CommonUsageWithinTimeRangeEntry', | ||
| 71 | as InstanceOf['Google::Cloud::Datacatalog::V1::Usage::UsageSignal::CommonUsageWithinTimeRangeEntry']; | ||
| 72 | |||
| 73 | coerce 'CommonUsageWithinTimeRangeEntry', | ||
| 74 | from HashRef, via { 'Google::Cloud::Datacatalog::V1::Usage::UsageSignal::CommonUsageWithinTimeRangeEntry'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedCommonUsageWithinTimeRangeEntry', | ||
| 77 | as ArrayRef[CommonUsageWithinTimeRangeEntry()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedCommonUsageWithinTimeRangeEntry', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Datacatalog::V1::Usage::UsageSignal::CommonUsageWithinTimeRangeEntry'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringCommonUsageWithinTimeRangeEntry', | ||
| 83 | as HashRef[CommonUsageWithinTimeRangeEntry()]; | ||
| 84 | |||
| 85 | 1; | ||
| 86 | |||
| 87 | __END__ |