Skip to content

Commit

Permalink
feat(speech): add model and language_codes fields in `Recognition…
Browse files Browse the repository at this point in the history
…Config` message + enable default `_` recognizer (#8204)

- [ ] Regenerate this pull request now.

Enables specifying `model` and `language_codes` in requests without having to specify them in the Recognizer (they can still be specified in the Recognizer in the `default_recognition_config` field).

Also enables using the recognizer ID `_` to perform recognition without explicitly creating a Recognizer resource.

The top-level `model` and `language_codes` fields are deprecated in favor of the new fields added in the `RecognitionConfig` message. The old fields continue to work.

PiperOrigin-RevId: 545698919

Source-Link: https://togithub.com/googleapis/googleapis/commit/e73fc8ff3b5c3b025254219de1ca8d092dc17e48

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/b77dfdfe3927e409875b2d8913f2574fa00a05a5
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjc3ZGZkZmUzOTI3ZTQwOTg3NWIyZDg5MTNmMjU3NGZhMDBhMDVhNSJ9
  • Loading branch information
gcf-owl-bot[bot] authored Jul 5, 2023
1 parent e8b224a commit f41d56f
Show file tree
Hide file tree
Showing 2 changed files with 1,187 additions and 1,133 deletions.
2 changes: 1 addition & 1 deletion internal/.repo-metadata-full.json
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@
"description": "Container Analysis API",
"language": "go",
"client_library_type": "generated",
"client_documentation": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/latest/containeranalysis/apiv1beta1",
"client_documentation": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/containeranalysis/latest/apiv1beta1",
"release_level": "preview",
"library_type": "GAPIC_AUTO"
},
Expand Down
Loading

0 comments on commit f41d56f

Please sign in to comment.