google-apis-dialogflow_v2 0.14.0 → 0.15.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: f72c540069b21f55b4917b4f9f53861de23cf47471a9e796b522209e33147fa6
4
- data.tar.gz: 1ffc6b316d6943acb3685c6c6ce6b4ea990f699df787c8321650108f01a34054
3
+ metadata.gz: eb94de23db4bc5d5bddc2ba9437d26656ac2744eef7655450658f627a67170e5
4
+ data.tar.gz: 38e4a7162d537d5a454f4601ed85908327c9d1bf339afb24c551817ad3c55b4f
5
5
  SHA512:
6
- metadata.gz: 7ac52f5149a2954e5ded0e0642d8dd03f6646c17306be40f798b770bceece937ef638354bfc16691789ff44db6e3e03c7648db1a28dddeee911106d8f783e8f3
7
- data.tar.gz: bd059b6f6cb60edc93a15ecb59133ec7363eb612d6a7b7ec704b290088940f3e91093df12d8da4801b7d435df1efe30bfe075e758b3e2d319736b8f751e7b4a5
6
+ metadata.gz: 9b5592eab59998c0c7bbe68fc9e6a181377096020e59b43ec89c18ab676b9b04cbb46cac3436774e3ce3f9699d8056270b8a667edabed372a5c1643db05cc153
7
+ data.tar.gz: 601fab203ddfe2160bc79d602482d3e7950caf696bddaf586a5592d3b9730189b30f8e6fb80198979ab1e984dfe393cb34bb6b48a2cda962145ba80467e7e1a5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v2
2
2
 
3
+ ### v0.15.0 (2021-06-16)
4
+
5
+ * Regenerated from discovery document revision 20210611
6
+
3
7
  ### v0.14.0 (2021-06-03)
4
8
 
5
9
  * Regenerated from discovery document revision 20210601
@@ -688,6 +688,18 @@ module Google
688
688
  # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage>]
689
689
  attr_accessor :messages
690
690
 
691
+ # Whether Dialogflow should return currently queued fulfillment response
692
+ # messages in streaming APIs. If a webhook is specified, it happens before
693
+ # Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API.
694
+ # Responses are still queued and returned once in non-streaming API. 2) The flag
695
+ # can be enabled in any fulfillment but only the first 3 partial responses will
696
+ # be returned. You may only want to apply it to fulfillments that have slow
697
+ # webhooks.
698
+ # Corresponds to the JSON property `returnPartialResponses`
699
+ # @return [Boolean]
700
+ attr_accessor :return_partial_responses
701
+ alias_method :return_partial_responses?, :return_partial_responses
702
+
691
703
  # Set parameter values before executing the webhook.
692
704
  # Corresponds to the JSON property `setParameterActions`
693
705
  # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction>]
@@ -712,6 +724,7 @@ module Google
712
724
  def update!(**args)
713
725
  @conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases)
714
726
  @messages = args[:messages] if args.key?(:messages)
727
+ @return_partial_responses = args[:return_partial_responses] if args.key?(:return_partial_responses)
715
728
  @set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions)
716
729
  @tag = args[:tag] if args.key?(:tag)
717
730
  @webhook = args[:webhook] if args.key?(:webhook)
@@ -3213,6 +3226,18 @@ module Google
3213
3226
  # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage>]
3214
3227
  attr_accessor :messages
3215
3228
 
3229
+ # Whether Dialogflow should return currently queued fulfillment response
3230
+ # messages in streaming APIs. If a webhook is specified, it happens before
3231
+ # Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API.
3232
+ # Responses are still queued and returned once in non-streaming API. 2) The flag
3233
+ # can be enabled in any fulfillment but only the first 3 partial responses will
3234
+ # be returned. You may only want to apply it to fulfillments that have slow
3235
+ # webhooks.
3236
+ # Corresponds to the JSON property `returnPartialResponses`
3237
+ # @return [Boolean]
3238
+ attr_accessor :return_partial_responses
3239
+ alias_method :return_partial_responses?, :return_partial_responses
3240
+
3216
3241
  # Set parameter values before executing the webhook.
3217
3242
  # Corresponds to the JSON property `setParameterActions`
3218
3243
  # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction>]
@@ -3237,6 +3262,7 @@ module Google
3237
3262
  def update!(**args)
3238
3263
  @conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases)
3239
3264
  @messages = args[:messages] if args.key?(:messages)
3265
+ @return_partial_responses = args[:return_partial_responses] if args.key?(:return_partial_responses)
3240
3266
  @set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions)
3241
3267
  @tag = args[:tag] if args.key?(:tag)
3242
3268
  @webhook = args[:webhook] if args.key?(:webhook)
@@ -5574,6 +5600,19 @@ module Google
5574
5600
  class GoogleCloudDialogflowV2AutomatedAgentReply
5575
5601
  include Google::Apis::Core::Hashable
5576
5602
 
5603
+ # Indicates whether the partial automated agent reply is interruptible when a
5604
+ # later reply message arrives. e.g. if the agent specified some music as partial
5605
+ # response, it can be cancelled.
5606
+ # Corresponds to the JSON property `allowCancellation`
5607
+ # @return [Boolean]
5608
+ attr_accessor :allow_cancellation
5609
+ alias_method :allow_cancellation?, :allow_cancellation
5610
+
5611
+ # AutomatedAgentReply type.
5612
+ # Corresponds to the JSON property `automatedAgentReplyType`
5613
+ # @return [String]
5614
+ attr_accessor :automated_agent_reply_type
5615
+
5577
5616
  # The message returned from the DetectIntent method.
5578
5617
  # Corresponds to the JSON property `detectIntentResponse`
5579
5618
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentResponse]
@@ -5585,6 +5624,8 @@ module Google
5585
5624
 
5586
5625
  # Update properties of this object
5587
5626
  def update!(**args)
5627
+ @allow_cancellation = args[:allow_cancellation] if args.key?(:allow_cancellation)
5628
+ @automated_agent_reply_type = args[:automated_agent_reply_type] if args.key?(:automated_agent_reply_type)
5588
5629
  @detect_intent_response = args[:detect_intent_response] if args.key?(:detect_intent_response)
5589
5630
  end
5590
5631
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV2
18
18
  # Version of the google-apis-dialogflow_v2 gem
19
- GEM_VERSION = "0.14.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 = "20210601"
25
+ REVISION = "20210611"
26
26
  end
27
27
  end
28
28
  end
@@ -2501,6 +2501,7 @@ module Google
2501
2501
 
2502
2502
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage::Representation
2503
2503
 
2504
+ property :return_partial_responses, as: 'returnPartialResponses'
2504
2505
  collection :set_parameter_actions, as: 'setParameterActions', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction::Representation
2505
2506
 
2506
2507
  property :tag, as: 'tag'
@@ -3212,6 +3213,7 @@ module Google
3212
3213
 
3213
3214
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
3214
3215
 
3216
+ property :return_partial_responses, as: 'returnPartialResponses'
3215
3217
  collection :set_parameter_actions, as: 'setParameterActions', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction::Representation
3216
3218
 
3217
3219
  property :tag, as: 'tag'
@@ -3856,6 +3858,8 @@ module Google
3856
3858
  class GoogleCloudDialogflowV2AutomatedAgentReply
3857
3859
  # @private
3858
3860
  class Representation < Google::Apis::Core::JsonRepresentation
3861
+ property :allow_cancellation, as: 'allowCancellation'
3862
+ property :automated_agent_reply_type, as: 'automatedAgentReplyType'
3859
3863
  property :detect_intent_response, as: 'detectIntentResponse', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentResponse, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentResponse::Representation
3860
3864
 
3861
3865
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.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-07 00:00:00.000000000 Z
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_v2/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.14.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.15.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2
57
57
  post_install_message:
58
58
  rdoc_options: []