Skip to content

Commit

Permalink
feat(speech): update the API
Browse files Browse the repository at this point in the history
#### speech:v1p1beta1

The following keys were added:
- schemas.RecognizeResponse.properties.usingLegacyModels.description
- schemas.RecognizeResponse.properties.usingLegacyModels.type

#### speech:v1

The following keys were added:
- schemas.RecognizeResponse.properties.usingLegacyModels.description
- schemas.RecognizeResponse.properties.usingLegacyModels.type
  • Loading branch information
yoshi-automation authored and bcoe committed Feb 2, 2024
1 parent 7c371a3 commit d77180a
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
6 changes: 5 additions & 1 deletion discovery/speech-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@
}
}
},
"revision": "20231115",
"revision": "20240118",
"rootUrl": "https://speech.googleapis.com/",
"schemas": {
"ABNFGrammar": {
Expand Down Expand Up @@ -1246,6 +1246,10 @@
"description": "When available, billed audio seconds for the corresponding request.",
"format": "google-duration",
"type": "string"
},
"usingLegacyModels": {
"description": "Whether request used legacy asr models (was not automatically migrated to use conformer models).",
"type": "boolean"
}
},
"type": "object"
Expand Down
6 changes: 5 additions & 1 deletion discovery/speech-v1p1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@
}
}
},
"revision": "20231115",
"revision": "20240130",
"rootUrl": "https://speech.googleapis.com/",
"schemas": {
"ABNFGrammar": {
Expand Down Expand Up @@ -1268,6 +1268,10 @@
"description": "When available, billed audio seconds for the corresponding request.",
"format": "google-duration",
"type": "string"
},
"usingLegacyModels": {
"description": "Whether request used legacy asr models (was not automatically migrated to use conformer models).",
"type": "boolean"
}
},
"type": "object"
Expand Down
4 changes: 4 additions & 0 deletions src/apis/speech/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,10 @@ export namespace speech_v1 {
* When available, billed audio seconds for the corresponding request.
*/
totalBilledTime?: string | null;
/**
* Whether request used legacy asr models (was not automatically migrated to use conformer models).
*/
usingLegacyModels?: boolean | null;
}
/**
* Config to enable speaker diarization.
Expand Down
4 changes: 4 additions & 0 deletions src/apis/speech/v1p1beta1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,10 @@ export namespace speech_v1p1beta1 {
* When available, billed audio seconds for the corresponding request.
*/
totalBilledTime?: string | null;
/**
* Whether request used legacy asr models (was not automatically migrated to use conformer models).
*/
usingLegacyModels?: boolean | null;
}
/**
* Config to enable speaker diarization.
Expand Down

0 comments on commit d77180a

Please sign in to comment.