google-apis-dialogflow_v3 0.14.0 → 0.15.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c6c2c42d08935c9242242531f2afa46d29666f19b8b15b9d3a7ea99a9267dff
|
4
|
+
data.tar.gz: f32a5f8dc0d115df09d2eaa05af6907ffc96c19f0f5bbbfe59b0c51c708b7406
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bfd2fc490f0a58def7da2e7503ca42a2553974d415b0ce94ddd08ef4f1179d9ff4e1643e10e236002f3ac034bd511e5548bc3e83e5f32f96c0b192caa520f18
|
7
|
+
data.tar.gz: f2cb9c88c279b7194b5736ce81af94ce20285ce1dd299cdaaa1f4422a515502b722dcd72f17505af3eb1ae0a96ef2deee0283b094eca264a86dd78265c76dfd8
|
data/CHANGELOG.md
CHANGED
@@ -37,10 +37,10 @@ module Google
|
|
37
37
|
# @return [String]
|
38
38
|
attr_accessor :avatar_uri
|
39
39
|
|
40
|
-
# Immutable. The default language of the agent as a language tag. See [
|
41
|
-
# Support](https://cloud.google.com/dialogflow/cx/docs/reference/
|
42
|
-
# list of the currently supported language codes. This field
|
43
|
-
# the Agents.UpdateAgent method.
|
40
|
+
# Required. Immutable. The default language of the agent as a language tag. See [
|
41
|
+
# Language Support](https://cloud.google.com/dialogflow/cx/docs/reference/
|
42
|
+
# language) for a list of the currently supported language codes. This field
|
43
|
+
# cannot be set by the Agents.UpdateAgent method.
|
44
44
|
# Corresponds to the JSON property `defaultLanguageCode`
|
45
45
|
# @return [String]
|
46
46
|
attr_accessor :default_language_code
|
@@ -590,6 +590,14 @@ module Google
|
|
590
590
|
class GoogleCloudDialogflowCxV3DetectIntentResponse
|
591
591
|
include Google::Apis::Core::Hashable
|
592
592
|
|
593
|
+
# Indicates whether the partial response can be cancelled when a later response
|
594
|
+
# arrives. e.g. if the agent specified some music as partial response, it can be
|
595
|
+
# cancelled.
|
596
|
+
# Corresponds to the JSON property `allowCancellation`
|
597
|
+
# @return [Boolean]
|
598
|
+
attr_accessor :allow_cancellation
|
599
|
+
alias_method :allow_cancellation?, :allow_cancellation
|
600
|
+
|
593
601
|
# The audio data bytes encoded as specified in the request. Note: The output
|
594
602
|
# audio is generated based on the values of default platform text responses
|
595
603
|
# found in the `query_result.response_messages` field. If multiple default text
|
@@ -619,16 +627,23 @@ module Google
|
|
619
627
|
# @return [String]
|
620
628
|
attr_accessor :response_id
|
621
629
|
|
630
|
+
# Response type.
|
631
|
+
# Corresponds to the JSON property `responseType`
|
632
|
+
# @return [String]
|
633
|
+
attr_accessor :response_type
|
634
|
+
|
622
635
|
def initialize(**args)
|
623
636
|
update!(**args)
|
624
637
|
end
|
625
638
|
|
626
639
|
# Update properties of this object
|
627
640
|
def update!(**args)
|
641
|
+
@allow_cancellation = args[:allow_cancellation] if args.key?(:allow_cancellation)
|
628
642
|
@output_audio = args[:output_audio] if args.key?(:output_audio)
|
629
643
|
@output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config)
|
630
644
|
@query_result = args[:query_result] if args.key?(:query_result)
|
631
645
|
@response_id = args[:response_id] if args.key?(:response_id)
|
646
|
+
@response_type = args[:response_type] if args.key?(:response_type)
|
632
647
|
end
|
633
648
|
end
|
634
649
|
|
@@ -1749,6 +1764,18 @@ module Google
|
|
1749
1764
|
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessage>]
|
1750
1765
|
attr_accessor :messages
|
1751
1766
|
|
1767
|
+
# Whether Dialogflow should return currently queued fulfillment response
|
1768
|
+
# messages in streaming APIs. If a webhook is specified, it happens before
|
1769
|
+
# Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API.
|
1770
|
+
# Responses are still queued and returned once in non-streaming API. 2) The flag
|
1771
|
+
# can be enabled in any fulfillment but only the first 3 partial responses will
|
1772
|
+
# be returned. You may only want to apply it to fulfillments that have slow
|
1773
|
+
# webhooks.
|
1774
|
+
# Corresponds to the JSON property `returnPartialResponses`
|
1775
|
+
# @return [Boolean]
|
1776
|
+
attr_accessor :return_partial_responses
|
1777
|
+
alias_method :return_partial_responses?, :return_partial_responses
|
1778
|
+
|
1752
1779
|
# Set parameter values before executing the webhook.
|
1753
1780
|
# Corresponds to the JSON property `setParameterActions`
|
1754
1781
|
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction>]
|
@@ -1773,6 +1800,7 @@ module Google
|
|
1773
1800
|
def update!(**args)
|
1774
1801
|
@conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases)
|
1775
1802
|
@messages = args[:messages] if args.key?(:messages)
|
1803
|
+
@return_partial_responses = args[:return_partial_responses] if args.key?(:return_partial_responses)
|
1776
1804
|
@set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions)
|
1777
1805
|
@tag = args[:tag] if args.key?(:tag)
|
1778
1806
|
@webhook = args[:webhook] if args.key?(:webhook)
|
@@ -4098,8 +4126,8 @@ module Google
|
|
4098
4126
|
|
4099
4127
|
# DLP inspect template name. Use this template to define inspect base settings.
|
4100
4128
|
# If empty, we use the default DLP inspect config. The template name will have
|
4101
|
-
# one of the following formats: `projects
|
4102
|
-
#
|
4129
|
+
# one of the following formats: `projects//inspectTemplates/` OR `projects//
|
4130
|
+
# locations//inspectTemplates/` OR `organizations//inspectTemplates/`
|
4103
4131
|
# Corresponds to the JSON property `inspectTemplate`
|
4104
4132
|
# @return [String]
|
4105
4133
|
attr_accessor :inspect_template
|
@@ -6297,6 +6325,18 @@ module Google
|
|
6297
6325
|
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessage>]
|
6298
6326
|
attr_accessor :messages
|
6299
6327
|
|
6328
|
+
# Whether Dialogflow should return currently queued fulfillment response
|
6329
|
+
# messages in streaming APIs. If a webhook is specified, it happens before
|
6330
|
+
# Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API.
|
6331
|
+
# Responses are still queued and returned once in non-streaming API. 2) The flag
|
6332
|
+
# can be enabled in any fulfillment but only the first 3 partial responses will
|
6333
|
+
# be returned. You may only want to apply it to fulfillments that have slow
|
6334
|
+
# webhooks.
|
6335
|
+
# Corresponds to the JSON property `returnPartialResponses`
|
6336
|
+
# @return [Boolean]
|
6337
|
+
attr_accessor :return_partial_responses
|
6338
|
+
alias_method :return_partial_responses?, :return_partial_responses
|
6339
|
+
|
6300
6340
|
# Set parameter values before executing the webhook.
|
6301
6341
|
# Corresponds to the JSON property `setParameterActions`
|
6302
6342
|
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction>]
|
@@ -6321,6 +6361,7 @@ module Google
|
|
6321
6361
|
def update!(**args)
|
6322
6362
|
@conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases)
|
6323
6363
|
@messages = args[:messages] if args.key?(:messages)
|
6364
|
+
@return_partial_responses = args[:return_partial_responses] if args.key?(:return_partial_responses)
|
6324
6365
|
@set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions)
|
6325
6366
|
@tag = args[:tag] if args.key?(:tag)
|
6326
6367
|
@webhook = args[:webhook] if args.key?(:webhook)
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.15.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210611"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2446,12 +2446,14 @@ module Google
|
|
2446
2446
|
class GoogleCloudDialogflowCxV3DetectIntentResponse
|
2447
2447
|
# @private
|
2448
2448
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2449
|
+
property :allow_cancellation, as: 'allowCancellation'
|
2449
2450
|
property :output_audio, :base64 => true, as: 'outputAudio'
|
2450
2451
|
property :output_audio_config, as: 'outputAudioConfig', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3OutputAudioConfig, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3OutputAudioConfig::Representation
|
2451
2452
|
|
2452
2453
|
property :query_result, as: 'queryResult', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryResult::Representation
|
2453
2454
|
|
2454
2455
|
property :response_id, as: 'responseId'
|
2456
|
+
property :response_type, as: 'responseType'
|
2455
2457
|
end
|
2456
2458
|
end
|
2457
2459
|
|
@@ -2747,6 +2749,7 @@ module Google
|
|
2747
2749
|
|
2748
2750
|
collection :messages, as: 'messages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessage::Representation
|
2749
2751
|
|
2752
|
+
property :return_partial_responses, as: 'returnPartialResponses'
|
2750
2753
|
collection :set_parameter_actions, as: 'setParameterActions', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction::Representation
|
2751
2754
|
|
2752
2755
|
property :tag, as: 'tag'
|
@@ -4021,6 +4024,7 @@ module Google
|
|
4021
4024
|
|
4022
4025
|
collection :messages, as: 'messages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
|
4023
4026
|
|
4027
|
+
property :return_partial_responses, as: 'returnPartialResponses'
|
4024
4028
|
collection :set_parameter_actions, as: 'setParameterActions', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction::Representation
|
4025
4029
|
|
4026
4030
|
property :tag, as: 'tag'
|
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.
|
4
|
+
version: 0.15.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: 2021-06-
|
11
|
+
date: 2021-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.15.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|