Debian Codegraph @

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

raw symbols SCIP
1 {
2 "clientLibrary": {
3 "name": "cloud.google.com/go/policytroubleshooter/apiv1",
4 "version": "1.11.6",
5 "language": "GO",
6 "apis": [
7 {
8 "id": "google.cloud.policytroubleshooter.v1",
9 "version": "v1"
10 }
11 ]
12 },
13 "snippets": [
14 {
15 "regionTag": "policytroubleshooter_v1_generated_IamChecker_TroubleshootIamPolicy_sync",
16 "title": "policytroubleshooter TroubleshootIamPolicy Sample",
17 "description": "TroubleshootIamPolicy checks whether a principal has a specific permission for a specific\nresource, and explains why the principal does or does not have that\npermission.",
18 "file": "IamCheckerClient/TroubleshootIamPolicy/main.go",
19 "language": "GO",
20 "clientMethod": {
21 "shortName": "TroubleshootIamPolicy",
22 "fullName": "google.cloud.policytroubleshooter.v1.IamCheckerClient.TroubleshootIamPolicy",
23 "parameters": [
24 {
25 "type": "context.Context",
26 "name": "ctx"
27 },
28 {
29 "type": "policytroubleshooterpb.TroubleshootIamPolicyRequest",
30 "name": "req"
31 },
32 {
33 "type": "...gax.CallOption",
34 "name": "opts"
35 }
36 ],
37 "resultType": "*policytroubleshooterpb.TroubleshootIamPolicyResponse",
38 "client": {
39 "shortName": "IamCheckerClient",
40 "fullName": "google.cloud.policytroubleshooter.v1.IamCheckerClient"
41 },
42 "method": {
43 "shortName": "TroubleshootIamPolicy",
44 "fullName": "google.cloud.policytroubleshooter.v1.IamChecker.TroubleshootIamPolicy",
45 "service": {
46 "shortName": "IamChecker",
47 "fullName": "google.cloud.policytroubleshooter.v1.IamChecker"
48 }
49 }
50 },
51 "origin": "API_DEFINITION",
52 "segments": [
53 {
54 "start": 18,
55 "end": 53,
56 "type": "FULL"
57 }
58 ]
59 }
60 ]
61 }