Debian Codegraph @

internal/generated/snippets/shopping/merchant/lfp/apiv1/snippet_metadata.google.shopping.merchant.lfp.v1.json

raw symbols SCIP
1 {
2 "clientLibrary": {
3 "name": "cloud.google.com/go/shopping/merchant/lfp/apiv1",
4 "version": "1.1.0",
5 "language": "GO",
6 "apis": [
7 {
8 "id": "google.shopping.merchant.lfp.v1",
9 "version": "v1"
10 }
11 ]
12 },
13 "snippets": [
14 {
15 "regionTag": "merchantapi_v1_generated_LfpInventoryService_InsertLfpInventory_sync",
16 "title": "merchantapi InsertLfpInventory Sample",
17 "description": "InsertLfpInventory inserts a `LfpInventory` resource for the given target merchant account. If\nthe resource already exists, it will be replaced. The inventory\nautomatically expires after 30 days.",
18 "file": "LfpInventoryClient/InsertLfpInventory/main.go",
19 "language": "GO",
20 "clientMethod": {
21 "shortName": "InsertLfpInventory",
22 "fullName": "google.shopping.merchant.lfp.v1.LfpInventoryClient.InsertLfpInventory",
23 "parameters": [
24 {
25 "type": "context.Context",
26 "name": "ctx"
27 },
28 {
29 "type": "lfppb.InsertLfpInventoryRequest",
30 "name": "req"
31 },
32 {
33 "type": "...gax.CallOption",
34 "name": "opts"
35 }
36 ],
37 "resultType": "*lfppb.LfpInventory",
38 "client": {
39 "shortName": "LfpInventoryClient",
40 "fullName": "google.shopping.merchant.lfp.v1.LfpInventoryClient"
41 },
42 "method": {
43 "shortName": "InsertLfpInventory",
44 "fullName": "google.shopping.merchant.lfp.v1.LfpInventoryService.InsertLfpInventory",
45 "service": {
46 "shortName": "LfpInventoryService",
47 "fullName": "google.shopping.merchant.lfp.v1.LfpInventoryService"
48 }
49 }
50 },
51 "origin": "API_DEFINITION",
52 "segments": [
53 {
54 "start": 18,
55 "end": 53,
56 "type": "FULL"
57 }
58 ]
59 },
60 {
61 "regionTag": "merchantapi_v1_generated_LfpMerchantStateService_GetLfpMerchantState_sync",
62 "title": "merchantapi GetLfpMerchantState Sample",
63 "description": "GetLfpMerchantState gets the LFP state of a merchant",
64 "file": "LfpMerchantStateClient/GetLfpMerchantState/main.go",
65 "language": "GO",
66 "clientMethod": {
67 "shortName": "GetLfpMerchantState",
68 "fullName": "google.shopping.merchant.lfp.v1.LfpMerchantStateClient.GetLfpMerchantState",
69 "parameters": [
70 {
71 "type": "context.Context",
72 "name": "ctx"
73 },
74 {
75 "type": "lfppb.GetLfpMerchantStateRequest",
76 "name": "req"
77 },
78 {
79 "type": "...gax.CallOption",
80 "name": "opts"
81 }
82 ],
83 "resultType": "*lfppb.LfpMerchantState",
84 "client": {
85 "shortName": "LfpMerchantStateClient",
86 "fullName": "google.shopping.merchant.lfp.v1.LfpMerchantStateClient"
87 },
88 "method": {
89 "shortName": "GetLfpMerchantState",
90 "fullName": "google.shopping.merchant.lfp.v1.LfpMerchantStateService.GetLfpMerchantState",
91 "service": {
92 "shortName": "LfpMerchantStateService",
93 "fullName": "google.shopping.merchant.lfp.v1.LfpMerchantStateService"
94 }
95 }
96 },
97 "origin": "API_DEFINITION",
98 "segments": [
99 {
100 "start": 18,
101 "end": 53,
102 "type": "FULL"
103 }
104 ]
105 },
106 {
107 "regionTag": "merchantapi_v1_generated_LfpSaleService_InsertLfpSale_sync",
108 "title": "merchantapi InsertLfpSale Sample",
109 "description": "InsertLfpSale inserts a `LfpSale` for the given merchant.",
110 "file": "LfpSaleClient/InsertLfpSale/main.go",
111 "language": "GO",
112 "clientMethod": {
113 "shortName": "InsertLfpSale",
114 "fullName": "google.shopping.merchant.lfp.v1.LfpSaleClient.InsertLfpSale",
115 "parameters": [
116 {
117 "type": "context.Context",
118 "name": "ctx"
119 },
120 {
121 "type": "lfppb.InsertLfpSaleRequest",
122 "name": "req"
123 },
124 {
125 "type": "...gax.CallOption",
126 "name": "opts"
127 }
128 ],
129 "resultType": "*lfppb.LfpSale",
130 "client": {
131 "shortName": "LfpSaleClient",
132 "fullName": "google.shopping.merchant.lfp.v1.LfpSaleClient"
133 },
134 "method": {
135 "shortName": "InsertLfpSale",
136 "fullName": "google.shopping.merchant.lfp.v1.LfpSaleService.InsertLfpSale",
137 "service": {
138 "shortName": "LfpSaleService",
139 "fullName": "google.shopping.merchant.lfp.v1.LfpSaleService"
140 }
141 }
142 },
143 "origin": "API_DEFINITION",
144 "segments": [
145 {
146 "start": 18,
147 "end": 53,
148 "type": "FULL"
149 }
150 ]
151 },
152 {
153 "regionTag": "merchantapi_v1_generated_LfpStoreService_DeleteLfpStore_sync",
154 "title": "merchantapi DeleteLfpStore Sample",
155 "description": "DeleteLfpStore deletes a store for a target merchant.",
156 "file": "LfpStoreClient/DeleteLfpStore/main.go",
157 "language": "GO",
158 "clientMethod": {
159 "shortName": "DeleteLfpStore",
160 "fullName": "google.shopping.merchant.lfp.v1.LfpStoreClient.DeleteLfpStore",
161 "parameters": [
162 {
163 "type": "context.Context",
164 "name": "ctx"
165 },
166 {
167 "type": "lfppb.DeleteLfpStoreRequest",
168 "name": "req"
169 },
170 {
171 "type": "...gax.CallOption",
172 "name": "opts"
173 }
174 ],
175 "client": {
176 "shortName": "LfpStoreClient",
177 "fullName": "google.shopping.merchant.lfp.v1.LfpStoreClient"
178 },
179 "method": {
180 "shortName": "DeleteLfpStore",
181 "fullName": "google.shopping.merchant.lfp.v1.LfpStoreService.DeleteLfpStore",
182 "service": {
183 "shortName": "LfpStoreService",
184 "fullName": "google.shopping.merchant.lfp.v1.LfpStoreService"
185 }
186 }
187 },
188 "origin": "API_DEFINITION",
189 "segments": [
190 {
191 "start": 18,
192 "end": 51,
193 "type": "FULL"
194 }
195 ]
196 },
197 {
198 "regionTag": "merchantapi_v1_generated_LfpStoreService_GetLfpStore_sync",
199 "title": "merchantapi GetLfpStore Sample",
200 "description": "GetLfpStore retrieves information about a store.",
201 "file": "LfpStoreClient/GetLfpStore/main.go",
202 "language": "GO",
203 "clientMethod": {
204 "shortName": "GetLfpStore",
205 "fullName": "google.shopping.merchant.lfp.v1.LfpStoreClient.GetLfpStore",
206 "parameters": [
207 {
208 "type": "context.Context",
209 "name": "ctx"
210 },
211 {
212 "type": "lfppb.GetLfpStoreRequest",
213 "name": "req"
214 },
215 {
216 "type": "...gax.CallOption",
217 "name": "opts"
218 }
219 ],
220 "resultType": "*lfppb.LfpStore",
221 "client": {
222 "shortName": "LfpStoreClient",
223 "fullName": "google.shopping.merchant.lfp.v1.LfpStoreClient"
224 },
225 "method": {
226 "shortName": "GetLfpStore",
227 "fullName": "google.shopping.merchant.lfp.v1.LfpStoreService.GetLfpStore",
228 "service": {
229 "shortName": "LfpStoreService",
230 "fullName": "google.shopping.merchant.lfp.v1.LfpStoreService"
231 }
232 }
233 },
234 "origin": "API_DEFINITION",
235 "segments": [
236 {
237 "start": 18,
238 "end": 53,
239 "type": "FULL"
240 }
241 ]
242 },
243 {
244 "regionTag": "merchantapi_v1_generated_LfpStoreService_InsertLfpStore_sync",
245 "title": "merchantapi InsertLfpStore Sample",
246 "description": "InsertLfpStore inserts a store for the target merchant. If the store with the same store\ncode already exists, it will be replaced.",
247 "file": "LfpStoreClient/InsertLfpStore/main.go",
248 "language": "GO",
249 "clientMethod": {
250 "shortName": "InsertLfpStore",
251 "fullName": "google.shopping.merchant.lfp.v1.LfpStoreClient.InsertLfpStore",
252 "parameters": [
253 {
254 "type": "context.Context",
255 "name": "ctx"
256 },
257 {
258 "type": "lfppb.InsertLfpStoreRequest",
259 "name": "req"
260 },
261 {
262 "type": "...gax.CallOption",
263 "name": "opts"
264 }
265 ],
266 "resultType": "*lfppb.LfpStore",
267 "client": {
268 "shortName": "LfpStoreClient",
269 "fullName": "google.shopping.merchant.lfp.v1.LfpStoreClient"
270 },
271 "method": {
272 "shortName": "InsertLfpStore",
273 "fullName": "google.shopping.merchant.lfp.v1.LfpStoreService.InsertLfpStore",
274 "service": {
275 "shortName": "LfpStoreService",
276 "fullName": "google.shopping.merchant.lfp.v1.LfpStoreService"
277 }
278 }
279 },
280 "origin": "API_DEFINITION",
281 "segments": [
282 {
283 "start": 18,
284 "end": 53,
285 "type": "FULL"
286 }
287 ]
288 },
289 {
290 "regionTag": "merchantapi_v1_generated_LfpStoreService_ListLfpStores_sync",
291 "title": "merchantapi ListLfpStores Sample",
292 "description": "ListLfpStores lists the stores of the target merchant, specified by the filter in\n`ListLfpStoresRequest`.",
293 "file": "LfpStoreClient/ListLfpStores/main.go",
294 "language": "GO",
295 "clientMethod": {
296 "shortName": "ListLfpStores",
297 "fullName": "google.shopping.merchant.lfp.v1.LfpStoreClient.ListLfpStores",
298 "parameters": [
299 {
300 "type": "context.Context",
301 "name": "ctx"
302 },
303 {
304 "type": "lfppb.ListLfpStoresRequest",
305 "name": "req"
306 },
307 {
308 "type": "...gax.CallOption",
309 "name": "opts"
310 }
311 ],
312 "resultType": "LfpStoreIterator",
313 "client": {
314 "shortName": "LfpStoreClient",
315 "fullName": "google.shopping.merchant.lfp.v1.LfpStoreClient"
316 },
317 "method": {
318 "shortName": "ListLfpStores",
319 "fullName": "google.shopping.merchant.lfp.v1.LfpStoreService.ListLfpStores",
320 "service": {
321 "shortName": "LfpStoreService",
322 "fullName": "google.shopping.merchant.lfp.v1.LfpStoreService"
323 }
324 }
325 },
326 "origin": "API_DEFINITION",
327 "segments": [
328 {
329 "start": 18,
330 "end": 66,
331 "type": "FULL"
332 }
333 ]
334 }
335 ]
336 }