Skip to content

integrations/dist/voice/google-speech

Interfaces

GoogleSpeechClient

Methods

synthesizeSpeech()
synthesizeSpeech(input): Promise<ArrayBuffer>;
Parameters
Parameter Type
input GoogleTextToSpeechInput
Returns

Promise\<ArrayBuffer>

transcribeSpeech()
transcribeSpeech(input): Promise<GoogleSpeechToTextResult>;
Parameters
Parameter Type
input GoogleSpeechToTextInput
Returns

Promise\<GoogleSpeechToTextResult>


GoogleSpeechClientOptions

Properties

accessToken?
optional accessToken?: string;
fetch?
optional fetch?: {
  (input, init?): Promise<Response>;
  (input, init?): Promise<Response>;
};
Call Signature
(input, init?): Promise<Response>;

MDN Reference

Parameters
Parameter Type
input URL | RequestInfo
init? RequestInit
Returns

Promise\<Response>

Call Signature
(input, init?): Promise<Response>;

MDN Reference

Parameters
Parameter Type
input string | Request | URL
init? RequestInit
Returns

Promise\<Response>

getAccessToken?
optional getAccessToken?: GoogleSpeechAccessTokenProvider;
quotaProjectId?
optional quotaProjectId?: string;
speechToTextEndpoint?
optional speechToTextEndpoint?: string;
textToSpeechEndpoint?
optional textToSpeechEndpoint?: string;

GoogleSpeechCredentialStatusInput

Properties

accessToken?
optional accessToken?: string;
hasAccessTokenProvider?
optional hasAccessTokenProvider?: boolean;

GoogleSpeechFullApiGeneratedClient

Methods

SpeechOperationsGet()
SpeechOperationsGet(...args): Promise<GoogleSpeechFullApiSchemaOperation>;
Parameters
Parameter Type
...args [GoogleSpeechFullApiOperationInput\<"speech.operations.get">]
Returns

Promise\<GoogleSpeechFullApiSchemaOperation>

SpeechOperationsList()
SpeechOperationsList(...args): Promise<GoogleSpeechFullApiSchemaListOperationsResponse>;
Parameters
Parameter Type
...args [GoogleSpeechFullApiOperationInput\<"speech.operations.list">]
Returns

Promise\<GoogleSpeechFullApiSchemaListOperationsResponse>

SpeechProjectsLocationsCustomClassesCreate()
SpeechProjectsLocationsCustomClassesCreate(...args): Promise<GoogleSpeechFullApiSchemaCustomClass>;
Parameters
Parameter Type
...args [GoogleSpeechFullApiOperationInput\<"speech.projects.locations.customClasses.create">]
Returns

Promise\<GoogleSpeechFullApiSchemaCustomClass>

SpeechProjectsLocationsCustomClassesDelete()
SpeechProjectsLocationsCustomClassesDelete(...args): Promise<GoogleSpeechFullApiSchemaEmpty>;
Parameters
Parameter Type
...args [GoogleSpeechFullApiOperationInput\<"speech.projects.locations.customClasses.delete">]
Returns

Promise\<GoogleSpeechFullApiSchemaEmpty>

SpeechProjectsLocationsCustomClassesGet()
SpeechProjectsLocationsCustomClassesGet(...args): Promise<GoogleSpeechFullApiSchemaCustomClass>;
Parameters
Parameter Type
...args [GoogleSpeechFullApiOperationInput\<"speech.projects.locations.customClasses.get">]
Returns

Promise\<GoogleSpeechFullApiSchemaCustomClass>

SpeechProjectsLocationsCustomClassesList()
SpeechProjectsLocationsCustomClassesList(...args): Promise<GoogleSpeechFullApiSchemaListCustomClassesResponse>;
Parameters
Parameter Type
...args [GoogleSpeechFullApiOperationInput\<"speech.projects.locations.customClasses.list">]
Returns

Promise\<GoogleSpeechFullApiSchemaListCustomClassesResponse>

SpeechProjectsLocationsCustomClassesPatch()
SpeechProjectsLocationsCustomClassesPatch(...args): Promise<GoogleSpeechFullApiSchemaCustomClass>;
Parameters
Parameter Type
...args [GoogleSpeechFullApiOperationInput\<"speech.projects.locations.customClasses.patch">]
Returns

Promise\<GoogleSpeechFullApiSchemaCustomClass>

SpeechProjectsLocationsPhraseSetsCreate()
SpeechProjectsLocationsPhraseSetsCreate(...args): Promise<GoogleSpeechFullApiSchemaPhraseSet>;
Parameters
Parameter Type
...args [GoogleSpeechFullApiOperationInput\<"speech.projects.locations.phraseSets.create">]
Returns

Promise\<GoogleSpeechFullApiSchemaPhraseSet>

SpeechProjectsLocationsPhraseSetsDelete()
SpeechProjectsLocationsPhraseSetsDelete(...args): Promise<GoogleSpeechFullApiSchemaEmpty>;
Parameters
Parameter Type
...args [GoogleSpeechFullApiOperationInput\<"speech.projects.locations.phraseSets.delete">]
Returns

Promise\<GoogleSpeechFullApiSchemaEmpty>

SpeechProjectsLocationsPhraseSetsGet()
SpeechProjectsLocationsPhraseSetsGet(...args): Promise<GoogleSpeechFullApiSchemaPhraseSet>;
Parameters
Parameter Type
...args [GoogleSpeechFullApiOperationInput\<"speech.projects.locations.phraseSets.get">]
Returns

Promise\<GoogleSpeechFullApiSchemaPhraseSet>

SpeechProjectsLocationsPhraseSetsList()
SpeechProjectsLocationsPhraseSetsList(...args): Promise<GoogleSpeechFullApiSchemaListPhraseSetResponse>;
Parameters
Parameter Type
...args [GoogleSpeechFullApiOperationInput\<"speech.projects.locations.phraseSets.list">]
Returns

Promise\<GoogleSpeechFullApiSchemaListPhraseSetResponse>

SpeechProjectsLocationsPhraseSetsPatch()
SpeechProjectsLocationsPhraseSetsPatch(...args): Promise<GoogleSpeechFullApiSchemaPhraseSet>;
Parameters
Parameter Type
...args [GoogleSpeechFullApiOperationInput\<"speech.projects.locations.phraseSets.patch">]
Returns

Promise\<GoogleSpeechFullApiSchemaPhraseSet>

SpeechSpeechLongrunningrecognize()
SpeechSpeechLongrunningrecognize(...args): Promise<GoogleSpeechFullApiSchemaOperation>;
Parameters
Parameter Type
...args [GoogleSpeechFullApiOperationInput\<"speech.speech.longrunningrecognize">]
Returns

Promise\<GoogleSpeechFullApiSchemaOperation>

SpeechSpeechRecognize()
SpeechSpeechRecognize(...args): Promise<GoogleSpeechFullApiSchemaRecognizeResponse>;
Parameters
Parameter Type
...args [GoogleSpeechFullApiOperationInput\<"speech.speech.recognize">]
Returns

Promise\<GoogleSpeechFullApiSchemaRecognizeResponse>

TexttospeechOperationsCancel()
TexttospeechOperationsCancel(...args): Promise<GoogleSpeechFullApiSchemaEmpty2>;
Parameters
Parameter Type
...args [GoogleSpeechFullApiOperationInput\<"texttospeech.operations.cancel">]
Returns

Promise\<GoogleSpeechFullApiSchemaEmpty2>

TexttospeechOperationsDelete()
TexttospeechOperationsDelete(...args): Promise<GoogleSpeechFullApiSchemaEmpty2>;
Parameters
Parameter Type
...args [GoogleSpeechFullApiOperationInput\<"texttospeech.operations.delete">]
Returns

Promise\<GoogleSpeechFullApiSchemaEmpty2>

TexttospeechProjectsLocationsOperationsGet()
TexttospeechProjectsLocationsOperationsGet(...args): Promise<GoogleSpeechFullApiSchemaOperation2>;
Parameters
Parameter Type
...args [GoogleSpeechFullApiOperationInput\<"texttospeech.projects.locations.operations.get">]
Returns

Promise\<GoogleSpeechFullApiSchemaOperation2>

TexttospeechProjectsLocationsOperationsList()
TexttospeechProjectsLocationsOperationsList(...args): Promise<GoogleSpeechFullApiSchemaListOperationsResponse2>;
Parameters
Parameter Type
...args [GoogleSpeechFullApiOperationInput\<"texttospeech.projects.locations.operations.list">]
Returns

Promise\<GoogleSpeechFullApiSchemaListOperationsResponse2>

TexttospeechProjectsLocationsSynthesizeLongAudio()
TexttospeechProjectsLocationsSynthesizeLongAudio(...args): Promise<GoogleSpeechFullApiSchemaOperation2>;
Parameters
Parameter Type
...args [GoogleSpeechFullApiOperationInput\<"texttospeech.projects.locations.synthesizeLongAudio">]
Returns

Promise\<GoogleSpeechFullApiSchemaOperation2>

TexttospeechTextSynthesize()
TexttospeechTextSynthesize(...args): Promise<GoogleSpeechFullApiSchemaSynthesizeSpeechResponse>;
Parameters
Parameter Type
...args [GoogleSpeechFullApiOperationInput\<"texttospeech.text.synthesize">]
Returns

Promise\<GoogleSpeechFullApiSchemaSynthesizeSpeechResponse>

TexttospeechVoicesList()
TexttospeechVoicesList(...args): Promise<GoogleSpeechFullApiSchemaListVoicesResponse>;
Parameters
Parameter Type
...args [GoogleSpeechFullApiOperationInput\<"texttospeech.voices.list">]
Returns

Promise\<GoogleSpeechFullApiSchemaListVoicesResponse>


GoogleSpeechFullApiOperation

Properties

description
description: string;
docsUrl
docsUrl: string;
functionName
functionName: string;
id
id: string;
method
method: GoogleSpeechFullApiOperationMethod;
operationId
operationId: string;
path
path: string;
sourceUrl
sourceUrl: string;
specId
specId: string;
specLabel
specLabel: string;

GoogleSpeechFullApiOperationQueryMap

Properties

speech.operations.get
speech.operations.get: {
};
speech.operations.list
speech.operations.list: {
  filter?: string;
  name?: string;
  pageSize?: number;
  pageToken?: string;
  returnPartialSuccess?: boolean;
};
filter?
optional filter?: string;
name?
optional name?: string;
pageSize?
optional pageSize?: number;
pageToken?
optional pageToken?: string;
returnPartialSuccess?
optional returnPartialSuccess?: boolean;
speech.projects.locations.customClasses.create
speech.projects.locations.customClasses.create: {
};
speech.projects.locations.customClasses.delete
speech.projects.locations.customClasses.delete: {
};
speech.projects.locations.customClasses.get
speech.projects.locations.customClasses.get: {
};
speech.projects.locations.customClasses.list
speech.projects.locations.customClasses.list: {
  pageSize?: number;
  pageToken?: string;
};
pageSize?
optional pageSize?: number;
pageToken?
optional pageToken?: string;
speech.projects.locations.customClasses.patch
speech.projects.locations.customClasses.patch: {
  updateMask?: string;
};
updateMask?
optional updateMask?: string;
speech.projects.locations.phraseSets.create
speech.projects.locations.phraseSets.create: {
};
speech.projects.locations.phraseSets.delete
speech.projects.locations.phraseSets.delete: {
};
speech.projects.locations.phraseSets.get
speech.projects.locations.phraseSets.get: {
};
speech.projects.locations.phraseSets.list
speech.projects.locations.phraseSets.list: {
  pageSize?: number;
  pageToken?: string;
};
pageSize?
optional pageSize?: number;
pageToken?
optional pageToken?: string;
speech.projects.locations.phraseSets.patch
speech.projects.locations.phraseSets.patch: {
  updateMask?: string;
};
updateMask?
optional updateMask?: string;
speech.speech.longrunningrecognize
speech.speech.longrunningrecognize: {
};
speech.speech.recognize
speech.speech.recognize: {
};
texttospeech.operations.cancel
texttospeech.operations.cancel: {
};
texttospeech.operations.delete
texttospeech.operations.delete: {
};
texttospeech.projects.locations.operations.get
texttospeech.projects.locations.operations.get: {
};
texttospeech.projects.locations.operations.list
texttospeech.projects.locations.operations.list: {
  filter?: string;
  pageSize?: number;
  pageToken?: string;
  returnPartialSuccess?: boolean;
};
filter?
optional filter?: string;
pageSize?
optional pageSize?: number;
pageToken?
optional pageToken?: string;
returnPartialSuccess?
optional returnPartialSuccess?: boolean;
texttospeech.projects.locations.synthesizeLongAudio
texttospeech.projects.locations.synthesizeLongAudio: {
};
texttospeech.text.synthesize
texttospeech.text.synthesize: {
};
texttospeech.voices.list
texttospeech.voices.list: {
  languageCode?: string;
};
languageCode?
optional languageCode?: string;

GoogleSpeechFullApiOperationQueryRequiredMap

Properties

speech.operations.get
speech.operations.get: false;
speech.operations.list
speech.operations.list: false;
speech.projects.locations.customClasses.create
speech.projects.locations.customClasses.create: false;
speech.projects.locations.customClasses.delete
speech.projects.locations.customClasses.delete: false;
speech.projects.locations.customClasses.get
speech.projects.locations.customClasses.get: false;
speech.projects.locations.customClasses.list
speech.projects.locations.customClasses.list: false;
speech.projects.locations.customClasses.patch
speech.projects.locations.customClasses.patch: false;
speech.projects.locations.phraseSets.create
speech.projects.locations.phraseSets.create: false;
speech.projects.locations.phraseSets.delete
speech.projects.locations.phraseSets.delete: false;
speech.projects.locations.phraseSets.get
speech.projects.locations.phraseSets.get: false;
speech.projects.locations.phraseSets.list
speech.projects.locations.phraseSets.list: false;
speech.projects.locations.phraseSets.patch
speech.projects.locations.phraseSets.patch: false;
speech.speech.longrunningrecognize
speech.speech.longrunningrecognize: false;
speech.speech.recognize
speech.speech.recognize: false;
texttospeech.operations.cancel
texttospeech.operations.cancel: false;
texttospeech.operations.delete
texttospeech.operations.delete: false;
texttospeech.projects.locations.operations.get
texttospeech.projects.locations.operations.get: false;
texttospeech.projects.locations.operations.list
texttospeech.projects.locations.operations.list: false;
texttospeech.projects.locations.synthesizeLongAudio
texttospeech.projects.locations.synthesizeLongAudio: false;
texttospeech.text.synthesize
texttospeech.text.synthesize: false;
texttospeech.voices.list
texttospeech.voices.list: false;

GoogleSpeechFullApiOperationRequestBodyMap

Properties

speech.operations.get
speech.operations.get: never;
speech.operations.list
speech.operations.list: never;
speech.projects.locations.customClasses.create
speech.projects.locations.customClasses.create: GoogleSpeechFullApiSchemaCreateCustomClassRequest;
speech.projects.locations.customClasses.delete
speech.projects.locations.customClasses.delete: never;
speech.projects.locations.customClasses.get
speech.projects.locations.customClasses.get: never;
speech.projects.locations.customClasses.list
speech.projects.locations.customClasses.list: never;
speech.projects.locations.customClasses.patch
speech.projects.locations.customClasses.patch: GoogleSpeechFullApiSchemaCustomClass;
speech.projects.locations.phraseSets.create
speech.projects.locations.phraseSets.create: GoogleSpeechFullApiSchemaCreatePhraseSetRequest;
speech.projects.locations.phraseSets.delete
speech.projects.locations.phraseSets.delete: never;
speech.projects.locations.phraseSets.get
speech.projects.locations.phraseSets.get: never;
speech.projects.locations.phraseSets.list
speech.projects.locations.phraseSets.list: never;
speech.projects.locations.phraseSets.patch
speech.projects.locations.phraseSets.patch: GoogleSpeechFullApiSchemaPhraseSet;
speech.speech.longrunningrecognize
speech.speech.longrunningrecognize: GoogleSpeechFullApiSchemaLongRunningRecognizeRequest;
speech.speech.recognize
speech.speech.recognize: GoogleSpeechFullApiSchemaRecognizeRequest;
texttospeech.operations.cancel
texttospeech.operations.cancel: GoogleSpeechFullApiSchemaCancelOperationRequest;
texttospeech.operations.delete
texttospeech.operations.delete: never;
texttospeech.projects.locations.operations.get
texttospeech.projects.locations.operations.get: never;
texttospeech.projects.locations.operations.list
texttospeech.projects.locations.operations.list: never;
texttospeech.projects.locations.synthesizeLongAudio
texttospeech.projects.locations.synthesizeLongAudio: GoogleSpeechFullApiSchemaSynthesizeLongAudioRequest;
texttospeech.text.synthesize
texttospeech.text.synthesize: GoogleSpeechFullApiSchemaSynthesizeSpeechRequest;
texttospeech.voices.list
texttospeech.voices.list: never;

GoogleSpeechFullApiOperationRequestBodyRequiredMap

Properties

speech.operations.get
speech.operations.get: false;
speech.operations.list
speech.operations.list: false;
speech.projects.locations.customClasses.create
speech.projects.locations.customClasses.create: true;
speech.projects.locations.customClasses.delete
speech.projects.locations.customClasses.delete: false;
speech.projects.locations.customClasses.get
speech.projects.locations.customClasses.get: false;
speech.projects.locations.customClasses.list
speech.projects.locations.customClasses.list: false;
speech.projects.locations.customClasses.patch
speech.projects.locations.customClasses.patch: true;
speech.projects.locations.phraseSets.create
speech.projects.locations.phraseSets.create: true;
speech.projects.locations.phraseSets.delete
speech.projects.locations.phraseSets.delete: false;
speech.projects.locations.phraseSets.get
speech.projects.locations.phraseSets.get: false;
speech.projects.locations.phraseSets.list
speech.projects.locations.phraseSets.list: false;
speech.projects.locations.phraseSets.patch
speech.projects.locations.phraseSets.patch: true;
speech.speech.longrunningrecognize
speech.speech.longrunningrecognize: true;
speech.speech.recognize
speech.speech.recognize: true;
texttospeech.operations.cancel
texttospeech.operations.cancel: true;
texttospeech.operations.delete
texttospeech.operations.delete: false;
texttospeech.projects.locations.operations.get
texttospeech.projects.locations.operations.get: false;
texttospeech.projects.locations.operations.list
texttospeech.projects.locations.operations.list: false;
texttospeech.projects.locations.synthesizeLongAudio
texttospeech.projects.locations.synthesizeLongAudio: true;
texttospeech.text.synthesize
texttospeech.text.synthesize: true;
texttospeech.voices.list
texttospeech.voices.list: false;

GoogleSpeechFullApiOperationResponseMap

Properties

speech.operations.get
speech.operations.get: GoogleSpeechFullApiSchemaOperation;
speech.operations.list
speech.operations.list: GoogleSpeechFullApiSchemaListOperationsResponse;
speech.projects.locations.customClasses.create
speech.projects.locations.customClasses.create: GoogleSpeechFullApiSchemaCustomClass;
speech.projects.locations.customClasses.delete
speech.projects.locations.customClasses.delete: GoogleSpeechFullApiSchemaEmpty;
speech.projects.locations.customClasses.get
speech.projects.locations.customClasses.get: GoogleSpeechFullApiSchemaCustomClass;
speech.projects.locations.customClasses.list
speech.projects.locations.customClasses.list: GoogleSpeechFullApiSchemaListCustomClassesResponse;
speech.projects.locations.customClasses.patch
speech.projects.locations.customClasses.patch: GoogleSpeechFullApiSchemaCustomClass;
speech.projects.locations.phraseSets.create
speech.projects.locations.phraseSets.create: GoogleSpeechFullApiSchemaPhraseSet;
speech.projects.locations.phraseSets.delete
speech.projects.locations.phraseSets.delete: GoogleSpeechFullApiSchemaEmpty;
speech.projects.locations.phraseSets.get
speech.projects.locations.phraseSets.get: GoogleSpeechFullApiSchemaPhraseSet;
speech.projects.locations.phraseSets.list
speech.projects.locations.phraseSets.list: GoogleSpeechFullApiSchemaListPhraseSetResponse;
speech.projects.locations.phraseSets.patch
speech.projects.locations.phraseSets.patch: GoogleSpeechFullApiSchemaPhraseSet;
speech.speech.longrunningrecognize
speech.speech.longrunningrecognize: GoogleSpeechFullApiSchemaOperation;
speech.speech.recognize
speech.speech.recognize: GoogleSpeechFullApiSchemaRecognizeResponse;
texttospeech.operations.cancel
texttospeech.operations.cancel: GoogleSpeechFullApiSchemaEmpty2;
texttospeech.operations.delete
texttospeech.operations.delete: GoogleSpeechFullApiSchemaEmpty2;
texttospeech.projects.locations.operations.get
texttospeech.projects.locations.operations.get: GoogleSpeechFullApiSchemaOperation2;
texttospeech.projects.locations.operations.list
texttospeech.projects.locations.operations.list: GoogleSpeechFullApiSchemaListOperationsResponse2;
texttospeech.projects.locations.synthesizeLongAudio
texttospeech.projects.locations.synthesizeLongAudio: GoogleSpeechFullApiSchemaOperation2;
texttospeech.text.synthesize
texttospeech.text.synthesize: GoogleSpeechFullApiSchemaSynthesizeSpeechResponse;
texttospeech.voices.list
texttospeech.voices.list: GoogleSpeechFullApiSchemaListVoicesResponse;

GoogleSpeechFullApiSpec

Properties

docsUrl
docsUrl: string;
id
id: string;
label
label: string;
operationCount
operationCount: number;
pathCount?
optional pathCount?: number;
revision?
optional revision?: string;
sourceUrl
sourceUrl: string;
swagger?
optional swagger?: string;
title?
optional title?: string;
version
version: string;

GoogleSpeechJsonObject

Indexable

[key: string]: GoogleSpeechJsonValue

GoogleSpeechOperationRequestInput

Properties

body?
optional body?: GoogleSpeechJsonValue;
contentType?
optional contentType?: string;
headers?
optional headers?: Record<string, string>;
pathParams?
optional pathParams?: Record<string, string | number>;
query?
optional query?: Record<string, GoogleSpeechJsonValue | undefined>;
responseType?
optional responseType?: "response" | "json" | "arrayBuffer" | "stream";

GoogleSpeechToTextInput

Properties

audio
audio: Uint8Array;
enableAutomaticPunctuation?
optional enableAutomaticPunctuation?: boolean;
encoding?
optional encoding?: string;
languageCode?
optional languageCode?: string;
maxAlternatives?
optional maxAlternatives?: number;
model?
optional model?: string;
profanityFilter?
optional profanityFilter?: boolean;
sampleRate?
optional sampleRate?: number;
signal?
optional signal?: AbortSignal;
useEnhanced?
optional useEnhanced?: boolean;

GoogleSpeechToTextResult

Properties

confidence?
optional confidence?: number;
languageCode?
optional languageCode?: string;
raw?
optional raw?: GoogleSpeechJsonObject;
requestId?
optional requestId?: string;
text
text: string;
totalBilledTime?
optional totalBilledTime?: string;

GoogleSpeechVoiceProviderOptions

Extends

  • Omit\<Partial\<SpeechPipelineVoiceProviderOptions>, "provider" | "transcriptionSource" | "transcribe" | "synthesize">

Properties

accessToken?
optional accessToken?: string;
audioEncoding?
optional audioEncoding?: string;
client?
optional client?: GoogleSpeechClient;
effectsProfileId?
optional effectsProfileId?: readonly string[];
enableAutomaticPunctuation?
optional enableAutomaticPunctuation?: boolean;
endSilenceMs?
optional endSilenceMs?: number;
Inherited from
Omit.endSilenceMs
fetch?
optional fetch?: {
  (input, init?): Promise<Response>;
  (input, init?): Promise<Response>;
};
Call Signature
(input, init?): Promise<Response>;

MDN Reference

Parameters
Parameter Type
input URL | RequestInfo
init? RequestInit
Returns

Promise\<Response>

Call Signature
(input, init?): Promise<Response>;

MDN Reference

Parameters
Parameter Type
input string | Request | URL
init? RequestInit
Returns

Promise\<Response>

getAccessToken?
optional getAccessToken?: GoogleSpeechAccessTokenProvider;
id?
optional id?: string;
Inherited from
Omit.id
languageCode?
optional languageCode?: string;
maxAlternatives?
optional maxAlternatives?: number;
maxSpeechMs?
optional maxSpeechMs?: number;
Inherited from
Omit.maxSpeechMs
minSpeechMs?
optional minSpeechMs?: number;
Inherited from
Omit.minSpeechMs
model?
optional model?: string;
Inherited from
Omit.model
outputSampleRate?
optional outputSampleRate?: number;
pitch?
optional pitch?: number;
profanityFilter?
optional profanityFilter?: boolean;
quotaProjectId?
optional quotaProjectId?: string;
recognitionEncoding?
optional recognitionEncoding?: string;
recognitionModel?
optional recognitionModel?: string;
sampleRate?
optional sampleRate?: number;
Inherited from
Omit.sampleRate
silenceThreshold?
optional silenceThreshold?: number;
Inherited from
Omit.silenceThreshold
speakingRate?
optional speakingRate?: number;
speechToTextEndpoint?
optional speechToTextEndpoint?: string;
ssmlGender?
optional ssmlGender?: string;
stripLinear16WavHeader?
optional stripLinear16WavHeader?: boolean;
textToSpeechEndpoint?
optional textToSpeechEndpoint?: string;
useEnhanced?
optional useEnhanced?: boolean;
voiceLanguageCode?
optional voiceLanguageCode?: string;
voiceName
voiceName: string;
volumeGainDb?
optional volumeGainDb?: number;

GoogleTextToSpeechInput

Properties

audioEncoding?
optional audioEncoding?: string;
effectsProfileId?
optional effectsProfileId?: readonly string[];
languageCode?
optional languageCode?: string;
pitch?
optional pitch?: number;
sampleRateHertz?
optional sampleRateHertz?: number;
signal?
optional signal?: AbortSignal;
speakingRate?
optional speakingRate?: number;
ssmlGender?
optional ssmlGender?: string;
text
text: string;
voiceName?
optional voiceName?: string;
volumeGainDb?
optional volumeGainDb?: number;

Type Aliases

GoogleSpeechAccessTokenProvider

type GoogleSpeechAccessTokenProvider = (input) => string | Promise<string>;

Parameters

Parameter Type
input { signal?: AbortSignal; }
input.signal? AbortSignal

Returns

string | Promise\<string>


GoogleSpeechFullApiOperationId

type GoogleSpeechFullApiOperationId = typeof GOOGLE_SPEECH_FULL_API_OPERATION_OPERATION_IDS[number];

GoogleSpeechFullApiOperationMethod

type GoogleSpeechFullApiOperationMethod = "GET" | "POST" | "PUT" | "PATCH" | "DELETE";

GoogleSpeechFullApiSchemaAdvancedVoiceOptions

type GoogleSpeechFullApiSchemaAdvancedVoiceOptions = GoogleSpeechFullApiSchemaJsonValue;

GoogleSpeechFullApiSchemaAudioConfig

type GoogleSpeechFullApiSchemaAudioConfig = GoogleSpeechFullApiSchemaJsonValue;

GoogleSpeechFullApiSchemaCancelOperationRequest

type GoogleSpeechFullApiSchemaCancelOperationRequest = {
};

GoogleSpeechFullApiSchemaClassItem

type GoogleSpeechFullApiSchemaClassItem = GoogleSpeechFullApiSchemaJsonValue;

GoogleSpeechFullApiSchemaCreateCustomClassRequest

type GoogleSpeechFullApiSchemaCreateCustomClassRequest = {
  customClass?: GoogleSpeechFullApiSchemaCustomClass2;
  customClassId?: string;
};

Properties

customClass?
optional customClass?: GoogleSpeechFullApiSchemaCustomClass2;
customClassId?
optional customClassId?: string;

GoogleSpeechFullApiSchemaCreatePhraseSetRequest

type GoogleSpeechFullApiSchemaCreatePhraseSetRequest = {
  phraseSet?: GoogleSpeechFullApiSchemaPhraseSet2;
  phraseSetId?: string;
};

Properties

phraseSet?
optional phraseSet?: GoogleSpeechFullApiSchemaPhraseSet2;
phraseSetId?
optional phraseSetId?: string;

GoogleSpeechFullApiSchemaCustomClass

type GoogleSpeechFullApiSchemaCustomClass = {
  annotations?: {
   [key: string]: string;
  };
  customClassId?: string;
  deleteTime?: string;
  displayName?: string;
  etag?: string;
  expireTime?: string;
  items?: ReadonlyArray<GoogleSpeechFullApiSchemaClassItem>;
  kmsKeyName?: string;
  kmsKeyVersionName?: string;
  name?: string;
  reconciling?: boolean;
  state?: "STATE_UNSPECIFIED" | "ACTIVE" | "DELETED";
  uid?: string;
};

Properties

annotations?
optional annotations?: {
[key: string]: string;
};
Index Signature
[key: string]: string
customClassId?
optional customClassId?: string;
deleteTime?
optional deleteTime?: string;
displayName?
optional displayName?: string;
etag?
optional etag?: string;
expireTime?
optional expireTime?: string;
items?
optional items?: ReadonlyArray<GoogleSpeechFullApiSchemaClassItem>;
kmsKeyName?
optional kmsKeyName?: string;
kmsKeyVersionName?
optional kmsKeyVersionName?: string;
name?
optional name?: string;
reconciling?
optional reconciling?: boolean;
state?
optional state?: "STATE_UNSPECIFIED" | "ACTIVE" | "DELETED";
uid?
optional uid?: string;

GoogleSpeechFullApiSchemaCustomClass2

type GoogleSpeechFullApiSchemaCustomClass2 = GoogleSpeechFullApiSchemaJsonValue;

GoogleSpeechFullApiSchemaEmpty

type GoogleSpeechFullApiSchemaEmpty = {
};

GoogleSpeechFullApiSchemaEmpty2

type GoogleSpeechFullApiSchemaEmpty2 = {
};

GoogleSpeechFullApiSchemaJsonPrimitive

type GoogleSpeechFullApiSchemaJsonPrimitive = string | number | boolean | null;

GoogleSpeechFullApiSchemaJsonValue

type GoogleSpeechFullApiSchemaJsonValue =
  | GoogleSpeechFullApiSchemaJsonPrimitive
  | readonly GoogleSpeechFullApiSchemaJsonValue[]
  | {
[key: string]: GoogleSpeechFullApiSchemaJsonValue;
};

GoogleSpeechFullApiSchemaListCustomClassesResponse

type GoogleSpeechFullApiSchemaListCustomClassesResponse = {
  customClasses?: ReadonlyArray<GoogleSpeechFullApiSchemaCustomClass2>;
  nextPageToken?: string;
};

Properties

customClasses?
optional customClasses?: ReadonlyArray<GoogleSpeechFullApiSchemaCustomClass2>;
nextPageToken?
optional nextPageToken?: string;

GoogleSpeechFullApiSchemaListOperationsResponse

type GoogleSpeechFullApiSchemaListOperationsResponse = {
  nextPageToken?: string;
  operations?: ReadonlyArray<GoogleSpeechFullApiSchemaOperation3>;
  unreachable?: ReadonlyArray<string>;
};

Properties

nextPageToken?
optional nextPageToken?: string;
operations?
optional operations?: ReadonlyArray<GoogleSpeechFullApiSchemaOperation3>;
unreachable?
optional unreachable?: ReadonlyArray<string>;

GoogleSpeechFullApiSchemaListOperationsResponse2

type GoogleSpeechFullApiSchemaListOperationsResponse2 = {
  nextPageToken?: string;
  operations?: ReadonlyArray<GoogleSpeechFullApiSchemaOperation4>;
  unreachable?: ReadonlyArray<string>;
};

Properties

nextPageToken?
optional nextPageToken?: string;
operations?
optional operations?: ReadonlyArray<GoogleSpeechFullApiSchemaOperation4>;
unreachable?
optional unreachable?: ReadonlyArray<string>;

GoogleSpeechFullApiSchemaListPhraseSetResponse

type GoogleSpeechFullApiSchemaListPhraseSetResponse = {
  nextPageToken?: string;
  phraseSets?: ReadonlyArray<GoogleSpeechFullApiSchemaPhraseSet2>;
};

Properties

nextPageToken?
optional nextPageToken?: string;
phraseSets?
optional phraseSets?: ReadonlyArray<GoogleSpeechFullApiSchemaPhraseSet2>;

GoogleSpeechFullApiSchemaListVoicesResponse

type GoogleSpeechFullApiSchemaListVoicesResponse = {
  voices?: ReadonlyArray<GoogleSpeechFullApiSchemaVoice>;
};

Properties

voices?
optional voices?: ReadonlyArray<GoogleSpeechFullApiSchemaVoice>;

GoogleSpeechFullApiSchemaLongRunningRecognizeRequest

type GoogleSpeechFullApiSchemaLongRunningRecognizeRequest = {
  audio?: GoogleSpeechFullApiSchemaRecognitionAudio;
  config?: GoogleSpeechFullApiSchemaRecognitionConfig;
  outputConfig?: GoogleSpeechFullApiSchemaTranscriptOutputConfig;
};

Properties

audio?
optional audio?: GoogleSpeechFullApiSchemaRecognitionAudio;
config?
optional config?: GoogleSpeechFullApiSchemaRecognitionConfig;
outputConfig?
optional outputConfig?: GoogleSpeechFullApiSchemaTranscriptOutputConfig;

GoogleSpeechFullApiSchemaOperation

type GoogleSpeechFullApiSchemaOperation = {
  done?: boolean;
  error?: GoogleSpeechFullApiSchemaStatus;
  metadata?: {
   [key: string]: GoogleSpeechFullApiSchemaJsonValue;
  };
  name?: string;
  response?: {
   [key: string]: GoogleSpeechFullApiSchemaJsonValue;
  };
};

Properties

done?
optional done?: boolean;
error?
optional error?: GoogleSpeechFullApiSchemaStatus;
metadata?
optional metadata?: {
[key: string]: GoogleSpeechFullApiSchemaJsonValue;
};
Index Signature
[key: string]: GoogleSpeechFullApiSchemaJsonValue
name?
optional name?: string;
response?
optional response?: {
[key: string]: GoogleSpeechFullApiSchemaJsonValue;
};
Index Signature
[key: string]: GoogleSpeechFullApiSchemaJsonValue

GoogleSpeechFullApiSchemaOperation2

type GoogleSpeechFullApiSchemaOperation2 = {
  done?: boolean;
  error?: GoogleSpeechFullApiSchemaStatus2;
  metadata?: {
   [key: string]: GoogleSpeechFullApiSchemaJsonValue;
  };
  name?: string;
  response?: {
   [key: string]: GoogleSpeechFullApiSchemaJsonValue;
  };
};

Properties

done?
optional done?: boolean;
error?
optional error?: GoogleSpeechFullApiSchemaStatus2;
metadata?
optional metadata?: {
[key: string]: GoogleSpeechFullApiSchemaJsonValue;
};
Index Signature
[key: string]: GoogleSpeechFullApiSchemaJsonValue
name?
optional name?: string;
response?
optional response?: {
[key: string]: GoogleSpeechFullApiSchemaJsonValue;
};
Index Signature
[key: string]: GoogleSpeechFullApiSchemaJsonValue

GoogleSpeechFullApiSchemaOperation3

type GoogleSpeechFullApiSchemaOperation3 = GoogleSpeechFullApiSchemaJsonValue;

GoogleSpeechFullApiSchemaOperation4

type GoogleSpeechFullApiSchemaOperation4 = GoogleSpeechFullApiSchemaJsonValue;

GoogleSpeechFullApiSchemaPhrase

type GoogleSpeechFullApiSchemaPhrase = GoogleSpeechFullApiSchemaJsonValue;

GoogleSpeechFullApiSchemaPhraseSet

type GoogleSpeechFullApiSchemaPhraseSet = {
  annotations?: {
   [key: string]: string;
  };
  boost?: number;
  deleteTime?: string;
  displayName?: string;
  etag?: string;
  expireTime?: string;
  kmsKeyName?: string;
  kmsKeyVersionName?: string;
  name?: string;
  phrases?: ReadonlyArray<GoogleSpeechFullApiSchemaPhrase>;
  reconciling?: boolean;
  state?: "STATE_UNSPECIFIED" | "ACTIVE" | "DELETED";
  uid?: string;
};

Properties

annotations?
optional annotations?: {
[key: string]: string;
};
Index Signature
[key: string]: string
boost?
optional boost?: number;
deleteTime?
optional deleteTime?: string;
displayName?
optional displayName?: string;
etag?
optional etag?: string;
expireTime?
optional expireTime?: string;
kmsKeyName?
optional kmsKeyName?: string;
kmsKeyVersionName?
optional kmsKeyVersionName?: string;
name?
optional name?: string;
phrases?
optional phrases?: ReadonlyArray<GoogleSpeechFullApiSchemaPhrase>;
reconciling?
optional reconciling?: boolean;
state?
optional state?: "STATE_UNSPECIFIED" | "ACTIVE" | "DELETED";
uid?
optional uid?: string;

GoogleSpeechFullApiSchemaPhraseSet2

type GoogleSpeechFullApiSchemaPhraseSet2 = GoogleSpeechFullApiSchemaJsonValue;

GoogleSpeechFullApiSchemaRecognitionAudio

type GoogleSpeechFullApiSchemaRecognitionAudio = GoogleSpeechFullApiSchemaJsonValue;

GoogleSpeechFullApiSchemaRecognitionConfig

type GoogleSpeechFullApiSchemaRecognitionConfig = GoogleSpeechFullApiSchemaJsonValue;

GoogleSpeechFullApiSchemaRecognizeRequest

type GoogleSpeechFullApiSchemaRecognizeRequest = {
  audio?: GoogleSpeechFullApiSchemaRecognitionAudio;
  config?: GoogleSpeechFullApiSchemaRecognitionConfig;
};

Properties

audio?
optional audio?: GoogleSpeechFullApiSchemaRecognitionAudio;
config?
optional config?: GoogleSpeechFullApiSchemaRecognitionConfig;

GoogleSpeechFullApiSchemaRecognizeResponse

type GoogleSpeechFullApiSchemaRecognizeResponse = {
  requestId?: string;
  results?: ReadonlyArray<GoogleSpeechFullApiSchemaSpeechRecognitionResult>;
  speechAdaptationInfo?: GoogleSpeechFullApiSchemaSpeechAdaptationInfo;
  totalBilledTime?: string;
  usingLegacyModels?: boolean;
};

Properties

requestId?
optional requestId?: string;
results?
optional results?: ReadonlyArray<GoogleSpeechFullApiSchemaSpeechRecognitionResult>;
speechAdaptationInfo?
optional speechAdaptationInfo?: GoogleSpeechFullApiSchemaSpeechAdaptationInfo;
totalBilledTime?
optional totalBilledTime?: string;
usingLegacyModels?
optional usingLegacyModels?: boolean;

GoogleSpeechFullApiSchemaSpeechAdaptationInfo

type GoogleSpeechFullApiSchemaSpeechAdaptationInfo = GoogleSpeechFullApiSchemaJsonValue;

GoogleSpeechFullApiSchemaSpeechRecognitionResult

type GoogleSpeechFullApiSchemaSpeechRecognitionResult = GoogleSpeechFullApiSchemaJsonValue;

GoogleSpeechFullApiSchemaStatus

type GoogleSpeechFullApiSchemaStatus = GoogleSpeechFullApiSchemaJsonValue;

GoogleSpeechFullApiSchemaStatus2

type GoogleSpeechFullApiSchemaStatus2 = GoogleSpeechFullApiSchemaJsonValue;

GoogleSpeechFullApiSchemaSynthesisInput

type GoogleSpeechFullApiSchemaSynthesisInput = GoogleSpeechFullApiSchemaJsonValue;

GoogleSpeechFullApiSchemaSynthesizeLongAudioRequest

type GoogleSpeechFullApiSchemaSynthesizeLongAudioRequest = {
  audioConfig?: GoogleSpeechFullApiSchemaAudioConfig;
  input?: GoogleSpeechFullApiSchemaSynthesisInput;
  outputGcsUri?: string;
  voice?: GoogleSpeechFullApiSchemaVoiceSelectionParams;
};

Properties

audioConfig?
optional audioConfig?: GoogleSpeechFullApiSchemaAudioConfig;
input?
optional input?: GoogleSpeechFullApiSchemaSynthesisInput;
outputGcsUri?
optional outputGcsUri?: string;
voice?
optional voice?: GoogleSpeechFullApiSchemaVoiceSelectionParams;

GoogleSpeechFullApiSchemaSynthesizeSpeechRequest

type GoogleSpeechFullApiSchemaSynthesizeSpeechRequest = {
  advancedVoiceOptions?: GoogleSpeechFullApiSchemaAdvancedVoiceOptions;
  audioConfig?: GoogleSpeechFullApiSchemaAudioConfig;
  input?: GoogleSpeechFullApiSchemaSynthesisInput;
  voice?: GoogleSpeechFullApiSchemaVoiceSelectionParams;
};

Properties

advancedVoiceOptions?
optional advancedVoiceOptions?: GoogleSpeechFullApiSchemaAdvancedVoiceOptions;
audioConfig?
optional audioConfig?: GoogleSpeechFullApiSchemaAudioConfig;
input?
optional input?: GoogleSpeechFullApiSchemaSynthesisInput;
voice?
optional voice?: GoogleSpeechFullApiSchemaVoiceSelectionParams;

GoogleSpeechFullApiSchemaSynthesizeSpeechResponse

type GoogleSpeechFullApiSchemaSynthesizeSpeechResponse = {
  audioContent?: string;
};

Properties

audioContent?
optional audioContent?: string;

GoogleSpeechFullApiSchemaTranscriptOutputConfig

type GoogleSpeechFullApiSchemaTranscriptOutputConfig = GoogleSpeechFullApiSchemaJsonValue;

GoogleSpeechFullApiSchemaVoice

type GoogleSpeechFullApiSchemaVoice = GoogleSpeechFullApiSchemaJsonValue;

GoogleSpeechFullApiSchemaVoiceSelectionParams

type GoogleSpeechFullApiSchemaVoiceSelectionParams = GoogleSpeechFullApiSchemaJsonValue;

GoogleSpeechGeneratedOperationCaller

type GoogleSpeechGeneratedOperationCaller = <OperationKey>(operationKey, ...args) => Promise<GoogleSpeechFullApiOperationResponseMap[OperationKey]>;

Type Parameters

Type Parameter
OperationKey extends GoogleSpeechFullApiOperationKey

Parameters

Parameter Type
operationKey OperationKey
...args GoogleSpeechFullApiOperationArgs\<OperationKey>

Returns

Promise\<GoogleSpeechFullApiOperationResponseMap[OperationKey]>


GoogleSpeechJsonPrimitive

type GoogleSpeechJsonPrimitive = string | number | boolean | null;

GoogleSpeechJsonValue

type GoogleSpeechJsonValue =
  | GoogleSpeechJsonPrimitive
  | GoogleSpeechJsonObject
  | readonly GoogleSpeechJsonValue[];

GoogleSpeechRecognitionEncoding

type GoogleSpeechRecognitionEncoding =
  | "ENCODING_UNSPECIFIED"
  | "LINEAR16"
  | "FLAC"
  | "MULAW"
  | "AMR"
  | "AMR_WB"
  | "OGG_OPUS"
  | "SPEEX_WITH_HEADER_BYTE"
  | "MP3"
  | "WEBM_OPUS"
  | "ALAW"
  | string;

GoogleSpeechResource

type GoogleSpeechResource = GoogleSpeechJsonValue;

GoogleTextToSpeechAudioEncoding

type GoogleTextToSpeechAudioEncoding =
  | "AUDIO_ENCODING_UNSPECIFIED"
  | "LINEAR16"
  | "MP3"
  | "OGG_OPUS"
  | "MULAW"
  | "ALAW"
  | string;

GoogleTextToSpeechSsmlGender

type GoogleTextToSpeechSsmlGender = "SSML_VOICE_GENDER_UNSPECIFIED" | "MALE" | "FEMALE" | "NEUTRAL" | string;

Variables

GOOGLE_SPEECH_FULL_API_GENERATED_AT

const GOOGLE_SPEECH_FULL_API_GENERATED_AT: "2026-06-18";

GOOGLE_SPEECH_FULL_API_GENERATED_FUNCTION_COUNT

const GOOGLE_SPEECH_FULL_API_GENERATED_FUNCTION_COUNT: 21;

GOOGLE_SPEECH_FULL_API_GENERATED_FUNCTION_NAMES

const GOOGLE_SPEECH_FULL_API_GENERATED_FUNCTION_NAMES: readonly ["SpeechOperationsGet", "SpeechOperationsList", "SpeechProjectsLocationsCustomClassesCreate", "SpeechProjectsLocationsCustomClassesDelete", "SpeechProjectsLocationsCustomClassesGet", "SpeechProjectsLocationsCustomClassesList", "SpeechProjectsLocationsCustomClassesPatch", "SpeechProjectsLocationsPhraseSetsCreate", "SpeechProjectsLocationsPhraseSetsDelete", "SpeechProjectsLocationsPhraseSetsGet", "SpeechProjectsLocationsPhraseSetsList", "SpeechProjectsLocationsPhraseSetsPatch", "SpeechSpeechLongrunningrecognize", "SpeechSpeechRecognize", "TexttospeechOperationsCancel", "TexttospeechOperationsDelete", "TexttospeechProjectsLocationsOperationsGet", "TexttospeechProjectsLocationsOperationsList", "TexttospeechProjectsLocationsSynthesizeLongAudio", "TexttospeechTextSynthesize", "TexttospeechVoicesList"];

GOOGLE_SPEECH_FULL_API_OPERATION_BY_ID

const GOOGLE_SPEECH_FULL_API_OPERATION_BY_ID: Map<string, GoogleSpeechFullApiOperation>;

GOOGLE_SPEECH_FULL_API_OPERATION_BY_OPERATION_ID

const GOOGLE_SPEECH_FULL_API_OPERATION_BY_OPERATION_ID: Map<string, GoogleSpeechFullApiOperation>;

GOOGLE_SPEECH_FULL_API_OPERATION_COUNT

const GOOGLE_SPEECH_FULL_API_OPERATION_COUNT: 21;

GOOGLE_SPEECH_FULL_API_OPERATIONS

const GOOGLE_SPEECH_FULL_API_OPERATIONS: readonly GoogleSpeechFullApiOperation[];

GOOGLE_SPEECH_FULL_API_SPEC

const GOOGLE_SPEECH_FULL_API_SPEC: {
  operationCount: number;
  source: string;
  specs: readonly GoogleSpeechFullApiSpec[];
};

Type Declaration

Name Type
operationCount number
source string
specs readonly GoogleSpeechFullApiSpec[]

GOOGLE_SPEECH_FULL_API_SPEC_SOURCE

const GOOGLE_SPEECH_FULL_API_SPEC_SOURCE: "google-discovery-bundle";

GOOGLE_SPEECH_FULL_API_SPEC_VERSION

const GOOGLE_SPEECH_FULL_API_SPEC_VERSION: "google-speech-discovery-2026-06-18";

GOOGLE_SPEECH_FULL_API_SPECS

const GOOGLE_SPEECH_FULL_API_SPECS: readonly GoogleSpeechFullApiSpec[];

googleSpeechProviderManifest

const googleSpeechProviderManifest: {
  capabilities: {
     audiences?: ("customer-facing" | "internal-support" | "mixed")[];
     capability: string;
     changesWorkflow?: boolean;
     description?: string;
     exposesSensitiveData?: boolean;
     extension?: boolean;
     label?: string;
     metadata?: Record<string, unknown>;
     providerObjects?: {
        description?: string;
        kind: string;
        label?: string;
        metadata?: Record<string, unknown>;
        schemaName?: string;
     }[];
     requiresCredential?: boolean;
     sideEffect?: boolean;
  }[];
  category: string;
  channelAudiences: ("customer-facing" | "internal-support" | "mixed")[];
  coverage: {
     evidence: {
        label: string;
        url?: string;
     }[];
     notes: string[];
     scope:   | "support-workflow-subset"
        | "provider-api-subset"
        | "connector-required"
        | "local-protocol"
        | "full-provider-api";
  };
  credentialRequirements: {
     description?: string;
     id: string;
     label?: string;
     metadata?: Record<string, unknown>;
     required: boolean;
     scopes: string[];
  }[];
  directions: (
     | "receive-only"
     | "send-only"
     | "inbound-only"
     | "outbound-only"
    | "bidirectional")[];
  id: string;
  limitations: string[];
  maintainers: {
     name: string;
     type: "community" | "official" | "unknown" | "partner";
     url?: string;
  }[];
  metadata?: Record<string, unknown>;
  name: string;
  operations: {
     alias: string;
     audience?: "customer-facing" | "internal-support" | "mixed";
     audiences?: ("customer-facing" | "internal-support" | "mixed")[];
     capability: string;
     changesWorkflow?: boolean;
     description?: string;
     exposesSensitiveData?: boolean;
     extension: boolean;
     externallyVisible?: boolean;
     inputSchema?: unknown;
     inputSchemaName?: string;
     inputSchemaRef?: string;
     label?: string;
     metadata?: Record<string, unknown>;
     outputSchema?: unknown;
     outputSchemaName?: string;
     outputSchemaRef?: string;
     providerObject?: string;
     providerObjects?: {
        description?: string;
        kind: string;
        label?: string;
        metadata?: Record<string, unknown>;
        schemaName?: string;
     }[];
     providerOperation?: string;
     requiredPolicyIds?: string[];
     requiresApproval?: boolean;
     requiresCredential?: boolean;
     sideEffect?: boolean;
  }[];
  packageName: string;
  privacyNotes: string[];
  provider: string;
  trustLevel: "community" | "official" | "verified" | "experimental";
};

Type Declaration

Name Type
capabilities { audiences?: ("customer-facing" | "internal-support" | "mixed")[]; capability: string; changesWorkflow?: boolean; description?: string; exposesSensitiveData?: boolean; extension?: boolean; label?: string; metadata?: Record\<string, unknown>; providerObjects?: { description?: string; kind: string; label?: string; metadata?: Record\<string, unknown>; schemaName?: string; }[]; requiresCredential?: boolean; sideEffect?: boolean; }[]
category string
channelAudiences ("customer-facing" | "internal-support" | "mixed")[]
coverage { evidence: { label: string; url?: string; }[]; notes: string[]; scope: | "support-workflow-subset" | "provider-api-subset" | "connector-required" | "local-protocol" | "full-provider-api"; }
coverage.evidence { label: string; url?: string; }[]
coverage.notes string[]
coverage.scope | "support-workflow-subset" | "provider-api-subset" | "connector-required" | "local-protocol" | "full-provider-api"
credentialRequirements { description?: string; id: string; label?: string; metadata?: Record\<string, unknown>; required: boolean; scopes: string[]; }[]
directions ( | "receive-only" | "send-only" | "inbound-only" | "outbound-only" | "bidirectional")[]
id string
limitations string[]
maintainers { name: string; type: "community" | "official" | "unknown" | "partner"; url?: string; }[]
metadata? Record\<string, unknown>
name string
operations { alias: string; audience?: "customer-facing" | "internal-support" | "mixed"; audiences?: ("customer-facing" | "internal-support" | "mixed")[]; capability: string; changesWorkflow?: boolean; description?: string; exposesSensitiveData?: boolean; extension: boolean; externallyVisible?: boolean; inputSchema?: unknown; inputSchemaName?: string; inputSchemaRef?: string; label?: string; metadata?: Record\<string, unknown>; outputSchema?: unknown; outputSchemaName?: string; outputSchemaRef?: string; providerObject?: string; providerObjects?: { description?: string; kind: string; label?: string; metadata?: Record\<string, unknown>; schemaName?: string; }[]; providerOperation?: string; requiredPolicyIds?: string[]; requiresApproval?: boolean; requiresCredential?: boolean; sideEffect?: boolean; }[]
packageName string
privacyNotes string[]
provider string
trustLevel "community" | "official" | "verified" | "experimental"

Functions

createGoogleSpeechClient()

function createGoogleSpeechClient(options): GoogleSpeechClient;

Parameters

Parameter Type
options GoogleSpeechClientOptions

Returns

GoogleSpeechClient


createGoogleSpeechFullApiGeneratedClient()

function createGoogleSpeechFullApiGeneratedClient(callOperation): GoogleSpeechFullApiGeneratedClient;

Parameters

Parameter Type
callOperation GoogleSpeechGeneratedOperationCaller

Returns

GoogleSpeechFullApiGeneratedClient


createGoogleSpeechVoiceProvider()

function createGoogleSpeechVoiceProvider(options): VoiceProvider;

Parameters

Parameter Type
options GoogleSpeechVoiceProviderOptions

Returns

VoiceProvider


googleSpeechCredentialStatuses()

function googleSpeechCredentialStatuses(input): {
  expiresAt?: string;
  message?: string;
  providerPackageId?: string;
  requirementId: string;
  scopes?: string[];
  state:   | "required"
     | "configured"
     | "permission-blocked"
     | "not-required"
     | "missing"
     | "expired"
     | "insufficient-scope"
     | "unavailable";
}[];

Parameters

Parameter Type
input GoogleSpeechCredentialStatusInput

Returns

{ expiresAt?: string; message?: string; providerPackageId?: string; requirementId: string; scopes?: string[]; state: | "required" | "configured" | "permission-blocked" | "not-required" | "missing" | "expired" | "insufficient-scope" | "unavailable"; }[]