| 1 | package Google::Cloud::Eventarc::V1::Pipeline::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 'Pipeline', | ||
| 11 | as InstanceOf['Google::Cloud::Eventarc::V1::Pipeline::Pipeline']; | ||
| 12 | |||
| 13 | coerce 'Pipeline', | ||
| 14 | from HashRef, via { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedPipeline', | ||
| 17 | as ArrayRef[Pipeline()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedPipeline', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringPipeline', | ||
| 23 | as HashRef[Pipeline()]; | ||
| 24 | |||
| 25 | declare 'MessagePayloadFormat', | ||
| 26 | as InstanceOf['Google::Cloud::Eventarc::V1::Pipeline::Pipeline::MessagePayloadFormat']; | ||
| 27 | |||
| 28 | coerce 'MessagePayloadFormat', | ||
| 29 | from HashRef, via { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::MessagePayloadFormat'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedMessagePayloadFormat', | ||
| 32 | as ArrayRef[MessagePayloadFormat()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedMessagePayloadFormat', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::MessagePayloadFormat'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringMessagePayloadFormat', | ||
| 38 | as HashRef[MessagePayloadFormat()]; | ||
| 39 | |||
| 40 | declare 'JsonFormat', | ||
| 41 | as InstanceOf['Google::Cloud::Eventarc::V1::Pipeline::Pipeline::MessagePayloadFormat::JsonFormat']; | ||
| 42 | |||
| 43 | coerce 'JsonFormat', | ||
| 44 | from HashRef, via { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::MessagePayloadFormat::JsonFormat'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedJsonFormat', | ||
| 47 | as ArrayRef[JsonFormat()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedJsonFormat', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::MessagePayloadFormat::JsonFormat'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringJsonFormat', | ||
| 53 | as HashRef[JsonFormat()]; | ||
| 54 | |||
| 55 | declare 'ProtobufFormat', | ||
| 56 | as InstanceOf['Google::Cloud::Eventarc::V1::Pipeline::Pipeline::MessagePayloadFormat::ProtobufFormat']; | ||
| 57 | |||
| 58 | coerce 'ProtobufFormat', | ||
| 59 | from HashRef, via { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::MessagePayloadFormat::ProtobufFormat'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedProtobufFormat', | ||
| 62 | as ArrayRef[ProtobufFormat()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedProtobufFormat', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::MessagePayloadFormat::ProtobufFormat'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringProtobufFormat', | ||
| 68 | as HashRef[ProtobufFormat()]; | ||
| 69 | |||
| 70 | declare 'AvroFormat', | ||
| 71 | as InstanceOf['Google::Cloud::Eventarc::V1::Pipeline::Pipeline::MessagePayloadFormat::AvroFormat']; | ||
| 72 | |||
| 73 | coerce 'AvroFormat', | ||
| 74 | from HashRef, via { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::MessagePayloadFormat::AvroFormat'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedAvroFormat', | ||
| 77 | as ArrayRef[AvroFormat()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedAvroFormat', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::MessagePayloadFormat::AvroFormat'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringAvroFormat', | ||
| 83 | as HashRef[AvroFormat()]; | ||
| 84 | |||
| 85 | declare 'Destination', | ||
| 86 | as InstanceOf['Google::Cloud::Eventarc::V1::Pipeline::Pipeline::Destination']; | ||
| 87 | |||
| 88 | coerce 'Destination', | ||
| 89 | from HashRef, via { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::Destination'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedDestination', | ||
| 92 | as ArrayRef[Destination()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedDestination', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::Destination'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringDestination', | ||
| 98 | as HashRef[Destination()]; | ||
| 99 | |||
| 100 | declare 'NetworkConfig', | ||
| 101 | as InstanceOf['Google::Cloud::Eventarc::V1::Pipeline::Pipeline::Destination::NetworkConfig']; | ||
| 102 | |||
| 103 | coerce 'NetworkConfig', | ||
| 104 | from HashRef, via { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::Destination::NetworkConfig'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedNetworkConfig', | ||
| 107 | as ArrayRef[NetworkConfig()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedNetworkConfig', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::Destination::NetworkConfig'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringNetworkConfig', | ||
| 113 | as HashRef[NetworkConfig()]; | ||
| 114 | |||
| 115 | declare 'HttpEndpoint', | ||
| 116 | as InstanceOf['Google::Cloud::Eventarc::V1::Pipeline::Pipeline::Destination::HttpEndpoint']; | ||
| 117 | |||
| 118 | coerce 'HttpEndpoint', | ||
| 119 | from HashRef, via { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::Destination::HttpEndpoint'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedHttpEndpoint', | ||
| 122 | as ArrayRef[HttpEndpoint()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedHttpEndpoint', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::Destination::HttpEndpoint'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringHttpEndpoint', | ||
| 128 | as HashRef[HttpEndpoint()]; | ||
| 129 | |||
| 130 | declare 'AuthenticationConfig', | ||
| 131 | as InstanceOf['Google::Cloud::Eventarc::V1::Pipeline::Pipeline::Destination::AuthenticationConfig']; | ||
| 132 | |||
| 133 | coerce 'AuthenticationConfig', | ||
| 134 | from HashRef, via { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::Destination::AuthenticationConfig'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedAuthenticationConfig', | ||
| 137 | as ArrayRef[AuthenticationConfig()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedAuthenticationConfig', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::Destination::AuthenticationConfig'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringAuthenticationConfig', | ||
| 143 | as HashRef[AuthenticationConfig()]; | ||
| 144 | |||
| 145 | declare 'OidcToken', | ||
| 146 | as InstanceOf['Google::Cloud::Eventarc::V1::Pipeline::Pipeline::Destination::AuthenticationConfig::OidcToken']; | ||
| 147 | |||
| 148 | coerce 'OidcToken', | ||
| 149 | from HashRef, via { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::Destination::AuthenticationConfig::OidcToken'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedOidcToken', | ||
| 152 | as ArrayRef[OidcToken()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedOidcToken', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::Destination::AuthenticationConfig::OidcToken'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringOidcToken', | ||
| 158 | as HashRef[OidcToken()]; | ||
| 159 | |||
| 160 | declare 'OAuthToken', | ||
| 161 | as InstanceOf['Google::Cloud::Eventarc::V1::Pipeline::Pipeline::Destination::AuthenticationConfig::OAuthToken']; | ||
| 162 | |||
| 163 | coerce 'OAuthToken', | ||
| 164 | from HashRef, via { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::Destination::AuthenticationConfig::OAuthToken'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedOAuthToken', | ||
| 167 | as ArrayRef[OAuthToken()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedOAuthToken', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::Destination::AuthenticationConfig::OAuthToken'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringOAuthToken', | ||
| 173 | as HashRef[OAuthToken()]; | ||
| 174 | |||
| 175 | declare 'Mediation', | ||
| 176 | as InstanceOf['Google::Cloud::Eventarc::V1::Pipeline::Pipeline::Mediation']; | ||
| 177 | |||
| 178 | coerce 'Mediation', | ||
| 179 | from HashRef, via { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::Mediation'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedMediation', | ||
| 182 | as ArrayRef[Mediation()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedMediation', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::Mediation'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringMediation', | ||
| 188 | as HashRef[Mediation()]; | ||
| 189 | |||
| 190 | declare 'Transformation', | ||
| 191 | as InstanceOf['Google::Cloud::Eventarc::V1::Pipeline::Pipeline::Mediation::Transformation']; | ||
| 192 | |||
| 193 | coerce 'Transformation', | ||
| 194 | from HashRef, via { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::Mediation::Transformation'->new($_) }; | ||
| 195 | |||
| 196 | declare 'RepeatedTransformation', | ||
| 197 | as ArrayRef[Transformation()]; | ||
| 198 | |||
| 199 | coerce 'RepeatedTransformation', | ||
| 200 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::Mediation::Transformation'->new($_) } @$_ ] }; | ||
| 201 | |||
| 202 | declare 'MapStringTransformation', | ||
| 203 | as HashRef[Transformation()]; | ||
| 204 | |||
| 205 | declare 'RetryPolicy', | ||
| 206 | as InstanceOf['Google::Cloud::Eventarc::V1::Pipeline::Pipeline::RetryPolicy']; | ||
| 207 | |||
| 208 | coerce 'RetryPolicy', | ||
| 209 | from HashRef, via { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::RetryPolicy'->new($_) }; | ||
| 210 | |||
| 211 | declare 'RepeatedRetryPolicy', | ||
| 212 | as ArrayRef[RetryPolicy()]; | ||
| 213 | |||
| 214 | coerce 'RepeatedRetryPolicy', | ||
| 215 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::RetryPolicy'->new($_) } @$_ ] }; | ||
| 216 | |||
| 217 | declare 'MapStringRetryPolicy', | ||
| 218 | as HashRef[RetryPolicy()]; | ||
| 219 | |||
| 220 | declare 'LabelsEntry', | ||
| 221 | as InstanceOf['Google::Cloud::Eventarc::V1::Pipeline::Pipeline::LabelsEntry']; | ||
| 222 | |||
| 223 | coerce 'LabelsEntry', | ||
| 224 | from HashRef, via { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::LabelsEntry'->new($_) }; | ||
| 225 | |||
| 226 | declare 'RepeatedLabelsEntry', | ||
| 227 | as ArrayRef[LabelsEntry()]; | ||
| 228 | |||
| 229 | coerce 'RepeatedLabelsEntry', | ||
| 230 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::LabelsEntry'->new($_) } @$_ ] }; | ||
| 231 | |||
| 232 | declare 'MapStringLabelsEntry', | ||
| 233 | as HashRef[LabelsEntry()]; | ||
| 234 | |||
| 235 | declare 'AnnotationsEntry', | ||
| 236 | as InstanceOf['Google::Cloud::Eventarc::V1::Pipeline::Pipeline::AnnotationsEntry']; | ||
| 237 | |||
| 238 | coerce 'AnnotationsEntry', | ||
| 239 | from HashRef, via { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::AnnotationsEntry'->new($_) }; | ||
| 240 | |||
| 241 | declare 'RepeatedAnnotationsEntry', | ||
| 242 | as ArrayRef[AnnotationsEntry()]; | ||
| 243 | |||
| 244 | coerce 'RepeatedAnnotationsEntry', | ||
| 245 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Eventarc::V1::Pipeline::Pipeline::AnnotationsEntry'->new($_) } @$_ ] }; | ||
| 246 | |||
| 247 | declare 'MapStringAnnotationsEntry', | ||
| 248 | as HashRef[AnnotationsEntry()]; | ||
| 249 | |||
| 250 | 1; | ||
| 251 | |||
| 252 | __END__ |