google-apis-dialogflow_v3beta1 0.76.0 → 0.77.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/dialogflow_v3beta1/classes.rb +18 -4
- data/lib/google/apis/dialogflow_v3beta1/gem_version.rb +3 -3
- data/lib/google/apis/dialogflow_v3beta1/representations.rb +2 -0
- data/lib/google/apis/dialogflow_v3beta1/service.rb +93 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9dde322923fbee3997309265121223381b52d949d0078f71aa7bea26de400037
|
|
4
|
+
data.tar.gz: 000af6d26fc9c3c9b0cb0c8a431a12138bcd94d97bbd99ae1469d001adc97182
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d84f04dbb34f60c3dd8f6bdcea8aa154c5ee1de7bb19fe8e723e1b4ab2b41a5c8c7d02b086a445dd56d27fc59eb52e9c56e7e94626199a6328de130cfc4af23e
|
|
7
|
+
data.tar.gz: ff808a8832a102041dabb54785f1f72c8aed4466dc65683dd41c84a3971c03cd95b612625b4fd34a2549b254180e56be84cda83f8040f1c3148e8b10d93a60b3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Release history for google-apis-dialogflow_v3beta1
|
|
2
2
|
|
|
3
|
+
### v0.77.0 (2024-01-23)
|
|
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
|
|
@@ -1592,6 +1592,13 @@ module Google
|
|
|
1592
1592
|
# @return [String]
|
|
1593
1593
|
attr_accessor :model_variant
|
|
1594
1594
|
|
|
1595
|
+
# If `true`, the request will opt out for STT conformer model migration. This
|
|
1596
|
+
# field will be deprecated once force migration takes place in June 2024.
|
|
1597
|
+
# Corresponds to the JSON property `optOutConformerModelMigration`
|
|
1598
|
+
# @return [Boolean]
|
|
1599
|
+
attr_accessor :opt_out_conformer_model_migration
|
|
1600
|
+
alias_method :opt_out_conformer_model_migration?, :opt_out_conformer_model_migration
|
|
1601
|
+
|
|
1595
1602
|
# Optional. A list of strings containing words and phrases that the speech
|
|
1596
1603
|
# recognizer should recognize with higher likelihood. See [the Cloud Speech
|
|
1597
1604
|
# documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-
|
|
@@ -1629,6 +1636,7 @@ module Google
|
|
|
1629
1636
|
@enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
|
|
1630
1637
|
@model = args[:model] if args.key?(:model)
|
|
1631
1638
|
@model_variant = args[:model_variant] if args.key?(:model_variant)
|
|
1639
|
+
@opt_out_conformer_model_migration = args[:opt_out_conformer_model_migration] if args.key?(:opt_out_conformer_model_migration)
|
|
1632
1640
|
@phrase_hints = args[:phrase_hints] if args.key?(:phrase_hints)
|
|
1633
1641
|
@sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
|
|
1634
1642
|
@single_utterance = args[:single_utterance] if args.key?(:single_utterance)
|
|
@@ -2940,8 +2948,7 @@ module Google
|
|
|
2940
2948
|
class GoogleCloudDialogflowCxV3TextInput
|
|
2941
2949
|
include Google::Apis::Core::Hashable
|
|
2942
2950
|
|
|
2943
|
-
# Required. The UTF-8 encoded natural language text to be processed.
|
|
2944
|
-
# must not exceed 256 characters.
|
|
2951
|
+
# Required. The UTF-8 encoded natural language text to be processed.
|
|
2945
2952
|
# Corresponds to the JSON property `text`
|
|
2946
2953
|
# @return [String]
|
|
2947
2954
|
attr_accessor :text
|
|
@@ -7255,6 +7262,13 @@ module Google
|
|
|
7255
7262
|
# @return [String]
|
|
7256
7263
|
attr_accessor :model_variant
|
|
7257
7264
|
|
|
7265
|
+
# If `true`, the request will opt out for STT conformer model migration. This
|
|
7266
|
+
# field will be deprecated once force migration takes place in June 2024.
|
|
7267
|
+
# Corresponds to the JSON property `optOutConformerModelMigration`
|
|
7268
|
+
# @return [Boolean]
|
|
7269
|
+
attr_accessor :opt_out_conformer_model_migration
|
|
7270
|
+
alias_method :opt_out_conformer_model_migration?, :opt_out_conformer_model_migration
|
|
7271
|
+
|
|
7258
7272
|
# Optional. A list of strings containing words and phrases that the speech
|
|
7259
7273
|
# recognizer should recognize with higher likelihood. See [the Cloud Speech
|
|
7260
7274
|
# documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-
|
|
@@ -7292,6 +7306,7 @@ module Google
|
|
|
7292
7306
|
@enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
|
|
7293
7307
|
@model = args[:model] if args.key?(:model)
|
|
7294
7308
|
@model_variant = args[:model_variant] if args.key?(:model_variant)
|
|
7309
|
+
@opt_out_conformer_model_migration = args[:opt_out_conformer_model_migration] if args.key?(:opt_out_conformer_model_migration)
|
|
7295
7310
|
@phrase_hints = args[:phrase_hints] if args.key?(:phrase_hints)
|
|
7296
7311
|
@sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
|
|
7297
7312
|
@single_utterance = args[:single_utterance] if args.key?(:single_utterance)
|
|
@@ -10447,8 +10462,7 @@ module Google
|
|
|
10447
10462
|
class GoogleCloudDialogflowCxV3beta1TextInput
|
|
10448
10463
|
include Google::Apis::Core::Hashable
|
|
10449
10464
|
|
|
10450
|
-
# Required. The UTF-8 encoded natural language text to be processed.
|
|
10451
|
-
# must not exceed 256 characters.
|
|
10465
|
+
# Required. The UTF-8 encoded natural language text to be processed.
|
|
10452
10466
|
# Corresponds to the JSON property `text`
|
|
10453
10467
|
# @return [String]
|
|
10454
10468
|
attr_accessor :text
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module DialogflowV3beta1
|
|
18
18
|
# Version of the google-apis-dialogflow_v3beta1 gem
|
|
19
|
-
GEM_VERSION = "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.
|
|
22
|
+
GENERATOR_VERSION = "0.13.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20240113"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -3456,6 +3456,7 @@ module Google
|
|
|
3456
3456
|
property :enable_word_info, as: 'enableWordInfo'
|
|
3457
3457
|
property :model, as: 'model'
|
|
3458
3458
|
property :model_variant, as: 'modelVariant'
|
|
3459
|
+
property :opt_out_conformer_model_migration, as: 'optOutConformerModelMigration'
|
|
3459
3460
|
collection :phrase_hints, as: 'phraseHints'
|
|
3460
3461
|
property :sample_rate_hertz, as: 'sampleRateHertz'
|
|
3461
3462
|
property :single_utterance, as: 'singleUtterance'
|
|
@@ -4983,6 +4984,7 @@ module Google
|
|
|
4983
4984
|
property :enable_word_info, as: 'enableWordInfo'
|
|
4984
4985
|
property :model, as: 'model'
|
|
4985
4986
|
property :model_variant, as: 'modelVariant'
|
|
4987
|
+
property :opt_out_conformer_model_migration, as: 'optOutConformerModelMigration'
|
|
4986
4988
|
collection :phrase_hints, as: 'phraseHints'
|
|
4987
4989
|
property :sample_rate_hertz, as: 'sampleRateHertz'
|
|
4988
4990
|
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(
|
|
49
|
+
super(DEFAULT_ENDPOINT_TEMPLATE, '',
|
|
48
50
|
client_name: 'google-apis-dialogflow_v3beta1',
|
|
49
51
|
client_version: Google::Apis::DialogflowV3beta1::GEM_VERSION)
|
|
50
52
|
@batch_path = 'batch'
|
|
@@ -1582,6 +1584,51 @@ module Google
|
|
|
1582
1584
|
execute_or_queue_command(command, &block)
|
|
1583
1585
|
end
|
|
1584
1586
|
|
|
1587
|
+
# Processes a natural language query and returns structured, actionable data as
|
|
1588
|
+
# a result through server-side streaming. Server-side streaming allows
|
|
1589
|
+
# Dialogflow to send [partial responses](https://cloud.google.com/dialogflow/cx/
|
|
1590
|
+
# docs/concept/fulfillment#partial-response) earlier in a single request.
|
|
1591
|
+
# @param [String] session
|
|
1592
|
+
# Required. The name of the session this query is sent to. Format: `projects//
|
|
1593
|
+
# locations//agents//sessions/` or `projects//locations//agents//environments//
|
|
1594
|
+
# sessions/`. If `Environment ID` is not specified, we assume default 'draft'
|
|
1595
|
+
# environment. It's up to the API caller to choose an appropriate `Session ID`.
|
|
1596
|
+
# It can be a random number or some type of session identifiers (preferably
|
|
1597
|
+
# hashed). The length of the `Session ID` must not exceed 36 characters. For
|
|
1598
|
+
# more information, see the [sessions guide](https://cloud.google.com/dialogflow/
|
|
1599
|
+
# cx/docs/concept/session). Note: Always use agent versions for production
|
|
1600
|
+
# traffic. See [Versions and environments](https://cloud.google.com/dialogflow/
|
|
1601
|
+
# cx/docs/concept/version).
|
|
1602
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentRequest] google_cloud_dialogflow_cx_v3beta1_detect_intent_request_object
|
|
1603
|
+
# @param [String] fields
|
|
1604
|
+
# Selector specifying which fields to include in a partial response.
|
|
1605
|
+
# @param [String] quota_user
|
|
1606
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1607
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1608
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1609
|
+
# Request-specific options
|
|
1610
|
+
#
|
|
1611
|
+
# @yield [result, err] Result & error if block supplied
|
|
1612
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse] parsed result object
|
|
1613
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1614
|
+
#
|
|
1615
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse]
|
|
1616
|
+
#
|
|
1617
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1618
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1619
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1620
|
+
def server_project_location_agent_environment_session_streaming_detect_intent(session, google_cloud_dialogflow_cx_v3beta1_detect_intent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1621
|
+
command = make_simple_command(:post, 'v3beta1/{+session}:serverStreamingDetectIntent', options)
|
|
1622
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentRequest::Representation
|
|
1623
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_detect_intent_request_object
|
|
1624
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse::Representation
|
|
1625
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse
|
|
1626
|
+
command.params['session'] = session unless session.nil?
|
|
1627
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1628
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1629
|
+
execute_or_queue_command(command, &block)
|
|
1630
|
+
end
|
|
1631
|
+
|
|
1585
1632
|
# Creates a session entity type.
|
|
1586
1633
|
# @param [String] parent
|
|
1587
1634
|
# Required. The session to create a session entity type for. Format: `projects//
|
|
@@ -3497,6 +3544,51 @@ module Google
|
|
|
3497
3544
|
execute_or_queue_command(command, &block)
|
|
3498
3545
|
end
|
|
3499
3546
|
|
|
3547
|
+
# Processes a natural language query and returns structured, actionable data as
|
|
3548
|
+
# a result through server-side streaming. Server-side streaming allows
|
|
3549
|
+
# Dialogflow to send [partial responses](https://cloud.google.com/dialogflow/cx/
|
|
3550
|
+
# docs/concept/fulfillment#partial-response) earlier in a single request.
|
|
3551
|
+
# @param [String] session
|
|
3552
|
+
# Required. The name of the session this query is sent to. Format: `projects//
|
|
3553
|
+
# locations//agents//sessions/` or `projects//locations//agents//environments//
|
|
3554
|
+
# sessions/`. If `Environment ID` is not specified, we assume default 'draft'
|
|
3555
|
+
# environment. It's up to the API caller to choose an appropriate `Session ID`.
|
|
3556
|
+
# It can be a random number or some type of session identifiers (preferably
|
|
3557
|
+
# hashed). The length of the `Session ID` must not exceed 36 characters. For
|
|
3558
|
+
# more information, see the [sessions guide](https://cloud.google.com/dialogflow/
|
|
3559
|
+
# cx/docs/concept/session). Note: Always use agent versions for production
|
|
3560
|
+
# traffic. See [Versions and environments](https://cloud.google.com/dialogflow/
|
|
3561
|
+
# cx/docs/concept/version).
|
|
3562
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentRequest] google_cloud_dialogflow_cx_v3beta1_detect_intent_request_object
|
|
3563
|
+
# @param [String] fields
|
|
3564
|
+
# Selector specifying which fields to include in a partial response.
|
|
3565
|
+
# @param [String] quota_user
|
|
3566
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
3567
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
3568
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3569
|
+
# Request-specific options
|
|
3570
|
+
#
|
|
3571
|
+
# @yield [result, err] Result & error if block supplied
|
|
3572
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse] parsed result object
|
|
3573
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3574
|
+
#
|
|
3575
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse]
|
|
3576
|
+
#
|
|
3577
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3578
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3579
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3580
|
+
def server_project_location_agent_session_streaming_detect_intent(session, google_cloud_dialogflow_cx_v3beta1_detect_intent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3581
|
+
command = make_simple_command(:post, 'v3beta1/{+session}:serverStreamingDetectIntent', options)
|
|
3582
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentRequest::Representation
|
|
3583
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_detect_intent_request_object
|
|
3584
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse::Representation
|
|
3585
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DetectIntentResponse
|
|
3586
|
+
command.params['session'] = session unless session.nil?
|
|
3587
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3588
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3589
|
+
execute_or_queue_command(command, &block)
|
|
3590
|
+
end
|
|
3591
|
+
|
|
3500
3592
|
# Updates the feedback received from the user for a single turn of the bot
|
|
3501
3593
|
# response.
|
|
3502
3594
|
# @param [String] session
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-dialogflow_v3beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 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-
|
|
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.
|
|
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.
|
|
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_v3beta1/CHANGELOG.md
|
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.77.0
|
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1
|
|
63
63
|
post_install_message:
|
|
64
64
|
rdoc_options: []
|