Debian Codegraph @

internal/generated/snippets/webrisk/apiv1beta1/snippet_metadata.google.cloud.webrisk.v1beta1.json

raw symbols SCIP
1 {
2 "clientLibrary": {
3 "name": "cloud.google.com/go/webrisk/apiv1beta1",
4 "version": "1.11.1",
5 "language": "GO",
6 "apis": [
7 {
8 "id": "google.cloud.webrisk.v1beta1",
9 "version": "v1beta1"
10 }
11 ]
12 },
13 "snippets": [
14 {
15 "regionTag": "webrisk_v1beta1_generated_WebRiskServiceV1Beta1_ComputeThreatListDiff_sync",
16 "title": "webrisk ComputeThreatListDiff Sample",
17 "description": "ComputeThreatListDiff gets the most recent threat list diffs.",
18 "file": "WebRiskServiceV1Beta1Client/ComputeThreatListDiff/main.go",
19 "language": "GO",
20 "clientMethod": {
21 "shortName": "ComputeThreatListDiff",
22 "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1Client.ComputeThreatListDiff",
23 "parameters": [
24 {
25 "type": "context.Context",
26 "name": "ctx"
27 },
28 {
29 "type": "webriskpb.ComputeThreatListDiffRequest",
30 "name": "req"
31 },
32 {
33 "type": "...gax.CallOption",
34 "name": "opts"
35 }
36 ],
37 "resultType": "*webriskpb.ComputeThreatListDiffResponse",
38 "client": {
39 "shortName": "WebRiskServiceV1Beta1Client",
40 "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1Client"
41 },
42 "method": {
43 "shortName": "ComputeThreatListDiff",
44 "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1.ComputeThreatListDiff",
45 "service": {
46 "shortName": "WebRiskServiceV1Beta1",
47 "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1"
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": "webrisk_v1beta1_generated_WebRiskServiceV1Beta1_SearchHashes_sync",
62 "title": "webrisk SearchHashes Sample",
63 "description": "SearchHashes gets the full hashes that match the requested hash prefix.\nThis is used after a hash prefix is looked up in a threatList\nand there is a match. The client side threatList only holds partial hashes\nso the client must query this method to determine if there is a full\nhash match of a threat.",
64 "file": "WebRiskServiceV1Beta1Client/SearchHashes/main.go",
65 "language": "GO",
66 "clientMethod": {
67 "shortName": "SearchHashes",
68 "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1Client.SearchHashes",
69 "parameters": [
70 {
71 "type": "context.Context",
72 "name": "ctx"
73 },
74 {
75 "type": "webriskpb.SearchHashesRequest",
76 "name": "req"
77 },
78 {
79 "type": "...gax.CallOption",
80 "name": "opts"
81 }
82 ],
83 "resultType": "*webriskpb.SearchHashesResponse",
84 "client": {
85 "shortName": "WebRiskServiceV1Beta1Client",
86 "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1Client"
87 },
88 "method": {
89 "shortName": "SearchHashes",
90 "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1.SearchHashes",
91 "service": {
92 "shortName": "WebRiskServiceV1Beta1",
93 "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1"
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": "webrisk_v1beta1_generated_WebRiskServiceV1Beta1_SearchUris_sync",
108 "title": "webrisk SearchUris Sample",
109 "description": "SearchUris this method is used to check whether a URI is on a given threatList.",
110 "file": "WebRiskServiceV1Beta1Client/SearchUris/main.go",
111 "language": "GO",
112 "clientMethod": {
113 "shortName": "SearchUris",
114 "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1Client.SearchUris",
115 "parameters": [
116 {
117 "type": "context.Context",
118 "name": "ctx"
119 },
120 {
121 "type": "webriskpb.SearchUrisRequest",
122 "name": "req"
123 },
124 {
125 "type": "...gax.CallOption",
126 "name": "opts"
127 }
128 ],
129 "resultType": "*webriskpb.SearchUrisResponse",
130 "client": {
131 "shortName": "WebRiskServiceV1Beta1Client",
132 "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1Client"
133 },
134 "method": {
135 "shortName": "SearchUris",
136 "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1.SearchUris",
137 "service": {
138 "shortName": "WebRiskServiceV1Beta1",
139 "fullName": "google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1"
140 }
141 }
142 },
143 "origin": "API_DEFINITION",
144 "segments": [
145 {
146 "start": 18,
147 "end": 53,
148 "type": "FULL"
149 }
150 ]
151 }
152 ]
153 }