Debian Codegraph @

internal/generated/snippets/lifesciences/apiv2beta/snippet_metadata.google.cloud.lifesciences.v2beta.json

raw
1 {
2 "clientLibrary": {
3 "name": "cloud.google.com/go/lifesciences/apiv2beta",
4 "version": "0.10.6",
5 "language": "GO",
6 "apis": [
7 {
8 "id": "google.cloud.lifesciences.v2beta",
9 "version": "v2beta"
10 }
11 ]
12 },
13 "snippets": [
14 {
15 "regionTag": "lifesciences_v2beta_generated_WorkflowsServiceV2Beta_CancelOperation_sync",
16 "title": "lifesciences CancelOperation Sample",
17 "description": "CancelOperation starts asynchronous cancellation on a long-running operation. The\nserver makes a best effort to cancel the operation, but success is\nnot guaranteed. Clients may use\n[Operations.GetOperation][google.longrunning.Operations.GetOperation] or\n[Operations.ListOperations][google.longrunning.Operations.ListOperations] to\ncheck whether the cancellation succeeded or the operation completed\ndespite cancellation.\nAuthorization requires the following [Google\nIAM](https: //cloud.google.com/iam) permission:\n\n* `lifesciences.operations.cancel`",
18 "file": "WorkflowsServiceV2BetaClient/CancelOperation/main.go",
19 "language": "GO",
20 "clientMethod": {
21 "shortName": "CancelOperation",
22 "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient.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": "WorkflowsServiceV2BetaClient",
39 "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient"
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": "lifesciences_v2beta_generated_WorkflowsServiceV2Beta_GetLocation_sync",
61 "title": "lifesciences GetLocation Sample",
62 "description": "GetLocation gets information about a location.",
63 "file": "WorkflowsServiceV2BetaClient/GetLocation/main.go",
64 "language": "GO",
65 "clientMethod": {
66 "shortName": "GetLocation",
67 "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient.GetLocation",
68 "parameters": [
69 {
70 "type": "context.Context",
71 "name": "ctx"
72 },
73 {
74 "type": "locationpb.GetLocationRequest",
75 "name": "req"
76 },
77 {
78 "type": "...gax.CallOption",
79 "name": "opts"
80 }
81 ],
82 "resultType": "*locationpb.Location",
83 "client": {
84 "shortName": "WorkflowsServiceV2BetaClient",
85 "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient"
86 },
87 "method": {
88 "shortName": "GetLocation",
89 "fullName": "google.cloud.location.Locations.GetLocation",
90 "service": {
91 "shortName": "Locations",
92 "fullName": "google.cloud.location.Locations"
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": "lifesciences_v2beta_generated_WorkflowsServiceV2Beta_GetOperation_sync",
107 "title": "lifesciences GetOperation Sample",
108 "description": "GetOperation gets the latest state of a long-running operation. Clients can use this\nmethod to poll the operation result at intervals as recommended by the\nAPI service.\nAuthorization requires the following [Google\nIAM](https: //cloud.google.com/iam) permission:\n\n* `lifesciences.operations.get`",
109 "file": "WorkflowsServiceV2BetaClient/GetOperation/main.go",
110 "language": "GO",
111 "clientMethod": {
112 "shortName": "GetOperation",
113 "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient.GetOperation",
114 "parameters": [
115 {
116 "type": "context.Context",
117 "name": "ctx"
118 },
119 {
120 "type": "longrunningpb.GetOperationRequest",
121 "name": "req"
122 },
123 {
124 "type": "...gax.CallOption",
125 "name": "opts"
126 }
127 ],
128 "resultType": "*longrunningpb.Operation",
129 "client": {
130 "shortName": "WorkflowsServiceV2BetaClient",
131 "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient"
132 },
133 "method": {
134 "shortName": "GetOperation",
135 "fullName": "google.longrunning.Operations.GetOperation",
136 "service": {
137 "shortName": "Operations",
138 "fullName": "google.longrunning.Operations"
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": "lifesciences_v2beta_generated_WorkflowsServiceV2Beta_ListLocations_sync",
153 "title": "lifesciences ListLocations Sample",
154 "description": "ListLocations lists information about the supported locations for this service.",
155 "file": "WorkflowsServiceV2BetaClient/ListLocations/main.go",
156 "language": "GO",
157 "clientMethod": {
158 "shortName": "ListLocations",
159 "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient.ListLocations",
160 "parameters": [
161 {
162 "type": "context.Context",
163 "name": "ctx"
164 },
165 {
166 "type": "locationpb.ListLocationsRequest",
167 "name": "req"
168 },
169 {
170 "type": "...gax.CallOption",
171 "name": "opts"
172 }
173 ],
174 "resultType": "LocationIterator",
175 "client": {
176 "shortName": "WorkflowsServiceV2BetaClient",
177 "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient"
178 },
179 "method": {
180 "shortName": "ListLocations",
181 "fullName": "google.cloud.location.Locations.ListLocations",
182 "service": {
183 "shortName": "Locations",
184 "fullName": "google.cloud.location.Locations"
185 }
186 }
187 },
188 "origin": "API_DEFINITION",
189 "segments": [
190 {
191 "start": 18,
192 "end": 66,
193 "type": "FULL"
194 }
195 ]
196 },
197 {
198 "regionTag": "lifesciences_v2beta_generated_WorkflowsServiceV2Beta_ListOperations_sync",
199 "title": "lifesciences ListOperations Sample",
200 "description": "ListOperations lists operations that match the specified filter in the\nrequest. Authorization requires the following [Google\nIAM](https: //cloud.google.com/iam) permission:\n\n* `lifesciences.operations.list`",
201 "file": "WorkflowsServiceV2BetaClient/ListOperations/main.go",
202 "language": "GO",
203 "clientMethod": {
204 "shortName": "ListOperations",
205 "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient.ListOperations",
206 "parameters": [
207 {
208 "type": "context.Context",
209 "name": "ctx"
210 },
211 {
212 "type": "longrunningpb.ListOperationsRequest",
213 "name": "req"
214 },
215 {
216 "type": "...gax.CallOption",
217 "name": "opts"
218 }
219 ],
220 "resultType": "OperationIterator",
221 "client": {
222 "shortName": "WorkflowsServiceV2BetaClient",
223 "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient"
224 },
225 "method": {
226 "shortName": "ListOperations",
227 "fullName": "google.longrunning.Operations.ListOperations",
228 "service": {
229 "shortName": "Operations",
230 "fullName": "google.longrunning.Operations"
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": "lifesciences_v2beta_generated_WorkflowsServiceV2Beta_RunPipeline_sync",
245 "title": "lifesciences RunPipeline Sample",
246 "description": "RunPipeline runs a pipeline. The returned Operation's [metadata]\n[google.longrunning.Operation.metadata] field will contain a\n[google.cloud.lifesciences.v2beta.Metadata][google.cloud.lifesciences.v2beta.Metadata]\nobject describing the status of the pipeline execution. The\n[response][google.longrunning.Operation.response] field will contain a\n[google.cloud.lifesciences.v2beta.RunPipelineResponse][google.cloud.lifesciences.v2beta.RunPipelineResponse]\nobject if the pipeline completes successfully.\n\n**Note: ** Before you can use this method, the *Life Sciences Service Agent*\nmust have access to your project. This is done automatically when the\nCloud Life Sciences API is first enabled, but if you delete this permission\nyou must disable and re-enable the API to grant the Life Sciences\nService Agent the required permissions.\nAuthorization requires the following [Google\nIAM](https: //cloud.google.com/iam/) permission: \n\n* `lifesciences.workflows.run`",
247 "file": "WorkflowsServiceV2BetaClient/RunPipeline/main.go",
248 "language": "GO",
249 "clientMethod": {
250 "shortName": "RunPipeline",
251 "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient.RunPipeline",
252 "parameters": [
253 {
254 "type": "context.Context",
255 "name": "ctx"
256 },
257 {
258 "type": "lifesciencespb.RunPipelineRequest",
259 "name": "req"
260 },
261 {
262 "type": "...gax.CallOption",
263 "name": "opts"
264 }
265 ],
266 "resultType": "RunPipelineOperation",
267 "client": {
268 "shortName": "WorkflowsServiceV2BetaClient",
269 "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2BetaClient"
270 },
271 "method": {
272 "shortName": "RunPipeline",
273 "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2Beta.RunPipeline",
274 "service": {
275 "shortName": "WorkflowsServiceV2Beta",
276 "fullName": "google.cloud.lifesciences.v2beta.WorkflowsServiceV2Beta"
277 }
278 }
279 },
280 "origin": "API_DEFINITION",
281 "segments": [
282 {
283 "start": 18,
284 "end": 58,
285 "type": "FULL"
286 }
287 ]
288 }
289 ]
290 }