Skip to content

Commit 3e6b890

Browse files
feat(speech): update the api
#### speech:v1 The following keys were added: - schemas.RecognitionMetadata.deprecated (Total Keys: 1) - schemas.SpeakerDiarizationConfig.properties.speakerTag.deprecated (Total Keys: 1) - schemas.WordInfo.properties.speakerTag.deprecated (Total Keys: 1) #### speech:v1p1beta1 The following keys were added: - schemas.RecognitionConfig.properties.diarizationSpeakerCount.deprecated (Total Keys: 1) - schemas.RecognitionConfig.properties.enableSpeakerDiarization.deprecated (Total Keys: 1) - schemas.RecognitionMetadata.deprecated (Total Keys: 1) - schemas.RecognitionMetadata.properties.obfuscatedId.deprecated (Total Keys: 1) - schemas.SpeakerDiarizationConfig.properties.speakerTag.deprecated (Total Keys: 1) - schemas.WordInfo.properties.speakerTag.deprecated (Total Keys: 1)
1 parent c459cca commit 3e6b890

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

googleapiclient/discovery_cache/documents/speech.v1.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@
524524
}
525525
}
526526
},
527-
"revision": "20230705",
527+
"revision": "20230710",
528528
"rootUrl": "https://speech.googleapis.com/",
529529
"schemas": {
530530
"ABNFGrammar": {
@@ -970,6 +970,7 @@
970970
"type": "object"
971971
},
972972
"RecognitionMetadata": {
973+
"deprecated": true,
973974
"description": "Description of audio data to be recognized.",
974975
"id": "RecognitionMetadata",
975976
"properties": {
@@ -1133,6 +1134,7 @@
11331134
"type": "integer"
11341135
},
11351136
"speakerTag": {
1137+
"deprecated": true,
11361138
"description": "Output only. Unused.",
11371139
"format": "int32",
11381140
"readOnly": true,
@@ -1317,6 +1319,7 @@
13171319
"type": "string"
13181320
},
13191321
"speakerTag": {
1322+
"deprecated": true,
13201323
"description": "Output only. A distinct integer value is assigned for every speaker within the audio. This field specifies which one of those speakers was detected to have spoken this word. Value ranges from '1' to diarization_speaker_count. speaker_tag is set if enable_speaker_diarization = 'true' and only for the top alternative. Note: Use speaker_label instead.",
13211324
"format": "int32",
13221325
"readOnly": true,

googleapiclient/discovery_cache/documents/speech.v1p1beta1.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@
524524
}
525525
}
526526
},
527-
"revision": "20230705",
527+
"revision": "20230710",
528528
"rootUrl": "https://speech.googleapis.com/",
529529
"schemas": {
530530
"ABNFGrammar": {
@@ -904,6 +904,7 @@
904904
"description": "Config to enable speaker diarization and set additional parameters to make diarization better suited for your application. Note: When this is enabled, we send all the words from the beginning of the audio for the top alternative in every consecutive STREAMING responses. This is done in order to improve our speaker tags as our models learn to identify the speakers in the conversation over time. For non-streaming requests, the diarization results will be provided only in the top alternative of the FINAL SpeechRecognitionResult."
905905
},
906906
"diarizationSpeakerCount": {
907+
"deprecated": true,
907908
"description": "If set, specifies the estimated number of speakers in the conversation. Defaults to '2'. Ignored unless enable_speaker_diarization is set to true. Note: Use diarization_config instead.",
908909
"format": "int32",
909910
"type": "integer"
@@ -917,6 +918,7 @@
917918
"type": "boolean"
918919
},
919920
"enableSpeakerDiarization": {
921+
"deprecated": true,
920922
"description": "If 'true', enables speaker detection for each recognized word in the top alternative of the recognition result using a speaker_label provided in the WordInfo. Note: Use diarization_config instead.",
921923
"type": "boolean"
922924
},
@@ -1009,6 +1011,7 @@
10091011
"type": "object"
10101012
},
10111013
"RecognitionMetadata": {
1014+
"deprecated": true,
10121015
"description": "Description of audio data to be recognized.",
10131016
"id": "RecognitionMetadata",
10141017
"properties": {
@@ -1064,6 +1067,7 @@
10641067
"type": "string"
10651068
},
10661069
"obfuscatedId": {
1070+
"deprecated": true,
10671071
"description": "Obfuscated (privacy-protected) ID of the user, to identify number of unique users using the service.",
10681072
"format": "int64",
10691073
"type": "string"
@@ -1177,6 +1181,7 @@
11771181
"type": "integer"
11781182
},
11791183
"speakerTag": {
1184+
"deprecated": true,
11801185
"description": "Output only. Unused.",
11811186
"format": "int32",
11821187
"readOnly": true,
@@ -1375,6 +1380,7 @@
13751380
"type": "string"
13761381
},
13771382
"speakerTag": {
1383+
"deprecated": true,
13781384
"description": "Output only. A distinct integer value is assigned for every speaker within the audio. This field specifies which one of those speakers was detected to have spoken this word. Value ranges from '1' to diarization_speaker_count. speaker_tag is set if enable_speaker_diarization = 'true' and only for the top alternative. Note: Use speaker_label instead.",
13791385
"format": "int32",
13801386
"readOnly": true,

0 commit comments

Comments
 (0)