diff --git a/packages/google-cloud-video-transcoder/samples/generated/v1/snippet_metadata.google.cloud.video.transcoder.v1.json b/packages/google-cloud-video-transcoder/samples/generated/v1/snippet_metadata.google.cloud.video.transcoder.v1.json index 7478ec864c7..d62aeea37ee 100644 --- a/packages/google-cloud-video-transcoder/samples/generated/v1/snippet_metadata.google.cloud.video.transcoder.v1.json +++ b/packages/google-cloud-video-transcoder/samples/generated/v1/snippet_metadata.google.cloud.video.transcoder.v1.json @@ -1,387 +1,387 @@ { - "clientLibrary": { - "name": "nodejs-transcoder", - "version": "0.1.0", - "language": "TYPESCRIPT", - "apis": [ - { - "id": "google.cloud.video.transcoder.v1", - "version": "v1" - } - ] - }, - "snippets": [ - { - "regionTag": "transcoder_v1_generated_TranscoderService_CreateJob_async", - "title": "TranscoderService createJob Sample", - "origin": "API_DEFINITION", - "description": " Creates a job in the specified region.", - "canonical": true, - "file": "transcoder_service.create_job.js", - "language": "JAVASCRIPT", - "segments": [ - { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateJob", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService.CreateJob", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "job", - "type": ".google.cloud.video.transcoder.v1.Job" - } - ], - "resultType": ".google.cloud.video.transcoder.v1.Job", - "client": { - "shortName": "TranscoderServiceClient", - "fullName": "google.cloud.video.transcoder.v1.TranscoderServiceClient" - }, - "method": { - "shortName": "CreateJob", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService.CreateJob", - "service": { - "shortName": "TranscoderService", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService" - } - } - } + "clientLibrary": { + "name": "nodejs-transcoder", + "version": "1.10.0", + "language": "TYPESCRIPT", + "apis": [ + { + "id": "google.cloud.video.transcoder.v1", + "version": "v1" + } + ] }, - { - "regionTag": "transcoder_v1_generated_TranscoderService_ListJobs_async", - "title": "TranscoderService listJobs Sample", - "origin": "API_DEFINITION", - "description": " Lists jobs in the specified region.", - "canonical": true, - "file": "transcoder_service.list_jobs.js", - "language": "JAVASCRIPT", - "segments": [ + "snippets": [ { - "start": 25, - "end": 71, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListJobs", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService.ListJobs", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.video.transcoder.v1.ListJobsResponse", - "client": { - "shortName": "TranscoderServiceClient", - "fullName": "google.cloud.video.transcoder.v1.TranscoderServiceClient" + "regionTag": "transcoder_v1_generated_TranscoderService_CreateJob_async", + "title": "TranscoderService createJob Sample", + "origin": "API_DEFINITION", + "description": " Creates a job in the specified region.", + "canonical": true, + "file": "transcoder_service.create_job.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateJob", + "fullName": "google.cloud.video.transcoder.v1.TranscoderService.CreateJob", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "job", + "type": ".google.cloud.video.transcoder.v1.Job" + } + ], + "resultType": ".google.cloud.video.transcoder.v1.Job", + "client": { + "shortName": "TranscoderServiceClient", + "fullName": "google.cloud.video.transcoder.v1.TranscoderServiceClient" + }, + "method": { + "shortName": "CreateJob", + "fullName": "google.cloud.video.transcoder.v1.TranscoderService.CreateJob", + "service": { + "shortName": "TranscoderService", + "fullName": "google.cloud.video.transcoder.v1.TranscoderService" + } + } + } }, - "method": { - "shortName": "ListJobs", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService.ListJobs", - "service": { - "shortName": "TranscoderService", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService" - } - } - } - }, - { - "regionTag": "transcoder_v1_generated_TranscoderService_GetJob_async", - "title": "TranscoderService getJob Sample", - "origin": "API_DEFINITION", - "description": " Returns the job data.", - "canonical": true, - "file": "transcoder_service.get_job.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 51, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetJob", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService.GetJob", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.video.transcoder.v1.Job", - "client": { - "shortName": "TranscoderServiceClient", - "fullName": "google.cloud.video.transcoder.v1.TranscoderServiceClient" + "regionTag": "transcoder_v1_generated_TranscoderService_ListJobs_async", + "title": "TranscoderService listJobs Sample", + "origin": "API_DEFINITION", + "description": " Lists jobs in the specified region.", + "canonical": true, + "file": "transcoder_service.list_jobs.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 71, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListJobs", + "fullName": "google.cloud.video.transcoder.v1.TranscoderService.ListJobs", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.video.transcoder.v1.ListJobsResponse", + "client": { + "shortName": "TranscoderServiceClient", + "fullName": "google.cloud.video.transcoder.v1.TranscoderServiceClient" + }, + "method": { + "shortName": "ListJobs", + "fullName": "google.cloud.video.transcoder.v1.TranscoderService.ListJobs", + "service": { + "shortName": "TranscoderService", + "fullName": "google.cloud.video.transcoder.v1.TranscoderService" + } + } + } }, - "method": { - "shortName": "GetJob", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService.GetJob", - "service": { - "shortName": "TranscoderService", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService" - } - } - } - }, - { - "regionTag": "transcoder_v1_generated_TranscoderService_DeleteJob_async", - "title": "TranscoderService deleteJob Sample", - "origin": "API_DEFINITION", - "description": " Deletes a job.", - "canonical": true, - "file": "transcoder_service.delete_job.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteJob", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService.DeleteJob", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "allow_missing", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "TranscoderServiceClient", - "fullName": "google.cloud.video.transcoder.v1.TranscoderServiceClient" + "regionTag": "transcoder_v1_generated_TranscoderService_GetJob_async", + "title": "TranscoderService getJob Sample", + "origin": "API_DEFINITION", + "description": " Returns the job data.", + "canonical": true, + "file": "transcoder_service.get_job.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 51, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetJob", + "fullName": "google.cloud.video.transcoder.v1.TranscoderService.GetJob", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.video.transcoder.v1.Job", + "client": { + "shortName": "TranscoderServiceClient", + "fullName": "google.cloud.video.transcoder.v1.TranscoderServiceClient" + }, + "method": { + "shortName": "GetJob", + "fullName": "google.cloud.video.transcoder.v1.TranscoderService.GetJob", + "service": { + "shortName": "TranscoderService", + "fullName": "google.cloud.video.transcoder.v1.TranscoderService" + } + } + } }, - "method": { - "shortName": "DeleteJob", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService.DeleteJob", - "service": { - "shortName": "TranscoderService", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService" - } - } - } - }, - { - "regionTag": "transcoder_v1_generated_TranscoderService_CreateJobTemplate_async", - "title": "TranscoderService createJobTemplate Sample", - "origin": "API_DEFINITION", - "description": " Creates a job template in the specified region.", - "canonical": true, - "file": "transcoder_service.create_job_template.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 64, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "CreateJobTemplate", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService.CreateJobTemplate", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "job_template", - "type": ".google.cloud.video.transcoder.v1.JobTemplate" - }, - { - "name": "job_template_id", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.video.transcoder.v1.JobTemplate", - "client": { - "shortName": "TranscoderServiceClient", - "fullName": "google.cloud.video.transcoder.v1.TranscoderServiceClient" + "regionTag": "transcoder_v1_generated_TranscoderService_DeleteJob_async", + "title": "TranscoderService deleteJob Sample", + "origin": "API_DEFINITION", + "description": " Deletes a job.", + "canonical": true, + "file": "transcoder_service.delete_job.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteJob", + "fullName": "google.cloud.video.transcoder.v1.TranscoderService.DeleteJob", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "allow_missing", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "TranscoderServiceClient", + "fullName": "google.cloud.video.transcoder.v1.TranscoderServiceClient" + }, + "method": { + "shortName": "DeleteJob", + "fullName": "google.cloud.video.transcoder.v1.TranscoderService.DeleteJob", + "service": { + "shortName": "TranscoderService", + "fullName": "google.cloud.video.transcoder.v1.TranscoderService" + } + } + } }, - "method": { - "shortName": "CreateJobTemplate", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService.CreateJobTemplate", - "service": { - "shortName": "TranscoderService", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService" - } - } - } - }, - { - "regionTag": "transcoder_v1_generated_TranscoderService_ListJobTemplates_async", - "title": "TranscoderService listJobTemplates Sample", - "origin": "API_DEFINITION", - "description": " Lists job templates in the specified region.", - "canonical": true, - "file": "transcoder_service.list_job_templates.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 72, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "ListJobTemplates", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService.ListJobTemplates", - "async": true, - "parameters": [ - { - "name": "parent", - "type": "TYPE_STRING" - }, - { - "name": "page_size", - "type": "TYPE_INT32" - }, - { - "name": "page_token", - "type": "TYPE_STRING" - }, - { - "name": "filter", - "type": "TYPE_STRING" - }, - { - "name": "order_by", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.video.transcoder.v1.ListJobTemplatesResponse", - "client": { - "shortName": "TranscoderServiceClient", - "fullName": "google.cloud.video.transcoder.v1.TranscoderServiceClient" + "regionTag": "transcoder_v1_generated_TranscoderService_CreateJobTemplate_async", + "title": "TranscoderService createJobTemplate Sample", + "origin": "API_DEFINITION", + "description": " Creates a job template in the specified region.", + "canonical": true, + "file": "transcoder_service.create_job_template.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 64, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "CreateJobTemplate", + "fullName": "google.cloud.video.transcoder.v1.TranscoderService.CreateJobTemplate", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "job_template", + "type": ".google.cloud.video.transcoder.v1.JobTemplate" + }, + { + "name": "job_template_id", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.video.transcoder.v1.JobTemplate", + "client": { + "shortName": "TranscoderServiceClient", + "fullName": "google.cloud.video.transcoder.v1.TranscoderServiceClient" + }, + "method": { + "shortName": "CreateJobTemplate", + "fullName": "google.cloud.video.transcoder.v1.TranscoderService.CreateJobTemplate", + "service": { + "shortName": "TranscoderService", + "fullName": "google.cloud.video.transcoder.v1.TranscoderService" + } + } + } }, - "method": { - "shortName": "ListJobTemplates", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService.ListJobTemplates", - "service": { - "shortName": "TranscoderService", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService" - } - } - } - }, - { - "regionTag": "transcoder_v1_generated_TranscoderService_GetJobTemplate_async", - "title": "TranscoderService getJobTemplate Sample", - "origin": "API_DEFINITION", - "description": " Returns the job template data.", - "canonical": true, - "file": "transcoder_service.get_job_template.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 52, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "GetJobTemplate", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService.GetJobTemplate", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - } - ], - "resultType": ".google.cloud.video.transcoder.v1.JobTemplate", - "client": { - "shortName": "TranscoderServiceClient", - "fullName": "google.cloud.video.transcoder.v1.TranscoderServiceClient" + "regionTag": "transcoder_v1_generated_TranscoderService_ListJobTemplates_async", + "title": "TranscoderService listJobTemplates Sample", + "origin": "API_DEFINITION", + "description": " Lists job templates in the specified region.", + "canonical": true, + "file": "transcoder_service.list_job_templates.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 72, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "ListJobTemplates", + "fullName": "google.cloud.video.transcoder.v1.TranscoderService.ListJobTemplates", + "async": true, + "parameters": [ + { + "name": "parent", + "type": "TYPE_STRING" + }, + { + "name": "page_size", + "type": "TYPE_INT32" + }, + { + "name": "page_token", + "type": "TYPE_STRING" + }, + { + "name": "filter", + "type": "TYPE_STRING" + }, + { + "name": "order_by", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.video.transcoder.v1.ListJobTemplatesResponse", + "client": { + "shortName": "TranscoderServiceClient", + "fullName": "google.cloud.video.transcoder.v1.TranscoderServiceClient" + }, + "method": { + "shortName": "ListJobTemplates", + "fullName": "google.cloud.video.transcoder.v1.TranscoderService.ListJobTemplates", + "service": { + "shortName": "TranscoderService", + "fullName": "google.cloud.video.transcoder.v1.TranscoderService" + } + } + } }, - "method": { - "shortName": "GetJobTemplate", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService.GetJobTemplate", - "service": { - "shortName": "TranscoderService", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService" - } - } - } - }, - { - "regionTag": "transcoder_v1_generated_TranscoderService_DeleteJobTemplate_async", - "title": "TranscoderService deleteJobTemplate Sample", - "origin": "API_DEFINITION", - "description": " Deletes a job template.", - "canonical": true, - "file": "transcoder_service.delete_job_template.js", - "language": "JAVASCRIPT", - "segments": [ { - "start": 25, - "end": 56, - "type": "FULL" - } - ], - "clientMethod": { - "shortName": "DeleteJobTemplate", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService.DeleteJobTemplate", - "async": true, - "parameters": [ - { - "name": "name", - "type": "TYPE_STRING" - }, - { - "name": "allow_missing", - "type": "TYPE_BOOL" - } - ], - "resultType": ".google.protobuf.Empty", - "client": { - "shortName": "TranscoderServiceClient", - "fullName": "google.cloud.video.transcoder.v1.TranscoderServiceClient" + "regionTag": "transcoder_v1_generated_TranscoderService_GetJobTemplate_async", + "title": "TranscoderService getJobTemplate Sample", + "origin": "API_DEFINITION", + "description": " Returns the job template data.", + "canonical": true, + "file": "transcoder_service.get_job_template.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 52, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "GetJobTemplate", + "fullName": "google.cloud.video.transcoder.v1.TranscoderService.GetJobTemplate", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + } + ], + "resultType": ".google.cloud.video.transcoder.v1.JobTemplate", + "client": { + "shortName": "TranscoderServiceClient", + "fullName": "google.cloud.video.transcoder.v1.TranscoderServiceClient" + }, + "method": { + "shortName": "GetJobTemplate", + "fullName": "google.cloud.video.transcoder.v1.TranscoderService.GetJobTemplate", + "service": { + "shortName": "TranscoderService", + "fullName": "google.cloud.video.transcoder.v1.TranscoderService" + } + } + } }, - "method": { - "shortName": "DeleteJobTemplate", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService.DeleteJobTemplate", - "service": { - "shortName": "TranscoderService", - "fullName": "google.cloud.video.transcoder.v1.TranscoderService" - } + { + "regionTag": "transcoder_v1_generated_TranscoderService_DeleteJobTemplate_async", + "title": "TranscoderService deleteJobTemplate Sample", + "origin": "API_DEFINITION", + "description": " Deletes a job template.", + "canonical": true, + "file": "transcoder_service.delete_job_template.js", + "language": "JAVASCRIPT", + "segments": [ + { + "start": 25, + "end": 56, + "type": "FULL" + } + ], + "clientMethod": { + "shortName": "DeleteJobTemplate", + "fullName": "google.cloud.video.transcoder.v1.TranscoderService.DeleteJobTemplate", + "async": true, + "parameters": [ + { + "name": "name", + "type": "TYPE_STRING" + }, + { + "name": "allow_missing", + "type": "TYPE_BOOL" + } + ], + "resultType": ".google.protobuf.Empty", + "client": { + "shortName": "TranscoderServiceClient", + "fullName": "google.cloud.video.transcoder.v1.TranscoderServiceClient" + }, + "method": { + "shortName": "DeleteJobTemplate", + "fullName": "google.cloud.video.transcoder.v1.TranscoderService.DeleteJobTemplate", + "service": { + "shortName": "TranscoderService", + "fullName": "google.cloud.video.transcoder.v1.TranscoderService" + } + } + } } - } - } - ] -} + ] +} \ No newline at end of file