| 1 | package Google::Cloud::Networksecurity::V1::BackendAuthenticationConfig::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 'BackendAuthenticationConfig', | ||
| 11 | as InstanceOf['Google::Cloud::Networksecurity::V1::BackendAuthenticationConfig::BackendAuthenticationConfig']; | ||
| 12 | |||
| 13 | coerce 'BackendAuthenticationConfig', | ||
| 14 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::BackendAuthenticationConfig::BackendAuthenticationConfig'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedBackendAuthenticationConfig', | ||
| 17 | as ArrayRef[BackendAuthenticationConfig()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedBackendAuthenticationConfig', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::BackendAuthenticationConfig::BackendAuthenticationConfig'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringBackendAuthenticationConfig', | ||
| 23 | as HashRef[BackendAuthenticationConfig()]; | ||
| 24 | |||
| 25 | declare 'WellKnownRoots', | ||
| 26 | as (Int | Str); | ||
| 27 | |||
| 28 | declare 'LabelsEntry', | ||
| 29 | as InstanceOf['Google::Cloud::Networksecurity::V1::BackendAuthenticationConfig::BackendAuthenticationConfig::LabelsEntry']; | ||
| 30 | |||
| 31 | coerce 'LabelsEntry', | ||
| 32 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::BackendAuthenticationConfig::BackendAuthenticationConfig::LabelsEntry'->new($_) }; | ||
| 33 | |||
| 34 | declare 'RepeatedLabelsEntry', | ||
| 35 | as ArrayRef[LabelsEntry()]; | ||
| 36 | |||
| 37 | coerce 'RepeatedLabelsEntry', | ||
| 38 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::BackendAuthenticationConfig::BackendAuthenticationConfig::LabelsEntry'->new($_) } @$_ ] }; | ||
| 39 | |||
| 40 | declare 'MapStringLabelsEntry', | ||
| 41 | as HashRef[LabelsEntry()]; | ||
| 42 | |||
| 43 | declare 'ListBackendAuthenticationConfigsRequest', | ||
| 44 | as InstanceOf['Google::Cloud::Networksecurity::V1::BackendAuthenticationConfig::ListBackendAuthenticationConfigsRequest']; | ||
| 45 | |||
| 46 | coerce 'ListBackendAuthenticationConfigsRequest', | ||
| 47 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::BackendAuthenticationConfig::ListBackendAuthenticationConfigsRequest'->new($_) }; | ||
| 48 | |||
| 49 | declare 'RepeatedListBackendAuthenticationConfigsRequest', | ||
| 50 | as ArrayRef[ListBackendAuthenticationConfigsRequest()]; | ||
| 51 | |||
| 52 | coerce 'RepeatedListBackendAuthenticationConfigsRequest', | ||
| 53 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::BackendAuthenticationConfig::ListBackendAuthenticationConfigsRequest'->new($_) } @$_ ] }; | ||
| 54 | |||
| 55 | declare 'MapStringListBackendAuthenticationConfigsRequest', | ||
| 56 | as HashRef[ListBackendAuthenticationConfigsRequest()]; | ||
| 57 | |||
| 58 | declare 'ListBackendAuthenticationConfigsResponse', | ||
| 59 | as InstanceOf['Google::Cloud::Networksecurity::V1::BackendAuthenticationConfig::ListBackendAuthenticationConfigsResponse']; | ||
| 60 | |||
| 61 | coerce 'ListBackendAuthenticationConfigsResponse', | ||
| 62 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::BackendAuthenticationConfig::ListBackendAuthenticationConfigsResponse'->new($_) }; | ||
| 63 | |||
| 64 | declare 'RepeatedListBackendAuthenticationConfigsResponse', | ||
| 65 | as ArrayRef[ListBackendAuthenticationConfigsResponse()]; | ||
| 66 | |||
| 67 | coerce 'RepeatedListBackendAuthenticationConfigsResponse', | ||
| 68 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::BackendAuthenticationConfig::ListBackendAuthenticationConfigsResponse'->new($_) } @$_ ] }; | ||
| 69 | |||
| 70 | declare 'MapStringListBackendAuthenticationConfigsResponse', | ||
| 71 | as HashRef[ListBackendAuthenticationConfigsResponse()]; | ||
| 72 | |||
| 73 | declare 'GetBackendAuthenticationConfigRequest', | ||
| 74 | as InstanceOf['Google::Cloud::Networksecurity::V1::BackendAuthenticationConfig::GetBackendAuthenticationConfigRequest']; | ||
| 75 | |||
| 76 | coerce 'GetBackendAuthenticationConfigRequest', | ||
| 77 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::BackendAuthenticationConfig::GetBackendAuthenticationConfigRequest'->new($_) }; | ||
| 78 | |||
| 79 | declare 'RepeatedGetBackendAuthenticationConfigRequest', | ||
| 80 | as ArrayRef[GetBackendAuthenticationConfigRequest()]; | ||
| 81 | |||
| 82 | coerce 'RepeatedGetBackendAuthenticationConfigRequest', | ||
| 83 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::BackendAuthenticationConfig::GetBackendAuthenticationConfigRequest'->new($_) } @$_ ] }; | ||
| 84 | |||
| 85 | declare 'MapStringGetBackendAuthenticationConfigRequest', | ||
| 86 | as HashRef[GetBackendAuthenticationConfigRequest()]; | ||
| 87 | |||
| 88 | declare 'CreateBackendAuthenticationConfigRequest', | ||
| 89 | as InstanceOf['Google::Cloud::Networksecurity::V1::BackendAuthenticationConfig::CreateBackendAuthenticationConfigRequest']; | ||
| 90 | |||
| 91 | coerce 'CreateBackendAuthenticationConfigRequest', | ||
| 92 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::BackendAuthenticationConfig::CreateBackendAuthenticationConfigRequest'->new($_) }; | ||
| 93 | |||
| 94 | declare 'RepeatedCreateBackendAuthenticationConfigRequest', | ||
| 95 | as ArrayRef[CreateBackendAuthenticationConfigRequest()]; | ||
| 96 | |||
| 97 | coerce 'RepeatedCreateBackendAuthenticationConfigRequest', | ||
| 98 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::BackendAuthenticationConfig::CreateBackendAuthenticationConfigRequest'->new($_) } @$_ ] }; | ||
| 99 | |||
| 100 | declare 'MapStringCreateBackendAuthenticationConfigRequest', | ||
| 101 | as HashRef[CreateBackendAuthenticationConfigRequest()]; | ||
| 102 | |||
| 103 | declare 'UpdateBackendAuthenticationConfigRequest', | ||
| 104 | as InstanceOf['Google::Cloud::Networksecurity::V1::BackendAuthenticationConfig::UpdateBackendAuthenticationConfigRequest']; | ||
| 105 | |||
| 106 | coerce 'UpdateBackendAuthenticationConfigRequest', | ||
| 107 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::BackendAuthenticationConfig::UpdateBackendAuthenticationConfigRequest'->new($_) }; | ||
| 108 | |||
| 109 | declare 'RepeatedUpdateBackendAuthenticationConfigRequest', | ||
| 110 | as ArrayRef[UpdateBackendAuthenticationConfigRequest()]; | ||
| 111 | |||
| 112 | coerce 'RepeatedUpdateBackendAuthenticationConfigRequest', | ||
| 113 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::BackendAuthenticationConfig::UpdateBackendAuthenticationConfigRequest'->new($_) } @$_ ] }; | ||
| 114 | |||
| 115 | declare 'MapStringUpdateBackendAuthenticationConfigRequest', | ||
| 116 | as HashRef[UpdateBackendAuthenticationConfigRequest()]; | ||
| 117 | |||
| 118 | declare 'DeleteBackendAuthenticationConfigRequest', | ||
| 119 | as InstanceOf['Google::Cloud::Networksecurity::V1::BackendAuthenticationConfig::DeleteBackendAuthenticationConfigRequest']; | ||
| 120 | |||
| 121 | coerce 'DeleteBackendAuthenticationConfigRequest', | ||
| 122 | from HashRef, via { 'Google::Cloud::Networksecurity::V1::BackendAuthenticationConfig::DeleteBackendAuthenticationConfigRequest'->new($_) }; | ||
| 123 | |||
| 124 | declare 'RepeatedDeleteBackendAuthenticationConfigRequest', | ||
| 125 | as ArrayRef[DeleteBackendAuthenticationConfigRequest()]; | ||
| 126 | |||
| 127 | coerce 'RepeatedDeleteBackendAuthenticationConfigRequest', | ||
| 128 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Networksecurity::V1::BackendAuthenticationConfig::DeleteBackendAuthenticationConfigRequest'->new($_) } @$_ ] }; | ||
| 129 | |||
| 130 | declare 'MapStringDeleteBackendAuthenticationConfigRequest', | ||
| 131 | as HashRef[DeleteBackendAuthenticationConfigRequest()]; | ||
| 132 | |||
| 133 | 1; | ||
| 134 | |||
| 135 | __END__ |