| 1 | package Google::Cloud::Baremetalsolution::V2::Provisioning::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 'ProvisioningConfig', | ||
| 11 | as InstanceOf['Google::Cloud::Baremetalsolution::V2::Provisioning::ProvisioningConfig']; | ||
| 12 | |||
| 13 | coerce 'ProvisioningConfig', | ||
| 14 | from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Provisioning::ProvisioningConfig'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedProvisioningConfig', | ||
| 17 | as ArrayRef[ProvisioningConfig()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedProvisioningConfig', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Provisioning::ProvisioningConfig'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringProvisioningConfig', | ||
| 23 | as HashRef[ProvisioningConfig()]; | ||
| 24 | |||
| 25 | declare 'State', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'SubmitProvisioningConfigRequest', | ||
| 29 | as InstanceOf['Google::Cloud::Baremetalsolution::V2::Provisioning::SubmitProvisioningConfigRequest']; | ||
| 30 | |||
| 31 | coerce 'SubmitProvisioningConfigRequest', | ||
| 32 | from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Provisioning::SubmitProvisioningConfigRequest'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedSubmitProvisioningConfigRequest', | ||
| 35 | as ArrayRef[SubmitProvisioningConfigRequest()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedSubmitProvisioningConfigRequest', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Provisioning::SubmitProvisioningConfigRequest'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringSubmitProvisioningConfigRequest', | ||
| 41 | as HashRef[SubmitProvisioningConfigRequest()]; | ||
| 42 | |||
| 43 | declare 'SubmitProvisioningConfigResponse', | ||
| 44 | as InstanceOf['Google::Cloud::Baremetalsolution::V2::Provisioning::SubmitProvisioningConfigResponse']; | ||
| 45 | |||
| 46 | coerce 'SubmitProvisioningConfigResponse', | ||
| 47 | from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Provisioning::SubmitProvisioningConfigResponse'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedSubmitProvisioningConfigResponse', | ||
| 50 | as ArrayRef[SubmitProvisioningConfigResponse()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedSubmitProvisioningConfigResponse', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Provisioning::SubmitProvisioningConfigResponse'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringSubmitProvisioningConfigResponse', | ||
| 56 | as HashRef[SubmitProvisioningConfigResponse()]; | ||
| 57 | |||
| 58 | declare 'ProvisioningQuota', | ||
| 59 | as InstanceOf['Google::Cloud::Baremetalsolution::V2::Provisioning::ProvisioningQuota']; | ||
| 60 | |||
| 61 | coerce 'ProvisioningQuota', | ||
| 62 | from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Provisioning::ProvisioningQuota'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedProvisioningQuota', | ||
| 65 | as ArrayRef[ProvisioningQuota()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedProvisioningQuota', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Provisioning::ProvisioningQuota'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringProvisioningQuota', | ||
| 71 | as HashRef[ProvisioningQuota()]; | ||
| 72 | |||
| 73 | declare 'AssetType', | ||
| 74 | as (Int | Str); | ||
| 75 | |||
| 76 | declare 'ListProvisioningQuotasRequest', | ||
| 77 | as InstanceOf['Google::Cloud::Baremetalsolution::V2::Provisioning::ListProvisioningQuotasRequest']; | ||
| 78 | |||
| 79 | coerce 'ListProvisioningQuotasRequest', | ||
| 80 | from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Provisioning::ListProvisioningQuotasRequest'->new($_) }; | ||
| 81 | |||
| 82 | declare 'RepeatedListProvisioningQuotasRequest', | ||
| 83 | as ArrayRef[ListProvisioningQuotasRequest()]; | ||
| 84 | |||
| 85 | coerce 'RepeatedListProvisioningQuotasRequest', | ||
| 86 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Provisioning::ListProvisioningQuotasRequest'->new($_) } @$_ ] }; | ||
| 87 | |||
| 88 | declare 'MapStringListProvisioningQuotasRequest', | ||
| 89 | as HashRef[ListProvisioningQuotasRequest()]; | ||
| 90 | |||
| 91 | declare 'ListProvisioningQuotasResponse', | ||
| 92 | as InstanceOf['Google::Cloud::Baremetalsolution::V2::Provisioning::ListProvisioningQuotasResponse']; | ||
| 93 | |||
| 94 | coerce 'ListProvisioningQuotasResponse', | ||
| 95 | from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Provisioning::ListProvisioningQuotasResponse'->new($_) }; | ||
| 96 | |||
| 97 | declare 'RepeatedListProvisioningQuotasResponse', | ||
| 98 | as ArrayRef[ListProvisioningQuotasResponse()]; | ||
| 99 | |||
| 100 | coerce 'RepeatedListProvisioningQuotasResponse', | ||
| 101 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Provisioning::ListProvisioningQuotasResponse'->new($_) } @$_ ] }; | ||
| 102 | |||
| 103 | declare 'MapStringListProvisioningQuotasResponse', | ||
| 104 | as HashRef[ListProvisioningQuotasResponse()]; | ||
| 105 | |||
| 106 | declare 'InstanceConfig', | ||
| 107 | as InstanceOf['Google::Cloud::Baremetalsolution::V2::Provisioning::InstanceConfig']; | ||
| 108 | |||
| 109 | coerce 'InstanceConfig', | ||
| 110 | from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Provisioning::InstanceConfig'->new($_) }; | ||
| 111 | |||
| 112 | declare 'RepeatedInstanceConfig', | ||
| 113 | as ArrayRef[InstanceConfig()]; | ||
| 114 | |||
| 115 | coerce 'RepeatedInstanceConfig', | ||
| 116 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Provisioning::InstanceConfig'->new($_) } @$_ ] }; | ||
| 117 | |||
| 118 | declare 'MapStringInstanceConfig', | ||
| 119 | as HashRef[InstanceConfig()]; | ||
| 120 | |||
| 121 | declare 'NetworkConfig', | ||
| 122 | as (Int | Str); | ||
| 123 | |||
| 124 | declare 'NetworkAddress', | ||
| 125 | as InstanceOf['Google::Cloud::Baremetalsolution::V2::Provisioning::InstanceConfig::NetworkAddress']; | ||
| 126 | |||
| 127 | coerce 'NetworkAddress', | ||
| 128 | from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Provisioning::InstanceConfig::NetworkAddress'->new($_) }; | ||
| 129 | |||
| 130 | declare 'RepeatedNetworkAddress', | ||
| 131 | as ArrayRef[NetworkAddress()]; | ||
| 132 | |||
| 133 | coerce 'RepeatedNetworkAddress', | ||
| 134 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Provisioning::InstanceConfig::NetworkAddress'->new($_) } @$_ ] }; | ||
| 135 | |||
| 136 | declare 'MapStringNetworkAddress', | ||
| 137 | as HashRef[NetworkAddress()]; | ||
| 138 | |||
| 139 | declare 'VolumeConfig', | ||
| 140 | as InstanceOf['Google::Cloud::Baremetalsolution::V2::Provisioning::VolumeConfig']; | ||
| 141 | |||
| 142 | coerce 'VolumeConfig', | ||
| 143 | from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Provisioning::VolumeConfig'->new($_) }; | ||
| 144 | |||
| 145 | declare 'RepeatedVolumeConfig', | ||
| 146 | as ArrayRef[VolumeConfig()]; | ||
| 147 | |||
| 148 | coerce 'RepeatedVolumeConfig', | ||
| 149 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Provisioning::VolumeConfig'->new($_) } @$_ ] }; | ||
| 150 | |||
| 151 | declare 'MapStringVolumeConfig', | ||
| 152 | as HashRef[VolumeConfig()]; | ||
| 153 | |||
| 154 | declare 'Type', | ||
| 155 | as (Int | Str); | ||
| 156 | |||
| 157 | declare 'Protocol', | ||
| 158 | as (Int | Str); | ||
| 159 | |||
| 160 | declare 'LunRange', | ||
| 161 | as InstanceOf['Google::Cloud::Baremetalsolution::V2::Provisioning::VolumeConfig::LunRange']; | ||
| 162 | |||
| 163 | coerce 'LunRange', | ||
| 164 | from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Provisioning::VolumeConfig::LunRange'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedLunRange', | ||
| 167 | as ArrayRef[LunRange()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedLunRange', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Provisioning::VolumeConfig::LunRange'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringLunRange', | ||
| 173 | as HashRef[LunRange()]; | ||
| 174 | |||
| 175 | declare 'NfsExport', | ||
| 176 | as InstanceOf['Google::Cloud::Baremetalsolution::V2::Provisioning::VolumeConfig::NfsExport']; | ||
| 177 | |||
| 178 | coerce 'NfsExport', | ||
| 179 | from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Provisioning::VolumeConfig::NfsExport'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedNfsExport', | ||
| 182 | as ArrayRef[NfsExport()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedNfsExport', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Provisioning::VolumeConfig::NfsExport'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringNfsExport', | ||
| 188 | as HashRef[NfsExport()]; | ||
| 189 | |||
| 190 | declare 'Permissions', | ||
| 191 | as (Int | Str); | ||
| 192 | |||
| 193 | declare 'NetworkConfig', | ||
| 194 | as InstanceOf['Google::Cloud::Baremetalsolution::V2::Provisioning::NetworkConfig']; | ||
| 195 | |||
| 196 | coerce 'NetworkConfig', | ||
| 197 | from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Provisioning::NetworkConfig'->new($_) }; | ||
| 198 | |||
| 199 | declare 'RepeatedNetworkConfig', | ||
| 200 | as ArrayRef[NetworkConfig()]; | ||
| 201 | |||
| 202 | coerce 'RepeatedNetworkConfig', | ||
| 203 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Provisioning::NetworkConfig'->new($_) } @$_ ] }; | ||
| 204 | |||
| 205 | declare 'MapStringNetworkConfig', | ||
| 206 | as HashRef[NetworkConfig()]; | ||
| 207 | |||
| 208 | declare 'Type', | ||
| 209 | as (Int | Str); | ||
| 210 | |||
| 211 | declare 'Bandwidth', | ||
| 212 | as (Int | Str); | ||
| 213 | |||
| 214 | declare 'ServiceCidr', | ||
| 215 | as (Int | Str); | ||
| 216 | |||
| 217 | declare 'IntakeVlanAttachment', | ||
| 218 | as InstanceOf['Google::Cloud::Baremetalsolution::V2::Provisioning::NetworkConfig::IntakeVlanAttachment']; | ||
| 219 | |||
| 220 | coerce 'IntakeVlanAttachment', | ||
| 221 | from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Provisioning::NetworkConfig::IntakeVlanAttachment'->new($_) }; | ||
| 222 | |||
| 223 | declare 'RepeatedIntakeVlanAttachment', | ||
| 224 | as ArrayRef[IntakeVlanAttachment()]; | ||
| 225 | |||
| 226 | coerce 'RepeatedIntakeVlanAttachment', | ||
| 227 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Provisioning::NetworkConfig::IntakeVlanAttachment'->new($_) } @$_ ] }; | ||
| 228 | |||
| 229 | declare 'MapStringIntakeVlanAttachment', | ||
| 230 | as HashRef[IntakeVlanAttachment()]; | ||
| 231 | |||
| 232 | declare 'InstanceQuota', | ||
| 233 | as InstanceOf['Google::Cloud::Baremetalsolution::V2::Provisioning::InstanceQuota']; | ||
| 234 | |||
| 235 | coerce 'InstanceQuota', | ||
| 236 | from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Provisioning::InstanceQuota'->new($_) }; | ||
| 237 | |||
| 238 | declare 'RepeatedInstanceQuota', | ||
| 239 | as ArrayRef[InstanceQuota()]; | ||
| 240 | |||
| 241 | coerce 'RepeatedInstanceQuota', | ||
| 242 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Provisioning::InstanceQuota'->new($_) } @$_ ] }; | ||
| 243 | |||
| 244 | declare 'MapStringInstanceQuota', | ||
| 245 | as HashRef[InstanceQuota()]; | ||
| 246 | |||
| 247 | declare 'GetProvisioningConfigRequest', | ||
| 248 | as InstanceOf['Google::Cloud::Baremetalsolution::V2::Provisioning::GetProvisioningConfigRequest']; | ||
| 249 | |||
| 250 | coerce 'GetProvisioningConfigRequest', | ||
| 251 | from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Provisioning::GetProvisioningConfigRequest'->new($_) }; | ||
| 252 | |||
| 253 | declare 'RepeatedGetProvisioningConfigRequest', | ||
| 254 | as ArrayRef[GetProvisioningConfigRequest()]; | ||
| 255 | |||
| 256 | coerce 'RepeatedGetProvisioningConfigRequest', | ||
| 257 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Provisioning::GetProvisioningConfigRequest'->new($_) } @$_ ] }; | ||
| 258 | |||
| 259 | declare 'MapStringGetProvisioningConfigRequest', | ||
| 260 | as HashRef[GetProvisioningConfigRequest()]; | ||
| 261 | |||
| 262 | declare 'CreateProvisioningConfigRequest', | ||
| 263 | as InstanceOf['Google::Cloud::Baremetalsolution::V2::Provisioning::CreateProvisioningConfigRequest']; | ||
| 264 | |||
| 265 | coerce 'CreateProvisioningConfigRequest', | ||
| 266 | from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Provisioning::CreateProvisioningConfigRequest'->new($_) }; | ||
| 267 | |||
| 268 | declare 'RepeatedCreateProvisioningConfigRequest', | ||
| 269 | as ArrayRef[CreateProvisioningConfigRequest()]; | ||
| 270 | |||
| 271 | coerce 'RepeatedCreateProvisioningConfigRequest', | ||
| 272 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Provisioning::CreateProvisioningConfigRequest'->new($_) } @$_ ] }; | ||
| 273 | |||
| 274 | declare 'MapStringCreateProvisioningConfigRequest', | ||
| 275 | as HashRef[CreateProvisioningConfigRequest()]; | ||
| 276 | |||
| 277 | declare 'UpdateProvisioningConfigRequest', | ||
| 278 | as InstanceOf['Google::Cloud::Baremetalsolution::V2::Provisioning::UpdateProvisioningConfigRequest']; | ||
| 279 | |||
| 280 | coerce 'UpdateProvisioningConfigRequest', | ||
| 281 | from HashRef, via { 'Google::Cloud::Baremetalsolution::V2::Provisioning::UpdateProvisioningConfigRequest'->new($_) }; | ||
| 282 | |||
| 283 | declare 'RepeatedUpdateProvisioningConfigRequest', | ||
| 284 | as ArrayRef[UpdateProvisioningConfigRequest()]; | ||
| 285 | |||
| 286 | coerce 'RepeatedUpdateProvisioningConfigRequest', | ||
| 287 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Baremetalsolution::V2::Provisioning::UpdateProvisioningConfigRequest'->new($_) } @$_ ] }; | ||
| 288 | |||
| 289 | declare 'MapStringUpdateProvisioningConfigRequest', | ||
| 290 | as HashRef[UpdateProvisioningConfigRequest()]; | ||
| 291 | |||
| 292 | 1; | ||
| 293 | |||
| 294 | __END__ |