| 1 | package Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::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 'Infrastructure', | ||
| 11 | as (Int | Str); | ||
| 12 | |||
| 13 | declare 'ConnectionErrorType', | ||
| 14 | as (Int | Str); | ||
| 15 | |||
| 16 | declare 'IPVersion', | ||
| 17 | as (Int | Str); | ||
| 18 | |||
| 19 | declare 'ServiceConnectionMap', | ||
| 20 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap']; | ||
| 21 | |||
| 22 | coerce 'ServiceConnectionMap', | ||
| 23 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap'->new($_) }; | ||
| 24 | |||
| 25 | declare 'RepeatedServiceConnectionMap', | ||
| 26 | as ArrayRef[ServiceConnectionMap()]; | ||
| 27 | |||
| 28 | coerce 'RepeatedServiceConnectionMap', | ||
| 29 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap'->new($_) } @$_ ] }; | ||
| 30 | |||
| 31 | declare 'MapStringServiceConnectionMap', | ||
| 32 | as HashRef[ServiceConnectionMap()]; | ||
| 33 | |||
| 34 | declare 'ProducerPscConfig', | ||
| 35 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap::ProducerPscConfig']; | ||
| 36 | |||
| 37 | coerce 'ProducerPscConfig', | ||
| 38 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap::ProducerPscConfig'->new($_) }; | ||
| 39 | |||
| 40 | declare 'RepeatedProducerPscConfig', | ||
| 41 | as ArrayRef[ProducerPscConfig()]; | ||
| 42 | |||
| 43 | coerce 'RepeatedProducerPscConfig', | ||
| 44 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap::ProducerPscConfig'->new($_) } @$_ ] }; | ||
| 45 | |||
| 46 | declare 'MapStringProducerPscConfig', | ||
| 47 | as HashRef[ProducerPscConfig()]; | ||
| 48 | |||
| 49 | declare 'ConsumerPscConfig', | ||
| 50 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap::ConsumerPscConfig']; | ||
| 51 | |||
| 52 | coerce 'ConsumerPscConfig', | ||
| 53 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap::ConsumerPscConfig'->new($_) }; | ||
| 54 | |||
| 55 | declare 'RepeatedConsumerPscConfig', | ||
| 56 | as ArrayRef[ConsumerPscConfig()]; | ||
| 57 | |||
| 58 | coerce 'RepeatedConsumerPscConfig', | ||
| 59 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap::ConsumerPscConfig'->new($_) } @$_ ] }; | ||
| 60 | |||
| 61 | declare 'MapStringConsumerPscConfig', | ||
| 62 | as HashRef[ConsumerPscConfig()]; | ||
| 63 | |||
| 64 | declare 'State', | ||
| 65 | as (Int | Str); | ||
| 66 | |||
| 67 | declare 'ServiceAttachmentIpAddressMapEntry', | ||
| 68 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap::ConsumerPscConfig::ServiceAttachmentIpAddressMapEntry']; | ||
| 69 | |||
| 70 | coerce 'ServiceAttachmentIpAddressMapEntry', | ||
| 71 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap::ConsumerPscConfig::ServiceAttachmentIpAddressMapEntry'->new($_) }; | ||
| 72 | |||
| 73 | declare 'RepeatedServiceAttachmentIpAddressMapEntry', | ||
| 74 | as ArrayRef[ServiceAttachmentIpAddressMapEntry()]; | ||
| 75 | |||
| 76 | coerce 'RepeatedServiceAttachmentIpAddressMapEntry', | ||
| 77 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap::ConsumerPscConfig::ServiceAttachmentIpAddressMapEntry'->new($_) } @$_ ] }; | ||
| 78 | |||
| 79 | declare 'MapStringServiceAttachmentIpAddressMapEntry', | ||
| 80 | as HashRef[ServiceAttachmentIpAddressMapEntry()]; | ||
| 81 | |||
| 82 | declare 'ProducerInstanceMetadataEntry', | ||
| 83 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap::ConsumerPscConfig::ProducerInstanceMetadataEntry']; | ||
| 84 | |||
| 85 | coerce 'ProducerInstanceMetadataEntry', | ||
| 86 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap::ConsumerPscConfig::ProducerInstanceMetadataEntry'->new($_) }; | ||
| 87 | |||
| 88 | declare 'RepeatedProducerInstanceMetadataEntry', | ||
| 89 | as ArrayRef[ProducerInstanceMetadataEntry()]; | ||
| 90 | |||
| 91 | coerce 'RepeatedProducerInstanceMetadataEntry', | ||
| 92 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap::ConsumerPscConfig::ProducerInstanceMetadataEntry'->new($_) } @$_ ] }; | ||
| 93 | |||
| 94 | declare 'MapStringProducerInstanceMetadataEntry', | ||
| 95 | as HashRef[ProducerInstanceMetadataEntry()]; | ||
| 96 | |||
| 97 | declare 'ConsumerPscConnection', | ||
| 98 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap::ConsumerPscConnection']; | ||
| 99 | |||
| 100 | coerce 'ConsumerPscConnection', | ||
| 101 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap::ConsumerPscConnection'->new($_) }; | ||
| 102 | |||
| 103 | declare 'RepeatedConsumerPscConnection', | ||
| 104 | as ArrayRef[ConsumerPscConnection()]; | ||
| 105 | |||
| 106 | coerce 'RepeatedConsumerPscConnection', | ||
| 107 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap::ConsumerPscConnection'->new($_) } @$_ ] }; | ||
| 108 | |||
| 109 | declare 'MapStringConsumerPscConnection', | ||
| 110 | as HashRef[ConsumerPscConnection()]; | ||
| 111 | |||
| 112 | declare 'State', | ||
| 113 | as (Int | Str); | ||
| 114 | |||
| 115 | declare 'ProducerInstanceMetadataEntry', | ||
| 116 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap::ConsumerPscConnection::ProducerInstanceMetadataEntry']; | ||
| 117 | |||
| 118 | coerce 'ProducerInstanceMetadataEntry', | ||
| 119 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap::ConsumerPscConnection::ProducerInstanceMetadataEntry'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedProducerInstanceMetadataEntry', | ||
| 122 | as ArrayRef[ProducerInstanceMetadataEntry()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedProducerInstanceMetadataEntry', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap::ConsumerPscConnection::ProducerInstanceMetadataEntry'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringProducerInstanceMetadataEntry', | ||
| 128 | as HashRef[ProducerInstanceMetadataEntry()]; | ||
| 129 | |||
| 130 | declare 'LabelsEntry', | ||
| 131 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap::LabelsEntry']; | ||
| 132 | |||
| 133 | coerce 'LabelsEntry', | ||
| 134 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap::LabelsEntry'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedLabelsEntry', | ||
| 137 | as ArrayRef[LabelsEntry()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedLabelsEntry', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionMap::LabelsEntry'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringLabelsEntry', | ||
| 143 | as HashRef[LabelsEntry()]; | ||
| 144 | |||
| 145 | declare 'ListServiceConnectionMapsRequest', | ||
| 146 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceConnectionMapsRequest']; | ||
| 147 | |||
| 148 | coerce 'ListServiceConnectionMapsRequest', | ||
| 149 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceConnectionMapsRequest'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedListServiceConnectionMapsRequest', | ||
| 152 | as ArrayRef[ListServiceConnectionMapsRequest()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedListServiceConnectionMapsRequest', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceConnectionMapsRequest'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringListServiceConnectionMapsRequest', | ||
| 158 | as HashRef[ListServiceConnectionMapsRequest()]; | ||
| 159 | |||
| 160 | declare 'ListServiceConnectionMapsResponse', | ||
| 161 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceConnectionMapsResponse']; | ||
| 162 | |||
| 163 | coerce 'ListServiceConnectionMapsResponse', | ||
| 164 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceConnectionMapsResponse'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedListServiceConnectionMapsResponse', | ||
| 167 | as ArrayRef[ListServiceConnectionMapsResponse()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedListServiceConnectionMapsResponse', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceConnectionMapsResponse'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringListServiceConnectionMapsResponse', | ||
| 173 | as HashRef[ListServiceConnectionMapsResponse()]; | ||
| 174 | |||
| 175 | declare 'GetServiceConnectionMapRequest', | ||
| 176 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::GetServiceConnectionMapRequest']; | ||
| 177 | |||
| 178 | coerce 'GetServiceConnectionMapRequest', | ||
| 179 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::GetServiceConnectionMapRequest'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedGetServiceConnectionMapRequest', | ||
| 182 | as ArrayRef[GetServiceConnectionMapRequest()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedGetServiceConnectionMapRequest', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::GetServiceConnectionMapRequest'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringGetServiceConnectionMapRequest', | ||
| 188 | as HashRef[GetServiceConnectionMapRequest()]; | ||
| 189 | |||
| 190 | declare 'CreateServiceConnectionMapRequest', | ||
| 191 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::CreateServiceConnectionMapRequest']; | ||
| 192 | |||
| 193 | coerce 'CreateServiceConnectionMapRequest', | ||
| 194 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::CreateServiceConnectionMapRequest'->new($_) }; | ||
| 195 | |||
| 196 | declare 'RepeatedCreateServiceConnectionMapRequest', | ||
| 197 | as ArrayRef[CreateServiceConnectionMapRequest()]; | ||
| 198 | |||
| 199 | coerce 'RepeatedCreateServiceConnectionMapRequest', | ||
| 200 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::CreateServiceConnectionMapRequest'->new($_) } @$_ ] }; | ||
| 201 | |||
| 202 | declare 'MapStringCreateServiceConnectionMapRequest', | ||
| 203 | as HashRef[CreateServiceConnectionMapRequest()]; | ||
| 204 | |||
| 205 | declare 'UpdateServiceConnectionMapRequest', | ||
| 206 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::UpdateServiceConnectionMapRequest']; | ||
| 207 | |||
| 208 | coerce 'UpdateServiceConnectionMapRequest', | ||
| 209 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::UpdateServiceConnectionMapRequest'->new($_) }; | ||
| 210 | |||
| 211 | declare 'RepeatedUpdateServiceConnectionMapRequest', | ||
| 212 | as ArrayRef[UpdateServiceConnectionMapRequest()]; | ||
| 213 | |||
| 214 | coerce 'RepeatedUpdateServiceConnectionMapRequest', | ||
| 215 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::UpdateServiceConnectionMapRequest'->new($_) } @$_ ] }; | ||
| 216 | |||
| 217 | declare 'MapStringUpdateServiceConnectionMapRequest', | ||
| 218 | as HashRef[UpdateServiceConnectionMapRequest()]; | ||
| 219 | |||
| 220 | declare 'DeleteServiceConnectionMapRequest', | ||
| 221 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::DeleteServiceConnectionMapRequest']; | ||
| 222 | |||
| 223 | coerce 'DeleteServiceConnectionMapRequest', | ||
| 224 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::DeleteServiceConnectionMapRequest'->new($_) }; | ||
| 225 | |||
| 226 | declare 'RepeatedDeleteServiceConnectionMapRequest', | ||
| 227 | as ArrayRef[DeleteServiceConnectionMapRequest()]; | ||
| 228 | |||
| 229 | coerce 'RepeatedDeleteServiceConnectionMapRequest', | ||
| 230 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::DeleteServiceConnectionMapRequest'->new($_) } @$_ ] }; | ||
| 231 | |||
| 232 | declare 'MapStringDeleteServiceConnectionMapRequest', | ||
| 233 | as HashRef[DeleteServiceConnectionMapRequest()]; | ||
| 234 | |||
| 235 | declare 'ServiceConnectionPolicy', | ||
| 236 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionPolicy']; | ||
| 237 | |||
| 238 | coerce 'ServiceConnectionPolicy', | ||
| 239 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionPolicy'->new($_) }; | ||
| 240 | |||
| 241 | declare 'RepeatedServiceConnectionPolicy', | ||
| 242 | as ArrayRef[ServiceConnectionPolicy()]; | ||
| 243 | |||
| 244 | coerce 'RepeatedServiceConnectionPolicy', | ||
| 245 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionPolicy'->new($_) } @$_ ] }; | ||
| 246 | |||
| 247 | declare 'MapStringServiceConnectionPolicy', | ||
| 248 | as HashRef[ServiceConnectionPolicy()]; | ||
| 249 | |||
| 250 | declare 'State', | ||
| 251 | as (Int | Str); | ||
| 252 | |||
| 253 | declare 'PscConfig', | ||
| 254 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionPolicy::PscConfig']; | ||
| 255 | |||
| 256 | coerce 'PscConfig', | ||
| 257 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionPolicy::PscConfig'->new($_) }; | ||
| 258 | |||
| 259 | declare 'RepeatedPscConfig', | ||
| 260 | as ArrayRef[PscConfig()]; | ||
| 261 | |||
| 262 | coerce 'RepeatedPscConfig', | ||
| 263 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionPolicy::PscConfig'->new($_) } @$_ ] }; | ||
| 264 | |||
| 265 | declare 'MapStringPscConfig', | ||
| 266 | as HashRef[PscConfig()]; | ||
| 267 | |||
| 268 | declare 'ProducerInstanceLocation', | ||
| 269 | as (Int | Str); | ||
| 270 | |||
| 271 | declare 'PscConnection', | ||
| 272 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionPolicy::PscConnection']; | ||
| 273 | |||
| 274 | coerce 'PscConnection', | ||
| 275 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionPolicy::PscConnection'->new($_) }; | ||
| 276 | |||
| 277 | declare 'RepeatedPscConnection', | ||
| 278 | as ArrayRef[PscConnection()]; | ||
| 279 | |||
| 280 | coerce 'RepeatedPscConnection', | ||
| 281 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionPolicy::PscConnection'->new($_) } @$_ ] }; | ||
| 282 | |||
| 283 | declare 'MapStringPscConnection', | ||
| 284 | as HashRef[PscConnection()]; | ||
| 285 | |||
| 286 | declare 'ProducerInstanceMetadataEntry', | ||
| 287 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionPolicy::PscConnection::ProducerInstanceMetadataEntry']; | ||
| 288 | |||
| 289 | coerce 'ProducerInstanceMetadataEntry', | ||
| 290 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionPolicy::PscConnection::ProducerInstanceMetadataEntry'->new($_) }; | ||
| 291 | |||
| 292 | declare 'RepeatedProducerInstanceMetadataEntry', | ||
| 293 | as ArrayRef[ProducerInstanceMetadataEntry()]; | ||
| 294 | |||
| 295 | coerce 'RepeatedProducerInstanceMetadataEntry', | ||
| 296 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionPolicy::PscConnection::ProducerInstanceMetadataEntry'->new($_) } @$_ ] }; | ||
| 297 | |||
| 298 | declare 'MapStringProducerInstanceMetadataEntry', | ||
| 299 | as HashRef[ProducerInstanceMetadataEntry()]; | ||
| 300 | |||
| 301 | declare 'LabelsEntry', | ||
| 302 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionPolicy::LabelsEntry']; | ||
| 303 | |||
| 304 | coerce 'LabelsEntry', | ||
| 305 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionPolicy::LabelsEntry'->new($_) }; | ||
| 306 | |||
| 307 | declare 'RepeatedLabelsEntry', | ||
| 308 | as ArrayRef[LabelsEntry()]; | ||
| 309 | |||
| 310 | coerce 'RepeatedLabelsEntry', | ||
| 311 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionPolicy::LabelsEntry'->new($_) } @$_ ] }; | ||
| 312 | |||
| 313 | declare 'MapStringLabelsEntry', | ||
| 314 | as HashRef[LabelsEntry()]; | ||
| 315 | |||
| 316 | declare 'ListServiceConnectionPoliciesRequest', | ||
| 317 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceConnectionPoliciesRequest']; | ||
| 318 | |||
| 319 | coerce 'ListServiceConnectionPoliciesRequest', | ||
| 320 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceConnectionPoliciesRequest'->new($_) }; | ||
| 321 | |||
| 322 | declare 'RepeatedListServiceConnectionPoliciesRequest', | ||
| 323 | as ArrayRef[ListServiceConnectionPoliciesRequest()]; | ||
| 324 | |||
| 325 | coerce 'RepeatedListServiceConnectionPoliciesRequest', | ||
| 326 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceConnectionPoliciesRequest'->new($_) } @$_ ] }; | ||
| 327 | |||
| 328 | declare 'MapStringListServiceConnectionPoliciesRequest', | ||
| 329 | as HashRef[ListServiceConnectionPoliciesRequest()]; | ||
| 330 | |||
| 331 | declare 'ListServiceConnectionPoliciesResponse', | ||
| 332 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceConnectionPoliciesResponse']; | ||
| 333 | |||
| 334 | coerce 'ListServiceConnectionPoliciesResponse', | ||
| 335 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceConnectionPoliciesResponse'->new($_) }; | ||
| 336 | |||
| 337 | declare 'RepeatedListServiceConnectionPoliciesResponse', | ||
| 338 | as ArrayRef[ListServiceConnectionPoliciesResponse()]; | ||
| 339 | |||
| 340 | coerce 'RepeatedListServiceConnectionPoliciesResponse', | ||
| 341 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceConnectionPoliciesResponse'->new($_) } @$_ ] }; | ||
| 342 | |||
| 343 | declare 'MapStringListServiceConnectionPoliciesResponse', | ||
| 344 | as HashRef[ListServiceConnectionPoliciesResponse()]; | ||
| 345 | |||
| 346 | declare 'GetServiceConnectionPolicyRequest', | ||
| 347 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::GetServiceConnectionPolicyRequest']; | ||
| 348 | |||
| 349 | coerce 'GetServiceConnectionPolicyRequest', | ||
| 350 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::GetServiceConnectionPolicyRequest'->new($_) }; | ||
| 351 | |||
| 352 | declare 'RepeatedGetServiceConnectionPolicyRequest', | ||
| 353 | as ArrayRef[GetServiceConnectionPolicyRequest()]; | ||
| 354 | |||
| 355 | coerce 'RepeatedGetServiceConnectionPolicyRequest', | ||
| 356 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::GetServiceConnectionPolicyRequest'->new($_) } @$_ ] }; | ||
| 357 | |||
| 358 | declare 'MapStringGetServiceConnectionPolicyRequest', | ||
| 359 | as HashRef[GetServiceConnectionPolicyRequest()]; | ||
| 360 | |||
| 361 | declare 'CreateServiceConnectionPolicyRequest', | ||
| 362 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::CreateServiceConnectionPolicyRequest']; | ||
| 363 | |||
| 364 | coerce 'CreateServiceConnectionPolicyRequest', | ||
| 365 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::CreateServiceConnectionPolicyRequest'->new($_) }; | ||
| 366 | |||
| 367 | declare 'RepeatedCreateServiceConnectionPolicyRequest', | ||
| 368 | as ArrayRef[CreateServiceConnectionPolicyRequest()]; | ||
| 369 | |||
| 370 | coerce 'RepeatedCreateServiceConnectionPolicyRequest', | ||
| 371 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::CreateServiceConnectionPolicyRequest'->new($_) } @$_ ] }; | ||
| 372 | |||
| 373 | declare 'MapStringCreateServiceConnectionPolicyRequest', | ||
| 374 | as HashRef[CreateServiceConnectionPolicyRequest()]; | ||
| 375 | |||
| 376 | declare 'UpdateServiceConnectionPolicyRequest', | ||
| 377 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::UpdateServiceConnectionPolicyRequest']; | ||
| 378 | |||
| 379 | coerce 'UpdateServiceConnectionPolicyRequest', | ||
| 380 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::UpdateServiceConnectionPolicyRequest'->new($_) }; | ||
| 381 | |||
| 382 | declare 'RepeatedUpdateServiceConnectionPolicyRequest', | ||
| 383 | as ArrayRef[UpdateServiceConnectionPolicyRequest()]; | ||
| 384 | |||
| 385 | coerce 'RepeatedUpdateServiceConnectionPolicyRequest', | ||
| 386 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::UpdateServiceConnectionPolicyRequest'->new($_) } @$_ ] }; | ||
| 387 | |||
| 388 | declare 'MapStringUpdateServiceConnectionPolicyRequest', | ||
| 389 | as HashRef[UpdateServiceConnectionPolicyRequest()]; | ||
| 390 | |||
| 391 | declare 'DeleteServiceConnectionPolicyRequest', | ||
| 392 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::DeleteServiceConnectionPolicyRequest']; | ||
| 393 | |||
| 394 | coerce 'DeleteServiceConnectionPolicyRequest', | ||
| 395 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::DeleteServiceConnectionPolicyRequest'->new($_) }; | ||
| 396 | |||
| 397 | declare 'RepeatedDeleteServiceConnectionPolicyRequest', | ||
| 398 | as ArrayRef[DeleteServiceConnectionPolicyRequest()]; | ||
| 399 | |||
| 400 | coerce 'RepeatedDeleteServiceConnectionPolicyRequest', | ||
| 401 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::DeleteServiceConnectionPolicyRequest'->new($_) } @$_ ] }; | ||
| 402 | |||
| 403 | declare 'MapStringDeleteServiceConnectionPolicyRequest', | ||
| 404 | as HashRef[DeleteServiceConnectionPolicyRequest()]; | ||
| 405 | |||
| 406 | declare 'ServiceClass', | ||
| 407 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceClass']; | ||
| 408 | |||
| 409 | coerce 'ServiceClass', | ||
| 410 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceClass'->new($_) }; | ||
| 411 | |||
| 412 | declare 'RepeatedServiceClass', | ||
| 413 | as ArrayRef[ServiceClass()]; | ||
| 414 | |||
| 415 | coerce 'RepeatedServiceClass', | ||
| 416 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceClass'->new($_) } @$_ ] }; | ||
| 417 | |||
| 418 | declare 'MapStringServiceClass', | ||
| 419 | as HashRef[ServiceClass()]; | ||
| 420 | |||
| 421 | declare 'LabelsEntry', | ||
| 422 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceClass::LabelsEntry']; | ||
| 423 | |||
| 424 | coerce 'LabelsEntry', | ||
| 425 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceClass::LabelsEntry'->new($_) }; | ||
| 426 | |||
| 427 | declare 'RepeatedLabelsEntry', | ||
| 428 | as ArrayRef[LabelsEntry()]; | ||
| 429 | |||
| 430 | coerce 'RepeatedLabelsEntry', | ||
| 431 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceClass::LabelsEntry'->new($_) } @$_ ] }; | ||
| 432 | |||
| 433 | declare 'MapStringLabelsEntry', | ||
| 434 | as HashRef[LabelsEntry()]; | ||
| 435 | |||
| 436 | declare 'ListServiceClassesRequest', | ||
| 437 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceClassesRequest']; | ||
| 438 | |||
| 439 | coerce 'ListServiceClassesRequest', | ||
| 440 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceClassesRequest'->new($_) }; | ||
| 441 | |||
| 442 | declare 'RepeatedListServiceClassesRequest', | ||
| 443 | as ArrayRef[ListServiceClassesRequest()]; | ||
| 444 | |||
| 445 | coerce 'RepeatedListServiceClassesRequest', | ||
| 446 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceClassesRequest'->new($_) } @$_ ] }; | ||
| 447 | |||
| 448 | declare 'MapStringListServiceClassesRequest', | ||
| 449 | as HashRef[ListServiceClassesRequest()]; | ||
| 450 | |||
| 451 | declare 'ListServiceClassesResponse', | ||
| 452 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceClassesResponse']; | ||
| 453 | |||
| 454 | coerce 'ListServiceClassesResponse', | ||
| 455 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceClassesResponse'->new($_) }; | ||
| 456 | |||
| 457 | declare 'RepeatedListServiceClassesResponse', | ||
| 458 | as ArrayRef[ListServiceClassesResponse()]; | ||
| 459 | |||
| 460 | coerce 'RepeatedListServiceClassesResponse', | ||
| 461 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceClassesResponse'->new($_) } @$_ ] }; | ||
| 462 | |||
| 463 | declare 'MapStringListServiceClassesResponse', | ||
| 464 | as HashRef[ListServiceClassesResponse()]; | ||
| 465 | |||
| 466 | declare 'GetServiceClassRequest', | ||
| 467 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::GetServiceClassRequest']; | ||
| 468 | |||
| 469 | coerce 'GetServiceClassRequest', | ||
| 470 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::GetServiceClassRequest'->new($_) }; | ||
| 471 | |||
| 472 | declare 'RepeatedGetServiceClassRequest', | ||
| 473 | as ArrayRef[GetServiceClassRequest()]; | ||
| 474 | |||
| 475 | coerce 'RepeatedGetServiceClassRequest', | ||
| 476 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::GetServiceClassRequest'->new($_) } @$_ ] }; | ||
| 477 | |||
| 478 | declare 'MapStringGetServiceClassRequest', | ||
| 479 | as HashRef[GetServiceClassRequest()]; | ||
| 480 | |||
| 481 | declare 'UpdateServiceClassRequest', | ||
| 482 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::UpdateServiceClassRequest']; | ||
| 483 | |||
| 484 | coerce 'UpdateServiceClassRequest', | ||
| 485 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::UpdateServiceClassRequest'->new($_) }; | ||
| 486 | |||
| 487 | declare 'RepeatedUpdateServiceClassRequest', | ||
| 488 | as ArrayRef[UpdateServiceClassRequest()]; | ||
| 489 | |||
| 490 | coerce 'RepeatedUpdateServiceClassRequest', | ||
| 491 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::UpdateServiceClassRequest'->new($_) } @$_ ] }; | ||
| 492 | |||
| 493 | declare 'MapStringUpdateServiceClassRequest', | ||
| 494 | as HashRef[UpdateServiceClassRequest()]; | ||
| 495 | |||
| 496 | declare 'DeleteServiceClassRequest', | ||
| 497 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::DeleteServiceClassRequest']; | ||
| 498 | |||
| 499 | coerce 'DeleteServiceClassRequest', | ||
| 500 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::DeleteServiceClassRequest'->new($_) }; | ||
| 501 | |||
| 502 | declare 'RepeatedDeleteServiceClassRequest', | ||
| 503 | as ArrayRef[DeleteServiceClassRequest()]; | ||
| 504 | |||
| 505 | coerce 'RepeatedDeleteServiceClassRequest', | ||
| 506 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::DeleteServiceClassRequest'->new($_) } @$_ ] }; | ||
| 507 | |||
| 508 | declare 'MapStringDeleteServiceClassRequest', | ||
| 509 | as HashRef[DeleteServiceClassRequest()]; | ||
| 510 | |||
| 511 | declare 'ServiceConnectionToken', | ||
| 512 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionToken']; | ||
| 513 | |||
| 514 | coerce 'ServiceConnectionToken', | ||
| 515 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionToken'->new($_) }; | ||
| 516 | |||
| 517 | declare 'RepeatedServiceConnectionToken', | ||
| 518 | as ArrayRef[ServiceConnectionToken()]; | ||
| 519 | |||
| 520 | coerce 'RepeatedServiceConnectionToken', | ||
| 521 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionToken'->new($_) } @$_ ] }; | ||
| 522 | |||
| 523 | declare 'MapStringServiceConnectionToken', | ||
| 524 | as HashRef[ServiceConnectionToken()]; | ||
| 525 | |||
| 526 | declare 'LabelsEntry', | ||
| 527 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionToken::LabelsEntry']; | ||
| 528 | |||
| 529 | coerce 'LabelsEntry', | ||
| 530 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionToken::LabelsEntry'->new($_) }; | ||
| 531 | |||
| 532 | declare 'RepeatedLabelsEntry', | ||
| 533 | as ArrayRef[LabelsEntry()]; | ||
| 534 | |||
| 535 | coerce 'RepeatedLabelsEntry', | ||
| 536 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ServiceConnectionToken::LabelsEntry'->new($_) } @$_ ] }; | ||
| 537 | |||
| 538 | declare 'MapStringLabelsEntry', | ||
| 539 | as HashRef[LabelsEntry()]; | ||
| 540 | |||
| 541 | declare 'ListServiceConnectionTokensRequest', | ||
| 542 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceConnectionTokensRequest']; | ||
| 543 | |||
| 544 | coerce 'ListServiceConnectionTokensRequest', | ||
| 545 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceConnectionTokensRequest'->new($_) }; | ||
| 546 | |||
| 547 | declare 'RepeatedListServiceConnectionTokensRequest', | ||
| 548 | as ArrayRef[ListServiceConnectionTokensRequest()]; | ||
| 549 | |||
| 550 | coerce 'RepeatedListServiceConnectionTokensRequest', | ||
| 551 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceConnectionTokensRequest'->new($_) } @$_ ] }; | ||
| 552 | |||
| 553 | declare 'MapStringListServiceConnectionTokensRequest', | ||
| 554 | as HashRef[ListServiceConnectionTokensRequest()]; | ||
| 555 | |||
| 556 | declare 'ListServiceConnectionTokensResponse', | ||
| 557 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceConnectionTokensResponse']; | ||
| 558 | |||
| 559 | coerce 'ListServiceConnectionTokensResponse', | ||
| 560 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceConnectionTokensResponse'->new($_) }; | ||
| 561 | |||
| 562 | declare 'RepeatedListServiceConnectionTokensResponse', | ||
| 563 | as ArrayRef[ListServiceConnectionTokensResponse()]; | ||
| 564 | |||
| 565 | coerce 'RepeatedListServiceConnectionTokensResponse', | ||
| 566 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::ListServiceConnectionTokensResponse'->new($_) } @$_ ] }; | ||
| 567 | |||
| 568 | declare 'MapStringListServiceConnectionTokensResponse', | ||
| 569 | as HashRef[ListServiceConnectionTokensResponse()]; | ||
| 570 | |||
| 571 | declare 'GetServiceConnectionTokenRequest', | ||
| 572 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::GetServiceConnectionTokenRequest']; | ||
| 573 | |||
| 574 | coerce 'GetServiceConnectionTokenRequest', | ||
| 575 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::GetServiceConnectionTokenRequest'->new($_) }; | ||
| 576 | |||
| 577 | declare 'RepeatedGetServiceConnectionTokenRequest', | ||
| 578 | as ArrayRef[GetServiceConnectionTokenRequest()]; | ||
| 579 | |||
| 580 | coerce 'RepeatedGetServiceConnectionTokenRequest', | ||
| 581 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::GetServiceConnectionTokenRequest'->new($_) } @$_ ] }; | ||
| 582 | |||
| 583 | declare 'MapStringGetServiceConnectionTokenRequest', | ||
| 584 | as HashRef[GetServiceConnectionTokenRequest()]; | ||
| 585 | |||
| 586 | declare 'CreateServiceConnectionTokenRequest', | ||
| 587 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::CreateServiceConnectionTokenRequest']; | ||
| 588 | |||
| 589 | coerce 'CreateServiceConnectionTokenRequest', | ||
| 590 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::CreateServiceConnectionTokenRequest'->new($_) }; | ||
| 591 | |||
| 592 | declare 'RepeatedCreateServiceConnectionTokenRequest', | ||
| 593 | as ArrayRef[CreateServiceConnectionTokenRequest()]; | ||
| 594 | |||
| 595 | coerce 'RepeatedCreateServiceConnectionTokenRequest', | ||
| 596 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::CreateServiceConnectionTokenRequest'->new($_) } @$_ ] }; | ||
| 597 | |||
| 598 | declare 'MapStringCreateServiceConnectionTokenRequest', | ||
| 599 | as HashRef[CreateServiceConnectionTokenRequest()]; | ||
| 600 | |||
| 601 | declare 'DeleteServiceConnectionTokenRequest', | ||
| 602 | as InstanceOf['Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::DeleteServiceConnectionTokenRequest']; | ||
| 603 | |||
| 604 | coerce 'DeleteServiceConnectionTokenRequest', | ||
| 605 | from HashRef, via { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::DeleteServiceConnectionTokenRequest'->new($_) }; | ||
| 606 | |||
| 607 | declare 'RepeatedDeleteServiceConnectionTokenRequest', | ||
| 608 | as ArrayRef[DeleteServiceConnectionTokenRequest()]; | ||
| 609 | |||
| 610 | coerce 'RepeatedDeleteServiceConnectionTokenRequest', | ||
| 611 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkconnectivity::V1::CrossNetworkAutomation::DeleteServiceConnectionTokenRequest'->new($_) } @$_ ] }; | ||
| 612 | |||
| 613 | declare 'MapStringDeleteServiceConnectionTokenRequest', | ||
| 614 | as HashRef[DeleteServiceConnectionTokenRequest()]; | ||
| 615 | |||
| 616 | 1; | ||
| 617 | |||
| 618 | __END__ |