| 1 | package Google::Cloud::Retail::V2beta::ExportConfig::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 'OutputConfig', | ||
| 11 | as InstanceOf['Google::Cloud::Retail::V2beta::ExportConfig::OutputConfig']; | ||
| 12 | |||
| 13 | coerce 'OutputConfig', | ||
| 14 | from HashRef, via { 'Google::Cloud::Retail::V2beta::ExportConfig::OutputConfig'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedOutputConfig', | ||
| 17 | as ArrayRef[OutputConfig()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedOutputConfig', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::ExportConfig::OutputConfig'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringOutputConfig', | ||
| 23 | as HashRef[OutputConfig()]; | ||
| 24 | |||
| 25 | declare 'GcsDestination', | ||
| 26 | as InstanceOf['Google::Cloud::Retail::V2beta::ExportConfig::OutputConfig::GcsDestination']; | ||
| 27 | |||
| 28 | coerce 'GcsDestination', | ||
| 29 | from HashRef, via { 'Google::Cloud::Retail::V2beta::ExportConfig::OutputConfig::GcsDestination'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedGcsDestination', | ||
| 32 | as ArrayRef[GcsDestination()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedGcsDestination', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::ExportConfig::OutputConfig::GcsDestination'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringGcsDestination', | ||
| 38 | as HashRef[GcsDestination()]; | ||
| 39 | |||
| 40 | declare 'BigQueryDestination', | ||
| 41 | as InstanceOf['Google::Cloud::Retail::V2beta::ExportConfig::OutputConfig::BigQueryDestination']; | ||
| 42 | |||
| 43 | coerce 'BigQueryDestination', | ||
| 44 | from HashRef, via { 'Google::Cloud::Retail::V2beta::ExportConfig::OutputConfig::BigQueryDestination'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedBigQueryDestination', | ||
| 47 | as ArrayRef[BigQueryDestination()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedBigQueryDestination', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::ExportConfig::OutputConfig::BigQueryDestination'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringBigQueryDestination', | ||
| 53 | as HashRef[BigQueryDestination()]; | ||
| 54 | |||
| 55 | declare 'ExportErrorsConfig', | ||
| 56 | as InstanceOf['Google::Cloud::Retail::V2beta::ExportConfig::ExportErrorsConfig']; | ||
| 57 | |||
| 58 | coerce 'ExportErrorsConfig', | ||
| 59 | from HashRef, via { 'Google::Cloud::Retail::V2beta::ExportConfig::ExportErrorsConfig'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedExportErrorsConfig', | ||
| 62 | as ArrayRef[ExportErrorsConfig()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedExportErrorsConfig', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::ExportConfig::ExportErrorsConfig'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringExportErrorsConfig', | ||
| 68 | as HashRef[ExportErrorsConfig()]; | ||
| 69 | |||
| 70 | declare 'ExportProductsRequest', | ||
| 71 | as InstanceOf['Google::Cloud::Retail::V2beta::ExportConfig::ExportProductsRequest']; | ||
| 72 | |||
| 73 | coerce 'ExportProductsRequest', | ||
| 74 | from HashRef, via { 'Google::Cloud::Retail::V2beta::ExportConfig::ExportProductsRequest'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedExportProductsRequest', | ||
| 77 | as ArrayRef[ExportProductsRequest()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedExportProductsRequest', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::ExportConfig::ExportProductsRequest'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringExportProductsRequest', | ||
| 83 | as HashRef[ExportProductsRequest()]; | ||
| 84 | |||
| 85 | declare 'ExportUserEventsRequest', | ||
| 86 | as InstanceOf['Google::Cloud::Retail::V2beta::ExportConfig::ExportUserEventsRequest']; | ||
| 87 | |||
| 88 | coerce 'ExportUserEventsRequest', | ||
| 89 | from HashRef, via { 'Google::Cloud::Retail::V2beta::ExportConfig::ExportUserEventsRequest'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedExportUserEventsRequest', | ||
| 92 | as ArrayRef[ExportUserEventsRequest()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedExportUserEventsRequest', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::ExportConfig::ExportUserEventsRequest'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringExportUserEventsRequest', | ||
| 98 | as HashRef[ExportUserEventsRequest()]; | ||
| 99 | |||
| 100 | declare 'ExportAnalyticsMetricsRequest', | ||
| 101 | as InstanceOf['Google::Cloud::Retail::V2beta::ExportConfig::ExportAnalyticsMetricsRequest']; | ||
| 102 | |||
| 103 | coerce 'ExportAnalyticsMetricsRequest', | ||
| 104 | from HashRef, via { 'Google::Cloud::Retail::V2beta::ExportConfig::ExportAnalyticsMetricsRequest'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedExportAnalyticsMetricsRequest', | ||
| 107 | as ArrayRef[ExportAnalyticsMetricsRequest()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedExportAnalyticsMetricsRequest', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::ExportConfig::ExportAnalyticsMetricsRequest'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringExportAnalyticsMetricsRequest', | ||
| 113 | as HashRef[ExportAnalyticsMetricsRequest()]; | ||
| 114 | |||
| 115 | declare 'ExportMetadata', | ||
| 116 | as InstanceOf['Google::Cloud::Retail::V2beta::ExportConfig::ExportMetadata']; | ||
| 117 | |||
| 118 | coerce 'ExportMetadata', | ||
| 119 | from HashRef, via { 'Google::Cloud::Retail::V2beta::ExportConfig::ExportMetadata'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedExportMetadata', | ||
| 122 | as ArrayRef[ExportMetadata()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedExportMetadata', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::ExportConfig::ExportMetadata'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringExportMetadata', | ||
| 128 | as HashRef[ExportMetadata()]; | ||
| 129 | |||
| 130 | declare 'ExportProductsResponse', | ||
| 131 | as InstanceOf['Google::Cloud::Retail::V2beta::ExportConfig::ExportProductsResponse']; | ||
| 132 | |||
| 133 | coerce 'ExportProductsResponse', | ||
| 134 | from HashRef, via { 'Google::Cloud::Retail::V2beta::ExportConfig::ExportProductsResponse'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedExportProductsResponse', | ||
| 137 | as ArrayRef[ExportProductsResponse()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedExportProductsResponse', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::ExportConfig::ExportProductsResponse'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringExportProductsResponse', | ||
| 143 | as HashRef[ExportProductsResponse()]; | ||
| 144 | |||
| 145 | declare 'ExportUserEventsResponse', | ||
| 146 | as InstanceOf['Google::Cloud::Retail::V2beta::ExportConfig::ExportUserEventsResponse']; | ||
| 147 | |||
| 148 | coerce 'ExportUserEventsResponse', | ||
| 149 | from HashRef, via { 'Google::Cloud::Retail::V2beta::ExportConfig::ExportUserEventsResponse'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedExportUserEventsResponse', | ||
| 152 | as ArrayRef[ExportUserEventsResponse()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedExportUserEventsResponse', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::ExportConfig::ExportUserEventsResponse'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringExportUserEventsResponse', | ||
| 158 | as HashRef[ExportUserEventsResponse()]; | ||
| 159 | |||
| 160 | declare 'ExportAnalyticsMetricsResponse', | ||
| 161 | as InstanceOf['Google::Cloud::Retail::V2beta::ExportConfig::ExportAnalyticsMetricsResponse']; | ||
| 162 | |||
| 163 | coerce 'ExportAnalyticsMetricsResponse', | ||
| 164 | from HashRef, via { 'Google::Cloud::Retail::V2beta::ExportConfig::ExportAnalyticsMetricsResponse'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedExportAnalyticsMetricsResponse', | ||
| 167 | as ArrayRef[ExportAnalyticsMetricsResponse()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedExportAnalyticsMetricsResponse', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::ExportConfig::ExportAnalyticsMetricsResponse'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringExportAnalyticsMetricsResponse', | ||
| 173 | as HashRef[ExportAnalyticsMetricsResponse()]; | ||
| 174 | |||
| 175 | declare 'OutputResult', | ||
| 176 | as InstanceOf['Google::Cloud::Retail::V2beta::ExportConfig::OutputResult']; | ||
| 177 | |||
| 178 | coerce 'OutputResult', | ||
| 179 | from HashRef, via { 'Google::Cloud::Retail::V2beta::ExportConfig::OutputResult'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedOutputResult', | ||
| 182 | as ArrayRef[OutputResult()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedOutputResult', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::ExportConfig::OutputResult'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringOutputResult', | ||
| 188 | as HashRef[OutputResult()]; | ||
| 189 | |||
| 190 | declare 'BigQueryOutputResult', | ||
| 191 | as InstanceOf['Google::Cloud::Retail::V2beta::ExportConfig::BigQueryOutputResult']; | ||
| 192 | |||
| 193 | coerce 'BigQueryOutputResult', | ||
| 194 | from HashRef, via { 'Google::Cloud::Retail::V2beta::ExportConfig::BigQueryOutputResult'->new($_) }; | ||
| 195 | |||
| 196 | declare 'RepeatedBigQueryOutputResult', | ||
| 197 | as ArrayRef[BigQueryOutputResult()]; | ||
| 198 | |||
| 199 | coerce 'RepeatedBigQueryOutputResult', | ||
| 200 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::ExportConfig::BigQueryOutputResult'->new($_) } @$_ ] }; | ||
| 201 | |||
| 202 | declare 'MapStringBigQueryOutputResult', | ||
| 203 | as HashRef[BigQueryOutputResult()]; | ||
| 204 | |||
| 205 | declare 'GcsOutputResult', | ||
| 206 | as InstanceOf['Google::Cloud::Retail::V2beta::ExportConfig::GcsOutputResult']; | ||
| 207 | |||
| 208 | coerce 'GcsOutputResult', | ||
| 209 | from HashRef, via { 'Google::Cloud::Retail::V2beta::ExportConfig::GcsOutputResult'->new($_) }; | ||
| 210 | |||
| 211 | declare 'RepeatedGcsOutputResult', | ||
| 212 | as ArrayRef[GcsOutputResult()]; | ||
| 213 | |||
| 214 | coerce 'RepeatedGcsOutputResult', | ||
| 215 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2beta::ExportConfig::GcsOutputResult'->new($_) } @$_ ] }; | ||
| 216 | |||
| 217 | declare 'MapStringGcsOutputResult', | ||
| 218 | as HashRef[GcsOutputResult()]; | ||
| 219 | |||
| 220 | 1; | ||
| 221 | |||
| 222 | __END__ |