google-api-python-client 2.156.0__py2.py3-none-any.whl → 2.158.0__py2.py3-none-any.whl

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.
Files changed (62) hide show
  1. {google_api_python_client-2.156.0.dist-info → google_api_python_client-2.158.0.dist-info}/METADATA +1 -1
  2. {google_api_python_client-2.156.0.dist-info → google_api_python_client-2.158.0.dist-info}/RECORD +62 -61
  3. googleapiclient/discovery_cache/documents/accesscontextmanager.v1.json +2 -2
  4. googleapiclient/discovery_cache/documents/adsenseplatform.v1alpha.json +55 -1
  5. googleapiclient/discovery_cache/documents/aiplatform.v1.json +2 -2
  6. googleapiclient/discovery_cache/documents/aiplatform.v1beta1.json +33 -4
  7. googleapiclient/discovery_cache/documents/analyticshub.v1.json +74 -2
  8. googleapiclient/discovery_cache/documents/analyticshub.v1beta1.json +29 -1
  9. googleapiclient/discovery_cache/documents/androidenterprise.v1.json +5 -60
  10. googleapiclient/discovery_cache/documents/androidpublisher.v3.json +10 -6
  11. googleapiclient/discovery_cache/documents/apigee.v1.json +32 -1
  12. googleapiclient/discovery_cache/documents/areainsights.v1.json +402 -0
  13. googleapiclient/discovery_cache/documents/bigquery.v2.json +15 -15
  14. googleapiclient/discovery_cache/documents/chat.v1.json +64 -17
  15. googleapiclient/discovery_cache/documents/chromemanagement.v1.json +151 -2
  16. googleapiclient/discovery_cache/documents/cloudsupport.v2.json +1 -1
  17. googleapiclient/discovery_cache/documents/cloudsupport.v2beta.json +1 -1
  18. googleapiclient/discovery_cache/documents/connectors.v1.json +1 -16
  19. googleapiclient/discovery_cache/documents/contactcenterinsights.v1.json +144 -1
  20. googleapiclient/discovery_cache/documents/content.v2.1.json +38 -1
  21. googleapiclient/discovery_cache/documents/css.v1.json +35 -1
  22. googleapiclient/discovery_cache/documents/datamigration.v1.json +42 -8
  23. googleapiclient/discovery_cache/documents/deploymentmanager.v2.json +3 -3
  24. googleapiclient/discovery_cache/documents/deploymentmanager.v2beta.json +3 -3
  25. googleapiclient/discovery_cache/documents/dialogflow.v2.json +234 -1
  26. googleapiclient/discovery_cache/documents/dialogflow.v2beta1.json +183 -2
  27. googleapiclient/discovery_cache/documents/dialogflow.v3.json +230 -1
  28. googleapiclient/discovery_cache/documents/dialogflow.v3beta1.json +253 -1
  29. googleapiclient/discovery_cache/documents/discoveryengine.v1.json +1346 -244
  30. googleapiclient/discovery_cache/documents/discoveryengine.v1alpha.json +1609 -140
  31. googleapiclient/discovery_cache/documents/discoveryengine.v1beta.json +1173 -71
  32. googleapiclient/discovery_cache/documents/dlp.v2.json +13 -3
  33. googleapiclient/discovery_cache/documents/firebase.v1beta1.json +3 -3
  34. googleapiclient/discovery_cache/documents/firebaseml.v2beta.json +42 -1
  35. googleapiclient/discovery_cache/documents/jobs.v3.json +10 -10
  36. googleapiclient/discovery_cache/documents/jobs.v3p1beta1.json +10 -10
  37. googleapiclient/discovery_cache/documents/jobs.v4.json +30 -12
  38. googleapiclient/discovery_cache/documents/merchantapi.products_v1beta.json +38 -1
  39. googleapiclient/discovery_cache/documents/migrationcenter.v1alpha1.json +34 -2
  40. googleapiclient/discovery_cache/documents/monitoring.v1.json +35 -1
  41. googleapiclient/discovery_cache/documents/places.v1.json +2 -2
  42. googleapiclient/discovery_cache/documents/pubsub.v1.json +2 -2
  43. googleapiclient/discovery_cache/documents/retail.v2.json +35 -30
  44. googleapiclient/discovery_cache/documents/retail.v2alpha.json +35 -30
  45. googleapiclient/discovery_cache/documents/retail.v2beta.json +35 -30
  46. googleapiclient/discovery_cache/documents/run.v2.json +6 -1
  47. googleapiclient/discovery_cache/documents/runtimeconfig.v1.json +2 -2
  48. googleapiclient/discovery_cache/documents/serviceconsumermanagement.v1.json +5 -1
  49. googleapiclient/discovery_cache/documents/serviceusage.v1.json +14 -6
  50. googleapiclient/discovery_cache/documents/serviceusage.v1beta1.json +14 -6
  51. googleapiclient/discovery_cache/documents/sqladmin.v1.json +1 -2
  52. googleapiclient/discovery_cache/documents/sqladmin.v1beta4.json +1 -2
  53. googleapiclient/discovery_cache/documents/testing.v1.json +2 -2
  54. googleapiclient/discovery_cache/documents/texttospeech.v1.json +5 -3
  55. googleapiclient/discovery_cache/documents/texttospeech.v1beta1.json +5 -3
  56. googleapiclient/discovery_cache/documents/translate.v3.json +10 -2
  57. googleapiclient/discovery_cache/documents/translate.v3beta1.json +7 -3
  58. googleapiclient/discovery_cache/documents/youtube.v3.json +2 -2
  59. googleapiclient/version.py +1 -1
  60. {google_api_python_client-2.156.0.dist-info → google_api_python_client-2.158.0.dist-info}/LICENSE +0 -0
  61. {google_api_python_client-2.156.0.dist-info → google_api_python_client-2.158.0.dist-info}/WHEEL +0 -0
  62. {google_api_python_client-2.156.0.dist-info → google_api_python_client-2.158.0.dist-info}/top_level.txt +0 -0
@@ -8714,7 +8714,7 @@
8714
8714
  }
8715
8715
  }
8716
8716
  },
8717
- "revision": "20241212",
8717
+ "revision": "20241216",
8718
8718
  "rootUrl": "https://dialogflow.googleapis.com/",
8719
8719
  "schemas": {
8720
8720
  "GoogleCloudDialogflowCxV3AdvancedSettings": {
@@ -14366,6 +14366,10 @@ true
14366
14366
  "$ref": "GoogleCloudDialogflowV2Message",
14367
14367
  "description": "Payload of NEW_MESSAGE event."
14368
14368
  },
14369
+ "newRecognitionResultPayload": {
14370
+ "$ref": "GoogleCloudDialogflowV2StreamingRecognitionResult",
14371
+ "description": "Payload of NEW_RECOGNITION_RESULT event."
14372
+ },
14369
14373
  "type": {
14370
14374
  "description": "The type of the event that this notification refers to.",
14371
14375
  "enum": [
@@ -14374,6 +14378,7 @@ true
14374
14378
  "CONVERSATION_FINISHED",
14375
14379
  "HUMAN_INTERVENTION_NEEDED",
14376
14380
  "NEW_MESSAGE",
14381
+ "NEW_RECOGNITION_RESULT",
14377
14382
  "UNRECOVERABLE_ERROR"
14378
14383
  ],
14379
14384
  "enumDescriptions": [
@@ -14382,6 +14387,7 @@ true
14382
14387
  "An existing conversation has closed. This is fired when a telephone call is terminated, or a conversation is closed via the API.",
14383
14388
  "An existing conversation has received notification from Dialogflow that human intervention is required.",
14384
14389
  "An existing conversation has received a new message, either from API or telephony. It is configured in ConversationProfile.new_message_event_notification_config",
14390
+ "An existing conversation has received a new speech recognition result. This is mainly for delivering intermediate transcripts. The notification is configured in ConversationProfile.new_recognition_event_notification_config.",
14385
14391
  "Unrecoverable error during a telephone call. In general non-recoverable errors only occur if something was misconfigured in the ConversationProfile corresponding to the call. After a non-recoverable error, Dialogflow may stop responding. We don't fire this event: * in an API call because we can directly return the error, or, * when we can recover from an error."
14386
14392
  ],
14387
14393
  "type": "string"
@@ -14566,6 +14572,10 @@ true
14566
14572
  "$ref": "GoogleCloudDialogflowV2NotificationConfig",
14567
14573
  "description": "Configuration for publishing new message events. Event will be sent in format of ConversationEvent"
14568
14574
  },
14575
+ "newRecognitionResultNotificationConfig": {
14576
+ "$ref": "GoogleCloudDialogflowV2NotificationConfig",
14577
+ "description": "Optional. Configuration for publishing transcription intermediate results. Event will be sent in format of ConversationEvent. If configured, the following information will be populated as ConversationEvent Pub/Sub message attributes: - \"participant_id\" - \"participant_role\" - \"message_id\""
14578
+ },
14569
14579
  "notificationConfig": {
14570
14580
  "$ref": "GoogleCloudDialogflowV2NotificationConfig",
14571
14581
  "description": "Configuration for publishing conversation lifecycle events."
@@ -18824,6 +18834,82 @@ true
18824
18834
  },
18825
18835
  "type": "object"
18826
18836
  },
18837
+ "GoogleCloudDialogflowV2SpeechWordInfo": {
18838
+ "description": "Information for a word recognized by the speech recognizer.",
18839
+ "id": "GoogleCloudDialogflowV2SpeechWordInfo",
18840
+ "properties": {
18841
+ "confidence": {
18842
+ "description": "The Speech confidence between 0.0 and 1.0 for this word. A higher number indicates an estimated greater likelihood that the recognized word is correct. The default of 0.0 is a sentinel value indicating that confidence was not set. This field is not guaranteed to be fully stable over time for the same audio input. Users should also not rely on it to always be provided.",
18843
+ "format": "float",
18844
+ "type": "number"
18845
+ },
18846
+ "endOffset": {
18847
+ "description": "Time offset relative to the beginning of the audio that corresponds to the end of the spoken word. This is an experimental feature and the accuracy of the time offset can vary.",
18848
+ "format": "google-duration",
18849
+ "type": "string"
18850
+ },
18851
+ "startOffset": {
18852
+ "description": "Time offset relative to the beginning of the audio that corresponds to the start of the spoken word. This is an experimental feature and the accuracy of the time offset can vary.",
18853
+ "format": "google-duration",
18854
+ "type": "string"
18855
+ },
18856
+ "word": {
18857
+ "description": "The word this info is for.",
18858
+ "type": "string"
18859
+ }
18860
+ },
18861
+ "type": "object"
18862
+ },
18863
+ "GoogleCloudDialogflowV2StreamingRecognitionResult": {
18864
+ "description": "Contains a speech recognition result corresponding to a portion of the audio that is currently being processed or an indication that this is the end of the single requested utterance. While end-user audio is being processed, Dialogflow sends a series of results. Each result may contain a `transcript` value. A transcript represents a portion of the utterance. While the recognizer is processing audio, transcript values may be interim values or finalized values. Once a transcript is finalized, the `is_final` value is set to true and processing continues for the next transcript. If `StreamingDetectIntentRequest.query_input.audio_config.single_utterance` was true, and the recognizer has completed processing audio, the `message_type` value is set to `END_OF_SINGLE_UTTERANCE and the following (last) result contains the last finalized transcript. The complete end-user utterance is determined by concatenating the finalized transcript values received for the series of results. In the following example, single utterance is enabled. In the case where single utterance is not enabled, result 7 would not occur. ``` Num | transcript | message_type | is_final --- | ----------------------- | ----------------------- | -------- 1 | \"tube\" | TRANSCRIPT | false 2 | \"to be a\" | TRANSCRIPT | false 3 | \"to be\" | TRANSCRIPT | false 4 | \"to be or not to be\" | TRANSCRIPT | true 5 | \"that's\" | TRANSCRIPT | false 6 | \"that is | TRANSCRIPT | false 7 | unset | END_OF_SINGLE_UTTERANCE | unset 8 | \" that is the question\" | TRANSCRIPT | true ``` Concatenating the finalized transcripts with `is_final` set to true, the complete utterance becomes \"to be or not to be that is the question\".",
18865
+ "id": "GoogleCloudDialogflowV2StreamingRecognitionResult",
18866
+ "properties": {
18867
+ "confidence": {
18868
+ "description": "The Speech confidence between 0.0 and 1.0 for the current portion of audio. A higher number indicates an estimated greater likelihood that the recognized words are correct. The default of 0.0 is a sentinel value indicating that confidence was not set. This field is typically only provided if `is_final` is true and you should not rely on it being accurate or even set.",
18869
+ "format": "float",
18870
+ "type": "number"
18871
+ },
18872
+ "isFinal": {
18873
+ "description": "If `false`, the `StreamingRecognitionResult` represents an interim result that may change. If `true`, the recognizer will not return any further hypotheses about this piece of the audio. May only be populated for `message_type` = `TRANSCRIPT`.",
18874
+ "type": "boolean"
18875
+ },
18876
+ "languageCode": {
18877
+ "description": "Detected language code for the transcript.",
18878
+ "type": "string"
18879
+ },
18880
+ "messageType": {
18881
+ "description": "Type of the result message.",
18882
+ "enum": [
18883
+ "MESSAGE_TYPE_UNSPECIFIED",
18884
+ "TRANSCRIPT",
18885
+ "END_OF_SINGLE_UTTERANCE"
18886
+ ],
18887
+ "enumDescriptions": [
18888
+ "Not specified. Should never be used.",
18889
+ "Message contains a (possibly partial) transcript.",
18890
+ "This event indicates that the server has detected the end of the user's speech utterance and expects no additional inputs. Therefore, the server will not process additional audio (although it may subsequently return additional results). The client should stop sending additional audio data, half-close the gRPC connection, and wait for any additional results until the server closes the gRPC connection. This message is only sent if `single_utterance` was set to `true`, and is not used otherwise."
18891
+ ],
18892
+ "type": "string"
18893
+ },
18894
+ "speechEndOffset": {
18895
+ "description": "Time offset of the end of this Speech recognition result relative to the beginning of the audio. Only populated for `message_type` = `TRANSCRIPT`.",
18896
+ "format": "google-duration",
18897
+ "type": "string"
18898
+ },
18899
+ "speechWordInfo": {
18900
+ "description": "Word-specific information for the words recognized by Speech in transcript. Populated if and only if `message_type` = `TRANSCRIPT` and [InputAudioConfig.enable_word_info] is set.",
18901
+ "items": {
18902
+ "$ref": "GoogleCloudDialogflowV2SpeechWordInfo"
18903
+ },
18904
+ "type": "array"
18905
+ },
18906
+ "transcript": {
18907
+ "description": "Transcript text representing the words that the user spoke. Populated if and only if `message_type` = `TRANSCRIPT`.",
18908
+ "type": "string"
18909
+ }
18910
+ },
18911
+ "type": "object"
18912
+ },
18827
18913
  "GoogleCloudDialogflowV2SuggestArticlesRequest": {
18828
18914
  "description": "The request message for Participants.SuggestArticles.",
18829
18915
  "id": "GoogleCloudDialogflowV2SuggestArticlesRequest",
@@ -19727,6 +19813,10 @@ true
19727
19813
  "$ref": "GoogleCloudDialogflowV2beta1Message",
19728
19814
  "description": "Payload of NEW_MESSAGE event."
19729
19815
  },
19816
+ "newRecognitionResultPayload": {
19817
+ "$ref": "GoogleCloudDialogflowV2beta1StreamingRecognitionResult",
19818
+ "description": "Payload of NEW_RECOGNITION_RESULT event."
19819
+ },
19730
19820
  "type": {
19731
19821
  "description": "Required. The type of the event that this notification refers to.",
19732
19822
  "enum": [
@@ -19735,6 +19825,7 @@ true
19735
19825
  "CONVERSATION_FINISHED",
19736
19826
  "HUMAN_INTERVENTION_NEEDED",
19737
19827
  "NEW_MESSAGE",
19828
+ "NEW_RECOGNITION_RESULT",
19738
19829
  "UNRECOVERABLE_ERROR"
19739
19830
  ],
19740
19831
  "enumDescriptions": [
@@ -19743,6 +19834,7 @@ true
19743
19834
  "An existing conversation has closed. This is fired when a telephone call is terminated, or a conversation is closed via the API.",
19744
19835
  "An existing conversation has received notification from Dialogflow that human intervention is required.",
19745
19836
  "An existing conversation has received a new message, either from API or telephony. It is configured in ConversationProfile.new_message_event_notification_config",
19837
+ "An existing conversation has received a new speech recognition result. This is mainly for delivering intermediate transcripts. The notification is configured in ConversationProfile.new_recognition_event_notification_config.",
19746
19838
  "Unrecoverable error during a telephone call. In general non-recoverable errors only occur if something was misconfigured in the ConversationProfile corresponding to the call. After a non-recoverable error, Dialogflow may stop responding. We don't fire this event: * in an API call because we can directly return the error, or, * when we can recover from an error."
19747
19839
  ],
19748
19840
  "type": "string"
@@ -21890,6 +21982,95 @@ true
21890
21982
  },
21891
21983
  "type": "object"
21892
21984
  },
21985
+ "GoogleCloudDialogflowV2beta1SpeechWordInfo": {
21986
+ "description": "Information for a word recognized by the speech recognizer.",
21987
+ "id": "GoogleCloudDialogflowV2beta1SpeechWordInfo",
21988
+ "properties": {
21989
+ "confidence": {
21990
+ "description": "The Speech confidence between 0.0 and 1.0 for this word. A higher number indicates an estimated greater likelihood that the recognized word is correct. The default of 0.0 is a sentinel value indicating that confidence was not set. This field is not guaranteed to be fully stable over time for the same audio input. Users should also not rely on it to always be provided.",
21991
+ "format": "float",
21992
+ "type": "number"
21993
+ },
21994
+ "endOffset": {
21995
+ "description": "Time offset relative to the beginning of the audio that corresponds to the end of the spoken word. This is an experimental feature and the accuracy of the time offset can vary.",
21996
+ "format": "google-duration",
21997
+ "type": "string"
21998
+ },
21999
+ "startOffset": {
22000
+ "description": "Time offset relative to the beginning of the audio that corresponds to the start of the spoken word. This is an experimental feature and the accuracy of the time offset can vary.",
22001
+ "format": "google-duration",
22002
+ "type": "string"
22003
+ },
22004
+ "word": {
22005
+ "description": "The word this info is for.",
22006
+ "type": "string"
22007
+ }
22008
+ },
22009
+ "type": "object"
22010
+ },
22011
+ "GoogleCloudDialogflowV2beta1StreamingRecognitionResult": {
22012
+ "description": "Contains a speech recognition result corresponding to a portion of the audio that is currently being processed or an indication that this is the end of the single requested utterance. While end-user audio is being processed, Dialogflow sends a series of results. Each result may contain a `transcript` value. A transcript represents a portion of the utterance. While the recognizer is processing audio, transcript values may be interim values or finalized values. Once a transcript is finalized, the `is_final` value is set to true and processing continues for the next transcript. If `StreamingDetectIntentRequest.query_input.audio_config.single_utterance` was true, and the recognizer has completed processing audio, the `message_type` value is set to `END_OF_SINGLE_UTTERANCE and the following (last) result contains the last finalized transcript. The complete end-user utterance is determined by concatenating the finalized transcript values received for the series of results. In the following example, single utterance is enabled. In the case where single utterance is not enabled, result 7 would not occur. ``` Num | transcript | message_type | is_final --- | ----------------------- | ----------------------- | -------- 1 | \"tube\" | TRANSCRIPT | false 2 | \"to be a\" | TRANSCRIPT | false 3 | \"to be\" | TRANSCRIPT | false 4 | \"to be or not to be\" | TRANSCRIPT | true 5 | \"that's\" | TRANSCRIPT | false 6 | \"that is | TRANSCRIPT | false 7 | unset | END_OF_SINGLE_UTTERANCE | unset 8 | \" that is the question\" | TRANSCRIPT | true ``` Concatenating the finalized transcripts with `is_final` set to true, the complete utterance becomes \"to be or not to be that is the question\".",
22013
+ "id": "GoogleCloudDialogflowV2beta1StreamingRecognitionResult",
22014
+ "properties": {
22015
+ "confidence": {
22016
+ "description": "The Speech confidence between 0.0 and 1.0 for the current portion of audio. A higher number indicates an estimated greater likelihood that the recognized words are correct. The default of 0.0 is a sentinel value indicating that confidence was not set. This field is typically only provided if `is_final` is true and you should not rely on it being accurate or even set.",
22017
+ "format": "float",
22018
+ "type": "number"
22019
+ },
22020
+ "dtmfDigits": {
22021
+ "$ref": "GoogleCloudDialogflowV2beta1TelephonyDtmfEvents",
22022
+ "description": "DTMF digits. Populated if and only if `message_type` = `DTMF_DIGITS`."
22023
+ },
22024
+ "isFinal": {
22025
+ "description": "If `false`, the `StreamingRecognitionResult` represents an interim result that may change. If `true`, the recognizer will not return any further hypotheses about this piece of the audio. May only be populated for `message_type` = `TRANSCRIPT`.",
22026
+ "type": "boolean"
22027
+ },
22028
+ "languageCode": {
22029
+ "description": "Detected language code for the transcript.",
22030
+ "type": "string"
22031
+ },
22032
+ "messageType": {
22033
+ "description": "Type of the result message.",
22034
+ "enum": [
22035
+ "MESSAGE_TYPE_UNSPECIFIED",
22036
+ "TRANSCRIPT",
22037
+ "DTMF_DIGITS",
22038
+ "END_OF_SINGLE_UTTERANCE",
22039
+ "PARTIAL_DTMF_DIGITS"
22040
+ ],
22041
+ "enumDescriptions": [
22042
+ "Not specified. Should never be used.",
22043
+ "Message contains a (possibly partial) transcript.",
22044
+ "Message contains DTMF digits.",
22045
+ "This event indicates that the server has detected the end of the user's speech utterance and expects no additional speech. Therefore, the server will not process additional audio (although it may subsequently return additional results). The client should stop sending additional audio data, half-close the gRPC connection, and wait for any additional results until the server closes the gRPC connection. This message is only sent if `single_utterance` was set to `true`, and is not used otherwise.",
22046
+ "Message contains DTMF digits. Before a message with DTMF_DIGITS is sent, a message with PARTIAL_DTMF_DIGITS may be sent with DTMF digits collected up to the time of sending, which represents an intermediate result."
22047
+ ],
22048
+ "type": "string"
22049
+ },
22050
+ "speechEndOffset": {
22051
+ "description": "Time offset of the end of this Speech recognition result relative to the beginning of the audio. Only populated for `message_type` = `TRANSCRIPT`.",
22052
+ "format": "google-duration",
22053
+ "type": "string"
22054
+ },
22055
+ "speechWordInfo": {
22056
+ "description": "Word-specific information for the words recognized by Speech in transcript. Populated if and only if `message_type` = `TRANSCRIPT` and [InputAudioConfig.enable_word_info] is set.",
22057
+ "items": {
22058
+ "$ref": "GoogleCloudDialogflowV2beta1SpeechWordInfo"
22059
+ },
22060
+ "type": "array"
22061
+ },
22062
+ "stability": {
22063
+ "description": "An estimate of the likelihood that the speech recognizer will not change its guess about this interim recognition result: * If the value is unspecified or 0.0, Dialogflow didn't compute the stability. In particular, Dialogflow will only provide stability for `TRANSCRIPT` results with `is_final = false`. * Otherwise, the value is in (0.0, 1.0] where 0.0 means completely unstable and 1.0 means completely stable.",
22064
+ "format": "float",
22065
+ "type": "number"
22066
+ },
22067
+ "transcript": {
22068
+ "description": "Transcript text representing the words that the user spoke. Populated if and only if `message_type` = `TRANSCRIPT`.",
22069
+ "type": "string"
22070
+ }
22071
+ },
22072
+ "type": "object"
22073
+ },
21893
22074
  "GoogleCloudDialogflowV2beta1SuggestArticlesResponse": {
21894
22075
  "description": "The response message for Participants.SuggestArticles.",
21895
22076
  "id": "GoogleCloudDialogflowV2beta1SuggestArticlesResponse",
@@ -22038,6 +22219,58 @@ true
22038
22219
  },
22039
22220
  "type": "object"
22040
22221
  },
22222
+ "GoogleCloudDialogflowV2beta1TelephonyDtmfEvents": {
22223
+ "description": "A wrapper of repeated TelephonyDtmf digits.",
22224
+ "id": "GoogleCloudDialogflowV2beta1TelephonyDtmfEvents",
22225
+ "properties": {
22226
+ "dtmfEvents": {
22227
+ "description": "A sequence of TelephonyDtmf digits.",
22228
+ "items": {
22229
+ "enum": [
22230
+ "TELEPHONY_DTMF_UNSPECIFIED",
22231
+ "DTMF_ONE",
22232
+ "DTMF_TWO",
22233
+ "DTMF_THREE",
22234
+ "DTMF_FOUR",
22235
+ "DTMF_FIVE",
22236
+ "DTMF_SIX",
22237
+ "DTMF_SEVEN",
22238
+ "DTMF_EIGHT",
22239
+ "DTMF_NINE",
22240
+ "DTMF_ZERO",
22241
+ "DTMF_A",
22242
+ "DTMF_B",
22243
+ "DTMF_C",
22244
+ "DTMF_D",
22245
+ "DTMF_STAR",
22246
+ "DTMF_POUND"
22247
+ ],
22248
+ "enumDescriptions": [
22249
+ "Not specified. This value may be used to indicate an absent digit.",
22250
+ "Number: '1'.",
22251
+ "Number: '2'.",
22252
+ "Number: '3'.",
22253
+ "Number: '4'.",
22254
+ "Number: '5'.",
22255
+ "Number: '6'.",
22256
+ "Number: '7'.",
22257
+ "Number: '8'.",
22258
+ "Number: '9'.",
22259
+ "Number: '0'.",
22260
+ "Letter: 'A'.",
22261
+ "Letter: 'B'.",
22262
+ "Letter: 'C'.",
22263
+ "Letter: 'D'.",
22264
+ "Asterisk/star: '*'.",
22265
+ "Pound/diamond/hash/square/gate/octothorpe: '#'."
22266
+ ],
22267
+ "type": "string"
22268
+ },
22269
+ "type": "array"
22270
+ }
22271
+ },
22272
+ "type": "object"
22273
+ },
22041
22274
  "GoogleCloudDialogflowV2beta1WebhookRequest": {
22042
22275
  "description": "The request message for a webhook call.",
22043
22276
  "id": "GoogleCloudDialogflowV2beta1WebhookRequest",
@@ -8239,7 +8239,7 @@
8239
8239
  }
8240
8240
  }
8241
8241
  },
8242
- "revision": "20241212",
8242
+ "revision": "20241216",
8243
8243
  "rootUrl": "https://dialogflow.googleapis.com/",
8244
8244
  "schemas": {
8245
8245
  "GoogleCloudDialogflowCxV3AdvancedSettings": {
@@ -13109,6 +13109,10 @@
13109
13109
  "$ref": "GoogleCloudDialogflowV2Message",
13110
13110
  "description": "Payload of NEW_MESSAGE event."
13111
13111
  },
13112
+ "newRecognitionResultPayload": {
13113
+ "$ref": "GoogleCloudDialogflowV2StreamingRecognitionResult",
13114
+ "description": "Payload of NEW_RECOGNITION_RESULT event."
13115
+ },
13112
13116
  "type": {
13113
13117
  "description": "The type of the event that this notification refers to.",
13114
13118
  "enum": [
@@ -13117,6 +13121,7 @@
13117
13121
  "CONVERSATION_FINISHED",
13118
13122
  "HUMAN_INTERVENTION_NEEDED",
13119
13123
  "NEW_MESSAGE",
13124
+ "NEW_RECOGNITION_RESULT",
13120
13125
  "UNRECOVERABLE_ERROR"
13121
13126
  ],
13122
13127
  "enumDescriptions": [
@@ -13125,6 +13130,7 @@
13125
13130
  "An existing conversation has closed. This is fired when a telephone call is terminated, or a conversation is closed via the API.",
13126
13131
  "An existing conversation has received notification from Dialogflow that human intervention is required.",
13127
13132
  "An existing conversation has received a new message, either from API or telephony. It is configured in ConversationProfile.new_message_event_notification_config",
13133
+ "An existing conversation has received a new speech recognition result. This is mainly for delivering intermediate transcripts. The notification is configured in ConversationProfile.new_recognition_event_notification_config.",
13128
13134
  "Unrecoverable error during a telephone call. In general non-recoverable errors only occur if something was misconfigured in the ConversationProfile corresponding to the call. After a non-recoverable error, Dialogflow may stop responding. We don't fire this event: * in an API call because we can directly return the error, or, * when we can recover from an error."
13129
13135
  ],
13130
13136
  "type": "string"
@@ -15024,6 +15030,82 @@ true
15024
15030
  },
15025
15031
  "type": "object"
15026
15032
  },
15033
+ "GoogleCloudDialogflowV2SpeechWordInfo": {
15034
+ "description": "Information for a word recognized by the speech recognizer.",
15035
+ "id": "GoogleCloudDialogflowV2SpeechWordInfo",
15036
+ "properties": {
15037
+ "confidence": {
15038
+ "description": "The Speech confidence between 0.0 and 1.0 for this word. A higher number indicates an estimated greater likelihood that the recognized word is correct. The default of 0.0 is a sentinel value indicating that confidence was not set. This field is not guaranteed to be fully stable over time for the same audio input. Users should also not rely on it to always be provided.",
15039
+ "format": "float",
15040
+ "type": "number"
15041
+ },
15042
+ "endOffset": {
15043
+ "description": "Time offset relative to the beginning of the audio that corresponds to the end of the spoken word. This is an experimental feature and the accuracy of the time offset can vary.",
15044
+ "format": "google-duration",
15045
+ "type": "string"
15046
+ },
15047
+ "startOffset": {
15048
+ "description": "Time offset relative to the beginning of the audio that corresponds to the start of the spoken word. This is an experimental feature and the accuracy of the time offset can vary.",
15049
+ "format": "google-duration",
15050
+ "type": "string"
15051
+ },
15052
+ "word": {
15053
+ "description": "The word this info is for.",
15054
+ "type": "string"
15055
+ }
15056
+ },
15057
+ "type": "object"
15058
+ },
15059
+ "GoogleCloudDialogflowV2StreamingRecognitionResult": {
15060
+ "description": "Contains a speech recognition result corresponding to a portion of the audio that is currently being processed or an indication that this is the end of the single requested utterance. While end-user audio is being processed, Dialogflow sends a series of results. Each result may contain a `transcript` value. A transcript represents a portion of the utterance. While the recognizer is processing audio, transcript values may be interim values or finalized values. Once a transcript is finalized, the `is_final` value is set to true and processing continues for the next transcript. If `StreamingDetectIntentRequest.query_input.audio_config.single_utterance` was true, and the recognizer has completed processing audio, the `message_type` value is set to `END_OF_SINGLE_UTTERANCE and the following (last) result contains the last finalized transcript. The complete end-user utterance is determined by concatenating the finalized transcript values received for the series of results. In the following example, single utterance is enabled. In the case where single utterance is not enabled, result 7 would not occur. ``` Num | transcript | message_type | is_final --- | ----------------------- | ----------------------- | -------- 1 | \"tube\" | TRANSCRIPT | false 2 | \"to be a\" | TRANSCRIPT | false 3 | \"to be\" | TRANSCRIPT | false 4 | \"to be or not to be\" | TRANSCRIPT | true 5 | \"that's\" | TRANSCRIPT | false 6 | \"that is | TRANSCRIPT | false 7 | unset | END_OF_SINGLE_UTTERANCE | unset 8 | \" that is the question\" | TRANSCRIPT | true ``` Concatenating the finalized transcripts with `is_final` set to true, the complete utterance becomes \"to be or not to be that is the question\".",
15061
+ "id": "GoogleCloudDialogflowV2StreamingRecognitionResult",
15062
+ "properties": {
15063
+ "confidence": {
15064
+ "description": "The Speech confidence between 0.0 and 1.0 for the current portion of audio. A higher number indicates an estimated greater likelihood that the recognized words are correct. The default of 0.0 is a sentinel value indicating that confidence was not set. This field is typically only provided if `is_final` is true and you should not rely on it being accurate or even set.",
15065
+ "format": "float",
15066
+ "type": "number"
15067
+ },
15068
+ "isFinal": {
15069
+ "description": "If `false`, the `StreamingRecognitionResult` represents an interim result that may change. If `true`, the recognizer will not return any further hypotheses about this piece of the audio. May only be populated for `message_type` = `TRANSCRIPT`.",
15070
+ "type": "boolean"
15071
+ },
15072
+ "languageCode": {
15073
+ "description": "Detected language code for the transcript.",
15074
+ "type": "string"
15075
+ },
15076
+ "messageType": {
15077
+ "description": "Type of the result message.",
15078
+ "enum": [
15079
+ "MESSAGE_TYPE_UNSPECIFIED",
15080
+ "TRANSCRIPT",
15081
+ "END_OF_SINGLE_UTTERANCE"
15082
+ ],
15083
+ "enumDescriptions": [
15084
+ "Not specified. Should never be used.",
15085
+ "Message contains a (possibly partial) transcript.",
15086
+ "This event indicates that the server has detected the end of the user's speech utterance and expects no additional inputs. Therefore, the server will not process additional audio (although it may subsequently return additional results). The client should stop sending additional audio data, half-close the gRPC connection, and wait for any additional results until the server closes the gRPC connection. This message is only sent if `single_utterance` was set to `true`, and is not used otherwise."
15087
+ ],
15088
+ "type": "string"
15089
+ },
15090
+ "speechEndOffset": {
15091
+ "description": "Time offset of the end of this Speech recognition result relative to the beginning of the audio. Only populated for `message_type` = `TRANSCRIPT`.",
15092
+ "format": "google-duration",
15093
+ "type": "string"
15094
+ },
15095
+ "speechWordInfo": {
15096
+ "description": "Word-specific information for the words recognized by Speech in transcript. Populated if and only if `message_type` = `TRANSCRIPT` and [InputAudioConfig.enable_word_info] is set.",
15097
+ "items": {
15098
+ "$ref": "GoogleCloudDialogflowV2SpeechWordInfo"
15099
+ },
15100
+ "type": "array"
15101
+ },
15102
+ "transcript": {
15103
+ "description": "Transcript text representing the words that the user spoke. Populated if and only if `message_type` = `TRANSCRIPT`.",
15104
+ "type": "string"
15105
+ }
15106
+ },
15107
+ "type": "object"
15108
+ },
15027
15109
  "GoogleCloudDialogflowV2SuggestArticlesResponse": {
15028
15110
  "description": "The response message for Participants.SuggestArticles.",
15029
15111
  "id": "GoogleCloudDialogflowV2SuggestArticlesResponse",
@@ -15509,7 +15591,7 @@ true
15509
15591
  "description": "The intent to be triggered on V3 agent."
15510
15592
  },
15511
15593
  "messageSendTime": {
15512
- "description": "Optional. The send time of the message from end user or human agent's perspective. It is used for identifying the same message under one participant. Given two messages under the same participant: * If send time are different regardless of whether the content of the messages are exactly the same, the conversation will regard them as two distinct messages sent by the participant. * If send time is the same regardless of whether the content of the messages are exactly the same, the conversation will regard them as same message, and ignore the message received later. If the value is not provided, a new request will always be regarded as a new message without any de-duplication.",
15594
+ "description": "Optional. The send time of the message from end user or human agent's perspective. It is used for identifying the same message under one participant. For BatchCreateMessages API only: Given two messages under the same participant: * If send time are different regardless of whether the content of the messages are exactly the same, the conversation will regard them as two distinct messages sent by the participant. * If send time is the same regardless of whether the content of the messages are exactly the same, the conversation will regard them as same message, and ignore the message received later. If the value is not provided, a new request will always be regarded as a new message without any de-duplication.",
15513
15595
  "format": "google-datetime",
15514
15596
  "type": "string"
15515
15597
  },
@@ -16377,6 +16459,10 @@ true
16377
16459
  "$ref": "GoogleCloudDialogflowV2beta1Message",
16378
16460
  "description": "Payload of NEW_MESSAGE event."
16379
16461
  },
16462
+ "newRecognitionResultPayload": {
16463
+ "$ref": "GoogleCloudDialogflowV2beta1StreamingRecognitionResult",
16464
+ "description": "Payload of NEW_RECOGNITION_RESULT event."
16465
+ },
16380
16466
  "type": {
16381
16467
  "description": "Required. The type of the event that this notification refers to.",
16382
16468
  "enum": [
@@ -16385,6 +16471,7 @@ true
16385
16471
  "CONVERSATION_FINISHED",
16386
16472
  "HUMAN_INTERVENTION_NEEDED",
16387
16473
  "NEW_MESSAGE",
16474
+ "NEW_RECOGNITION_RESULT",
16388
16475
  "UNRECOVERABLE_ERROR"
16389
16476
  ],
16390
16477
  "enumDescriptions": [
@@ -16393,6 +16480,7 @@ true
16393
16480
  "An existing conversation has closed. This is fired when a telephone call is terminated, or a conversation is closed via the API.",
16394
16481
  "An existing conversation has received notification from Dialogflow that human intervention is required.",
16395
16482
  "An existing conversation has received a new message, either from API or telephony. It is configured in ConversationProfile.new_message_event_notification_config",
16483
+ "An existing conversation has received a new speech recognition result. This is mainly for delivering intermediate transcripts. The notification is configured in ConversationProfile.new_recognition_event_notification_config.",
16396
16484
  "Unrecoverable error during a telephone call. In general non-recoverable errors only occur if something was misconfigured in the ConversationProfile corresponding to the call. After a non-recoverable error, Dialogflow may stop responding. We don't fire this event: * in an API call because we can directly return the error, or, * when we can recover from an error."
16397
16485
  ],
16398
16486
  "type": "string"
@@ -16454,6 +16542,10 @@ true
16454
16542
  "$ref": "GoogleCloudDialogflowV2beta1NotificationConfig",
16455
16543
  "description": "Configuration for publishing new message events. Event will be sent in format of ConversationEvent"
16456
16544
  },
16545
+ "newRecognitionResultNotificationConfig": {
16546
+ "$ref": "GoogleCloudDialogflowV2beta1NotificationConfig",
16547
+ "description": "Optional. Configuration for publishing transcription intermediate results. Event will be sent in format of ConversationEvent. If configured, the following information will be populated as ConversationEvent Pub/Sub message attributes: - \"participant_id\" - \"participant_role\" - \"message_id\""
16548
+ },
16457
16549
  "notificationConfig": {
16458
16550
  "$ref": "GoogleCloudDialogflowV2beta1NotificationConfig",
16459
16551
  "description": "Configuration for publishing conversation lifecycle events."
@@ -20935,6 +21027,95 @@ true
20935
21027
  },
20936
21028
  "type": "object"
20937
21029
  },
21030
+ "GoogleCloudDialogflowV2beta1SpeechWordInfo": {
21031
+ "description": "Information for a word recognized by the speech recognizer.",
21032
+ "id": "GoogleCloudDialogflowV2beta1SpeechWordInfo",
21033
+ "properties": {
21034
+ "confidence": {
21035
+ "description": "The Speech confidence between 0.0 and 1.0 for this word. A higher number indicates an estimated greater likelihood that the recognized word is correct. The default of 0.0 is a sentinel value indicating that confidence was not set. This field is not guaranteed to be fully stable over time for the same audio input. Users should also not rely on it to always be provided.",
21036
+ "format": "float",
21037
+ "type": "number"
21038
+ },
21039
+ "endOffset": {
21040
+ "description": "Time offset relative to the beginning of the audio that corresponds to the end of the spoken word. This is an experimental feature and the accuracy of the time offset can vary.",
21041
+ "format": "google-duration",
21042
+ "type": "string"
21043
+ },
21044
+ "startOffset": {
21045
+ "description": "Time offset relative to the beginning of the audio that corresponds to the start of the spoken word. This is an experimental feature and the accuracy of the time offset can vary.",
21046
+ "format": "google-duration",
21047
+ "type": "string"
21048
+ },
21049
+ "word": {
21050
+ "description": "The word this info is for.",
21051
+ "type": "string"
21052
+ }
21053
+ },
21054
+ "type": "object"
21055
+ },
21056
+ "GoogleCloudDialogflowV2beta1StreamingRecognitionResult": {
21057
+ "description": "Contains a speech recognition result corresponding to a portion of the audio that is currently being processed or an indication that this is the end of the single requested utterance. While end-user audio is being processed, Dialogflow sends a series of results. Each result may contain a `transcript` value. A transcript represents a portion of the utterance. While the recognizer is processing audio, transcript values may be interim values or finalized values. Once a transcript is finalized, the `is_final` value is set to true and processing continues for the next transcript. If `StreamingDetectIntentRequest.query_input.audio_config.single_utterance` was true, and the recognizer has completed processing audio, the `message_type` value is set to `END_OF_SINGLE_UTTERANCE and the following (last) result contains the last finalized transcript. The complete end-user utterance is determined by concatenating the finalized transcript values received for the series of results. In the following example, single utterance is enabled. In the case where single utterance is not enabled, result 7 would not occur. ``` Num | transcript | message_type | is_final --- | ----------------------- | ----------------------- | -------- 1 | \"tube\" | TRANSCRIPT | false 2 | \"to be a\" | TRANSCRIPT | false 3 | \"to be\" | TRANSCRIPT | false 4 | \"to be or not to be\" | TRANSCRIPT | true 5 | \"that's\" | TRANSCRIPT | false 6 | \"that is | TRANSCRIPT | false 7 | unset | END_OF_SINGLE_UTTERANCE | unset 8 | \" that is the question\" | TRANSCRIPT | true ``` Concatenating the finalized transcripts with `is_final` set to true, the complete utterance becomes \"to be or not to be that is the question\".",
21058
+ "id": "GoogleCloudDialogflowV2beta1StreamingRecognitionResult",
21059
+ "properties": {
21060
+ "confidence": {
21061
+ "description": "The Speech confidence between 0.0 and 1.0 for the current portion of audio. A higher number indicates an estimated greater likelihood that the recognized words are correct. The default of 0.0 is a sentinel value indicating that confidence was not set. This field is typically only provided if `is_final` is true and you should not rely on it being accurate or even set.",
21062
+ "format": "float",
21063
+ "type": "number"
21064
+ },
21065
+ "dtmfDigits": {
21066
+ "$ref": "GoogleCloudDialogflowV2beta1TelephonyDtmfEvents",
21067
+ "description": "DTMF digits. Populated if and only if `message_type` = `DTMF_DIGITS`."
21068
+ },
21069
+ "isFinal": {
21070
+ "description": "If `false`, the `StreamingRecognitionResult` represents an interim result that may change. If `true`, the recognizer will not return any further hypotheses about this piece of the audio. May only be populated for `message_type` = `TRANSCRIPT`.",
21071
+ "type": "boolean"
21072
+ },
21073
+ "languageCode": {
21074
+ "description": "Detected language code for the transcript.",
21075
+ "type": "string"
21076
+ },
21077
+ "messageType": {
21078
+ "description": "Type of the result message.",
21079
+ "enum": [
21080
+ "MESSAGE_TYPE_UNSPECIFIED",
21081
+ "TRANSCRIPT",
21082
+ "DTMF_DIGITS",
21083
+ "END_OF_SINGLE_UTTERANCE",
21084
+ "PARTIAL_DTMF_DIGITS"
21085
+ ],
21086
+ "enumDescriptions": [
21087
+ "Not specified. Should never be used.",
21088
+ "Message contains a (possibly partial) transcript.",
21089
+ "Message contains DTMF digits.",
21090
+ "This event indicates that the server has detected the end of the user's speech utterance and expects no additional speech. Therefore, the server will not process additional audio (although it may subsequently return additional results). The client should stop sending additional audio data, half-close the gRPC connection, and wait for any additional results until the server closes the gRPC connection. This message is only sent if `single_utterance` was set to `true`, and is not used otherwise.",
21091
+ "Message contains DTMF digits. Before a message with DTMF_DIGITS is sent, a message with PARTIAL_DTMF_DIGITS may be sent with DTMF digits collected up to the time of sending, which represents an intermediate result."
21092
+ ],
21093
+ "type": "string"
21094
+ },
21095
+ "speechEndOffset": {
21096
+ "description": "Time offset of the end of this Speech recognition result relative to the beginning of the audio. Only populated for `message_type` = `TRANSCRIPT`.",
21097
+ "format": "google-duration",
21098
+ "type": "string"
21099
+ },
21100
+ "speechWordInfo": {
21101
+ "description": "Word-specific information for the words recognized by Speech in transcript. Populated if and only if `message_type` = `TRANSCRIPT` and [InputAudioConfig.enable_word_info] is set.",
21102
+ "items": {
21103
+ "$ref": "GoogleCloudDialogflowV2beta1SpeechWordInfo"
21104
+ },
21105
+ "type": "array"
21106
+ },
21107
+ "stability": {
21108
+ "description": "An estimate of the likelihood that the speech recognizer will not change its guess about this interim recognition result: * If the value is unspecified or 0.0, Dialogflow didn't compute the stability. In particular, Dialogflow will only provide stability for `TRANSCRIPT` results with `is_final = false`. * Otherwise, the value is in (0.0, 1.0] where 0.0 means completely unstable and 1.0 means completely stable.",
21109
+ "format": "float",
21110
+ "type": "number"
21111
+ },
21112
+ "transcript": {
21113
+ "description": "Transcript text representing the words that the user spoke. Populated if and only if `message_type` = `TRANSCRIPT`.",
21114
+ "type": "string"
21115
+ }
21116
+ },
21117
+ "type": "object"
21118
+ },
20938
21119
  "GoogleCloudDialogflowV2beta1SubAgent": {
20939
21120
  "description": "Contains basic configuration for a sub-agent.",
20940
21121
  "id": "GoogleCloudDialogflowV2beta1SubAgent",