| 1 | package Google::Cloud::Networksecurity::V1::GatewaySecurityPolicyRule::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 'GatewaySecurityPolicyRule', | ||
| 11 | as InstanceOf['Google::Cloud::Networksecurity::V1::GatewaySecurityPolicyRule::GatewaySecurityPolicyRule']; | ||
| 12 | |||
| 13 | coerce 'GatewaySecurityPolicyRule', | ||
| 14 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::GatewaySecurityPolicyRule::GatewaySecurityPolicyRule'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedGatewaySecurityPolicyRule', | ||
| 17 | as ArrayRef[GatewaySecurityPolicyRule()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedGatewaySecurityPolicyRule', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::GatewaySecurityPolicyRule::GatewaySecurityPolicyRule'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringGatewaySecurityPolicyRule', | ||
| 23 | as HashRef[GatewaySecurityPolicyRule()]; | ||
| 24 | |||
| 25 | declare 'BasicProfile', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'CreateGatewaySecurityPolicyRuleRequest', | ||
| 29 | as InstanceOf['Google::Cloud::Networksecurity::V1::GatewaySecurityPolicyRule::CreateGatewaySecurityPolicyRuleRequest']; | ||
| 30 | |||
| 31 | coerce 'CreateGatewaySecurityPolicyRuleRequest', | ||
| 32 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::GatewaySecurityPolicyRule::CreateGatewaySecurityPolicyRuleRequest'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedCreateGatewaySecurityPolicyRuleRequest', | ||
| 35 | as ArrayRef[CreateGatewaySecurityPolicyRuleRequest()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedCreateGatewaySecurityPolicyRuleRequest', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::GatewaySecurityPolicyRule::CreateGatewaySecurityPolicyRuleRequest'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringCreateGatewaySecurityPolicyRuleRequest', | ||
| 41 | as HashRef[CreateGatewaySecurityPolicyRuleRequest()]; | ||
| 42 | |||
| 43 | declare 'GetGatewaySecurityPolicyRuleRequest', | ||
| 44 | as InstanceOf['Google::Cloud::Networksecurity::V1::GatewaySecurityPolicyRule::GetGatewaySecurityPolicyRuleRequest']; | ||
| 45 | |||
| 46 | coerce 'GetGatewaySecurityPolicyRuleRequest', | ||
| 47 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::GatewaySecurityPolicyRule::GetGatewaySecurityPolicyRuleRequest'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedGetGatewaySecurityPolicyRuleRequest', | ||
| 50 | as ArrayRef[GetGatewaySecurityPolicyRuleRequest()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedGetGatewaySecurityPolicyRuleRequest', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::GatewaySecurityPolicyRule::GetGatewaySecurityPolicyRuleRequest'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringGetGatewaySecurityPolicyRuleRequest', | ||
| 56 | as HashRef[GetGatewaySecurityPolicyRuleRequest()]; | ||
| 57 | |||
| 58 | declare 'UpdateGatewaySecurityPolicyRuleRequest', | ||
| 59 | as InstanceOf['Google::Cloud::Networksecurity::V1::GatewaySecurityPolicyRule::UpdateGatewaySecurityPolicyRuleRequest']; | ||
| 60 | |||
| 61 | coerce 'UpdateGatewaySecurityPolicyRuleRequest', | ||
| 62 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::GatewaySecurityPolicyRule::UpdateGatewaySecurityPolicyRuleRequest'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedUpdateGatewaySecurityPolicyRuleRequest', | ||
| 65 | as ArrayRef[UpdateGatewaySecurityPolicyRuleRequest()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedUpdateGatewaySecurityPolicyRuleRequest', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::GatewaySecurityPolicyRule::UpdateGatewaySecurityPolicyRuleRequest'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringUpdateGatewaySecurityPolicyRuleRequest', | ||
| 71 | as HashRef[UpdateGatewaySecurityPolicyRuleRequest()]; | ||
| 72 | |||
| 73 | declare 'ListGatewaySecurityPolicyRulesRequest', | ||
| 74 | as InstanceOf['Google::Cloud::Networksecurity::V1::GatewaySecurityPolicyRule::ListGatewaySecurityPolicyRulesRequest']; | ||
| 75 | |||
| 76 | coerce 'ListGatewaySecurityPolicyRulesRequest', | ||
| 77 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::GatewaySecurityPolicyRule::ListGatewaySecurityPolicyRulesRequest'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedListGatewaySecurityPolicyRulesRequest', | ||
| 80 | as ArrayRef[ListGatewaySecurityPolicyRulesRequest()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedListGatewaySecurityPolicyRulesRequest', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::GatewaySecurityPolicyRule::ListGatewaySecurityPolicyRulesRequest'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringListGatewaySecurityPolicyRulesRequest', | ||
| 86 | as HashRef[ListGatewaySecurityPolicyRulesRequest()]; | ||
| 87 | |||
| 88 | declare 'ListGatewaySecurityPolicyRulesResponse', | ||
| 89 | as InstanceOf['Google::Cloud::Networksecurity::V1::GatewaySecurityPolicyRule::ListGatewaySecurityPolicyRulesResponse']; | ||
| 90 | |||
| 91 | coerce 'ListGatewaySecurityPolicyRulesResponse', | ||
| 92 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::GatewaySecurityPolicyRule::ListGatewaySecurityPolicyRulesResponse'->new($_) }; | ||
| 93 | |||
| 94 | declare 'RepeatedListGatewaySecurityPolicyRulesResponse', | ||
| 95 | as ArrayRef[ListGatewaySecurityPolicyRulesResponse()]; | ||
| 96 | |||
| 97 | coerce 'RepeatedListGatewaySecurityPolicyRulesResponse', | ||
| 98 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::GatewaySecurityPolicyRule::ListGatewaySecurityPolicyRulesResponse'->new($_) } @$_ ] }; | ||
| 99 | |||
| 100 | declare 'MapStringListGatewaySecurityPolicyRulesResponse', | ||
| 101 | as HashRef[ListGatewaySecurityPolicyRulesResponse()]; | ||
| 102 | |||
| 103 | declare 'DeleteGatewaySecurityPolicyRuleRequest', | ||
| 104 | as InstanceOf['Google::Cloud::Networksecurity::V1::GatewaySecurityPolicyRule::DeleteGatewaySecurityPolicyRuleRequest']; | ||
| 105 | |||
| 106 | coerce 'DeleteGatewaySecurityPolicyRuleRequest', | ||
| 107 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::GatewaySecurityPolicyRule::DeleteGatewaySecurityPolicyRuleRequest'->new($_) }; | ||
| 108 | |||
| 109 | declare 'RepeatedDeleteGatewaySecurityPolicyRuleRequest', | ||
| 110 | as ArrayRef[DeleteGatewaySecurityPolicyRuleRequest()]; | ||
| 111 | |||
| 112 | coerce 'RepeatedDeleteGatewaySecurityPolicyRuleRequest', | ||
| 113 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::GatewaySecurityPolicyRule::DeleteGatewaySecurityPolicyRuleRequest'->new($_) } @$_ ] }; | ||
| 114 | |||
| 115 | declare 'MapStringDeleteGatewaySecurityPolicyRuleRequest', | ||
| 116 | as HashRef[DeleteGatewaySecurityPolicyRuleRequest()]; | ||
| 117 | |||
| 118 | 1; | ||
| 119 | |||
| 120 | __END__ |