google-apis-dialogflow_v2beta1 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: 2e971d68e658fa412a8e316c929c3f621a10f1ab169d89d9d79826711838ecf0
4
- data.tar.gz: 2af7357c5cf56f60d17c0c2e6893e3857ae4f1004ffcb7bfcbfaab5324c14817
3
+ metadata.gz: 3178d0bcd5c1089320125249d38c55589fef0009851560afb31f372780d319bc
4
+ data.tar.gz: f86d0947f6787be1acfdbc1780052ea353cef8f01e7fc0a5013e52ff48eccb1d
5
5
  SHA512:
6
- metadata.gz: 63737d5049d7f50ec59602300e51203c1158e2c62748f797dd1b6b9cd31d84088c5324ff861d2a34e75f0e47e5466c9e8b0baebe6bd7bfdf7134b35f7d0a2140
7
- data.tar.gz: 502fbbc0632af197f40c6ccd29fa8ad47b88c7a05cae110c19d183b6ceb423a0f74446d7ef546e8bf2be0ccd27e8cdeab35e0e4694cb4a547b7a9f00229198c3
6
+ metadata.gz: fb743e2b071d6a37d95ab8f54329ba9dc41ce26e3421ce3a30bc0e55c462893e15ab4349386c3458572985915a82f8bf127330094fe623b6ebba723cad86f199
7
+ data.tar.gz: 0e88bdd3c3d60a18ad8bbd4ce7d2a9b16e8c01ba4f6a0f494bbb69e3ce19f18308b59ec8e211587ea0778fde24a9cf22c5063cb735b7dd77ae6d1ba66153313a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v2beta1
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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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)
@@ -7991,6 +8017,19 @@ module Google
7991
8017
  class GoogleCloudDialogflowV2beta1AutomatedAgentReply
7992
8018
  include Google::Apis::Core::Hashable
7993
8019
 
8020
+ # Indicates whether the partial automated agent reply is interruptible when a
8021
+ # later reply message arrives. e.g. if the agent specified some music as partial
8022
+ # response, it can be cancelled.
8023
+ # Corresponds to the JSON property `allowCancellation`
8024
+ # @return [Boolean]
8025
+ attr_accessor :allow_cancellation
8026
+ alias_method :allow_cancellation?, :allow_cancellation
8027
+
8028
+ # AutomatedAgentReply type.
8029
+ # Corresponds to the JSON property `automatedAgentReplyType`
8030
+ # @return [String]
8031
+ attr_accessor :automated_agent_reply_type
8032
+
7994
8033
  # The collection of current Dialogflow CX agent session parameters at the time
7995
8034
  # of this response. Deprecated: Use `parameters` instead.
7996
8035
  # Corresponds to the JSON property `cxSessionParameters`
@@ -8039,6 +8078,8 @@ module Google
8039
8078
 
8040
8079
  # Update properties of this object
8041
8080
  def update!(**args)
8081
+ @allow_cancellation = args[:allow_cancellation] if args.key?(:allow_cancellation)
8082
+ @automated_agent_reply_type = args[:automated_agent_reply_type] if args.key?(:automated_agent_reply_type)
8042
8083
  @cx_session_parameters = args[:cx_session_parameters] if args.key?(:cx_session_parameters)
8043
8084
  @detect_intent_response = args[:detect_intent_response] if args.key?(:detect_intent_response)
8044
8085
  @event = args[:event] if args.key?(:event)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV2beta1
18
18
  # Version of the google-apis-dialogflow_v2beta1 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
@@ -2627,6 +2627,7 @@ module Google
2627
2627
 
2628
2628
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessage::Representation
2629
2629
 
2630
+ property :return_partial_responses, as: 'returnPartialResponses'
2630
2631
  collection :set_parameter_actions, as: 'setParameterActions', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction::Representation
2631
2632
 
2632
2633
  property :tag, as: 'tag'
@@ -3338,6 +3339,7 @@ module Google
3338
3339
 
3339
3340
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
3340
3341
 
3342
+ property :return_partial_responses, as: 'returnPartialResponses'
3341
3343
  collection :set_parameter_actions, as: 'setParameterActions', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction::Representation
3342
3344
 
3343
3345
  property :tag, as: 'tag'
@@ -4624,6 +4626,8 @@ module Google
4624
4626
  class GoogleCloudDialogflowV2beta1AutomatedAgentReply
4625
4627
  # @private
4626
4628
  class Representation < Google::Apis::Core::JsonRepresentation
4629
+ property :allow_cancellation, as: 'allowCancellation'
4630
+ property :automated_agent_reply_type, as: 'automatedAgentReplyType'
4627
4631
  hash :cx_session_parameters, as: 'cxSessionParameters'
4628
4632
  property :detect_intent_response, as: 'detectIntentResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentResponse::Representation
4629
4633
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2beta1
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_v2beta1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.14.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.15.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2beta1
57
57
  post_install_message:
58
58
  rdoc_options: []