| 1 | package Google::Cloud::Retail::V2alpha::CatalogService::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 'ListCatalogsRequest', | ||
| 11 | as InstanceOf['Google::Cloud::Retail::V2alpha::CatalogService::ListCatalogsRequest']; | ||
| 12 | |||
| 13 | coerce 'ListCatalogsRequest', | ||
| 14 | from HashRef, via { 'Google::Cloud::Retail::V2alpha::CatalogService::ListCatalogsRequest'->new($_) }; | ||
| 15 | |||
| 16 | declare 'RepeatedListCatalogsRequest', | ||
| 17 | as ArrayRef[ListCatalogsRequest()]; | ||
| 18 | |||
| 19 | coerce 'RepeatedListCatalogsRequest', | ||
| 20 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::CatalogService::ListCatalogsRequest'->new($_) } @$_ ] }; | ||
| 21 | |||
| 22 | declare 'MapStringListCatalogsRequest', | ||
| 23 | as HashRef[ListCatalogsRequest()]; | ||
| 24 | |||
| 25 | declare 'ListCatalogsResponse', | ||
| 26 | as InstanceOf['Google::Cloud::Retail::V2alpha::CatalogService::ListCatalogsResponse']; | ||
| 27 | |||
| 28 | coerce 'ListCatalogsResponse', | ||
| 29 | from HashRef, via { 'Google::Cloud::Retail::V2alpha::CatalogService::ListCatalogsResponse'->new($_) }; | ||
| 30 | |||
| 31 | declare 'RepeatedListCatalogsResponse', | ||
| 32 | as ArrayRef[ListCatalogsResponse()]; | ||
| 33 | |||
| 34 | coerce 'RepeatedListCatalogsResponse', | ||
| 35 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::CatalogService::ListCatalogsResponse'->new($_) } @$_ ] }; | ||
| 36 | |||
| 37 | declare 'MapStringListCatalogsResponse', | ||
| 38 | as HashRef[ListCatalogsResponse()]; | ||
| 39 | |||
| 40 | declare 'UpdateCatalogRequest', | ||
| 41 | as InstanceOf['Google::Cloud::Retail::V2alpha::CatalogService::UpdateCatalogRequest']; | ||
| 42 | |||
| 43 | coerce 'UpdateCatalogRequest', | ||
| 44 | from HashRef, via { 'Google::Cloud::Retail::V2alpha::CatalogService::UpdateCatalogRequest'->new($_) }; | ||
| 45 | |||
| 46 | declare 'RepeatedUpdateCatalogRequest', | ||
| 47 | as ArrayRef[UpdateCatalogRequest()]; | ||
| 48 | |||
| 49 | coerce 'RepeatedUpdateCatalogRequest', | ||
| 50 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::CatalogService::UpdateCatalogRequest'->new($_) } @$_ ] }; | ||
| 51 | |||
| 52 | declare 'MapStringUpdateCatalogRequest', | ||
| 53 | as HashRef[UpdateCatalogRequest()]; | ||
| 54 | |||
| 55 | declare 'SetDefaultBranchRequest', | ||
| 56 | as InstanceOf['Google::Cloud::Retail::V2alpha::CatalogService::SetDefaultBranchRequest']; | ||
| 57 | |||
| 58 | coerce 'SetDefaultBranchRequest', | ||
| 59 | from HashRef, via { 'Google::Cloud::Retail::V2alpha::CatalogService::SetDefaultBranchRequest'->new($_) }; | ||
| 60 | |||
| 61 | declare 'RepeatedSetDefaultBranchRequest', | ||
| 62 | as ArrayRef[SetDefaultBranchRequest()]; | ||
| 63 | |||
| 64 | coerce 'RepeatedSetDefaultBranchRequest', | ||
| 65 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::CatalogService::SetDefaultBranchRequest'->new($_) } @$_ ] }; | ||
| 66 | |||
| 67 | declare 'MapStringSetDefaultBranchRequest', | ||
| 68 | as HashRef[SetDefaultBranchRequest()]; | ||
| 69 | |||
| 70 | declare 'GetDefaultBranchRequest', | ||
| 71 | as InstanceOf['Google::Cloud::Retail::V2alpha::CatalogService::GetDefaultBranchRequest']; | ||
| 72 | |||
| 73 | coerce 'GetDefaultBranchRequest', | ||
| 74 | from HashRef, via { 'Google::Cloud::Retail::V2alpha::CatalogService::GetDefaultBranchRequest'->new($_) }; | ||
| 75 | |||
| 76 | declare 'RepeatedGetDefaultBranchRequest', | ||
| 77 | as ArrayRef[GetDefaultBranchRequest()]; | ||
| 78 | |||
| 79 | coerce 'RepeatedGetDefaultBranchRequest', | ||
| 80 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::CatalogService::GetDefaultBranchRequest'->new($_) } @$_ ] }; | ||
| 81 | |||
| 82 | declare 'MapStringGetDefaultBranchRequest', | ||
| 83 | as HashRef[GetDefaultBranchRequest()]; | ||
| 84 | |||
| 85 | declare 'GetDefaultBranchResponse', | ||
| 86 | as InstanceOf['Google::Cloud::Retail::V2alpha::CatalogService::GetDefaultBranchResponse']; | ||
| 87 | |||
| 88 | coerce 'GetDefaultBranchResponse', | ||
| 89 | from HashRef, via { 'Google::Cloud::Retail::V2alpha::CatalogService::GetDefaultBranchResponse'->new($_) }; | ||
| 90 | |||
| 91 | declare 'RepeatedGetDefaultBranchResponse', | ||
| 92 | as ArrayRef[GetDefaultBranchResponse()]; | ||
| 93 | |||
| 94 | coerce 'RepeatedGetDefaultBranchResponse', | ||
| 95 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::CatalogService::GetDefaultBranchResponse'->new($_) } @$_ ] }; | ||
| 96 | |||
| 97 | declare 'MapStringGetDefaultBranchResponse', | ||
| 98 | as HashRef[GetDefaultBranchResponse()]; | ||
| 99 | |||
| 100 | declare 'GetCompletionConfigRequest', | ||
| 101 | as InstanceOf['Google::Cloud::Retail::V2alpha::CatalogService::GetCompletionConfigRequest']; | ||
| 102 | |||
| 103 | coerce 'GetCompletionConfigRequest', | ||
| 104 | from HashRef, via { 'Google::Cloud::Retail::V2alpha::CatalogService::GetCompletionConfigRequest'->new($_) }; | ||
| 105 | |||
| 106 | declare 'RepeatedGetCompletionConfigRequest', | ||
| 107 | as ArrayRef[GetCompletionConfigRequest()]; | ||
| 108 | |||
| 109 | coerce 'RepeatedGetCompletionConfigRequest', | ||
| 110 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::CatalogService::GetCompletionConfigRequest'->new($_) } @$_ ] }; | ||
| 111 | |||
| 112 | declare 'MapStringGetCompletionConfigRequest', | ||
| 113 | as HashRef[GetCompletionConfigRequest()]; | ||
| 114 | |||
| 115 | declare 'UpdateCompletionConfigRequest', | ||
| 116 | as InstanceOf['Google::Cloud::Retail::V2alpha::CatalogService::UpdateCompletionConfigRequest']; | ||
| 117 | |||
| 118 | coerce 'UpdateCompletionConfigRequest', | ||
| 119 | from HashRef, via { 'Google::Cloud::Retail::V2alpha::CatalogService::UpdateCompletionConfigRequest'->new($_) }; | ||
| 120 | |||
| 121 | declare 'RepeatedUpdateCompletionConfigRequest', | ||
| 122 | as ArrayRef[UpdateCompletionConfigRequest()]; | ||
| 123 | |||
| 124 | coerce 'RepeatedUpdateCompletionConfigRequest', | ||
| 125 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::CatalogService::UpdateCompletionConfigRequest'->new($_) } @$_ ] }; | ||
| 126 | |||
| 127 | declare 'MapStringUpdateCompletionConfigRequest', | ||
| 128 | as HashRef[UpdateCompletionConfigRequest()]; | ||
| 129 | |||
| 130 | declare 'GetAttributesConfigRequest', | ||
| 131 | as InstanceOf['Google::Cloud::Retail::V2alpha::CatalogService::GetAttributesConfigRequest']; | ||
| 132 | |||
| 133 | coerce 'GetAttributesConfigRequest', | ||
| 134 | from HashRef, via { 'Google::Cloud::Retail::V2alpha::CatalogService::GetAttributesConfigRequest'->new($_) }; | ||
| 135 | |||
| 136 | declare 'RepeatedGetAttributesConfigRequest', | ||
| 137 | as ArrayRef[GetAttributesConfigRequest()]; | ||
| 138 | |||
| 139 | coerce 'RepeatedGetAttributesConfigRequest', | ||
| 140 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::CatalogService::GetAttributesConfigRequest'->new($_) } @$_ ] }; | ||
| 141 | |||
| 142 | declare 'MapStringGetAttributesConfigRequest', | ||
| 143 | as HashRef[GetAttributesConfigRequest()]; | ||
| 144 | |||
| 145 | declare 'UpdateAttributesConfigRequest', | ||
| 146 | as InstanceOf['Google::Cloud::Retail::V2alpha::CatalogService::UpdateAttributesConfigRequest']; | ||
| 147 | |||
| 148 | coerce 'UpdateAttributesConfigRequest', | ||
| 149 | from HashRef, via { 'Google::Cloud::Retail::V2alpha::CatalogService::UpdateAttributesConfigRequest'->new($_) }; | ||
| 150 | |||
| 151 | declare 'RepeatedUpdateAttributesConfigRequest', | ||
| 152 | as ArrayRef[UpdateAttributesConfigRequest()]; | ||
| 153 | |||
| 154 | coerce 'RepeatedUpdateAttributesConfigRequest', | ||
| 155 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::CatalogService::UpdateAttributesConfigRequest'->new($_) } @$_ ] }; | ||
| 156 | |||
| 157 | declare 'MapStringUpdateAttributesConfigRequest', | ||
| 158 | as HashRef[UpdateAttributesConfigRequest()]; | ||
| 159 | |||
| 160 | declare 'AddCatalogAttributeRequest', | ||
| 161 | as InstanceOf['Google::Cloud::Retail::V2alpha::CatalogService::AddCatalogAttributeRequest']; | ||
| 162 | |||
| 163 | coerce 'AddCatalogAttributeRequest', | ||
| 164 | from HashRef, via { 'Google::Cloud::Retail::V2alpha::CatalogService::AddCatalogAttributeRequest'->new($_) }; | ||
| 165 | |||
| 166 | declare 'RepeatedAddCatalogAttributeRequest', | ||
| 167 | as ArrayRef[AddCatalogAttributeRequest()]; | ||
| 168 | |||
| 169 | coerce 'RepeatedAddCatalogAttributeRequest', | ||
| 170 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::CatalogService::AddCatalogAttributeRequest'->new($_) } @$_ ] }; | ||
| 171 | |||
| 172 | declare 'MapStringAddCatalogAttributeRequest', | ||
| 173 | as HashRef[AddCatalogAttributeRequest()]; | ||
| 174 | |||
| 175 | declare 'RemoveCatalogAttributeRequest', | ||
| 176 | as InstanceOf['Google::Cloud::Retail::V2alpha::CatalogService::RemoveCatalogAttributeRequest']; | ||
| 177 | |||
| 178 | coerce 'RemoveCatalogAttributeRequest', | ||
| 179 | from HashRef, via { 'Google::Cloud::Retail::V2alpha::CatalogService::RemoveCatalogAttributeRequest'->new($_) }; | ||
| 180 | |||
| 181 | declare 'RepeatedRemoveCatalogAttributeRequest', | ||
| 182 | as ArrayRef[RemoveCatalogAttributeRequest()]; | ||
| 183 | |||
| 184 | coerce 'RepeatedRemoveCatalogAttributeRequest', | ||
| 185 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::CatalogService::RemoveCatalogAttributeRequest'->new($_) } @$_ ] }; | ||
| 186 | |||
| 187 | declare 'MapStringRemoveCatalogAttributeRequest', | ||
| 188 | as HashRef[RemoveCatalogAttributeRequest()]; | ||
| 189 | |||
| 190 | declare 'BatchRemoveCatalogAttributesRequest', | ||
| 191 | as InstanceOf['Google::Cloud::Retail::V2alpha::CatalogService::BatchRemoveCatalogAttributesRequest']; | ||
| 192 | |||
| 193 | coerce 'BatchRemoveCatalogAttributesRequest', | ||
| 194 | from HashRef, via { 'Google::Cloud::Retail::V2alpha::CatalogService::BatchRemoveCatalogAttributesRequest'->new($_) }; | ||
| 195 | |||
| 196 | declare 'RepeatedBatchRemoveCatalogAttributesRequest', | ||
| 197 | as ArrayRef[BatchRemoveCatalogAttributesRequest()]; | ||
| 198 | |||
| 199 | coerce 'RepeatedBatchRemoveCatalogAttributesRequest', | ||
| 200 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::CatalogService::BatchRemoveCatalogAttributesRequest'->new($_) } @$_ ] }; | ||
| 201 | |||
| 202 | declare 'MapStringBatchRemoveCatalogAttributesRequest', | ||
| 203 | as HashRef[BatchRemoveCatalogAttributesRequest()]; | ||
| 204 | |||
| 205 | declare 'BatchRemoveCatalogAttributesResponse', | ||
| 206 | as InstanceOf['Google::Cloud::Retail::V2alpha::CatalogService::BatchRemoveCatalogAttributesResponse']; | ||
| 207 | |||
| 208 | coerce 'BatchRemoveCatalogAttributesResponse', | ||
| 209 | from HashRef, via { 'Google::Cloud::Retail::V2alpha::CatalogService::BatchRemoveCatalogAttributesResponse'->new($_) }; | ||
| 210 | |||
| 211 | declare 'RepeatedBatchRemoveCatalogAttributesResponse', | ||
| 212 | as ArrayRef[BatchRemoveCatalogAttributesResponse()]; | ||
| 213 | |||
| 214 | coerce 'RepeatedBatchRemoveCatalogAttributesResponse', | ||
| 215 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::CatalogService::BatchRemoveCatalogAttributesResponse'->new($_) } @$_ ] }; | ||
| 216 | |||
| 217 | declare 'MapStringBatchRemoveCatalogAttributesResponse', | ||
| 218 | as HashRef[BatchRemoveCatalogAttributesResponse()]; | ||
| 219 | |||
| 220 | declare 'ReplaceCatalogAttributeRequest', | ||
| 221 | as InstanceOf['Google::Cloud::Retail::V2alpha::CatalogService::ReplaceCatalogAttributeRequest']; | ||
| 222 | |||
| 223 | coerce 'ReplaceCatalogAttributeRequest', | ||
| 224 | from HashRef, via { 'Google::Cloud::Retail::V2alpha::CatalogService::ReplaceCatalogAttributeRequest'->new($_) }; | ||
| 225 | |||
| 226 | declare 'RepeatedReplaceCatalogAttributeRequest', | ||
| 227 | as ArrayRef[ReplaceCatalogAttributeRequest()]; | ||
| 228 | |||
| 229 | coerce 'RepeatedReplaceCatalogAttributeRequest', | ||
| 230 | from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Retail::V2alpha::CatalogService::ReplaceCatalogAttributeRequest'->new($_) } @$_ ] }; | ||
| 231 | |||
| 232 | declare 'MapStringReplaceCatalogAttributeRequest', | ||
| 233 | as HashRef[ReplaceCatalogAttributeRequest()]; | ||
| 234 | |||
| 235 | 1; | ||
| 236 | |||
| 237 | __END__ |