google-apis-dialogflow_v3beta1 0.91.0 → 0.93.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1876e63a27b5ebc4852399a4ee03b2bd1414fe6af26c79a600c3cefa28481546
4
- data.tar.gz: e34093f6e5447e7919bea46636b7a2adc6039779d057766565a31b40240f7f8e
3
+ metadata.gz: a422eb008e73bdad49e9dea437ec251a4470e4b5fd1ad8663ece2a856494d02a
4
+ data.tar.gz: a42af01ed0fa157cdcfa67c62c90c12cc4f49f6b495fba415bdbb11fad9bdc6e
5
5
  SHA512:
6
- metadata.gz: fe100c14fa4e64d6babbd5e9d877afd2122df50e946f5b67271a6a75e10bb901c8bad38c8a3a9449699ed9e784cc346a5f22dd6d6992dba0bf1a3b9691a633fe
7
- data.tar.gz: 84d74142ada51202212d0a2bccce0b96c4e2c90438d5703f1398771825c62bc6e2dec501d15c3e22427c646c41c5b2ab5c8fe03a8b7ede54762615086a6a8a14
6
+ metadata.gz: 89a01f31d5f92d288fe77463967b1e95d1f496265e56b046aa29f924f7ec33beb1afd9326a0aeae23ceee1164918eea903ecb00d231cdb4d422b05b0889fca4f
7
+ data.tar.gz: 385833af4fe7e27dde1a61e5f3fa0a363740ffcf0d37642ceda6a9cc1cf64697c6c41760b6afd6690478ca8a4e9d6dff60b0034d221921132b2ffdb795fdcbef
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-dialogflow_v3beta1
2
2
 
3
+ ### v0.93.0 (2025-01-12)
4
+
5
+ * Regenerated from discovery document revision 20250103
6
+ * Regenerated using generator version 0.16.0
7
+
8
+ ### v0.92.0 (2024-12-22)
9
+
10
+ * Regenerated from discovery document revision 20241216
11
+
3
12
  ### v0.91.0 (2024-12-15)
4
13
 
5
14
  * Regenerated from discovery document revision 20241212
@@ -4078,6 +4078,20 @@ module Google
4078
4078
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings]
4079
4079
  attr_accessor :personalization_settings
4080
4080
 
4081
+ # Optional. Output only. A read only boolean field reflecting Zone Isolation
4082
+ # status of the agent.
4083
+ # Corresponds to the JSON property `satisfiesPzi`
4084
+ # @return [Boolean]
4085
+ attr_accessor :satisfies_pzi
4086
+ alias_method :satisfies_pzi?, :satisfies_pzi
4087
+
4088
+ # Optional. Output only. A read only boolean field reflecting Zone Separation
4089
+ # status of the agent.
4090
+ # Corresponds to the JSON property `satisfiesPzs`
4091
+ # @return [Boolean]
4092
+ attr_accessor :satisfies_pzs
4093
+ alias_method :satisfies_pzs?, :satisfies_pzs
4094
+
4081
4095
  # Name of the SecuritySettings reference for the agent. Format: `projects//
4082
4096
  # locations//securitySettings/`.
4083
4097
  # Corresponds to the JSON property `securitySettings`
@@ -4145,6 +4159,8 @@ module Google
4145
4159
  @locked = args[:locked] if args.key?(:locked)
4146
4160
  @name = args[:name] if args.key?(:name)
4147
4161
  @personalization_settings = args[:personalization_settings] if args.key?(:personalization_settings)
4162
+ @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
4163
+ @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
4148
4164
  @security_settings = args[:security_settings] if args.key?(:security_settings)
4149
4165
  @speech_to_text_settings = args[:speech_to_text_settings] if args.key?(:speech_to_text_settings)
4150
4166
  @start_flow = args[:start_flow] if args.key?(:start_flow)
@@ -5135,6 +5151,12 @@ module Google
5135
5151
  # @return [String]
5136
5152
  attr_accessor :response_utterances
5137
5153
 
5154
+ # Metrics associated with different processing steps. Names and number of steps
5155
+ # depend on the request and can change without a notice.
5156
+ # Corresponds to the JSON property `stepMetrics`
5157
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationInteractionStepMetrics>]
5158
+ attr_accessor :step_metrics
5159
+
5138
5160
  def initialize(**args)
5139
5161
  update!(**args)
5140
5162
  end
@@ -5149,6 +5171,7 @@ module Google
5149
5171
  @request_utterances = args[:request_utterances] if args.key?(:request_utterances)
5150
5172
  @response = args[:response] if args.key?(:response)
5151
5173
  @response_utterances = args[:response_utterances] if args.key?(:response_utterances)
5174
+ @step_metrics = args[:step_metrics] if args.key?(:step_metrics)
5152
5175
  end
5153
5176
  end
5154
5177
 
@@ -5180,6 +5203,31 @@ module Google
5180
5203
  end
5181
5204
  end
5182
5205
 
5206
+ # Metrics of each processing step.
5207
+ class GoogleCloudDialogflowCxV3beta1ConversationInteractionStepMetrics
5208
+ include Google::Apis::Core::Hashable
5209
+
5210
+ # Processing latency of the step.
5211
+ # Corresponds to the JSON property `latency`
5212
+ # @return [String]
5213
+ attr_accessor :latency
5214
+
5215
+ # Name of the request processing step.
5216
+ # Corresponds to the JSON property `name`
5217
+ # @return [String]
5218
+ attr_accessor :name
5219
+
5220
+ def initialize(**args)
5221
+ update!(**args)
5222
+ end
5223
+
5224
+ # Update properties of this object
5225
+ def update!(**args)
5226
+ @latency = args[:latency] if args.key?(:latency)
5227
+ @name = args[:name] if args.key?(:name)
5228
+ end
5229
+ end
5230
+
5183
5231
  # Represents metrics for the conversation.
5184
5232
  class GoogleCloudDialogflowCxV3beta1ConversationMetrics
5185
5233
  include Google::Apis::Core::Hashable
@@ -10644,6 +10692,11 @@ module Google
10644
10692
  # @return [Array<String>]
10645
10693
  attr_accessor :referenced_tools
10646
10694
 
10695
+ # Define behaviors of speech to text detection.
10696
+ # Corresponds to the JSON property `speechSettings`
10697
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings]
10698
+ attr_accessor :speech_settings
10699
+
10647
10700
  # Output only. Estimated number of tokes current playbook takes when sent to the
10648
10701
  # LLM.
10649
10702
  # Corresponds to the JSON property `tokenCount`
@@ -10672,6 +10725,7 @@ module Google
10672
10725
  @referenced_flows = args[:referenced_flows] if args.key?(:referenced_flows)
10673
10726
  @referenced_playbooks = args[:referenced_playbooks] if args.key?(:referenced_playbooks)
10674
10727
  @referenced_tools = args[:referenced_tools] if args.key?(:referenced_tools)
10728
+ @speech_settings = args[:speech_settings] if args.key?(:speech_settings)
10675
10729
  @token_count = args[:token_count] if args.key?(:token_count)
10676
10730
  @update_time = args[:update_time] if args.key?(:update_time)
10677
10731
  end
@@ -14975,6 +15029,33 @@ module Google
14975
15029
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2Message]
14976
15030
  attr_accessor :new_message_payload
14977
15031
 
15032
+ # Contains a speech recognition result corresponding to a portion of the audio
15033
+ # that is currently being processed or an indication that this is the end of the
15034
+ # single requested utterance. While end-user audio is being processed,
15035
+ # Dialogflow sends a series of results. Each result may contain a `transcript`
15036
+ # value. A transcript represents a portion of the utterance. While the
15037
+ # recognizer is processing audio, transcript values may be interim values or
15038
+ # finalized values. Once a transcript is finalized, the `is_final` value is set
15039
+ # to true and processing continues for the next transcript. If `
15040
+ # StreamingDetectIntentRequest.query_input.audio_config.single_utterance` was
15041
+ # true, and the recognizer has completed processing audio, the `message_type`
15042
+ # value is set to `END_OF_SINGLE_UTTERANCE and the following (last) result
15043
+ # contains the last finalized transcript. The complete end-user utterance is
15044
+ # determined by concatenating the finalized transcript values received for the
15045
+ # series of results. In the following example, single utterance is enabled. In
15046
+ # the case where single utterance is not enabled, result 7 would not occur. ```
15047
+ # Num | transcript | message_type | is_final --- | ----------------------- | ----
15048
+ # ------------------- | -------- 1 | "tube" | TRANSCRIPT | false 2 | "to be a" |
15049
+ # TRANSCRIPT | false 3 | "to be" | TRANSCRIPT | false 4 | "to be or not to be" |
15050
+ # TRANSCRIPT | true 5 | "that's" | TRANSCRIPT | false 6 | "that is | TRANSCRIPT |
15051
+ # false 7 | unset | END_OF_SINGLE_UTTERANCE | unset 8 | " that is the question"
15052
+ # | TRANSCRIPT | true ``` Concatenating the finalized transcripts with `is_final`
15053
+ # set to true, the complete utterance becomes "to be or not to be that is the
15054
+ # question".
15055
+ # Corresponds to the JSON property `newRecognitionResultPayload`
15056
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2StreamingRecognitionResult]
15057
+ attr_accessor :new_recognition_result_payload
15058
+
14978
15059
  # The type of the event that this notification refers to.
14979
15060
  # Corresponds to the JSON property `type`
14980
15061
  # @return [String]
@@ -14989,6 +15070,7 @@ module Google
14989
15070
  @conversation = args[:conversation] if args.key?(:conversation)
14990
15071
  @error_status = args[:error_status] if args.key?(:error_status)
14991
15072
  @new_message_payload = args[:new_message_payload] if args.key?(:new_message_payload)
15073
+ @new_recognition_result_payload = args[:new_recognition_result_payload] if args.key?(:new_recognition_result_payload)
14992
15074
  @type = args[:type] if args.key?(:type)
14993
15075
  end
14994
15076
  end
@@ -17637,6 +17719,140 @@ module Google
17637
17719
  end
17638
17720
  end
17639
17721
 
17722
+ # Information for a word recognized by the speech recognizer.
17723
+ class GoogleCloudDialogflowV2SpeechWordInfo
17724
+ include Google::Apis::Core::Hashable
17725
+
17726
+ # The Speech confidence between 0.0 and 1.0 for this word. A higher number
17727
+ # indicates an estimated greater likelihood that the recognized word is correct.
17728
+ # The default of 0.0 is a sentinel value indicating that confidence was not set.
17729
+ # This field is not guaranteed to be fully stable over time for the same audio
17730
+ # input. Users should also not rely on it to always be provided.
17731
+ # Corresponds to the JSON property `confidence`
17732
+ # @return [Float]
17733
+ attr_accessor :confidence
17734
+
17735
+ # Time offset relative to the beginning of the audio that corresponds to the end
17736
+ # of the spoken word. This is an experimental feature and the accuracy of the
17737
+ # time offset can vary.
17738
+ # Corresponds to the JSON property `endOffset`
17739
+ # @return [String]
17740
+ attr_accessor :end_offset
17741
+
17742
+ # Time offset relative to the beginning of the audio that corresponds to the
17743
+ # start of the spoken word. This is an experimental feature and the accuracy of
17744
+ # the time offset can vary.
17745
+ # Corresponds to the JSON property `startOffset`
17746
+ # @return [String]
17747
+ attr_accessor :start_offset
17748
+
17749
+ # The word this info is for.
17750
+ # Corresponds to the JSON property `word`
17751
+ # @return [String]
17752
+ attr_accessor :word
17753
+
17754
+ def initialize(**args)
17755
+ update!(**args)
17756
+ end
17757
+
17758
+ # Update properties of this object
17759
+ def update!(**args)
17760
+ @confidence = args[:confidence] if args.key?(:confidence)
17761
+ @end_offset = args[:end_offset] if args.key?(:end_offset)
17762
+ @start_offset = args[:start_offset] if args.key?(:start_offset)
17763
+ @word = args[:word] if args.key?(:word)
17764
+ end
17765
+ end
17766
+
17767
+ # Contains a speech recognition result corresponding to a portion of the audio
17768
+ # that is currently being processed or an indication that this is the end of the
17769
+ # single requested utterance. While end-user audio is being processed,
17770
+ # Dialogflow sends a series of results. Each result may contain a `transcript`
17771
+ # value. A transcript represents a portion of the utterance. While the
17772
+ # recognizer is processing audio, transcript values may be interim values or
17773
+ # finalized values. Once a transcript is finalized, the `is_final` value is set
17774
+ # to true and processing continues for the next transcript. If `
17775
+ # StreamingDetectIntentRequest.query_input.audio_config.single_utterance` was
17776
+ # true, and the recognizer has completed processing audio, the `message_type`
17777
+ # value is set to `END_OF_SINGLE_UTTERANCE and the following (last) result
17778
+ # contains the last finalized transcript. The complete end-user utterance is
17779
+ # determined by concatenating the finalized transcript values received for the
17780
+ # series of results. In the following example, single utterance is enabled. In
17781
+ # the case where single utterance is not enabled, result 7 would not occur. ```
17782
+ # Num | transcript | message_type | is_final --- | ----------------------- | ----
17783
+ # ------------------- | -------- 1 | "tube" | TRANSCRIPT | false 2 | "to be a" |
17784
+ # TRANSCRIPT | false 3 | "to be" | TRANSCRIPT | false 4 | "to be or not to be" |
17785
+ # TRANSCRIPT | true 5 | "that's" | TRANSCRIPT | false 6 | "that is | TRANSCRIPT |
17786
+ # false 7 | unset | END_OF_SINGLE_UTTERANCE | unset 8 | " that is the question"
17787
+ # | TRANSCRIPT | true ``` Concatenating the finalized transcripts with `is_final`
17788
+ # set to true, the complete utterance becomes "to be or not to be that is the
17789
+ # question".
17790
+ class GoogleCloudDialogflowV2StreamingRecognitionResult
17791
+ include Google::Apis::Core::Hashable
17792
+
17793
+ # The Speech confidence between 0.0 and 1.0 for the current portion of audio. A
17794
+ # higher number indicates an estimated greater likelihood that the recognized
17795
+ # words are correct. The default of 0.0 is a sentinel value indicating that
17796
+ # confidence was not set. This field is typically only provided if `is_final` is
17797
+ # true and you should not rely on it being accurate or even set.
17798
+ # Corresponds to the JSON property `confidence`
17799
+ # @return [Float]
17800
+ attr_accessor :confidence
17801
+
17802
+ # If `false`, the `StreamingRecognitionResult` represents an interim result that
17803
+ # may change. If `true`, the recognizer will not return any further hypotheses
17804
+ # about this piece of the audio. May only be populated for `message_type` = `
17805
+ # TRANSCRIPT`.
17806
+ # Corresponds to the JSON property `isFinal`
17807
+ # @return [Boolean]
17808
+ attr_accessor :is_final
17809
+ alias_method :is_final?, :is_final
17810
+
17811
+ # Detected language code for the transcript.
17812
+ # Corresponds to the JSON property `languageCode`
17813
+ # @return [String]
17814
+ attr_accessor :language_code
17815
+
17816
+ # Type of the result message.
17817
+ # Corresponds to the JSON property `messageType`
17818
+ # @return [String]
17819
+ attr_accessor :message_type
17820
+
17821
+ # Time offset of the end of this Speech recognition result relative to the
17822
+ # beginning of the audio. Only populated for `message_type` = `TRANSCRIPT`.
17823
+ # Corresponds to the JSON property `speechEndOffset`
17824
+ # @return [String]
17825
+ attr_accessor :speech_end_offset
17826
+
17827
+ # Word-specific information for the words recognized by Speech in transcript.
17828
+ # Populated if and only if `message_type` = `TRANSCRIPT` and [InputAudioConfig.
17829
+ # enable_word_info] is set.
17830
+ # Corresponds to the JSON property `speechWordInfo`
17831
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SpeechWordInfo>]
17832
+ attr_accessor :speech_word_info
17833
+
17834
+ # Transcript text representing the words that the user spoke. Populated if and
17835
+ # only if `message_type` = `TRANSCRIPT`.
17836
+ # Corresponds to the JSON property `transcript`
17837
+ # @return [String]
17838
+ attr_accessor :transcript
17839
+
17840
+ def initialize(**args)
17841
+ update!(**args)
17842
+ end
17843
+
17844
+ # Update properties of this object
17845
+ def update!(**args)
17846
+ @confidence = args[:confidence] if args.key?(:confidence)
17847
+ @is_final = args[:is_final] if args.key?(:is_final)
17848
+ @language_code = args[:language_code] if args.key?(:language_code)
17849
+ @message_type = args[:message_type] if args.key?(:message_type)
17850
+ @speech_end_offset = args[:speech_end_offset] if args.key?(:speech_end_offset)
17851
+ @speech_word_info = args[:speech_word_info] if args.key?(:speech_word_info)
17852
+ @transcript = args[:transcript] if args.key?(:transcript)
17853
+ end
17854
+ end
17855
+
17640
17856
  # The response message for Participants.SuggestArticles.
17641
17857
  class GoogleCloudDialogflowV2SuggestArticlesResponse
17642
17858
  include Google::Apis::Core::Hashable
@@ -18227,6 +18443,33 @@ module Google
18227
18443
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1Message]
18228
18444
  attr_accessor :new_message_payload
18229
18445
 
18446
+ # Contains a speech recognition result corresponding to a portion of the audio
18447
+ # that is currently being processed or an indication that this is the end of the
18448
+ # single requested utterance. While end-user audio is being processed,
18449
+ # Dialogflow sends a series of results. Each result may contain a `transcript`
18450
+ # value. A transcript represents a portion of the utterance. While the
18451
+ # recognizer is processing audio, transcript values may be interim values or
18452
+ # finalized values. Once a transcript is finalized, the `is_final` value is set
18453
+ # to true and processing continues for the next transcript. If `
18454
+ # StreamingDetectIntentRequest.query_input.audio_config.single_utterance` was
18455
+ # true, and the recognizer has completed processing audio, the `message_type`
18456
+ # value is set to `END_OF_SINGLE_UTTERANCE and the following (last) result
18457
+ # contains the last finalized transcript. The complete end-user utterance is
18458
+ # determined by concatenating the finalized transcript values received for the
18459
+ # series of results. In the following example, single utterance is enabled. In
18460
+ # the case where single utterance is not enabled, result 7 would not occur. ```
18461
+ # Num | transcript | message_type | is_final --- | ----------------------- | ----
18462
+ # ------------------- | -------- 1 | "tube" | TRANSCRIPT | false 2 | "to be a" |
18463
+ # TRANSCRIPT | false 3 | "to be" | TRANSCRIPT | false 4 | "to be or not to be" |
18464
+ # TRANSCRIPT | true 5 | "that's" | TRANSCRIPT | false 6 | "that is | TRANSCRIPT |
18465
+ # false 7 | unset | END_OF_SINGLE_UTTERANCE | unset 8 | " that is the question"
18466
+ # | TRANSCRIPT | true ``` Concatenating the finalized transcripts with `is_final`
18467
+ # set to true, the complete utterance becomes "to be or not to be that is the
18468
+ # question".
18469
+ # Corresponds to the JSON property `newRecognitionResultPayload`
18470
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1StreamingRecognitionResult]
18471
+ attr_accessor :new_recognition_result_payload
18472
+
18230
18473
  # Required. The type of the event that this notification refers to.
18231
18474
  # Corresponds to the JSON property `type`
18232
18475
  # @return [String]
@@ -18241,6 +18484,7 @@ module Google
18241
18484
  @conversation = args[:conversation] if args.key?(:conversation)
18242
18485
  @error_status = args[:error_status] if args.key?(:error_status)
18243
18486
  @new_message_payload = args[:new_message_payload] if args.key?(:new_message_payload)
18487
+ @new_recognition_result_payload = args[:new_recognition_result_payload] if args.key?(:new_recognition_result_payload)
18244
18488
  @type = args[:type] if args.key?(:type)
18245
18489
  end
18246
18490
  end
@@ -21381,6 +21625,157 @@ module Google
21381
21625
  end
21382
21626
  end
21383
21627
 
21628
+ # Information for a word recognized by the speech recognizer.
21629
+ class GoogleCloudDialogflowV2beta1SpeechWordInfo
21630
+ include Google::Apis::Core::Hashable
21631
+
21632
+ # The Speech confidence between 0.0 and 1.0 for this word. A higher number
21633
+ # indicates an estimated greater likelihood that the recognized word is correct.
21634
+ # The default of 0.0 is a sentinel value indicating that confidence was not set.
21635
+ # This field is not guaranteed to be fully stable over time for the same audio
21636
+ # input. Users should also not rely on it to always be provided.
21637
+ # Corresponds to the JSON property `confidence`
21638
+ # @return [Float]
21639
+ attr_accessor :confidence
21640
+
21641
+ # Time offset relative to the beginning of the audio that corresponds to the end
21642
+ # of the spoken word. This is an experimental feature and the accuracy of the
21643
+ # time offset can vary.
21644
+ # Corresponds to the JSON property `endOffset`
21645
+ # @return [String]
21646
+ attr_accessor :end_offset
21647
+
21648
+ # Time offset relative to the beginning of the audio that corresponds to the
21649
+ # start of the spoken word. This is an experimental feature and the accuracy of
21650
+ # the time offset can vary.
21651
+ # Corresponds to the JSON property `startOffset`
21652
+ # @return [String]
21653
+ attr_accessor :start_offset
21654
+
21655
+ # The word this info is for.
21656
+ # Corresponds to the JSON property `word`
21657
+ # @return [String]
21658
+ attr_accessor :word
21659
+
21660
+ def initialize(**args)
21661
+ update!(**args)
21662
+ end
21663
+
21664
+ # Update properties of this object
21665
+ def update!(**args)
21666
+ @confidence = args[:confidence] if args.key?(:confidence)
21667
+ @end_offset = args[:end_offset] if args.key?(:end_offset)
21668
+ @start_offset = args[:start_offset] if args.key?(:start_offset)
21669
+ @word = args[:word] if args.key?(:word)
21670
+ end
21671
+ end
21672
+
21673
+ # Contains a speech recognition result corresponding to a portion of the audio
21674
+ # that is currently being processed or an indication that this is the end of the
21675
+ # single requested utterance. While end-user audio is being processed,
21676
+ # Dialogflow sends a series of results. Each result may contain a `transcript`
21677
+ # value. A transcript represents a portion of the utterance. While the
21678
+ # recognizer is processing audio, transcript values may be interim values or
21679
+ # finalized values. Once a transcript is finalized, the `is_final` value is set
21680
+ # to true and processing continues for the next transcript. If `
21681
+ # StreamingDetectIntentRequest.query_input.audio_config.single_utterance` was
21682
+ # true, and the recognizer has completed processing audio, the `message_type`
21683
+ # value is set to `END_OF_SINGLE_UTTERANCE and the following (last) result
21684
+ # contains the last finalized transcript. The complete end-user utterance is
21685
+ # determined by concatenating the finalized transcript values received for the
21686
+ # series of results. In the following example, single utterance is enabled. In
21687
+ # the case where single utterance is not enabled, result 7 would not occur. ```
21688
+ # Num | transcript | message_type | is_final --- | ----------------------- | ----
21689
+ # ------------------- | -------- 1 | "tube" | TRANSCRIPT | false 2 | "to be a" |
21690
+ # TRANSCRIPT | false 3 | "to be" | TRANSCRIPT | false 4 | "to be or not to be" |
21691
+ # TRANSCRIPT | true 5 | "that's" | TRANSCRIPT | false 6 | "that is | TRANSCRIPT |
21692
+ # false 7 | unset | END_OF_SINGLE_UTTERANCE | unset 8 | " that is the question"
21693
+ # | TRANSCRIPT | true ``` Concatenating the finalized transcripts with `is_final`
21694
+ # set to true, the complete utterance becomes "to be or not to be that is the
21695
+ # question".
21696
+ class GoogleCloudDialogflowV2beta1StreamingRecognitionResult
21697
+ include Google::Apis::Core::Hashable
21698
+
21699
+ # The Speech confidence between 0.0 and 1.0 for the current portion of audio. A
21700
+ # higher number indicates an estimated greater likelihood that the recognized
21701
+ # words are correct. The default of 0.0 is a sentinel value indicating that
21702
+ # confidence was not set. This field is typically only provided if `is_final` is
21703
+ # true and you should not rely on it being accurate or even set.
21704
+ # Corresponds to the JSON property `confidence`
21705
+ # @return [Float]
21706
+ attr_accessor :confidence
21707
+
21708
+ # A wrapper of repeated TelephonyDtmf digits.
21709
+ # Corresponds to the JSON property `dtmfDigits`
21710
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1TelephonyDtmfEvents]
21711
+ attr_accessor :dtmf_digits
21712
+
21713
+ # If `false`, the `StreamingRecognitionResult` represents an interim result that
21714
+ # may change. If `true`, the recognizer will not return any further hypotheses
21715
+ # about this piece of the audio. May only be populated for `message_type` = `
21716
+ # TRANSCRIPT`.
21717
+ # Corresponds to the JSON property `isFinal`
21718
+ # @return [Boolean]
21719
+ attr_accessor :is_final
21720
+ alias_method :is_final?, :is_final
21721
+
21722
+ # Detected language code for the transcript.
21723
+ # Corresponds to the JSON property `languageCode`
21724
+ # @return [String]
21725
+ attr_accessor :language_code
21726
+
21727
+ # Type of the result message.
21728
+ # Corresponds to the JSON property `messageType`
21729
+ # @return [String]
21730
+ attr_accessor :message_type
21731
+
21732
+ # Time offset of the end of this Speech recognition result relative to the
21733
+ # beginning of the audio. Only populated for `message_type` = `TRANSCRIPT`.
21734
+ # Corresponds to the JSON property `speechEndOffset`
21735
+ # @return [String]
21736
+ attr_accessor :speech_end_offset
21737
+
21738
+ # Word-specific information for the words recognized by Speech in transcript.
21739
+ # Populated if and only if `message_type` = `TRANSCRIPT` and [InputAudioConfig.
21740
+ # enable_word_info] is set.
21741
+ # Corresponds to the JSON property `speechWordInfo`
21742
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SpeechWordInfo>]
21743
+ attr_accessor :speech_word_info
21744
+
21745
+ # An estimate of the likelihood that the speech recognizer will not change its
21746
+ # guess about this interim recognition result: * If the value is unspecified or
21747
+ # 0.0, Dialogflow didn't compute the stability. In particular, Dialogflow will
21748
+ # only provide stability for `TRANSCRIPT` results with `is_final = false`. *
21749
+ # Otherwise, the value is in (0.0, 1.0] where 0.0 means completely unstable and
21750
+ # 1.0 means completely stable.
21751
+ # Corresponds to the JSON property `stability`
21752
+ # @return [Float]
21753
+ attr_accessor :stability
21754
+
21755
+ # Transcript text representing the words that the user spoke. Populated if and
21756
+ # only if `message_type` = `TRANSCRIPT`.
21757
+ # Corresponds to the JSON property `transcript`
21758
+ # @return [String]
21759
+ attr_accessor :transcript
21760
+
21761
+ def initialize(**args)
21762
+ update!(**args)
21763
+ end
21764
+
21765
+ # Update properties of this object
21766
+ def update!(**args)
21767
+ @confidence = args[:confidence] if args.key?(:confidence)
21768
+ @dtmf_digits = args[:dtmf_digits] if args.key?(:dtmf_digits)
21769
+ @is_final = args[:is_final] if args.key?(:is_final)
21770
+ @language_code = args[:language_code] if args.key?(:language_code)
21771
+ @message_type = args[:message_type] if args.key?(:message_type)
21772
+ @speech_end_offset = args[:speech_end_offset] if args.key?(:speech_end_offset)
21773
+ @speech_word_info = args[:speech_word_info] if args.key?(:speech_word_info)
21774
+ @stability = args[:stability] if args.key?(:stability)
21775
+ @transcript = args[:transcript] if args.key?(:transcript)
21776
+ end
21777
+ end
21778
+
21384
21779
  # The response message for Participants.SuggestArticles.
21385
21780
  class GoogleCloudDialogflowV2beta1SuggestArticlesResponse
21386
21781
  include Google::Apis::Core::Hashable
@@ -21618,6 +22013,25 @@ module Google
21618
22013
  end
21619
22014
  end
21620
22015
 
22016
+ # A wrapper of repeated TelephonyDtmf digits.
22017
+ class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents
22018
+ include Google::Apis::Core::Hashable
22019
+
22020
+ # A sequence of TelephonyDtmf digits.
22021
+ # Corresponds to the JSON property `dtmfEvents`
22022
+ # @return [Array<String>]
22023
+ attr_accessor :dtmf_events
22024
+
22025
+ def initialize(**args)
22026
+ update!(**args)
22027
+ end
22028
+
22029
+ # Update properties of this object
22030
+ def update!(**args)
22031
+ @dtmf_events = args[:dtmf_events] if args.key?(:dtmf_events)
22032
+ end
22033
+ end
22034
+
21621
22035
  # The request message for a webhook call.
21622
22036
  class GoogleCloudDialogflowV2beta1WebhookRequest
21623
22037
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV3beta1
18
18
  # Version of the google-apis-dialogflow_v3beta1 gem
19
- GEM_VERSION = "0.91.0"
19
+ GEM_VERSION = "0.93.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241212"
25
+ REVISION = "20250103"
26
26
  end
27
27
  end
28
28
  end
@@ -838,6 +838,12 @@ module Google
838
838
  include Google::Apis::Core::JsonObjectSupport
839
839
  end
840
840
 
841
+ class GoogleCloudDialogflowCxV3beta1ConversationInteractionStepMetrics
842
+ class Representation < Google::Apis::Core::JsonRepresentation; end
843
+
844
+ include Google::Apis::Core::JsonObjectSupport
845
+ end
846
+
841
847
  class GoogleCloudDialogflowCxV3beta1ConversationMetrics
842
848
  class Representation < Google::Apis::Core::JsonRepresentation; end
843
849
 
@@ -2842,6 +2848,18 @@ module Google
2842
2848
  include Google::Apis::Core::JsonObjectSupport
2843
2849
  end
2844
2850
 
2851
+ class GoogleCloudDialogflowV2SpeechWordInfo
2852
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2853
+
2854
+ include Google::Apis::Core::JsonObjectSupport
2855
+ end
2856
+
2857
+ class GoogleCloudDialogflowV2StreamingRecognitionResult
2858
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2859
+
2860
+ include Google::Apis::Core::JsonObjectSupport
2861
+ end
2862
+
2845
2863
  class GoogleCloudDialogflowV2SuggestArticlesResponse
2846
2864
  class Representation < Google::Apis::Core::JsonRepresentation; end
2847
2865
 
@@ -3448,6 +3466,18 @@ module Google
3448
3466
  include Google::Apis::Core::JsonObjectSupport
3449
3467
  end
3450
3468
 
3469
+ class GoogleCloudDialogflowV2beta1SpeechWordInfo
3470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3471
+
3472
+ include Google::Apis::Core::JsonObjectSupport
3473
+ end
3474
+
3475
+ class GoogleCloudDialogflowV2beta1StreamingRecognitionResult
3476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3477
+
3478
+ include Google::Apis::Core::JsonObjectSupport
3479
+ end
3480
+
3451
3481
  class GoogleCloudDialogflowV2beta1SuggestArticlesResponse
3452
3482
  class Representation < Google::Apis::Core::JsonRepresentation; end
3453
3483
 
@@ -3484,6 +3514,12 @@ module Google
3484
3514
  include Google::Apis::Core::JsonObjectSupport
3485
3515
  end
3486
3516
 
3517
+ class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents
3518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3519
+
3520
+ include Google::Apis::Core::JsonObjectSupport
3521
+ end
3522
+
3487
3523
  class GoogleCloudDialogflowV2beta1WebhookRequest
3488
3524
  class Representation < Google::Apis::Core::JsonRepresentation; end
3489
3525
 
@@ -4637,6 +4673,8 @@ module Google
4637
4673
  property :name, as: 'name'
4638
4674
  property :personalization_settings, as: 'personalizationSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentPersonalizationSettings::Representation
4639
4675
 
4676
+ property :satisfies_pzi, as: 'satisfiesPzi'
4677
+ property :satisfies_pzs, as: 'satisfiesPzs'
4640
4678
  property :security_settings, as: 'securitySettings'
4641
4679
  property :speech_to_text_settings, as: 'speechToTextSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SpeechToTextSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SpeechToTextSettings::Representation
4642
4680
 
@@ -4928,6 +4966,8 @@ module Google
4928
4966
  property :response, as: 'response', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse::Representation
4929
4967
 
4930
4968
  property :response_utterances, as: 'responseUtterances'
4969
+ collection :step_metrics, as: 'stepMetrics', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationInteractionStepMetrics, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ConversationInteractionStepMetrics::Representation
4970
+
4931
4971
  end
4932
4972
  end
4933
4973
 
@@ -4939,6 +4979,14 @@ module Google
4939
4979
  end
4940
4980
  end
4941
4981
 
4982
+ class GoogleCloudDialogflowCxV3beta1ConversationInteractionStepMetrics
4983
+ # @private
4984
+ class Representation < Google::Apis::Core::JsonRepresentation
4985
+ property :latency, as: 'latency'
4986
+ property :name, as: 'name'
4987
+ end
4988
+ end
4989
+
4942
4990
  class GoogleCloudDialogflowCxV3beta1ConversationMetrics
4943
4991
  # @private
4944
4992
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6425,6 +6473,8 @@ module Google
6425
6473
  collection :referenced_flows, as: 'referencedFlows'
6426
6474
  collection :referenced_playbooks, as: 'referencedPlaybooks'
6427
6475
  collection :referenced_tools, as: 'referencedTools'
6476
+ property :speech_settings, as: 'speechSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings::Representation
6477
+
6428
6478
  property :token_count, :numeric_string => true, as: 'tokenCount'
6429
6479
  property :update_time, as: 'updateTime'
6430
6480
  end
@@ -7599,6 +7649,8 @@ module Google
7599
7649
 
7600
7650
  property :new_message_payload, as: 'newMessagePayload', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2Message, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2Message::Representation
7601
7651
 
7652
+ property :new_recognition_result_payload, as: 'newRecognitionResultPayload', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2StreamingRecognitionResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2StreamingRecognitionResult::Representation
7653
+
7602
7654
  property :type, as: 'type'
7603
7655
  end
7604
7656
  end
@@ -8340,6 +8392,30 @@ module Google
8340
8392
  end
8341
8393
  end
8342
8394
 
8395
+ class GoogleCloudDialogflowV2SpeechWordInfo
8396
+ # @private
8397
+ class Representation < Google::Apis::Core::JsonRepresentation
8398
+ property :confidence, as: 'confidence'
8399
+ property :end_offset, as: 'endOffset'
8400
+ property :start_offset, as: 'startOffset'
8401
+ property :word, as: 'word'
8402
+ end
8403
+ end
8404
+
8405
+ class GoogleCloudDialogflowV2StreamingRecognitionResult
8406
+ # @private
8407
+ class Representation < Google::Apis::Core::JsonRepresentation
8408
+ property :confidence, as: 'confidence'
8409
+ property :is_final, as: 'isFinal'
8410
+ property :language_code, as: 'languageCode'
8411
+ property :message_type, as: 'messageType'
8412
+ property :speech_end_offset, as: 'speechEndOffset'
8413
+ collection :speech_word_info, as: 'speechWordInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SpeechWordInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SpeechWordInfo::Representation
8414
+
8415
+ property :transcript, as: 'transcript'
8416
+ end
8417
+ end
8418
+
8343
8419
  class GoogleCloudDialogflowV2SuggestArticlesResponse
8344
8420
  # @private
8345
8421
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8496,6 +8572,8 @@ module Google
8496
8572
 
8497
8573
  property :new_message_payload, as: 'newMessagePayload', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1Message, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1Message::Representation
8498
8574
 
8575
+ property :new_recognition_result_payload, as: 'newRecognitionResultPayload', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1StreamingRecognitionResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1StreamingRecognitionResult::Representation
8576
+
8499
8577
  property :type, as: 'type'
8500
8578
  end
8501
8579
  end
@@ -9379,6 +9457,33 @@ module Google
9379
9457
  end
9380
9458
  end
9381
9459
 
9460
+ class GoogleCloudDialogflowV2beta1SpeechWordInfo
9461
+ # @private
9462
+ class Representation < Google::Apis::Core::JsonRepresentation
9463
+ property :confidence, as: 'confidence'
9464
+ property :end_offset, as: 'endOffset'
9465
+ property :start_offset, as: 'startOffset'
9466
+ property :word, as: 'word'
9467
+ end
9468
+ end
9469
+
9470
+ class GoogleCloudDialogflowV2beta1StreamingRecognitionResult
9471
+ # @private
9472
+ class Representation < Google::Apis::Core::JsonRepresentation
9473
+ property :confidence, as: 'confidence'
9474
+ property :dtmf_digits, as: 'dtmfDigits', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1TelephonyDtmfEvents, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1TelephonyDtmfEvents::Representation
9475
+
9476
+ property :is_final, as: 'isFinal'
9477
+ property :language_code, as: 'languageCode'
9478
+ property :message_type, as: 'messageType'
9479
+ property :speech_end_offset, as: 'speechEndOffset'
9480
+ collection :speech_word_info, as: 'speechWordInfo', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SpeechWordInfo, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SpeechWordInfo::Representation
9481
+
9482
+ property :stability, as: 'stability'
9483
+ property :transcript, as: 'transcript'
9484
+ end
9485
+ end
9486
+
9382
9487
  class GoogleCloudDialogflowV2beta1SuggestArticlesResponse
9383
9488
  # @private
9384
9489
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9449,6 +9554,13 @@ module Google
9449
9554
  end
9450
9555
  end
9451
9556
 
9557
+ class GoogleCloudDialogflowV2beta1TelephonyDtmfEvents
9558
+ # @private
9559
+ class Representation < Google::Apis::Core::JsonRepresentation
9560
+ collection :dtmf_events, as: 'dtmfEvents'
9561
+ end
9562
+ end
9563
+
9452
9564
  class GoogleCloudDialogflowV2beta1WebhookRequest
9453
9565
  # @private
9454
9566
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v3beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.91.0
4
+ version: 0.93.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-15 00:00:00.000000000 Z
10
+ date: 2025-01-12 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.91.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.93.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.23
79
- signing_key:
76
+ rubygems_version: 3.6.2
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Dialogflow API V3beta1
82
79
  test_files: []