| 1 | package Google::Cloud::Saasplatform::Saasservicemgmt::V1::Common::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 'UnitOperationErrorCategory', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'Blueprint', | ||
| 14 | as InstanceOf['Google::Cloud::Saasplatform::Saasservicemgmt::V1::Common::Blueprint']; | ||
| 15 | |||
| 16 | coerce 'Blueprint', | ||
| 17 | from HashRef, via { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::Common::Blueprint'->new($_) }; | ||
| 18 | |||
| 19 | declare 'RepeatedBlueprint', | ||
| 20 | as ArrayRef[Blueprint()]; | ||
| 21 | |||
| 22 | coerce 'RepeatedBlueprint', | ||
| 23 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::Common::Blueprint'->new($_) } @$_ ] }; | ||
| 24 | |||
| 25 | declare 'MapStringBlueprint', | ||
| 26 | as HashRef[Blueprint()]; | ||
| 27 | |||
| 28 | declare 'UnitVariable', | ||
| 29 | as InstanceOf['Google::Cloud::Saasplatform::Saasservicemgmt::V1::Common::UnitVariable']; | ||
| 30 | |||
| 31 | coerce 'UnitVariable', | ||
| 32 | from HashRef, via { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::Common::UnitVariable'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedUnitVariable', | ||
| 35 | as ArrayRef[UnitVariable()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedUnitVariable', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::Common::UnitVariable'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringUnitVariable', | ||
| 41 | as HashRef[UnitVariable()]; | ||
| 42 | |||
| 43 | declare 'Type', | ||
| 44 | as (Int | Str); | ||
| 45 | |||
| 46 | declare 'UnitCondition', | ||
| 47 | as InstanceOf['Google::Cloud::Saasplatform::Saasservicemgmt::V1::Common::UnitCondition']; | ||
| 48 | |||
| 49 | coerce 'UnitCondition', | ||
| 50 | from HashRef, via { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::Common::UnitCondition'->new($_) }; | ||
| 51 | |||
| 52 | declare 'RepeatedUnitCondition', | ||
| 53 | as ArrayRef[UnitCondition()]; | ||
| 54 | |||
| 55 | coerce 'RepeatedUnitCondition', | ||
| 56 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::Common::UnitCondition'->new($_) } @$_ ] }; | ||
| 57 | |||
| 58 | declare 'MapStringUnitCondition', | ||
| 59 | as HashRef[UnitCondition()]; | ||
| 60 | |||
| 61 | declare 'Status', | ||
| 62 | as (Int | Str); | ||
| 63 | |||
| 64 | declare 'Type', | ||
| 65 | as (Int | Str); | ||
| 66 | |||
| 67 | declare 'UnitOperationCondition', | ||
| 68 | as InstanceOf['Google::Cloud::Saasplatform::Saasservicemgmt::V1::Common::UnitOperationCondition']; | ||
| 69 | |||
| 70 | coerce 'UnitOperationCondition', | ||
| 71 | from HashRef, via { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::Common::UnitOperationCondition'->new($_) }; | ||
| 72 | |||
| 73 | declare 'RepeatedUnitOperationCondition', | ||
| 74 | as ArrayRef[UnitOperationCondition()]; | ||
| 75 | |||
| 76 | coerce 'RepeatedUnitOperationCondition', | ||
| 77 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::Common::UnitOperationCondition'->new($_) } @$_ ] }; | ||
| 78 | |||
| 79 | declare 'MapStringUnitOperationCondition', | ||
| 80 | as HashRef[UnitOperationCondition()]; | ||
| 81 | |||
| 82 | declare 'Status', | ||
| 83 | as (Int | Str); | ||
| 84 | |||
| 85 | declare 'Type', | ||
| 86 | as (Int | Str); | ||
| 87 | |||
| 88 | declare 'SaasCondition', | ||
| 89 | as InstanceOf['Google::Cloud::Saasplatform::Saasservicemgmt::V1::Common::SaasCondition']; | ||
| 90 | |||
| 91 | coerce 'SaasCondition', | ||
| 92 | from HashRef, via { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::Common::SaasCondition'->new($_) }; | ||
| 93 | |||
| 94 | declare 'RepeatedSaasCondition', | ||
| 95 | as ArrayRef[SaasCondition()]; | ||
| 96 | |||
| 97 | coerce 'RepeatedSaasCondition', | ||
| 98 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::Common::SaasCondition'->new($_) } @$_ ] }; | ||
| 99 | |||
| 100 | declare 'MapStringSaasCondition', | ||
| 101 | as HashRef[SaasCondition()]; | ||
| 102 | |||
| 103 | declare 'Status', | ||
| 104 | as (Int | Str); | ||
| 105 | |||
| 106 | declare 'Type', | ||
| 107 | as (Int | Str); | ||
| 108 | |||
| 109 | declare 'Aggregate', | ||
| 110 | as InstanceOf['Google::Cloud::Saasplatform::Saasservicemgmt::V1::Common::Aggregate']; | ||
| 111 | |||
| 112 | coerce 'Aggregate', | ||
| 113 | from HashRef, via { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::Common::Aggregate'->new($_) }; | ||
| 114 | |||
| 115 | declare 'RepeatedAggregate', | ||
| 116 | as ArrayRef[Aggregate()]; | ||
| 117 | |||
| 118 | coerce 'RepeatedAggregate', | ||
| 119 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::Common::Aggregate'->new($_) } @$_ ] }; | ||
| 120 | |||
| 121 | declare 'MapStringAggregate', | ||
| 122 | as HashRef[Aggregate()]; | ||
| 123 | |||
| 124 | declare 'DurationLimits', | ||
| 125 | as InstanceOf['Google::Cloud::Saasplatform::Saasservicemgmt::V1::Common::DurationLimits']; | ||
| 126 | |||
| 127 | coerce 'DurationLimits', | ||
| 128 | from HashRef, via { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::Common::DurationLimits'->new($_) }; | ||
| 129 | |||
| 130 | declare 'RepeatedDurationLimits', | ||
| 131 | as ArrayRef[DurationLimits()]; | ||
| 132 | |||
| 133 | coerce 'RepeatedDurationLimits', | ||
| 134 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::Common::DurationLimits'->new($_) } @$_ ] }; | ||
| 135 | |||
| 136 | declare 'MapStringDurationLimits', | ||
| 137 | as HashRef[DurationLimits()]; | ||
| 138 | |||
| 139 | 1; | ||
| 140 | |||
| 141 | __END__ |