{ "clientLibrary": { "name": "cloud.google.com/go/videointelligence/apiv1p3beta1", "version": "1.12.6", "language": "GO", "apis": [ { "id": "google.cloud.videointelligence.v1p3beta1", "version": "v1p3beta1" } ] }, "snippets": [ { "regionTag": "videointelligence_v1p3beta1_generated_StreamingVideoIntelligenceService_StreamingAnnotateVideo_sync", "title": "videointelligence StreamingAnnotateVideo Sample", "description": "StreamingAnnotateVideo performs video annotation with bidirectional streaming: emitting results\nwhile sending video/audio bytes.\nThis method is only available via the gRPC API (not REST).", "file": "StreamingVideoIntelligenceClient/StreamingAnnotateVideo/main.go", "language": "GO", "clientMethod": { "shortName": "StreamingAnnotateVideo", "fullName": "google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceClient.StreamingAnnotateVideo", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "videointelligencepb.StreamingVideoIntelligenceService_StreamingAnnotateVideoClient", "client": { "shortName": "StreamingVideoIntelligenceClient", "fullName": "google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceClient" }, "method": { "shortName": "StreamingAnnotateVideo", "fullName": "google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceService.StreamingAnnotateVideo", "service": { "shortName": "StreamingVideoIntelligenceService", "fullName": "google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 69, "type": "FULL" } ] }, { "regionTag": "videointelligence_v1p3beta1_generated_VideoIntelligenceService_AnnotateVideo_sync", "title": "videointelligence AnnotateVideo Sample", "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).", "file": "Client/AnnotateVideo/main.go", "language": "GO", "clientMethod": { "shortName": "AnnotateVideo", "fullName": "google.cloud.videointelligence.v1p3beta1.Client.AnnotateVideo", "parameters": [ { "type": "context.Context", "name": "ctx" }, { "type": "videointelligencepb.AnnotateVideoRequest", "name": "req" }, { "type": "...gax.CallOption", "name": "opts" } ], "resultType": "AnnotateVideoOperation", "client": { "shortName": "Client", "fullName": "google.cloud.videointelligence.v1p3beta1.Client" }, "method": { "shortName": "AnnotateVideo", "fullName": "google.cloud.videointelligence.v1p3beta1.VideoIntelligenceService.AnnotateVideo", "service": { "shortName": "VideoIntelligenceService", "fullName": "google.cloud.videointelligence.v1p3beta1.VideoIntelligenceService" } } }, "origin": "API_DEFINITION", "segments": [ { "start": 18, "end": 58, "type": "FULL" } ] } ] }