Debian Codegraph @

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

raw symbols SCIP
1 {
2 "clientLibrary": {
3 "name": "cloud.google.com/go/chronicle/apiv1",
4 "version": "0.1.1",
5 "language": "GO",
6 "apis": [
7 {
8 "id": "google.cloud.chronicle.v1",
9 "version": "v1"
10 }
11 ]
12 },
13 "snippets": [
14 {
15 "regionTag": "chronicle_v1_generated_DataAccessControlService_CancelOperation_sync",
16 "title": "chronicle CancelOperation Sample",
17 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
18 "file": "DataAccessControlClient/CancelOperation/main.go",
19 "language": "GO",
20 "clientMethod": {
21 "shortName": "CancelOperation",
22 "fullName": "google.cloud.chronicle.v1.DataAccessControlClient.CancelOperation",
23 "parameters": [
24 {
25 "type": "context.Context",
26 "name": "ctx"
27 },
28 {
29 "type": "longrunningpb.CancelOperationRequest",
30 "name": "req"
31 },
32 {
33 "type": "...gax.CallOption",
34 "name": "opts"
35 }
36 ],
37 "client": {
38 "shortName": "DataAccessControlClient",
39 "fullName": "google.cloud.chronicle.v1.DataAccessControlClient"
40 },
41 "method": {
42 "shortName": "CancelOperation",
43 "fullName": "google.longrunning.Operations.CancelOperation",
44 "service": {
45 "shortName": "Operations",
46 "fullName": "google.longrunning.Operations"
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": "chronicle_v1_generated_DataAccessControlService_CreateDataAccessLabel_sync",
61 "title": "chronicle CreateDataAccessLabel Sample",
62 "description": "CreateDataAccessLabel creates a data access label.\nData access labels are applied to incoming event data and selected in data\naccess scopes (another resource), and only users with scopes containing the\nlabel can see data with that label. Currently, the data access label\nresource only includes custom labels, which are labels that correspond\nto UDM queries over event data.",
63 "file": "DataAccessControlClient/CreateDataAccessLabel/main.go",
64 "language": "GO",
65 "clientMethod": {
66 "shortName": "CreateDataAccessLabel",
67 "fullName": "google.cloud.chronicle.v1.DataAccessControlClient.CreateDataAccessLabel",
68 "parameters": [
69 {
70 "type": "context.Context",
71 "name": "ctx"
72 },
73 {
74 "type": "chroniclepb.CreateDataAccessLabelRequest",
75 "name": "req"
76 },
77 {
78 "type": "...gax.CallOption",
79 "name": "opts"
80 }
81 ],
82 "resultType": "*chroniclepb.DataAccessLabel",
83 "client": {
84 "shortName": "DataAccessControlClient",
85 "fullName": "google.cloud.chronicle.v1.DataAccessControlClient"
86 },
87 "method": {
88 "shortName": "CreateDataAccessLabel",
89 "fullName": "google.cloud.chronicle.v1.DataAccessControlService.CreateDataAccessLabel",
90 "service": {
91 "shortName": "DataAccessControlService",
92 "fullName": "google.cloud.chronicle.v1.DataAccessControlService"
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": "chronicle_v1_generated_DataAccessControlService_CreateDataAccessScope_sync",
107 "title": "chronicle CreateDataAccessScope Sample",
108 "description": "CreateDataAccessScope creates a data access scope.\nData access scope is a combination of allowed and denied labels attached\nto a permission group. If a scope has allowed labels A and B and denied\nlabels C and D, then the group of people attached to the scope\nwill have permissions to see all events labeled with A or B (or both) and\nnot labeled with either C or D.",
109 "file": "DataAccessControlClient/CreateDataAccessScope/main.go",
110 "language": "GO",
111 "clientMethod": {
112 "shortName": "CreateDataAccessScope",
113 "fullName": "google.cloud.chronicle.v1.DataAccessControlClient.CreateDataAccessScope",
114 "parameters": [
115 {
116 "type": "context.Context",
117 "name": "ctx"
118 },
119 {
120 "type": "chroniclepb.CreateDataAccessScopeRequest",
121 "name": "req"
122 },
123 {
124 "type": "...gax.CallOption",
125 "name": "opts"
126 }
127 ],
128 "resultType": "*chroniclepb.DataAccessScope",
129 "client": {
130 "shortName": "DataAccessControlClient",
131 "fullName": "google.cloud.chronicle.v1.DataAccessControlClient"
132 },
133 "method": {
134 "shortName": "CreateDataAccessScope",
135 "fullName": "google.cloud.chronicle.v1.DataAccessControlService.CreateDataAccessScope",
136 "service": {
137 "shortName": "DataAccessControlService",
138 "fullName": "google.cloud.chronicle.v1.DataAccessControlService"
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": "chronicle_v1_generated_DataAccessControlService_DeleteDataAccessLabel_sync",
153 "title": "chronicle DeleteDataAccessLabel Sample",
154 "description": "DeleteDataAccessLabel deletes a data access label. When a label is deleted, new\ndata that enters in the system will not receive the label, but the label\nwill not be removed from old data that still refers to it.",
155 "file": "DataAccessControlClient/DeleteDataAccessLabel/main.go",
156 "language": "GO",
157 "clientMethod": {
158 "shortName": "DeleteDataAccessLabel",
159 "fullName": "google.cloud.chronicle.v1.DataAccessControlClient.DeleteDataAccessLabel",
160 "parameters": [
161 {
162 "type": "context.Context",
163 "name": "ctx"
164 },
165 {
166 "type": "chroniclepb.DeleteDataAccessLabelRequest",
167 "name": "req"
168 },
169 {
170 "type": "...gax.CallOption",
171 "name": "opts"
172 }
173 ],
174 "client": {
175 "shortName": "DataAccessControlClient",
176 "fullName": "google.cloud.chronicle.v1.DataAccessControlClient"
177 },
178 "method": {
179 "shortName": "DeleteDataAccessLabel",
180 "fullName": "google.cloud.chronicle.v1.DataAccessControlService.DeleteDataAccessLabel",
181 "service": {
182 "shortName": "DataAccessControlService",
183 "fullName": "google.cloud.chronicle.v1.DataAccessControlService"
184 }
185 }
186 },
187 "origin": "API_DEFINITION",
188 "segments": [
189 {
190 "start": 18,
191 "end": 51,
192 "type": "FULL"
193 }
194 ]
195 },
196 {
197 "regionTag": "chronicle_v1_generated_DataAccessControlService_DeleteDataAccessScope_sync",
198 "title": "chronicle DeleteDataAccessScope Sample",
199 "description": "DeleteDataAccessScope deletes a data access scope.",
200 "file": "DataAccessControlClient/DeleteDataAccessScope/main.go",
201 "language": "GO",
202 "clientMethod": {
203 "shortName": "DeleteDataAccessScope",
204 "fullName": "google.cloud.chronicle.v1.DataAccessControlClient.DeleteDataAccessScope",
205 "parameters": [
206 {
207 "type": "context.Context",
208 "name": "ctx"
209 },
210 {
211 "type": "chroniclepb.DeleteDataAccessScopeRequest",
212 "name": "req"
213 },
214 {
215 "type": "...gax.CallOption",
216 "name": "opts"
217 }
218 ],
219 "client": {
220 "shortName": "DataAccessControlClient",
221 "fullName": "google.cloud.chronicle.v1.DataAccessControlClient"
222 },
223 "method": {
224 "shortName": "DeleteDataAccessScope",
225 "fullName": "google.cloud.chronicle.v1.DataAccessControlService.DeleteDataAccessScope",
226 "service": {
227 "shortName": "DataAccessControlService",
228 "fullName": "google.cloud.chronicle.v1.DataAccessControlService"
229 }
230 }
231 },
232 "origin": "API_DEFINITION",
233 "segments": [
234 {
235 "start": 18,
236 "end": 51,
237 "type": "FULL"
238 }
239 ]
240 },
241 {
242 "regionTag": "chronicle_v1_generated_DataAccessControlService_DeleteOperation_sync",
243 "title": "chronicle DeleteOperation Sample",
244 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
245 "file": "DataAccessControlClient/DeleteOperation/main.go",
246 "language": "GO",
247 "clientMethod": {
248 "shortName": "DeleteOperation",
249 "fullName": "google.cloud.chronicle.v1.DataAccessControlClient.DeleteOperation",
250 "parameters": [
251 {
252 "type": "context.Context",
253 "name": "ctx"
254 },
255 {
256 "type": "longrunningpb.DeleteOperationRequest",
257 "name": "req"
258 },
259 {
260 "type": "...gax.CallOption",
261 "name": "opts"
262 }
263 ],
264 "client": {
265 "shortName": "DataAccessControlClient",
266 "fullName": "google.cloud.chronicle.v1.DataAccessControlClient"
267 },
268 "method": {
269 "shortName": "DeleteOperation",
270 "fullName": "google.longrunning.Operations.DeleteOperation",
271 "service": {
272 "shortName": "Operations",
273 "fullName": "google.longrunning.Operations"
274 }
275 }
276 },
277 "origin": "API_DEFINITION",
278 "segments": [
279 {
280 "start": 18,
281 "end": 51,
282 "type": "FULL"
283 }
284 ]
285 },
286 {
287 "regionTag": "chronicle_v1_generated_DataAccessControlService_GetDataAccessLabel_sync",
288 "title": "chronicle GetDataAccessLabel Sample",
289 "description": "GetDataAccessLabel gets a data access label.",
290 "file": "DataAccessControlClient/GetDataAccessLabel/main.go",
291 "language": "GO",
292 "clientMethod": {
293 "shortName": "GetDataAccessLabel",
294 "fullName": "google.cloud.chronicle.v1.DataAccessControlClient.GetDataAccessLabel",
295 "parameters": [
296 {
297 "type": "context.Context",
298 "name": "ctx"
299 },
300 {
301 "type": "chroniclepb.GetDataAccessLabelRequest",
302 "name": "req"
303 },
304 {
305 "type": "...gax.CallOption",
306 "name": "opts"
307 }
308 ],
309 "resultType": "*chroniclepb.DataAccessLabel",
310 "client": {
311 "shortName": "DataAccessControlClient",
312 "fullName": "google.cloud.chronicle.v1.DataAccessControlClient"
313 },
314 "method": {
315 "shortName": "GetDataAccessLabel",
316 "fullName": "google.cloud.chronicle.v1.DataAccessControlService.GetDataAccessLabel",
317 "service": {
318 "shortName": "DataAccessControlService",
319 "fullName": "google.cloud.chronicle.v1.DataAccessControlService"
320 }
321 }
322 },
323 "origin": "API_DEFINITION",
324 "segments": [
325 {
326 "start": 18,
327 "end": 53,
328 "type": "FULL"
329 }
330 ]
331 },
332 {
333 "regionTag": "chronicle_v1_generated_DataAccessControlService_GetDataAccessScope_sync",
334 "title": "chronicle GetDataAccessScope Sample",
335 "description": "GetDataAccessScope retrieves an existing data access scope.",
336 "file": "DataAccessControlClient/GetDataAccessScope/main.go",
337 "language": "GO",
338 "clientMethod": {
339 "shortName": "GetDataAccessScope",
340 "fullName": "google.cloud.chronicle.v1.DataAccessControlClient.GetDataAccessScope",
341 "parameters": [
342 {
343 "type": "context.Context",
344 "name": "ctx"
345 },
346 {
347 "type": "chroniclepb.GetDataAccessScopeRequest",
348 "name": "req"
349 },
350 {
351 "type": "...gax.CallOption",
352 "name": "opts"
353 }
354 ],
355 "resultType": "*chroniclepb.DataAccessScope",
356 "client": {
357 "shortName": "DataAccessControlClient",
358 "fullName": "google.cloud.chronicle.v1.DataAccessControlClient"
359 },
360 "method": {
361 "shortName": "GetDataAccessScope",
362 "fullName": "google.cloud.chronicle.v1.DataAccessControlService.GetDataAccessScope",
363 "service": {
364 "shortName": "DataAccessControlService",
365 "fullName": "google.cloud.chronicle.v1.DataAccessControlService"
366 }
367 }
368 },
369 "origin": "API_DEFINITION",
370 "segments": [
371 {
372 "start": 18,
373 "end": 53,
374 "type": "FULL"
375 }
376 ]
377 },
378 {
379 "regionTag": "chronicle_v1_generated_DataAccessControlService_GetOperation_sync",
380 "title": "chronicle GetOperation Sample",
381 "description": "GetOperation is a utility method from google.longrunning.Operations.",
382 "file": "DataAccessControlClient/GetOperation/main.go",
383 "language": "GO",
384 "clientMethod": {
385 "shortName": "GetOperation",
386 "fullName": "google.cloud.chronicle.v1.DataAccessControlClient.GetOperation",
387 "parameters": [
388 {
389 "type": "context.Context",
390 "name": "ctx"
391 },
392 {
393 "type": "longrunningpb.GetOperationRequest",
394 "name": "req"
395 },
396 {
397 "type": "...gax.CallOption",
398 "name": "opts"
399 }
400 ],
401 "resultType": "*longrunningpb.Operation",
402 "client": {
403 "shortName": "DataAccessControlClient",
404 "fullName": "google.cloud.chronicle.v1.DataAccessControlClient"
405 },
406 "method": {
407 "shortName": "GetOperation",
408 "fullName": "google.longrunning.Operations.GetOperation",
409 "service": {
410 "shortName": "Operations",
411 "fullName": "google.longrunning.Operations"
412 }
413 }
414 },
415 "origin": "API_DEFINITION",
416 "segments": [
417 {
418 "start": 18,
419 "end": 53,
420 "type": "FULL"
421 }
422 ]
423 },
424 {
425 "regionTag": "chronicle_v1_generated_DataAccessControlService_ListDataAccessLabels_sync",
426 "title": "chronicle ListDataAccessLabels Sample",
427 "description": "ListDataAccessLabels lists all data access labels for the customer.",
428 "file": "DataAccessControlClient/ListDataAccessLabels/main.go",
429 "language": "GO",
430 "clientMethod": {
431 "shortName": "ListDataAccessLabels",
432 "fullName": "google.cloud.chronicle.v1.DataAccessControlClient.ListDataAccessLabels",
433 "parameters": [
434 {
435 "type": "context.Context",
436 "name": "ctx"
437 },
438 {
439 "type": "chroniclepb.ListDataAccessLabelsRequest",
440 "name": "req"
441 },
442 {
443 "type": "...gax.CallOption",
444 "name": "opts"
445 }
446 ],
447 "resultType": "DataAccessLabelIterator",
448 "client": {
449 "shortName": "DataAccessControlClient",
450 "fullName": "google.cloud.chronicle.v1.DataAccessControlClient"
451 },
452 "method": {
453 "shortName": "ListDataAccessLabels",
454 "fullName": "google.cloud.chronicle.v1.DataAccessControlService.ListDataAccessLabels",
455 "service": {
456 "shortName": "DataAccessControlService",
457 "fullName": "google.cloud.chronicle.v1.DataAccessControlService"
458 }
459 }
460 },
461 "origin": "API_DEFINITION",
462 "segments": [
463 {
464 "start": 18,
465 "end": 66,
466 "type": "FULL"
467 }
468 ]
469 },
470 {
471 "regionTag": "chronicle_v1_generated_DataAccessControlService_ListDataAccessScopes_sync",
472 "title": "chronicle ListDataAccessScopes Sample",
473 "description": "ListDataAccessScopes lists all existing data access scopes for the customer.",
474 "file": "DataAccessControlClient/ListDataAccessScopes/main.go",
475 "language": "GO",
476 "clientMethod": {
477 "shortName": "ListDataAccessScopes",
478 "fullName": "google.cloud.chronicle.v1.DataAccessControlClient.ListDataAccessScopes",
479 "parameters": [
480 {
481 "type": "context.Context",
482 "name": "ctx"
483 },
484 {
485 "type": "chroniclepb.ListDataAccessScopesRequest",
486 "name": "req"
487 },
488 {
489 "type": "...gax.CallOption",
490 "name": "opts"
491 }
492 ],
493 "resultType": "DataAccessScopeIterator",
494 "client": {
495 "shortName": "DataAccessControlClient",
496 "fullName": "google.cloud.chronicle.v1.DataAccessControlClient"
497 },
498 "method": {
499 "shortName": "ListDataAccessScopes",
500 "fullName": "google.cloud.chronicle.v1.DataAccessControlService.ListDataAccessScopes",
501 "service": {
502 "shortName": "DataAccessControlService",
503 "fullName": "google.cloud.chronicle.v1.DataAccessControlService"
504 }
505 }
506 },
507 "origin": "API_DEFINITION",
508 "segments": [
509 {
510 "start": 18,
511 "end": 66,
512 "type": "FULL"
513 }
514 ]
515 },
516 {
517 "regionTag": "chronicle_v1_generated_DataAccessControlService_ListOperations_sync",
518 "title": "chronicle ListOperations Sample",
519 "description": "ListOperations is a utility method from google.longrunning.Operations.",
520 "file": "DataAccessControlClient/ListOperations/main.go",
521 "language": "GO",
522 "clientMethod": {
523 "shortName": "ListOperations",
524 "fullName": "google.cloud.chronicle.v1.DataAccessControlClient.ListOperations",
525 "parameters": [
526 {
527 "type": "context.Context",
528 "name": "ctx"
529 },
530 {
531 "type": "longrunningpb.ListOperationsRequest",
532 "name": "req"
533 },
534 {
535 "type": "...gax.CallOption",
536 "name": "opts"
537 }
538 ],
539 "resultType": "OperationIterator",
540 "client": {
541 "shortName": "DataAccessControlClient",
542 "fullName": "google.cloud.chronicle.v1.DataAccessControlClient"
543 },
544 "method": {
545 "shortName": "ListOperations",
546 "fullName": "google.longrunning.Operations.ListOperations",
547 "service": {
548 "shortName": "Operations",
549 "fullName": "google.longrunning.Operations"
550 }
551 }
552 },
553 "origin": "API_DEFINITION",
554 "segments": [
555 {
556 "start": 18,
557 "end": 66,
558 "type": "FULL"
559 }
560 ]
561 },
562 {
563 "regionTag": "chronicle_v1_generated_DataAccessControlService_UpdateDataAccessLabel_sync",
564 "title": "chronicle UpdateDataAccessLabel Sample",
565 "description": "UpdateDataAccessLabel updates a data access label.",
566 "file": "DataAccessControlClient/UpdateDataAccessLabel/main.go",
567 "language": "GO",
568 "clientMethod": {
569 "shortName": "UpdateDataAccessLabel",
570 "fullName": "google.cloud.chronicle.v1.DataAccessControlClient.UpdateDataAccessLabel",
571 "parameters": [
572 {
573 "type": "context.Context",
574 "name": "ctx"
575 },
576 {
577 "type": "chroniclepb.UpdateDataAccessLabelRequest",
578 "name": "req"
579 },
580 {
581 "type": "...gax.CallOption",
582 "name": "opts"
583 }
584 ],
585 "resultType": "*chroniclepb.DataAccessLabel",
586 "client": {
587 "shortName": "DataAccessControlClient",
588 "fullName": "google.cloud.chronicle.v1.DataAccessControlClient"
589 },
590 "method": {
591 "shortName": "UpdateDataAccessLabel",
592 "fullName": "google.cloud.chronicle.v1.DataAccessControlService.UpdateDataAccessLabel",
593 "service": {
594 "shortName": "DataAccessControlService",
595 "fullName": "google.cloud.chronicle.v1.DataAccessControlService"
596 }
597 }
598 },
599 "origin": "API_DEFINITION",
600 "segments": [
601 {
602 "start": 18,
603 "end": 53,
604 "type": "FULL"
605 }
606 ]
607 },
608 {
609 "regionTag": "chronicle_v1_generated_DataAccessControlService_UpdateDataAccessScope_sync",
610 "title": "chronicle UpdateDataAccessScope Sample",
611 "description": "UpdateDataAccessScope updates a data access scope.",
612 "file": "DataAccessControlClient/UpdateDataAccessScope/main.go",
613 "language": "GO",
614 "clientMethod": {
615 "shortName": "UpdateDataAccessScope",
616 "fullName": "google.cloud.chronicle.v1.DataAccessControlClient.UpdateDataAccessScope",
617 "parameters": [
618 {
619 "type": "context.Context",
620 "name": "ctx"
621 },
622 {
623 "type": "chroniclepb.UpdateDataAccessScopeRequest",
624 "name": "req"
625 },
626 {
627 "type": "...gax.CallOption",
628 "name": "opts"
629 }
630 ],
631 "resultType": "*chroniclepb.DataAccessScope",
632 "client": {
633 "shortName": "DataAccessControlClient",
634 "fullName": "google.cloud.chronicle.v1.DataAccessControlClient"
635 },
636 "method": {
637 "shortName": "UpdateDataAccessScope",
638 "fullName": "google.cloud.chronicle.v1.DataAccessControlService.UpdateDataAccessScope",
639 "service": {
640 "shortName": "DataAccessControlService",
641 "fullName": "google.cloud.chronicle.v1.DataAccessControlService"
642 }
643 }
644 },
645 "origin": "API_DEFINITION",
646 "segments": [
647 {
648 "start": 18,
649 "end": 53,
650 "type": "FULL"
651 }
652 ]
653 },
654 {
655 "regionTag": "chronicle_v1_generated_EntityService_CancelOperation_sync",
656 "title": "chronicle CancelOperation Sample",
657 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
658 "file": "EntityClient/CancelOperation/main.go",
659 "language": "GO",
660 "clientMethod": {
661 "shortName": "CancelOperation",
662 "fullName": "google.cloud.chronicle.v1.EntityClient.CancelOperation",
663 "parameters": [
664 {
665 "type": "context.Context",
666 "name": "ctx"
667 },
668 {
669 "type": "longrunningpb.CancelOperationRequest",
670 "name": "req"
671 },
672 {
673 "type": "...gax.CallOption",
674 "name": "opts"
675 }
676 ],
677 "client": {
678 "shortName": "EntityClient",
679 "fullName": "google.cloud.chronicle.v1.EntityClient"
680 },
681 "method": {
682 "shortName": "CancelOperation",
683 "fullName": "google.longrunning.Operations.CancelOperation",
684 "service": {
685 "shortName": "Operations",
686 "fullName": "google.longrunning.Operations"
687 }
688 }
689 },
690 "origin": "API_DEFINITION",
691 "segments": [
692 {
693 "start": 18,
694 "end": 51,
695 "type": "FULL"
696 }
697 ]
698 },
699 {
700 "regionTag": "chronicle_v1_generated_EntityService_CreateWatchlist_sync",
701 "title": "chronicle CreateWatchlist Sample",
702 "description": "CreateWatchlist creates a watchlist for the given instance.\nNote that there can be at most 200 watchlists per instance.",
703 "file": "EntityClient/CreateWatchlist/main.go",
704 "language": "GO",
705 "clientMethod": {
706 "shortName": "CreateWatchlist",
707 "fullName": "google.cloud.chronicle.v1.EntityClient.CreateWatchlist",
708 "parameters": [
709 {
710 "type": "context.Context",
711 "name": "ctx"
712 },
713 {
714 "type": "chroniclepb.CreateWatchlistRequest",
715 "name": "req"
716 },
717 {
718 "type": "...gax.CallOption",
719 "name": "opts"
720 }
721 ],
722 "resultType": "*chroniclepb.Watchlist",
723 "client": {
724 "shortName": "EntityClient",
725 "fullName": "google.cloud.chronicle.v1.EntityClient"
726 },
727 "method": {
728 "shortName": "CreateWatchlist",
729 "fullName": "google.cloud.chronicle.v1.EntityService.CreateWatchlist",
730 "service": {
731 "shortName": "EntityService",
732 "fullName": "google.cloud.chronicle.v1.EntityService"
733 }
734 }
735 },
736 "origin": "API_DEFINITION",
737 "segments": [
738 {
739 "start": 18,
740 "end": 53,
741 "type": "FULL"
742 }
743 ]
744 },
745 {
746 "regionTag": "chronicle_v1_generated_EntityService_DeleteOperation_sync",
747 "title": "chronicle DeleteOperation Sample",
748 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
749 "file": "EntityClient/DeleteOperation/main.go",
750 "language": "GO",
751 "clientMethod": {
752 "shortName": "DeleteOperation",
753 "fullName": "google.cloud.chronicle.v1.EntityClient.DeleteOperation",
754 "parameters": [
755 {
756 "type": "context.Context",
757 "name": "ctx"
758 },
759 {
760 "type": "longrunningpb.DeleteOperationRequest",
761 "name": "req"
762 },
763 {
764 "type": "...gax.CallOption",
765 "name": "opts"
766 }
767 ],
768 "client": {
769 "shortName": "EntityClient",
770 "fullName": "google.cloud.chronicle.v1.EntityClient"
771 },
772 "method": {
773 "shortName": "DeleteOperation",
774 "fullName": "google.longrunning.Operations.DeleteOperation",
775 "service": {
776 "shortName": "Operations",
777 "fullName": "google.longrunning.Operations"
778 }
779 }
780 },
781 "origin": "API_DEFINITION",
782 "segments": [
783 {
784 "start": 18,
785 "end": 51,
786 "type": "FULL"
787 }
788 ]
789 },
790 {
791 "regionTag": "chronicle_v1_generated_EntityService_DeleteWatchlist_sync",
792 "title": "chronicle DeleteWatchlist Sample",
793 "description": "DeleteWatchlist deletes the watchlist for the given instance.",
794 "file": "EntityClient/DeleteWatchlist/main.go",
795 "language": "GO",
796 "clientMethod": {
797 "shortName": "DeleteWatchlist",
798 "fullName": "google.cloud.chronicle.v1.EntityClient.DeleteWatchlist",
799 "parameters": [
800 {
801 "type": "context.Context",
802 "name": "ctx"
803 },
804 {
805 "type": "chroniclepb.DeleteWatchlistRequest",
806 "name": "req"
807 },
808 {
809 "type": "...gax.CallOption",
810 "name": "opts"
811 }
812 ],
813 "client": {
814 "shortName": "EntityClient",
815 "fullName": "google.cloud.chronicle.v1.EntityClient"
816 },
817 "method": {
818 "shortName": "DeleteWatchlist",
819 "fullName": "google.cloud.chronicle.v1.EntityService.DeleteWatchlist",
820 "service": {
821 "shortName": "EntityService",
822 "fullName": "google.cloud.chronicle.v1.EntityService"
823 }
824 }
825 },
826 "origin": "API_DEFINITION",
827 "segments": [
828 {
829 "start": 18,
830 "end": 51,
831 "type": "FULL"
832 }
833 ]
834 },
835 {
836 "regionTag": "chronicle_v1_generated_EntityService_GetOperation_sync",
837 "title": "chronicle GetOperation Sample",
838 "description": "GetOperation is a utility method from google.longrunning.Operations.",
839 "file": "EntityClient/GetOperation/main.go",
840 "language": "GO",
841 "clientMethod": {
842 "shortName": "GetOperation",
843 "fullName": "google.cloud.chronicle.v1.EntityClient.GetOperation",
844 "parameters": [
845 {
846 "type": "context.Context",
847 "name": "ctx"
848 },
849 {
850 "type": "longrunningpb.GetOperationRequest",
851 "name": "req"
852 },
853 {
854 "type": "...gax.CallOption",
855 "name": "opts"
856 }
857 ],
858 "resultType": "*longrunningpb.Operation",
859 "client": {
860 "shortName": "EntityClient",
861 "fullName": "google.cloud.chronicle.v1.EntityClient"
862 },
863 "method": {
864 "shortName": "GetOperation",
865 "fullName": "google.longrunning.Operations.GetOperation",
866 "service": {
867 "shortName": "Operations",
868 "fullName": "google.longrunning.Operations"
869 }
870 }
871 },
872 "origin": "API_DEFINITION",
873 "segments": [
874 {
875 "start": 18,
876 "end": 53,
877 "type": "FULL"
878 }
879 ]
880 },
881 {
882 "regionTag": "chronicle_v1_generated_EntityService_GetWatchlist_sync",
883 "title": "chronicle GetWatchlist Sample",
884 "description": "GetWatchlist gets watchlist details for the given watchlist ID.",
885 "file": "EntityClient/GetWatchlist/main.go",
886 "language": "GO",
887 "clientMethod": {
888 "shortName": "GetWatchlist",
889 "fullName": "google.cloud.chronicle.v1.EntityClient.GetWatchlist",
890 "parameters": [
891 {
892 "type": "context.Context",
893 "name": "ctx"
894 },
895 {
896 "type": "chroniclepb.GetWatchlistRequest",
897 "name": "req"
898 },
899 {
900 "type": "...gax.CallOption",
901 "name": "opts"
902 }
903 ],
904 "resultType": "*chroniclepb.Watchlist",
905 "client": {
906 "shortName": "EntityClient",
907 "fullName": "google.cloud.chronicle.v1.EntityClient"
908 },
909 "method": {
910 "shortName": "GetWatchlist",
911 "fullName": "google.cloud.chronicle.v1.EntityService.GetWatchlist",
912 "service": {
913 "shortName": "EntityService",
914 "fullName": "google.cloud.chronicle.v1.EntityService"
915 }
916 }
917 },
918 "origin": "API_DEFINITION",
919 "segments": [
920 {
921 "start": 18,
922 "end": 53,
923 "type": "FULL"
924 }
925 ]
926 },
927 {
928 "regionTag": "chronicle_v1_generated_EntityService_ListOperations_sync",
929 "title": "chronicle ListOperations Sample",
930 "description": "ListOperations is a utility method from google.longrunning.Operations.",
931 "file": "EntityClient/ListOperations/main.go",
932 "language": "GO",
933 "clientMethod": {
934 "shortName": "ListOperations",
935 "fullName": "google.cloud.chronicle.v1.EntityClient.ListOperations",
936 "parameters": [
937 {
938 "type": "context.Context",
939 "name": "ctx"
940 },
941 {
942 "type": "longrunningpb.ListOperationsRequest",
943 "name": "req"
944 },
945 {
946 "type": "...gax.CallOption",
947 "name": "opts"
948 }
949 ],
950 "resultType": "OperationIterator",
951 "client": {
952 "shortName": "EntityClient",
953 "fullName": "google.cloud.chronicle.v1.EntityClient"
954 },
955 "method": {
956 "shortName": "ListOperations",
957 "fullName": "google.longrunning.Operations.ListOperations",
958 "service": {
959 "shortName": "Operations",
960 "fullName": "google.longrunning.Operations"
961 }
962 }
963 },
964 "origin": "API_DEFINITION",
965 "segments": [
966 {
967 "start": 18,
968 "end": 66,
969 "type": "FULL"
970 }
971 ]
972 },
973 {
974 "regionTag": "chronicle_v1_generated_EntityService_ListWatchlists_sync",
975 "title": "chronicle ListWatchlists Sample",
976 "description": "ListWatchlists lists all watchlists for the given instance.",
977 "file": "EntityClient/ListWatchlists/main.go",
978 "language": "GO",
979 "clientMethod": {
980 "shortName": "ListWatchlists",
981 "fullName": "google.cloud.chronicle.v1.EntityClient.ListWatchlists",
982 "parameters": [
983 {
984 "type": "context.Context",
985 "name": "ctx"
986 },
987 {
988 "type": "chroniclepb.ListWatchlistsRequest",
989 "name": "req"
990 },
991 {
992 "type": "...gax.CallOption",
993 "name": "opts"
994 }
995 ],
996 "resultType": "WatchlistIterator",
997 "client": {
998 "shortName": "EntityClient",
999 "fullName": "google.cloud.chronicle.v1.EntityClient"
1000 },
1001 "method": {
1002 "shortName": "ListWatchlists",
1003 "fullName": "google.cloud.chronicle.v1.EntityService.ListWatchlists",
1004 "service": {
1005 "shortName": "EntityService",
1006 "fullName": "google.cloud.chronicle.v1.EntityService"
1007 }
1008 }
1009 },
1010 "origin": "API_DEFINITION",
1011 "segments": [
1012 {
1013 "start": 18,
1014 "end": 66,
1015 "type": "FULL"
1016 }
1017 ]
1018 },
1019 {
1020 "regionTag": "chronicle_v1_generated_EntityService_UpdateWatchlist_sync",
1021 "title": "chronicle UpdateWatchlist Sample",
1022 "description": "UpdateWatchlist updates the watchlist for the given instance.",
1023 "file": "EntityClient/UpdateWatchlist/main.go",
1024 "language": "GO",
1025 "clientMethod": {
1026 "shortName": "UpdateWatchlist",
1027 "fullName": "google.cloud.chronicle.v1.EntityClient.UpdateWatchlist",
1028 "parameters": [
1029 {
1030 "type": "context.Context",
1031 "name": "ctx"
1032 },
1033 {
1034 "type": "chroniclepb.UpdateWatchlistRequest",
1035 "name": "req"
1036 },
1037 {
1038 "type": "...gax.CallOption",
1039 "name": "opts"
1040 }
1041 ],
1042 "resultType": "*chroniclepb.Watchlist",
1043 "client": {
1044 "shortName": "EntityClient",
1045 "fullName": "google.cloud.chronicle.v1.EntityClient"
1046 },
1047 "method": {
1048 "shortName": "UpdateWatchlist",
1049 "fullName": "google.cloud.chronicle.v1.EntityService.UpdateWatchlist",
1050 "service": {
1051 "shortName": "EntityService",
1052 "fullName": "google.cloud.chronicle.v1.EntityService"
1053 }
1054 }
1055 },
1056 "origin": "API_DEFINITION",
1057 "segments": [
1058 {
1059 "start": 18,
1060 "end": 53,
1061 "type": "FULL"
1062 }
1063 ]
1064 },
1065 {
1066 "regionTag": "chronicle_v1_generated_InstanceService_CancelOperation_sync",
1067 "title": "chronicle CancelOperation Sample",
1068 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
1069 "file": "InstanceClient/CancelOperation/main.go",
1070 "language": "GO",
1071 "clientMethod": {
1072 "shortName": "CancelOperation",
1073 "fullName": "google.cloud.chronicle.v1.InstanceClient.CancelOperation",
1074 "parameters": [
1075 {
1076 "type": "context.Context",
1077 "name": "ctx"
1078 },
1079 {
1080 "type": "longrunningpb.CancelOperationRequest",
1081 "name": "req"
1082 },
1083 {
1084 "type": "...gax.CallOption",
1085 "name": "opts"
1086 }
1087 ],
1088 "client": {
1089 "shortName": "InstanceClient",
1090 "fullName": "google.cloud.chronicle.v1.InstanceClient"
1091 },
1092 "method": {
1093 "shortName": "CancelOperation",
1094 "fullName": "google.longrunning.Operations.CancelOperation",
1095 "service": {
1096 "shortName": "Operations",
1097 "fullName": "google.longrunning.Operations"
1098 }
1099 }
1100 },
1101 "origin": "API_DEFINITION",
1102 "segments": [
1103 {
1104 "start": 18,
1105 "end": 51,
1106 "type": "FULL"
1107 }
1108 ]
1109 },
1110 {
1111 "regionTag": "chronicle_v1_generated_InstanceService_DeleteOperation_sync",
1112 "title": "chronicle DeleteOperation Sample",
1113 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
1114 "file": "InstanceClient/DeleteOperation/main.go",
1115 "language": "GO",
1116 "clientMethod": {
1117 "shortName": "DeleteOperation",
1118 "fullName": "google.cloud.chronicle.v1.InstanceClient.DeleteOperation",
1119 "parameters": [
1120 {
1121 "type": "context.Context",
1122 "name": "ctx"
1123 },
1124 {
1125 "type": "longrunningpb.DeleteOperationRequest",
1126 "name": "req"
1127 },
1128 {
1129 "type": "...gax.CallOption",
1130 "name": "opts"
1131 }
1132 ],
1133 "client": {
1134 "shortName": "InstanceClient",
1135 "fullName": "google.cloud.chronicle.v1.InstanceClient"
1136 },
1137 "method": {
1138 "shortName": "DeleteOperation",
1139 "fullName": "google.longrunning.Operations.DeleteOperation",
1140 "service": {
1141 "shortName": "Operations",
1142 "fullName": "google.longrunning.Operations"
1143 }
1144 }
1145 },
1146 "origin": "API_DEFINITION",
1147 "segments": [
1148 {
1149 "start": 18,
1150 "end": 51,
1151 "type": "FULL"
1152 }
1153 ]
1154 },
1155 {
1156 "regionTag": "chronicle_v1_generated_InstanceService_GetInstance_sync",
1157 "title": "chronicle GetInstance Sample",
1158 "description": "GetInstance gets a Instance.",
1159 "file": "InstanceClient/GetInstance/main.go",
1160 "language": "GO",
1161 "clientMethod": {
1162 "shortName": "GetInstance",
1163 "fullName": "google.cloud.chronicle.v1.InstanceClient.GetInstance",
1164 "parameters": [
1165 {
1166 "type": "context.Context",
1167 "name": "ctx"
1168 },
1169 {
1170 "type": "chroniclepb.GetInstanceRequest",
1171 "name": "req"
1172 },
1173 {
1174 "type": "...gax.CallOption",
1175 "name": "opts"
1176 }
1177 ],
1178 "resultType": "*chroniclepb.Instance",
1179 "client": {
1180 "shortName": "InstanceClient",
1181 "fullName": "google.cloud.chronicle.v1.InstanceClient"
1182 },
1183 "method": {
1184 "shortName": "GetInstance",
1185 "fullName": "google.cloud.chronicle.v1.InstanceService.GetInstance",
1186 "service": {
1187 "shortName": "InstanceService",
1188 "fullName": "google.cloud.chronicle.v1.InstanceService"
1189 }
1190 }
1191 },
1192 "origin": "API_DEFINITION",
1193 "segments": [
1194 {
1195 "start": 18,
1196 "end": 53,
1197 "type": "FULL"
1198 }
1199 ]
1200 },
1201 {
1202 "regionTag": "chronicle_v1_generated_InstanceService_GetOperation_sync",
1203 "title": "chronicle GetOperation Sample",
1204 "description": "GetOperation is a utility method from google.longrunning.Operations.",
1205 "file": "InstanceClient/GetOperation/main.go",
1206 "language": "GO",
1207 "clientMethod": {
1208 "shortName": "GetOperation",
1209 "fullName": "google.cloud.chronicle.v1.InstanceClient.GetOperation",
1210 "parameters": [
1211 {
1212 "type": "context.Context",
1213 "name": "ctx"
1214 },
1215 {
1216 "type": "longrunningpb.GetOperationRequest",
1217 "name": "req"
1218 },
1219 {
1220 "type": "...gax.CallOption",
1221 "name": "opts"
1222 }
1223 ],
1224 "resultType": "*longrunningpb.Operation",
1225 "client": {
1226 "shortName": "InstanceClient",
1227 "fullName": "google.cloud.chronicle.v1.InstanceClient"
1228 },
1229 "method": {
1230 "shortName": "GetOperation",
1231 "fullName": "google.longrunning.Operations.GetOperation",
1232 "service": {
1233 "shortName": "Operations",
1234 "fullName": "google.longrunning.Operations"
1235 }
1236 }
1237 },
1238 "origin": "API_DEFINITION",
1239 "segments": [
1240 {
1241 "start": 18,
1242 "end": 53,
1243 "type": "FULL"
1244 }
1245 ]
1246 },
1247 {
1248 "regionTag": "chronicle_v1_generated_InstanceService_ListOperations_sync",
1249 "title": "chronicle ListOperations Sample",
1250 "description": "ListOperations is a utility method from google.longrunning.Operations.",
1251 "file": "InstanceClient/ListOperations/main.go",
1252 "language": "GO",
1253 "clientMethod": {
1254 "shortName": "ListOperations",
1255 "fullName": "google.cloud.chronicle.v1.InstanceClient.ListOperations",
1256 "parameters": [
1257 {
1258 "type": "context.Context",
1259 "name": "ctx"
1260 },
1261 {
1262 "type": "longrunningpb.ListOperationsRequest",
1263 "name": "req"
1264 },
1265 {
1266 "type": "...gax.CallOption",
1267 "name": "opts"
1268 }
1269 ],
1270 "resultType": "OperationIterator",
1271 "client": {
1272 "shortName": "InstanceClient",
1273 "fullName": "google.cloud.chronicle.v1.InstanceClient"
1274 },
1275 "method": {
1276 "shortName": "ListOperations",
1277 "fullName": "google.longrunning.Operations.ListOperations",
1278 "service": {
1279 "shortName": "Operations",
1280 "fullName": "google.longrunning.Operations"
1281 }
1282 }
1283 },
1284 "origin": "API_DEFINITION",
1285 "segments": [
1286 {
1287 "start": 18,
1288 "end": 66,
1289 "type": "FULL"
1290 }
1291 ]
1292 },
1293 {
1294 "regionTag": "chronicle_v1_generated_ReferenceListService_CancelOperation_sync",
1295 "title": "chronicle CancelOperation Sample",
1296 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
1297 "file": "ReferenceListClient/CancelOperation/main.go",
1298 "language": "GO",
1299 "clientMethod": {
1300 "shortName": "CancelOperation",
1301 "fullName": "google.cloud.chronicle.v1.ReferenceListClient.CancelOperation",
1302 "parameters": [
1303 {
1304 "type": "context.Context",
1305 "name": "ctx"
1306 },
1307 {
1308 "type": "longrunningpb.CancelOperationRequest",
1309 "name": "req"
1310 },
1311 {
1312 "type": "...gax.CallOption",
1313 "name": "opts"
1314 }
1315 ],
1316 "client": {
1317 "shortName": "ReferenceListClient",
1318 "fullName": "google.cloud.chronicle.v1.ReferenceListClient"
1319 },
1320 "method": {
1321 "shortName": "CancelOperation",
1322 "fullName": "google.longrunning.Operations.CancelOperation",
1323 "service": {
1324 "shortName": "Operations",
1325 "fullName": "google.longrunning.Operations"
1326 }
1327 }
1328 },
1329 "origin": "API_DEFINITION",
1330 "segments": [
1331 {
1332 "start": 18,
1333 "end": 51,
1334 "type": "FULL"
1335 }
1336 ]
1337 },
1338 {
1339 "regionTag": "chronicle_v1_generated_ReferenceListService_CreateReferenceList_sync",
1340 "title": "chronicle CreateReferenceList Sample",
1341 "description": "CreateReferenceList creates a new reference list.",
1342 "file": "ReferenceListClient/CreateReferenceList/main.go",
1343 "language": "GO",
1344 "clientMethod": {
1345 "shortName": "CreateReferenceList",
1346 "fullName": "google.cloud.chronicle.v1.ReferenceListClient.CreateReferenceList",
1347 "parameters": [
1348 {
1349 "type": "context.Context",
1350 "name": "ctx"
1351 },
1352 {
1353 "type": "chroniclepb.CreateReferenceListRequest",
1354 "name": "req"
1355 },
1356 {
1357 "type": "...gax.CallOption",
1358 "name": "opts"
1359 }
1360 ],
1361 "resultType": "*chroniclepb.ReferenceList",
1362 "client": {
1363 "shortName": "ReferenceListClient",
1364 "fullName": "google.cloud.chronicle.v1.ReferenceListClient"
1365 },
1366 "method": {
1367 "shortName": "CreateReferenceList",
1368 "fullName": "google.cloud.chronicle.v1.ReferenceListService.CreateReferenceList",
1369 "service": {
1370 "shortName": "ReferenceListService",
1371 "fullName": "google.cloud.chronicle.v1.ReferenceListService"
1372 }
1373 }
1374 },
1375 "origin": "API_DEFINITION",
1376 "segments": [
1377 {
1378 "start": 18,
1379 "end": 53,
1380 "type": "FULL"
1381 }
1382 ]
1383 },
1384 {
1385 "regionTag": "chronicle_v1_generated_ReferenceListService_DeleteOperation_sync",
1386 "title": "chronicle DeleteOperation Sample",
1387 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
1388 "file": "ReferenceListClient/DeleteOperation/main.go",
1389 "language": "GO",
1390 "clientMethod": {
1391 "shortName": "DeleteOperation",
1392 "fullName": "google.cloud.chronicle.v1.ReferenceListClient.DeleteOperation",
1393 "parameters": [
1394 {
1395 "type": "context.Context",
1396 "name": "ctx"
1397 },
1398 {
1399 "type": "longrunningpb.DeleteOperationRequest",
1400 "name": "req"
1401 },
1402 {
1403 "type": "...gax.CallOption",
1404 "name": "opts"
1405 }
1406 ],
1407 "client": {
1408 "shortName": "ReferenceListClient",
1409 "fullName": "google.cloud.chronicle.v1.ReferenceListClient"
1410 },
1411 "method": {
1412 "shortName": "DeleteOperation",
1413 "fullName": "google.longrunning.Operations.DeleteOperation",
1414 "service": {
1415 "shortName": "Operations",
1416 "fullName": "google.longrunning.Operations"
1417 }
1418 }
1419 },
1420 "origin": "API_DEFINITION",
1421 "segments": [
1422 {
1423 "start": 18,
1424 "end": 51,
1425 "type": "FULL"
1426 }
1427 ]
1428 },
1429 {
1430 "regionTag": "chronicle_v1_generated_ReferenceListService_GetOperation_sync",
1431 "title": "chronicle GetOperation Sample",
1432 "description": "GetOperation is a utility method from google.longrunning.Operations.",
1433 "file": "ReferenceListClient/GetOperation/main.go",
1434 "language": "GO",
1435 "clientMethod": {
1436 "shortName": "GetOperation",
1437 "fullName": "google.cloud.chronicle.v1.ReferenceListClient.GetOperation",
1438 "parameters": [
1439 {
1440 "type": "context.Context",
1441 "name": "ctx"
1442 },
1443 {
1444 "type": "longrunningpb.GetOperationRequest",
1445 "name": "req"
1446 },
1447 {
1448 "type": "...gax.CallOption",
1449 "name": "opts"
1450 }
1451 ],
1452 "resultType": "*longrunningpb.Operation",
1453 "client": {
1454 "shortName": "ReferenceListClient",
1455 "fullName": "google.cloud.chronicle.v1.ReferenceListClient"
1456 },
1457 "method": {
1458 "shortName": "GetOperation",
1459 "fullName": "google.longrunning.Operations.GetOperation",
1460 "service": {
1461 "shortName": "Operations",
1462 "fullName": "google.longrunning.Operations"
1463 }
1464 }
1465 },
1466 "origin": "API_DEFINITION",
1467 "segments": [
1468 {
1469 "start": 18,
1470 "end": 53,
1471 "type": "FULL"
1472 }
1473 ]
1474 },
1475 {
1476 "regionTag": "chronicle_v1_generated_ReferenceListService_GetReferenceList_sync",
1477 "title": "chronicle GetReferenceList Sample",
1478 "description": "GetReferenceList gets a single reference list.",
1479 "file": "ReferenceListClient/GetReferenceList/main.go",
1480 "language": "GO",
1481 "clientMethod": {
1482 "shortName": "GetReferenceList",
1483 "fullName": "google.cloud.chronicle.v1.ReferenceListClient.GetReferenceList",
1484 "parameters": [
1485 {
1486 "type": "context.Context",
1487 "name": "ctx"
1488 },
1489 {
1490 "type": "chroniclepb.GetReferenceListRequest",
1491 "name": "req"
1492 },
1493 {
1494 "type": "...gax.CallOption",
1495 "name": "opts"
1496 }
1497 ],
1498 "resultType": "*chroniclepb.ReferenceList",
1499 "client": {
1500 "shortName": "ReferenceListClient",
1501 "fullName": "google.cloud.chronicle.v1.ReferenceListClient"
1502 },
1503 "method": {
1504 "shortName": "GetReferenceList",
1505 "fullName": "google.cloud.chronicle.v1.ReferenceListService.GetReferenceList",
1506 "service": {
1507 "shortName": "ReferenceListService",
1508 "fullName": "google.cloud.chronicle.v1.ReferenceListService"
1509 }
1510 }
1511 },
1512 "origin": "API_DEFINITION",
1513 "segments": [
1514 {
1515 "start": 18,
1516 "end": 53,
1517 "type": "FULL"
1518 }
1519 ]
1520 },
1521 {
1522 "regionTag": "chronicle_v1_generated_ReferenceListService_ListOperations_sync",
1523 "title": "chronicle ListOperations Sample",
1524 "description": "ListOperations is a utility method from google.longrunning.Operations.",
1525 "file": "ReferenceListClient/ListOperations/main.go",
1526 "language": "GO",
1527 "clientMethod": {
1528 "shortName": "ListOperations",
1529 "fullName": "google.cloud.chronicle.v1.ReferenceListClient.ListOperations",
1530 "parameters": [
1531 {
1532 "type": "context.Context",
1533 "name": "ctx"
1534 },
1535 {
1536 "type": "longrunningpb.ListOperationsRequest",
1537 "name": "req"
1538 },
1539 {
1540 "type": "...gax.CallOption",
1541 "name": "opts"
1542 }
1543 ],
1544 "resultType": "OperationIterator",
1545 "client": {
1546 "shortName": "ReferenceListClient",
1547 "fullName": "google.cloud.chronicle.v1.ReferenceListClient"
1548 },
1549 "method": {
1550 "shortName": "ListOperations",
1551 "fullName": "google.longrunning.Operations.ListOperations",
1552 "service": {
1553 "shortName": "Operations",
1554 "fullName": "google.longrunning.Operations"
1555 }
1556 }
1557 },
1558 "origin": "API_DEFINITION",
1559 "segments": [
1560 {
1561 "start": 18,
1562 "end": 66,
1563 "type": "FULL"
1564 }
1565 ]
1566 },
1567 {
1568 "regionTag": "chronicle_v1_generated_ReferenceListService_ListReferenceLists_sync",
1569 "title": "chronicle ListReferenceLists Sample",
1570 "description": "ListReferenceLists lists a collection of reference lists.",
1571 "file": "ReferenceListClient/ListReferenceLists/main.go",
1572 "language": "GO",
1573 "clientMethod": {
1574 "shortName": "ListReferenceLists",
1575 "fullName": "google.cloud.chronicle.v1.ReferenceListClient.ListReferenceLists",
1576 "parameters": [
1577 {
1578 "type": "context.Context",
1579 "name": "ctx"
1580 },
1581 {
1582 "type": "chroniclepb.ListReferenceListsRequest",
1583 "name": "req"
1584 },
1585 {
1586 "type": "...gax.CallOption",
1587 "name": "opts"
1588 }
1589 ],
1590 "resultType": "ReferenceListIterator",
1591 "client": {
1592 "shortName": "ReferenceListClient",
1593 "fullName": "google.cloud.chronicle.v1.ReferenceListClient"
1594 },
1595 "method": {
1596 "shortName": "ListReferenceLists",
1597 "fullName": "google.cloud.chronicle.v1.ReferenceListService.ListReferenceLists",
1598 "service": {
1599 "shortName": "ReferenceListService",
1600 "fullName": "google.cloud.chronicle.v1.ReferenceListService"
1601 }
1602 }
1603 },
1604 "origin": "API_DEFINITION",
1605 "segments": [
1606 {
1607 "start": 18,
1608 "end": 66,
1609 "type": "FULL"
1610 }
1611 ]
1612 },
1613 {
1614 "regionTag": "chronicle_v1_generated_ReferenceListService_UpdateReferenceList_sync",
1615 "title": "chronicle UpdateReferenceList Sample",
1616 "description": "UpdateReferenceList updates an existing reference list.",
1617 "file": "ReferenceListClient/UpdateReferenceList/main.go",
1618 "language": "GO",
1619 "clientMethod": {
1620 "shortName": "UpdateReferenceList",
1621 "fullName": "google.cloud.chronicle.v1.ReferenceListClient.UpdateReferenceList",
1622 "parameters": [
1623 {
1624 "type": "context.Context",
1625 "name": "ctx"
1626 },
1627 {
1628 "type": "chroniclepb.UpdateReferenceListRequest",
1629 "name": "req"
1630 },
1631 {
1632 "type": "...gax.CallOption",
1633 "name": "opts"
1634 }
1635 ],
1636 "resultType": "*chroniclepb.ReferenceList",
1637 "client": {
1638 "shortName": "ReferenceListClient",
1639 "fullName": "google.cloud.chronicle.v1.ReferenceListClient"
1640 },
1641 "method": {
1642 "shortName": "UpdateReferenceList",
1643 "fullName": "google.cloud.chronicle.v1.ReferenceListService.UpdateReferenceList",
1644 "service": {
1645 "shortName": "ReferenceListService",
1646 "fullName": "google.cloud.chronicle.v1.ReferenceListService"
1647 }
1648 }
1649 },
1650 "origin": "API_DEFINITION",
1651 "segments": [
1652 {
1653 "start": 18,
1654 "end": 53,
1655 "type": "FULL"
1656 }
1657 ]
1658 },
1659 {
1660 "regionTag": "chronicle_v1_generated_RuleService_CancelOperation_sync",
1661 "title": "chronicle CancelOperation Sample",
1662 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
1663 "file": "RuleClient/CancelOperation/main.go",
1664 "language": "GO",
1665 "clientMethod": {
1666 "shortName": "CancelOperation",
1667 "fullName": "google.cloud.chronicle.v1.RuleClient.CancelOperation",
1668 "parameters": [
1669 {
1670 "type": "context.Context",
1671 "name": "ctx"
1672 },
1673 {
1674 "type": "longrunningpb.CancelOperationRequest",
1675 "name": "req"
1676 },
1677 {
1678 "type": "...gax.CallOption",
1679 "name": "opts"
1680 }
1681 ],
1682 "client": {
1683 "shortName": "RuleClient",
1684 "fullName": "google.cloud.chronicle.v1.RuleClient"
1685 },
1686 "method": {
1687 "shortName": "CancelOperation",
1688 "fullName": "google.longrunning.Operations.CancelOperation",
1689 "service": {
1690 "shortName": "Operations",
1691 "fullName": "google.longrunning.Operations"
1692 }
1693 }
1694 },
1695 "origin": "API_DEFINITION",
1696 "segments": [
1697 {
1698 "start": 18,
1699 "end": 51,
1700 "type": "FULL"
1701 }
1702 ]
1703 },
1704 {
1705 "regionTag": "chronicle_v1_generated_RuleService_CreateRetrohunt_sync",
1706 "title": "chronicle CreateRetrohunt Sample",
1707 "description": "CreateRetrohunt create a Retrohunt.",
1708 "file": "RuleClient/CreateRetrohunt/main.go",
1709 "language": "GO",
1710 "clientMethod": {
1711 "shortName": "CreateRetrohunt",
1712 "fullName": "google.cloud.chronicle.v1.RuleClient.CreateRetrohunt",
1713 "parameters": [
1714 {
1715 "type": "context.Context",
1716 "name": "ctx"
1717 },
1718 {
1719 "type": "chroniclepb.CreateRetrohuntRequest",
1720 "name": "req"
1721 },
1722 {
1723 "type": "...gax.CallOption",
1724 "name": "opts"
1725 }
1726 ],
1727 "resultType": "CreateRetrohuntOperation",
1728 "client": {
1729 "shortName": "RuleClient",
1730 "fullName": "google.cloud.chronicle.v1.RuleClient"
1731 },
1732 "method": {
1733 "shortName": "CreateRetrohunt",
1734 "fullName": "google.cloud.chronicle.v1.RuleService.CreateRetrohunt",
1735 "service": {
1736 "shortName": "RuleService",
1737 "fullName": "google.cloud.chronicle.v1.RuleService"
1738 }
1739 }
1740 },
1741 "origin": "API_DEFINITION",
1742 "segments": [
1743 {
1744 "start": 18,
1745 "end": 58,
1746 "type": "FULL"
1747 }
1748 ]
1749 },
1750 {
1751 "regionTag": "chronicle_v1_generated_RuleService_CreateRule_sync",
1752 "title": "chronicle CreateRule Sample",
1753 "description": "CreateRule creates a new Rule.",
1754 "file": "RuleClient/CreateRule/main.go",
1755 "language": "GO",
1756 "clientMethod": {
1757 "shortName": "CreateRule",
1758 "fullName": "google.cloud.chronicle.v1.RuleClient.CreateRule",
1759 "parameters": [
1760 {
1761 "type": "context.Context",
1762 "name": "ctx"
1763 },
1764 {
1765 "type": "chroniclepb.CreateRuleRequest",
1766 "name": "req"
1767 },
1768 {
1769 "type": "...gax.CallOption",
1770 "name": "opts"
1771 }
1772 ],
1773 "resultType": "*chroniclepb.Rule",
1774 "client": {
1775 "shortName": "RuleClient",
1776 "fullName": "google.cloud.chronicle.v1.RuleClient"
1777 },
1778 "method": {
1779 "shortName": "CreateRule",
1780 "fullName": "google.cloud.chronicle.v1.RuleService.CreateRule",
1781 "service": {
1782 "shortName": "RuleService",
1783 "fullName": "google.cloud.chronicle.v1.RuleService"
1784 }
1785 }
1786 },
1787 "origin": "API_DEFINITION",
1788 "segments": [
1789 {
1790 "start": 18,
1791 "end": 53,
1792 "type": "FULL"
1793 }
1794 ]
1795 },
1796 {
1797 "regionTag": "chronicle_v1_generated_RuleService_DeleteOperation_sync",
1798 "title": "chronicle DeleteOperation Sample",
1799 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
1800 "file": "RuleClient/DeleteOperation/main.go",
1801 "language": "GO",
1802 "clientMethod": {
1803 "shortName": "DeleteOperation",
1804 "fullName": "google.cloud.chronicle.v1.RuleClient.DeleteOperation",
1805 "parameters": [
1806 {
1807 "type": "context.Context",
1808 "name": "ctx"
1809 },
1810 {
1811 "type": "longrunningpb.DeleteOperationRequest",
1812 "name": "req"
1813 },
1814 {
1815 "type": "...gax.CallOption",
1816 "name": "opts"
1817 }
1818 ],
1819 "client": {
1820 "shortName": "RuleClient",
1821 "fullName": "google.cloud.chronicle.v1.RuleClient"
1822 },
1823 "method": {
1824 "shortName": "DeleteOperation",
1825 "fullName": "google.longrunning.Operations.DeleteOperation",
1826 "service": {
1827 "shortName": "Operations",
1828 "fullName": "google.longrunning.Operations"
1829 }
1830 }
1831 },
1832 "origin": "API_DEFINITION",
1833 "segments": [
1834 {
1835 "start": 18,
1836 "end": 51,
1837 "type": "FULL"
1838 }
1839 ]
1840 },
1841 {
1842 "regionTag": "chronicle_v1_generated_RuleService_DeleteRule_sync",
1843 "title": "chronicle DeleteRule Sample",
1844 "description": "DeleteRule deletes a Rule.",
1845 "file": "RuleClient/DeleteRule/main.go",
1846 "language": "GO",
1847 "clientMethod": {
1848 "shortName": "DeleteRule",
1849 "fullName": "google.cloud.chronicle.v1.RuleClient.DeleteRule",
1850 "parameters": [
1851 {
1852 "type": "context.Context",
1853 "name": "ctx"
1854 },
1855 {
1856 "type": "chroniclepb.DeleteRuleRequest",
1857 "name": "req"
1858 },
1859 {
1860 "type": "...gax.CallOption",
1861 "name": "opts"
1862 }
1863 ],
1864 "client": {
1865 "shortName": "RuleClient",
1866 "fullName": "google.cloud.chronicle.v1.RuleClient"
1867 },
1868 "method": {
1869 "shortName": "DeleteRule",
1870 "fullName": "google.cloud.chronicle.v1.RuleService.DeleteRule",
1871 "service": {
1872 "shortName": "RuleService",
1873 "fullName": "google.cloud.chronicle.v1.RuleService"
1874 }
1875 }
1876 },
1877 "origin": "API_DEFINITION",
1878 "segments": [
1879 {
1880 "start": 18,
1881 "end": 51,
1882 "type": "FULL"
1883 }
1884 ]
1885 },
1886 {
1887 "regionTag": "chronicle_v1_generated_RuleService_GetOperation_sync",
1888 "title": "chronicle GetOperation Sample",
1889 "description": "GetOperation is a utility method from google.longrunning.Operations.",
1890 "file": "RuleClient/GetOperation/main.go",
1891 "language": "GO",
1892 "clientMethod": {
1893 "shortName": "GetOperation",
1894 "fullName": "google.cloud.chronicle.v1.RuleClient.GetOperation",
1895 "parameters": [
1896 {
1897 "type": "context.Context",
1898 "name": "ctx"
1899 },
1900 {
1901 "type": "longrunningpb.GetOperationRequest",
1902 "name": "req"
1903 },
1904 {
1905 "type": "...gax.CallOption",
1906 "name": "opts"
1907 }
1908 ],
1909 "resultType": "*longrunningpb.Operation",
1910 "client": {
1911 "shortName": "RuleClient",
1912 "fullName": "google.cloud.chronicle.v1.RuleClient"
1913 },
1914 "method": {
1915 "shortName": "GetOperation",
1916 "fullName": "google.longrunning.Operations.GetOperation",
1917 "service": {
1918 "shortName": "Operations",
1919 "fullName": "google.longrunning.Operations"
1920 }
1921 }
1922 },
1923 "origin": "API_DEFINITION",
1924 "segments": [
1925 {
1926 "start": 18,
1927 "end": 53,
1928 "type": "FULL"
1929 }
1930 ]
1931 },
1932 {
1933 "regionTag": "chronicle_v1_generated_RuleService_GetRetrohunt_sync",
1934 "title": "chronicle GetRetrohunt Sample",
1935 "description": "GetRetrohunt get a Retrohunt.",
1936 "file": "RuleClient/GetRetrohunt/main.go",
1937 "language": "GO",
1938 "clientMethod": {
1939 "shortName": "GetRetrohunt",
1940 "fullName": "google.cloud.chronicle.v1.RuleClient.GetRetrohunt",
1941 "parameters": [
1942 {
1943 "type": "context.Context",
1944 "name": "ctx"
1945 },
1946 {
1947 "type": "chroniclepb.GetRetrohuntRequest",
1948 "name": "req"
1949 },
1950 {
1951 "type": "...gax.CallOption",
1952 "name": "opts"
1953 }
1954 ],
1955 "resultType": "*chroniclepb.Retrohunt",
1956 "client": {
1957 "shortName": "RuleClient",
1958 "fullName": "google.cloud.chronicle.v1.RuleClient"
1959 },
1960 "method": {
1961 "shortName": "GetRetrohunt",
1962 "fullName": "google.cloud.chronicle.v1.RuleService.GetRetrohunt",
1963 "service": {
1964 "shortName": "RuleService",
1965 "fullName": "google.cloud.chronicle.v1.RuleService"
1966 }
1967 }
1968 },
1969 "origin": "API_DEFINITION",
1970 "segments": [
1971 {
1972 "start": 18,
1973 "end": 53,
1974 "type": "FULL"
1975 }
1976 ]
1977 },
1978 {
1979 "regionTag": "chronicle_v1_generated_RuleService_GetRule_sync",
1980 "title": "chronicle GetRule Sample",
1981 "description": "GetRule gets a Rule.",
1982 "file": "RuleClient/GetRule/main.go",
1983 "language": "GO",
1984 "clientMethod": {
1985 "shortName": "GetRule",
1986 "fullName": "google.cloud.chronicle.v1.RuleClient.GetRule",
1987 "parameters": [
1988 {
1989 "type": "context.Context",
1990 "name": "ctx"
1991 },
1992 {
1993 "type": "chroniclepb.GetRuleRequest",
1994 "name": "req"
1995 },
1996 {
1997 "type": "...gax.CallOption",
1998 "name": "opts"
1999 }
2000 ],
2001 "resultType": "*chroniclepb.Rule",
2002 "client": {
2003 "shortName": "RuleClient",
2004 "fullName": "google.cloud.chronicle.v1.RuleClient"
2005 },
2006 "method": {
2007 "shortName": "GetRule",
2008 "fullName": "google.cloud.chronicle.v1.RuleService.GetRule",
2009 "service": {
2010 "shortName": "RuleService",
2011 "fullName": "google.cloud.chronicle.v1.RuleService"
2012 }
2013 }
2014 },
2015 "origin": "API_DEFINITION",
2016 "segments": [
2017 {
2018 "start": 18,
2019 "end": 53,
2020 "type": "FULL"
2021 }
2022 ]
2023 },
2024 {
2025 "regionTag": "chronicle_v1_generated_RuleService_GetRuleDeployment_sync",
2026 "title": "chronicle GetRuleDeployment Sample",
2027 "description": "GetRuleDeployment gets a RuleDeployment.",
2028 "file": "RuleClient/GetRuleDeployment/main.go",
2029 "language": "GO",
2030 "clientMethod": {
2031 "shortName": "GetRuleDeployment",
2032 "fullName": "google.cloud.chronicle.v1.RuleClient.GetRuleDeployment",
2033 "parameters": [
2034 {
2035 "type": "context.Context",
2036 "name": "ctx"
2037 },
2038 {
2039 "type": "chroniclepb.GetRuleDeploymentRequest",
2040 "name": "req"
2041 },
2042 {
2043 "type": "...gax.CallOption",
2044 "name": "opts"
2045 }
2046 ],
2047 "resultType": "*chroniclepb.RuleDeployment",
2048 "client": {
2049 "shortName": "RuleClient",
2050 "fullName": "google.cloud.chronicle.v1.RuleClient"
2051 },
2052 "method": {
2053 "shortName": "GetRuleDeployment",
2054 "fullName": "google.cloud.chronicle.v1.RuleService.GetRuleDeployment",
2055 "service": {
2056 "shortName": "RuleService",
2057 "fullName": "google.cloud.chronicle.v1.RuleService"
2058 }
2059 }
2060 },
2061 "origin": "API_DEFINITION",
2062 "segments": [
2063 {
2064 "start": 18,
2065 "end": 53,
2066 "type": "FULL"
2067 }
2068 ]
2069 },
2070 {
2071 "regionTag": "chronicle_v1_generated_RuleService_ListOperations_sync",
2072 "title": "chronicle ListOperations Sample",
2073 "description": "ListOperations is a utility method from google.longrunning.Operations.",
2074 "file": "RuleClient/ListOperations/main.go",
2075 "language": "GO",
2076 "clientMethod": {
2077 "shortName": "ListOperations",
2078 "fullName": "google.cloud.chronicle.v1.RuleClient.ListOperations",
2079 "parameters": [
2080 {
2081 "type": "context.Context",
2082 "name": "ctx"
2083 },
2084 {
2085 "type": "longrunningpb.ListOperationsRequest",
2086 "name": "req"
2087 },
2088 {
2089 "type": "...gax.CallOption",
2090 "name": "opts"
2091 }
2092 ],
2093 "resultType": "OperationIterator",
2094 "client": {
2095 "shortName": "RuleClient",
2096 "fullName": "google.cloud.chronicle.v1.RuleClient"
2097 },
2098 "method": {
2099 "shortName": "ListOperations",
2100 "fullName": "google.longrunning.Operations.ListOperations",
2101 "service": {
2102 "shortName": "Operations",
2103 "fullName": "google.longrunning.Operations"
2104 }
2105 }
2106 },
2107 "origin": "API_DEFINITION",
2108 "segments": [
2109 {
2110 "start": 18,
2111 "end": 66,
2112 "type": "FULL"
2113 }
2114 ]
2115 },
2116 {
2117 "regionTag": "chronicle_v1_generated_RuleService_ListRetrohunts_sync",
2118 "title": "chronicle ListRetrohunts Sample",
2119 "description": "ListRetrohunts list Retrohunts.",
2120 "file": "RuleClient/ListRetrohunts/main.go",
2121 "language": "GO",
2122 "clientMethod": {
2123 "shortName": "ListRetrohunts",
2124 "fullName": "google.cloud.chronicle.v1.RuleClient.ListRetrohunts",
2125 "parameters": [
2126 {
2127 "type": "context.Context",
2128 "name": "ctx"
2129 },
2130 {
2131 "type": "chroniclepb.ListRetrohuntsRequest",
2132 "name": "req"
2133 },
2134 {
2135 "type": "...gax.CallOption",
2136 "name": "opts"
2137 }
2138 ],
2139 "resultType": "RetrohuntIterator",
2140 "client": {
2141 "shortName": "RuleClient",
2142 "fullName": "google.cloud.chronicle.v1.RuleClient"
2143 },
2144 "method": {
2145 "shortName": "ListRetrohunts",
2146 "fullName": "google.cloud.chronicle.v1.RuleService.ListRetrohunts",
2147 "service": {
2148 "shortName": "RuleService",
2149 "fullName": "google.cloud.chronicle.v1.RuleService"
2150 }
2151 }
2152 },
2153 "origin": "API_DEFINITION",
2154 "segments": [
2155 {
2156 "start": 18,
2157 "end": 66,
2158 "type": "FULL"
2159 }
2160 ]
2161 },
2162 {
2163 "regionTag": "chronicle_v1_generated_RuleService_ListRuleDeployments_sync",
2164 "title": "chronicle ListRuleDeployments Sample",
2165 "description": "ListRuleDeployments lists RuleDeployments across all Rules.",
2166 "file": "RuleClient/ListRuleDeployments/main.go",
2167 "language": "GO",
2168 "clientMethod": {
2169 "shortName": "ListRuleDeployments",
2170 "fullName": "google.cloud.chronicle.v1.RuleClient.ListRuleDeployments",
2171 "parameters": [
2172 {
2173 "type": "context.Context",
2174 "name": "ctx"
2175 },
2176 {
2177 "type": "chroniclepb.ListRuleDeploymentsRequest",
2178 "name": "req"
2179 },
2180 {
2181 "type": "...gax.CallOption",
2182 "name": "opts"
2183 }
2184 ],
2185 "resultType": "RuleDeploymentIterator",
2186 "client": {
2187 "shortName": "RuleClient",
2188 "fullName": "google.cloud.chronicle.v1.RuleClient"
2189 },
2190 "method": {
2191 "shortName": "ListRuleDeployments",
2192 "fullName": "google.cloud.chronicle.v1.RuleService.ListRuleDeployments",
2193 "service": {
2194 "shortName": "RuleService",
2195 "fullName": "google.cloud.chronicle.v1.RuleService"
2196 }
2197 }
2198 },
2199 "origin": "API_DEFINITION",
2200 "segments": [
2201 {
2202 "start": 18,
2203 "end": 66,
2204 "type": "FULL"
2205 }
2206 ]
2207 },
2208 {
2209 "regionTag": "chronicle_v1_generated_RuleService_ListRuleRevisions_sync",
2210 "title": "chronicle ListRuleRevisions Sample",
2211 "description": "ListRuleRevisions lists all revisions of the rule.",
2212 "file": "RuleClient/ListRuleRevisions/main.go",
2213 "language": "GO",
2214 "clientMethod": {
2215 "shortName": "ListRuleRevisions",
2216 "fullName": "google.cloud.chronicle.v1.RuleClient.ListRuleRevisions",
2217 "parameters": [
2218 {
2219 "type": "context.Context",
2220 "name": "ctx"
2221 },
2222 {
2223 "type": "chroniclepb.ListRuleRevisionsRequest",
2224 "name": "req"
2225 },
2226 {
2227 "type": "...gax.CallOption",
2228 "name": "opts"
2229 }
2230 ],
2231 "resultType": "RuleIterator",
2232 "client": {
2233 "shortName": "RuleClient",
2234 "fullName": "google.cloud.chronicle.v1.RuleClient"
2235 },
2236 "method": {
2237 "shortName": "ListRuleRevisions",
2238 "fullName": "google.cloud.chronicle.v1.RuleService.ListRuleRevisions",
2239 "service": {
2240 "shortName": "RuleService",
2241 "fullName": "google.cloud.chronicle.v1.RuleService"
2242 }
2243 }
2244 },
2245 "origin": "API_DEFINITION",
2246 "segments": [
2247 {
2248 "start": 18,
2249 "end": 66,
2250 "type": "FULL"
2251 }
2252 ]
2253 },
2254 {
2255 "regionTag": "chronicle_v1_generated_RuleService_ListRules_sync",
2256 "title": "chronicle ListRules Sample",
2257 "description": "ListRules lists Rules.",
2258 "file": "RuleClient/ListRules/main.go",
2259 "language": "GO",
2260 "clientMethod": {
2261 "shortName": "ListRules",
2262 "fullName": "google.cloud.chronicle.v1.RuleClient.ListRules",
2263 "parameters": [
2264 {
2265 "type": "context.Context",
2266 "name": "ctx"
2267 },
2268 {
2269 "type": "chroniclepb.ListRulesRequest",
2270 "name": "req"
2271 },
2272 {
2273 "type": "...gax.CallOption",
2274 "name": "opts"
2275 }
2276 ],
2277 "resultType": "RuleIterator",
2278 "client": {
2279 "shortName": "RuleClient",
2280 "fullName": "google.cloud.chronicle.v1.RuleClient"
2281 },
2282 "method": {
2283 "shortName": "ListRules",
2284 "fullName": "google.cloud.chronicle.v1.RuleService.ListRules",
2285 "service": {
2286 "shortName": "RuleService",
2287 "fullName": "google.cloud.chronicle.v1.RuleService"
2288 }
2289 }
2290 },
2291 "origin": "API_DEFINITION",
2292 "segments": [
2293 {
2294 "start": 18,
2295 "end": 66,
2296 "type": "FULL"
2297 }
2298 ]
2299 },
2300 {
2301 "regionTag": "chronicle_v1_generated_RuleService_UpdateRule_sync",
2302 "title": "chronicle UpdateRule Sample",
2303 "description": "UpdateRule updates a Rule.",
2304 "file": "RuleClient/UpdateRule/main.go",
2305 "language": "GO",
2306 "clientMethod": {
2307 "shortName": "UpdateRule",
2308 "fullName": "google.cloud.chronicle.v1.RuleClient.UpdateRule",
2309 "parameters": [
2310 {
2311 "type": "context.Context",
2312 "name": "ctx"
2313 },
2314 {
2315 "type": "chroniclepb.UpdateRuleRequest",
2316 "name": "req"
2317 },
2318 {
2319 "type": "...gax.CallOption",
2320 "name": "opts"
2321 }
2322 ],
2323 "resultType": "*chroniclepb.Rule",
2324 "client": {
2325 "shortName": "RuleClient",
2326 "fullName": "google.cloud.chronicle.v1.RuleClient"
2327 },
2328 "method": {
2329 "shortName": "UpdateRule",
2330 "fullName": "google.cloud.chronicle.v1.RuleService.UpdateRule",
2331 "service": {
2332 "shortName": "RuleService",
2333 "fullName": "google.cloud.chronicle.v1.RuleService"
2334 }
2335 }
2336 },
2337 "origin": "API_DEFINITION",
2338 "segments": [
2339 {
2340 "start": 18,
2341 "end": 53,
2342 "type": "FULL"
2343 }
2344 ]
2345 },
2346 {
2347 "regionTag": "chronicle_v1_generated_RuleService_UpdateRuleDeployment_sync",
2348 "title": "chronicle UpdateRuleDeployment Sample",
2349 "description": "UpdateRuleDeployment updates a RuleDeployment.\nFailures are not necessarily atomic. If there is a request to update\nmultiple fields, and any update to a single field fails, an error will be\nreturned, but other fields may remain successfully updated.",
2350 "file": "RuleClient/UpdateRuleDeployment/main.go",
2351 "language": "GO",
2352 "clientMethod": {
2353 "shortName": "UpdateRuleDeployment",
2354 "fullName": "google.cloud.chronicle.v1.RuleClient.UpdateRuleDeployment",
2355 "parameters": [
2356 {
2357 "type": "context.Context",
2358 "name": "ctx"
2359 },
2360 {
2361 "type": "chroniclepb.UpdateRuleDeploymentRequest",
2362 "name": "req"
2363 },
2364 {
2365 "type": "...gax.CallOption",
2366 "name": "opts"
2367 }
2368 ],
2369 "resultType": "*chroniclepb.RuleDeployment",
2370 "client": {
2371 "shortName": "RuleClient",
2372 "fullName": "google.cloud.chronicle.v1.RuleClient"
2373 },
2374 "method": {
2375 "shortName": "UpdateRuleDeployment",
2376 "fullName": "google.cloud.chronicle.v1.RuleService.UpdateRuleDeployment",
2377 "service": {
2378 "shortName": "RuleService",
2379 "fullName": "google.cloud.chronicle.v1.RuleService"
2380 }
2381 }
2382 },
2383 "origin": "API_DEFINITION",
2384 "segments": [
2385 {
2386 "start": 18,
2387 "end": 53,
2388 "type": "FULL"
2389 }
2390 ]
2391 }
2392 ]
2393 }