Debian Codegraph @

internal/generated/snippets/essentialcontacts/apiv1/snippet_metadata.google.cloud.essentialcontacts.v1.json

raw symbols SCIP
1 {
2 "clientLibrary": {
3 "name": "cloud.google.com/go/essentialcontacts/apiv1",
4 "version": "1.7.7",
5 "language": "GO",
6 "apis": [
7 {
8 "id": "google.cloud.essentialcontacts.v1",
9 "version": "v1"
10 }
11 ]
12 },
13 "snippets": [
14 {
15 "regionTag": "essentialcontacts_v1_generated_EssentialContactsService_ComputeContacts_sync",
16 "title": "essentialcontacts ComputeContacts Sample",
17 "description": "ComputeContacts lists all contacts for the resource that are subscribed to the\nspecified notification categories, including contacts inherited from\nany parent resources.",
18 "file": "Client/ComputeContacts/main.go",
19 "language": "GO",
20 "clientMethod": {
21 "shortName": "ComputeContacts",
22 "fullName": "google.cloud.essentialcontacts.v1.Client.ComputeContacts",
23 "parameters": [
24 {
25 "type": "context.Context",
26 "name": "ctx"
27 },
28 {
29 "type": "essentialcontactspb.ComputeContactsRequest",
30 "name": "req"
31 },
32 {
33 "type": "...gax.CallOption",
34 "name": "opts"
35 }
36 ],
37 "resultType": "ContactIterator",
38 "client": {
39 "shortName": "Client",
40 "fullName": "google.cloud.essentialcontacts.v1.Client"
41 },
42 "method": {
43 "shortName": "ComputeContacts",
44 "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.ComputeContacts",
45 "service": {
46 "shortName": "EssentialContactsService",
47 "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService"
48 }
49 }
50 },
51 "origin": "API_DEFINITION",
52 "segments": [
53 {
54 "start": 18,
55 "end": 66,
56 "type": "FULL"
57 }
58 ]
59 },
60 {
61 "regionTag": "essentialcontacts_v1_generated_EssentialContactsService_CreateContact_sync",
62 "title": "essentialcontacts CreateContact Sample",
63 "description": "CreateContact adds a new contact for a resource.",
64 "file": "Client/CreateContact/main.go",
65 "language": "GO",
66 "clientMethod": {
67 "shortName": "CreateContact",
68 "fullName": "google.cloud.essentialcontacts.v1.Client.CreateContact",
69 "parameters": [
70 {
71 "type": "context.Context",
72 "name": "ctx"
73 },
74 {
75 "type": "essentialcontactspb.CreateContactRequest",
76 "name": "req"
77 },
78 {
79 "type": "...gax.CallOption",
80 "name": "opts"
81 }
82 ],
83 "resultType": "*essentialcontactspb.Contact",
84 "client": {
85 "shortName": "Client",
86 "fullName": "google.cloud.essentialcontacts.v1.Client"
87 },
88 "method": {
89 "shortName": "CreateContact",
90 "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.CreateContact",
91 "service": {
92 "shortName": "EssentialContactsService",
93 "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService"
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": "essentialcontacts_v1_generated_EssentialContactsService_DeleteContact_sync",
108 "title": "essentialcontacts DeleteContact Sample",
109 "description": "DeleteContact deletes a contact.",
110 "file": "Client/DeleteContact/main.go",
111 "language": "GO",
112 "clientMethod": {
113 "shortName": "DeleteContact",
114 "fullName": "google.cloud.essentialcontacts.v1.Client.DeleteContact",
115 "parameters": [
116 {
117 "type": "context.Context",
118 "name": "ctx"
119 },
120 {
121 "type": "essentialcontactspb.DeleteContactRequest",
122 "name": "req"
123 },
124 {
125 "type": "...gax.CallOption",
126 "name": "opts"
127 }
128 ],
129 "client": {
130 "shortName": "Client",
131 "fullName": "google.cloud.essentialcontacts.v1.Client"
132 },
133 "method": {
134 "shortName": "DeleteContact",
135 "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.DeleteContact",
136 "service": {
137 "shortName": "EssentialContactsService",
138 "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService"
139 }
140 }
141 },
142 "origin": "API_DEFINITION",
143 "segments": [
144 {
145 "start": 18,
146 "end": 51,
147 "type": "FULL"
148 }
149 ]
150 },
151 {
152 "regionTag": "essentialcontacts_v1_generated_EssentialContactsService_GetContact_sync",
153 "title": "essentialcontacts GetContact Sample",
154 "description": "GetContact gets a single contact.",
155 "file": "Client/GetContact/main.go",
156 "language": "GO",
157 "clientMethod": {
158 "shortName": "GetContact",
159 "fullName": "google.cloud.essentialcontacts.v1.Client.GetContact",
160 "parameters": [
161 {
162 "type": "context.Context",
163 "name": "ctx"
164 },
165 {
166 "type": "essentialcontactspb.GetContactRequest",
167 "name": "req"
168 },
169 {
170 "type": "...gax.CallOption",
171 "name": "opts"
172 }
173 ],
174 "resultType": "*essentialcontactspb.Contact",
175 "client": {
176 "shortName": "Client",
177 "fullName": "google.cloud.essentialcontacts.v1.Client"
178 },
179 "method": {
180 "shortName": "GetContact",
181 "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.GetContact",
182 "service": {
183 "shortName": "EssentialContactsService",
184 "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService"
185 }
186 }
187 },
188 "origin": "API_DEFINITION",
189 "segments": [
190 {
191 "start": 18,
192 "end": 53,
193 "type": "FULL"
194 }
195 ]
196 },
197 {
198 "regionTag": "essentialcontacts_v1_generated_EssentialContactsService_ListContacts_sync",
199 "title": "essentialcontacts ListContacts Sample",
200 "description": "ListContacts lists the contacts that have been set on a resource.",
201 "file": "Client/ListContacts/main.go",
202 "language": "GO",
203 "clientMethod": {
204 "shortName": "ListContacts",
205 "fullName": "google.cloud.essentialcontacts.v1.Client.ListContacts",
206 "parameters": [
207 {
208 "type": "context.Context",
209 "name": "ctx"
210 },
211 {
212 "type": "essentialcontactspb.ListContactsRequest",
213 "name": "req"
214 },
215 {
216 "type": "...gax.CallOption",
217 "name": "opts"
218 }
219 ],
220 "resultType": "ContactIterator",
221 "client": {
222 "shortName": "Client",
223 "fullName": "google.cloud.essentialcontacts.v1.Client"
224 },
225 "method": {
226 "shortName": "ListContacts",
227 "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.ListContacts",
228 "service": {
229 "shortName": "EssentialContactsService",
230 "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService"
231 }
232 }
233 },
234 "origin": "API_DEFINITION",
235 "segments": [
236 {
237 "start": 18,
238 "end": 66,
239 "type": "FULL"
240 }
241 ]
242 },
243 {
244 "regionTag": "essentialcontacts_v1_generated_EssentialContactsService_SendTestMessage_sync",
245 "title": "essentialcontacts SendTestMessage Sample",
246 "description": "SendTestMessage allows a contact admin to send a test message to contact to verify that it\nhas been configured correctly.",
247 "file": "Client/SendTestMessage/main.go",
248 "language": "GO",
249 "clientMethod": {
250 "shortName": "SendTestMessage",
251 "fullName": "google.cloud.essentialcontacts.v1.Client.SendTestMessage",
252 "parameters": [
253 {
254 "type": "context.Context",
255 "name": "ctx"
256 },
257 {
258 "type": "essentialcontactspb.SendTestMessageRequest",
259 "name": "req"
260 },
261 {
262 "type": "...gax.CallOption",
263 "name": "opts"
264 }
265 ],
266 "client": {
267 "shortName": "Client",
268 "fullName": "google.cloud.essentialcontacts.v1.Client"
269 },
270 "method": {
271 "shortName": "SendTestMessage",
272 "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.SendTestMessage",
273 "service": {
274 "shortName": "EssentialContactsService",
275 "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService"
276 }
277 }
278 },
279 "origin": "API_DEFINITION",
280 "segments": [
281 {
282 "start": 18,
283 "end": 51,
284 "type": "FULL"
285 }
286 ]
287 },
288 {
289 "regionTag": "essentialcontacts_v1_generated_EssentialContactsService_UpdateContact_sync",
290 "title": "essentialcontacts UpdateContact Sample",
291 "description": "UpdateContact updates a contact.\nNote: A contact's email address cannot be changed.",
292 "file": "Client/UpdateContact/main.go",
293 "language": "GO",
294 "clientMethod": {
295 "shortName": "UpdateContact",
296 "fullName": "google.cloud.essentialcontacts.v1.Client.UpdateContact",
297 "parameters": [
298 {
299 "type": "context.Context",
300 "name": "ctx"
301 },
302 {
303 "type": "essentialcontactspb.UpdateContactRequest",
304 "name": "req"
305 },
306 {
307 "type": "...gax.CallOption",
308 "name": "opts"
309 }
310 ],
311 "resultType": "*essentialcontactspb.Contact",
312 "client": {
313 "shortName": "Client",
314 "fullName": "google.cloud.essentialcontacts.v1.Client"
315 },
316 "method": {
317 "shortName": "UpdateContact",
318 "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService.UpdateContact",
319 "service": {
320 "shortName": "EssentialContactsService",
321 "fullName": "google.cloud.essentialcontacts.v1.EssentialContactsService"
322 }
323 }
324 },
325 "origin": "API_DEFINITION",
326 "segments": [
327 {
328 "start": 18,
329 "end": 53,
330 "type": "FULL"
331 }
332 ]
333 }
334 ]
335 }