google-apis-dialogflow_v2beta1 0.88.0 → 0.90.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: e29f68a8cf2fb3c405bc86c5ce4e01353a019bc7899a21f657da4368c64666fb
4
- data.tar.gz: 290bcb5722f82e82f0de9f77e36820ddf6242af9cfce4cec0654f7976d4a846d
3
+ metadata.gz: df9a3f3b121472f60acc6fa2ade8bc07c4a59cd8bc9853cc1271ce9e7f7e0aae
4
+ data.tar.gz: '086e9a10b1bdab98dd7a7b4a374ac0c9598f3f4ff70edd70f6758c4c1f751ac5'
5
5
  SHA512:
6
- metadata.gz: d25786698755862161cee5ca9563e4377e33845aaaef115417b05476bd8c4882dd4be4e50b143a945dcf1dbb31044450323695bbed96311ace14397253b09394
7
- data.tar.gz: 8776b6f2b351201b08c2a37659dd9df2a6212809367524b730b40c9b19df70ae7ab78060dbe8be71181a5f8c97a8358aff2c3eefbf50bf3d58955a622e4bb5d6
6
+ metadata.gz: 5d8e723508d58016a5b4a19e5b02e535efcb056dc6e8ddb8ae4de208d9dd78c87f185eca74877415dc9e71215103a21a8fbf8d7558983e69423aaf6fb37bf363
7
+ data.tar.gz: 81c12caefa0db6e0965557b660aa349e3421a55786970b2bb5d7ade3d9a4d47e637afc0c52f6cf47fb6b38c990b55e199cbfef5da6a624c3670e6cf1623d3ad3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dialogflow_v2beta1
2
2
 
3
+ ### v0.90.0 (2024-06-26)
4
+
5
+ * Regenerated from discovery document revision 20240617
6
+
7
+ ### v0.89.0 (2024-06-23)
8
+
9
+ * Regenerated from discovery document revision 20240614
10
+
3
11
  ### v0.88.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
@@ -12391,9 +12387,9 @@ module Google
12391
12387
  # @return [String]
12392
12388
  attr_accessor :conversation_profile
12393
12389
 
12394
- # The stage of a conversation. It indicates whether the virtual agent or a human
12395
- # agent is handling the conversation. If the conversation is created with the
12396
- # conversation profile that has Dialogflow config set, defaults to
12390
+ # Optional. The stage of a conversation. It indicates whether the virtual agent
12391
+ # or a human agent is handling the conversation. If the conversation is created
12392
+ # with the conversation profile that has Dialogflow config set, defaults to
12397
12393
  # ConversationStage.VIRTUAL_AGENT_STAGE; Otherwise, defaults to
12398
12394
  # ConversationStage.HUMAN_ASSIST_STAGE. If the conversation is created with the
12399
12395
  # conversation profile that has Dialogflow config set but explicitly sets
@@ -12414,8 +12410,8 @@ module Google
12414
12410
  # @return [String]
12415
12411
  attr_accessor :lifecycle_state
12416
12412
 
12417
- # Output only. The unique identifier of this conversation. Format: `projects//
12418
- # locations//conversations/`.
12413
+ # Output only. Identifier. The unique identifier of this conversation. Format: `
12414
+ # projects//locations//conversations/`.
12419
12415
  # Corresponds to the JSON property `name`
12420
12416
  # @return [String]
12421
12417
  attr_accessor :name
@@ -13708,15 +13704,16 @@ module Google
13708
13704
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationProfile]
13709
13705
  attr_accessor :conversation_profile
13710
13706
 
13711
- # The name of the latest conversation message used as context for generating a
13712
- # Summary. If empty, the latest message of the conversation will be used. The
13713
- # format is specific to the user and the names of the messages provided.
13707
+ # Optional. The name of the latest conversation message used as context for
13708
+ # generating a Summary. If empty, the latest message of the conversation will be
13709
+ # used. The format is specific to the user and the names of the messages
13710
+ # provided.
13714
13711
  # Corresponds to the JSON property `latestMessage`
13715
13712
  # @return [String]
13716
13713
  attr_accessor :latest_message
13717
13714
 
13718
- # Max number of messages prior to and including [latest_message] to use as
13719
- # context when compiling the suggestion. By default 500 and at most 1000.
13715
+ # Optional. Max number of messages prior to and including [latest_message] to
13716
+ # use as context when compiling the suggestion. By default 500 and at most 1000.
13720
13717
  # Corresponds to the JSON property `maxContextSize`
13721
13718
  # @return [Fixnum]
13722
13719
  attr_accessor :max_context_size
@@ -18412,8 +18409,8 @@ module Google
18412
18409
  class GoogleCloudDialogflowV2beta1SearchKnowledgeRequest
18413
18410
  include Google::Apis::Core::Hashable
18414
18411
 
18415
- # The conversation (between human agent and end user) where the search request
18416
- # is triggered. Format: `projects//locations//conversations/`.
18412
+ # Optional. The conversation (between human agent and end user) where the search
18413
+ # request is triggered. Format: `projects//locations//conversations/`.
18417
18414
  # Corresponds to the JSON property `conversation`
18418
18415
  # @return [String]
18419
18416
  attr_accessor :conversation
@@ -18424,14 +18421,14 @@ module Google
18424
18421
  # @return [String]
18425
18422
  attr_accessor :conversation_profile
18426
18423
 
18427
- # The name of the latest conversation message when the request is triggered.
18428
- # Format: `projects//locations//conversations//messages/`.
18424
+ # Optional. The name of the latest conversation message when the request is
18425
+ # triggered. Format: `projects//locations//conversations//messages/`.
18429
18426
  # Corresponds to the JSON property `latestMessage`
18430
18427
  # @return [String]
18431
18428
  attr_accessor :latest_message
18432
18429
 
18433
- # The parent resource contains the conversation profile Format: 'projects/' or `
18434
- # projects//locations/`.
18430
+ # Required. The parent resource contains the conversation profile Format: '
18431
+ # projects/' or `projects//locations/`.
18435
18432
  # Corresponds to the JSON property `parent`
18436
18433
  # @return [String]
18437
18434
  attr_accessor :parent
@@ -18441,12 +18438,12 @@ module Google
18441
18438
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput]
18442
18439
  attr_accessor :query
18443
18440
 
18444
- # The ID of the search session. The session_id can be combined with Dialogflow
18445
- # V3 Agent ID retrieved from conversation profile or on its own to identify a
18446
- # search session. The search history of the same session will impact the search
18447
- # result. It's up to the API caller to choose an appropriate `Session ID`. It
18448
- # can be a random number or some type of session identifiers (preferably hashed).
18449
- # The length must not exceed 36 characters.
18441
+ # Optional. The ID of the search session. The session_id can be combined with
18442
+ # Dialogflow V3 Agent ID retrieved from conversation profile or on its own to
18443
+ # identify a search session. The search history of the same session will impact
18444
+ # the search result. It's up to the API caller to choose an appropriate `Session
18445
+ # ID`. It can be a random number or some type of session identifiers (preferably
18446
+ # hashed). The length must not exceed 36 characters.
18450
18447
  # Corresponds to the JSON property `sessionId`
18451
18448
  # @return [String]
18452
18449
  attr_accessor :session_id
@@ -18756,6 +18753,37 @@ module Google
18756
18753
  class GoogleCloudDialogflowV2beta1SpeechToTextConfig
18757
18754
  include Google::Apis::Core::Hashable
18758
18755
 
18756
+ # Defines the list of other language codes in addition to the one provided by
18757
+ # the conversation profile that may be detected as the language code for the
18758
+ # utterances over the conversation. See [Language Support](https://cloud.google.
18759
+ # com/dialogflow/docs/reference/language) for a list of the currently supported
18760
+ # language codes.
18761
+ # Corresponds to the JSON property `alternativeLanguageCodes`
18762
+ # @return [Array<String>]
18763
+ attr_accessor :alternative_language_codes
18764
+
18765
+ # Audio encoding of the audio content to process.
18766
+ # Corresponds to the JSON property `audioEncoding`
18767
+ # @return [String]
18768
+ attr_accessor :audio_encoding
18769
+
18770
+ # If `true`, Dialogflow returns SpeechWordInfo in StreamingRecognitionResult
18771
+ # with information about the recognized speech words, e.g. start and end time
18772
+ # offsets. If false or unspecified, Speech doesn't return any word-level
18773
+ # information.
18774
+ # Corresponds to the JSON property `enableWordInfo`
18775
+ # @return [Boolean]
18776
+ attr_accessor :enable_word_info
18777
+ alias_method :enable_word_info?, :enable_word_info
18778
+
18779
+ # The language of the supplied audio. Dialogflow does not do translations. See [
18780
+ # Language Support](https://cloud.google.com/dialogflow/docs/reference/language)
18781
+ # for a list of the currently supported language codes. Note that queries in the
18782
+ # same session do not necessarily need to specify the same language.
18783
+ # Corresponds to the JSON property `languageCode`
18784
+ # @return [String]
18785
+ attr_accessor :language_code
18786
+
18759
18787
  # Which Speech model to select. Select the model best suited to your domain to
18760
18788
  # get best results. If a model is not explicitly specified, then Dialogflow auto-
18761
18789
  # selects a model based on other parameters in the SpeechToTextConfig and Agent
@@ -18773,6 +18801,13 @@ module Google
18773
18801
  # @return [String]
18774
18802
  attr_accessor :model
18775
18803
 
18804
+ # Sample rate (in Hertz) of the audio content sent in the query. Refer to [Cloud
18805
+ # Speech API documentation](https://cloud.google.com/speech-to-text/docs/basics)
18806
+ # for more details.
18807
+ # Corresponds to the JSON property `sampleRateHertz`
18808
+ # @return [Fixnum]
18809
+ attr_accessor :sample_rate_hertz
18810
+
18776
18811
  # The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `
18777
18812
  # USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in
18778
18813
  # AnalyzeContentRequest and StreamingAnalyzeContentRequest request. If enhanced
@@ -18795,7 +18830,12 @@ module Google
18795
18830
 
18796
18831
  # Update properties of this object
18797
18832
  def update!(**args)
18833
+ @alternative_language_codes = args[:alternative_language_codes] if args.key?(:alternative_language_codes)
18834
+ @audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding)
18835
+ @enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
18836
+ @language_code = args[:language_code] if args.key?(:language_code)
18798
18837
  @model = args[:model] if args.key?(:model)
18838
+ @sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
18799
18839
  @speech_model_variant = args[:speech_model_variant] if args.key?(:speech_model_variant)
18800
18840
  @use_timeout_based_endpointing = args[:use_timeout_based_endpointing] if args.key?(:use_timeout_based_endpointing)
18801
18841
  end
@@ -18906,15 +18946,15 @@ module Google
18906
18946
  # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters]
18907
18947
  attr_accessor :assist_query_params
18908
18948
 
18909
- # Max number of messages prior to and including [latest_message] to use as
18910
- # context when compiling the suggestion. By default 500 and at most 1000.
18949
+ # Optional. Max number of messages prior to and including [latest_message] to
18950
+ # use as context when compiling the suggestion. By default 500 and at most 1000.
18911
18951
  # Corresponds to the JSON property `contextSize`
18912
18952
  # @return [Fixnum]
18913
18953
  attr_accessor :context_size
18914
18954
 
18915
- # The name of the latest conversation message used as context for compiling
18916
- # suggestion. If empty, the latest message of the conversation will be used.
18917
- # Format: `projects//locations//conversations//messages/`.
18955
+ # Optional. The name of the latest conversation message used as context for
18956
+ # compiling suggestion. If empty, the latest message of the conversation will be
18957
+ # used. Format: `projects//locations//conversations//messages/`.
18918
18958
  # Corresponds to the JSON property `latestMessage`
18919
18959
  # @return [String]
18920
18960
  attr_accessor :latest_message
@@ -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.88.0"
19
+ GEM_VERSION = "0.90.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
@@ -8508,7 +8508,12 @@ module Google
8508
8508
  class GoogleCloudDialogflowV2beta1SpeechToTextConfig
8509
8509
  # @private
8510
8510
  class Representation < Google::Apis::Core::JsonRepresentation
8511
+ collection :alternative_language_codes, as: 'alternativeLanguageCodes'
8512
+ property :audio_encoding, as: 'audioEncoding'
8513
+ property :enable_word_info, as: 'enableWordInfo'
8514
+ property :language_code, as: 'languageCode'
8511
8515
  property :model, as: 'model'
8516
+ property :sample_rate_hertz, as: 'sampleRateHertz'
8512
8517
  property :speech_model_variant, as: 'speechModelVariant'
8513
8518
  property :use_timeout_based_endpointing, as: 'useTimeoutBasedEndpointing'
8514
8519
  end
@@ -3582,14 +3582,9 @@ module Google
3582
3582
  # Required. The project from which to list all conversation. Format: `projects//
3583
3583
  # locations/`.
3584
3584
  # @param [String] filter
3585
- # A filter expression that filters conversations listed in the response. In
3586
- # general, the expression must specify the field name, a comparison operator,
3587
- # and the value to use for filtering: - The value must be a string, a number, or
3588
- # a boolean. - The comparison operator must be either `=`,`!=`, `>`, or `<`. -
3589
- # To filter on multiple expressions, separate the expressions with `AND` or `OR`
3590
- # (omitting both implies `AND`). - For clarity, expressions can be enclosed in
3591
- # parentheses. Only `lifecycle_state` can be filtered on in this way. For
3592
- # example, the following expression only returns `COMPLETED` conversations: `
3585
+ # Optional. A filter expression that filters conversations listed in the
3586
+ # response. Only `lifecycle_state` can be filtered on in this way. For example,
3587
+ # the following expression only returns `COMPLETED` conversations: `
3593
3588
  # lifecycle_state = "COMPLETED"` For more information about filtering, see [API
3594
3589
  # Filtering](https://aip.dev/160).
3595
3590
  # @param [Fixnum] page_size
@@ -4123,8 +4118,8 @@ module Google
4123
4118
 
4124
4119
  # Get answers for the given query based on knowledge documents.
4125
4120
  # @param [String] conversation
4126
- # The conversation (between human agent and end user) where the search request
4127
- # is triggered. Format: `projects//locations//conversations/`.
4121
+ # Optional. The conversation (between human agent and end user) where the search
4122
+ # request is triggered. Format: `projects//locations//conversations/`.
4128
4123
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequest] google_cloud_dialogflow_v2beta1_search_knowledge_request_object
4129
4124
  # @param [String] fields
4130
4125
  # Selector specifying which fields to include in a partial response.
@@ -7913,14 +7908,9 @@ module Google
7913
7908
  # Required. The project from which to list all conversation. Format: `projects//
7914
7909
  # locations/`.
7915
7910
  # @param [String] filter
7916
- # A filter expression that filters conversations listed in the response. In
7917
- # general, the expression must specify the field name, a comparison operator,
7918
- # and the value to use for filtering: - The value must be a string, a number, or
7919
- # a boolean. - The comparison operator must be either `=`,`!=`, `>`, or `<`. -
7920
- # To filter on multiple expressions, separate the expressions with `AND` or `OR`
7921
- # (omitting both implies `AND`). - For clarity, expressions can be enclosed in
7922
- # parentheses. Only `lifecycle_state` can be filtered on in this way. For
7923
- # example, the following expression only returns `COMPLETED` conversations: `
7911
+ # Optional. A filter expression that filters conversations listed in the
7912
+ # response. Only `lifecycle_state` can be filtered on in this way. For example,
7913
+ # the following expression only returns `COMPLETED` conversations: `
7924
7914
  # lifecycle_state = "COMPLETED"` For more information about filtering, see [API
7925
7915
  # Filtering](https://aip.dev/160).
7926
7916
  # @param [Fixnum] page_size
@@ -8360,8 +8350,8 @@ module Google
8360
8350
 
8361
8351
  # Get answers for the given query based on knowledge documents.
8362
8352
  # @param [String] conversation
8363
- # The conversation (between human agent and end user) where the search request
8364
- # is triggered. Format: `projects//locations//conversations/`.
8353
+ # Optional. The conversation (between human agent and end user) where the search
8354
+ # request is triggered. Format: `projects//locations//conversations/`.
8365
8355
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequest] google_cloud_dialogflow_v2beta1_search_knowledge_request_object
8366
8356
  # @param [String] fields
8367
8357
  # Selector specifying which fields to include in a partial response.
@@ -9276,8 +9266,8 @@ module Google
9276
9266
 
9277
9267
  # Get answers for the given query based on knowledge documents.
9278
9268
  # @param [String] parent
9279
- # The parent resource contains the conversation profile Format: 'projects/' or `
9280
- # projects//locations/`.
9269
+ # Required. The parent resource contains the conversation profile Format: '
9270
+ # projects/' or `projects//locations/`.
9281
9271
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequest] google_cloud_dialogflow_v2beta1_search_knowledge_request_object
9282
9272
  # @param [String] fields
9283
9273
  # Selector specifying which fields to include in a partial response.
@@ -9453,8 +9443,8 @@ module Google
9453
9443
 
9454
9444
  # Get answers for the given query based on knowledge documents.
9455
9445
  # @param [String] parent
9456
- # The parent resource contains the conversation profile Format: 'projects/' or `
9457
- # projects//locations/`.
9446
+ # Required. The parent resource contains the conversation profile Format: '
9447
+ # projects/' or `projects//locations/`.
9458
9448
  # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequest] google_cloud_dialogflow_v2beta1_search_knowledge_request_object
9459
9449
  # @param [String] fields
9460
9450
  # 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_v2beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.88.0
4
+ version: 0.90.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_v2beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.88.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.90.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: []