-
Notifications
You must be signed in to change notification settings - Fork 591
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <bencoe@google.com> Source-Link: googleapis/synthtool@d337b88 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest@sha256:d106724ad2a96daa1b8d88de101ba50bdb30b8df62ffa0aa2b451d93b4556641
- Loading branch information
1 parent
9fba13c
commit cdf338b
Showing
5 changed files
with
402 additions
and
402 deletions.
There are no files selected for viewing
144 changes: 72 additions & 72 deletions
144
...intelligence/samples/generated/v1/snippet_metadata.google.cloud.videointelligence.v1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
144 changes: 72 additions & 72 deletions
144
...ce/samples/generated/v1beta2/snippet_metadata.google.cloud.videointelligence.v1beta2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.