| 1 | package Google::Cloud::Networkservices::V1::AgentGateway::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 'AgentGateway', | ||
| 11 | as InstanceOf['Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway']; | ||
| 12 | |||
| 13 | coerce 'AgentGateway', | ||
| 14 | from HashRef, via { 'Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedAgentGateway', | ||
| 17 | as ArrayRef[AgentGateway()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedAgentGateway', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringAgentGateway', | ||
| 23 | as HashRef[AgentGateway()]; | ||
| 24 | |||
| 25 | declare 'Protocol', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'GoogleManaged', | ||
| 29 | as InstanceOf['Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway::GoogleManaged']; | ||
| 30 | |||
| 31 | coerce 'GoogleManaged', | ||
| 32 | from HashRef, via { 'Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway::GoogleManaged'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedGoogleManaged', | ||
| 35 | as ArrayRef[GoogleManaged()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedGoogleManaged', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway::GoogleManaged'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringGoogleManaged', | ||
| 41 | as HashRef[GoogleManaged()]; | ||
| 42 | |||
| 43 | declare 'GovernedAccessPath', | ||
| 44 | as (Int | Str); | ||
| 45 | |||
| 46 | declare 'SelfManaged', | ||
| 47 | as InstanceOf['Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway::SelfManaged']; | ||
| 48 | |||
| 49 | coerce 'SelfManaged', | ||
| 50 | from HashRef, via { 'Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway::SelfManaged'->new($_) }; | ||
| 51 | |||
| 52 | declare 'RepeatedSelfManaged', | ||
| 53 | as ArrayRef[SelfManaged()]; | ||
| 54 | |||
| 55 | coerce 'RepeatedSelfManaged', | ||
| 56 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway::SelfManaged'->new($_) } @$_ ] }; | ||
| 57 | |||
| 58 | declare 'MapStringSelfManaged', | ||
| 59 | as HashRef[SelfManaged()]; | ||
| 60 | |||
| 61 | declare 'NetworkConfig', | ||
| 62 | as InstanceOf['Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway::NetworkConfig']; | ||
| 63 | |||
| 64 | coerce 'NetworkConfig', | ||
| 65 | from HashRef, via { 'Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway::NetworkConfig'->new($_) }; | ||
| 66 | |||
| 67 | declare 'RepeatedNetworkConfig', | ||
| 68 | as ArrayRef[NetworkConfig()]; | ||
| 69 | |||
| 70 | coerce 'RepeatedNetworkConfig', | ||
| 71 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway::NetworkConfig'->new($_) } @$_ ] }; | ||
| 72 | |||
| 73 | declare 'MapStringNetworkConfig', | ||
| 74 | as HashRef[NetworkConfig()]; | ||
| 75 | |||
| 76 | declare 'Egress', | ||
| 77 | as InstanceOf['Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway::NetworkConfig::Egress']; | ||
| 78 | |||
| 79 | coerce 'Egress', | ||
| 80 | from HashRef, via { 'Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway::NetworkConfig::Egress'->new($_) }; | ||
| 81 | |||
| 82 | declare 'RepeatedEgress', | ||
| 83 | as ArrayRef[Egress()]; | ||
| 84 | |||
| 85 | coerce 'RepeatedEgress', | ||
| 86 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway::NetworkConfig::Egress'->new($_) } @$_ ] }; | ||
| 87 | |||
| 88 | declare 'MapStringEgress', | ||
| 89 | as HashRef[Egress()]; | ||
| 90 | |||
| 91 | declare 'TrustConfig', | ||
| 92 | as InstanceOf['Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway::NetworkConfig::Egress::TrustConfig']; | ||
| 93 | |||
| 94 | coerce 'TrustConfig', | ||
| 95 | from HashRef, via { 'Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway::NetworkConfig::Egress::TrustConfig'->new($_) }; | ||
| 96 | |||
| 97 | declare 'RepeatedTrustConfig', | ||
| 98 | as ArrayRef[TrustConfig()]; | ||
| 99 | |||
| 100 | coerce 'RepeatedTrustConfig', | ||
| 101 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway::NetworkConfig::Egress::TrustConfig'->new($_) } @$_ ] }; | ||
| 102 | |||
| 103 | declare 'MapStringTrustConfig', | ||
| 104 | as HashRef[TrustConfig()]; | ||
| 105 | |||
| 106 | declare 'DnsPeeringConfig', | ||
| 107 | as InstanceOf['Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway::NetworkConfig::DnsPeeringConfig']; | ||
| 108 | |||
| 109 | coerce 'DnsPeeringConfig', | ||
| 110 | from HashRef, via { 'Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway::NetworkConfig::DnsPeeringConfig'->new($_) }; | ||
| 111 | |||
| 112 | declare 'RepeatedDnsPeeringConfig', | ||
| 113 | as ArrayRef[DnsPeeringConfig()]; | ||
| 114 | |||
| 115 | coerce 'RepeatedDnsPeeringConfig', | ||
| 116 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway::NetworkConfig::DnsPeeringConfig'->new($_) } @$_ ] }; | ||
| 117 | |||
| 118 | declare 'MapStringDnsPeeringConfig', | ||
| 119 | as HashRef[DnsPeeringConfig()]; | ||
| 120 | |||
| 121 | declare 'AgentGatewayOutputCard', | ||
| 122 | as InstanceOf['Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway::AgentGatewayOutputCard']; | ||
| 123 | |||
| 124 | coerce 'AgentGatewayOutputCard', | ||
| 125 | from HashRef, via { 'Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway::AgentGatewayOutputCard'->new($_) }; | ||
| 126 | |||
| 127 | declare 'RepeatedAgentGatewayOutputCard', | ||
| 128 | as ArrayRef[AgentGatewayOutputCard()]; | ||
| 129 | |||
| 130 | coerce 'RepeatedAgentGatewayOutputCard', | ||
| 131 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway::AgentGatewayOutputCard'->new($_) } @$_ ] }; | ||
| 132 | |||
| 133 | declare 'MapStringAgentGatewayOutputCard', | ||
| 134 | as HashRef[AgentGatewayOutputCard()]; | ||
| 135 | |||
| 136 | declare 'LabelsEntry', | ||
| 137 | as InstanceOf['Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway::LabelsEntry']; | ||
| 138 | |||
| 139 | coerce 'LabelsEntry', | ||
| 140 | from HashRef, via { 'Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway::LabelsEntry'->new($_) }; | ||
| 141 | |||
| 142 | declare 'RepeatedLabelsEntry', | ||
| 143 | as ArrayRef[LabelsEntry()]; | ||
| 144 | |||
| 145 | coerce 'RepeatedLabelsEntry', | ||
| 146 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::AgentGateway::AgentGateway::LabelsEntry'->new($_) } @$_ ] }; | ||
| 147 | |||
| 148 | declare 'MapStringLabelsEntry', | ||
| 149 | as HashRef[LabelsEntry()]; | ||
| 150 | |||
| 151 | declare 'ListAgentGatewaysRequest', | ||
| 152 | as InstanceOf['Google::Cloud::Networkservices::V1::AgentGateway::ListAgentGatewaysRequest']; | ||
| 153 | |||
| 154 | coerce 'ListAgentGatewaysRequest', | ||
| 155 | from HashRef, via { 'Google::Cloud::Networkservices::V1::AgentGateway::ListAgentGatewaysRequest'->new($_) }; | ||
| 156 | |||
| 157 | declare 'RepeatedListAgentGatewaysRequest', | ||
| 158 | as ArrayRef[ListAgentGatewaysRequest()]; | ||
| 159 | |||
| 160 | coerce 'RepeatedListAgentGatewaysRequest', | ||
| 161 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::AgentGateway::ListAgentGatewaysRequest'->new($_) } @$_ ] }; | ||
| 162 | |||
| 163 | declare 'MapStringListAgentGatewaysRequest', | ||
| 164 | as HashRef[ListAgentGatewaysRequest()]; | ||
| 165 | |||
| 166 | declare 'ListAgentGatewaysResponse', | ||
| 167 | as InstanceOf['Google::Cloud::Networkservices::V1::AgentGateway::ListAgentGatewaysResponse']; | ||
| 168 | |||
| 169 | coerce 'ListAgentGatewaysResponse', | ||
| 170 | from HashRef, via { 'Google::Cloud::Networkservices::V1::AgentGateway::ListAgentGatewaysResponse'->new($_) }; | ||
| 171 | |||
| 172 | declare 'RepeatedListAgentGatewaysResponse', | ||
| 173 | as ArrayRef[ListAgentGatewaysResponse()]; | ||
| 174 | |||
| 175 | coerce 'RepeatedListAgentGatewaysResponse', | ||
| 176 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::AgentGateway::ListAgentGatewaysResponse'->new($_) } @$_ ] }; | ||
| 177 | |||
| 178 | declare 'MapStringListAgentGatewaysResponse', | ||
| 179 | as HashRef[ListAgentGatewaysResponse()]; | ||
| 180 | |||
| 181 | declare 'GetAgentGatewayRequest', | ||
| 182 | as InstanceOf['Google::Cloud::Networkservices::V1::AgentGateway::GetAgentGatewayRequest']; | ||
| 183 | |||
| 184 | coerce 'GetAgentGatewayRequest', | ||
| 185 | from HashRef, via { 'Google::Cloud::Networkservices::V1::AgentGateway::GetAgentGatewayRequest'->new($_) }; | ||
| 186 | |||
| 187 | declare 'RepeatedGetAgentGatewayRequest', | ||
| 188 | as ArrayRef[GetAgentGatewayRequest()]; | ||
| 189 | |||
| 190 | coerce 'RepeatedGetAgentGatewayRequest', | ||
| 191 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::AgentGateway::GetAgentGatewayRequest'->new($_) } @$_ ] }; | ||
| 192 | |||
| 193 | declare 'MapStringGetAgentGatewayRequest', | ||
| 194 | as HashRef[GetAgentGatewayRequest()]; | ||
| 195 | |||
| 196 | declare 'CreateAgentGatewayRequest', | ||
| 197 | as InstanceOf['Google::Cloud::Networkservices::V1::AgentGateway::CreateAgentGatewayRequest']; | ||
| 198 | |||
| 199 | coerce 'CreateAgentGatewayRequest', | ||
| 200 | from HashRef, via { 'Google::Cloud::Networkservices::V1::AgentGateway::CreateAgentGatewayRequest'->new($_) }; | ||
| 201 | |||
| 202 | declare 'RepeatedCreateAgentGatewayRequest', | ||
| 203 | as ArrayRef[CreateAgentGatewayRequest()]; | ||
| 204 | |||
| 205 | coerce 'RepeatedCreateAgentGatewayRequest', | ||
| 206 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::AgentGateway::CreateAgentGatewayRequest'->new($_) } @$_ ] }; | ||
| 207 | |||
| 208 | declare 'MapStringCreateAgentGatewayRequest', | ||
| 209 | as HashRef[CreateAgentGatewayRequest()]; | ||
| 210 | |||
| 211 | declare 'UpdateAgentGatewayRequest', | ||
| 212 | as InstanceOf['Google::Cloud::Networkservices::V1::AgentGateway::UpdateAgentGatewayRequest']; | ||
| 213 | |||
| 214 | coerce 'UpdateAgentGatewayRequest', | ||
| 215 | from HashRef, via { 'Google::Cloud::Networkservices::V1::AgentGateway::UpdateAgentGatewayRequest'->new($_) }; | ||
| 216 | |||
| 217 | declare 'RepeatedUpdateAgentGatewayRequest', | ||
| 218 | as ArrayRef[UpdateAgentGatewayRequest()]; | ||
| 219 | |||
| 220 | coerce 'RepeatedUpdateAgentGatewayRequest', | ||
| 221 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::AgentGateway::UpdateAgentGatewayRequest'->new($_) } @$_ ] }; | ||
| 222 | |||
| 223 | declare 'MapStringUpdateAgentGatewayRequest', | ||
| 224 | as HashRef[UpdateAgentGatewayRequest()]; | ||
| 225 | |||
| 226 | declare 'DeleteAgentGatewayRequest', | ||
| 227 | as InstanceOf['Google::Cloud::Networkservices::V1::AgentGateway::DeleteAgentGatewayRequest']; | ||
| 228 | |||
| 229 | coerce 'DeleteAgentGatewayRequest', | ||
| 230 | from HashRef, via { 'Google::Cloud::Networkservices::V1::AgentGateway::DeleteAgentGatewayRequest'->new($_) }; | ||
| 231 | |||
| 232 | declare 'RepeatedDeleteAgentGatewayRequest', | ||
| 233 | as ArrayRef[DeleteAgentGatewayRequest()]; | ||
| 234 | |||
| 235 | coerce 'RepeatedDeleteAgentGatewayRequest', | ||
| 236 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networkservices::V1::AgentGateway::DeleteAgentGatewayRequest'->new($_) } @$_ ] }; | ||
| 237 | |||
| 238 | declare 'MapStringDeleteAgentGatewayRequest', | ||
| 239 | as HashRef[DeleteAgentGatewayRequest()]; | ||
| 240 | |||
| 241 | 1; | ||
| 242 | |||
| 243 | __END__ |