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
@@ -4453,7 +4453,7 @@
4453
4453
  }
4454
4454
  }
4455
4455
  },
4456
- "revision": "20241212",
4456
+ "revision": "20241216",
4457
4457
  "rootUrl": "https://dialogflow.googleapis.com/",
4458
4458
  "schemas": {
4459
4459
  "GoogleCloudDialogflowCxV3AdvancedSettings": {
@@ -12814,6 +12814,10 @@ false
12814
12814
  "$ref": "GoogleCloudDialogflowV2Message",
12815
12815
  "description": "Payload of NEW_MESSAGE event."
12816
12816
  },
12817
+ "newRecognitionResultPayload": {
12818
+ "$ref": "GoogleCloudDialogflowV2StreamingRecognitionResult",
12819
+ "description": "Payload of NEW_RECOGNITION_RESULT event."
12820
+ },
12817
12821
  "type": {
12818
12822
  "description": "The type of the event that this notification refers to.",
12819
12823
  "enum": [
@@ -12822,6 +12826,7 @@ false
12822
12826
  "CONVERSATION_FINISHED",
12823
12827
  "HUMAN_INTERVENTION_NEEDED",
12824
12828
  "NEW_MESSAGE",
12829
+ "NEW_RECOGNITION_RESULT",
12825
12830
  "UNRECOVERABLE_ERROR"
12826
12831
  ],
12827
12832
  "enumDescriptions": [
@@ -12830,6 +12835,7 @@ false
12830
12835
  "An existing conversation has closed. This is fired when a telephone call is terminated, or a conversation is closed via the API.",
12831
12836
  "An existing conversation has received notification from Dialogflow that human intervention is required.",
12832
12837
  "An existing conversation has received a new message, either from API or telephony. It is configured in ConversationProfile.new_message_event_notification_config",
12838
+ "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.",
12833
12839
  "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."
12834
12840
  ],
12835
12841
  "type": "string"
@@ -14729,6 +14735,82 @@ true
14729
14735
  },
14730
14736
  "type": "object"
14731
14737
  },
14738
+ "GoogleCloudDialogflowV2SpeechWordInfo": {
14739
+ "description": "Information for a word recognized by the speech recognizer.",
14740
+ "id": "GoogleCloudDialogflowV2SpeechWordInfo",
14741
+ "properties": {
14742
+ "confidence": {
14743
+ "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.",
14744
+ "format": "float",
14745
+ "type": "number"
14746
+ },
14747
+ "endOffset": {
14748
+ "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.",
14749
+ "format": "google-duration",
14750
+ "type": "string"
14751
+ },
14752
+ "startOffset": {
14753
+ "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.",
14754
+ "format": "google-duration",
14755
+ "type": "string"
14756
+ },
14757
+ "word": {
14758
+ "description": "The word this info is for.",
14759
+ "type": "string"
14760
+ }
14761
+ },
14762
+ "type": "object"
14763
+ },
14764
+ "GoogleCloudDialogflowV2StreamingRecognitionResult": {
14765
+ "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\".",
14766
+ "id": "GoogleCloudDialogflowV2StreamingRecognitionResult",
14767
+ "properties": {
14768
+ "confidence": {
14769
+ "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.",
14770
+ "format": "float",
14771
+ "type": "number"
14772
+ },
14773
+ "isFinal": {
14774
+ "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`.",
14775
+ "type": "boolean"
14776
+ },
14777
+ "languageCode": {
14778
+ "description": "Detected language code for the transcript.",
14779
+ "type": "string"
14780
+ },
14781
+ "messageType": {
14782
+ "description": "Type of the result message.",
14783
+ "enum": [
14784
+ "MESSAGE_TYPE_UNSPECIFIED",
14785
+ "TRANSCRIPT",
14786
+ "END_OF_SINGLE_UTTERANCE"
14787
+ ],
14788
+ "enumDescriptions": [
14789
+ "Not specified. Should never be used.",
14790
+ "Message contains a (possibly partial) transcript.",
14791
+ "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."
14792
+ ],
14793
+ "type": "string"
14794
+ },
14795
+ "speechEndOffset": {
14796
+ "description": "Time offset of the end of this Speech recognition result relative to the beginning of the audio. Only populated for `message_type` = `TRANSCRIPT`.",
14797
+ "format": "google-duration",
14798
+ "type": "string"
14799
+ },
14800
+ "speechWordInfo": {
14801
+ "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.",
14802
+ "items": {
14803
+ "$ref": "GoogleCloudDialogflowV2SpeechWordInfo"
14804
+ },
14805
+ "type": "array"
14806
+ },
14807
+ "transcript": {
14808
+ "description": "Transcript text representing the words that the user spoke. Populated if and only if `message_type` = `TRANSCRIPT`.",
14809
+ "type": "string"
14810
+ }
14811
+ },
14812
+ "type": "object"
14813
+ },
14732
14814
  "GoogleCloudDialogflowV2SuggestArticlesResponse": {
14733
14815
  "description": "The response message for Participants.SuggestArticles.",
14734
14816
  "id": "GoogleCloudDialogflowV2SuggestArticlesResponse",
@@ -15110,6 +15192,10 @@ true
15110
15192
  "$ref": "GoogleCloudDialogflowV2beta1Message",
15111
15193
  "description": "Payload of NEW_MESSAGE event."
15112
15194
  },
15195
+ "newRecognitionResultPayload": {
15196
+ "$ref": "GoogleCloudDialogflowV2beta1StreamingRecognitionResult",
15197
+ "description": "Payload of NEW_RECOGNITION_RESULT event."
15198
+ },
15113
15199
  "type": {
15114
15200
  "description": "Required. The type of the event that this notification refers to.",
15115
15201
  "enum": [
@@ -15118,6 +15204,7 @@ true
15118
15204
  "CONVERSATION_FINISHED",
15119
15205
  "HUMAN_INTERVENTION_NEEDED",
15120
15206
  "NEW_MESSAGE",
15207
+ "NEW_RECOGNITION_RESULT",
15121
15208
  "UNRECOVERABLE_ERROR"
15122
15209
  ],
15123
15210
  "enumDescriptions": [
@@ -15126,6 +15213,7 @@ true
15126
15213
  "An existing conversation has closed. This is fired when a telephone call is terminated, or a conversation is closed via the API.",
15127
15214
  "An existing conversation has received notification from Dialogflow that human intervention is required.",
15128
15215
  "An existing conversation has received a new message, either from API or telephony. It is configured in ConversationProfile.new_message_event_notification_config",
15216
+ "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.",
15129
15217
  "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."
15130
15218
  ],
15131
15219
  "type": "string"
@@ -17273,6 +17361,95 @@ true
17273
17361
  },
17274
17362
  "type": "object"
17275
17363
  },
17364
+ "GoogleCloudDialogflowV2beta1SpeechWordInfo": {
17365
+ "description": "Information for a word recognized by the speech recognizer.",
17366
+ "id": "GoogleCloudDialogflowV2beta1SpeechWordInfo",
17367
+ "properties": {
17368
+ "confidence": {
17369
+ "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.",
17370
+ "format": "float",
17371
+ "type": "number"
17372
+ },
17373
+ "endOffset": {
17374
+ "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.",
17375
+ "format": "google-duration",
17376
+ "type": "string"
17377
+ },
17378
+ "startOffset": {
17379
+ "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.",
17380
+ "format": "google-duration",
17381
+ "type": "string"
17382
+ },
17383
+ "word": {
17384
+ "description": "The word this info is for.",
17385
+ "type": "string"
17386
+ }
17387
+ },
17388
+ "type": "object"
17389
+ },
17390
+ "GoogleCloudDialogflowV2beta1StreamingRecognitionResult": {
17391
+ "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\".",
17392
+ "id": "GoogleCloudDialogflowV2beta1StreamingRecognitionResult",
17393
+ "properties": {
17394
+ "confidence": {
17395
+ "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.",
17396
+ "format": "float",
17397
+ "type": "number"
17398
+ },
17399
+ "dtmfDigits": {
17400
+ "$ref": "GoogleCloudDialogflowV2beta1TelephonyDtmfEvents",
17401
+ "description": "DTMF digits. Populated if and only if `message_type` = `DTMF_DIGITS`."
17402
+ },
17403
+ "isFinal": {
17404
+ "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`.",
17405
+ "type": "boolean"
17406
+ },
17407
+ "languageCode": {
17408
+ "description": "Detected language code for the transcript.",
17409
+ "type": "string"
17410
+ },
17411
+ "messageType": {
17412
+ "description": "Type of the result message.",
17413
+ "enum": [
17414
+ "MESSAGE_TYPE_UNSPECIFIED",
17415
+ "TRANSCRIPT",
17416
+ "DTMF_DIGITS",
17417
+ "END_OF_SINGLE_UTTERANCE",
17418
+ "PARTIAL_DTMF_DIGITS"
17419
+ ],
17420
+ "enumDescriptions": [
17421
+ "Not specified. Should never be used.",
17422
+ "Message contains a (possibly partial) transcript.",
17423
+ "Message contains DTMF digits.",
17424
+ "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.",
17425
+ "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."
17426
+ ],
17427
+ "type": "string"
17428
+ },
17429
+ "speechEndOffset": {
17430
+ "description": "Time offset of the end of this Speech recognition result relative to the beginning of the audio. Only populated for `message_type` = `TRANSCRIPT`.",
17431
+ "format": "google-duration",
17432
+ "type": "string"
17433
+ },
17434
+ "speechWordInfo": {
17435
+ "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.",
17436
+ "items": {
17437
+ "$ref": "GoogleCloudDialogflowV2beta1SpeechWordInfo"
17438
+ },
17439
+ "type": "array"
17440
+ },
17441
+ "stability": {
17442
+ "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.",
17443
+ "format": "float",
17444
+ "type": "number"
17445
+ },
17446
+ "transcript": {
17447
+ "description": "Transcript text representing the words that the user spoke. Populated if and only if `message_type` = `TRANSCRIPT`.",
17448
+ "type": "string"
17449
+ }
17450
+ },
17451
+ "type": "object"
17452
+ },
17276
17453
  "GoogleCloudDialogflowV2beta1SuggestArticlesResponse": {
17277
17454
  "description": "The response message for Participants.SuggestArticles.",
17278
17455
  "id": "GoogleCloudDialogflowV2beta1SuggestArticlesResponse",
@@ -17421,6 +17598,58 @@ true
17421
17598
  },
17422
17599
  "type": "object"
17423
17600
  },
17601
+ "GoogleCloudDialogflowV2beta1TelephonyDtmfEvents": {
17602
+ "description": "A wrapper of repeated TelephonyDtmf digits.",
17603
+ "id": "GoogleCloudDialogflowV2beta1TelephonyDtmfEvents",
17604
+ "properties": {
17605
+ "dtmfEvents": {
17606
+ "description": "A sequence of TelephonyDtmf digits.",
17607
+ "items": {
17608
+ "enum": [
17609
+ "TELEPHONY_DTMF_UNSPECIFIED",
17610
+ "DTMF_ONE",
17611
+ "DTMF_TWO",
17612
+ "DTMF_THREE",
17613
+ "DTMF_FOUR",
17614
+ "DTMF_FIVE",
17615
+ "DTMF_SIX",
17616
+ "DTMF_SEVEN",
17617
+ "DTMF_EIGHT",
17618
+ "DTMF_NINE",
17619
+ "DTMF_ZERO",
17620
+ "DTMF_A",
17621
+ "DTMF_B",
17622
+ "DTMF_C",
17623
+ "DTMF_D",
17624
+ "DTMF_STAR",
17625
+ "DTMF_POUND"
17626
+ ],
17627
+ "enumDescriptions": [
17628
+ "Not specified. This value may be used to indicate an absent digit.",
17629
+ "Number: '1'.",
17630
+ "Number: '2'.",
17631
+ "Number: '3'.",
17632
+ "Number: '4'.",
17633
+ "Number: '5'.",
17634
+ "Number: '6'.",
17635
+ "Number: '7'.",
17636
+ "Number: '8'.",
17637
+ "Number: '9'.",
17638
+ "Number: '0'.",
17639
+ "Letter: 'A'.",
17640
+ "Letter: 'B'.",
17641
+ "Letter: 'C'.",
17642
+ "Letter: 'D'.",
17643
+ "Asterisk/star: '*'.",
17644
+ "Pound/diamond/hash/square/gate/octothorpe: '#'."
17645
+ ],
17646
+ "type": "string"
17647
+ },
17648
+ "type": "array"
17649
+ }
17650
+ },
17651
+ "type": "object"
17652
+ },
17424
17653
  "GoogleCloudDialogflowV2beta1WebhookRequest": {
17425
17654
  "description": "The request message for a webhook call.",
17426
17655
  "id": "GoogleCloudDialogflowV2beta1WebhookRequest",
@@ -5272,7 +5272,7 @@
5272
5272
  }
5273
5273
  }
5274
5274
  },
5275
- "revision": "20241212",
5275
+ "revision": "20241216",
5276
5276
  "rootUrl": "https://dialogflow.googleapis.com/",
5277
5277
  "schemas": {
5278
5278
  "GoogleCloudDialogflowCxV3AdvancedSettings": {
@@ -8468,6 +8468,13 @@
8468
8468
  "responseUtterances": {
8469
8469
  "description": "The output text or the transcript of the output audio in the responses. If multiple output messages are returned, they will be concatenated into one.",
8470
8470
  "type": "string"
8471
+ },
8472
+ "stepMetrics": {
8473
+ "description": "Metrics associated with different processing steps. Names and number of steps depend on the request and can change without a notice.",
8474
+ "items": {
8475
+ "$ref": "GoogleCloudDialogflowCxV3beta1ConversationInteractionStepMetrics"
8476
+ },
8477
+ "type": "array"
8471
8478
  }
8472
8479
  },
8473
8480
  "type": "object"
@@ -8488,6 +8495,22 @@
8488
8495
  },
8489
8496
  "type": "object"
8490
8497
  },
8498
+ "GoogleCloudDialogflowCxV3beta1ConversationInteractionStepMetrics": {
8499
+ "description": "Metrics of each processing step.",
8500
+ "id": "GoogleCloudDialogflowCxV3beta1ConversationInteractionStepMetrics",
8501
+ "properties": {
8502
+ "latency": {
8503
+ "description": "Processing latency of the step.",
8504
+ "format": "google-duration",
8505
+ "type": "string"
8506
+ },
8507
+ "name": {
8508
+ "description": "Name of the request processing step.",
8509
+ "type": "string"
8510
+ }
8511
+ },
8512
+ "type": "object"
8513
+ },
8491
8514
  "GoogleCloudDialogflowCxV3beta1ConversationMetrics": {
8492
8515
  "description": "Represents metrics for the conversation.",
8493
8516
  "id": "GoogleCloudDialogflowCxV3beta1ConversationMetrics",
@@ -15119,6 +15142,10 @@ false
15119
15142
  "$ref": "GoogleCloudDialogflowV2Message",
15120
15143
  "description": "Payload of NEW_MESSAGE event."
15121
15144
  },
15145
+ "newRecognitionResultPayload": {
15146
+ "$ref": "GoogleCloudDialogflowV2StreamingRecognitionResult",
15147
+ "description": "Payload of NEW_RECOGNITION_RESULT event."
15148
+ },
15122
15149
  "type": {
15123
15150
  "description": "The type of the event that this notification refers to.",
15124
15151
  "enum": [
@@ -15127,6 +15154,7 @@ false
15127
15154
  "CONVERSATION_FINISHED",
15128
15155
  "HUMAN_INTERVENTION_NEEDED",
15129
15156
  "NEW_MESSAGE",
15157
+ "NEW_RECOGNITION_RESULT",
15130
15158
  "UNRECOVERABLE_ERROR"
15131
15159
  ],
15132
15160
  "enumDescriptions": [
@@ -15135,6 +15163,7 @@ false
15135
15163
  "An existing conversation has closed. This is fired when a telephone call is terminated, or a conversation is closed via the API.",
15136
15164
  "An existing conversation has received notification from Dialogflow that human intervention is required.",
15137
15165
  "An existing conversation has received a new message, either from API or telephony. It is configured in ConversationProfile.new_message_event_notification_config",
15166
+ "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.",
15138
15167
  "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."
15139
15168
  ],
15140
15169
  "type": "string"
@@ -17034,6 +17063,82 @@ true
17034
17063
  },
17035
17064
  "type": "object"
17036
17065
  },
17066
+ "GoogleCloudDialogflowV2SpeechWordInfo": {
17067
+ "description": "Information for a word recognized by the speech recognizer.",
17068
+ "id": "GoogleCloudDialogflowV2SpeechWordInfo",
17069
+ "properties": {
17070
+ "confidence": {
17071
+ "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.",
17072
+ "format": "float",
17073
+ "type": "number"
17074
+ },
17075
+ "endOffset": {
17076
+ "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.",
17077
+ "format": "google-duration",
17078
+ "type": "string"
17079
+ },
17080
+ "startOffset": {
17081
+ "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.",
17082
+ "format": "google-duration",
17083
+ "type": "string"
17084
+ },
17085
+ "word": {
17086
+ "description": "The word this info is for.",
17087
+ "type": "string"
17088
+ }
17089
+ },
17090
+ "type": "object"
17091
+ },
17092
+ "GoogleCloudDialogflowV2StreamingRecognitionResult": {
17093
+ "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\".",
17094
+ "id": "GoogleCloudDialogflowV2StreamingRecognitionResult",
17095
+ "properties": {
17096
+ "confidence": {
17097
+ "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.",
17098
+ "format": "float",
17099
+ "type": "number"
17100
+ },
17101
+ "isFinal": {
17102
+ "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`.",
17103
+ "type": "boolean"
17104
+ },
17105
+ "languageCode": {
17106
+ "description": "Detected language code for the transcript.",
17107
+ "type": "string"
17108
+ },
17109
+ "messageType": {
17110
+ "description": "Type of the result message.",
17111
+ "enum": [
17112
+ "MESSAGE_TYPE_UNSPECIFIED",
17113
+ "TRANSCRIPT",
17114
+ "END_OF_SINGLE_UTTERANCE"
17115
+ ],
17116
+ "enumDescriptions": [
17117
+ "Not specified. Should never be used.",
17118
+ "Message contains a (possibly partial) transcript.",
17119
+ "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."
17120
+ ],
17121
+ "type": "string"
17122
+ },
17123
+ "speechEndOffset": {
17124
+ "description": "Time offset of the end of this Speech recognition result relative to the beginning of the audio. Only populated for `message_type` = `TRANSCRIPT`.",
17125
+ "format": "google-duration",
17126
+ "type": "string"
17127
+ },
17128
+ "speechWordInfo": {
17129
+ "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.",
17130
+ "items": {
17131
+ "$ref": "GoogleCloudDialogflowV2SpeechWordInfo"
17132
+ },
17133
+ "type": "array"
17134
+ },
17135
+ "transcript": {
17136
+ "description": "Transcript text representing the words that the user spoke. Populated if and only if `message_type` = `TRANSCRIPT`.",
17137
+ "type": "string"
17138
+ }
17139
+ },
17140
+ "type": "object"
17141
+ },
17037
17142
  "GoogleCloudDialogflowV2SuggestArticlesResponse": {
17038
17143
  "description": "The response message for Participants.SuggestArticles.",
17039
17144
  "id": "GoogleCloudDialogflowV2SuggestArticlesResponse",
@@ -17415,6 +17520,10 @@ true
17415
17520
  "$ref": "GoogleCloudDialogflowV2beta1Message",
17416
17521
  "description": "Payload of NEW_MESSAGE event."
17417
17522
  },
17523
+ "newRecognitionResultPayload": {
17524
+ "$ref": "GoogleCloudDialogflowV2beta1StreamingRecognitionResult",
17525
+ "description": "Payload of NEW_RECOGNITION_RESULT event."
17526
+ },
17418
17527
  "type": {
17419
17528
  "description": "Required. The type of the event that this notification refers to.",
17420
17529
  "enum": [
@@ -17423,6 +17532,7 @@ true
17423
17532
  "CONVERSATION_FINISHED",
17424
17533
  "HUMAN_INTERVENTION_NEEDED",
17425
17534
  "NEW_MESSAGE",
17535
+ "NEW_RECOGNITION_RESULT",
17426
17536
  "UNRECOVERABLE_ERROR"
17427
17537
  ],
17428
17538
  "enumDescriptions": [
@@ -17431,6 +17541,7 @@ true
17431
17541
  "An existing conversation has closed. This is fired when a telephone call is terminated, or a conversation is closed via the API.",
17432
17542
  "An existing conversation has received notification from Dialogflow that human intervention is required.",
17433
17543
  "An existing conversation has received a new message, either from API or telephony. It is configured in ConversationProfile.new_message_event_notification_config",
17544
+ "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.",
17434
17545
  "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."
17435
17546
  ],
17436
17547
  "type": "string"
@@ -19578,6 +19689,95 @@ true
19578
19689
  },
19579
19690
  "type": "object"
19580
19691
  },
19692
+ "GoogleCloudDialogflowV2beta1SpeechWordInfo": {
19693
+ "description": "Information for a word recognized by the speech recognizer.",
19694
+ "id": "GoogleCloudDialogflowV2beta1SpeechWordInfo",
19695
+ "properties": {
19696
+ "confidence": {
19697
+ "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.",
19698
+ "format": "float",
19699
+ "type": "number"
19700
+ },
19701
+ "endOffset": {
19702
+ "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.",
19703
+ "format": "google-duration",
19704
+ "type": "string"
19705
+ },
19706
+ "startOffset": {
19707
+ "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.",
19708
+ "format": "google-duration",
19709
+ "type": "string"
19710
+ },
19711
+ "word": {
19712
+ "description": "The word this info is for.",
19713
+ "type": "string"
19714
+ }
19715
+ },
19716
+ "type": "object"
19717
+ },
19718
+ "GoogleCloudDialogflowV2beta1StreamingRecognitionResult": {
19719
+ "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\".",
19720
+ "id": "GoogleCloudDialogflowV2beta1StreamingRecognitionResult",
19721
+ "properties": {
19722
+ "confidence": {
19723
+ "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.",
19724
+ "format": "float",
19725
+ "type": "number"
19726
+ },
19727
+ "dtmfDigits": {
19728
+ "$ref": "GoogleCloudDialogflowV2beta1TelephonyDtmfEvents",
19729
+ "description": "DTMF digits. Populated if and only if `message_type` = `DTMF_DIGITS`."
19730
+ },
19731
+ "isFinal": {
19732
+ "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`.",
19733
+ "type": "boolean"
19734
+ },
19735
+ "languageCode": {
19736
+ "description": "Detected language code for the transcript.",
19737
+ "type": "string"
19738
+ },
19739
+ "messageType": {
19740
+ "description": "Type of the result message.",
19741
+ "enum": [
19742
+ "MESSAGE_TYPE_UNSPECIFIED",
19743
+ "TRANSCRIPT",
19744
+ "DTMF_DIGITS",
19745
+ "END_OF_SINGLE_UTTERANCE",
19746
+ "PARTIAL_DTMF_DIGITS"
19747
+ ],
19748
+ "enumDescriptions": [
19749
+ "Not specified. Should never be used.",
19750
+ "Message contains a (possibly partial) transcript.",
19751
+ "Message contains DTMF digits.",
19752
+ "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.",
19753
+ "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."
19754
+ ],
19755
+ "type": "string"
19756
+ },
19757
+ "speechEndOffset": {
19758
+ "description": "Time offset of the end of this Speech recognition result relative to the beginning of the audio. Only populated for `message_type` = `TRANSCRIPT`.",
19759
+ "format": "google-duration",
19760
+ "type": "string"
19761
+ },
19762
+ "speechWordInfo": {
19763
+ "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.",
19764
+ "items": {
19765
+ "$ref": "GoogleCloudDialogflowV2beta1SpeechWordInfo"
19766
+ },
19767
+ "type": "array"
19768
+ },
19769
+ "stability": {
19770
+ "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.",
19771
+ "format": "float",
19772
+ "type": "number"
19773
+ },
19774
+ "transcript": {
19775
+ "description": "Transcript text representing the words that the user spoke. Populated if and only if `message_type` = `TRANSCRIPT`.",
19776
+ "type": "string"
19777
+ }
19778
+ },
19779
+ "type": "object"
19780
+ },
19581
19781
  "GoogleCloudDialogflowV2beta1SuggestArticlesResponse": {
19582
19782
  "description": "The response message for Participants.SuggestArticles.",
19583
19783
  "id": "GoogleCloudDialogflowV2beta1SuggestArticlesResponse",
@@ -19726,6 +19926,58 @@ true
19726
19926
  },
19727
19927
  "type": "object"
19728
19928
  },
19929
+ "GoogleCloudDialogflowV2beta1TelephonyDtmfEvents": {
19930
+ "description": "A wrapper of repeated TelephonyDtmf digits.",
19931
+ "id": "GoogleCloudDialogflowV2beta1TelephonyDtmfEvents",
19932
+ "properties": {
19933
+ "dtmfEvents": {
19934
+ "description": "A sequence of TelephonyDtmf digits.",
19935
+ "items": {
19936
+ "enum": [
19937
+ "TELEPHONY_DTMF_UNSPECIFIED",
19938
+ "DTMF_ONE",
19939
+ "DTMF_TWO",
19940
+ "DTMF_THREE",
19941
+ "DTMF_FOUR",
19942
+ "DTMF_FIVE",
19943
+ "DTMF_SIX",
19944
+ "DTMF_SEVEN",
19945
+ "DTMF_EIGHT",
19946
+ "DTMF_NINE",
19947
+ "DTMF_ZERO",
19948
+ "DTMF_A",
19949
+ "DTMF_B",
19950
+ "DTMF_C",
19951
+ "DTMF_D",
19952
+ "DTMF_STAR",
19953
+ "DTMF_POUND"
19954
+ ],
19955
+ "enumDescriptions": [
19956
+ "Not specified. This value may be used to indicate an absent digit.",
19957
+ "Number: '1'.",
19958
+ "Number: '2'.",
19959
+ "Number: '3'.",
19960
+ "Number: '4'.",
19961
+ "Number: '5'.",
19962
+ "Number: '6'.",
19963
+ "Number: '7'.",
19964
+ "Number: '8'.",
19965
+ "Number: '9'.",
19966
+ "Number: '0'.",
19967
+ "Letter: 'A'.",
19968
+ "Letter: 'B'.",
19969
+ "Letter: 'C'.",
19970
+ "Letter: 'D'.",
19971
+ "Asterisk/star: '*'.",
19972
+ "Pound/diamond/hash/square/gate/octothorpe: '#'."
19973
+ ],
19974
+ "type": "string"
19975
+ },
19976
+ "type": "array"
19977
+ }
19978
+ },
19979
+ "type": "object"
19980
+ },
19729
19981
  "GoogleCloudDialogflowV2beta1WebhookRequest": {
19730
19982
  "description": "The request message for a webhook call.",
19731
19983
  "id": "GoogleCloudDialogflowV2beta1WebhookRequest",