@googleapis/texttospeech 3.0.1 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +130 -0
- package/build/index.js +2 -2
- package/build/index.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -0
- package/build/v1.d.ts +362 -1
- package/build/v1.js +14 -1
- package/build/v1.js.map +1 -1
- package/build/v1beta1.d.ts +271 -1
- package/build/v1beta1.js +12 -1
- package/build/v1beta1.js.map +1 -1
- package/package.json +4 -4
- package/v1.ts +362 -0
- package/v1beta1.ts +271 -0
package/build/v1beta1.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
1
|
import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosResponseWithHTTP2, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common';
|
|
3
2
|
import { Readable } from 'stream';
|
|
4
3
|
export declare namespace texttospeech_v1beta1 {
|
|
@@ -419,6 +418,10 @@ export declare namespace texttospeech_v1beta1 {
|
|
|
419
418
|
* Required. The language (and potentially also the region) of the voice expressed as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag, e.g. "en-US". This should not include a script tag (e.g. use "cmn-cn" rather than "cmn-Hant-cn"), because the script will be inferred from the input provided in the SynthesisInput. The TTS service will use this parameter to help choose an appropriate voice. Note that the TTS service may choose a voice with a slightly different language code than the one selected; it may substitute a different region (e.g. using en-US rather than en-CA if there isn't a Canadian voice available), or even a different language, e.g. using "nb" (Norwegian Bokmal) instead of "no" (Norwegian)".
|
|
420
419
|
*/
|
|
421
420
|
languageCode?: string | null;
|
|
421
|
+
/**
|
|
422
|
+
* Optional. The name of the model. If set, the service will choose the model matching the specified configuration.
|
|
423
|
+
*/
|
|
424
|
+
modelName?: string | null;
|
|
422
425
|
/**
|
|
423
426
|
* The name of the voice. If both the name and the gender are not set, the service will choose a voice based on the other parameters such as language_code.
|
|
424
427
|
*/
|
|
@@ -443,6 +446,67 @@ export declare namespace texttospeech_v1beta1 {
|
|
|
443
446
|
constructor(context: APIRequestContext);
|
|
444
447
|
/**
|
|
445
448
|
* Synthesizes long form text asynchronously.
|
|
449
|
+
* @example
|
|
450
|
+
* ```js
|
|
451
|
+
* // Before running the sample:
|
|
452
|
+
* // - Enable the API at:
|
|
453
|
+
* // https://console.developers.google.com/apis/api/texttospeech.googleapis.com
|
|
454
|
+
* // - Login into gcloud by running:
|
|
455
|
+
* // ```sh
|
|
456
|
+
* // $ gcloud auth application-default login
|
|
457
|
+
* // ```
|
|
458
|
+
* // - Install the npm module by running:
|
|
459
|
+
* // ```sh
|
|
460
|
+
* // $ npm install googleapis
|
|
461
|
+
* // ```
|
|
462
|
+
*
|
|
463
|
+
* const {google} = require('googleapis');
|
|
464
|
+
* const texttospeech = google.texttospeech('v1beta1');
|
|
465
|
+
*
|
|
466
|
+
* async function main() {
|
|
467
|
+
* const auth = new google.auth.GoogleAuth({
|
|
468
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
469
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
470
|
+
* });
|
|
471
|
+
*
|
|
472
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
473
|
+
* const authClient = await auth.getClient();
|
|
474
|
+
* google.options({auth: authClient});
|
|
475
|
+
*
|
|
476
|
+
* // Do the magic
|
|
477
|
+
* const res = await texttospeech.projects.locations.synthesizeLongAudio({
|
|
478
|
+
* // The resource states of the request in the form of `projects/x/locations/x`.
|
|
479
|
+
* parent: 'projects/my-project/locations/my-location',
|
|
480
|
+
*
|
|
481
|
+
* // Request body metadata
|
|
482
|
+
* requestBody: {
|
|
483
|
+
* // request body parameters
|
|
484
|
+
* // {
|
|
485
|
+
* // "audioConfig": {},
|
|
486
|
+
* // "input": {},
|
|
487
|
+
* // "outputGcsUri": "my_outputGcsUri",
|
|
488
|
+
* // "voice": {}
|
|
489
|
+
* // }
|
|
490
|
+
* },
|
|
491
|
+
* });
|
|
492
|
+
* console.log(res.data);
|
|
493
|
+
*
|
|
494
|
+
* // Example response
|
|
495
|
+
* // {
|
|
496
|
+
* // "done": false,
|
|
497
|
+
* // "error": {},
|
|
498
|
+
* // "metadata": {},
|
|
499
|
+
* // "name": "my_name",
|
|
500
|
+
* // "response": {}
|
|
501
|
+
* // }
|
|
502
|
+
* }
|
|
503
|
+
*
|
|
504
|
+
* main().catch(e => {
|
|
505
|
+
* console.error(e);
|
|
506
|
+
* throw e;
|
|
507
|
+
* });
|
|
508
|
+
*
|
|
509
|
+
* ```
|
|
446
510
|
*
|
|
447
511
|
* @param params - Parameters for request
|
|
448
512
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -471,6 +535,56 @@ export declare namespace texttospeech_v1beta1 {
|
|
|
471
535
|
constructor(context: APIRequestContext);
|
|
472
536
|
/**
|
|
473
537
|
* Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
|
|
538
|
+
* @example
|
|
539
|
+
* ```js
|
|
540
|
+
* // Before running the sample:
|
|
541
|
+
* // - Enable the API at:
|
|
542
|
+
* // https://console.developers.google.com/apis/api/texttospeech.googleapis.com
|
|
543
|
+
* // - Login into gcloud by running:
|
|
544
|
+
* // ```sh
|
|
545
|
+
* // $ gcloud auth application-default login
|
|
546
|
+
* // ```
|
|
547
|
+
* // - Install the npm module by running:
|
|
548
|
+
* // ```sh
|
|
549
|
+
* // $ npm install googleapis
|
|
550
|
+
* // ```
|
|
551
|
+
*
|
|
552
|
+
* const {google} = require('googleapis');
|
|
553
|
+
* const texttospeech = google.texttospeech('v1beta1');
|
|
554
|
+
*
|
|
555
|
+
* async function main() {
|
|
556
|
+
* const auth = new google.auth.GoogleAuth({
|
|
557
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
558
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
559
|
+
* });
|
|
560
|
+
*
|
|
561
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
562
|
+
* const authClient = await auth.getClient();
|
|
563
|
+
* google.options({auth: authClient});
|
|
564
|
+
*
|
|
565
|
+
* // Do the magic
|
|
566
|
+
* const res = await texttospeech.projects.locations.operations.get({
|
|
567
|
+
* // The name of the operation resource.
|
|
568
|
+
* name: 'projects/my-project/locations/my-location/operations/my-operation',
|
|
569
|
+
* });
|
|
570
|
+
* console.log(res.data);
|
|
571
|
+
*
|
|
572
|
+
* // Example response
|
|
573
|
+
* // {
|
|
574
|
+
* // "done": false,
|
|
575
|
+
* // "error": {},
|
|
576
|
+
* // "metadata": {},
|
|
577
|
+
* // "name": "my_name",
|
|
578
|
+
* // "response": {}
|
|
579
|
+
* // }
|
|
580
|
+
* }
|
|
581
|
+
*
|
|
582
|
+
* main().catch(e => {
|
|
583
|
+
* console.error(e);
|
|
584
|
+
* throw e;
|
|
585
|
+
* });
|
|
586
|
+
*
|
|
587
|
+
* ```
|
|
474
588
|
*
|
|
475
589
|
* @param params - Parameters for request
|
|
476
590
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -485,6 +599,59 @@ export declare namespace texttospeech_v1beta1 {
|
|
|
485
599
|
get(callback: BodyResponseCallback<Schema$Operation>): void;
|
|
486
600
|
/**
|
|
487
601
|
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
|
|
602
|
+
* @example
|
|
603
|
+
* ```js
|
|
604
|
+
* // Before running the sample:
|
|
605
|
+
* // - Enable the API at:
|
|
606
|
+
* // https://console.developers.google.com/apis/api/texttospeech.googleapis.com
|
|
607
|
+
* // - Login into gcloud by running:
|
|
608
|
+
* // ```sh
|
|
609
|
+
* // $ gcloud auth application-default login
|
|
610
|
+
* // ```
|
|
611
|
+
* // - Install the npm module by running:
|
|
612
|
+
* // ```sh
|
|
613
|
+
* // $ npm install googleapis
|
|
614
|
+
* // ```
|
|
615
|
+
*
|
|
616
|
+
* const {google} = require('googleapis');
|
|
617
|
+
* const texttospeech = google.texttospeech('v1beta1');
|
|
618
|
+
*
|
|
619
|
+
* async function main() {
|
|
620
|
+
* const auth = new google.auth.GoogleAuth({
|
|
621
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
622
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
623
|
+
* });
|
|
624
|
+
*
|
|
625
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
626
|
+
* const authClient = await auth.getClient();
|
|
627
|
+
* google.options({auth: authClient});
|
|
628
|
+
*
|
|
629
|
+
* // Do the magic
|
|
630
|
+
* const res = await texttospeech.projects.locations.operations.list({
|
|
631
|
+
* // The standard list filter.
|
|
632
|
+
* filter: 'placeholder-value',
|
|
633
|
+
* // The name of the operation's parent resource.
|
|
634
|
+
* name: 'projects/my-project/locations/my-location',
|
|
635
|
+
* // The standard list page size.
|
|
636
|
+
* pageSize: 'placeholder-value',
|
|
637
|
+
* // The standard list page token.
|
|
638
|
+
* pageToken: 'placeholder-value',
|
|
639
|
+
* });
|
|
640
|
+
* console.log(res.data);
|
|
641
|
+
*
|
|
642
|
+
* // Example response
|
|
643
|
+
* // {
|
|
644
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
645
|
+
* // "operations": []
|
|
646
|
+
* // }
|
|
647
|
+
* }
|
|
648
|
+
*
|
|
649
|
+
* main().catch(e => {
|
|
650
|
+
* console.error(e);
|
|
651
|
+
* throw e;
|
|
652
|
+
* });
|
|
653
|
+
*
|
|
654
|
+
* ```
|
|
488
655
|
*
|
|
489
656
|
* @param params - Parameters for request
|
|
490
657
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -527,6 +694,63 @@ export declare namespace texttospeech_v1beta1 {
|
|
|
527
694
|
constructor(context: APIRequestContext);
|
|
528
695
|
/**
|
|
529
696
|
* Synthesizes speech synchronously: receive results after all text input has been processed.
|
|
697
|
+
* @example
|
|
698
|
+
* ```js
|
|
699
|
+
* // Before running the sample:
|
|
700
|
+
* // - Enable the API at:
|
|
701
|
+
* // https://console.developers.google.com/apis/api/texttospeech.googleapis.com
|
|
702
|
+
* // - Login into gcloud by running:
|
|
703
|
+
* // ```sh
|
|
704
|
+
* // $ gcloud auth application-default login
|
|
705
|
+
* // ```
|
|
706
|
+
* // - Install the npm module by running:
|
|
707
|
+
* // ```sh
|
|
708
|
+
* // $ npm install googleapis
|
|
709
|
+
* // ```
|
|
710
|
+
*
|
|
711
|
+
* const {google} = require('googleapis');
|
|
712
|
+
* const texttospeech = google.texttospeech('v1beta1');
|
|
713
|
+
*
|
|
714
|
+
* async function main() {
|
|
715
|
+
* const auth = new google.auth.GoogleAuth({
|
|
716
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
717
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
718
|
+
* });
|
|
719
|
+
*
|
|
720
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
721
|
+
* const authClient = await auth.getClient();
|
|
722
|
+
* google.options({auth: authClient});
|
|
723
|
+
*
|
|
724
|
+
* // Do the magic
|
|
725
|
+
* const res = await texttospeech.text.synthesize({
|
|
726
|
+
* // Request body metadata
|
|
727
|
+
* requestBody: {
|
|
728
|
+
* // request body parameters
|
|
729
|
+
* // {
|
|
730
|
+
* // "advancedVoiceOptions": {},
|
|
731
|
+
* // "audioConfig": {},
|
|
732
|
+
* // "enableTimePointing": [],
|
|
733
|
+
* // "input": {},
|
|
734
|
+
* // "voice": {}
|
|
735
|
+
* // }
|
|
736
|
+
* },
|
|
737
|
+
* });
|
|
738
|
+
* console.log(res.data);
|
|
739
|
+
*
|
|
740
|
+
* // Example response
|
|
741
|
+
* // {
|
|
742
|
+
* // "audioConfig": {},
|
|
743
|
+
* // "audioContent": "my_audioContent",
|
|
744
|
+
* // "timepoints": []
|
|
745
|
+
* // }
|
|
746
|
+
* }
|
|
747
|
+
*
|
|
748
|
+
* main().catch(e => {
|
|
749
|
+
* console.error(e);
|
|
750
|
+
* throw e;
|
|
751
|
+
* });
|
|
752
|
+
*
|
|
753
|
+
* ```
|
|
530
754
|
*
|
|
531
755
|
* @param params - Parameters for request
|
|
532
756
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
@@ -551,6 +775,52 @@ export declare namespace texttospeech_v1beta1 {
|
|
|
551
775
|
constructor(context: APIRequestContext);
|
|
552
776
|
/**
|
|
553
777
|
* Returns a list of Voice supported for synthesis.
|
|
778
|
+
* @example
|
|
779
|
+
* ```js
|
|
780
|
+
* // Before running the sample:
|
|
781
|
+
* // - Enable the API at:
|
|
782
|
+
* // https://console.developers.google.com/apis/api/texttospeech.googleapis.com
|
|
783
|
+
* // - Login into gcloud by running:
|
|
784
|
+
* // ```sh
|
|
785
|
+
* // $ gcloud auth application-default login
|
|
786
|
+
* // ```
|
|
787
|
+
* // - Install the npm module by running:
|
|
788
|
+
* // ```sh
|
|
789
|
+
* // $ npm install googleapis
|
|
790
|
+
* // ```
|
|
791
|
+
*
|
|
792
|
+
* const {google} = require('googleapis');
|
|
793
|
+
* const texttospeech = google.texttospeech('v1beta1');
|
|
794
|
+
*
|
|
795
|
+
* async function main() {
|
|
796
|
+
* const auth = new google.auth.GoogleAuth({
|
|
797
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
798
|
+
* scopes: ['https://www.googleapis.com/auth/cloud-platform'],
|
|
799
|
+
* });
|
|
800
|
+
*
|
|
801
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
802
|
+
* const authClient = await auth.getClient();
|
|
803
|
+
* google.options({auth: authClient});
|
|
804
|
+
*
|
|
805
|
+
* // Do the magic
|
|
806
|
+
* const res = await texttospeech.voices.list({
|
|
807
|
+
* // Optional. Recommended. [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag. If not specified, the API will return all supported voices. If specified, the ListVoices call will only return voices that can be used to synthesize this language_code. For example, if you specify `"en-NZ"`, all `"en-NZ"` voices will be returned. If you specify `"no"`, both `"no-\*"` (Norwegian) and `"nb-\*"` (Norwegian Bokmal) voices will be returned.
|
|
808
|
+
* languageCode: 'placeholder-value',
|
|
809
|
+
* });
|
|
810
|
+
* console.log(res.data);
|
|
811
|
+
*
|
|
812
|
+
* // Example response
|
|
813
|
+
* // {
|
|
814
|
+
* // "voices": []
|
|
815
|
+
* // }
|
|
816
|
+
* }
|
|
817
|
+
*
|
|
818
|
+
* main().catch(e => {
|
|
819
|
+
* console.error(e);
|
|
820
|
+
* throw e;
|
|
821
|
+
* });
|
|
822
|
+
*
|
|
823
|
+
* ```
|
|
554
824
|
*
|
|
555
825
|
* @param params - Parameters for request
|
|
556
826
|
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
package/build/v1beta1.js
CHANGED
|
@@ -33,6 +33,10 @@ var texttospeech_v1beta1;
|
|
|
33
33
|
* ```
|
|
34
34
|
*/
|
|
35
35
|
class Texttospeech {
|
|
36
|
+
context;
|
|
37
|
+
projects;
|
|
38
|
+
text;
|
|
39
|
+
voices;
|
|
36
40
|
constructor(options, google) {
|
|
37
41
|
this.context = {
|
|
38
42
|
_options: options || {},
|
|
@@ -45,6 +49,8 @@ var texttospeech_v1beta1;
|
|
|
45
49
|
}
|
|
46
50
|
texttospeech_v1beta1.Texttospeech = Texttospeech;
|
|
47
51
|
class Resource$Projects {
|
|
52
|
+
context;
|
|
53
|
+
locations;
|
|
48
54
|
constructor(context) {
|
|
49
55
|
this.context = context;
|
|
50
56
|
this.locations = new Resource$Projects$Locations(this.context);
|
|
@@ -52,6 +58,8 @@ var texttospeech_v1beta1;
|
|
|
52
58
|
}
|
|
53
59
|
texttospeech_v1beta1.Resource$Projects = Resource$Projects;
|
|
54
60
|
class Resource$Projects$Locations {
|
|
61
|
+
context;
|
|
62
|
+
operations;
|
|
55
63
|
constructor(context) {
|
|
56
64
|
this.context = context;
|
|
57
65
|
this.operations = new Resource$Projects$Locations$Operations(this.context);
|
|
@@ -91,6 +99,7 @@ var texttospeech_v1beta1;
|
|
|
91
99
|
}
|
|
92
100
|
texttospeech_v1beta1.Resource$Projects$Locations = Resource$Projects$Locations;
|
|
93
101
|
class Resource$Projects$Locations$Operations {
|
|
102
|
+
context;
|
|
94
103
|
constructor(context) {
|
|
95
104
|
this.context = context;
|
|
96
105
|
}
|
|
@@ -161,6 +170,7 @@ var texttospeech_v1beta1;
|
|
|
161
170
|
}
|
|
162
171
|
texttospeech_v1beta1.Resource$Projects$Locations$Operations = Resource$Projects$Locations$Operations;
|
|
163
172
|
class Resource$Text {
|
|
173
|
+
context;
|
|
164
174
|
constructor(context) {
|
|
165
175
|
this.context = context;
|
|
166
176
|
}
|
|
@@ -198,6 +208,7 @@ var texttospeech_v1beta1;
|
|
|
198
208
|
}
|
|
199
209
|
texttospeech_v1beta1.Resource$Text = Resource$Text;
|
|
200
210
|
class Resource$Voices {
|
|
211
|
+
context;
|
|
201
212
|
constructor(context) {
|
|
202
213
|
this.context = context;
|
|
203
214
|
}
|
|
@@ -234,5 +245,5 @@ var texttospeech_v1beta1;
|
|
|
234
245
|
}
|
|
235
246
|
}
|
|
236
247
|
texttospeech_v1beta1.Resource$Voices = Resource$Voices;
|
|
237
|
-
})(texttospeech_v1beta1
|
|
248
|
+
})(texttospeech_v1beta1 || (exports.texttospeech_v1beta1 = texttospeech_v1beta1 = {}));
|
|
238
249
|
//# sourceMappingURL=v1beta1.js.map
|
package/build/v1beta1.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1beta1.js","sourceRoot":"","sources":["../v1beta1.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;;AAEjC,uDAAuD;AACvD,sDAAsD;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B,oCAApB,oBAAoB,QAivCpC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@googleapis/texttospeech",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "texttospeech",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -28,15 +28,15 @@
|
|
|
28
28
|
"webpack": "webpack"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"googleapis-common": "^8.0.
|
|
31
|
+
"googleapis-common": "^8.0.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@microsoft/api-documenter": "^7.8.10",
|
|
35
35
|
"@microsoft/api-extractor": "^7.8.10",
|
|
36
|
-
"gts": "^
|
|
36
|
+
"gts": "^6.0.0",
|
|
37
37
|
"null-loader": "^4.0.0",
|
|
38
38
|
"ts-loader": "^9.0.0",
|
|
39
|
-
"typescript": "
|
|
39
|
+
"typescript": "5.7.3",
|
|
40
40
|
"webpack": "^5.0.0",
|
|
41
41
|
"webpack-cli": "^5.0.0"
|
|
42
42
|
}
|