Skip to content

Commit

Permalink
build(node): update client library version in samples metadata (#1356) (
Browse files Browse the repository at this point in the history
#703)

* build(node): add feat in node post-processor to add client library version number in snippet metadata

Co-authored-by: Benjamin E. Coe <bencoe@google.com>
Source-Link: googleapis/synthtool@d337b88
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest@sha256:d106724ad2a96daa1b8d88de101ba50bdb30b8df62ffa0aa2b451d93b4556641
  • Loading branch information
gcf-owl-bot[bot] and bcoe authored Apr 21, 2022
1 parent 9fba13c commit cdf338b
Show file tree
Hide file tree
Showing 5 changed files with 402 additions and 402 deletions.
Original file line number Diff line number Diff line change
@@ -1,75 +1,75 @@
{
"clientLibrary": {
"name": "nodejs-videointelligence",
"version": "0.1.0",
"language": "TYPESCRIPT",
"apis": [
{
"id": "google.cloud.videointelligence.v1",
"version": "v1"
}
]
},
"snippets": [
{
"regionTag": "videointelligence_v1_generated_VideoIntelligenceService_AnnotateVideo_async",
"title": "videointelligence annotateVideo Sample",
"origin": "API_DEFINITION",
"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).",
"canonical": true,
"file": "video_intelligence_service.annotate_video.js",
"language": "JAVASCRIPT",
"segments": [
"clientLibrary": {
"name": "nodejs-videointelligence",
"version": "3.4.1",
"language": "TYPESCRIPT",
"apis": [
{
"id": "google.cloud.videointelligence.v1",
"version": "v1"
}
]
},
"snippets": [
{
"start": 25,
"end": 92,
"type": "FULL"
}
],
"clientMethod": {
"shortName": "AnnotateVideo",
"fullName": "google.cloud.videointelligence.v1.VideoIntelligenceService.AnnotateVideo",
"async": true,
"parameters": [
{
"name": "input_uri",
"type": "TYPE_STRING"
},
{
"name": "input_content",
"type": "TYPE_BYTES"
},
{
"name": "features",
"type": "TYPE_ENUM[]"
},
{
"name": "video_context",
"type": ".google.cloud.videointelligence.v1.VideoContext"
},
{
"name": "output_uri",
"type": "TYPE_STRING"
},
{
"name": "location_id",
"type": "TYPE_STRING"
}
],
"resultType": ".google.longrunning.Operation",
"client": {
"shortName": "VideoIntelligenceServiceClient",
"fullName": "google.cloud.videointelligence.v1.VideoIntelligenceServiceClient"
},
"method": {
"shortName": "AnnotateVideo",
"fullName": "google.cloud.videointelligence.v1.VideoIntelligenceService.AnnotateVideo",
"service": {
"shortName": "VideoIntelligenceService",
"fullName": "google.cloud.videointelligence.v1.VideoIntelligenceService"
}
"regionTag": "videointelligence_v1_generated_VideoIntelligenceService_AnnotateVideo_async",
"title": "videointelligence annotateVideo Sample",
"origin": "API_DEFINITION",
"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).",
"canonical": true,
"file": "video_intelligence_service.annotate_video.js",
"language": "JAVASCRIPT",
"segments": [
{
"start": 25,
"end": 92,
"type": "FULL"
}
],
"clientMethod": {
"shortName": "AnnotateVideo",
"fullName": "google.cloud.videointelligence.v1.VideoIntelligenceService.AnnotateVideo",
"async": true,
"parameters": [
{
"name": "input_uri",
"type": "TYPE_STRING"
},
{
"name": "input_content",
"type": "TYPE_BYTES"
},
{
"name": "features",
"type": "TYPE_ENUM[]"
},
{
"name": "video_context",
"type": ".google.cloud.videointelligence.v1.VideoContext"
},
{
"name": "output_uri",
"type": "TYPE_STRING"
},
{
"name": "location_id",
"type": "TYPE_STRING"
}
],
"resultType": ".google.longrunning.Operation",
"client": {
"shortName": "VideoIntelligenceServiceClient",
"fullName": "google.cloud.videointelligence.v1.VideoIntelligenceServiceClient"
},
"method": {
"shortName": "AnnotateVideo",
"fullName": "google.cloud.videointelligence.v1.VideoIntelligenceService.AnnotateVideo",
"service": {
"shortName": "VideoIntelligenceService",
"fullName": "google.cloud.videointelligence.v1.VideoIntelligenceService"
}
}
}
}
}
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -1,75 +1,75 @@
{
"clientLibrary": {
"name": "nodejs-videointelligence",
"version": "0.1.0",
"language": "TYPESCRIPT",
"apis": [
{
"id": "google.cloud.videointelligence.v1beta2",
"version": "v1beta2"
}
]
},
"snippets": [
{
"regionTag": "videointelligence_v1beta2_generated_VideoIntelligenceService_AnnotateVideo_async",
"title": "videointelligence annotateVideo Sample",
"origin": "API_DEFINITION",
"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).",
"canonical": true,
"file": "video_intelligence_service.annotate_video.js",
"language": "JAVASCRIPT",
"segments": [
"clientLibrary": {
"name": "nodejs-videointelligence",
"version": "3.4.1",
"language": "TYPESCRIPT",
"apis": [
{
"id": "google.cloud.videointelligence.v1beta2",
"version": "v1beta2"
}
]
},
"snippets": [
{
"start": 25,
"end": 91,
"type": "FULL"
}
],
"clientMethod": {
"shortName": "AnnotateVideo",
"fullName": "google.cloud.videointelligence.v1beta2.VideoIntelligenceService.AnnotateVideo",
"async": true,
"parameters": [
{
"name": "input_uri",
"type": "TYPE_STRING"
},
{
"name": "input_content",
"type": "TYPE_BYTES"
},
{
"name": "features",
"type": "TYPE_ENUM[]"
},
{
"name": "video_context",
"type": ".google.cloud.videointelligence.v1beta2.VideoContext"
},
{
"name": "output_uri",
"type": "TYPE_STRING"
},
{
"name": "location_id",
"type": "TYPE_STRING"
}
],
"resultType": ".google.longrunning.Operation",
"client": {
"shortName": "VideoIntelligenceServiceClient",
"fullName": "google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceClient"
},
"method": {
"shortName": "AnnotateVideo",
"fullName": "google.cloud.videointelligence.v1beta2.VideoIntelligenceService.AnnotateVideo",
"service": {
"shortName": "VideoIntelligenceService",
"fullName": "google.cloud.videointelligence.v1beta2.VideoIntelligenceService"
}
"regionTag": "videointelligence_v1beta2_generated_VideoIntelligenceService_AnnotateVideo_async",
"title": "videointelligence annotateVideo Sample",
"origin": "API_DEFINITION",
"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).",
"canonical": true,
"file": "video_intelligence_service.annotate_video.js",
"language": "JAVASCRIPT",
"segments": [
{
"start": 25,
"end": 91,
"type": "FULL"
}
],
"clientMethod": {
"shortName": "AnnotateVideo",
"fullName": "google.cloud.videointelligence.v1beta2.VideoIntelligenceService.AnnotateVideo",
"async": true,
"parameters": [
{
"name": "input_uri",
"type": "TYPE_STRING"
},
{
"name": "input_content",
"type": "TYPE_BYTES"
},
{
"name": "features",
"type": "TYPE_ENUM[]"
},
{
"name": "video_context",
"type": ".google.cloud.videointelligence.v1beta2.VideoContext"
},
{
"name": "output_uri",
"type": "TYPE_STRING"
},
{
"name": "location_id",
"type": "TYPE_STRING"
}
],
"resultType": ".google.longrunning.Operation",
"client": {
"shortName": "VideoIntelligenceServiceClient",
"fullName": "google.cloud.videointelligence.v1beta2.VideoIntelligenceServiceClient"
},
"method": {
"shortName": "AnnotateVideo",
"fullName": "google.cloud.videointelligence.v1beta2.VideoIntelligenceService.AnnotateVideo",
"service": {
"shortName": "VideoIntelligenceService",
"fullName": "google.cloud.videointelligence.v1beta2.VideoIntelligenceService"
}
}
}
}
}
}
]
}
]
}
Loading

0 comments on commit cdf338b

Please sign in to comment.