| 1 | package Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::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 'RolloutAction', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'Rollout', | ||
| 14 | as InstanceOf['Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::Rollout']; | ||
| 15 | |||
| 16 | coerce 'Rollout', | ||
| 17 | from HashRef, via { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::Rollout'->new($_) }; | ||
| 18 | |||
| 19 | declare 'RepeatedRollout', | ||
| 20 | as ArrayRef[Rollout()]; | ||
| 21 | |||
| 22 | coerce 'RepeatedRollout', | ||
| 23 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::Rollout'->new($_) } @$_ ] }; | ||
| 24 | |||
| 25 | declare 'MapStringRollout', | ||
| 26 | as HashRef[Rollout()]; | ||
| 27 | |||
| 28 | declare 'RolloutState', | ||
| 29 | as (Int | Str); | ||
| 30 | |||
| 31 | declare 'LabelsEntry', | ||
| 32 | as InstanceOf['Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::Rollout::LabelsEntry']; | ||
| 33 | |||
| 34 | coerce 'LabelsEntry', | ||
| 35 | from HashRef, via { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::Rollout::LabelsEntry'->new($_) }; | ||
| 36 | |||
| 37 | declare 'RepeatedLabelsEntry', | ||
| 38 | as ArrayRef[LabelsEntry()]; | ||
| 39 | |||
| 40 | coerce 'RepeatedLabelsEntry', | ||
| 41 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::Rollout::LabelsEntry'->new($_) } @$_ ] }; | ||
| 42 | |||
| 43 | declare 'MapStringLabelsEntry', | ||
| 44 | as HashRef[LabelsEntry()]; | ||
| 45 | |||
| 46 | declare 'AnnotationsEntry', | ||
| 47 | as InstanceOf['Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::Rollout::AnnotationsEntry']; | ||
| 48 | |||
| 49 | coerce 'AnnotationsEntry', | ||
| 50 | from HashRef, via { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::Rollout::AnnotationsEntry'->new($_) }; | ||
| 51 | |||
| 52 | declare 'RepeatedAnnotationsEntry', | ||
| 53 | as ArrayRef[AnnotationsEntry()]; | ||
| 54 | |||
| 55 | coerce 'RepeatedAnnotationsEntry', | ||
| 56 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::Rollout::AnnotationsEntry'->new($_) } @$_ ] }; | ||
| 57 | |||
| 58 | declare 'MapStringAnnotationsEntry', | ||
| 59 | as HashRef[AnnotationsEntry()]; | ||
| 60 | |||
| 61 | declare 'RolloutKind', | ||
| 62 | as InstanceOf['Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::RolloutKind']; | ||
| 63 | |||
| 64 | coerce 'RolloutKind', | ||
| 65 | from HashRef, via { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::RolloutKind'->new($_) }; | ||
| 66 | |||
| 67 | declare 'RepeatedRolloutKind', | ||
| 68 | as ArrayRef[RolloutKind()]; | ||
| 69 | |||
| 70 | coerce 'RepeatedRolloutKind', | ||
| 71 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::RolloutKind'->new($_) } @$_ ] }; | ||
| 72 | |||
| 73 | declare 'MapStringRolloutKind', | ||
| 74 | as HashRef[RolloutKind()]; | ||
| 75 | |||
| 76 | declare 'UpdateUnitKindStrategy', | ||
| 77 | as (Int | Str); | ||
| 78 | |||
| 79 | declare 'LabelsEntry', | ||
| 80 | as InstanceOf['Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::RolloutKind::LabelsEntry']; | ||
| 81 | |||
| 82 | coerce 'LabelsEntry', | ||
| 83 | from HashRef, via { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::RolloutKind::LabelsEntry'->new($_) }; | ||
| 84 | |||
| 85 | declare 'RepeatedLabelsEntry', | ||
| 86 | as ArrayRef[LabelsEntry()]; | ||
| 87 | |||
| 88 | coerce 'RepeatedLabelsEntry', | ||
| 89 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::RolloutKind::LabelsEntry'->new($_) } @$_ ] }; | ||
| 90 | |||
| 91 | declare 'MapStringLabelsEntry', | ||
| 92 | as HashRef[LabelsEntry()]; | ||
| 93 | |||
| 94 | declare 'AnnotationsEntry', | ||
| 95 | as InstanceOf['Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::RolloutKind::AnnotationsEntry']; | ||
| 96 | |||
| 97 | coerce 'AnnotationsEntry', | ||
| 98 | from HashRef, via { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::RolloutKind::AnnotationsEntry'->new($_) }; | ||
| 99 | |||
| 100 | declare 'RepeatedAnnotationsEntry', | ||
| 101 | as ArrayRef[AnnotationsEntry()]; | ||
| 102 | |||
| 103 | coerce 'RepeatedAnnotationsEntry', | ||
| 104 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::RolloutKind::AnnotationsEntry'->new($_) } @$_ ] }; | ||
| 105 | |||
| 106 | declare 'MapStringAnnotationsEntry', | ||
| 107 | as HashRef[AnnotationsEntry()]; | ||
| 108 | |||
| 109 | declare 'ErrorBudget', | ||
| 110 | as InstanceOf['Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::ErrorBudget']; | ||
| 111 | |||
| 112 | coerce 'ErrorBudget', | ||
| 113 | from HashRef, via { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::ErrorBudget'->new($_) }; | ||
| 114 | |||
| 115 | declare 'RepeatedErrorBudget', | ||
| 116 | as ArrayRef[ErrorBudget()]; | ||
| 117 | |||
| 118 | coerce 'RepeatedErrorBudget', | ||
| 119 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::ErrorBudget'->new($_) } @$_ ] }; | ||
| 120 | |||
| 121 | declare 'MapStringErrorBudget', | ||
| 122 | as HashRef[ErrorBudget()]; | ||
| 123 | |||
| 124 | declare 'UnitUpdatePacing', | ||
| 125 | as InstanceOf['Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::UnitUpdatePacing']; | ||
| 126 | |||
| 127 | coerce 'UnitUpdatePacing', | ||
| 128 | from HashRef, via { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::UnitUpdatePacing'->new($_) }; | ||
| 129 | |||
| 130 | declare 'RepeatedUnitUpdatePacing', | ||
| 131 | as ArrayRef[UnitUpdatePacing()]; | ||
| 132 | |||
| 133 | coerce 'RepeatedUnitUpdatePacing', | ||
| 134 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::UnitUpdatePacing'->new($_) } @$_ ] }; | ||
| 135 | |||
| 136 | declare 'MapStringUnitUpdatePacing', | ||
| 137 | as HashRef[UnitUpdatePacing()]; | ||
| 138 | |||
| 139 | declare 'RolloutStats', | ||
| 140 | as InstanceOf['Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::RolloutStats']; | ||
| 141 | |||
| 142 | coerce 'RolloutStats', | ||
| 143 | from HashRef, via { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::RolloutStats'->new($_) }; | ||
| 144 | |||
| 145 | declare 'RepeatedRolloutStats', | ||
| 146 | as ArrayRef[RolloutStats()]; | ||
| 147 | |||
| 148 | coerce 'RepeatedRolloutStats', | ||
| 149 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::RolloutStats'->new($_) } @$_ ] }; | ||
| 150 | |||
| 151 | declare 'MapStringRolloutStats', | ||
| 152 | as HashRef[RolloutStats()]; | ||
| 153 | |||
| 154 | declare 'RolloutControl', | ||
| 155 | as InstanceOf['Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::RolloutControl']; | ||
| 156 | |||
| 157 | coerce 'RolloutControl', | ||
| 158 | from HashRef, via { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::RolloutControl'->new($_) }; | ||
| 159 | |||
| 160 | declare 'RepeatedRolloutControl', | ||
| 161 | as ArrayRef[RolloutControl()]; | ||
| 162 | |||
| 163 | coerce 'RepeatedRolloutControl', | ||
| 164 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::RolloutControl'->new($_) } @$_ ] }; | ||
| 165 | |||
| 166 | declare 'MapStringRolloutControl', | ||
| 167 | as HashRef[RolloutControl()]; | ||
| 168 | |||
| 169 | declare 'RunRolloutActionParams', | ||
| 170 | as InstanceOf['Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::RolloutControl::RunRolloutActionParams']; | ||
| 171 | |||
| 172 | coerce 'RunRolloutActionParams', | ||
| 173 | from HashRef, via { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::RolloutControl::RunRolloutActionParams'->new($_) }; | ||
| 174 | |||
| 175 | declare 'RepeatedRunRolloutActionParams', | ||
| 176 | as ArrayRef[RunRolloutActionParams()]; | ||
| 177 | |||
| 178 | coerce 'RepeatedRunRolloutActionParams', | ||
| 179 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Saasplatform::Saasservicemgmt::V1::RolloutsResources::RolloutControl::RunRolloutActionParams'->new($_) } @$_ ] }; | ||
| 180 | |||
| 181 | declare 'MapStringRunRolloutActionParams', | ||
| 182 | as HashRef[RunRolloutActionParams()]; | ||
| 183 | |||
| 184 | 1; | ||
| 185 | |||
| 186 | __END__ |