Debian Codegraph @

internal/generated/snippets/servicemanagement/apiv1/snippet_metadata.google.api.servicemanagement.v1.json

raw symbols SCIP
1 {
2 "clientLibrary": {
3 "name": "cloud.google.com/go/servicemanagement/apiv1",
4 "version": "1.10.6",
5 "language": "GO",
6 "apis": [
7 {
8 "id": "google.api.servicemanagement.v1",
9 "version": "v1"
10 }
11 ]
12 },
13 "snippets": [
14 {
15 "regionTag": "servicemanagement_v1_generated_ServiceManager_CreateService_sync",
16 "title": "servicemanagement CreateService Sample",
17 "description": "CreateService creates a new managed service.\n\nA managed service is immutable, and is subject to mandatory 30-day\ndata retention. You cannot move a service or recreate it within 30 days\nafter deletion.\n\nOne producer project can own no more than 500 services. For security and\nreliability purposes, a production service should be hosted in a\ndedicated producer project.\n\nOperation<response: ManagedService>",
18 "file": "ServiceManagerClient/CreateService/main.go",
19 "language": "GO",
20 "clientMethod": {
21 "shortName": "CreateService",
22 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.CreateService",
23 "parameters": [
24 {
25 "type": "context.Context",
26 "name": "ctx"
27 },
28 {
29 "type": "servicemanagementpb.CreateServiceRequest",
30 "name": "req"
31 },
32 {
33 "type": "...gax.CallOption",
34 "name": "opts"
35 }
36 ],
37 "resultType": "CreateServiceOperation",
38 "client": {
39 "shortName": "ServiceManagerClient",
40 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient"
41 },
42 "method": {
43 "shortName": "CreateService",
44 "fullName": "google.api.servicemanagement.v1.ServiceManager.CreateService",
45 "service": {
46 "shortName": "ServiceManager",
47 "fullName": "google.api.servicemanagement.v1.ServiceManager"
48 }
49 }
50 },
51 "origin": "API_DEFINITION",
52 "segments": [
53 {
54 "start": 18,
55 "end": 58,
56 "type": "FULL"
57 }
58 ]
59 },
60 {
61 "regionTag": "servicemanagement_v1_generated_ServiceManager_CreateServiceConfig_sync",
62 "title": "servicemanagement CreateServiceConfig Sample",
63 "description": "CreateServiceConfig creates a new service configuration (version) for a managed service.\nThis method only stores the service configuration. To roll out the service\nconfiguration to backend systems please call\n[CreateServiceRollout][google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout].\n\nOnly the 100 most recent service configurations and ones referenced by\nexisting rollouts are kept for each service. The rest will be deleted\neventually.",
64 "file": "ServiceManagerClient/CreateServiceConfig/main.go",
65 "language": "GO",
66 "clientMethod": {
67 "shortName": "CreateServiceConfig",
68 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.CreateServiceConfig",
69 "parameters": [
70 {
71 "type": "context.Context",
72 "name": "ctx"
73 },
74 {
75 "type": "servicemanagementpb.CreateServiceConfigRequest",
76 "name": "req"
77 },
78 {
79 "type": "...gax.CallOption",
80 "name": "opts"
81 }
82 ],
83 "resultType": "*serviceconfigpb.Service",
84 "client": {
85 "shortName": "ServiceManagerClient",
86 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient"
87 },
88 "method": {
89 "shortName": "CreateServiceConfig",
90 "fullName": "google.api.servicemanagement.v1.ServiceManager.CreateServiceConfig",
91 "service": {
92 "shortName": "ServiceManager",
93 "fullName": "google.api.servicemanagement.v1.ServiceManager"
94 }
95 }
96 },
97 "origin": "API_DEFINITION",
98 "segments": [
99 {
100 "start": 18,
101 "end": 53,
102 "type": "FULL"
103 }
104 ]
105 },
106 {
107 "regionTag": "servicemanagement_v1_generated_ServiceManager_CreateServiceRollout_sync",
108 "title": "servicemanagement CreateServiceRollout Sample",
109 "description": "CreateServiceRollout creates a new service configuration rollout. Based on rollout, the\nGoogle Service Management will roll out the service configurations to\ndifferent backend services. For example, the logging configuration will be\npushed to Google Cloud Logging.\n\nPlease note that any previous pending and running Rollouts and associated\nOperations will be automatically cancelled so that the latest Rollout will\nnot be blocked by previous Rollouts.\n\nOnly the 100 most recent (in any state) and the last 10 successful (if not\nalready part of the set of 100 most recent) rollouts are kept for each\nservice. The rest will be deleted eventually.\n\nOperation<response: Rollout>",
110 "file": "ServiceManagerClient/CreateServiceRollout/main.go",
111 "language": "GO",
112 "clientMethod": {
113 "shortName": "CreateServiceRollout",
114 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.CreateServiceRollout",
115 "parameters": [
116 {
117 "type": "context.Context",
118 "name": "ctx"
119 },
120 {
121 "type": "servicemanagementpb.CreateServiceRolloutRequest",
122 "name": "req"
123 },
124 {
125 "type": "...gax.CallOption",
126 "name": "opts"
127 }
128 ],
129 "resultType": "CreateServiceRolloutOperation",
130 "client": {
131 "shortName": "ServiceManagerClient",
132 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient"
133 },
134 "method": {
135 "shortName": "CreateServiceRollout",
136 "fullName": "google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout",
137 "service": {
138 "shortName": "ServiceManager",
139 "fullName": "google.api.servicemanagement.v1.ServiceManager"
140 }
141 }
142 },
143 "origin": "API_DEFINITION",
144 "segments": [
145 {
146 "start": 18,
147 "end": 58,
148 "type": "FULL"
149 }
150 ]
151 },
152 {
153 "regionTag": "servicemanagement_v1_generated_ServiceManager_DeleteService_sync",
154 "title": "servicemanagement DeleteService Sample",
155 "description": "DeleteService deletes a managed service. This method will change the service to the\n`Soft-Delete` state for 30 days. Within this period, service producers may\ncall\n[UndeleteService][google.api.servicemanagement.v1.ServiceManager.UndeleteService]\nto restore the service. After 30 days, the service will be permanently\ndeleted.\n\nOperation<response: google.protobuf.Empty>",
156 "file": "ServiceManagerClient/DeleteService/main.go",
157 "language": "GO",
158 "clientMethod": {
159 "shortName": "DeleteService",
160 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.DeleteService",
161 "parameters": [
162 {
163 "type": "context.Context",
164 "name": "ctx"
165 },
166 {
167 "type": "servicemanagementpb.DeleteServiceRequest",
168 "name": "req"
169 },
170 {
171 "type": "...gax.CallOption",
172 "name": "opts"
173 }
174 ],
175 "resultType": "DeleteServiceOperation",
176 "client": {
177 "shortName": "ServiceManagerClient",
178 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient"
179 },
180 "method": {
181 "shortName": "DeleteService",
182 "fullName": "google.api.servicemanagement.v1.ServiceManager.DeleteService",
183 "service": {
184 "shortName": "ServiceManager",
185 "fullName": "google.api.servicemanagement.v1.ServiceManager"
186 }
187 }
188 },
189 "origin": "API_DEFINITION",
190 "segments": [
191 {
192 "start": 18,
193 "end": 56,
194 "type": "FULL"
195 }
196 ]
197 },
198 {
199 "regionTag": "servicemanagement_v1_generated_ServiceManager_GenerateConfigReport_sync",
200 "title": "servicemanagement GenerateConfigReport Sample",
201 "description": "GenerateConfigReport generates and returns a report (errors, warnings and changes from\nexisting configurations) associated with\nGenerateConfigReportRequest.new_value\n\nIf GenerateConfigReportRequest.old_value is specified,\nGenerateConfigReportRequest will contain a single ChangeReport based on the\ncomparison between GenerateConfigReportRequest.new_value and\nGenerateConfigReportRequest.old_value.\nIf GenerateConfigReportRequest.old_value is not specified, this method\nwill compare GenerateConfigReportRequest.new_value with the last pushed\nservice configuration.",
202 "file": "ServiceManagerClient/GenerateConfigReport/main.go",
203 "language": "GO",
204 "clientMethod": {
205 "shortName": "GenerateConfigReport",
206 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.GenerateConfigReport",
207 "parameters": [
208 {
209 "type": "context.Context",
210 "name": "ctx"
211 },
212 {
213 "type": "servicemanagementpb.GenerateConfigReportRequest",
214 "name": "req"
215 },
216 {
217 "type": "...gax.CallOption",
218 "name": "opts"
219 }
220 ],
221 "resultType": "*servicemanagementpb.GenerateConfigReportResponse",
222 "client": {
223 "shortName": "ServiceManagerClient",
224 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient"
225 },
226 "method": {
227 "shortName": "GenerateConfigReport",
228 "fullName": "google.api.servicemanagement.v1.ServiceManager.GenerateConfigReport",
229 "service": {
230 "shortName": "ServiceManager",
231 "fullName": "google.api.servicemanagement.v1.ServiceManager"
232 }
233 }
234 },
235 "origin": "API_DEFINITION",
236 "segments": [
237 {
238 "start": 18,
239 "end": 53,
240 "type": "FULL"
241 }
242 ]
243 },
244 {
245 "regionTag": "servicemanagement_v1_generated_ServiceManager_GetIamPolicy_sync",
246 "title": "servicemanagement GetIamPolicy Sample",
247 "description": "GetIamPolicy gets the access control policy for a resource. Returns an empty policy\nif the resource exists and does not have a policy set.",
248 "file": "ServiceManagerClient/GetIamPolicy/main.go",
249 "language": "GO",
250 "clientMethod": {
251 "shortName": "GetIamPolicy",
252 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.GetIamPolicy",
253 "parameters": [
254 {
255 "type": "context.Context",
256 "name": "ctx"
257 },
258 {
259 "type": "iampb.GetIamPolicyRequest",
260 "name": "req"
261 },
262 {
263 "type": "...gax.CallOption",
264 "name": "opts"
265 }
266 ],
267 "resultType": "*iampb.Policy",
268 "client": {
269 "shortName": "ServiceManagerClient",
270 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient"
271 },
272 "method": {
273 "shortName": "GetIamPolicy",
274 "fullName": "google.iam.v1.IAMPolicy.GetIamPolicy",
275 "service": {
276 "shortName": "IAMPolicy",
277 "fullName": "google.iam.v1.IAMPolicy"
278 }
279 }
280 },
281 "origin": "API_DEFINITION",
282 "segments": [
283 {
284 "start": 18,
285 "end": 53,
286 "type": "FULL"
287 }
288 ]
289 },
290 {
291 "regionTag": "servicemanagement_v1_generated_ServiceManager_GetService_sync",
292 "title": "servicemanagement GetService Sample",
293 "description": "GetService gets a managed service. Authentication is required unless the service is\npublic.",
294 "file": "ServiceManagerClient/GetService/main.go",
295 "language": "GO",
296 "clientMethod": {
297 "shortName": "GetService",
298 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.GetService",
299 "parameters": [
300 {
301 "type": "context.Context",
302 "name": "ctx"
303 },
304 {
305 "type": "servicemanagementpb.GetServiceRequest",
306 "name": "req"
307 },
308 {
309 "type": "...gax.CallOption",
310 "name": "opts"
311 }
312 ],
313 "resultType": "*servicemanagementpb.ManagedService",
314 "client": {
315 "shortName": "ServiceManagerClient",
316 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient"
317 },
318 "method": {
319 "shortName": "GetService",
320 "fullName": "google.api.servicemanagement.v1.ServiceManager.GetService",
321 "service": {
322 "shortName": "ServiceManager",
323 "fullName": "google.api.servicemanagement.v1.ServiceManager"
324 }
325 }
326 },
327 "origin": "API_DEFINITION",
328 "segments": [
329 {
330 "start": 18,
331 "end": 53,
332 "type": "FULL"
333 }
334 ]
335 },
336 {
337 "regionTag": "servicemanagement_v1_generated_ServiceManager_GetServiceConfig_sync",
338 "title": "servicemanagement GetServiceConfig Sample",
339 "description": "GetServiceConfig gets a service configuration (version) for a managed service.",
340 "file": "ServiceManagerClient/GetServiceConfig/main.go",
341 "language": "GO",
342 "clientMethod": {
343 "shortName": "GetServiceConfig",
344 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.GetServiceConfig",
345 "parameters": [
346 {
347 "type": "context.Context",
348 "name": "ctx"
349 },
350 {
351 "type": "servicemanagementpb.GetServiceConfigRequest",
352 "name": "req"
353 },
354 {
355 "type": "...gax.CallOption",
356 "name": "opts"
357 }
358 ],
359 "resultType": "*serviceconfigpb.Service",
360 "client": {
361 "shortName": "ServiceManagerClient",
362 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient"
363 },
364 "method": {
365 "shortName": "GetServiceConfig",
366 "fullName": "google.api.servicemanagement.v1.ServiceManager.GetServiceConfig",
367 "service": {
368 "shortName": "ServiceManager",
369 "fullName": "google.api.servicemanagement.v1.ServiceManager"
370 }
371 }
372 },
373 "origin": "API_DEFINITION",
374 "segments": [
375 {
376 "start": 18,
377 "end": 53,
378 "type": "FULL"
379 }
380 ]
381 },
382 {
383 "regionTag": "servicemanagement_v1_generated_ServiceManager_GetServiceRollout_sync",
384 "title": "servicemanagement GetServiceRollout Sample",
385 "description": "GetServiceRollout gets a service configuration\n[rollout][google.api.servicemanagement.v1.Rollout].",
386 "file": "ServiceManagerClient/GetServiceRollout/main.go",
387 "language": "GO",
388 "clientMethod": {
389 "shortName": "GetServiceRollout",
390 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.GetServiceRollout",
391 "parameters": [
392 {
393 "type": "context.Context",
394 "name": "ctx"
395 },
396 {
397 "type": "servicemanagementpb.GetServiceRolloutRequest",
398 "name": "req"
399 },
400 {
401 "type": "...gax.CallOption",
402 "name": "opts"
403 }
404 ],
405 "resultType": "*servicemanagementpb.Rollout",
406 "client": {
407 "shortName": "ServiceManagerClient",
408 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient"
409 },
410 "method": {
411 "shortName": "GetServiceRollout",
412 "fullName": "google.api.servicemanagement.v1.ServiceManager.GetServiceRollout",
413 "service": {
414 "shortName": "ServiceManager",
415 "fullName": "google.api.servicemanagement.v1.ServiceManager"
416 }
417 }
418 },
419 "origin": "API_DEFINITION",
420 "segments": [
421 {
422 "start": 18,
423 "end": 53,
424 "type": "FULL"
425 }
426 ]
427 },
428 {
429 "regionTag": "servicemanagement_v1_generated_ServiceManager_ListOperations_sync",
430 "title": "servicemanagement ListOperations Sample",
431 "description": "ListOperations lists service operations that match the specified filter in the request.",
432 "file": "ServiceManagerClient/ListOperations/main.go",
433 "language": "GO",
434 "clientMethod": {
435 "shortName": "ListOperations",
436 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.ListOperations",
437 "parameters": [
438 {
439 "type": "context.Context",
440 "name": "ctx"
441 },
442 {
443 "type": "longrunningpb.ListOperationsRequest",
444 "name": "req"
445 },
446 {
447 "type": "...gax.CallOption",
448 "name": "opts"
449 }
450 ],
451 "resultType": "OperationIterator",
452 "client": {
453 "shortName": "ServiceManagerClient",
454 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient"
455 },
456 "method": {
457 "shortName": "ListOperations",
458 "fullName": "google.longrunning.Operations.ListOperations",
459 "service": {
460 "shortName": "Operations",
461 "fullName": "google.longrunning.Operations"
462 }
463 }
464 },
465 "origin": "API_DEFINITION",
466 "segments": [
467 {
468 "start": 18,
469 "end": 66,
470 "type": "FULL"
471 }
472 ]
473 },
474 {
475 "regionTag": "servicemanagement_v1_generated_ServiceManager_ListServiceConfigs_sync",
476 "title": "servicemanagement ListServiceConfigs Sample",
477 "description": "ListServiceConfigs lists the history of the service configuration for a managed service,\nfrom the newest to the oldest.",
478 "file": "ServiceManagerClient/ListServiceConfigs/main.go",
479 "language": "GO",
480 "clientMethod": {
481 "shortName": "ListServiceConfigs",
482 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.ListServiceConfigs",
483 "parameters": [
484 {
485 "type": "context.Context",
486 "name": "ctx"
487 },
488 {
489 "type": "servicemanagementpb.ListServiceConfigsRequest",
490 "name": "req"
491 },
492 {
493 "type": "...gax.CallOption",
494 "name": "opts"
495 }
496 ],
497 "resultType": "ServiceIterator",
498 "client": {
499 "shortName": "ServiceManagerClient",
500 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient"
501 },
502 "method": {
503 "shortName": "ListServiceConfigs",
504 "fullName": "google.api.servicemanagement.v1.ServiceManager.ListServiceConfigs",
505 "service": {
506 "shortName": "ServiceManager",
507 "fullName": "google.api.servicemanagement.v1.ServiceManager"
508 }
509 }
510 },
511 "origin": "API_DEFINITION",
512 "segments": [
513 {
514 "start": 18,
515 "end": 66,
516 "type": "FULL"
517 }
518 ]
519 },
520 {
521 "regionTag": "servicemanagement_v1_generated_ServiceManager_ListServiceRollouts_sync",
522 "title": "servicemanagement ListServiceRollouts Sample",
523 "description": "ListServiceRollouts lists the history of the service configuration rollouts for a managed\nservice, from the newest to the oldest.",
524 "file": "ServiceManagerClient/ListServiceRollouts/main.go",
525 "language": "GO",
526 "clientMethod": {
527 "shortName": "ListServiceRollouts",
528 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.ListServiceRollouts",
529 "parameters": [
530 {
531 "type": "context.Context",
532 "name": "ctx"
533 },
534 {
535 "type": "servicemanagementpb.ListServiceRolloutsRequest",
536 "name": "req"
537 },
538 {
539 "type": "...gax.CallOption",
540 "name": "opts"
541 }
542 ],
543 "resultType": "RolloutIterator",
544 "client": {
545 "shortName": "ServiceManagerClient",
546 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient"
547 },
548 "method": {
549 "shortName": "ListServiceRollouts",
550 "fullName": "google.api.servicemanagement.v1.ServiceManager.ListServiceRollouts",
551 "service": {
552 "shortName": "ServiceManager",
553 "fullName": "google.api.servicemanagement.v1.ServiceManager"
554 }
555 }
556 },
557 "origin": "API_DEFINITION",
558 "segments": [
559 {
560 "start": 18,
561 "end": 66,
562 "type": "FULL"
563 }
564 ]
565 },
566 {
567 "regionTag": "servicemanagement_v1_generated_ServiceManager_ListServices_sync",
568 "title": "servicemanagement ListServices Sample",
569 "description": "ListServices lists managed services.\n\nReturns all public services. For authenticated users, also returns all\nservices the calling user has \"servicemanagement.services.get\" permission\nfor.",
570 "file": "ServiceManagerClient/ListServices/main.go",
571 "language": "GO",
572 "clientMethod": {
573 "shortName": "ListServices",
574 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.ListServices",
575 "parameters": [
576 {
577 "type": "context.Context",
578 "name": "ctx"
579 },
580 {
581 "type": "servicemanagementpb.ListServicesRequest",
582 "name": "req"
583 },
584 {
585 "type": "...gax.CallOption",
586 "name": "opts"
587 }
588 ],
589 "resultType": "ManagedServiceIterator",
590 "client": {
591 "shortName": "ServiceManagerClient",
592 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient"
593 },
594 "method": {
595 "shortName": "ListServices",
596 "fullName": "google.api.servicemanagement.v1.ServiceManager.ListServices",
597 "service": {
598 "shortName": "ServiceManager",
599 "fullName": "google.api.servicemanagement.v1.ServiceManager"
600 }
601 }
602 },
603 "origin": "API_DEFINITION",
604 "segments": [
605 {
606 "start": 18,
607 "end": 66,
608 "type": "FULL"
609 }
610 ]
611 },
612 {
613 "regionTag": "servicemanagement_v1_generated_ServiceManager_SetIamPolicy_sync",
614 "title": "servicemanagement SetIamPolicy Sample",
615 "description": "SetIamPolicy sets the access control policy on the specified resource. Replaces\nany existing policy.\n\nCan return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`\nerrors.",
616 "file": "ServiceManagerClient/SetIamPolicy/main.go",
617 "language": "GO",
618 "clientMethod": {
619 "shortName": "SetIamPolicy",
620 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.SetIamPolicy",
621 "parameters": [
622 {
623 "type": "context.Context",
624 "name": "ctx"
625 },
626 {
627 "type": "iampb.SetIamPolicyRequest",
628 "name": "req"
629 },
630 {
631 "type": "...gax.CallOption",
632 "name": "opts"
633 }
634 ],
635 "resultType": "*iampb.Policy",
636 "client": {
637 "shortName": "ServiceManagerClient",
638 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient"
639 },
640 "method": {
641 "shortName": "SetIamPolicy",
642 "fullName": "google.iam.v1.IAMPolicy.SetIamPolicy",
643 "service": {
644 "shortName": "IAMPolicy",
645 "fullName": "google.iam.v1.IAMPolicy"
646 }
647 }
648 },
649 "origin": "API_DEFINITION",
650 "segments": [
651 {
652 "start": 18,
653 "end": 53,
654 "type": "FULL"
655 }
656 ]
657 },
658 {
659 "regionTag": "servicemanagement_v1_generated_ServiceManager_SubmitConfigSource_sync",
660 "title": "servicemanagement SubmitConfigSource Sample",
661 "description": "SubmitConfigSource creates a new service configuration (version) for a managed service based\non\nuser-supplied configuration source files (for example: OpenAPI\nSpecification). This method stores the source configurations as well as the\ngenerated service configuration. To rollout the service configuration to\nother services,\nplease call\n[CreateServiceRollout][google.api.servicemanagement.v1.ServiceManager.CreateServiceRollout].\n\nOnly the 100 most recent configuration sources and ones referenced by\nexisting service configurtions are kept for each service. The rest will be\ndeleted eventually.\n\nOperation<response: SubmitConfigSourceResponse>",
662 "file": "ServiceManagerClient/SubmitConfigSource/main.go",
663 "language": "GO",
664 "clientMethod": {
665 "shortName": "SubmitConfigSource",
666 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.SubmitConfigSource",
667 "parameters": [
668 {
669 "type": "context.Context",
670 "name": "ctx"
671 },
672 {
673 "type": "servicemanagementpb.SubmitConfigSourceRequest",
674 "name": "req"
675 },
676 {
677 "type": "...gax.CallOption",
678 "name": "opts"
679 }
680 ],
681 "resultType": "SubmitConfigSourceOperation",
682 "client": {
683 "shortName": "ServiceManagerClient",
684 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient"
685 },
686 "method": {
687 "shortName": "SubmitConfigSource",
688 "fullName": "google.api.servicemanagement.v1.ServiceManager.SubmitConfigSource",
689 "service": {
690 "shortName": "ServiceManager",
691 "fullName": "google.api.servicemanagement.v1.ServiceManager"
692 }
693 }
694 },
695 "origin": "API_DEFINITION",
696 "segments": [
697 {
698 "start": 18,
699 "end": 58,
700 "type": "FULL"
701 }
702 ]
703 },
704 {
705 "regionTag": "servicemanagement_v1_generated_ServiceManager_TestIamPermissions_sync",
706 "title": "servicemanagement TestIamPermissions Sample",
707 "description": "TestIamPermissions returns permissions that a caller has on the specified resource. If the\nresource does not exist, this will return an empty set of\npermissions, not a `NOT_FOUND` error.\n\nNote: This operation is designed to be used for building\npermission-aware UIs and command-line tools, not for authorization\nchecking. This operation may \"fail open\" without warning.",
708 "file": "ServiceManagerClient/TestIamPermissions/main.go",
709 "language": "GO",
710 "clientMethod": {
711 "shortName": "TestIamPermissions",
712 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.TestIamPermissions",
713 "parameters": [
714 {
715 "type": "context.Context",
716 "name": "ctx"
717 },
718 {
719 "type": "iampb.TestIamPermissionsRequest",
720 "name": "req"
721 },
722 {
723 "type": "...gax.CallOption",
724 "name": "opts"
725 }
726 ],
727 "resultType": "*iampb.TestIamPermissionsResponse",
728 "client": {
729 "shortName": "ServiceManagerClient",
730 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient"
731 },
732 "method": {
733 "shortName": "TestIamPermissions",
734 "fullName": "google.iam.v1.IAMPolicy.TestIamPermissions",
735 "service": {
736 "shortName": "IAMPolicy",
737 "fullName": "google.iam.v1.IAMPolicy"
738 }
739 }
740 },
741 "origin": "API_DEFINITION",
742 "segments": [
743 {
744 "start": 18,
745 "end": 53,
746 "type": "FULL"
747 }
748 ]
749 },
750 {
751 "regionTag": "servicemanagement_v1_generated_ServiceManager_UndeleteService_sync",
752 "title": "servicemanagement UndeleteService Sample",
753 "description": "UndeleteService revives a previously deleted managed service. The method restores the\nservice using the configuration at the time the service was deleted.\nThe target service must exist and must have been deleted within the\nlast 30 days.\n\nOperation<response: UndeleteServiceResponse>",
754 "file": "ServiceManagerClient/UndeleteService/main.go",
755 "language": "GO",
756 "clientMethod": {
757 "shortName": "UndeleteService",
758 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient.UndeleteService",
759 "parameters": [
760 {
761 "type": "context.Context",
762 "name": "ctx"
763 },
764 {
765 "type": "servicemanagementpb.UndeleteServiceRequest",
766 "name": "req"
767 },
768 {
769 "type": "...gax.CallOption",
770 "name": "opts"
771 }
772 ],
773 "resultType": "UndeleteServiceOperation",
774 "client": {
775 "shortName": "ServiceManagerClient",
776 "fullName": "google.api.servicemanagement.v1.ServiceManagerClient"
777 },
778 "method": {
779 "shortName": "UndeleteService",
780 "fullName": "google.api.servicemanagement.v1.ServiceManager.UndeleteService",
781 "service": {
782 "shortName": "ServiceManager",
783 "fullName": "google.api.servicemanagement.v1.ServiceManager"
784 }
785 }
786 },
787 "origin": "API_DEFINITION",
788 "segments": [
789 {
790 "start": 18,
791 "end": 58,
792 "type": "FULL"
793 }
794 ]
795 }
796 ]
797 }