| 1 | package Google::Cloud::Retail::V2::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::V2::ExportConfig::OutputConfig']; | ||
| 12 | |||
| 13 | coerce 'OutputConfig', | ||
| 14 | from HashRef, via { 'Google::Cloud::Retail::V2::ExportConfig::OutputConfig'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedOutputConfig', | ||
| 17 | as ArrayRef[OutputConfig()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedOutputConfig', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::ExportConfig::OutputConfig'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringOutputConfig', | ||
| 23 | as HashRef[OutputConfig()]; | ||
| 24 | |||
| 25 | declare 'GcsDestination', | ||
| 26 | as InstanceOf['Google::Cloud::Retail::V2::ExportConfig::OutputConfig::GcsDestination']; | ||
| 27 | |||
| 28 | coerce 'GcsDestination', | ||
| 29 | from HashRef, via { 'Google::Cloud::Retail::V2::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::V2::ExportConfig::OutputConfig::GcsDestination'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringGcsDestination', | ||
| 38 | as HashRef[GcsDestination()]; | ||
| 39 | |||
| 40 | declare 'BigQueryDestination', | ||
| 41 | as InstanceOf['Google::Cloud::Retail::V2::ExportConfig::OutputConfig::BigQueryDestination']; | ||
| 42 | |||
| 43 | coerce 'BigQueryDestination', | ||
| 44 | from HashRef, via { 'Google::Cloud::Retail::V2::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::V2::ExportConfig::OutputConfig::BigQueryDestination'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringBigQueryDestination', | ||
| 53 | as HashRef[BigQueryDestination()]; | ||
| 54 | |||
| 55 | declare 'ExportErrorsConfig', | ||
| 56 | as InstanceOf['Google::Cloud::Retail::V2::ExportConfig::ExportErrorsConfig']; | ||
| 57 | |||
| 58 | coerce 'ExportErrorsConfig', | ||
| 59 | from HashRef, via { 'Google::Cloud::Retail::V2::ExportConfig::ExportErrorsConfig'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedExportErrorsConfig', | ||
| 62 | as ArrayRef[ExportErrorsConfig()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedExportErrorsConfig', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::ExportConfig::ExportErrorsConfig'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringExportErrorsConfig', | ||
| 68 | as HashRef[ExportErrorsConfig()]; | ||
| 69 | |||
| 70 | declare 'ExportAnalyticsMetricsRequest', | ||
| 71 | as InstanceOf['Google::Cloud::Retail::V2::ExportConfig::ExportAnalyticsMetricsRequest']; | ||
| 72 | |||
| 73 | coerce 'ExportAnalyticsMetricsRequest', | ||
| 74 | from HashRef, via { 'Google::Cloud::Retail::V2::ExportConfig::ExportAnalyticsMetricsRequest'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedExportAnalyticsMetricsRequest', | ||
| 77 | as ArrayRef[ExportAnalyticsMetricsRequest()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedExportAnalyticsMetricsRequest', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::ExportConfig::ExportAnalyticsMetricsRequest'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringExportAnalyticsMetricsRequest', | ||
| 83 | as HashRef[ExportAnalyticsMetricsRequest()]; | ||
| 84 | |||
| 85 | declare 'ExportMetadata', | ||
| 86 | as InstanceOf['Google::Cloud::Retail::V2::ExportConfig::ExportMetadata']; | ||
| 87 | |||
| 88 | coerce 'ExportMetadata', | ||
| 89 | from HashRef, via { 'Google::Cloud::Retail::V2::ExportConfig::ExportMetadata'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedExportMetadata', | ||
| 92 | as ArrayRef[ExportMetadata()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedExportMetadata', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::ExportConfig::ExportMetadata'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringExportMetadata', | ||
| 98 | as HashRef[ExportMetadata()]; | ||
| 99 | |||
| 100 | declare 'ExportAnalyticsMetricsResponse', | ||
| 101 | as InstanceOf['Google::Cloud::Retail::V2::ExportConfig::ExportAnalyticsMetricsResponse']; | ||
| 102 | |||
| 103 | coerce 'ExportAnalyticsMetricsResponse', | ||
| 104 | from HashRef, via { 'Google::Cloud::Retail::V2::ExportConfig::ExportAnalyticsMetricsResponse'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedExportAnalyticsMetricsResponse', | ||
| 107 | as ArrayRef[ExportAnalyticsMetricsResponse()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedExportAnalyticsMetricsResponse', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::ExportConfig::ExportAnalyticsMetricsResponse'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringExportAnalyticsMetricsResponse', | ||
| 113 | as HashRef[ExportAnalyticsMetricsResponse()]; | ||
| 114 | |||
| 115 | declare 'OutputResult', | ||
| 116 | as InstanceOf['Google::Cloud::Retail::V2::ExportConfig::OutputResult']; | ||
| 117 | |||
| 118 | coerce 'OutputResult', | ||
| 119 | from HashRef, via { 'Google::Cloud::Retail::V2::ExportConfig::OutputResult'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedOutputResult', | ||
| 122 | as ArrayRef[OutputResult()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedOutputResult', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::ExportConfig::OutputResult'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringOutputResult', | ||
| 128 | as HashRef[OutputResult()]; | ||
| 129 | |||
| 130 | declare 'BigQueryOutputResult', | ||
| 131 | as InstanceOf['Google::Cloud::Retail::V2::ExportConfig::BigQueryOutputResult']; | ||
| 132 | |||
| 133 | coerce 'BigQueryOutputResult', | ||
| 134 | from HashRef, via { 'Google::Cloud::Retail::V2::ExportConfig::BigQueryOutputResult'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedBigQueryOutputResult', | ||
| 137 | as ArrayRef[BigQueryOutputResult()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedBigQueryOutputResult', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::ExportConfig::BigQueryOutputResult'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringBigQueryOutputResult', | ||
| 143 | as HashRef[BigQueryOutputResult()]; | ||
| 144 | |||
| 145 | declare 'GcsOutputResult', | ||
| 146 | as InstanceOf['Google::Cloud::Retail::V2::ExportConfig::GcsOutputResult']; | ||
| 147 | |||
| 148 | coerce 'GcsOutputResult', | ||
| 149 | from HashRef, via { 'Google::Cloud::Retail::V2::ExportConfig::GcsOutputResult'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedGcsOutputResult', | ||
| 152 | as ArrayRef[GcsOutputResult()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedGcsOutputResult', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2::ExportConfig::GcsOutputResult'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringGcsOutputResult', | ||
| 158 | as HashRef[GcsOutputResult()]; | ||
| 159 | |||
| 160 | 1; | ||
| 161 | |||
| 162 | __END__ |