Debian Codegraph @

internal/generated/snippets/shopping/merchant/reviews/apiv1beta/snippet_metadata.google.shopping.merchant.reviews.v1beta.json

raw symbols SCIP
1 {
2 "clientLibrary": {
3 "name": "cloud.google.com/go/shopping/merchant/reviews/apiv1beta",
4 "version": "1.1.0",
5 "language": "GO",
6 "apis": [
7 {
8 "id": "google.shopping.merchant.reviews.v1beta",
9 "version": "v1beta"
10 }
11 ]
12 },
13 "snippets": [
14 {
15 "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_DeleteMerchantReview_sync",
16 "title": "merchantapi DeleteMerchantReview Sample",
17 "description": "DeleteMerchantReview deletes merchant review.",
18 "file": "MerchantReviewsClient/DeleteMerchantReview/main.go",
19 "language": "GO",
20 "clientMethod": {
21 "shortName": "DeleteMerchantReview",
22 "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsClient.DeleteMerchantReview",
23 "parameters": [
24 {
25 "type": "context.Context",
26 "name": "ctx"
27 },
28 {
29 "type": "reviewspb.DeleteMerchantReviewRequest",
30 "name": "req"
31 },
32 {
33 "type": "...gax.CallOption",
34 "name": "opts"
35 }
36 ],
37 "client": {
38 "shortName": "MerchantReviewsClient",
39 "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsClient"
40 },
41 "method": {
42 "shortName": "DeleteMerchantReview",
43 "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.DeleteMerchantReview",
44 "service": {
45 "shortName": "MerchantReviewsService",
46 "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService"
47 }
48 }
49 },
50 "origin": "API_DEFINITION",
51 "segments": [
52 {
53 "start": 18,
54 "end": 51,
55 "type": "FULL"
56 }
57 ]
58 },
59 {
60 "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_GetMerchantReview_sync",
61 "title": "merchantapi GetMerchantReview Sample",
62 "description": "GetMerchantReview gets a merchant review.",
63 "file": "MerchantReviewsClient/GetMerchantReview/main.go",
64 "language": "GO",
65 "clientMethod": {
66 "shortName": "GetMerchantReview",
67 "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsClient.GetMerchantReview",
68 "parameters": [
69 {
70 "type": "context.Context",
71 "name": "ctx"
72 },
73 {
74 "type": "reviewspb.GetMerchantReviewRequest",
75 "name": "req"
76 },
77 {
78 "type": "...gax.CallOption",
79 "name": "opts"
80 }
81 ],
82 "resultType": "*reviewspb.MerchantReview",
83 "client": {
84 "shortName": "MerchantReviewsClient",
85 "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsClient"
86 },
87 "method": {
88 "shortName": "GetMerchantReview",
89 "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.GetMerchantReview",
90 "service": {
91 "shortName": "MerchantReviewsService",
92 "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService"
93 }
94 }
95 },
96 "origin": "API_DEFINITION",
97 "segments": [
98 {
99 "start": 18,
100 "end": 53,
101 "type": "FULL"
102 }
103 ]
104 },
105 {
106 "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_InsertMerchantReview_sync",
107 "title": "merchantapi InsertMerchantReview Sample",
108 "description": "InsertMerchantReview inserts a review for your Merchant Center account. If the review\nalready exists, then the review is replaced with the new instance.",
109 "file": "MerchantReviewsClient/InsertMerchantReview/main.go",
110 "language": "GO",
111 "clientMethod": {
112 "shortName": "InsertMerchantReview",
113 "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsClient.InsertMerchantReview",
114 "parameters": [
115 {
116 "type": "context.Context",
117 "name": "ctx"
118 },
119 {
120 "type": "reviewspb.InsertMerchantReviewRequest",
121 "name": "req"
122 },
123 {
124 "type": "...gax.CallOption",
125 "name": "opts"
126 }
127 ],
128 "resultType": "*reviewspb.MerchantReview",
129 "client": {
130 "shortName": "MerchantReviewsClient",
131 "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsClient"
132 },
133 "method": {
134 "shortName": "InsertMerchantReview",
135 "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.InsertMerchantReview",
136 "service": {
137 "shortName": "MerchantReviewsService",
138 "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService"
139 }
140 }
141 },
142 "origin": "API_DEFINITION",
143 "segments": [
144 {
145 "start": 18,
146 "end": 53,
147 "type": "FULL"
148 }
149 ]
150 },
151 {
152 "regionTag": "merchantapi_v1beta_generated_MerchantReviewsService_ListMerchantReviews_sync",
153 "title": "merchantapi ListMerchantReviews Sample",
154 "description": "ListMerchantReviews lists merchant reviews.",
155 "file": "MerchantReviewsClient/ListMerchantReviews/main.go",
156 "language": "GO",
157 "clientMethod": {
158 "shortName": "ListMerchantReviews",
159 "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsClient.ListMerchantReviews",
160 "parameters": [
161 {
162 "type": "context.Context",
163 "name": "ctx"
164 },
165 {
166 "type": "reviewspb.ListMerchantReviewsRequest",
167 "name": "req"
168 },
169 {
170 "type": "...gax.CallOption",
171 "name": "opts"
172 }
173 ],
174 "resultType": "MerchantReviewIterator",
175 "client": {
176 "shortName": "MerchantReviewsClient",
177 "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsClient"
178 },
179 "method": {
180 "shortName": "ListMerchantReviews",
181 "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService.ListMerchantReviews",
182 "service": {
183 "shortName": "MerchantReviewsService",
184 "fullName": "google.shopping.merchant.reviews.v1beta.MerchantReviewsService"
185 }
186 }
187 },
188 "origin": "API_DEFINITION",
189 "segments": [
190 {
191 "start": 18,
192 "end": 66,
193 "type": "FULL"
194 }
195 ]
196 },
197 {
198 "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_DeleteProductReview_sync",
199 "title": "merchantapi DeleteProductReview Sample",
200 "description": "DeleteProductReview deletes a product review.",
201 "file": "ProductReviewsClient/DeleteProductReview/main.go",
202 "language": "GO",
203 "clientMethod": {
204 "shortName": "DeleteProductReview",
205 "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsClient.DeleteProductReview",
206 "parameters": [
207 {
208 "type": "context.Context",
209 "name": "ctx"
210 },
211 {
212 "type": "reviewspb.DeleteProductReviewRequest",
213 "name": "req"
214 },
215 {
216 "type": "...gax.CallOption",
217 "name": "opts"
218 }
219 ],
220 "client": {
221 "shortName": "ProductReviewsClient",
222 "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsClient"
223 },
224 "method": {
225 "shortName": "DeleteProductReview",
226 "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.DeleteProductReview",
227 "service": {
228 "shortName": "ProductReviewsService",
229 "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService"
230 }
231 }
232 },
233 "origin": "API_DEFINITION",
234 "segments": [
235 {
236 "start": 18,
237 "end": 51,
238 "type": "FULL"
239 }
240 ]
241 },
242 {
243 "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_GetProductReview_sync",
244 "title": "merchantapi GetProductReview Sample",
245 "description": "GetProductReview gets a product review.",
246 "file": "ProductReviewsClient/GetProductReview/main.go",
247 "language": "GO",
248 "clientMethod": {
249 "shortName": "GetProductReview",
250 "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsClient.GetProductReview",
251 "parameters": [
252 {
253 "type": "context.Context",
254 "name": "ctx"
255 },
256 {
257 "type": "reviewspb.GetProductReviewRequest",
258 "name": "req"
259 },
260 {
261 "type": "...gax.CallOption",
262 "name": "opts"
263 }
264 ],
265 "resultType": "*reviewspb.ProductReview",
266 "client": {
267 "shortName": "ProductReviewsClient",
268 "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsClient"
269 },
270 "method": {
271 "shortName": "GetProductReview",
272 "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.GetProductReview",
273 "service": {
274 "shortName": "ProductReviewsService",
275 "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService"
276 }
277 }
278 },
279 "origin": "API_DEFINITION",
280 "segments": [
281 {
282 "start": 18,
283 "end": 53,
284 "type": "FULL"
285 }
286 ]
287 },
288 {
289 "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_InsertProductReview_sync",
290 "title": "merchantapi InsertProductReview Sample",
291 "description": "InsertProductReview inserts a product review.",
292 "file": "ProductReviewsClient/InsertProductReview/main.go",
293 "language": "GO",
294 "clientMethod": {
295 "shortName": "InsertProductReview",
296 "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsClient.InsertProductReview",
297 "parameters": [
298 {
299 "type": "context.Context",
300 "name": "ctx"
301 },
302 {
303 "type": "reviewspb.InsertProductReviewRequest",
304 "name": "req"
305 },
306 {
307 "type": "...gax.CallOption",
308 "name": "opts"
309 }
310 ],
311 "resultType": "*reviewspb.ProductReview",
312 "client": {
313 "shortName": "ProductReviewsClient",
314 "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsClient"
315 },
316 "method": {
317 "shortName": "InsertProductReview",
318 "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.InsertProductReview",
319 "service": {
320 "shortName": "ProductReviewsService",
321 "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService"
322 }
323 }
324 },
325 "origin": "API_DEFINITION",
326 "segments": [
327 {
328 "start": 18,
329 "end": 53,
330 "type": "FULL"
331 }
332 ]
333 },
334 {
335 "regionTag": "merchantapi_v1beta_generated_ProductReviewsService_ListProductReviews_sync",
336 "title": "merchantapi ListProductReviews Sample",
337 "description": "ListProductReviews lists product reviews.",
338 "file": "ProductReviewsClient/ListProductReviews/main.go",
339 "language": "GO",
340 "clientMethod": {
341 "shortName": "ListProductReviews",
342 "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsClient.ListProductReviews",
343 "parameters": [
344 {
345 "type": "context.Context",
346 "name": "ctx"
347 },
348 {
349 "type": "reviewspb.ListProductReviewsRequest",
350 "name": "req"
351 },
352 {
353 "type": "...gax.CallOption",
354 "name": "opts"
355 }
356 ],
357 "resultType": "ProductReviewIterator",
358 "client": {
359 "shortName": "ProductReviewsClient",
360 "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsClient"
361 },
362 "method": {
363 "shortName": "ListProductReviews",
364 "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService.ListProductReviews",
365 "service": {
366 "shortName": "ProductReviewsService",
367 "fullName": "google.shopping.merchant.reviews.v1beta.ProductReviewsService"
368 }
369 }
370 },
371 "origin": "API_DEFINITION",
372 "segments": [
373 {
374 "start": 18,
375 "end": 66,
376 "type": "FULL"
377 }
378 ]
379 }
380 ]
381 }