google-apis-dialogflow_v2 0.90.0 → 0.92.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: 96bb51a687ebab2c718584b1b55b36e9ea0e2d1fce9b5052017f132c68781c73
4
- data.tar.gz: 6fb7cd3c971f05bd6b830dd63ce80c33bf631ab482eca7309f7cb02d7a8abb7a
3
+ metadata.gz: 610c076eff5779cdd10ac37acaa8a78e30f7bf5033603a438b95d4768e5d909b
4
+ data.tar.gz: a2df15058fb61444b825fda37bf4cda5672f6f27f244cdf50849fcc1d7eca41c
5
5
  SHA512:
6
- metadata.gz: dda2b5f4a4f79963bd6c0e7ff5464ed9f3e53dfabbacfd03841f028415f359bdd12a3662e914777b568f56d32c58a78beb87c9198107e0927d953c7580e03922
7
- data.tar.gz: 8cd8f808222f8ed0849473ad3142276aa099bb52e5ed2a7ecff9d0ada6bb3458b920774ec9c5e023d7b481f887ce4b71573aa5a69d7475d1347f81c9506d9c59
6
+ metadata.gz: 37e5e1f51e76f4b63e106fccc67755c6914f1f9fdee7e50dfe90736dadc49241d8763ebaccadb4d8affbd847a63e40980beb3d08e5b8bc5e53023b373723d1fb
7
+ data.tar.gz: 236f7d139f22438a812f7f71bc3ce36338b2b9508cad9edd851d9931a230dad7e8da700b2ea5a3cae9752005fd4ca420d4e4c7462030186aaf45d45e89b698ef
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dialogflow_v2
2
2
 
3
+ ### v0.92.0 (2024-06-26)
4
+
5
+ * Regenerated from discovery document revision 20240617
6
+
7
+ ### v0.91.0 (2024-06-23)
8
+
9
+ * Regenerated from discovery document revision 20240614
10
+
3
11
  ### v0.90.0 (2024-06-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20240607
@@ -3051,18 +3051,16 @@ module Google
3051
3051
 
3052
3052
  # Flow name to start the test case with. Format: `projects//locations//agents//
3053
3053
  # flows/`. Only one of `flow` and `page` should be set to indicate the starting
3054
- # point of the test case. If both are set, `page` takes precedence over `flow`.
3055
- # If neither is set, the test case will start with start page on the default
3056
- # start flow.
3054
+ # point of the test case. If neither is set, the test case will start with start
3055
+ # page on the default start flow.
3057
3056
  # Corresponds to the JSON property `flow`
3058
3057
  # @return [String]
3059
3058
  attr_accessor :flow
3060
3059
 
3061
3060
  # The page to start the test case with. Format: `projects//locations//agents//
3062
3061
  # flows//pages/`. Only one of `flow` and `page` should be set to indicate the
3063
- # starting point of the test case. If both are set, `page` takes precedence over
3064
- # `flow`. If neither is set, the test case will start with start page on the
3065
- # default start flow.
3062
+ # starting point of the test case. If neither is set, the test case will start
3063
+ # with start page on the default start flow.
3066
3064
  # Corresponds to the JSON property `page`
3067
3065
  # @return [String]
3068
3066
  attr_accessor :page
@@ -6903,18 +6901,16 @@ module Google
6903
6901
 
6904
6902
  # Flow name to start the test case with. Format: `projects//locations//agents//
6905
6903
  # flows/`. Only one of `flow` and `page` should be set to indicate the starting
6906
- # point of the test case. If both are set, `page` takes precedence over `flow`.
6907
- # If neither is set, the test case will start with start page on the default
6908
- # start flow.
6904
+ # point of the test case. If neither is set, the test case will start with start
6905
+ # page on the default start flow.
6909
6906
  # Corresponds to the JSON property `flow`
6910
6907
  # @return [String]
6911
6908
  attr_accessor :flow
6912
6909
 
6913
6910
  # The page to start the test case with. Format: `projects//locations//agents//
6914
6911
  # flows//pages/`. Only one of `flow` and `page` should be set to indicate the
6915
- # starting point of the test case. If both are set, `page` takes precedence over
6916
- # `flow`. If neither is set, the test case will start with start page on the
6917
- # default start flow.
6912
+ # starting point of the test case. If neither is set, the test case will start
6913
+ # with start page on the default start flow.
6918
6914
  # Corresponds to the JSON property `page`
6919
6915
  # @return [String]
6920
6916
  attr_accessor :page
@@ -8964,9 +8960,9 @@ module Google
8964
8960
  # @return [String]
8965
8961
  attr_accessor :conversation_profile
8966
8962
 
8967
- # The stage of a conversation. It indicates whether the virtual agent or a human
8968
- # agent is handling the conversation. If the conversation is created with the
8969
- # conversation profile that has Dialogflow config set, defaults to
8963
+ # Optional. The stage of a conversation. It indicates whether the virtual agent
8964
+ # or a human agent is handling the conversation. If the conversation is created
8965
+ # with the conversation profile that has Dialogflow config set, defaults to
8970
8966
  # ConversationStage.VIRTUAL_AGENT_STAGE; Otherwise, defaults to
8971
8967
  # ConversationStage.HUMAN_ASSIST_STAGE. If the conversation is created with the
8972
8968
  # conversation profile that has Dialogflow config set but explicitly sets
@@ -8987,8 +8983,8 @@ module Google
8987
8983
  # @return [String]
8988
8984
  attr_accessor :lifecycle_state
8989
8985
 
8990
- # Output only. The unique identifier of this conversation. Format: `projects//
8991
- # locations//conversations/`.
8986
+ # Output only. Identifier. The unique identifier of this conversation. Format: `
8987
+ # projects//locations//conversations/`.
8992
8988
  # Corresponds to the JSON property `name`
8993
8989
  # @return [String]
8994
8990
  attr_accessor :name
@@ -10735,15 +10731,16 @@ module Google
10735
10731
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationProfile]
10736
10732
  attr_accessor :conversation_profile
10737
10733
 
10738
- # The name of the latest conversation message used as context for generating a
10739
- # Summary. If empty, the latest message of the conversation will be used. The
10740
- # format is specific to the user and the names of the messages provided.
10734
+ # Optional. The name of the latest conversation message used as context for
10735
+ # generating a Summary. If empty, the latest message of the conversation will be
10736
+ # used. The format is specific to the user and the names of the messages
10737
+ # provided.
10741
10738
  # Corresponds to the JSON property `latestMessage`
10742
10739
  # @return [String]
10743
10740
  attr_accessor :latest_message
10744
10741
 
10745
- # Max number of messages prior to and including [latest_message] to use as
10746
- # context when compiling the suggestion. By default 500 and at most 1000.
10742
+ # Optional. Max number of messages prior to and including [latest_message] to
10743
+ # use as context when compiling the suggestion. By default 500 and at most 1000.
10747
10744
  # Corresponds to the JSON property `maxContextSize`
10748
10745
  # @return [Fixnum]
10749
10746
  attr_accessor :max_context_size
@@ -14787,8 +14784,8 @@ module Google
14787
14784
  class GoogleCloudDialogflowV2SearchKnowledgeRequest
14788
14785
  include Google::Apis::Core::Hashable
14789
14786
 
14790
- # The conversation (between human agent and end user) where the search request
14791
- # is triggered. Format: `projects//locations//conversations/`.
14787
+ # Optional. The conversation (between human agent and end user) where the search
14788
+ # request is triggered. Format: `projects//locations//conversations/`.
14792
14789
  # Corresponds to the JSON property `conversation`
14793
14790
  # @return [String]
14794
14791
  attr_accessor :conversation
@@ -14799,14 +14796,14 @@ module Google
14799
14796
  # @return [String]
14800
14797
  attr_accessor :conversation_profile
14801
14798
 
14802
- # The name of the latest conversation message when the request is triggered.
14803
- # Format: `projects//locations//conversations//messages/`.
14799
+ # Optional. The name of the latest conversation message when the request is
14800
+ # triggered. Format: `projects//locations//conversations//messages/`.
14804
14801
  # Corresponds to the JSON property `latestMessage`
14805
14802
  # @return [String]
14806
14803
  attr_accessor :latest_message
14807
14804
 
14808
- # The parent resource contains the conversation profile Format: 'projects/' or `
14809
- # projects//locations/`.
14805
+ # Required. The parent resource contains the conversation profile Format: '
14806
+ # projects/' or `projects//locations/`.
14810
14807
  # Corresponds to the JSON property `parent`
14811
14808
  # @return [String]
14812
14809
  attr_accessor :parent
@@ -14816,12 +14813,12 @@ module Google
14816
14813
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2TextInput]
14817
14814
  attr_accessor :query
14818
14815
 
14819
- # The ID of the search session. The session_id can be combined with Dialogflow
14820
- # V3 Agent ID retrieved from conversation profile or on its own to identify a
14821
- # search session. The search history of the same session will impact the search
14822
- # result. It's up to the API caller to choose an appropriate `Session ID`. It
14823
- # can be a random number or some type of session identifiers (preferably hashed).
14824
- # The length must not exceed 36 characters.
14816
+ # Optional. The ID of the search session. The session_id can be combined with
14817
+ # Dialogflow V3 Agent ID retrieved from conversation profile or on its own to
14818
+ # identify a search session. The search history of the same session will impact
14819
+ # the search result. It's up to the API caller to choose an appropriate `Session
14820
+ # ID`. It can be a random number or some type of session identifiers (preferably
14821
+ # hashed). The length must not exceed 36 characters.
14825
14822
  # Corresponds to the JSON property `sessionId`
14826
14823
  # @return [String]
14827
14824
  attr_accessor :session_id
@@ -15209,6 +15206,37 @@ module Google
15209
15206
  class GoogleCloudDialogflowV2SpeechToTextConfig
15210
15207
  include Google::Apis::Core::Hashable
15211
15208
 
15209
+ # Defines the list of other language codes in addition to the one provided by
15210
+ # the conversation profile that may be detected as the language code for the
15211
+ # utterances over the conversation. See [Language Support](https://cloud.google.
15212
+ # com/dialogflow/docs/reference/language) for a list of the currently supported
15213
+ # language codes.
15214
+ # Corresponds to the JSON property `alternativeLanguageCodes`
15215
+ # @return [Array<String>]
15216
+ attr_accessor :alternative_language_codes
15217
+
15218
+ # Audio encoding of the audio content to process.
15219
+ # Corresponds to the JSON property `audioEncoding`
15220
+ # @return [String]
15221
+ attr_accessor :audio_encoding
15222
+
15223
+ # If `true`, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult
15224
+ # with information about the recognized speech words, e.g. start and end time
15225
+ # offsets. If false or unspecified, Speech doesn't return any word-level
15226
+ # information.
15227
+ # Corresponds to the JSON property `enableWordInfo`
15228
+ # @return [Boolean]
15229
+ attr_accessor :enable_word_info
15230
+ alias_method :enable_word_info?, :enable_word_info
15231
+
15232
+ # The language of the supplied audio. Dialogflow does not do translations. See [
15233
+ # Language Support](https://cloud.google.com/dialogflow/docs/reference/language)
15234
+ # for a list of the currently supported language codes. Note that queries in the
15235
+ # same session do not necessarily need to specify the same language.
15236
+ # Corresponds to the JSON property `languageCode`
15237
+ # @return [String]
15238
+ attr_accessor :language_code
15239
+
15212
15240
  # Which Speech model to select. Select the model best suited to your domain to
15213
15241
  # get best results. If a model is not explicitly specified, then Dialogflow auto-
15214
15242
  # selects a model based on other parameters in the SpeechToTextConfig and Agent
@@ -15226,6 +15254,13 @@ module Google
15226
15254
  # @return [String]
15227
15255
  attr_accessor :model
15228
15256
 
15257
+ # Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud
15258
+ # Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics)
15259
+ # for more details.
15260
+ # Corresponds to the JSON property `sampleRateHertz`
15261
+ # @return [Fixnum]
15262
+ attr_accessor :sample_rate_hertz
15263
+
15229
15264
  # The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `
15230
15265
  # USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in
15231
15266
  # AnalyzeContentRequest and StreamingAnalyzeContentRequest request. If enhanced
@@ -15248,7 +15283,12 @@ module Google
15248
15283
 
15249
15284
  # Update properties of this object
15250
15285
  def update!(**args)
15286
+ @alternative_language_codes = args[:alternative_language_codes] if args.key?(:alternative_language_codes)
15287
+ @audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding)
15288
+ @enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
15289
+ @language_code = args[:language_code] if args.key?(:language_code)
15251
15290
  @model = args[:model] if args.key?(:model)
15291
+ @sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
15252
15292
  @speech_model_variant = args[:speech_model_variant] if args.key?(:speech_model_variant)
15253
15293
  @use_timeout_based_endpointing = args[:use_timeout_based_endpointing] if args.key?(:use_timeout_based_endpointing)
15254
15294
  end
@@ -15331,15 +15371,15 @@ module Google
15331
15371
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters]
15332
15372
  attr_accessor :assist_query_params
15333
15373
 
15334
- # Max number of messages prior to and including [latest_message] to use as
15335
- # context when compiling the suggestion. By default 500 and at most 1000.
15374
+ # Optional. Max number of messages prior to and including [latest_message] to
15375
+ # use as context when compiling the suggestion. By default 500 and at most 1000.
15336
15376
  # Corresponds to the JSON property `contextSize`
15337
15377
  # @return [Fixnum]
15338
15378
  attr_accessor :context_size
15339
15379
 
15340
- # The name of the latest conversation message used as context for compiling
15341
- # suggestion. If empty, the latest message of the conversation will be used.
15342
- # Format: `projects//locations//conversations//messages/`.
15380
+ # Optional. The name of the latest conversation message used as context for
15381
+ # compiling suggestion. If empty, the latest message of the conversation will be
15382
+ # used. Format: `projects//locations//conversations//messages/`.
15343
15383
  # Corresponds to the JSON property `latestMessage`
15344
15384
  # @return [String]
15345
15385
  attr_accessor :latest_message
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV2
18
18
  # Version of the google-apis-dialogflow_v2 gem
19
- GEM_VERSION = "0.90.0"
19
+ GEM_VERSION = "0.92.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240607"
25
+ REVISION = "20240617"
26
26
  end
27
27
  end
28
28
  end
@@ -7539,7 +7539,12 @@ module Google
7539
7539
  class GoogleCloudDialogflowV2SpeechToTextConfig
7540
7540
  # @private
7541
7541
  class Representation < Google::Apis::Core::JsonRepresentation
7542
+ collection :alternative_language_codes, as: 'alternativeLanguageCodes'
7543
+ property :audio_encoding, as: 'audioEncoding'
7544
+ property :enable_word_info, as: 'enableWordInfo'
7545
+ property :language_code, as: 'languageCode'
7542
7546
  property :model, as: 'model'
7547
+ property :sample_rate_hertz, as: 'sampleRateHertz'
7543
7548
  property :speech_model_variant, as: 'speechModelVariant'
7544
7549
  property :use_timeout_based_endpointing, as: 'useTimeoutBasedEndpointing'
7545
7550
  end
@@ -3864,14 +3864,9 @@ module Google
3864
3864
  # Required. The project from which to list all conversation. Format: `projects//
3865
3865
  # locations/`.
3866
3866
  # @param [String] filter
3867
- # A filter expression that filters conversations listed in the response. In
3868
- # general, the expression must specify the field name, a comparison operator,
3869
- # and the value to use for filtering: - The value must be a string, a number, or
3870
- # a boolean. - The comparison operator must be either `=`,`!=`, `>`, or `<`. -
3871
- # To filter on multiple expressions, separate the expressions with `AND` or `OR`
3872
- # (omitting both implies `AND`). - For clarity, expressions can be enclosed in
3873
- # parentheses. Only `lifecycle_state` can be filtered on in this way. For
3874
- # example, the following expression only returns `COMPLETED` conversations: `
3867
+ # Optional. A filter expression that filters conversations listed in the
3868
+ # response. Only `lifecycle_state` can be filtered on in this way. For example,
3869
+ # the following expression only returns `COMPLETED` conversations: `
3875
3870
  # lifecycle_state = "COMPLETED"` For more information about filtering, see [API
3876
3871
  # Filtering](https://aip.dev/160).
3877
3872
  # @param [Fixnum] page_size
@@ -4274,8 +4269,8 @@ module Google
4274
4269
 
4275
4270
  # Get answers for the given query based on knowledge documents.
4276
4271
  # @param [String] conversation
4277
- # The conversation (between human agent and end user) where the search request
4278
- # is triggered. Format: `projects//locations//conversations/`.
4272
+ # Optional. The conversation (between human agent and end user) where the search
4273
+ # request is triggered. Format: `projects//locations//conversations/`.
4279
4274
  # @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequest] google_cloud_dialogflow_v2_search_knowledge_request_object
4280
4275
  # @param [String] fields
4281
4276
  # Selector specifying which fields to include in a partial response.
@@ -8492,14 +8487,9 @@ module Google
8492
8487
  # Required. The project from which to list all conversation. Format: `projects//
8493
8488
  # locations/`.
8494
8489
  # @param [String] filter
8495
- # A filter expression that filters conversations listed in the response. In
8496
- # general, the expression must specify the field name, a comparison operator,
8497
- # and the value to use for filtering: - The value must be a string, a number, or
8498
- # a boolean. - The comparison operator must be either `=`,`!=`, `>`, or `<`. -
8499
- # To filter on multiple expressions, separate the expressions with `AND` or `OR`
8500
- # (omitting both implies `AND`). - For clarity, expressions can be enclosed in
8501
- # parentheses. Only `lifecycle_state` can be filtered on in this way. For
8502
- # example, the following expression only returns `COMPLETED` conversations: `
8490
+ # Optional. A filter expression that filters conversations listed in the
8491
+ # response. Only `lifecycle_state` can be filtered on in this way. For example,
8492
+ # the following expression only returns `COMPLETED` conversations: `
8503
8493
  # lifecycle_state = "COMPLETED"` For more information about filtering, see [API
8504
8494
  # Filtering](https://aip.dev/160).
8505
8495
  # @param [Fixnum] page_size
@@ -8902,8 +8892,8 @@ module Google
8902
8892
 
8903
8893
  # Get answers for the given query based on knowledge documents.
8904
8894
  # @param [String] conversation
8905
- # The conversation (between human agent and end user) where the search request
8906
- # is triggered. Format: `projects//locations//conversations/`.
8895
+ # Optional. The conversation (between human agent and end user) where the search
8896
+ # request is triggered. Format: `projects//locations//conversations/`.
8907
8897
  # @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequest] google_cloud_dialogflow_v2_search_knowledge_request_object
8908
8898
  # @param [String] fields
8909
8899
  # Selector specifying which fields to include in a partial response.
@@ -9833,8 +9823,8 @@ module Google
9833
9823
 
9834
9824
  # Get answers for the given query based on knowledge documents.
9835
9825
  # @param [String] parent
9836
- # The parent resource contains the conversation profile Format: 'projects/' or `
9837
- # projects//locations/`.
9826
+ # Required. The parent resource contains the conversation profile Format: '
9827
+ # projects/' or `projects//locations/`.
9838
9828
  # @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequest] google_cloud_dialogflow_v2_search_knowledge_request_object
9839
9829
  # @param [String] fields
9840
9830
  # Selector specifying which fields to include in a partial response.
@@ -10010,8 +10000,8 @@ module Google
10010
10000
 
10011
10001
  # Get answers for the given query based on knowledge documents.
10012
10002
  # @param [String] parent
10013
- # The parent resource contains the conversation profile Format: 'projects/' or `
10014
- # projects//locations/`.
10003
+ # Required. The parent resource contains the conversation profile Format: '
10004
+ # projects/' or `projects//locations/`.
10015
10005
  # @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequest] google_cloud_dialogflow_v2_search_knowledge_request_object
10016
10006
  # @param [String] fields
10017
10007
  # Selector specifying which fields to include in a partial response.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.90.0
4
+ version: 0.92.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: 2024-06-16 00:00:00.000000000 Z
11
+ date: 2024-06-27 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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.90.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.92.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2
63
63
  post_install_message:
64
64
  rdoc_options: []