| 1 |
{ |
| 2 |
"clientLibrary": { |
| 3 |
"name": "cloud.google.com/go/videointelligence/apiv1", |
| 4 |
"version": "1.12.6", |
| 5 |
"language": "GO", |
| 6 |
"apis": [ |
| 7 |
{ |
| 8 |
"id": "google.cloud.videointelligence.v1", |
| 9 |
"version": "v1" |
| 10 |
} |
| 11 |
] |
| 12 |
}, |
| 13 |
"snippets": [ |
| 14 |
{ |
| 15 |
"regionTag": "videointelligence_v1_generated_VideoIntelligenceService_AnnotateVideo_sync", |
| 16 |
"title": "videointelligence AnnotateVideo Sample", |
| 17 |
"description": "AnnotateVideo performs asynchronous video annotation. Progress and results can be\nretrieved through the `google.longrunning.Operations` interface.\n`Operation.metadata` contains `AnnotateVideoProgress` (progress).\n`Operation.response` contains `AnnotateVideoResponse` (results).", |
| 18 |
"file": "Client/AnnotateVideo/main.go", |
| 19 |
"language": "GO", |
| 20 |
"clientMethod": { |
| 21 |
"shortName": "AnnotateVideo", |
| 22 |
"fullName": "google.cloud.videointelligence.v1.Client.AnnotateVideo", |
| 23 |
"parameters": [ |
| 24 |
{ |
| 25 |
"type": "context.Context", |
| 26 |
"name": "ctx" |
| 27 |
}, |
| 28 |
{ |
| 29 |
"type": "videointelligencepb.AnnotateVideoRequest", |
| 30 |
"name": "req" |
| 31 |
}, |
| 32 |
{ |
| 33 |
"type": "...gax.CallOption", |
| 34 |
"name": "opts" |
| 35 |
} |
| 36 |
], |
| 37 |
"resultType": "AnnotateVideoOperation", |
| 38 |
"client": { |
| 39 |
"shortName": "Client", |
| 40 |
"fullName": "google.cloud.videointelligence.v1.Client" |
| 41 |
}, |
| 42 |
"method": { |
| 43 |
"shortName": "AnnotateVideo", |
| 44 |
"fullName": "google.cloud.videointelligence.v1.VideoIntelligenceService.AnnotateVideo", |
| 45 |
"service": { |
| 46 |
"shortName": "VideoIntelligenceService", |
| 47 |
"fullName": "google.cloud.videointelligence.v1.VideoIntelligenceService" |
| 48 |
} |
| 49 |
} |
| 50 |
}, |
| 51 |
"origin": "API_DEFINITION", |
| 52 |
"segments": [ |
| 53 |
{ |
| 54 |
"start": 18, |
| 55 |
"end": 58, |
| 56 |
"type": "FULL" |
| 57 |
} |
| 58 |
] |
| 59 |
} |
| 60 |
] |
| 61 |
} |