google-apis-dialogflow_v3 0.76.0 → 0.77.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: 367778121598c9dc664892cf5dfe990ddb3de334ff1f4ba06cbcadcda197669b
4
- data.tar.gz: 29bb1871b30816686ccdb2dad2be17f042183197127b8c899b08eb1218d3764a
3
+ metadata.gz: 5ac98ba4c8859d7bdbcc19c9db5ae694cb416b76afd88920da6d6038e6f5268f
4
+ data.tar.gz: a794ea4887d87a5997de3bd641a8099f5310bcbf8fd0e7df40e35da4b50f80d3
5
5
  SHA512:
6
- metadata.gz: e61b6f5da330c35ffe5b22981342a0d82d932b1f9c16afb931328a1ed852b63365e16c2662d7b15b31eba1824c0f33ab799dac76db9e03b93fff37ef9c7e1003
7
- data.tar.gz: 7af676fa1b829d681d96b99e4ebaa4fdc89f63b4d6240eb50c30ffdcd0a4135438b0fd9fe00fb859e93e75108f083fabd98eafa0d9781ee40895fabf268a050b
6
+ metadata.gz: 3ab889435e0a0a9b91e6b756f353ff4a88408298f799a5a587c0494b0f789c5f249801203f70c93d2a8e365e0ec5dd62cb9aba9380f93254e7527d46e3b00684
7
+ data.tar.gz: b4ea53c5fb605a3ffc5bd828864d2503d86e92eb7be9a74cff93a79138e0ffd6cca10b4e34cacf4cf4704fb9ef18360e749f8eb95292cec638429e336c06ff6c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-dialogflow_v3
2
2
 
3
+ ### v0.77.0 (2024-01-22)
4
+
5
+ * Regenerated from discovery document revision 20240113
6
+ * Regenerated using generator version 0.13.0
7
+
3
8
  ### v0.76.0 (2024-01-07)
4
9
 
5
10
  * Regenerated from discovery document revision 20240102
@@ -692,7 +692,7 @@ module Google
692
692
  # Optional. Data Stores where the boosting configuration is applied. The full
693
693
  # names of the referenced data stores. Formats: `projects/`project`/locations/`
694
694
  # location`/collections/`collection`/dataStores/`data_store`` `projects/`project`
695
- # /locations/`location`/dataStores/`data_store`
695
+ # /locations/`location`/dataStores/`data_store``
696
696
  # Corresponds to the JSON property `dataStores`
697
697
  # @return [Array<String>]
698
698
  attr_accessor :data_stores
@@ -2422,7 +2422,7 @@ module Google
2422
2422
  # Optional. Data Stores where the boosting configuration is applied. The full
2423
2423
  # names of the referenced data stores. Formats: `projects/`project`/locations/`
2424
2424
  # location`/collections/`collection`/dataStores/`data_store`` `projects/`project`
2425
- # /locations/`location`/dataStores/`data_store`
2425
+ # /locations/`location`/dataStores/`data_store``
2426
2426
  # Corresponds to the JSON property `dataStores`
2427
2427
  # @return [Array<String>]
2428
2428
  attr_accessor :data_stores
@@ -3677,6 +3677,13 @@ module Google
3677
3677
  # @return [String]
3678
3678
  attr_accessor :model_variant
3679
3679
 
3680
+ # If `true`, the request will opt out for STT conformer model migration. This
3681
+ # field will be deprecated once force migration takes place in June 2024.
3682
+ # Corresponds to the JSON property `optOutConformerModelMigration`
3683
+ # @return [Boolean]
3684
+ attr_accessor :opt_out_conformer_model_migration
3685
+ alias_method :opt_out_conformer_model_migration?, :opt_out_conformer_model_migration
3686
+
3680
3687
  # Optional. A list of strings containing words and phrases that the speech
3681
3688
  # recognizer should recognize with higher likelihood. See [the Cloud Speech
3682
3689
  # documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-
@@ -3714,6 +3721,7 @@ module Google
3714
3721
  @enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
3715
3722
  @model = args[:model] if args.key?(:model)
3716
3723
  @model_variant = args[:model_variant] if args.key?(:model_variant)
3724
+ @opt_out_conformer_model_migration = args[:opt_out_conformer_model_migration] if args.key?(:opt_out_conformer_model_migration)
3717
3725
  @phrase_hints = args[:phrase_hints] if args.key?(:phrase_hints)
3718
3726
  @sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
3719
3727
  @single_utterance = args[:single_utterance] if args.key?(:single_utterance)
@@ -6873,8 +6881,7 @@ module Google
6873
6881
  class GoogleCloudDialogflowCxV3TextInput
6874
6882
  include Google::Apis::Core::Hashable
6875
6883
 
6876
- # Required. The UTF-8 encoded natural language text to be processed. Text length
6877
- # must not exceed 256 characters.
6884
+ # Required. The UTF-8 encoded natural language text to be processed.
6878
6885
  # Corresponds to the JSON property `text`
6879
6886
  # @return [String]
6880
6887
  attr_accessor :text
@@ -9646,6 +9653,13 @@ module Google
9646
9653
  # @return [String]
9647
9654
  attr_accessor :model_variant
9648
9655
 
9656
+ # If `true`, the request will opt out for STT conformer model migration. This
9657
+ # field will be deprecated once force migration takes place in June 2024.
9658
+ # Corresponds to the JSON property `optOutConformerModelMigration`
9659
+ # @return [Boolean]
9660
+ attr_accessor :opt_out_conformer_model_migration
9661
+ alias_method :opt_out_conformer_model_migration?, :opt_out_conformer_model_migration
9662
+
9649
9663
  # Optional. A list of strings containing words and phrases that the speech
9650
9664
  # recognizer should recognize with higher likelihood. See [the Cloud Speech
9651
9665
  # documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-
@@ -9683,6 +9697,7 @@ module Google
9683
9697
  @enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
9684
9698
  @model = args[:model] if args.key?(:model)
9685
9699
  @model_variant = args[:model_variant] if args.key?(:model_variant)
9700
+ @opt_out_conformer_model_migration = args[:opt_out_conformer_model_migration] if args.key?(:opt_out_conformer_model_migration)
9686
9701
  @phrase_hints = args[:phrase_hints] if args.key?(:phrase_hints)
9687
9702
  @sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
9688
9703
  @single_utterance = args[:single_utterance] if args.key?(:single_utterance)
@@ -10988,8 +11003,7 @@ module Google
10988
11003
  class GoogleCloudDialogflowCxV3beta1TextInput
10989
11004
  include Google::Apis::Core::Hashable
10990
11005
 
10991
- # Required. The UTF-8 encoded natural language text to be processed. Text length
10992
- # must not exceed 256 characters.
11006
+ # Required. The UTF-8 encoded natural language text to be processed.
10993
11007
  # Corresponds to the JSON property `text`
10994
11008
  # @return [String]
10995
11009
  attr_accessor :text
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV3
18
18
  # Version of the google-apis-dialogflow_v3 gem
19
- GEM_VERSION = "0.76.0"
19
+ GEM_VERSION = "0.77.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.13.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240102"
25
+ REVISION = "20240113"
26
26
  end
27
27
  end
28
28
  end
@@ -4006,6 +4006,7 @@ module Google
4006
4006
  property :enable_word_info, as: 'enableWordInfo'
4007
4007
  property :model, as: 'model'
4008
4008
  property :model_variant, as: 'modelVariant'
4009
+ property :opt_out_conformer_model_migration, as: 'optOutConformerModelMigration'
4009
4010
  collection :phrase_hints, as: 'phraseHints'
4010
4011
  property :sample_rate_hertz, as: 'sampleRateHertz'
4011
4012
  property :single_utterance, as: 'singleUtterance'
@@ -5646,6 +5647,7 @@ module Google
5646
5647
  property :enable_word_info, as: 'enableWordInfo'
5647
5648
  property :model, as: 'model'
5648
5649
  property :model_variant, as: 'modelVariant'
5650
+ property :opt_out_conformer_model_migration, as: 'optOutConformerModelMigration'
5649
5651
  collection :phrase_hints, as: 'phraseHints'
5650
5652
  property :sample_rate_hertz, as: 'sampleRateHertz'
5651
5653
  property :single_utterance, as: 'singleUtterance'
@@ -33,6 +33,8 @@ module Google
33
33
  #
34
34
  # @see https://cloud.google.com/dialogflow/
35
35
  class DialogflowService < Google::Apis::Core::BaseService
36
+ DEFAULT_ENDPOINT_TEMPLATE = "https://dialogflow.$UNIVERSE_DOMAIN$/"
37
+
36
38
  # @return [String]
37
39
  # API key. Your API key identifies your project and provides you with API access,
38
40
  # quota, and reports. Required unless you provide an OAuth 2.0 token.
@@ -44,7 +46,7 @@ module Google
44
46
  attr_accessor :quota_user
45
47
 
46
48
  def initialize
47
- super('https://dialogflow.googleapis.com/', '',
49
+ super(DEFAULT_ENDPOINT_TEMPLATE, '',
48
50
  client_name: 'google-apis-dialogflow_v3',
49
51
  client_version: Google::Apis::DialogflowV3::GEM_VERSION)
50
52
  @batch_path = 'batch'
@@ -1584,6 +1586,51 @@ module Google
1584
1586
  execute_or_queue_command(command, &block)
1585
1587
  end
1586
1588
 
1589
+ # Processes a natural language query and returns structured, actionable data as
1590
+ # a result through server-side streaming. Server-side streaming allows
1591
+ # Dialogflow to send [partial responses](https://cloud.google.com/dialogflow/cx/
1592
+ # docs/concept/fulfillment#partial-response) earlier in a single request.
1593
+ # @param [String] session
1594
+ # Required. The name of the session this query is sent to. Format: `projects//
1595
+ # locations//agents//sessions/` or `projects//locations//agents//environments//
1596
+ # sessions/`. If `Environment ID` is not specified, we assume default 'draft'
1597
+ # environment. It's up to the API caller to choose an appropriate `Session ID`.
1598
+ # It can be a random number or some type of session identifiers (preferably
1599
+ # hashed). The length of the `Session ID` must not exceed 36 characters. For
1600
+ # more information, see the [sessions guide](https://cloud.google.com/dialogflow/
1601
+ # cx/docs/concept/session). Note: Always use agent versions for production
1602
+ # traffic. See [Versions and environments](https://cloud.google.com/dialogflow/
1603
+ # cx/docs/concept/version).
1604
+ # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DetectIntentRequest] google_cloud_dialogflow_cx_v3_detect_intent_request_object
1605
+ # @param [String] fields
1606
+ # Selector specifying which fields to include in a partial response.
1607
+ # @param [String] quota_user
1608
+ # Available to use for quota purposes for server-side applications. Can be any
1609
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1610
+ # @param [Google::Apis::RequestOptions] options
1611
+ # Request-specific options
1612
+ #
1613
+ # @yield [result, err] Result & error if block supplied
1614
+ # @yieldparam result [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DetectIntentResponse] parsed result object
1615
+ # @yieldparam err [StandardError] error object if request failed
1616
+ #
1617
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DetectIntentResponse]
1618
+ #
1619
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1620
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1621
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1622
+ def server_project_location_agent_environment_session_streaming_detect_intent(session, google_cloud_dialogflow_cx_v3_detect_intent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1623
+ command = make_simple_command(:post, 'v3/{+session}:serverStreamingDetectIntent', options)
1624
+ command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DetectIntentRequest::Representation
1625
+ command.request_object = google_cloud_dialogflow_cx_v3_detect_intent_request_object
1626
+ command.response_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DetectIntentResponse::Representation
1627
+ command.response_class = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DetectIntentResponse
1628
+ command.params['session'] = session unless session.nil?
1629
+ command.query['fields'] = fields unless fields.nil?
1630
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1631
+ execute_or_queue_command(command, &block)
1632
+ end
1633
+
1587
1634
  # Creates a session entity type.
1588
1635
  # @param [String] parent
1589
1636
  # Required. The session to create a session entity type for. Format: `projects//
@@ -3504,6 +3551,51 @@ module Google
3504
3551
  execute_or_queue_command(command, &block)
3505
3552
  end
3506
3553
 
3554
+ # Processes a natural language query and returns structured, actionable data as
3555
+ # a result through server-side streaming. Server-side streaming allows
3556
+ # Dialogflow to send [partial responses](https://cloud.google.com/dialogflow/cx/
3557
+ # docs/concept/fulfillment#partial-response) earlier in a single request.
3558
+ # @param [String] session
3559
+ # Required. The name of the session this query is sent to. Format: `projects//
3560
+ # locations//agents//sessions/` or `projects//locations//agents//environments//
3561
+ # sessions/`. If `Environment ID` is not specified, we assume default 'draft'
3562
+ # environment. It's up to the API caller to choose an appropriate `Session ID`.
3563
+ # It can be a random number or some type of session identifiers (preferably
3564
+ # hashed). The length of the `Session ID` must not exceed 36 characters. For
3565
+ # more information, see the [sessions guide](https://cloud.google.com/dialogflow/
3566
+ # cx/docs/concept/session). Note: Always use agent versions for production
3567
+ # traffic. See [Versions and environments](https://cloud.google.com/dialogflow/
3568
+ # cx/docs/concept/version).
3569
+ # @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DetectIntentRequest] google_cloud_dialogflow_cx_v3_detect_intent_request_object
3570
+ # @param [String] fields
3571
+ # Selector specifying which fields to include in a partial response.
3572
+ # @param [String] quota_user
3573
+ # Available to use for quota purposes for server-side applications. Can be any
3574
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3575
+ # @param [Google::Apis::RequestOptions] options
3576
+ # Request-specific options
3577
+ #
3578
+ # @yield [result, err] Result & error if block supplied
3579
+ # @yieldparam result [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DetectIntentResponse] parsed result object
3580
+ # @yieldparam err [StandardError] error object if request failed
3581
+ #
3582
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DetectIntentResponse]
3583
+ #
3584
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3585
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3586
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3587
+ def server_project_location_agent_session_streaming_detect_intent(session, google_cloud_dialogflow_cx_v3_detect_intent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3588
+ command = make_simple_command(:post, 'v3/{+session}:serverStreamingDetectIntent', options)
3589
+ command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DetectIntentRequest::Representation
3590
+ command.request_object = google_cloud_dialogflow_cx_v3_detect_intent_request_object
3591
+ command.response_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DetectIntentResponse::Representation
3592
+ command.response_class = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DetectIntentResponse
3593
+ command.params['session'] = session unless session.nil?
3594
+ command.query['fields'] = fields unless fields.nil?
3595
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3596
+ execute_or_queue_command(command, &block)
3597
+ end
3598
+
3507
3599
  # Updates the feedback received from the user for a single turn of the bot
3508
3600
  # response.
3509
3601
  # @param [String] session
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.76.0
4
+ version: 0.77.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-01-07 00:00:00.000000000 Z
11
+ date: 2024-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.11.0
19
+ version: 0.12.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.11.0
29
+ version: 0.12.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.76.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.77.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3
63
63
  post_install_message:
64
64
  rdoc_options: []