Skip to content

Commit 4436002

Browse files
authored
feat: migrate google-cloud-speech to librarian (keep helpers) (#8648)
* feat: migrate google-cloud-speech to librarian (keep helpers) * feat: preserve system tests and fixtures in keep list
1 parent d2ae207 commit 4436002

6 files changed

Lines changed: 28 additions & 45 deletions

File tree

librarian.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1395,7 +1395,17 @@ libraries:
13951395
- path: google/cloud/speech/v1
13961396
- path: google/cloud/speech/v1p1beta1
13971397
copyright_year: "2026"
1398-
skip_generate: true
1398+
keep:
1399+
- src/helpers.ts
1400+
- src/index.ts
1401+
- system-test/fixtures/streamingRecognize/input.wav
1402+
- system-test/speech_system_test.js
1403+
- system-test/speech_system_test_v1.js
1404+
- system-test/speech_system_test_v1p1beta1.js
1405+
- system-test/speech_typescript_system_test.ts
1406+
- system-test/speech_typescript_system_test_v1.ts
1407+
- system-test/speech_typescript_system_test_v1p1beta1.ts
1408+
- test/helpers.test.ts
13991409
nodejs:
14001410
default_version: v1
14011411
dependencies:

packages/google-cloud-speech/.OwlBot.yaml

Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
{
2-
"name": "speech",
3-
"name_pretty": "Cloud Speech",
4-
"product_documentation": "https://cloud.google.com/speech-to-text/docs/",
5-
"client_documentation": "https://googleapis.dev/nodejs/speech/latest",
6-
"issue_tracker": "https://issuetracker.google.com/savedsearches/559758",
7-
"release_level": "stable",
8-
"language": "nodejs",
9-
"repo": "googleapis/google-cloud-node",
10-
"distribution_name": "@google-cloud/speech",
11-
"api_id": "speech.googleapis.com",
12-
"requires_billing": false,
13-
"codeowner_team": "@googleapis/ml-apis",
14-
"default_version": "v1",
15-
"api_shortname": "speech",
16-
"library_type": "GAPIC_COMBO"
17-
}
2+
"api_description": "Converts audio to text by applying powerful neural network models.",
3+
"api_id": "speech.googleapis.com",
4+
"api_shortname": "speech",
5+
"client_documentation": "https://cloud.google.com/nodejs/docs/reference/speech/latest",
6+
"default_version": "v1",
7+
"distribution_name": "@google-cloud/speech",
8+
"issue_tracker": "https://issuetracker.google.com/savedsearches/559758",
9+
"language": "nodejs",
10+
"library_type": "GAPIC_AUTO",
11+
"name": "speech",
12+
"name_pretty": "Cloud Speech-to-Text",
13+
"product_documentation": "https://cloud.google.com/speech-to-text/docs",
14+
"release_level": "stable",
15+
"repo": "googleapis/google-cloud-node"
16+
}

packages/google-cloud-speech/prettier.config.js

Lines changed: 0 additions & 4 deletions
This file was deleted.

packages/google-cloud-speech/src/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2017 Google Inc. All Rights Reserved.
2+
* Copyright 2026 Google Inc. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

packages/google-cloud-speech/test/helpers.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Copyright 2017 Google Inc. All Rights Reserved.
2+
* Copyright 2026 Google Inc. All Rights Reserved.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)