| 1 | package Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::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 'ClientTlsPolicy', | ||
| 11 | as InstanceOf['Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::ClientTlsPolicy']; | ||
| 12 | |||
| 13 | coerce 'ClientTlsPolicy', | ||
| 14 | from HashRef, via { 'Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::ClientTlsPolicy'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedClientTlsPolicy', | ||
| 17 | as ArrayRef[ClientTlsPolicy()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedClientTlsPolicy', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::ClientTlsPolicy'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringClientTlsPolicy', | ||
| 23 | as HashRef[ClientTlsPolicy()]; | ||
| 24 | |||
| 25 | declare 'LabelsEntry', | ||
| 26 | as InstanceOf['Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::ClientTlsPolicy::LabelsEntry']; | ||
| 27 | |||
| 28 | coerce 'LabelsEntry', | ||
| 29 | from HashRef, via { 'Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::ClientTlsPolicy::LabelsEntry'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedLabelsEntry', | ||
| 32 | as ArrayRef[LabelsEntry()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedLabelsEntry', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::ClientTlsPolicy::LabelsEntry'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringLabelsEntry', | ||
| 38 | as HashRef[LabelsEntry()]; | ||
| 39 | |||
| 40 | declare 'ListClientTlsPoliciesRequest', | ||
| 41 | as InstanceOf['Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::ListClientTlsPoliciesRequest']; | ||
| 42 | |||
| 43 | coerce 'ListClientTlsPoliciesRequest', | ||
| 44 | from HashRef, via { 'Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::ListClientTlsPoliciesRequest'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedListClientTlsPoliciesRequest', | ||
| 47 | as ArrayRef[ListClientTlsPoliciesRequest()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedListClientTlsPoliciesRequest', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::ListClientTlsPoliciesRequest'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringListClientTlsPoliciesRequest', | ||
| 53 | as HashRef[ListClientTlsPoliciesRequest()]; | ||
| 54 | |||
| 55 | declare 'ListClientTlsPoliciesResponse', | ||
| 56 | as InstanceOf['Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::ListClientTlsPoliciesResponse']; | ||
| 57 | |||
| 58 | coerce 'ListClientTlsPoliciesResponse', | ||
| 59 | from HashRef, via { 'Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::ListClientTlsPoliciesResponse'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedListClientTlsPoliciesResponse', | ||
| 62 | as ArrayRef[ListClientTlsPoliciesResponse()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedListClientTlsPoliciesResponse', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::ListClientTlsPoliciesResponse'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringListClientTlsPoliciesResponse', | ||
| 68 | as HashRef[ListClientTlsPoliciesResponse()]; | ||
| 69 | |||
| 70 | declare 'GetClientTlsPolicyRequest', | ||
| 71 | as InstanceOf['Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::GetClientTlsPolicyRequest']; | ||
| 72 | |||
| 73 | coerce 'GetClientTlsPolicyRequest', | ||
| 74 | from HashRef, via { 'Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::GetClientTlsPolicyRequest'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedGetClientTlsPolicyRequest', | ||
| 77 | as ArrayRef[GetClientTlsPolicyRequest()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedGetClientTlsPolicyRequest', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::GetClientTlsPolicyRequest'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringGetClientTlsPolicyRequest', | ||
| 83 | as HashRef[GetClientTlsPolicyRequest()]; | ||
| 84 | |||
| 85 | declare 'CreateClientTlsPolicyRequest', | ||
| 86 | as InstanceOf['Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::CreateClientTlsPolicyRequest']; | ||
| 87 | |||
| 88 | coerce 'CreateClientTlsPolicyRequest', | ||
| 89 | from HashRef, via { 'Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::CreateClientTlsPolicyRequest'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedCreateClientTlsPolicyRequest', | ||
| 92 | as ArrayRef[CreateClientTlsPolicyRequest()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedCreateClientTlsPolicyRequest', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::CreateClientTlsPolicyRequest'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringCreateClientTlsPolicyRequest', | ||
| 98 | as HashRef[CreateClientTlsPolicyRequest()]; | ||
| 99 | |||
| 100 | declare 'UpdateClientTlsPolicyRequest', | ||
| 101 | as InstanceOf['Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::UpdateClientTlsPolicyRequest']; | ||
| 102 | |||
| 103 | coerce 'UpdateClientTlsPolicyRequest', | ||
| 104 | from HashRef, via { 'Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::UpdateClientTlsPolicyRequest'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedUpdateClientTlsPolicyRequest', | ||
| 107 | as ArrayRef[UpdateClientTlsPolicyRequest()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedUpdateClientTlsPolicyRequest', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::UpdateClientTlsPolicyRequest'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringUpdateClientTlsPolicyRequest', | ||
| 113 | as HashRef[UpdateClientTlsPolicyRequest()]; | ||
| 114 | |||
| 115 | declare 'DeleteClientTlsPolicyRequest', | ||
| 116 | as InstanceOf['Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::DeleteClientTlsPolicyRequest']; | ||
| 117 | |||
| 118 | coerce 'DeleteClientTlsPolicyRequest', | ||
| 119 | from HashRef, via { 'Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::DeleteClientTlsPolicyRequest'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedDeleteClientTlsPolicyRequest', | ||
| 122 | as ArrayRef[DeleteClientTlsPolicyRequest()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedDeleteClientTlsPolicyRequest', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1beta1::ClientTlsPolicy::DeleteClientTlsPolicyRequest'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringDeleteClientTlsPolicyRequest', | ||
| 128 | as HashRef[DeleteClientTlsPolicyRequest()]; | ||
| 129 | |||
| 130 | 1; | ||
| 131 | |||
| 132 | __END__ |