Skip to content

Commit 6d524e8

Browse files
build(node): update client library version in samples metadata (#1356) (#703)
* build(node): add feat in node post-processor to add client library version number in snippet metadata Co-authored-by: Benjamin E. Coe <[email protected]> Source-Link: googleapis/synthtool@d337b88 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest@sha256:d106724ad2a96daa1b8d88de101ba50bdb30b8df62ffa0aa2b451d93b4556641
1 parent b6bd178 commit 6d524e8

5 files changed

+402
-402
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,75 @@
11
{
2-
"clientLibrary": {
3-
"name": "nodejs-videointelligence",
4-
"version": "0.1.0",
5-
"language": "TYPESCRIPT",
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_async",
16-
"title": "videointelligence annotateVideo Sample",
17-
"origin": "API_DEFINITION",
18-
"description": " Performs asynchronous video annotation. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `AnnotateVideoProgress` (progress). `Operation.response` contains `AnnotateVideoResponse` (results).",
19-
"canonical": true,
20-
"file": "video_intelligence_service.annotate_video.js",
21-
"language": "JAVASCRIPT",
22-
"segments": [
2+
"clientLibrary": {
3+
"name": "nodejs-videointelligence",
4+
"version": "3.4.1",
5+
"language": "TYPESCRIPT",
6+
"apis": [
7+
{
8+
"id": "google.cloud.videointelligence.v1",
9+
"version": "v1"
10+
}
11+
]
12+
},
13+
"snippets": [
2314
{
24-
"start": 25,
25-
"end": 92,
26-
"type": "FULL"
27-
}
28-
],
29-
"clientMethod": {
30-
"shortName": "AnnotateVideo",
31-
"fullName": "google.cloud.videointelligence.v1.VideoIntelligenceService.AnnotateVideo",
32-
"async": true,
33-
"parameters": [
34-
{
35-
"name": "input_uri",
36-
"type": "TYPE_STRING"
37-
},
38-
{
39-
"name": "input_content",
40-
"type": "TYPE_BYTES"
41-
},
42-
{
43-
"name": "features",
44-
"type": "TYPE_ENUM[]"
45-
},
46-
{
47-
"name": "video_context",
48-
"type": ".google.cloud.videointelligence.v1.VideoContext"
49-
},
50-
{
51-
"name": "output_uri",
52-
"type": "TYPE_STRING"
53-
},
54-
{
55-
"name": "location_id",
56-
"type": "TYPE_STRING"
57-
}
58-
],
59-
"resultType": ".google.longrunning.Operation",
60-
"client": {
61-
"shortName": "VideoIntelligenceServiceClient",
62-
"fullName": "google.cloud.videointelligence.v1.VideoIntelligenceServiceClient"
63-
},
64-
"method": {
65-
"shortName": "AnnotateVideo",
66-
"fullName": "google.cloud.videointelligence.v1.VideoIntelligenceService.AnnotateVideo",
67-
"service": {
68-
"shortName": "VideoIntelligenceService",
69-
"fullName": "google.cloud.videointelligence.v1.VideoIntelligenceService"
70-
}
15+
"regionTag": "videointelligence_v1_generated_VideoIntelligenceService_AnnotateVideo_async",
16+
"title": "videointelligence annotateVideo Sample",
17+
"origin": "API_DEFINITION",
18+
"description": " Performs asynchronous video annotation. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `AnnotateVideoProgress` (progress). `Operation.response` contains `AnnotateVideoResponse` (results).",
19+
"canonical": true,
20+
"file": "video_intelligence_service.annotate_video.js",
21+
"language": "JAVASCRIPT",
22+
"segments": [
23+
{
24+
"start": 25,
25+
"end": 92,
26+
"type": "FULL"
27+
}
28+
],
29+
"clientMethod": {
30+
"shortName": "AnnotateVideo",
31+
"fullName": "google.cloud.videointelligence.v1.VideoIntelligenceService.AnnotateVideo",
32+
"async": true,
33+
"parameters": [
34+
{
35+
"name": "input_uri",
36+
"type": "TYPE_STRING"
37+
},
38+
{
39+
"name": "input_content",
40+
"type": "TYPE_BYTES"
41+
},
42+
{
43+
"name": "features",
44+
"type": "TYPE_ENUM[]"
45+
},
46+
{
47+
"name": "video_context",
48+
"type": ".google.cloud.videointelligence.v1.VideoContext"
49+
},
50+
{
51+
"name": "output_uri",
52+
"type": "TYPE_STRING"
53+
},
54+
{
55+
"name": "location_id",
56+
"type": "TYPE_STRING"
57+
}
58+
],
59+
"resultType": ".google.longrunning.Operation",
60+
"client": {
61+
"shortName": "VideoIntelligenceServiceClient",
62+
"fullName": "google.cloud.videointelligence.v1.VideoIntelligenceServiceClient"
63+
},
64+
"method": {
65+
"shortName": "AnnotateVideo",
66+
"fullName": "google.cloud.videointelligence.v1.VideoIntelligenceService.AnnotateVideo",
67+
"service": {
68+
"shortName": "VideoIntelligenceService",
69+
"fullName": "google.cloud.videointelligence.v1.VideoIntelligenceService"
70+
}
71+
}
72+
}
7173
}
72-
}
73-
}
74-
]
75-
}
74+
]
75+
}
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,75 @@
11
{
2-
"clientLibrary": {
3-
"name": "nodejs-videointelligence",
4-
"version": "0.1.0",
5-
"language": "TYPESCRIPT",
6-
"apis": [
7-
{
8-
"id": "google.cloud.videointelligence.v1beta2",
9-
"version": "v1beta2"
10-
}
11-
]
12-
},
13-
"snippets": [
14-
{
15-
"regionTag": "videointelligence_v1beta2_generated_VideoIntelligenceService_AnnotateVideo_async",
16-
"title": "videointelligence annotateVideo Sample",
17-
"origin": "API_DEFINITION",
18-
"description": " Performs asynchronous video annotation. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `AnnotateVideoProgress` (progress). `Operation.response` contains `AnnotateVideoResponse` (results).",
19-
"canonical": true,
20-
"file": "video_intelligence_service.annotate_video.js",
21-
"language": "JAVASCRIPT",
22-
"segments": [
2+
"clientLibrary": {
3+
"name": "nodejs-videointelligence",
4+
"version": "3.4.1",
5+
"language": "TYPESCRIPT",
6+
"apis": [
7+
{
8+
"id": "google.cloud.videointelligence.v1beta2",
9+
"version": "v1beta2"
10+
}
11+
]
12+
},
13+
"snippets": [
2314
{
24-
"start": 25,
25-
"end": 91,
26-
"type": "FULL"
27-
}
28-
],
29-
"clientMethod": {
30-
"shortName": "AnnotateVideo",
31-
"fullName": "google.cloud.videointelligence.v1beta2.VideoIntelligenceService.AnnotateVideo",
32-
"async": true,
33-
"parameters": [
34-
{
35-
"name": "input_uri",
36-
"type": "TYPE_STRING"
37-
},
38-
{
39-
"name": "input_content",
40-
"type": "TYPE_BYTES"
41-
},
42-
{
43-
"name": "features",
44-
"type": "TYPE_ENUM[]"
45-
},
46-
{
47-
"name": "video_context",
48-
"type": ".google.cloud.videointelligence.v1beta2.VideoContext"
49-
},
50-
{
51-
"name": "output_uri",
52-
"type": "TYPE_STRING"
53-
},
54-
{
55-
"name": "location_id",
56-
"type": "TYPE_STRING"
57-
}
58-
],
59-
"resultType": ".google.longrunning.Operation",
60-
"client": {
61-
"shortName": "VideoIntelligenceServiceClient",
62-
"fullName": "google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceClient"
63-
},
64-
"method": {
65-
"shortName": "AnnotateVideo",
66-
"fullName": "google.cloud.videointelligence.v1beta2.VideoIntelligenceService.AnnotateVideo",
67-
"service": {
68-
"shortName": "VideoIntelligenceService",
69-
"fullName": "google.cloud.videointelligence.v1beta2.VideoIntelligenceService"
70-
}
15+
"regionTag": "videointelligence_v1beta2_generated_VideoIntelligenceService_AnnotateVideo_async",
16+
"title": "videointelligence annotateVideo Sample",
17+
"origin": "API_DEFINITION",
18+
"description": " Performs asynchronous video annotation. Progress and results can be retrieved through the `google.longrunning.Operations` interface. `Operation.metadata` contains `AnnotateVideoProgress` (progress). `Operation.response` contains `AnnotateVideoResponse` (results).",
19+
"canonical": true,
20+
"file": "video_intelligence_service.annotate_video.js",
21+
"language": "JAVASCRIPT",
22+
"segments": [
23+
{
24+
"start": 25,
25+
"end": 91,
26+
"type": "FULL"
27+
}
28+
],
29+
"clientMethod": {
30+
"shortName": "AnnotateVideo",
31+
"fullName": "google.cloud.videointelligence.v1beta2.VideoIntelligenceService.AnnotateVideo",
32+
"async": true,
33+
"parameters": [
34+
{
35+
"name": "input_uri",
36+
"type": "TYPE_STRING"
37+
},
38+
{
39+
"name": "input_content",
40+
"type": "TYPE_BYTES"
41+
},
42+
{
43+
"name": "features",
44+
"type": "TYPE_ENUM[]"
45+
},
46+
{
47+
"name": "video_context",
48+
"type": ".google.cloud.videointelligence.v1beta2.VideoContext"
49+
},
50+
{
51+
"name": "output_uri",
52+
"type": "TYPE_STRING"
53+
},
54+
{
55+
"name": "location_id",
56+
"type": "TYPE_STRING"
57+
}
58+
],
59+
"resultType": ".google.longrunning.Operation",
60+
"client": {
61+
"shortName": "VideoIntelligenceServiceClient",
62+
"fullName": "google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceClient"
63+
},
64+
"method": {
65+
"shortName": "AnnotateVideo",
66+
"fullName": "google.cloud.videointelligence.v1beta2.VideoIntelligenceService.AnnotateVideo",
67+
"service": {
68+
"shortName": "VideoIntelligenceService",
69+
"fullName": "google.cloud.videointelligence.v1beta2.VideoIntelligenceService"
70+
}
71+
}
72+
}
7173
}
72-
}
73-
}
74-
]
75-
}
74+
]
75+
}

0 commit comments

Comments
 (0)