| 1 | package Google::Appengine::V1beta::Version::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 'InboundServiceType', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'ServingStatus', | ||
| 14 | as (Int | Str); | ||
| 15 | |||
| 16 | declare 'Version', | ||
| 17 | as InstanceOf['Google::Appengine::V1beta::Version::Version']; | ||
| 18 | |||
| 19 | coerce 'Version', | ||
| 20 | from HashRef, via { 'Google::Appengine::V1beta::Version::Version'->new($_) }; | ||
| 21 | |||
| 22 | declare 'RepeatedVersion', | ||
| 23 | as ArrayRef[Version()]; | ||
| 24 | |||
| 25 | coerce 'RepeatedVersion', | ||
| 26 | from ArrayRef[HashRef], via { [ map { 'Google::Appengine::V1beta::Version::Version'->new($_) } @$_ ] }; | ||
| 27 | |||
| 28 | declare 'MapStringVersion', | ||
| 29 | as HashRef[Version()]; | ||
| 30 | |||
| 31 | declare 'BetaSettingsEntry', | ||
| 32 | as InstanceOf['Google::Appengine::V1beta::Version::Version::BetaSettingsEntry']; | ||
| 33 | |||
| 34 | coerce 'BetaSettingsEntry', | ||
| 35 | from HashRef, via { 'Google::Appengine::V1beta::Version::Version::BetaSettingsEntry'->new($_) }; | ||
| 36 | |||
| 37 | declare 'RepeatedBetaSettingsEntry', | ||
| 38 | as ArrayRef[BetaSettingsEntry()]; | ||
| 39 | |||
| 40 | coerce 'RepeatedBetaSettingsEntry', | ||
| 41 | from ArrayRef[HashRef], via { [ map { 'Google::Appengine::V1beta::Version::Version::BetaSettingsEntry'->new($_) } @$_ ] }; | ||
| 42 | |||
| 43 | declare 'MapStringBetaSettingsEntry', | ||
| 44 | as HashRef[BetaSettingsEntry()]; | ||
| 45 | |||
| 46 | declare 'EnvVariablesEntry', | ||
| 47 | as InstanceOf['Google::Appengine::V1beta::Version::Version::EnvVariablesEntry']; | ||
| 48 | |||
| 49 | coerce 'EnvVariablesEntry', | ||
| 50 | from HashRef, via { 'Google::Appengine::V1beta::Version::Version::EnvVariablesEntry'->new($_) }; | ||
| 51 | |||
| 52 | declare 'RepeatedEnvVariablesEntry', | ||
| 53 | as ArrayRef[EnvVariablesEntry()]; | ||
| 54 | |||
| 55 | coerce 'RepeatedEnvVariablesEntry', | ||
| 56 | from ArrayRef[HashRef], via { [ map { 'Google::Appengine::V1beta::Version::Version::EnvVariablesEntry'->new($_) } @$_ ] }; | ||
| 57 | |||
| 58 | declare 'MapStringEnvVariablesEntry', | ||
| 59 | as HashRef[EnvVariablesEntry()]; | ||
| 60 | |||
| 61 | declare 'BuildEnvVariablesEntry', | ||
| 62 | as InstanceOf['Google::Appengine::V1beta::Version::Version::BuildEnvVariablesEntry']; | ||
| 63 | |||
| 64 | coerce 'BuildEnvVariablesEntry', | ||
| 65 | from HashRef, via { 'Google::Appengine::V1beta::Version::Version::BuildEnvVariablesEntry'->new($_) }; | ||
| 66 | |||
| 67 | declare 'RepeatedBuildEnvVariablesEntry', | ||
| 68 | as ArrayRef[BuildEnvVariablesEntry()]; | ||
| 69 | |||
| 70 | coerce 'RepeatedBuildEnvVariablesEntry', | ||
| 71 | from ArrayRef[HashRef], via { [ map { 'Google::Appengine::V1beta::Version::Version::BuildEnvVariablesEntry'->new($_) } @$_ ] }; | ||
| 72 | |||
| 73 | declare 'MapStringBuildEnvVariablesEntry', | ||
| 74 | as HashRef[BuildEnvVariablesEntry()]; | ||
| 75 | |||
| 76 | declare 'EndpointsApiService', | ||
| 77 | as InstanceOf['Google::Appengine::V1beta::Version::EndpointsApiService']; | ||
| 78 | |||
| 79 | coerce 'EndpointsApiService', | ||
| 80 | from HashRef, via { 'Google::Appengine::V1beta::Version::EndpointsApiService'->new($_) }; | ||
| 81 | |||
| 82 | declare 'RepeatedEndpointsApiService', | ||
| 83 | as ArrayRef[EndpointsApiService()]; | ||
| 84 | |||
| 85 | coerce 'RepeatedEndpointsApiService', | ||
| 86 | from ArrayRef[HashRef], via { [ map { 'Google::Appengine::V1beta::Version::EndpointsApiService'->new($_) } @$_ ] }; | ||
| 87 | |||
| 88 | declare 'MapStringEndpointsApiService', | ||
| 89 | as HashRef[EndpointsApiService()]; | ||
| 90 | |||
| 91 | declare 'RolloutStrategy', | ||
| 92 | as (Int | Str); | ||
| 93 | |||
| 94 | declare 'AutomaticScaling', | ||
| 95 | as InstanceOf['Google::Appengine::V1beta::Version::AutomaticScaling']; | ||
| 96 | |||
| 97 | coerce 'AutomaticScaling', | ||
| 98 | from HashRef, via { 'Google::Appengine::V1beta::Version::AutomaticScaling'->new($_) }; | ||
| 99 | |||
| 100 | declare 'RepeatedAutomaticScaling', | ||
| 101 | as ArrayRef[AutomaticScaling()]; | ||
| 102 | |||
| 103 | coerce 'RepeatedAutomaticScaling', | ||
| 104 | from ArrayRef[HashRef], via { [ map { 'Google::Appengine::V1beta::Version::AutomaticScaling'->new($_) } @$_ ] }; | ||
| 105 | |||
| 106 | declare 'MapStringAutomaticScaling', | ||
| 107 | as HashRef[AutomaticScaling()]; | ||
| 108 | |||
| 109 | declare 'BasicScaling', | ||
| 110 | as InstanceOf['Google::Appengine::V1beta::Version::BasicScaling']; | ||
| 111 | |||
| 112 | coerce 'BasicScaling', | ||
| 113 | from HashRef, via { 'Google::Appengine::V1beta::Version::BasicScaling'->new($_) }; | ||
| 114 | |||
| 115 | declare 'RepeatedBasicScaling', | ||
| 116 | as ArrayRef[BasicScaling()]; | ||
| 117 | |||
| 118 | coerce 'RepeatedBasicScaling', | ||
| 119 | from ArrayRef[HashRef], via { [ map { 'Google::Appengine::V1beta::Version::BasicScaling'->new($_) } @$_ ] }; | ||
| 120 | |||
| 121 | declare 'MapStringBasicScaling', | ||
| 122 | as HashRef[BasicScaling()]; | ||
| 123 | |||
| 124 | declare 'ManualScaling', | ||
| 125 | as InstanceOf['Google::Appengine::V1beta::Version::ManualScaling']; | ||
| 126 | |||
| 127 | coerce 'ManualScaling', | ||
| 128 | from HashRef, via { 'Google::Appengine::V1beta::Version::ManualScaling'->new($_) }; | ||
| 129 | |||
| 130 | declare 'RepeatedManualScaling', | ||
| 131 | as ArrayRef[ManualScaling()]; | ||
| 132 | |||
| 133 | coerce 'RepeatedManualScaling', | ||
| 134 | from ArrayRef[HashRef], via { [ map { 'Google::Appengine::V1beta::Version::ManualScaling'->new($_) } @$_ ] }; | ||
| 135 | |||
| 136 | declare 'MapStringManualScaling', | ||
| 137 | as HashRef[ManualScaling()]; | ||
| 138 | |||
| 139 | declare 'CpuUtilization', | ||
| 140 | as InstanceOf['Google::Appengine::V1beta::Version::CpuUtilization']; | ||
| 141 | |||
| 142 | coerce 'CpuUtilization', | ||
| 143 | from HashRef, via { 'Google::Appengine::V1beta::Version::CpuUtilization'->new($_) }; | ||
| 144 | |||
| 145 | declare 'RepeatedCpuUtilization', | ||
| 146 | as ArrayRef[CpuUtilization()]; | ||
| 147 | |||
| 148 | coerce 'RepeatedCpuUtilization', | ||
| 149 | from ArrayRef[HashRef], via { [ map { 'Google::Appengine::V1beta::Version::CpuUtilization'->new($_) } @$_ ] }; | ||
| 150 | |||
| 151 | declare 'MapStringCpuUtilization', | ||
| 152 | as HashRef[CpuUtilization()]; | ||
| 153 | |||
| 154 | declare 'RequestUtilization', | ||
| 155 | as InstanceOf['Google::Appengine::V1beta::Version::RequestUtilization']; | ||
| 156 | |||
| 157 | coerce 'RequestUtilization', | ||
| 158 | from HashRef, via { 'Google::Appengine::V1beta::Version::RequestUtilization'->new($_) }; | ||
| 159 | |||
| 160 | declare 'RepeatedRequestUtilization', | ||
| 161 | as ArrayRef[RequestUtilization()]; | ||
| 162 | |||
| 163 | coerce 'RepeatedRequestUtilization', | ||
| 164 | from ArrayRef[HashRef], via { [ map { 'Google::Appengine::V1beta::Version::RequestUtilization'->new($_) } @$_ ] }; | ||
| 165 | |||
| 166 | declare 'MapStringRequestUtilization', | ||
| 167 | as HashRef[RequestUtilization()]; | ||
| 168 | |||
| 169 | declare 'DiskUtilization', | ||
| 170 | as InstanceOf['Google::Appengine::V1beta::Version::DiskUtilization']; | ||
| 171 | |||
| 172 | coerce 'DiskUtilization', | ||
| 173 | from HashRef, via { 'Google::Appengine::V1beta::Version::DiskUtilization'->new($_) }; | ||
| 174 | |||
| 175 | declare 'RepeatedDiskUtilization', | ||
| 176 | as ArrayRef[DiskUtilization()]; | ||
| 177 | |||
| 178 | coerce 'RepeatedDiskUtilization', | ||
| 179 | from ArrayRef[HashRef], via { [ map { 'Google::Appengine::V1beta::Version::DiskUtilization'->new($_) } @$_ ] }; | ||
| 180 | |||
| 181 | declare 'MapStringDiskUtilization', | ||
| 182 | as HashRef[DiskUtilization()]; | ||
| 183 | |||
| 184 | declare 'NetworkUtilization', | ||
| 185 | as InstanceOf['Google::Appengine::V1beta::Version::NetworkUtilization']; | ||
| 186 | |||
| 187 | coerce 'NetworkUtilization', | ||
| 188 | from HashRef, via { 'Google::Appengine::V1beta::Version::NetworkUtilization'->new($_) }; | ||
| 189 | |||
| 190 | declare 'RepeatedNetworkUtilization', | ||
| 191 | as ArrayRef[NetworkUtilization()]; | ||
| 192 | |||
| 193 | coerce 'RepeatedNetworkUtilization', | ||
| 194 | from ArrayRef[HashRef], via { [ map { 'Google::Appengine::V1beta::Version::NetworkUtilization'->new($_) } @$_ ] }; | ||
| 195 | |||
| 196 | declare 'MapStringNetworkUtilization', | ||
| 197 | as HashRef[NetworkUtilization()]; | ||
| 198 | |||
| 199 | declare 'CustomMetric', | ||
| 200 | as InstanceOf['Google::Appengine::V1beta::Version::CustomMetric']; | ||
| 201 | |||
| 202 | coerce 'CustomMetric', | ||
| 203 | from HashRef, via { 'Google::Appengine::V1beta::Version::CustomMetric'->new($_) }; | ||
| 204 | |||
| 205 | declare 'RepeatedCustomMetric', | ||
| 206 | as ArrayRef[CustomMetric()]; | ||
| 207 | |||
| 208 | coerce 'RepeatedCustomMetric', | ||
| 209 | from ArrayRef[HashRef], via { [ map { 'Google::Appengine::V1beta::Version::CustomMetric'->new($_) } @$_ ] }; | ||
| 210 | |||
| 211 | declare 'MapStringCustomMetric', | ||
| 212 | as HashRef[CustomMetric()]; | ||
| 213 | |||
| 214 | declare 'StandardSchedulerSettings', | ||
| 215 | as InstanceOf['Google::Appengine::V1beta::Version::StandardSchedulerSettings']; | ||
| 216 | |||
| 217 | coerce 'StandardSchedulerSettings', | ||
| 218 | from HashRef, via { 'Google::Appengine::V1beta::Version::StandardSchedulerSettings'->new($_) }; | ||
| 219 | |||
| 220 | declare 'RepeatedStandardSchedulerSettings', | ||
| 221 | as ArrayRef[StandardSchedulerSettings()]; | ||
| 222 | |||
| 223 | coerce 'RepeatedStandardSchedulerSettings', | ||
| 224 | from ArrayRef[HashRef], via { [ map { 'Google::Appengine::V1beta::Version::StandardSchedulerSettings'->new($_) } @$_ ] }; | ||
| 225 | |||
| 226 | declare 'MapStringStandardSchedulerSettings', | ||
| 227 | as HashRef[StandardSchedulerSettings()]; | ||
| 228 | |||
| 229 | declare 'Network', | ||
| 230 | as InstanceOf['Google::Appengine::V1beta::Version::Network']; | ||
| 231 | |||
| 232 | coerce 'Network', | ||
| 233 | from HashRef, via { 'Google::Appengine::V1beta::Version::Network'->new($_) }; | ||
| 234 | |||
| 235 | declare 'RepeatedNetwork', | ||
| 236 | as ArrayRef[Network()]; | ||
| 237 | |||
| 238 | coerce 'RepeatedNetwork', | ||
| 239 | from ArrayRef[HashRef], via { [ map { 'Google::Appengine::V1beta::Version::Network'->new($_) } @$_ ] }; | ||
| 240 | |||
| 241 | declare 'MapStringNetwork', | ||
| 242 | as HashRef[Network()]; | ||
| 243 | |||
| 244 | declare 'Volume', | ||
| 245 | as InstanceOf['Google::Appengine::V1beta::Version::Volume']; | ||
| 246 | |||
| 247 | coerce 'Volume', | ||
| 248 | from HashRef, via { 'Google::Appengine::V1beta::Version::Volume'->new($_) }; | ||
| 249 | |||
| 250 | declare 'RepeatedVolume', | ||
| 251 | as ArrayRef[Volume()]; | ||
| 252 | |||
| 253 | coerce 'RepeatedVolume', | ||
| 254 | from ArrayRef[HashRef], via { [ map { 'Google::Appengine::V1beta::Version::Volume'->new($_) } @$_ ] }; | ||
| 255 | |||
| 256 | declare 'MapStringVolume', | ||
| 257 | as HashRef[Volume()]; | ||
| 258 | |||
| 259 | declare 'Resources', | ||
| 260 | as InstanceOf['Google::Appengine::V1beta::Version::Resources']; | ||
| 261 | |||
| 262 | coerce 'Resources', | ||
| 263 | from HashRef, via { 'Google::Appengine::V1beta::Version::Resources'->new($_) }; | ||
| 264 | |||
| 265 | declare 'RepeatedResources', | ||
| 266 | as ArrayRef[Resources()]; | ||
| 267 | |||
| 268 | coerce 'RepeatedResources', | ||
| 269 | from ArrayRef[HashRef], via { [ map { 'Google::Appengine::V1beta::Version::Resources'->new($_) } @$_ ] }; | ||
| 270 | |||
| 271 | declare 'MapStringResources', | ||
| 272 | as HashRef[Resources()]; | ||
| 273 | |||
| 274 | declare 'VpcAccessConnector', | ||
| 275 | as InstanceOf['Google::Appengine::V1beta::Version::VpcAccessConnector']; | ||
| 276 | |||
| 277 | coerce 'VpcAccessConnector', | ||
| 278 | from HashRef, via { 'Google::Appengine::V1beta::Version::VpcAccessConnector'->new($_) }; | ||
| 279 | |||
| 280 | declare 'RepeatedVpcAccessConnector', | ||
| 281 | as ArrayRef[VpcAccessConnector()]; | ||
| 282 | |||
| 283 | coerce 'RepeatedVpcAccessConnector', | ||
| 284 | from ArrayRef[HashRef], via { [ map { 'Google::Appengine::V1beta::Version::VpcAccessConnector'->new($_) } @$_ ] }; | ||
| 285 | |||
| 286 | declare 'MapStringVpcAccessConnector', | ||
| 287 | as HashRef[VpcAccessConnector()]; | ||
| 288 | |||
| 289 | declare 'Entrypoint', | ||
| 290 | as InstanceOf['Google::Appengine::V1beta::Version::Entrypoint']; | ||
| 291 | |||
| 292 | coerce 'Entrypoint', | ||
| 293 | from HashRef, via { 'Google::Appengine::V1beta::Version::Entrypoint'->new($_) }; | ||
| 294 | |||
| 295 | declare 'RepeatedEntrypoint', | ||
| 296 | as ArrayRef[Entrypoint()]; | ||
| 297 | |||
| 298 | coerce 'RepeatedEntrypoint', | ||
| 299 | from ArrayRef[HashRef], via { [ map { 'Google::Appengine::V1beta::Version::Entrypoint'->new($_) } @$_ ] }; | ||
| 300 | |||
| 301 | declare 'MapStringEntrypoint', | ||
| 302 | as HashRef[Entrypoint()]; | ||
| 303 | |||
| 304 | 1; | ||
| 305 | |||
| 306 | __END__ |