| 1 | package Google::Cloud::Certificatemanager::V1::TrustConfig::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 'ListTrustConfigsRequest', | ||
| 11 | as InstanceOf['Google::Cloud::Certificatemanager::V1::TrustConfig::ListTrustConfigsRequest']; | ||
| 12 | |||
| 13 | coerce 'ListTrustConfigsRequest', | ||
| 14 | from HashRef, via { 'Google::Cloud::Certificatemanager::V1::TrustConfig::ListTrustConfigsRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedListTrustConfigsRequest', | ||
| 17 | as ArrayRef[ListTrustConfigsRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedListTrustConfigsRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Certificatemanager::V1::TrustConfig::ListTrustConfigsRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringListTrustConfigsRequest', | ||
| 23 | as HashRef[ListTrustConfigsRequest()]; | ||
| 24 | |||
| 25 | declare 'ListTrustConfigsResponse', | ||
| 26 | as InstanceOf['Google::Cloud::Certificatemanager::V1::TrustConfig::ListTrustConfigsResponse']; | ||
| 27 | |||
| 28 | coerce 'ListTrustConfigsResponse', | ||
| 29 | from HashRef, via { 'Google::Cloud::Certificatemanager::V1::TrustConfig::ListTrustConfigsResponse'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedListTrustConfigsResponse', | ||
| 32 | as ArrayRef[ListTrustConfigsResponse()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedListTrustConfigsResponse', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Certificatemanager::V1::TrustConfig::ListTrustConfigsResponse'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringListTrustConfigsResponse', | ||
| 38 | as HashRef[ListTrustConfigsResponse()]; | ||
| 39 | |||
| 40 | declare 'GetTrustConfigRequest', | ||
| 41 | as InstanceOf['Google::Cloud::Certificatemanager::V1::TrustConfig::GetTrustConfigRequest']; | ||
| 42 | |||
| 43 | coerce 'GetTrustConfigRequest', | ||
| 44 | from HashRef, via { 'Google::Cloud::Certificatemanager::V1::TrustConfig::GetTrustConfigRequest'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedGetTrustConfigRequest', | ||
| 47 | as ArrayRef[GetTrustConfigRequest()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedGetTrustConfigRequest', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Certificatemanager::V1::TrustConfig::GetTrustConfigRequest'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringGetTrustConfigRequest', | ||
| 53 | as HashRef[GetTrustConfigRequest()]; | ||
| 54 | |||
| 55 | declare 'CreateTrustConfigRequest', | ||
| 56 | as InstanceOf['Google::Cloud::Certificatemanager::V1::TrustConfig::CreateTrustConfigRequest']; | ||
| 57 | |||
| 58 | coerce 'CreateTrustConfigRequest', | ||
| 59 | from HashRef, via { 'Google::Cloud::Certificatemanager::V1::TrustConfig::CreateTrustConfigRequest'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedCreateTrustConfigRequest', | ||
| 62 | as ArrayRef[CreateTrustConfigRequest()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedCreateTrustConfigRequest', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Certificatemanager::V1::TrustConfig::CreateTrustConfigRequest'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringCreateTrustConfigRequest', | ||
| 68 | as HashRef[CreateTrustConfigRequest()]; | ||
| 69 | |||
| 70 | declare 'UpdateTrustConfigRequest', | ||
| 71 | as InstanceOf['Google::Cloud::Certificatemanager::V1::TrustConfig::UpdateTrustConfigRequest']; | ||
| 72 | |||
| 73 | coerce 'UpdateTrustConfigRequest', | ||
| 74 | from HashRef, via { 'Google::Cloud::Certificatemanager::V1::TrustConfig::UpdateTrustConfigRequest'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedUpdateTrustConfigRequest', | ||
| 77 | as ArrayRef[UpdateTrustConfigRequest()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedUpdateTrustConfigRequest', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Certificatemanager::V1::TrustConfig::UpdateTrustConfigRequest'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringUpdateTrustConfigRequest', | ||
| 83 | as HashRef[UpdateTrustConfigRequest()]; | ||
| 84 | |||
| 85 | declare 'DeleteTrustConfigRequest', | ||
| 86 | as InstanceOf['Google::Cloud::Certificatemanager::V1::TrustConfig::DeleteTrustConfigRequest']; | ||
| 87 | |||
| 88 | coerce 'DeleteTrustConfigRequest', | ||
| 89 | from HashRef, via { 'Google::Cloud::Certificatemanager::V1::TrustConfig::DeleteTrustConfigRequest'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedDeleteTrustConfigRequest', | ||
| 92 | as ArrayRef[DeleteTrustConfigRequest()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedDeleteTrustConfigRequest', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Certificatemanager::V1::TrustConfig::DeleteTrustConfigRequest'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringDeleteTrustConfigRequest', | ||
| 98 | as HashRef[DeleteTrustConfigRequest()]; | ||
| 99 | |||
| 100 | declare 'TrustConfig', | ||
| 101 | as InstanceOf['Google::Cloud::Certificatemanager::V1::TrustConfig::TrustConfig']; | ||
| 102 | |||
| 103 | coerce 'TrustConfig', | ||
| 104 | from HashRef, via { 'Google::Cloud::Certificatemanager::V1::TrustConfig::TrustConfig'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedTrustConfig', | ||
| 107 | as ArrayRef[TrustConfig()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedTrustConfig', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Certificatemanager::V1::TrustConfig::TrustConfig'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringTrustConfig', | ||
| 113 | as HashRef[TrustConfig()]; | ||
| 114 | |||
| 115 | declare 'TrustAnchor', | ||
| 116 | as InstanceOf['Google::Cloud::Certificatemanager::V1::TrustConfig::TrustConfig::TrustAnchor']; | ||
| 117 | |||
| 118 | coerce 'TrustAnchor', | ||
| 119 | from HashRef, via { 'Google::Cloud::Certificatemanager::V1::TrustConfig::TrustConfig::TrustAnchor'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedTrustAnchor', | ||
| 122 | as ArrayRef[TrustAnchor()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedTrustAnchor', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Certificatemanager::V1::TrustConfig::TrustConfig::TrustAnchor'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringTrustAnchor', | ||
| 128 | as HashRef[TrustAnchor()]; | ||
| 129 | |||
| 130 | declare 'IntermediateCA', | ||
| 131 | as InstanceOf['Google::Cloud::Certificatemanager::V1::TrustConfig::TrustConfig::IntermediateCA']; | ||
| 132 | |||
| 133 | coerce 'IntermediateCA', | ||
| 134 | from HashRef, via { 'Google::Cloud::Certificatemanager::V1::TrustConfig::TrustConfig::IntermediateCA'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedIntermediateCA', | ||
| 137 | as ArrayRef[IntermediateCA()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedIntermediateCA', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Certificatemanager::V1::TrustConfig::TrustConfig::IntermediateCA'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringIntermediateCA', | ||
| 143 | as HashRef[IntermediateCA()]; | ||
| 144 | |||
| 145 | declare 'TrustStore', | ||
| 146 | as InstanceOf['Google::Cloud::Certificatemanager::V1::TrustConfig::TrustConfig::TrustStore']; | ||
| 147 | |||
| 148 | coerce 'TrustStore', | ||
| 149 | from HashRef, via { 'Google::Cloud::Certificatemanager::V1::TrustConfig::TrustConfig::TrustStore'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedTrustStore', | ||
| 152 | as ArrayRef[TrustStore()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedTrustStore', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Certificatemanager::V1::TrustConfig::TrustConfig::TrustStore'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringTrustStore', | ||
| 158 | as HashRef[TrustStore()]; | ||
| 159 | |||
| 160 | declare 'AllowlistedCertificate', | ||
| 161 | as InstanceOf['Google::Cloud::Certificatemanager::V1::TrustConfig::TrustConfig::AllowlistedCertificate']; | ||
| 162 | |||
| 163 | coerce 'AllowlistedCertificate', | ||
| 164 | from HashRef, via { 'Google::Cloud::Certificatemanager::V1::TrustConfig::TrustConfig::AllowlistedCertificate'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedAllowlistedCertificate', | ||
| 167 | as ArrayRef[AllowlistedCertificate()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedAllowlistedCertificate', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Certificatemanager::V1::TrustConfig::TrustConfig::AllowlistedCertificate'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringAllowlistedCertificate', | ||
| 173 | as HashRef[AllowlistedCertificate()]; | ||
| 174 | |||
| 175 | declare 'LabelsEntry', | ||
| 176 | as InstanceOf['Google::Cloud::Certificatemanager::V1::TrustConfig::TrustConfig::LabelsEntry']; | ||
| 177 | |||
| 178 | coerce 'LabelsEntry', | ||
| 179 | from HashRef, via { 'Google::Cloud::Certificatemanager::V1::TrustConfig::TrustConfig::LabelsEntry'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedLabelsEntry', | ||
| 182 | as ArrayRef[LabelsEntry()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedLabelsEntry', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Certificatemanager::V1::TrustConfig::TrustConfig::LabelsEntry'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringLabelsEntry', | ||
| 188 | as HashRef[LabelsEntry()]; | ||
| 189 | |||
| 190 | declare 'SpiffeTrustStoresEntry', | ||
| 191 | as InstanceOf['Google::Cloud::Certificatemanager::V1::TrustConfig::TrustConfig::SpiffeTrustStoresEntry']; | ||
| 192 | |||
| 193 | coerce 'SpiffeTrustStoresEntry', | ||
| 194 | from HashRef, via { 'Google::Cloud::Certificatemanager::V1::TrustConfig::TrustConfig::SpiffeTrustStoresEntry'->new($_) }; | ||
| 195 | |||
| 196 | declare 'RepeatedSpiffeTrustStoresEntry', | ||
| 197 | as ArrayRef[SpiffeTrustStoresEntry()]; | ||
| 198 | |||
| 199 | coerce 'RepeatedSpiffeTrustStoresEntry', | ||
| 200 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Certificatemanager::V1::TrustConfig::TrustConfig::SpiffeTrustStoresEntry'->new($_) } @$_ ] }; | ||
| 201 | |||
| 202 | declare 'MapStringSpiffeTrustStoresEntry', | ||
| 203 | as HashRef[SpiffeTrustStoresEntry()]; | ||
| 204 | |||
| 205 | declare 'TagsEntry', | ||
| 206 | as InstanceOf['Google::Cloud::Certificatemanager::V1::TrustConfig::TrustConfig::TagsEntry']; | ||
| 207 | |||
| 208 | coerce 'TagsEntry', | ||
| 209 | from HashRef, via { 'Google::Cloud::Certificatemanager::V1::TrustConfig::TrustConfig::TagsEntry'->new($_) }; | ||
| 210 | |||
| 211 | declare 'RepeatedTagsEntry', | ||
| 212 | as ArrayRef[TagsEntry()]; | ||
| 213 | |||
| 214 | coerce 'RepeatedTagsEntry', | ||
| 215 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Certificatemanager::V1::TrustConfig::TrustConfig::TagsEntry'->new($_) } @$_ ] }; | ||
| 216 | |||
| 217 | declare 'MapStringTagsEntry', | ||
| 218 | as HashRef[TagsEntry()]; | ||
| 219 | |||
| 220 | 1; | ||
| 221 | |||
| 222 | __END__ |