Debian Codegraph @

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

raw symbols SCIP
1 {
2 "clientLibrary": {
3 "name": "cloud.google.com/go/shopping/merchant/datasources/apiv1beta",
4 "version": "1.1.0",
5 "language": "GO",
6 "apis": [
7 {
8 "id": "google.shopping.merchant.datasources.v1beta",
9 "version": "v1beta"
10 }
11 ]
12 },
13 "snippets": [
14 {
15 "regionTag": "merchantapi_v1beta_generated_DataSourcesService_CreateDataSource_sync",
16 "title": "merchantapi CreateDataSource Sample",
17 "description": "CreateDataSource creates the new data source configuration for the given account.",
18 "file": "Client/CreateDataSource/main.go",
19 "language": "GO",
20 "clientMethod": {
21 "shortName": "CreateDataSource",
22 "fullName": "google.shopping.merchant.datasources.v1beta.Client.CreateDataSource",
23 "parameters": [
24 {
25 "type": "context.Context",
26 "name": "ctx"
27 },
28 {
29 "type": "datasourcespb.CreateDataSourceRequest",
30 "name": "req"
31 },
32 {
33 "type": "...gax.CallOption",
34 "name": "opts"
35 }
36 ],
37 "resultType": "*datasourcespb.DataSource",
38 "client": {
39 "shortName": "Client",
40 "fullName": "google.shopping.merchant.datasources.v1beta.Client"
41 },
42 "method": {
43 "shortName": "CreateDataSource",
44 "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService.CreateDataSource",
45 "service": {
46 "shortName": "DataSourcesService",
47 "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService"
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_v1beta_generated_DataSourcesService_DeleteDataSource_sync",
62 "title": "merchantapi DeleteDataSource Sample",
63 "description": "DeleteDataSource deletes a data source from your Merchant Center account.",
64 "file": "Client/DeleteDataSource/main.go",
65 "language": "GO",
66 "clientMethod": {
67 "shortName": "DeleteDataSource",
68 "fullName": "google.shopping.merchant.datasources.v1beta.Client.DeleteDataSource",
69 "parameters": [
70 {
71 "type": "context.Context",
72 "name": "ctx"
73 },
74 {
75 "type": "datasourcespb.DeleteDataSourceRequest",
76 "name": "req"
77 },
78 {
79 "type": "...gax.CallOption",
80 "name": "opts"
81 }
82 ],
83 "client": {
84 "shortName": "Client",
85 "fullName": "google.shopping.merchant.datasources.v1beta.Client"
86 },
87 "method": {
88 "shortName": "DeleteDataSource",
89 "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService.DeleteDataSource",
90 "service": {
91 "shortName": "DataSourcesService",
92 "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService"
93 }
94 }
95 },
96 "origin": "API_DEFINITION",
97 "segments": [
98 {
99 "start": 18,
100 "end": 51,
101 "type": "FULL"
102 }
103 ]
104 },
105 {
106 "regionTag": "merchantapi_v1beta_generated_DataSourcesService_FetchDataSource_sync",
107 "title": "merchantapi FetchDataSource Sample",
108 "description": "FetchDataSource performs the data fetch immediately (even outside fetch schedule) on a\ndata source from your Merchant Center Account. If you need to call\nthis method more than once per day, you should use the Products service to\nupdate your product data instead.\nThis method only works on data sources with a file input set.",
109 "file": "Client/FetchDataSource/main.go",
110 "language": "GO",
111 "clientMethod": {
112 "shortName": "FetchDataSource",
113 "fullName": "google.shopping.merchant.datasources.v1beta.Client.FetchDataSource",
114 "parameters": [
115 {
116 "type": "context.Context",
117 "name": "ctx"
118 },
119 {
120 "type": "datasourcespb.FetchDataSourceRequest",
121 "name": "req"
122 },
123 {
124 "type": "...gax.CallOption",
125 "name": "opts"
126 }
127 ],
128 "client": {
129 "shortName": "Client",
130 "fullName": "google.shopping.merchant.datasources.v1beta.Client"
131 },
132 "method": {
133 "shortName": "FetchDataSource",
134 "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService.FetchDataSource",
135 "service": {
136 "shortName": "DataSourcesService",
137 "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService"
138 }
139 }
140 },
141 "origin": "API_DEFINITION",
142 "segments": [
143 {
144 "start": 18,
145 "end": 51,
146 "type": "FULL"
147 }
148 ]
149 },
150 {
151 "regionTag": "merchantapi_v1beta_generated_DataSourcesService_GetDataSource_sync",
152 "title": "merchantapi GetDataSource Sample",
153 "description": "GetDataSource retrieves the data source configuration for the given account.",
154 "file": "Client/GetDataSource/main.go",
155 "language": "GO",
156 "clientMethod": {
157 "shortName": "GetDataSource",
158 "fullName": "google.shopping.merchant.datasources.v1beta.Client.GetDataSource",
159 "parameters": [
160 {
161 "type": "context.Context",
162 "name": "ctx"
163 },
164 {
165 "type": "datasourcespb.GetDataSourceRequest",
166 "name": "req"
167 },
168 {
169 "type": "...gax.CallOption",
170 "name": "opts"
171 }
172 ],
173 "resultType": "*datasourcespb.DataSource",
174 "client": {
175 "shortName": "Client",
176 "fullName": "google.shopping.merchant.datasources.v1beta.Client"
177 },
178 "method": {
179 "shortName": "GetDataSource",
180 "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService.GetDataSource",
181 "service": {
182 "shortName": "DataSourcesService",
183 "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService"
184 }
185 }
186 },
187 "origin": "API_DEFINITION",
188 "segments": [
189 {
190 "start": 18,
191 "end": 53,
192 "type": "FULL"
193 }
194 ]
195 },
196 {
197 "regionTag": "merchantapi_v1beta_generated_DataSourcesService_ListDataSources_sync",
198 "title": "merchantapi ListDataSources Sample",
199 "description": "ListDataSources lists the configurations for data sources for the given account.",
200 "file": "Client/ListDataSources/main.go",
201 "language": "GO",
202 "clientMethod": {
203 "shortName": "ListDataSources",
204 "fullName": "google.shopping.merchant.datasources.v1beta.Client.ListDataSources",
205 "parameters": [
206 {
207 "type": "context.Context",
208 "name": "ctx"
209 },
210 {
211 "type": "datasourcespb.ListDataSourcesRequest",
212 "name": "req"
213 },
214 {
215 "type": "...gax.CallOption",
216 "name": "opts"
217 }
218 ],
219 "resultType": "DataSourceIterator",
220 "client": {
221 "shortName": "Client",
222 "fullName": "google.shopping.merchant.datasources.v1beta.Client"
223 },
224 "method": {
225 "shortName": "ListDataSources",
226 "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService.ListDataSources",
227 "service": {
228 "shortName": "DataSourcesService",
229 "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService"
230 }
231 }
232 },
233 "origin": "API_DEFINITION",
234 "segments": [
235 {
236 "start": 18,
237 "end": 66,
238 "type": "FULL"
239 }
240 ]
241 },
242 {
243 "regionTag": "merchantapi_v1beta_generated_DataSourcesService_UpdateDataSource_sync",
244 "title": "merchantapi UpdateDataSource Sample",
245 "description": "UpdateDataSource updates the existing data source configuration. The fields that are\nset in the update mask but not provided in the resource will be deleted.",
246 "file": "Client/UpdateDataSource/main.go",
247 "language": "GO",
248 "clientMethod": {
249 "shortName": "UpdateDataSource",
250 "fullName": "google.shopping.merchant.datasources.v1beta.Client.UpdateDataSource",
251 "parameters": [
252 {
253 "type": "context.Context",
254 "name": "ctx"
255 },
256 {
257 "type": "datasourcespb.UpdateDataSourceRequest",
258 "name": "req"
259 },
260 {
261 "type": "...gax.CallOption",
262 "name": "opts"
263 }
264 ],
265 "resultType": "*datasourcespb.DataSource",
266 "client": {
267 "shortName": "Client",
268 "fullName": "google.shopping.merchant.datasources.v1beta.Client"
269 },
270 "method": {
271 "shortName": "UpdateDataSource",
272 "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService.UpdateDataSource",
273 "service": {
274 "shortName": "DataSourcesService",
275 "fullName": "google.shopping.merchant.datasources.v1beta.DataSourcesService"
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_FileUploadsService_GetFileUpload_sync",
290 "title": "merchantapi GetFileUpload Sample",
291 "description": "GetFileUpload gets the latest data source file upload. Only the `latest` alias is\naccepted for a file upload.",
292 "file": "FileUploadsClient/GetFileUpload/main.go",
293 "language": "GO",
294 "clientMethod": {
295 "shortName": "GetFileUpload",
296 "fullName": "google.shopping.merchant.datasources.v1beta.FileUploadsClient.GetFileUpload",
297 "parameters": [
298 {
299 "type": "context.Context",
300 "name": "ctx"
301 },
302 {
303 "type": "datasourcespb.GetFileUploadRequest",
304 "name": "req"
305 },
306 {
307 "type": "...gax.CallOption",
308 "name": "opts"
309 }
310 ],
311 "resultType": "*datasourcespb.FileUpload",
312 "client": {
313 "shortName": "FileUploadsClient",
314 "fullName": "google.shopping.merchant.datasources.v1beta.FileUploadsClient"
315 },
316 "method": {
317 "shortName": "GetFileUpload",
318 "fullName": "google.shopping.merchant.datasources.v1beta.FileUploadsService.GetFileUpload",
319 "service": {
320 "shortName": "FileUploadsService",
321 "fullName": "google.shopping.merchant.datasources.v1beta.FileUploadsService"
322 }
323 }
324 },
325 "origin": "API_DEFINITION",
326 "segments": [
327 {
328 "start": 18,
329 "end": 53,
330 "type": "FULL"
331 }
332 ]
333 }
334 ]
335 }