google-apis-dialogflow_v3beta1 0.75.0 → 0.77.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/dialogflow_v3beta1/classes.rb +42 -10
- data/lib/google/apis/dialogflow_v3beta1/gem_version.rb +3 -3
- data/lib/google/apis/dialogflow_v3beta1/representations.rb +4 -0
- data/lib/google/apis/dialogflow_v3beta1/service.rb +93 -1
- metadata +6 -6
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,14 @@
|
|
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
|
+
|
8
|
+
### v0.76.0 (2024-01-07)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240102
|
11
|
+
|
3
12
|
### v0.75.0 (2023-12-24)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20231215
|
@@ -338,7 +338,8 @@ module Google
|
|
338
338
|
# Represents the query input. It can contain one of: 1. A conversational query
|
339
339
|
# in the form of text. 2. An intent query that specifies which intent to trigger.
|
340
340
|
# 3. Natural language speech audio to be processed. 4. An event to be triggered.
|
341
|
-
# 5. DTMF digits to invoke an intent and fill in parameter value.
|
341
|
+
# 5. DTMF digits to invoke an intent and fill in parameter value. 6. The
|
342
|
+
# results of a tool executed by the client.
|
342
343
|
# Corresponds to the JSON property `input`
|
343
344
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3QueryInput]
|
344
345
|
attr_accessor :input
|
@@ -1591,6 +1592,13 @@ module Google
|
|
1591
1592
|
# @return [String]
|
1592
1593
|
attr_accessor :model_variant
|
1593
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
|
+
|
1594
1602
|
# Optional. A list of strings containing words and phrases that the speech
|
1595
1603
|
# recognizer should recognize with higher likelihood. See [the Cloud Speech
|
1596
1604
|
# documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-
|
@@ -1628,6 +1636,7 @@ module Google
|
|
1628
1636
|
@enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
|
1629
1637
|
@model = args[:model] if args.key?(:model)
|
1630
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)
|
1631
1640
|
@phrase_hints = args[:phrase_hints] if args.key?(:phrase_hints)
|
1632
1641
|
@sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
|
1633
1642
|
@single_utterance = args[:single_utterance] if args.key?(:single_utterance)
|
@@ -1933,6 +1942,11 @@ module Google
|
|
1933
1942
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3AdvancedSettings]
|
1934
1943
|
attr_accessor :advanced_settings
|
1935
1944
|
|
1945
|
+
# The description of the page. The maximum length is 500 characters.
|
1946
|
+
# Corresponds to the JSON property `description`
|
1947
|
+
# @return [String]
|
1948
|
+
attr_accessor :description
|
1949
|
+
|
1936
1950
|
# Required. The human-readable name of the page, unique within the flow.
|
1937
1951
|
# Corresponds to the JSON property `displayName`
|
1938
1952
|
# @return [String]
|
@@ -2014,6 +2028,7 @@ module Google
|
|
2014
2028
|
# Update properties of this object
|
2015
2029
|
def update!(**args)
|
2016
2030
|
@advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
|
2031
|
+
@description = args[:description] if args.key?(:description)
|
2017
2032
|
@display_name = args[:display_name] if args.key?(:display_name)
|
2018
2033
|
@entry_fulfillment = args[:entry_fulfillment] if args.key?(:entry_fulfillment)
|
2019
2034
|
@event_handlers = args[:event_handlers] if args.key?(:event_handlers)
|
@@ -2136,7 +2151,8 @@ module Google
|
|
2136
2151
|
# Represents the query input. It can contain one of: 1. A conversational query
|
2137
2152
|
# in the form of text. 2. An intent query that specifies which intent to trigger.
|
2138
2153
|
# 3. Natural language speech audio to be processed. 4. An event to be triggered.
|
2139
|
-
# 5. DTMF digits to invoke an intent and fill in parameter value.
|
2154
|
+
# 5. DTMF digits to invoke an intent and fill in parameter value. 6. The
|
2155
|
+
# results of a tool executed by the client.
|
2140
2156
|
class GoogleCloudDialogflowCxV3QueryInput
|
2141
2157
|
include Google::Apis::Core::Hashable
|
2142
2158
|
|
@@ -2932,8 +2948,7 @@ module Google
|
|
2932
2948
|
class GoogleCloudDialogflowCxV3TextInput
|
2933
2949
|
include Google::Apis::Core::Hashable
|
2934
2950
|
|
2935
|
-
# Required. The UTF-8 encoded natural language text to be processed.
|
2936
|
-
# must not exceed 256 characters.
|
2951
|
+
# Required. The UTF-8 encoded natural language text to be processed.
|
2937
2952
|
# Corresponds to the JSON property `text`
|
2938
2953
|
# @return [String]
|
2939
2954
|
attr_accessor :text
|
@@ -4546,7 +4561,8 @@ module Google
|
|
4546
4561
|
# Represents the query input. It can contain one of: 1. A conversational query
|
4547
4562
|
# in the form of text. 2. An intent query that specifies which intent to trigger.
|
4548
4563
|
# 3. Natural language speech audio to be processed. 4. An event to be triggered.
|
4549
|
-
# 5. DTMF digits to invoke an intent and fill in parameter value.
|
4564
|
+
# 5. DTMF digits to invoke an intent and fill in parameter value. 6. The
|
4565
|
+
# results of a tool executed by the client.
|
4550
4566
|
# Corresponds to the JSON property `input`
|
4551
4567
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput]
|
4552
4568
|
attr_accessor :input
|
@@ -4897,7 +4913,8 @@ module Google
|
|
4897
4913
|
# Represents the query input. It can contain one of: 1. A conversational query
|
4898
4914
|
# in the form of text. 2. An intent query that specifies which intent to trigger.
|
4899
4915
|
# 3. Natural language speech audio to be processed. 4. An event to be triggered.
|
4900
|
-
# 5. DTMF digits to invoke an intent and fill in parameter value.
|
4916
|
+
# 5. DTMF digits to invoke an intent and fill in parameter value. 6. The
|
4917
|
+
# results of a tool executed by the client.
|
4901
4918
|
# Corresponds to the JSON property `queryInput`
|
4902
4919
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput]
|
4903
4920
|
attr_accessor :query_input
|
@@ -7245,6 +7262,13 @@ module Google
|
|
7245
7262
|
# @return [String]
|
7246
7263
|
attr_accessor :model_variant
|
7247
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
|
+
|
7248
7272
|
# Optional. A list of strings containing words and phrases that the speech
|
7249
7273
|
# recognizer should recognize with higher likelihood. See [the Cloud Speech
|
7250
7274
|
# documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-
|
@@ -7282,6 +7306,7 @@ module Google
|
|
7282
7306
|
@enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
|
7283
7307
|
@model = args[:model] if args.key?(:model)
|
7284
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)
|
7285
7310
|
@phrase_hints = args[:phrase_hints] if args.key?(:phrase_hints)
|
7286
7311
|
@sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
|
7287
7312
|
@single_utterance = args[:single_utterance] if args.key?(:single_utterance)
|
@@ -8232,7 +8257,8 @@ module Google
|
|
8232
8257
|
# Represents the query input. It can contain one of: 1. A conversational query
|
8233
8258
|
# in the form of text. 2. An intent query that specifies which intent to trigger.
|
8234
8259
|
# 3. Natural language speech audio to be processed. 4. An event to be triggered.
|
8235
|
-
# 5. DTMF digits to invoke an intent and fill in parameter value.
|
8260
|
+
# 5. DTMF digits to invoke an intent and fill in parameter value. 6. The
|
8261
|
+
# results of a tool executed by the client.
|
8236
8262
|
# Corresponds to the JSON property `queryInput`
|
8237
8263
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput]
|
8238
8264
|
attr_accessor :query_input
|
@@ -8417,6 +8443,11 @@ module Google
|
|
8417
8443
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings]
|
8418
8444
|
attr_accessor :advanced_settings
|
8419
8445
|
|
8446
|
+
# The description of the page. The maximum length is 500 characters.
|
8447
|
+
# Corresponds to the JSON property `description`
|
8448
|
+
# @return [String]
|
8449
|
+
attr_accessor :description
|
8450
|
+
|
8420
8451
|
# Required. The human-readable name of the page, unique within the flow.
|
8421
8452
|
# Corresponds to the JSON property `displayName`
|
8422
8453
|
# @return [String]
|
@@ -8498,6 +8529,7 @@ module Google
|
|
8498
8529
|
# Update properties of this object
|
8499
8530
|
def update!(**args)
|
8500
8531
|
@advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
|
8532
|
+
@description = args[:description] if args.key?(:description)
|
8501
8533
|
@display_name = args[:display_name] if args.key?(:display_name)
|
8502
8534
|
@entry_fulfillment = args[:entry_fulfillment] if args.key?(:entry_fulfillment)
|
8503
8535
|
@event_handlers = args[:event_handlers] if args.key?(:event_handlers)
|
@@ -8639,7 +8671,8 @@ module Google
|
|
8639
8671
|
# Represents the query input. It can contain one of: 1. A conversational query
|
8640
8672
|
# in the form of text. 2. An intent query that specifies which intent to trigger.
|
8641
8673
|
# 3. Natural language speech audio to be processed. 4. An event to be triggered.
|
8642
|
-
# 5. DTMF digits to invoke an intent and fill in parameter value.
|
8674
|
+
# 5. DTMF digits to invoke an intent and fill in parameter value. 6. The
|
8675
|
+
# results of a tool executed by the client.
|
8643
8676
|
class GoogleCloudDialogflowCxV3beta1QueryInput
|
8644
8677
|
include Google::Apis::Core::Hashable
|
8645
8678
|
|
@@ -10429,8 +10462,7 @@ module Google
|
|
10429
10462
|
class GoogleCloudDialogflowCxV3beta1TextInput
|
10430
10463
|
include Google::Apis::Core::Hashable
|
10431
10464
|
|
10432
|
-
# Required. The UTF-8 encoded natural language text to be processed.
|
10433
|
-
# must not exceed 256 characters.
|
10465
|
+
# Required. The UTF-8 encoded natural language text to be processed.
|
10434
10466
|
# Corresponds to the JSON property `text`
|
10435
10467
|
# @return [String]
|
10436
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'
|
@@ -3531,6 +3532,7 @@ module Google
|
|
3531
3532
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3532
3533
|
property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3AdvancedSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3AdvancedSettings::Representation
|
3533
3534
|
|
3535
|
+
property :description, as: 'description'
|
3534
3536
|
property :display_name, as: 'displayName'
|
3535
3537
|
property :entry_fulfillment, as: 'entryFulfillment', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3Fulfillment, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3Fulfillment::Representation
|
3536
3538
|
|
@@ -4982,6 +4984,7 @@ module Google
|
|
4982
4984
|
property :enable_word_info, as: 'enableWordInfo'
|
4983
4985
|
property :model, as: 'model'
|
4984
4986
|
property :model_variant, as: 'modelVariant'
|
4987
|
+
property :opt_out_conformer_model_migration, as: 'optOutConformerModelMigration'
|
4985
4988
|
collection :phrase_hints, as: 'phraseHints'
|
4986
4989
|
property :sample_rate_hertz, as: 'sampleRateHertz'
|
4987
4990
|
property :single_utterance, as: 'singleUtterance'
|
@@ -5309,6 +5312,7 @@ module Google
|
|
5309
5312
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5310
5313
|
property :advanced_settings, as: 'advancedSettings', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings::Representation
|
5311
5314
|
|
5315
|
+
property :description, as: 'description'
|
5312
5316
|
property :display_name, as: 'displayName'
|
5313
5317
|
property :entry_fulfillment, as: 'entryFulfillment', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Fulfillment::Representation
|
5314
5318
|
|
@@ -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:
|
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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.5.3
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Dialogflow API V3beta1
|