google-apis-dialogflow_v2beta1 0.72.0 → 0.74.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 695448f09fda86c2b82654d387ab92c9e939571e03feff28651b2bc3d39535a5
4
- data.tar.gz: 9471fc67f96f36ae0338e8247d497268eae59db52e4d7a2bce7b837cc0d9b0c3
3
+ metadata.gz: 9c7e3d15b6dcbc4577e0c6850bff6fbc57d897deba35f6a1630dbb606d58f151
4
+ data.tar.gz: 4c7674cbbbc3f18e3c0dbf94943c3218a3ddd5590218bace3c670d171ef83386
5
5
  SHA512:
6
- metadata.gz: c07e2f0f36ffc2973240be4d192f8708d6e47abf08dab11583ec8d5c91bb59a31bb81b16fc45293033bedfff3ec32f9c679b7c3b1a626731af0f7d659ee5000f
7
- data.tar.gz: c05e7746efeb881fd9c9840cea1a5cd69ea082cf645bf6456675ef86fd80e1f9e674f82f5e6d741d68c13d6fee72ae3f591ef0464f014c7122e972644f7c8c80
6
+ metadata.gz: 19ab861c09ea35002287082ea60724131cd43ccff12352f667599c25234cb5ff1aa995e70e0d24c3047a373b7931d02d9bf09392aa288eee69a6af0178da4910
7
+ data.tar.gz: 76d75bba1f10faf236359155909244bef48980d04fe7ecf41213bddfe8b5d20c0a43a434ec85818479d5045822669b14ad99fea5c355bc21a6c858532956c2ff
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dialogflow_v2beta1
2
2
 
3
+ ### v0.74.0 (2023-12-17)
4
+
5
+ * Regenerated from discovery document revision 20231208
6
+
7
+ ### v0.73.0 (2023-12-10)
8
+
9
+ * Regenerated from discovery document revision 20231204
10
+
3
11
  ### v0.72.0 (2023-12-03)
4
12
 
5
13
  * Regenerated from discovery document revision 20231129
@@ -167,13 +167,9 @@ module Google
167
167
  # which the API starts speech detection and may inform the client that an
168
168
  # utterance has been detected. Note that no-speech event is not expected in this
169
169
  # phase. The client provides this configuration in terms of the durations of
170
- # those two phases. The durations are measured in terms of the audio length
171
- # fromt the the start of the input audio. The flow goes like below: --> Time
172
- # without speech detection | utterance only | utterance or no-speech event | | +-
173
- # ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
174
- # + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
175
- # +---------------+ No-speech event is a response with END_OF_UTTERANCE without
176
- # any transcript following up.
170
+ # those two phases. The durations are measured in terms of the audio length from
171
+ # the the start of the input audio. No-speech event is a response with
172
+ # END_OF_UTTERANCE without any transcript following up.
177
173
  class GoogleCloudDialogflowCxV3BargeInConfig
178
174
  include Google::Apis::Core::Hashable
179
175
 
@@ -1567,13 +1563,9 @@ module Google
1567
1563
  # which the API starts speech detection and may inform the client that an
1568
1564
  # utterance has been detected. Note that no-speech event is not expected in this
1569
1565
  # phase. The client provides this configuration in terms of the durations of
1570
- # those two phases. The durations are measured in terms of the audio length
1571
- # fromt the the start of the input audio. The flow goes like below: --> Time
1572
- # without speech detection | utterance only | utterance or no-speech event | | +-
1573
- # ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
1574
- # + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
1575
- # +---------------+ No-speech event is a response with END_OF_UTTERANCE without
1576
- # any transcript following up.
1566
+ # those two phases. The durations are measured in terms of the audio length from
1567
+ # the the start of the input audio. No-speech event is a response with
1568
+ # END_OF_UTTERANCE without any transcript following up.
1577
1569
  # Corresponds to the JSON property `bargeInConfig`
1578
1570
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3BargeInConfig]
1579
1571
  attr_accessor :barge_in_config
@@ -1587,17 +1579,9 @@ module Google
1587
1579
  attr_accessor :enable_word_info
1588
1580
  alias_method :enable_word_info?, :enable_word_info
1589
1581
 
1590
- # Optional. Which Speech model to select for the given request. Select the model
1591
- # best suited to your domain to get best results. If a model is not explicitly
1592
- # specified, then we auto-select a model based on the parameters in the
1593
- # InputAudioConfig. If enhanced speech model is enabled for the agent and an
1594
- # enhanced version of the specified model for the language does not exist, then
1595
- # the speech is recognized using the standard version of the specified model.
1596
- # Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-
1597
- # text/docs/basics#select-model) for more details. If you specify a model, the
1598
- # following models typically have the best performance: - phone_call (best for
1599
- # Agent Assist and telephony) - latest_short (best for Dialogflow non-telephony)
1600
- # - command_and_search (best for very short utterances and commands)
1582
+ # Optional. Which Speech model to select for the given request. For more
1583
+ # information, see [Speech models](https://cloud.google.com/dialogflow/cx/docs/
1584
+ # concept/speech-models).
1601
1585
  # Corresponds to the JSON property `model`
1602
1586
  # @return [String]
1603
1587
  attr_accessor :model
@@ -3752,13 +3736,9 @@ module Google
3752
3736
  # which the API starts speech detection and may inform the client that an
3753
3737
  # utterance has been detected. Note that no-speech event is not expected in this
3754
3738
  # phase. The client provides this configuration in terms of the durations of
3755
- # those two phases. The durations are measured in terms of the audio length
3756
- # fromt the the start of the input audio. The flow goes like below: --> Time
3757
- # without speech detection | utterance only | utterance or no-speech event | | +-
3758
- # ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
3759
- # + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
3760
- # +---------------+ No-speech event is a response with END_OF_UTTERANCE without
3761
- # any transcript following up.
3739
+ # those two phases. The durations are measured in terms of the audio length from
3740
+ # the the start of the input audio. No-speech event is a response with
3741
+ # END_OF_UTTERANCE without any transcript following up.
3762
3742
  class GoogleCloudDialogflowCxV3beta1BargeInConfig
3763
3743
  include Google::Apis::Core::Hashable
3764
3744
 
@@ -5152,13 +5132,9 @@ module Google
5152
5132
  # which the API starts speech detection and may inform the client that an
5153
5133
  # utterance has been detected. Note that no-speech event is not expected in this
5154
5134
  # phase. The client provides this configuration in terms of the durations of
5155
- # those two phases. The durations are measured in terms of the audio length
5156
- # fromt the the start of the input audio. The flow goes like below: --> Time
5157
- # without speech detection | utterance only | utterance or no-speech event | | +-
5158
- # ------------+ | +------------+ | +---------------+ ----------+ no barge-in +-|-
5159
- # + barge-in +-|-+ normal period +----------- +-------------+ | +------------+ |
5160
- # +---------------+ No-speech event is a response with END_OF_UTTERANCE without
5161
- # any transcript following up.
5135
+ # those two phases. The durations are measured in terms of the audio length from
5136
+ # the the start of the input audio. No-speech event is a response with
5137
+ # END_OF_UTTERANCE without any transcript following up.
5162
5138
  # Corresponds to the JSON property `bargeInConfig`
5163
5139
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1BargeInConfig]
5164
5140
  attr_accessor :barge_in_config
@@ -5172,17 +5148,9 @@ module Google
5172
5148
  attr_accessor :enable_word_info
5173
5149
  alias_method :enable_word_info?, :enable_word_info
5174
5150
 
5175
- # Optional. Which Speech model to select for the given request. Select the model
5176
- # best suited to your domain to get best results. If a model is not explicitly
5177
- # specified, then we auto-select a model based on the parameters in the
5178
- # InputAudioConfig. If enhanced speech model is enabled for the agent and an
5179
- # enhanced version of the specified model for the language does not exist, then
5180
- # the speech is recognized using the standard version of the specified model.
5181
- # Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-
5182
- # text/docs/basics#select-model) for more details. If you specify a model, the
5183
- # following models typically have the best performance: - phone_call (best for
5184
- # Agent Assist and telephony) - latest_short (best for Dialogflow non-telephony)
5185
- # - command_and_search (best for very short utterances and commands)
5151
+ # Optional. Which Speech model to select for the given request. For more
5152
+ # information, see [Speech models](https://cloud.google.com/dialogflow/cx/docs/
5153
+ # concept/speech-models).
5186
5154
  # Corresponds to the JSON property `model`
5187
5155
  # @return [String]
5188
5156
  attr_accessor :model
@@ -13028,6 +12996,13 @@ module Google
13028
12996
  attr_accessor :disable_agent_query_logging
13029
12997
  alias_method :disable_agent_query_logging?, :disable_agent_query_logging
13030
12998
 
12999
+ # Optional. Enable including conversation context during query answer generation.
13000
+ # Supported features: KNOWLEDGE_SEARCH.
13001
+ # Corresponds to the JSON property `enableConversationAugmentedQuery`
13002
+ # @return [Boolean]
13003
+ attr_accessor :enable_conversation_augmented_query
13004
+ alias_method :enable_conversation_augmented_query?, :enable_conversation_augmented_query
13005
+
13031
13006
  # Automatically iterates all participants and tries to compile suggestions.
13032
13007
  # Supported features: ARTICLE_SUGGESTION, FAQ, DIALOGFLOW_ASSIST,
13033
13008
  # ENTITY_EXTRACTION, KNOWLEDGE_ASSIST.
@@ -13062,6 +13037,7 @@ module Google
13062
13037
  @conversation_model_config = args[:conversation_model_config] if args.key?(:conversation_model_config)
13063
13038
  @conversation_process_config = args[:conversation_process_config] if args.key?(:conversation_process_config)
13064
13039
  @disable_agent_query_logging = args[:disable_agent_query_logging] if args.key?(:disable_agent_query_logging)
13040
+ @enable_conversation_augmented_query = args[:enable_conversation_augmented_query] if args.key?(:enable_conversation_augmented_query)
13065
13041
  @enable_event_based_suggestion = args[:enable_event_based_suggestion] if args.key?(:enable_event_based_suggestion)
13066
13042
  @query_config = args[:query_config] if args.key?(:query_config)
13067
13043
  @suggestion_feature = args[:suggestion_feature] if args.key?(:suggestion_feature)
@@ -13620,17 +13596,9 @@ module Google
13620
13596
  # @return [String]
13621
13597
  attr_accessor :language_code
13622
13598
 
13623
- # Which Speech model to select for the given request. Select the model best
13624
- # suited to your domain to get best results. If a model is not explicitly
13625
- # specified, then we auto-select a model based on the parameters in the
13626
- # InputAudioConfig. If enhanced speech model is enabled for the agent and an
13627
- # enhanced version of the specified model for the language does not exist, then
13628
- # the speech is recognized using the standard version of the specified model.
13629
- # Refer to [Cloud Speech API documentation](https://cloud.google.com/speech-to-
13630
- # text/docs/basics#select-model) for more details. If you specify a model, the
13631
- # following models typically have the best performance: - phone_call (best for
13632
- # Agent Assist and telephony) - latest_short (best for Dialogflow non-telephony)
13633
- # - command_and_search (best for very short utterances and commands)
13599
+ # Optional. Which Speech model to select for the given request. For more
13600
+ # information, see [Speech models](https://cloud.google.com/dialogflow/es/docs/
13601
+ # speech-models).
13634
13602
  # Corresponds to the JSON property `model`
13635
13603
  # @return [String]
13636
13604
  attr_accessor :model
@@ -17086,6 +17054,11 @@ module Google
17086
17054
  # @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeAnswer>]
17087
17055
  attr_accessor :answers
17088
17056
 
17057
+ # The rewritten query used to search knowledge.
17058
+ # Corresponds to the JSON property `rewrittenQuery`
17059
+ # @return [String]
17060
+ attr_accessor :rewritten_query
17061
+
17089
17062
  def initialize(**args)
17090
17063
  update!(**args)
17091
17064
  end
@@ -17093,6 +17066,7 @@ module Google
17093
17066
  # Update properties of this object
17094
17067
  def update!(**args)
17095
17068
  @answers = args[:answers] if args.key?(:answers)
17069
+ @rewritten_query = args[:rewritten_query] if args.key?(:rewritten_query)
17096
17070
  end
17097
17071
  end
17098
17072
 
@@ -17361,9 +17335,18 @@ module Google
17361
17335
  include Google::Apis::Core::Hashable
17362
17336
 
17363
17337
  # Which Speech model to select. Select the model best suited to your domain to
17364
- # get best results. If a model is not explicitly specified, then a default model
17365
- # is used. Refer to [Cloud Speech API documentation](https://cloud.google.com/
17366
- # speech-to-text/docs/basics#select-model) for more details.
17338
+ # get best results. If a model is not explicitly specified, then Dialogflow auto-
17339
+ # selects a model based on other parameters in the SpeechToTextConfig and Agent
17340
+ # settings. If enhanced speech model is enabled for the agent and an enhanced
17341
+ # version of the specified model for the language does not exist, then the
17342
+ # speech is recognized using the standard version of the specified model. Refer
17343
+ # to [Cloud Speech API documentation](https://cloud.google.com/speech-to-text/
17344
+ # docs/basics#select-model) for more details. If you specify a model, the
17345
+ # following models typically have the best performance: - phone_call (best for
17346
+ # Agent Assist and telephony) - latest_short (best for Dialogflow non-telephony)
17347
+ # - command_and_search Leave this field unspecified to use [Agent Speech
17348
+ # settings](https://cloud.google.com/dialogflow/cx/docs/concept/agent#settings-
17349
+ # speech) for model selection.
17367
17350
  # Corresponds to the JSON property `model`
17368
17351
  # @return [String]
17369
17352
  attr_accessor :model
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV2beta1
18
18
  # Version of the google-apis-dialogflow_v2beta1 gem
19
- GEM_VERSION = "0.72.0"
19
+ GEM_VERSION = "0.74.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231129"
25
+ REVISION = "20231208"
26
26
  end
27
27
  end
28
28
  end
@@ -6589,6 +6589,7 @@ module Google
6589
6589
  property :conversation_process_config, as: 'conversationProcessConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationProcessConfig::Representation
6590
6590
 
6591
6591
  property :disable_agent_query_logging, as: 'disableAgentQueryLogging'
6592
+ property :enable_conversation_augmented_query, as: 'enableConversationAugmentedQuery'
6592
6593
  property :enable_event_based_suggestion, as: 'enableEventBasedSuggestion'
6593
6594
  property :query_config, as: 'queryConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig::Representation
6594
6595
 
@@ -7719,6 +7720,7 @@ module Google
7719
7720
  class Representation < Google::Apis::Core::JsonRepresentation
7720
7721
  collection :answers, as: 'answers', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeAnswer, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeAnswer::Representation
7721
7722
 
7723
+ property :rewritten_query, as: 'rewrittenQuery'
7722
7724
  end
7723
7725
  end
7724
7726
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.72.0
4
+ version: 0.74.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-03 00:00:00.000000000 Z
11
+ date: 2023-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.72.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.74.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1
63
63
  post_install_message:
64
64
  rdoc_options: []