| 1 | package Google::Cloud::Networksecurity::V1::AuthzPolicy::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 'AuthzPolicy', | ||
| 11 | as InstanceOf['Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy']; | ||
| 12 | |||
| 13 | coerce 'AuthzPolicy', | ||
| 14 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedAuthzPolicy', | ||
| 17 | as ArrayRef[AuthzPolicy()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedAuthzPolicy', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringAuthzPolicy', | ||
| 23 | as HashRef[AuthzPolicy()]; | ||
| 24 | |||
| 25 | declare 'LoadBalancingScheme', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'AuthzAction', | ||
| 29 | as (Int | Str); | ||
| 30 | |||
| 31 | declare 'PolicyProfile', | ||
| 32 | as (Int | Str); | ||
| 33 | |||
| 34 | declare 'Target', | ||
| 35 | as InstanceOf['Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::Target']; | ||
| 36 | |||
| 37 | coerce 'Target', | ||
| 38 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::Target'->new($_) }; | ||
| 39 | |||
| 40 | declare 'RepeatedTarget', | ||
| 41 | as ArrayRef[Target()]; | ||
| 42 | |||
| 43 | coerce 'RepeatedTarget', | ||
| 44 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::Target'->new($_) } @$_ ] }; | ||
| 45 | |||
| 46 | declare 'MapStringTarget', | ||
| 47 | as HashRef[Target()]; | ||
| 48 | |||
| 49 | declare 'AuthzRule', | ||
| 50 | as InstanceOf['Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule']; | ||
| 51 | |||
| 52 | coerce 'AuthzRule', | ||
| 53 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule'->new($_) }; | ||
| 54 | |||
| 55 | declare 'RepeatedAuthzRule', | ||
| 56 | as ArrayRef[AuthzRule()]; | ||
| 57 | |||
| 58 | coerce 'RepeatedAuthzRule', | ||
| 59 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule'->new($_) } @$_ ] }; | ||
| 60 | |||
| 61 | declare 'MapStringAuthzRule', | ||
| 62 | as HashRef[AuthzRule()]; | ||
| 63 | |||
| 64 | declare 'StringMatch', | ||
| 65 | as InstanceOf['Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::StringMatch']; | ||
| 66 | |||
| 67 | coerce 'StringMatch', | ||
| 68 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::StringMatch'->new($_) }; | ||
| 69 | |||
| 70 | declare 'RepeatedStringMatch', | ||
| 71 | as ArrayRef[StringMatch()]; | ||
| 72 | |||
| 73 | coerce 'RepeatedStringMatch', | ||
| 74 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::StringMatch'->new($_) } @$_ ] }; | ||
| 75 | |||
| 76 | declare 'MapStringStringMatch', | ||
| 77 | as HashRef[StringMatch()]; | ||
| 78 | |||
| 79 | declare 'IpBlock', | ||
| 80 | as InstanceOf['Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::IpBlock']; | ||
| 81 | |||
| 82 | coerce 'IpBlock', | ||
| 83 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::IpBlock'->new($_) }; | ||
| 84 | |||
| 85 | declare 'RepeatedIpBlock', | ||
| 86 | as ArrayRef[IpBlock()]; | ||
| 87 | |||
| 88 | coerce 'RepeatedIpBlock', | ||
| 89 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::IpBlock'->new($_) } @$_ ] }; | ||
| 90 | |||
| 91 | declare 'MapStringIpBlock', | ||
| 92 | as HashRef[IpBlock()]; | ||
| 93 | |||
| 94 | declare 'RequestResource', | ||
| 95 | as InstanceOf['Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::RequestResource']; | ||
| 96 | |||
| 97 | coerce 'RequestResource', | ||
| 98 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::RequestResource'->new($_) }; | ||
| 99 | |||
| 100 | declare 'RepeatedRequestResource', | ||
| 101 | as ArrayRef[RequestResource()]; | ||
| 102 | |||
| 103 | coerce 'RepeatedRequestResource', | ||
| 104 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::RequestResource'->new($_) } @$_ ] }; | ||
| 105 | |||
| 106 | declare 'MapStringRequestResource', | ||
| 107 | as HashRef[RequestResource()]; | ||
| 108 | |||
| 109 | declare 'TagValueIdSet', | ||
| 110 | as InstanceOf['Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::RequestResource::TagValueIdSet']; | ||
| 111 | |||
| 112 | coerce 'TagValueIdSet', | ||
| 113 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::RequestResource::TagValueIdSet'->new($_) }; | ||
| 114 | |||
| 115 | declare 'RepeatedTagValueIdSet', | ||
| 116 | as ArrayRef[TagValueIdSet()]; | ||
| 117 | |||
| 118 | coerce 'RepeatedTagValueIdSet', | ||
| 119 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::RequestResource::TagValueIdSet'->new($_) } @$_ ] }; | ||
| 120 | |||
| 121 | declare 'MapStringTagValueIdSet', | ||
| 122 | as HashRef[TagValueIdSet()]; | ||
| 123 | |||
| 124 | declare 'HeaderMatch', | ||
| 125 | as InstanceOf['Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::HeaderMatch']; | ||
| 126 | |||
| 127 | coerce 'HeaderMatch', | ||
| 128 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::HeaderMatch'->new($_) }; | ||
| 129 | |||
| 130 | declare 'RepeatedHeaderMatch', | ||
| 131 | as ArrayRef[HeaderMatch()]; | ||
| 132 | |||
| 133 | coerce 'RepeatedHeaderMatch', | ||
| 134 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::HeaderMatch'->new($_) } @$_ ] }; | ||
| 135 | |||
| 136 | declare 'MapStringHeaderMatch', | ||
| 137 | as HashRef[HeaderMatch()]; | ||
| 138 | |||
| 139 | declare 'Principal', | ||
| 140 | as InstanceOf['Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::Principal']; | ||
| 141 | |||
| 142 | coerce 'Principal', | ||
| 143 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::Principal'->new($_) }; | ||
| 144 | |||
| 145 | declare 'RepeatedPrincipal', | ||
| 146 | as ArrayRef[Principal()]; | ||
| 147 | |||
| 148 | coerce 'RepeatedPrincipal', | ||
| 149 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::Principal'->new($_) } @$_ ] }; | ||
| 150 | |||
| 151 | declare 'MapStringPrincipal', | ||
| 152 | as HashRef[Principal()]; | ||
| 153 | |||
| 154 | declare 'PrincipalSelector', | ||
| 155 | as (Int | Str); | ||
| 156 | |||
| 157 | declare 'From', | ||
| 158 | as InstanceOf['Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::From']; | ||
| 159 | |||
| 160 | coerce 'From', | ||
| 161 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::From'->new($_) }; | ||
| 162 | |||
| 163 | declare 'RepeatedFrom', | ||
| 164 | as ArrayRef[From()]; | ||
| 165 | |||
| 166 | coerce 'RepeatedFrom', | ||
| 167 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::From'->new($_) } @$_ ] }; | ||
| 168 | |||
| 169 | declare 'MapStringFrom', | ||
| 170 | as HashRef[From()]; | ||
| 171 | |||
| 172 | declare 'RequestSource', | ||
| 173 | as InstanceOf['Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::From::RequestSource']; | ||
| 174 | |||
| 175 | coerce 'RequestSource', | ||
| 176 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::From::RequestSource'->new($_) }; | ||
| 177 | |||
| 178 | declare 'RepeatedRequestSource', | ||
| 179 | as ArrayRef[RequestSource()]; | ||
| 180 | |||
| 181 | coerce 'RepeatedRequestSource', | ||
| 182 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::From::RequestSource'->new($_) } @$_ ] }; | ||
| 183 | |||
| 184 | declare 'MapStringRequestSource', | ||
| 185 | as HashRef[RequestSource()]; | ||
| 186 | |||
| 187 | declare 'To', | ||
| 188 | as InstanceOf['Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::To']; | ||
| 189 | |||
| 190 | coerce 'To', | ||
| 191 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::To'->new($_) }; | ||
| 192 | |||
| 193 | declare 'RepeatedTo', | ||
| 194 | as ArrayRef[To()]; | ||
| 195 | |||
| 196 | coerce 'RepeatedTo', | ||
| 197 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::To'->new($_) } @$_ ] }; | ||
| 198 | |||
| 199 | declare 'MapStringTo', | ||
| 200 | as HashRef[To()]; | ||
| 201 | |||
| 202 | declare 'RequestOperation', | ||
| 203 | as InstanceOf['Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::To::RequestOperation']; | ||
| 204 | |||
| 205 | coerce 'RequestOperation', | ||
| 206 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::To::RequestOperation'->new($_) }; | ||
| 207 | |||
| 208 | declare 'RepeatedRequestOperation', | ||
| 209 | as ArrayRef[RequestOperation()]; | ||
| 210 | |||
| 211 | coerce 'RepeatedRequestOperation', | ||
| 212 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::To::RequestOperation'->new($_) } @$_ ] }; | ||
| 213 | |||
| 214 | declare 'MapStringRequestOperation', | ||
| 215 | as HashRef[RequestOperation()]; | ||
| 216 | |||
| 217 | declare 'BaseProtocolMethodsOption', | ||
| 218 | as (Int | Str); | ||
| 219 | |||
| 220 | declare 'HeaderSet', | ||
| 221 | as InstanceOf['Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::To::RequestOperation::HeaderSet']; | ||
| 222 | |||
| 223 | coerce 'HeaderSet', | ||
| 224 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::To::RequestOperation::HeaderSet'->new($_) }; | ||
| 225 | |||
| 226 | declare 'RepeatedHeaderSet', | ||
| 227 | as ArrayRef[HeaderSet()]; | ||
| 228 | |||
| 229 | coerce 'RepeatedHeaderSet', | ||
| 230 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::To::RequestOperation::HeaderSet'->new($_) } @$_ ] }; | ||
| 231 | |||
| 232 | declare 'MapStringHeaderSet', | ||
| 233 | as HashRef[HeaderSet()]; | ||
| 234 | |||
| 235 | declare 'MCPMethod', | ||
| 236 | as InstanceOf['Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::To::RequestOperation::MCPMethod']; | ||
| 237 | |||
| 238 | coerce 'MCPMethod', | ||
| 239 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::To::RequestOperation::MCPMethod'->new($_) }; | ||
| 240 | |||
| 241 | declare 'RepeatedMCPMethod', | ||
| 242 | as ArrayRef[MCPMethod()]; | ||
| 243 | |||
| 244 | coerce 'RepeatedMCPMethod', | ||
| 245 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::To::RequestOperation::MCPMethod'->new($_) } @$_ ] }; | ||
| 246 | |||
| 247 | declare 'MapStringMCPMethod', | ||
| 248 | as HashRef[MCPMethod()]; | ||
| 249 | |||
| 250 | declare 'MCP', | ||
| 251 | as InstanceOf['Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::To::RequestOperation::MCP']; | ||
| 252 | |||
| 253 | coerce 'MCP', | ||
| 254 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::To::RequestOperation::MCP'->new($_) }; | ||
| 255 | |||
| 256 | declare 'RepeatedMCP', | ||
| 257 | as ArrayRef[MCP()]; | ||
| 258 | |||
| 259 | coerce 'RepeatedMCP', | ||
| 260 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::AuthzRule::To::RequestOperation::MCP'->new($_) } @$_ ] }; | ||
| 261 | |||
| 262 | declare 'MapStringMCP', | ||
| 263 | as HashRef[MCP()]; | ||
| 264 | |||
| 265 | declare 'CustomProvider', | ||
| 266 | as InstanceOf['Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::CustomProvider']; | ||
| 267 | |||
| 268 | coerce 'CustomProvider', | ||
| 269 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::CustomProvider'->new($_) }; | ||
| 270 | |||
| 271 | declare 'RepeatedCustomProvider', | ||
| 272 | as ArrayRef[CustomProvider()]; | ||
| 273 | |||
| 274 | coerce 'RepeatedCustomProvider', | ||
| 275 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::CustomProvider'->new($_) } @$_ ] }; | ||
| 276 | |||
| 277 | declare 'MapStringCustomProvider', | ||
| 278 | as HashRef[CustomProvider()]; | ||
| 279 | |||
| 280 | declare 'CloudIap', | ||
| 281 | as InstanceOf['Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::CustomProvider::CloudIap']; | ||
| 282 | |||
| 283 | coerce 'CloudIap', | ||
| 284 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::CustomProvider::CloudIap'->new($_) }; | ||
| 285 | |||
| 286 | declare 'RepeatedCloudIap', | ||
| 287 | as ArrayRef[CloudIap()]; | ||
| 288 | |||
| 289 | coerce 'RepeatedCloudIap', | ||
| 290 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::CustomProvider::CloudIap'->new($_) } @$_ ] }; | ||
| 291 | |||
| 292 | declare 'MapStringCloudIap', | ||
| 293 | as HashRef[CloudIap()]; | ||
| 294 | |||
| 295 | declare 'AuthzExtension', | ||
| 296 | as InstanceOf['Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::CustomProvider::AuthzExtension']; | ||
| 297 | |||
| 298 | coerce 'AuthzExtension', | ||
| 299 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::CustomProvider::AuthzExtension'->new($_) }; | ||
| 300 | |||
| 301 | declare 'RepeatedAuthzExtension', | ||
| 302 | as ArrayRef[AuthzExtension()]; | ||
| 303 | |||
| 304 | coerce 'RepeatedAuthzExtension', | ||
| 305 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::CustomProvider::AuthzExtension'->new($_) } @$_ ] }; | ||
| 306 | |||
| 307 | declare 'MapStringAuthzExtension', | ||
| 308 | as HashRef[AuthzExtension()]; | ||
| 309 | |||
| 310 | declare 'LabelsEntry', | ||
| 311 | as InstanceOf['Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::LabelsEntry']; | ||
| 312 | |||
| 313 | coerce 'LabelsEntry', | ||
| 314 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::LabelsEntry'->new($_) }; | ||
| 315 | |||
| 316 | declare 'RepeatedLabelsEntry', | ||
| 317 | as ArrayRef[LabelsEntry()]; | ||
| 318 | |||
| 319 | coerce 'RepeatedLabelsEntry', | ||
| 320 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::AuthzPolicy::LabelsEntry'->new($_) } @$_ ] }; | ||
| 321 | |||
| 322 | declare 'MapStringLabelsEntry', | ||
| 323 | as HashRef[LabelsEntry()]; | ||
| 324 | |||
| 325 | declare 'CreateAuthzPolicyRequest', | ||
| 326 | as InstanceOf['Google::Cloud::Networksecurity::V1::AuthzPolicy::CreateAuthzPolicyRequest']; | ||
| 327 | |||
| 328 | coerce 'CreateAuthzPolicyRequest', | ||
| 329 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::CreateAuthzPolicyRequest'->new($_) }; | ||
| 330 | |||
| 331 | declare 'RepeatedCreateAuthzPolicyRequest', | ||
| 332 | as ArrayRef[CreateAuthzPolicyRequest()]; | ||
| 333 | |||
| 334 | coerce 'RepeatedCreateAuthzPolicyRequest', | ||
| 335 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::CreateAuthzPolicyRequest'->new($_) } @$_ ] }; | ||
| 336 | |||
| 337 | declare 'MapStringCreateAuthzPolicyRequest', | ||
| 338 | as HashRef[CreateAuthzPolicyRequest()]; | ||
| 339 | |||
| 340 | declare 'ListAuthzPoliciesRequest', | ||
| 341 | as InstanceOf['Google::Cloud::Networksecurity::V1::AuthzPolicy::ListAuthzPoliciesRequest']; | ||
| 342 | |||
| 343 | coerce 'ListAuthzPoliciesRequest', | ||
| 344 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::ListAuthzPoliciesRequest'->new($_) }; | ||
| 345 | |||
| 346 | declare 'RepeatedListAuthzPoliciesRequest', | ||
| 347 | as ArrayRef[ListAuthzPoliciesRequest()]; | ||
| 348 | |||
| 349 | coerce 'RepeatedListAuthzPoliciesRequest', | ||
| 350 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::ListAuthzPoliciesRequest'->new($_) } @$_ ] }; | ||
| 351 | |||
| 352 | declare 'MapStringListAuthzPoliciesRequest', | ||
| 353 | as HashRef[ListAuthzPoliciesRequest()]; | ||
| 354 | |||
| 355 | declare 'ListAuthzPoliciesResponse', | ||
| 356 | as InstanceOf['Google::Cloud::Networksecurity::V1::AuthzPolicy::ListAuthzPoliciesResponse']; | ||
| 357 | |||
| 358 | coerce 'ListAuthzPoliciesResponse', | ||
| 359 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::ListAuthzPoliciesResponse'->new($_) }; | ||
| 360 | |||
| 361 | declare 'RepeatedListAuthzPoliciesResponse', | ||
| 362 | as ArrayRef[ListAuthzPoliciesResponse()]; | ||
| 363 | |||
| 364 | coerce 'RepeatedListAuthzPoliciesResponse', | ||
| 365 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::ListAuthzPoliciesResponse'->new($_) } @$_ ] }; | ||
| 366 | |||
| 367 | declare 'MapStringListAuthzPoliciesResponse', | ||
| 368 | as HashRef[ListAuthzPoliciesResponse()]; | ||
| 369 | |||
| 370 | declare 'GetAuthzPolicyRequest', | ||
| 371 | as InstanceOf['Google::Cloud::Networksecurity::V1::AuthzPolicy::GetAuthzPolicyRequest']; | ||
| 372 | |||
| 373 | coerce 'GetAuthzPolicyRequest', | ||
| 374 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::GetAuthzPolicyRequest'->new($_) }; | ||
| 375 | |||
| 376 | declare 'RepeatedGetAuthzPolicyRequest', | ||
| 377 | as ArrayRef[GetAuthzPolicyRequest()]; | ||
| 378 | |||
| 379 | coerce 'RepeatedGetAuthzPolicyRequest', | ||
| 380 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::GetAuthzPolicyRequest'->new($_) } @$_ ] }; | ||
| 381 | |||
| 382 | declare 'MapStringGetAuthzPolicyRequest', | ||
| 383 | as HashRef[GetAuthzPolicyRequest()]; | ||
| 384 | |||
| 385 | declare 'UpdateAuthzPolicyRequest', | ||
| 386 | as InstanceOf['Google::Cloud::Networksecurity::V1::AuthzPolicy::UpdateAuthzPolicyRequest']; | ||
| 387 | |||
| 388 | coerce 'UpdateAuthzPolicyRequest', | ||
| 389 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::UpdateAuthzPolicyRequest'->new($_) }; | ||
| 390 | |||
| 391 | declare 'RepeatedUpdateAuthzPolicyRequest', | ||
| 392 | as ArrayRef[UpdateAuthzPolicyRequest()]; | ||
| 393 | |||
| 394 | coerce 'RepeatedUpdateAuthzPolicyRequest', | ||
| 395 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::UpdateAuthzPolicyRequest'->new($_) } @$_ ] }; | ||
| 396 | |||
| 397 | declare 'MapStringUpdateAuthzPolicyRequest', | ||
| 398 | as HashRef[UpdateAuthzPolicyRequest()]; | ||
| 399 | |||
| 400 | declare 'DeleteAuthzPolicyRequest', | ||
| 401 | as InstanceOf['Google::Cloud::Networksecurity::V1::AuthzPolicy::DeleteAuthzPolicyRequest']; | ||
| 402 | |||
| 403 | coerce 'DeleteAuthzPolicyRequest', | ||
| 404 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::DeleteAuthzPolicyRequest'->new($_) }; | ||
| 405 | |||
| 406 | declare 'RepeatedDeleteAuthzPolicyRequest', | ||
| 407 | as ArrayRef[DeleteAuthzPolicyRequest()]; | ||
| 408 | |||
| 409 | coerce 'RepeatedDeleteAuthzPolicyRequest', | ||
| 410 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::AuthzPolicy::DeleteAuthzPolicyRequest'->new($_) } @$_ ] }; | ||
| 411 | |||
| 412 | declare 'MapStringDeleteAuthzPolicyRequest', | ||
| 413 | as HashRef[DeleteAuthzPolicyRequest()]; | ||
| 414 | |||
| 415 | 1; | ||
| 416 | |||
| 417 | __END__ |