google-apis-dialogflow_v3beta1 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: 25c06b2057055d4f3433172b459e3e7236281c16e427b1f77797dba78c8066d3
4
- data.tar.gz: 65c77874ca45b7dee991b1cd2b8179e079be93eeee6de9d731739164812f1851
3
+ metadata.gz: df0906511c3309f943a9cc23a87f5067f27b62a7431d549ec1e7f55585fc8829
4
+ data.tar.gz: 1355e9e651339e2fb9ecb3da3d958a43d217d0e0bd20996f0646b6c6e3f5fa27
5
5
  SHA512:
6
- metadata.gz: f82bbf053d419506d860fa692836f426c8ceb00bba639b12be6f0e5b23ced1da91687f391290fe0b44b6bb3e7cfea1f1e794e1298aede1e4c5f98a7962d6c20a
7
- data.tar.gz: b340428ec4a375ce8e002bf3ade2440667a4bd3e6de3296236226055bb6c0ebf6433b168b40ea363fdfb8d3d479cfda6aa4be02c13c6a67ce0226b73eb43838b
6
+ metadata.gz: 6e01894694b92e438d7ebd49114a07d5a9d830713e1477c1574e81fc4269abbf5c76eaf9b90497c75a15119525e52620b3fcf6e81fcabe6b812183b774f2ac08
7
+ data.tar.gz: 9ef69f6e067da6ce890b8e2a8304c7c5f0b2876b3f260207395c0c494b76dcbeb570ad8d911ed752b28ce9f862feaaf9acd2697c51e870f03e6f7e81cba60c85
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v3beta1
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::DialogflowV3beta1::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::DialogflowV3beta1::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)
@@ -2562,10 +2575,10 @@ module Google
2562
2575
  # @return [String]
2563
2576
  attr_accessor :avatar_uri
2564
2577
 
2565
- # Immutable. The default language of the agent as a language tag. See [Language
2566
- # Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) for a
2567
- # list of the currently supported language codes. This field cannot be set by
2568
- # the Agents.UpdateAgent method.
2578
+ # Required. Immutable. The default language of the agent as a language tag. See [
2579
+ # Language Support](https://cloud.google.com/dialogflow/cx/docs/reference/
2580
+ # language) for a list of the currently supported language codes. This field
2581
+ # cannot be set by the Agents.UpdateAgent method.
2569
2582
  # Corresponds to the JSON property `defaultLanguageCode`
2570
2583
  # @return [String]
2571
2584
  attr_accessor :default_language_code
@@ -3115,6 +3128,14 @@ module Google
3115
3128
  class GoogleCloudDialogflowCxV3beta1DetectIntentResponse
3116
3129
  include Google::Apis::Core::Hashable
3117
3130
 
3131
+ # Indicates whether the partial response can be cancelled when a later response
3132
+ # arrives. e.g. if the agent specified some music as partial response, it can be
3133
+ # cancelled.
3134
+ # Corresponds to the JSON property `allowCancellation`
3135
+ # @return [Boolean]
3136
+ attr_accessor :allow_cancellation
3137
+ alias_method :allow_cancellation?, :allow_cancellation
3138
+
3118
3139
  # The audio data bytes encoded as specified in the request. Note: The output
3119
3140
  # audio is generated based on the values of default platform text responses
3120
3141
  # found in the `query_result.response_messages` field. If multiple default text
@@ -3144,16 +3165,23 @@ module Google
3144
3165
  # @return [String]
3145
3166
  attr_accessor :response_id
3146
3167
 
3168
+ # Response type.
3169
+ # Corresponds to the JSON property `responseType`
3170
+ # @return [String]
3171
+ attr_accessor :response_type
3172
+
3147
3173
  def initialize(**args)
3148
3174
  update!(**args)
3149
3175
  end
3150
3176
 
3151
3177
  # Update properties of this object
3152
3178
  def update!(**args)
3179
+ @allow_cancellation = args[:allow_cancellation] if args.key?(:allow_cancellation)
3153
3180
  @output_audio = args[:output_audio] if args.key?(:output_audio)
3154
3181
  @output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config)
3155
3182
  @query_result = args[:query_result] if args.key?(:query_result)
3156
3183
  @response_id = args[:response_id] if args.key?(:response_id)
3184
+ @response_type = args[:response_type] if args.key?(:response_type)
3157
3185
  end
3158
3186
  end
3159
3187
 
@@ -4274,6 +4302,18 @@ module Google
4274
4302
  # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage>]
4275
4303
  attr_accessor :messages
4276
4304
 
4305
+ # Whether Dialogflow should return currently queued fulfillment response
4306
+ # messages in streaming APIs. If a webhook is specified, it happens before
4307
+ # Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API.
4308
+ # Responses are still queued and returned once in non-streaming API. 2) The flag
4309
+ # can be enabled in any fulfillment but only the first 3 partial responses will
4310
+ # be returned. You may only want to apply it to fulfillments that have slow
4311
+ # webhooks.
4312
+ # Corresponds to the JSON property `returnPartialResponses`
4313
+ # @return [Boolean]
4314
+ attr_accessor :return_partial_responses
4315
+ alias_method :return_partial_responses?, :return_partial_responses
4316
+
4277
4317
  # Set parameter values before executing the webhook.
4278
4318
  # Corresponds to the JSON property `setParameterActions`
4279
4319
  # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction>]
@@ -4298,6 +4338,7 @@ module Google
4298
4338
  def update!(**args)
4299
4339
  @conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases)
4300
4340
  @messages = args[:messages] if args.key?(:messages)
4341
+ @return_partial_responses = args[:return_partial_responses] if args.key?(:return_partial_responses)
4301
4342
  @set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions)
4302
4343
  @tag = args[:tag] if args.key?(:tag)
4303
4344
  @webhook = args[:webhook] if args.key?(:webhook)
@@ -6623,8 +6664,8 @@ module Google
6623
6664
 
6624
6665
  # DLP inspect template name. Use this template to define inspect base settings.
6625
6666
  # If empty, we use the default DLP inspect config. The template name will have
6626
- # one of the following formats: `projects/PROJECT_ID/inspectTemplates/
6627
- # TEMPLATE_ID` OR `organizations/ORGANIZATION_ID/inspectTemplates/TEMPLATE_ID`
6667
+ # one of the following formats: `projects//inspectTemplates/` OR `projects//
6668
+ # locations//inspectTemplates/` OR `organizations//inspectTemplates/`
6628
6669
  # Corresponds to the JSON property `inspectTemplate`
6629
6670
  # @return [String]
6630
6671
  attr_accessor :inspect_template
@@ -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.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
@@ -2471,6 +2471,7 @@ module Google
2471
2471
 
2472
2472
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessage::Representation
2473
2473
 
2474
+ property :return_partial_responses, as: 'returnPartialResponses'
2474
2475
  collection :set_parameter_actions, as: 'setParameterActions', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction::Representation
2475
2476
 
2476
2477
  property :tag, as: 'tag'
@@ -3157,12 +3158,14 @@ module Google
3157
3158
  class GoogleCloudDialogflowCxV3beta1DetectIntentResponse
3158
3159
  # @private
3159
3160
  class Representation < Google::Apis::Core::JsonRepresentation
3161
+ property :allow_cancellation, as: 'allowCancellation'
3160
3162
  property :output_audio, :base64 => true, as: 'outputAudio'
3161
3163
  property :output_audio_config, as: 'outputAudioConfig', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1OutputAudioConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1OutputAudioConfig::Representation
3162
3164
 
3163
3165
  property :query_result, as: 'queryResult', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryResult::Representation
3164
3166
 
3165
3167
  property :response_id, as: 'responseId'
3168
+ property :response_type, as: 'responseType'
3166
3169
  end
3167
3170
  end
3168
3171
 
@@ -3458,6 +3461,7 @@ module Google
3458
3461
 
3459
3462
  collection :messages, as: 'messages', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
3460
3463
 
3464
+ property :return_partial_responses, as: 'returnPartialResponses'
3461
3465
  collection :set_parameter_actions, as: 'setParameterActions', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction::Representation
3462
3466
 
3463
3467
  property :tag, as: 'tag'
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.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_v3beta1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.14.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.15.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3beta1
57
57
  post_install_message:
58
58
  rdoc_options: []