Debian Codegraph @

internal/generated/snippets/talent/apiv4/snippet_metadata.google.cloud.talent.v4.json

raw symbols SCIP
1 {
2 "clientLibrary": {
3 "name": "cloud.google.com/go/talent/apiv4",
4 "version": "1.8.3",
5 "language": "GO",
6 "apis": [
7 {
8 "id": "google.cloud.talent.v4",
9 "version": "v4"
10 }
11 ]
12 },
13 "snippets": [
14 {
15 "regionTag": "jobs_v4_generated_CompanyService_CreateCompany_sync",
16 "title": "jobs CreateCompany Sample",
17 "description": "CreateCompany creates a new company entity.",
18 "file": "CompanyClient/CreateCompany/main.go",
19 "language": "GO",
20 "clientMethod": {
21 "shortName": "CreateCompany",
22 "fullName": "google.cloud.talent.v4.CompanyClient.CreateCompany",
23 "parameters": [
24 {
25 "type": "context.Context",
26 "name": "ctx"
27 },
28 {
29 "type": "talentpb.CreateCompanyRequest",
30 "name": "req"
31 },
32 {
33 "type": "...gax.CallOption",
34 "name": "opts"
35 }
36 ],
37 "resultType": "*talentpb.Company",
38 "client": {
39 "shortName": "CompanyClient",
40 "fullName": "google.cloud.talent.v4.CompanyClient"
41 },
42 "method": {
43 "shortName": "CreateCompany",
44 "fullName": "google.cloud.talent.v4.CompanyService.CreateCompany",
45 "service": {
46 "shortName": "CompanyService",
47 "fullName": "google.cloud.talent.v4.CompanyService"
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": "jobs_v4_generated_CompanyService_DeleteCompany_sync",
62 "title": "jobs DeleteCompany Sample",
63 "description": "DeleteCompany deletes specified company.\nPrerequisite: The company has no jobs associated with it.",
64 "file": "CompanyClient/DeleteCompany/main.go",
65 "language": "GO",
66 "clientMethod": {
67 "shortName": "DeleteCompany",
68 "fullName": "google.cloud.talent.v4.CompanyClient.DeleteCompany",
69 "parameters": [
70 {
71 "type": "context.Context",
72 "name": "ctx"
73 },
74 {
75 "type": "talentpb.DeleteCompanyRequest",
76 "name": "req"
77 },
78 {
79 "type": "...gax.CallOption",
80 "name": "opts"
81 }
82 ],
83 "client": {
84 "shortName": "CompanyClient",
85 "fullName": "google.cloud.talent.v4.CompanyClient"
86 },
87 "method": {
88 "shortName": "DeleteCompany",
89 "fullName": "google.cloud.talent.v4.CompanyService.DeleteCompany",
90 "service": {
91 "shortName": "CompanyService",
92 "fullName": "google.cloud.talent.v4.CompanyService"
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": "jobs_v4_generated_CompanyService_GetCompany_sync",
107 "title": "jobs GetCompany Sample",
108 "description": "GetCompany retrieves specified company.",
109 "file": "CompanyClient/GetCompany/main.go",
110 "language": "GO",
111 "clientMethod": {
112 "shortName": "GetCompany",
113 "fullName": "google.cloud.talent.v4.CompanyClient.GetCompany",
114 "parameters": [
115 {
116 "type": "context.Context",
117 "name": "ctx"
118 },
119 {
120 "type": "talentpb.GetCompanyRequest",
121 "name": "req"
122 },
123 {
124 "type": "...gax.CallOption",
125 "name": "opts"
126 }
127 ],
128 "resultType": "*talentpb.Company",
129 "client": {
130 "shortName": "CompanyClient",
131 "fullName": "google.cloud.talent.v4.CompanyClient"
132 },
133 "method": {
134 "shortName": "GetCompany",
135 "fullName": "google.cloud.talent.v4.CompanyService.GetCompany",
136 "service": {
137 "shortName": "CompanyService",
138 "fullName": "google.cloud.talent.v4.CompanyService"
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": "jobs_v4_generated_CompanyService_GetOperation_sync",
153 "title": "jobs GetOperation Sample",
154 "description": "GetOperation is a utility method from google.longrunning.Operations.",
155 "file": "CompanyClient/GetOperation/main.go",
156 "language": "GO",
157 "clientMethod": {
158 "shortName": "GetOperation",
159 "fullName": "google.cloud.talent.v4.CompanyClient.GetOperation",
160 "parameters": [
161 {
162 "type": "context.Context",
163 "name": "ctx"
164 },
165 {
166 "type": "longrunningpb.GetOperationRequest",
167 "name": "req"
168 },
169 {
170 "type": "...gax.CallOption",
171 "name": "opts"
172 }
173 ],
174 "resultType": "*longrunningpb.Operation",
175 "client": {
176 "shortName": "CompanyClient",
177 "fullName": "google.cloud.talent.v4.CompanyClient"
178 },
179 "method": {
180 "shortName": "GetOperation",
181 "fullName": "google.longrunning.Operations.GetOperation",
182 "service": {
183 "shortName": "Operations",
184 "fullName": "google.longrunning.Operations"
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": "jobs_v4_generated_CompanyService_ListCompanies_sync",
199 "title": "jobs ListCompanies Sample",
200 "description": "ListCompanies lists all companies associated with the project.",
201 "file": "CompanyClient/ListCompanies/main.go",
202 "language": "GO",
203 "clientMethod": {
204 "shortName": "ListCompanies",
205 "fullName": "google.cloud.talent.v4.CompanyClient.ListCompanies",
206 "parameters": [
207 {
208 "type": "context.Context",
209 "name": "ctx"
210 },
211 {
212 "type": "talentpb.ListCompaniesRequest",
213 "name": "req"
214 },
215 {
216 "type": "...gax.CallOption",
217 "name": "opts"
218 }
219 ],
220 "resultType": "CompanyIterator",
221 "client": {
222 "shortName": "CompanyClient",
223 "fullName": "google.cloud.talent.v4.CompanyClient"
224 },
225 "method": {
226 "shortName": "ListCompanies",
227 "fullName": "google.cloud.talent.v4.CompanyService.ListCompanies",
228 "service": {
229 "shortName": "CompanyService",
230 "fullName": "google.cloud.talent.v4.CompanyService"
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": "jobs_v4_generated_CompanyService_UpdateCompany_sync",
245 "title": "jobs UpdateCompany Sample",
246 "description": "UpdateCompany updates specified company.",
247 "file": "CompanyClient/UpdateCompany/main.go",
248 "language": "GO",
249 "clientMethod": {
250 "shortName": "UpdateCompany",
251 "fullName": "google.cloud.talent.v4.CompanyClient.UpdateCompany",
252 "parameters": [
253 {
254 "type": "context.Context",
255 "name": "ctx"
256 },
257 {
258 "type": "talentpb.UpdateCompanyRequest",
259 "name": "req"
260 },
261 {
262 "type": "...gax.CallOption",
263 "name": "opts"
264 }
265 ],
266 "resultType": "*talentpb.Company",
267 "client": {
268 "shortName": "CompanyClient",
269 "fullName": "google.cloud.talent.v4.CompanyClient"
270 },
271 "method": {
272 "shortName": "UpdateCompany",
273 "fullName": "google.cloud.talent.v4.CompanyService.UpdateCompany",
274 "service": {
275 "shortName": "CompanyService",
276 "fullName": "google.cloud.talent.v4.CompanyService"
277 }
278 }
279 },
280 "origin": "API_DEFINITION",
281 "segments": [
282 {
283 "start": 18,
284 "end": 53,
285 "type": "FULL"
286 }
287 ]
288 },
289 {
290 "regionTag": "jobs_v4_generated_Completion_CompleteQuery_sync",
291 "title": "jobs CompleteQuery Sample",
292 "description": "CompleteQuery completes the specified prefix with keyword suggestions.\nIntended for use by a job search auto-complete search box.",
293 "file": "CompletionClient/CompleteQuery/main.go",
294 "language": "GO",
295 "clientMethod": {
296 "shortName": "CompleteQuery",
297 "fullName": "google.cloud.talent.v4.CompletionClient.CompleteQuery",
298 "parameters": [
299 {
300 "type": "context.Context",
301 "name": "ctx"
302 },
303 {
304 "type": "talentpb.CompleteQueryRequest",
305 "name": "req"
306 },
307 {
308 "type": "...gax.CallOption",
309 "name": "opts"
310 }
311 ],
312 "resultType": "*talentpb.CompleteQueryResponse",
313 "client": {
314 "shortName": "CompletionClient",
315 "fullName": "google.cloud.talent.v4.CompletionClient"
316 },
317 "method": {
318 "shortName": "CompleteQuery",
319 "fullName": "google.cloud.talent.v4.Completion.CompleteQuery",
320 "service": {
321 "shortName": "Completion",
322 "fullName": "google.cloud.talent.v4.Completion"
323 }
324 }
325 },
326 "origin": "API_DEFINITION",
327 "segments": [
328 {
329 "start": 18,
330 "end": 53,
331 "type": "FULL"
332 }
333 ]
334 },
335 {
336 "regionTag": "jobs_v4_generated_Completion_GetOperation_sync",
337 "title": "jobs GetOperation Sample",
338 "description": "GetOperation is a utility method from google.longrunning.Operations.",
339 "file": "CompletionClient/GetOperation/main.go",
340 "language": "GO",
341 "clientMethod": {
342 "shortName": "GetOperation",
343 "fullName": "google.cloud.talent.v4.CompletionClient.GetOperation",
344 "parameters": [
345 {
346 "type": "context.Context",
347 "name": "ctx"
348 },
349 {
350 "type": "longrunningpb.GetOperationRequest",
351 "name": "req"
352 },
353 {
354 "type": "...gax.CallOption",
355 "name": "opts"
356 }
357 ],
358 "resultType": "*longrunningpb.Operation",
359 "client": {
360 "shortName": "CompletionClient",
361 "fullName": "google.cloud.talent.v4.CompletionClient"
362 },
363 "method": {
364 "shortName": "GetOperation",
365 "fullName": "google.longrunning.Operations.GetOperation",
366 "service": {
367 "shortName": "Operations",
368 "fullName": "google.longrunning.Operations"
369 }
370 }
371 },
372 "origin": "API_DEFINITION",
373 "segments": [
374 {
375 "start": 18,
376 "end": 53,
377 "type": "FULL"
378 }
379 ]
380 },
381 {
382 "regionTag": "jobs_v4_generated_EventService_CreateClientEvent_sync",
383 "title": "jobs CreateClientEvent Sample",
384 "description": "CreateClientEvent report events issued when end user interacts with customer's application\nthat uses Cloud Talent Solution. You may inspect the created events in\n[self service\ntools](https: //console.cloud.google.com/talent-solution/overview).\n[Learn\nmore](https: //cloud.google.com/talent-solution/docs/management-tools)\nabout self service tools.",
385 "file": "EventClient/CreateClientEvent/main.go",
386 "language": "GO",
387 "clientMethod": {
388 "shortName": "CreateClientEvent",
389 "fullName": "google.cloud.talent.v4.EventClient.CreateClientEvent",
390 "parameters": [
391 {
392 "type": "context.Context",
393 "name": "ctx"
394 },
395 {
396 "type": "talentpb.CreateClientEventRequest",
397 "name": "req"
398 },
399 {
400 "type": "...gax.CallOption",
401 "name": "opts"
402 }
403 ],
404 "resultType": "*talentpb.ClientEvent",
405 "client": {
406 "shortName": "EventClient",
407 "fullName": "google.cloud.talent.v4.EventClient"
408 },
409 "method": {
410 "shortName": "CreateClientEvent",
411 "fullName": "google.cloud.talent.v4.EventService.CreateClientEvent",
412 "service": {
413 "shortName": "EventService",
414 "fullName": "google.cloud.talent.v4.EventService"
415 }
416 }
417 },
418 "origin": "API_DEFINITION",
419 "segments": [
420 {
421 "start": 18,
422 "end": 53,
423 "type": "FULL"
424 }
425 ]
426 },
427 {
428 "regionTag": "jobs_v4_generated_EventService_GetOperation_sync",
429 "title": "jobs GetOperation Sample",
430 "description": "GetOperation is a utility method from google.longrunning.Operations.",
431 "file": "EventClient/GetOperation/main.go",
432 "language": "GO",
433 "clientMethod": {
434 "shortName": "GetOperation",
435 "fullName": "google.cloud.talent.v4.EventClient.GetOperation",
436 "parameters": [
437 {
438 "type": "context.Context",
439 "name": "ctx"
440 },
441 {
442 "type": "longrunningpb.GetOperationRequest",
443 "name": "req"
444 },
445 {
446 "type": "...gax.CallOption",
447 "name": "opts"
448 }
449 ],
450 "resultType": "*longrunningpb.Operation",
451 "client": {
452 "shortName": "EventClient",
453 "fullName": "google.cloud.talent.v4.EventClient"
454 },
455 "method": {
456 "shortName": "GetOperation",
457 "fullName": "google.longrunning.Operations.GetOperation",
458 "service": {
459 "shortName": "Operations",
460 "fullName": "google.longrunning.Operations"
461 }
462 }
463 },
464 "origin": "API_DEFINITION",
465 "segments": [
466 {
467 "start": 18,
468 "end": 53,
469 "type": "FULL"
470 }
471 ]
472 },
473 {
474 "regionTag": "jobs_v4_generated_JobService_BatchCreateJobs_sync",
475 "title": "jobs BatchCreateJobs Sample",
476 "description": "BatchCreateJobs begins executing a batch create jobs operation.",
477 "file": "JobClient/BatchCreateJobs/main.go",
478 "language": "GO",
479 "clientMethod": {
480 "shortName": "BatchCreateJobs",
481 "fullName": "google.cloud.talent.v4.JobClient.BatchCreateJobs",
482 "parameters": [
483 {
484 "type": "context.Context",
485 "name": "ctx"
486 },
487 {
488 "type": "talentpb.BatchCreateJobsRequest",
489 "name": "req"
490 },
491 {
492 "type": "...gax.CallOption",
493 "name": "opts"
494 }
495 ],
496 "resultType": "BatchCreateJobsOperation",
497 "client": {
498 "shortName": "JobClient",
499 "fullName": "google.cloud.talent.v4.JobClient"
500 },
501 "method": {
502 "shortName": "BatchCreateJobs",
503 "fullName": "google.cloud.talent.v4.JobService.BatchCreateJobs",
504 "service": {
505 "shortName": "JobService",
506 "fullName": "google.cloud.talent.v4.JobService"
507 }
508 }
509 },
510 "origin": "API_DEFINITION",
511 "segments": [
512 {
513 "start": 18,
514 "end": 58,
515 "type": "FULL"
516 }
517 ]
518 },
519 {
520 "regionTag": "jobs_v4_generated_JobService_BatchDeleteJobs_sync",
521 "title": "jobs BatchDeleteJobs Sample",
522 "description": "BatchDeleteJobs begins executing a batch delete jobs operation.",
523 "file": "JobClient/BatchDeleteJobs/main.go",
524 "language": "GO",
525 "clientMethod": {
526 "shortName": "BatchDeleteJobs",
527 "fullName": "google.cloud.talent.v4.JobClient.BatchDeleteJobs",
528 "parameters": [
529 {
530 "type": "context.Context",
531 "name": "ctx"
532 },
533 {
534 "type": "talentpb.BatchDeleteJobsRequest",
535 "name": "req"
536 },
537 {
538 "type": "...gax.CallOption",
539 "name": "opts"
540 }
541 ],
542 "resultType": "BatchDeleteJobsOperation",
543 "client": {
544 "shortName": "JobClient",
545 "fullName": "google.cloud.talent.v4.JobClient"
546 },
547 "method": {
548 "shortName": "BatchDeleteJobs",
549 "fullName": "google.cloud.talent.v4.JobService.BatchDeleteJobs",
550 "service": {
551 "shortName": "JobService",
552 "fullName": "google.cloud.talent.v4.JobService"
553 }
554 }
555 },
556 "origin": "API_DEFINITION",
557 "segments": [
558 {
559 "start": 18,
560 "end": 58,
561 "type": "FULL"
562 }
563 ]
564 },
565 {
566 "regionTag": "jobs_v4_generated_JobService_BatchUpdateJobs_sync",
567 "title": "jobs BatchUpdateJobs Sample",
568 "description": "BatchUpdateJobs begins executing a batch update jobs operation.",
569 "file": "JobClient/BatchUpdateJobs/main.go",
570 "language": "GO",
571 "clientMethod": {
572 "shortName": "BatchUpdateJobs",
573 "fullName": "google.cloud.talent.v4.JobClient.BatchUpdateJobs",
574 "parameters": [
575 {
576 "type": "context.Context",
577 "name": "ctx"
578 },
579 {
580 "type": "talentpb.BatchUpdateJobsRequest",
581 "name": "req"
582 },
583 {
584 "type": "...gax.CallOption",
585 "name": "opts"
586 }
587 ],
588 "resultType": "BatchUpdateJobsOperation",
589 "client": {
590 "shortName": "JobClient",
591 "fullName": "google.cloud.talent.v4.JobClient"
592 },
593 "method": {
594 "shortName": "BatchUpdateJobs",
595 "fullName": "google.cloud.talent.v4.JobService.BatchUpdateJobs",
596 "service": {
597 "shortName": "JobService",
598 "fullName": "google.cloud.talent.v4.JobService"
599 }
600 }
601 },
602 "origin": "API_DEFINITION",
603 "segments": [
604 {
605 "start": 18,
606 "end": 58,
607 "type": "FULL"
608 }
609 ]
610 },
611 {
612 "regionTag": "jobs_v4_generated_JobService_CreateJob_sync",
613 "title": "jobs CreateJob Sample",
614 "description": "CreateJob creates a new job.\n\nTypically, the job becomes searchable within 10 seconds, but it may take\nup to 5 minutes.",
615 "file": "JobClient/CreateJob/main.go",
616 "language": "GO",
617 "clientMethod": {
618 "shortName": "CreateJob",
619 "fullName": "google.cloud.talent.v4.JobClient.CreateJob",
620 "parameters": [
621 {
622 "type": "context.Context",
623 "name": "ctx"
624 },
625 {
626 "type": "talentpb.CreateJobRequest",
627 "name": "req"
628 },
629 {
630 "type": "...gax.CallOption",
631 "name": "opts"
632 }
633 ],
634 "resultType": "*talentpb.Job",
635 "client": {
636 "shortName": "JobClient",
637 "fullName": "google.cloud.talent.v4.JobClient"
638 },
639 "method": {
640 "shortName": "CreateJob",
641 "fullName": "google.cloud.talent.v4.JobService.CreateJob",
642 "service": {
643 "shortName": "JobService",
644 "fullName": "google.cloud.talent.v4.JobService"
645 }
646 }
647 },
648 "origin": "API_DEFINITION",
649 "segments": [
650 {
651 "start": 18,
652 "end": 53,
653 "type": "FULL"
654 }
655 ]
656 },
657 {
658 "regionTag": "jobs_v4_generated_JobService_DeleteJob_sync",
659 "title": "jobs DeleteJob Sample",
660 "description": "DeleteJob deletes the specified job.\n\nTypically, the job becomes unsearchable within 10 seconds, but it may take\nup to 5 minutes.",
661 "file": "JobClient/DeleteJob/main.go",
662 "language": "GO",
663 "clientMethod": {
664 "shortName": "DeleteJob",
665 "fullName": "google.cloud.talent.v4.JobClient.DeleteJob",
666 "parameters": [
667 {
668 "type": "context.Context",
669 "name": "ctx"
670 },
671 {
672 "type": "talentpb.DeleteJobRequest",
673 "name": "req"
674 },
675 {
676 "type": "...gax.CallOption",
677 "name": "opts"
678 }
679 ],
680 "client": {
681 "shortName": "JobClient",
682 "fullName": "google.cloud.talent.v4.JobClient"
683 },
684 "method": {
685 "shortName": "DeleteJob",
686 "fullName": "google.cloud.talent.v4.JobService.DeleteJob",
687 "service": {
688 "shortName": "JobService",
689 "fullName": "google.cloud.talent.v4.JobService"
690 }
691 }
692 },
693 "origin": "API_DEFINITION",
694 "segments": [
695 {
696 "start": 18,
697 "end": 51,
698 "type": "FULL"
699 }
700 ]
701 },
702 {
703 "regionTag": "jobs_v4_generated_JobService_GetJob_sync",
704 "title": "jobs GetJob Sample",
705 "description": "GetJob retrieves the specified job, whose status is OPEN or recently EXPIRED\nwithin the last 90 days.",
706 "file": "JobClient/GetJob/main.go",
707 "language": "GO",
708 "clientMethod": {
709 "shortName": "GetJob",
710 "fullName": "google.cloud.talent.v4.JobClient.GetJob",
711 "parameters": [
712 {
713 "type": "context.Context",
714 "name": "ctx"
715 },
716 {
717 "type": "talentpb.GetJobRequest",
718 "name": "req"
719 },
720 {
721 "type": "...gax.CallOption",
722 "name": "opts"
723 }
724 ],
725 "resultType": "*talentpb.Job",
726 "client": {
727 "shortName": "JobClient",
728 "fullName": "google.cloud.talent.v4.JobClient"
729 },
730 "method": {
731 "shortName": "GetJob",
732 "fullName": "google.cloud.talent.v4.JobService.GetJob",
733 "service": {
734 "shortName": "JobService",
735 "fullName": "google.cloud.talent.v4.JobService"
736 }
737 }
738 },
739 "origin": "API_DEFINITION",
740 "segments": [
741 {
742 "start": 18,
743 "end": 53,
744 "type": "FULL"
745 }
746 ]
747 },
748 {
749 "regionTag": "jobs_v4_generated_JobService_GetOperation_sync",
750 "title": "jobs GetOperation Sample",
751 "description": "GetOperation is a utility method from google.longrunning.Operations.",
752 "file": "JobClient/GetOperation/main.go",
753 "language": "GO",
754 "clientMethod": {
755 "shortName": "GetOperation",
756 "fullName": "google.cloud.talent.v4.JobClient.GetOperation",
757 "parameters": [
758 {
759 "type": "context.Context",
760 "name": "ctx"
761 },
762 {
763 "type": "longrunningpb.GetOperationRequest",
764 "name": "req"
765 },
766 {
767 "type": "...gax.CallOption",
768 "name": "opts"
769 }
770 ],
771 "resultType": "*longrunningpb.Operation",
772 "client": {
773 "shortName": "JobClient",
774 "fullName": "google.cloud.talent.v4.JobClient"
775 },
776 "method": {
777 "shortName": "GetOperation",
778 "fullName": "google.longrunning.Operations.GetOperation",
779 "service": {
780 "shortName": "Operations",
781 "fullName": "google.longrunning.Operations"
782 }
783 }
784 },
785 "origin": "API_DEFINITION",
786 "segments": [
787 {
788 "start": 18,
789 "end": 53,
790 "type": "FULL"
791 }
792 ]
793 },
794 {
795 "regionTag": "jobs_v4_generated_JobService_ListJobs_sync",
796 "title": "jobs ListJobs Sample",
797 "description": "ListJobs lists jobs by filter.",
798 "file": "JobClient/ListJobs/main.go",
799 "language": "GO",
800 "clientMethod": {
801 "shortName": "ListJobs",
802 "fullName": "google.cloud.talent.v4.JobClient.ListJobs",
803 "parameters": [
804 {
805 "type": "context.Context",
806 "name": "ctx"
807 },
808 {
809 "type": "talentpb.ListJobsRequest",
810 "name": "req"
811 },
812 {
813 "type": "...gax.CallOption",
814 "name": "opts"
815 }
816 ],
817 "resultType": "JobIterator",
818 "client": {
819 "shortName": "JobClient",
820 "fullName": "google.cloud.talent.v4.JobClient"
821 },
822 "method": {
823 "shortName": "ListJobs",
824 "fullName": "google.cloud.talent.v4.JobService.ListJobs",
825 "service": {
826 "shortName": "JobService",
827 "fullName": "google.cloud.talent.v4.JobService"
828 }
829 }
830 },
831 "origin": "API_DEFINITION",
832 "segments": [
833 {
834 "start": 18,
835 "end": 66,
836 "type": "FULL"
837 }
838 ]
839 },
840 {
841 "regionTag": "jobs_v4_generated_JobService_SearchJobs_sync",
842 "title": "jobs SearchJobs Sample",
843 "description": "SearchJobs searches for jobs using the provided\n[SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].\n\nThis call constrains the\n[visibility][google.cloud.talent.v4.Job.visibility] of jobs present in the\ndatabase, and only returns jobs that the caller has permission to search\nagainst.",
844 "file": "JobClient/SearchJobs/main.go",
845 "language": "GO",
846 "clientMethod": {
847 "shortName": "SearchJobs",
848 "fullName": "google.cloud.talent.v4.JobClient.SearchJobs",
849 "parameters": [
850 {
851 "type": "context.Context",
852 "name": "ctx"
853 },
854 {
855 "type": "talentpb.SearchJobsRequest",
856 "name": "req"
857 },
858 {
859 "type": "...gax.CallOption",
860 "name": "opts"
861 }
862 ],
863 "resultType": "*talentpb.SearchJobsResponse",
864 "client": {
865 "shortName": "JobClient",
866 "fullName": "google.cloud.talent.v4.JobClient"
867 },
868 "method": {
869 "shortName": "SearchJobs",
870 "fullName": "google.cloud.talent.v4.JobService.SearchJobs",
871 "service": {
872 "shortName": "JobService",
873 "fullName": "google.cloud.talent.v4.JobService"
874 }
875 }
876 },
877 "origin": "API_DEFINITION",
878 "segments": [
879 {
880 "start": 18,
881 "end": 53,
882 "type": "FULL"
883 }
884 ]
885 },
886 {
887 "regionTag": "jobs_v4_generated_JobService_SearchJobsForAlert_sync",
888 "title": "jobs SearchJobsForAlert Sample",
889 "description": "SearchJobsForAlert searches for jobs using the provided\n[SearchJobsRequest][google.cloud.talent.v4.SearchJobsRequest].\n\nThis API call is intended for the use case of targeting passive job\nseekers (for example, job seekers who have signed up to receive email\nalerts about potential job opportunities), it has different algorithmic\nadjustments that are designed to specifically target passive job seekers.\n\nThis call constrains the\n[visibility][google.cloud.talent.v4.Job.visibility] of jobs present in the\ndatabase, and only returns jobs the caller has permission to search\nagainst.",
890 "file": "JobClient/SearchJobsForAlert/main.go",
891 "language": "GO",
892 "clientMethod": {
893 "shortName": "SearchJobsForAlert",
894 "fullName": "google.cloud.talent.v4.JobClient.SearchJobsForAlert",
895 "parameters": [
896 {
897 "type": "context.Context",
898 "name": "ctx"
899 },
900 {
901 "type": "talentpb.SearchJobsRequest",
902 "name": "req"
903 },
904 {
905 "type": "...gax.CallOption",
906 "name": "opts"
907 }
908 ],
909 "resultType": "*talentpb.SearchJobsResponse",
910 "client": {
911 "shortName": "JobClient",
912 "fullName": "google.cloud.talent.v4.JobClient"
913 },
914 "method": {
915 "shortName": "SearchJobsForAlert",
916 "fullName": "google.cloud.talent.v4.JobService.SearchJobsForAlert",
917 "service": {
918 "shortName": "JobService",
919 "fullName": "google.cloud.talent.v4.JobService"
920 }
921 }
922 },
923 "origin": "API_DEFINITION",
924 "segments": [
925 {
926 "start": 18,
927 "end": 53,
928 "type": "FULL"
929 }
930 ]
931 },
932 {
933 "regionTag": "jobs_v4_generated_JobService_UpdateJob_sync",
934 "title": "jobs UpdateJob Sample",
935 "description": "UpdateJob updates specified job.\n\nTypically, updated contents become visible in search results within 10\nseconds, but it may take up to 5 minutes.",
936 "file": "JobClient/UpdateJob/main.go",
937 "language": "GO",
938 "clientMethod": {
939 "shortName": "UpdateJob",
940 "fullName": "google.cloud.talent.v4.JobClient.UpdateJob",
941 "parameters": [
942 {
943 "type": "context.Context",
944 "name": "ctx"
945 },
946 {
947 "type": "talentpb.UpdateJobRequest",
948 "name": "req"
949 },
950 {
951 "type": "...gax.CallOption",
952 "name": "opts"
953 }
954 ],
955 "resultType": "*talentpb.Job",
956 "client": {
957 "shortName": "JobClient",
958 "fullName": "google.cloud.talent.v4.JobClient"
959 },
960 "method": {
961 "shortName": "UpdateJob",
962 "fullName": "google.cloud.talent.v4.JobService.UpdateJob",
963 "service": {
964 "shortName": "JobService",
965 "fullName": "google.cloud.talent.v4.JobService"
966 }
967 }
968 },
969 "origin": "API_DEFINITION",
970 "segments": [
971 {
972 "start": 18,
973 "end": 53,
974 "type": "FULL"
975 }
976 ]
977 },
978 {
979 "regionTag": "jobs_v4_generated_TenantService_CreateTenant_sync",
980 "title": "jobs CreateTenant Sample",
981 "description": "CreateTenant creates a new tenant entity.",
982 "file": "TenantClient/CreateTenant/main.go",
983 "language": "GO",
984 "clientMethod": {
985 "shortName": "CreateTenant",
986 "fullName": "google.cloud.talent.v4.TenantClient.CreateTenant",
987 "parameters": [
988 {
989 "type": "context.Context",
990 "name": "ctx"
991 },
992 {
993 "type": "talentpb.CreateTenantRequest",
994 "name": "req"
995 },
996 {
997 "type": "...gax.CallOption",
998 "name": "opts"
999 }
1000 ],
1001 "resultType": "*talentpb.Tenant",
1002 "client": {
1003 "shortName": "TenantClient",
1004 "fullName": "google.cloud.talent.v4.TenantClient"
1005 },
1006 "method": {
1007 "shortName": "CreateTenant",
1008 "fullName": "google.cloud.talent.v4.TenantService.CreateTenant",
1009 "service": {
1010 "shortName": "TenantService",
1011 "fullName": "google.cloud.talent.v4.TenantService"
1012 }
1013 }
1014 },
1015 "origin": "API_DEFINITION",
1016 "segments": [
1017 {
1018 "start": 18,
1019 "end": 53,
1020 "type": "FULL"
1021 }
1022 ]
1023 },
1024 {
1025 "regionTag": "jobs_v4_generated_TenantService_DeleteTenant_sync",
1026 "title": "jobs DeleteTenant Sample",
1027 "description": "DeleteTenant deletes specified tenant.",
1028 "file": "TenantClient/DeleteTenant/main.go",
1029 "language": "GO",
1030 "clientMethod": {
1031 "shortName": "DeleteTenant",
1032 "fullName": "google.cloud.talent.v4.TenantClient.DeleteTenant",
1033 "parameters": [
1034 {
1035 "type": "context.Context",
1036 "name": "ctx"
1037 },
1038 {
1039 "type": "talentpb.DeleteTenantRequest",
1040 "name": "req"
1041 },
1042 {
1043 "type": "...gax.CallOption",
1044 "name": "opts"
1045 }
1046 ],
1047 "client": {
1048 "shortName": "TenantClient",
1049 "fullName": "google.cloud.talent.v4.TenantClient"
1050 },
1051 "method": {
1052 "shortName": "DeleteTenant",
1053 "fullName": "google.cloud.talent.v4.TenantService.DeleteTenant",
1054 "service": {
1055 "shortName": "TenantService",
1056 "fullName": "google.cloud.talent.v4.TenantService"
1057 }
1058 }
1059 },
1060 "origin": "API_DEFINITION",
1061 "segments": [
1062 {
1063 "start": 18,
1064 "end": 51,
1065 "type": "FULL"
1066 }
1067 ]
1068 },
1069 {
1070 "regionTag": "jobs_v4_generated_TenantService_GetOperation_sync",
1071 "title": "jobs GetOperation Sample",
1072 "description": "GetOperation is a utility method from google.longrunning.Operations.",
1073 "file": "TenantClient/GetOperation/main.go",
1074 "language": "GO",
1075 "clientMethod": {
1076 "shortName": "GetOperation",
1077 "fullName": "google.cloud.talent.v4.TenantClient.GetOperation",
1078 "parameters": [
1079 {
1080 "type": "context.Context",
1081 "name": "ctx"
1082 },
1083 {
1084 "type": "longrunningpb.GetOperationRequest",
1085 "name": "req"
1086 },
1087 {
1088 "type": "...gax.CallOption",
1089 "name": "opts"
1090 }
1091 ],
1092 "resultType": "*longrunningpb.Operation",
1093 "client": {
1094 "shortName": "TenantClient",
1095 "fullName": "google.cloud.talent.v4.TenantClient"
1096 },
1097 "method": {
1098 "shortName": "GetOperation",
1099 "fullName": "google.longrunning.Operations.GetOperation",
1100 "service": {
1101 "shortName": "Operations",
1102 "fullName": "google.longrunning.Operations"
1103 }
1104 }
1105 },
1106 "origin": "API_DEFINITION",
1107 "segments": [
1108 {
1109 "start": 18,
1110 "end": 53,
1111 "type": "FULL"
1112 }
1113 ]
1114 },
1115 {
1116 "regionTag": "jobs_v4_generated_TenantService_GetTenant_sync",
1117 "title": "jobs GetTenant Sample",
1118 "description": "GetTenant retrieves specified tenant.",
1119 "file": "TenantClient/GetTenant/main.go",
1120 "language": "GO",
1121 "clientMethod": {
1122 "shortName": "GetTenant",
1123 "fullName": "google.cloud.talent.v4.TenantClient.GetTenant",
1124 "parameters": [
1125 {
1126 "type": "context.Context",
1127 "name": "ctx"
1128 },
1129 {
1130 "type": "talentpb.GetTenantRequest",
1131 "name": "req"
1132 },
1133 {
1134 "type": "...gax.CallOption",
1135 "name": "opts"
1136 }
1137 ],
1138 "resultType": "*talentpb.Tenant",
1139 "client": {
1140 "shortName": "TenantClient",
1141 "fullName": "google.cloud.talent.v4.TenantClient"
1142 },
1143 "method": {
1144 "shortName": "GetTenant",
1145 "fullName": "google.cloud.talent.v4.TenantService.GetTenant",
1146 "service": {
1147 "shortName": "TenantService",
1148 "fullName": "google.cloud.talent.v4.TenantService"
1149 }
1150 }
1151 },
1152 "origin": "API_DEFINITION",
1153 "segments": [
1154 {
1155 "start": 18,
1156 "end": 53,
1157 "type": "FULL"
1158 }
1159 ]
1160 },
1161 {
1162 "regionTag": "jobs_v4_generated_TenantService_ListTenants_sync",
1163 "title": "jobs ListTenants Sample",
1164 "description": "ListTenants lists all tenants associated with the project.",
1165 "file": "TenantClient/ListTenants/main.go",
1166 "language": "GO",
1167 "clientMethod": {
1168 "shortName": "ListTenants",
1169 "fullName": "google.cloud.talent.v4.TenantClient.ListTenants",
1170 "parameters": [
1171 {
1172 "type": "context.Context",
1173 "name": "ctx"
1174 },
1175 {
1176 "type": "talentpb.ListTenantsRequest",
1177 "name": "req"
1178 },
1179 {
1180 "type": "...gax.CallOption",
1181 "name": "opts"
1182 }
1183 ],
1184 "resultType": "TenantIterator",
1185 "client": {
1186 "shortName": "TenantClient",
1187 "fullName": "google.cloud.talent.v4.TenantClient"
1188 },
1189 "method": {
1190 "shortName": "ListTenants",
1191 "fullName": "google.cloud.talent.v4.TenantService.ListTenants",
1192 "service": {
1193 "shortName": "TenantService",
1194 "fullName": "google.cloud.talent.v4.TenantService"
1195 }
1196 }
1197 },
1198 "origin": "API_DEFINITION",
1199 "segments": [
1200 {
1201 "start": 18,
1202 "end": 66,
1203 "type": "FULL"
1204 }
1205 ]
1206 },
1207 {
1208 "regionTag": "jobs_v4_generated_TenantService_UpdateTenant_sync",
1209 "title": "jobs UpdateTenant Sample",
1210 "description": "UpdateTenant updates specified tenant.",
1211 "file": "TenantClient/UpdateTenant/main.go",
1212 "language": "GO",
1213 "clientMethod": {
1214 "shortName": "UpdateTenant",
1215 "fullName": "google.cloud.talent.v4.TenantClient.UpdateTenant",
1216 "parameters": [
1217 {
1218 "type": "context.Context",
1219 "name": "ctx"
1220 },
1221 {
1222 "type": "talentpb.UpdateTenantRequest",
1223 "name": "req"
1224 },
1225 {
1226 "type": "...gax.CallOption",
1227 "name": "opts"
1228 }
1229 ],
1230 "resultType": "*talentpb.Tenant",
1231 "client": {
1232 "shortName": "TenantClient",
1233 "fullName": "google.cloud.talent.v4.TenantClient"
1234 },
1235 "method": {
1236 "shortName": "UpdateTenant",
1237 "fullName": "google.cloud.talent.v4.TenantService.UpdateTenant",
1238 "service": {
1239 "shortName": "TenantService",
1240 "fullName": "google.cloud.talent.v4.TenantService"
1241 }
1242 }
1243 },
1244 "origin": "API_DEFINITION",
1245 "segments": [
1246 {
1247 "start": 18,
1248 "end": 53,
1249 "type": "FULL"
1250 }
1251 ]
1252 }
1253 ]
1254 }