google-apis-dialogflow_v3 0.76.0 → 0.78.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: 0337564f28ea85661c9ccbe73025fc06cd9fba43606162f87c6b1d632bde1d7c
4
+ data.tar.gz: 3d69c259d26f12dcc824c7b4fb6663f00f7e714add4789fe0b32b92d15034088
5
5
  SHA512:
6
- metadata.gz: e61b6f5da330c35ffe5b22981342a0d82d932b1f9c16afb931328a1ed852b63365e16c2662d7b15b31eba1824c0f33ab799dac76db9e03b93fff37ef9c7e1003
7
- data.tar.gz: 7af676fa1b829d681d96b99e4ebaa4fdc89f63b4d6240eb50c30ffdcd0a4135438b0fd9fe00fb859e93e75108f083fabd98eafa0d9781ee40895fabf268a050b
6
+ metadata.gz: 8ff29db44077bb124e85d2f3e93af94910f8a5df7df1cc7c901836ca24cbb8fdca59326b14b9bda921c0dc934b11b1c8338d4b6bc07c9adba1409a44d2d564d4
7
+ data.tar.gz: b1a0c884d6b9705c60f79c4fae414bc9da7ff5992f237a526123818f4661229793e7b2e5743ceea7af339d2db585e59a31a2d9d0189fc097a63eba267a1886d3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Release history for google-apis-dialogflow_v3
2
2
 
3
+ ### v0.78.0 (2024-01-28)
4
+
5
+ * Regenerated from discovery document revision 20240122
6
+ * Regenerated using generator version 0.13.1
7
+
8
+ ### v0.77.0 (2024-01-22)
9
+
10
+ * Regenerated from discovery document revision 20240113
11
+ * Regenerated using generator version 0.13.0
12
+
3
13
  ### v0.76.0 (2024-01-07)
4
14
 
5
15
  * 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,15 @@ 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. Please
3682
+ # refer to [Dialogflow CX Speech model migration](https://cloud.google.com/
3683
+ # dialogflow/cx/docs/concept/speech-model-migration).
3684
+ # Corresponds to the JSON property `optOutConformerModelMigration`
3685
+ # @return [Boolean]
3686
+ attr_accessor :opt_out_conformer_model_migration
3687
+ alias_method :opt_out_conformer_model_migration?, :opt_out_conformer_model_migration
3688
+
3680
3689
  # Optional. A list of strings containing words and phrases that the speech
3681
3690
  # recognizer should recognize with higher likelihood. See [the Cloud Speech
3682
3691
  # documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-
@@ -3714,6 +3723,7 @@ module Google
3714
3723
  @enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
3715
3724
  @model = args[:model] if args.key?(:model)
3716
3725
  @model_variant = args[:model_variant] if args.key?(:model_variant)
3726
+ @opt_out_conformer_model_migration = args[:opt_out_conformer_model_migration] if args.key?(:opt_out_conformer_model_migration)
3717
3727
  @phrase_hints = args[:phrase_hints] if args.key?(:phrase_hints)
3718
3728
  @sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
3719
3729
  @single_utterance = args[:single_utterance] if args.key?(:single_utterance)
@@ -6873,8 +6883,7 @@ module Google
6873
6883
  class GoogleCloudDialogflowCxV3TextInput
6874
6884
  include Google::Apis::Core::Hashable
6875
6885
 
6876
- # Required. The UTF-8 encoded natural language text to be processed. Text length
6877
- # must not exceed 256 characters.
6886
+ # Required. The UTF-8 encoded natural language text to be processed.
6878
6887
  # Corresponds to the JSON property `text`
6879
6888
  # @return [String]
6880
6889
  attr_accessor :text
@@ -9646,6 +9655,15 @@ module Google
9646
9655
  # @return [String]
9647
9656
  attr_accessor :model_variant
9648
9657
 
9658
+ # If `true`, the request will opt out for STT conformer model migration. This
9659
+ # field will be deprecated once force migration takes place in June 2024. Please
9660
+ # refer to [Dialogflow CX Speech model migration](https://cloud.google.com/
9661
+ # dialogflow/cx/docs/concept/speech-model-migration).
9662
+ # Corresponds to the JSON property `optOutConformerModelMigration`
9663
+ # @return [Boolean]
9664
+ attr_accessor :opt_out_conformer_model_migration
9665
+ alias_method :opt_out_conformer_model_migration?, :opt_out_conformer_model_migration
9666
+
9649
9667
  # Optional. A list of strings containing words and phrases that the speech
9650
9668
  # recognizer should recognize with higher likelihood. See [the Cloud Speech
9651
9669
  # documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-
@@ -9683,6 +9701,7 @@ module Google
9683
9701
  @enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
9684
9702
  @model = args[:model] if args.key?(:model)
9685
9703
  @model_variant = args[:model_variant] if args.key?(:model_variant)
9704
+ @opt_out_conformer_model_migration = args[:opt_out_conformer_model_migration] if args.key?(:opt_out_conformer_model_migration)
9686
9705
  @phrase_hints = args[:phrase_hints] if args.key?(:phrase_hints)
9687
9706
  @sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
9688
9707
  @single_utterance = args[:single_utterance] if args.key?(:single_utterance)
@@ -10988,8 +11007,7 @@ module Google
10988
11007
  class GoogleCloudDialogflowCxV3beta1TextInput
10989
11008
  include Google::Apis::Core::Hashable
10990
11009
 
10991
- # Required. The UTF-8 encoded natural language text to be processed. Text length
10992
- # must not exceed 256 characters.
11010
+ # Required. The UTF-8 encoded natural language text to be processed.
10993
11011
  # Corresponds to the JSON property `text`
10994
11012
  # @return [String]
10995
11013
  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.78.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.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240102"
25
+ REVISION = "20240122"
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.78.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-28 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.78.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: []