google-apis-dialogflow_v2beta1 0.84.0 → 0.86.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1978,6 +1978,12 @@ module Google
1978
1978
  include Google::Apis::Core::JsonObjectSupport
1979
1979
  end
1980
1980
 
1981
+ class GoogleCloudDialogflowV2beta1ConversationContext
1982
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1983
+
1984
+ include Google::Apis::Core::JsonObjectSupport
1985
+ end
1986
+
1981
1987
  class GoogleCloudDialogflowV2beta1ConversationEvent
1982
1988
  class Representation < Google::Apis::Core::JsonRepresentation; end
1983
1989
 
@@ -2104,6 +2110,12 @@ module Google
2104
2110
  include Google::Apis::Core::JsonObjectSupport
2105
2111
  end
2106
2112
 
2113
+ class GoogleCloudDialogflowV2beta1FewShotExample
2114
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2115
+
2116
+ include Google::Apis::Core::JsonObjectSupport
2117
+ end
2118
+
2107
2119
  class GoogleCloudDialogflowV2beta1Fulfillment
2108
2120
  class Representation < Google::Apis::Core::JsonRepresentation; end
2109
2121
 
@@ -2140,6 +2152,18 @@ module Google
2140
2152
  include Google::Apis::Core::JsonObjectSupport
2141
2153
  end
2142
2154
 
2155
+ class GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionRequest
2156
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2157
+
2158
+ include Google::Apis::Core::JsonObjectSupport
2159
+ end
2160
+
2161
+ class GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionResponse
2162
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2163
+
2164
+ include Google::Apis::Core::JsonObjectSupport
2165
+ end
2166
+
2143
2167
  class GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequest
2144
2168
  class Representation < Google::Apis::Core::JsonRepresentation; end
2145
2169
 
@@ -2164,6 +2188,18 @@ module Google
2164
2188
  include Google::Apis::Core::JsonObjectSupport
2165
2189
  end
2166
2190
 
2191
+ class GoogleCloudDialogflowV2beta1Generator
2192
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2193
+
2194
+ include Google::Apis::Core::JsonObjectSupport
2195
+ end
2196
+
2197
+ class GoogleCloudDialogflowV2beta1GeneratorSuggestion
2198
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2199
+
2200
+ include Google::Apis::Core::JsonObjectSupport
2201
+ end
2202
+
2167
2203
  class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig
2168
2204
  class Representation < Google::Apis::Core::JsonRepresentation; end
2169
2205
 
@@ -2296,6 +2332,12 @@ module Google
2296
2332
  include Google::Apis::Core::JsonObjectSupport
2297
2333
  end
2298
2334
 
2335
+ class GoogleCloudDialogflowV2beta1InferenceParameter
2336
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2337
+
2338
+ include Google::Apis::Core::JsonObjectSupport
2339
+ end
2340
+
2299
2341
  class GoogleCloudDialogflowV2beta1InputAudioConfig
2300
2342
  class Representation < Google::Apis::Core::JsonRepresentation; end
2301
2343
 
@@ -2668,6 +2710,12 @@ module Google
2668
2710
  include Google::Apis::Core::JsonObjectSupport
2669
2711
  end
2670
2712
 
2713
+ class GoogleCloudDialogflowV2beta1ListGeneratorsResponse
2714
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2715
+
2716
+ include Google::Apis::Core::JsonObjectSupport
2717
+ end
2718
+
2671
2719
  class GoogleCloudDialogflowV2beta1ListIntentsResponse
2672
2720
  class Representation < Google::Apis::Core::JsonRepresentation; end
2673
2721
 
@@ -2728,6 +2776,12 @@ module Google
2728
2776
  include Google::Apis::Core::JsonObjectSupport
2729
2777
  end
2730
2778
 
2779
+ class GoogleCloudDialogflowV2beta1MessageEntry
2780
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2781
+
2782
+ include Google::Apis::Core::JsonObjectSupport
2783
+ end
2784
+
2731
2785
  class GoogleCloudDialogflowV2beta1NotificationConfig
2732
2786
  class Representation < Google::Apis::Core::JsonRepresentation; end
2733
2787
 
@@ -3016,6 +3070,36 @@ module Google
3016
3070
  include Google::Apis::Core::JsonObjectSupport
3017
3071
  end
3018
3072
 
3073
+ class GoogleCloudDialogflowV2beta1SummarizationContext
3074
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3075
+
3076
+ include Google::Apis::Core::JsonObjectSupport
3077
+ end
3078
+
3079
+ class GoogleCloudDialogflowV2beta1SummarizationSection
3080
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3081
+
3082
+ include Google::Apis::Core::JsonObjectSupport
3083
+ end
3084
+
3085
+ class GoogleCloudDialogflowV2beta1SummarizationSectionList
3086
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3087
+
3088
+ include Google::Apis::Core::JsonObjectSupport
3089
+ end
3090
+
3091
+ class GoogleCloudDialogflowV2beta1SummarySuggestion
3092
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3093
+
3094
+ include Google::Apis::Core::JsonObjectSupport
3095
+ end
3096
+
3097
+ class GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection
3098
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3099
+
3100
+ include Google::Apis::Core::JsonObjectSupport
3101
+ end
3102
+
3019
3103
  class GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig
3020
3104
  class Representation < Google::Apis::Core::JsonRepresentation; end
3021
3105
 
@@ -3196,7 +3280,9 @@ module Google
3196
3280
  # @private
3197
3281
  class Representation < Google::Apis::Core::JsonRepresentation
3198
3282
  property :enabled, as: 'enabled'
3283
+ property :endpointing_timeout_duration, as: 'endpointingTimeoutDuration'
3199
3284
  property :finish_digit, as: 'finishDigit'
3285
+ property :interdigit_timeout_duration, as: 'interdigitTimeoutDuration'
3200
3286
  property :max_digits, as: 'maxDigits'
3201
3287
  end
3202
3288
  end
@@ -4248,7 +4334,9 @@ module Google
4248
4334
  # @private
4249
4335
  class Representation < Google::Apis::Core::JsonRepresentation
4250
4336
  property :enabled, as: 'enabled'
4337
+ property :endpointing_timeout_duration, as: 'endpointingTimeoutDuration'
4251
4338
  property :finish_digit, as: 'finishDigit'
4339
+ property :interdigit_timeout_duration, as: 'interdigitTimeoutDuration'
4252
4340
  property :max_digits, as: 'maxDigits'
4253
4341
  end
4254
4342
  end
@@ -6456,6 +6544,14 @@ module Google
6456
6544
  end
6457
6545
  end
6458
6546
 
6547
+ class GoogleCloudDialogflowV2beta1ConversationContext
6548
+ # @private
6549
+ class Representation < Google::Apis::Core::JsonRepresentation
6550
+ collection :message_entries, as: 'messageEntries', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1MessageEntry, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1MessageEntry::Representation
6551
+
6552
+ end
6553
+ end
6554
+
6459
6555
  class GoogleCloudDialogflowV2beta1ConversationEvent
6460
6556
  # @private
6461
6557
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6695,6 +6791,19 @@ module Google
6695
6791
  end
6696
6792
  end
6697
6793
 
6794
+ class GoogleCloudDialogflowV2beta1FewShotExample
6795
+ # @private
6796
+ class Representation < Google::Apis::Core::JsonRepresentation
6797
+ property :conversation_context, as: 'conversationContext', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContext, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContext::Representation
6798
+
6799
+ hash :extra_info, as: 'extraInfo'
6800
+ property :output, as: 'output', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorSuggestion, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorSuggestion::Representation
6801
+
6802
+ property :summarization_section_list, as: 'summarizationSectionList', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationSectionList, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationSectionList::Representation
6803
+
6804
+ end
6805
+ end
6806
+
6698
6807
  class GoogleCloudDialogflowV2beta1Fulfillment
6699
6808
  # @private
6700
6809
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6747,6 +6856,26 @@ module Google
6747
6856
  end
6748
6857
  end
6749
6858
 
6859
+ class GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionRequest
6860
+ # @private
6861
+ class Representation < Google::Apis::Core::JsonRepresentation
6862
+ property :conversation_context, as: 'conversationContext', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContext, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationContext::Representation
6863
+
6864
+ property :generator, as: 'generator', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Generator, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Generator::Representation
6865
+
6866
+ property :generator_name, as: 'generatorName'
6867
+ collection :trigger_events, as: 'triggerEvents'
6868
+ end
6869
+ end
6870
+
6871
+ class GoogleCloudDialogflowV2beta1GenerateStatelessSuggestionResponse
6872
+ # @private
6873
+ class Representation < Google::Apis::Core::JsonRepresentation
6874
+ property :generator_suggestion, as: 'generatorSuggestion', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorSuggestion, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorSuggestion::Representation
6875
+
6876
+ end
6877
+ end
6878
+
6750
6879
  class GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequest
6751
6880
  # @private
6752
6881
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6786,6 +6915,29 @@ module Google
6786
6915
  end
6787
6916
  end
6788
6917
 
6918
+ class GoogleCloudDialogflowV2beta1Generator
6919
+ # @private
6920
+ class Representation < Google::Apis::Core::JsonRepresentation
6921
+ property :create_time, as: 'createTime'
6922
+ property :description, as: 'description'
6923
+ property :inference_parameter, as: 'inferenceParameter', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InferenceParameter, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1InferenceParameter::Representation
6924
+
6925
+ property :name, as: 'name'
6926
+ property :summarization_context, as: 'summarizationContext', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationContext, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationContext::Representation
6927
+
6928
+ property :trigger_event, as: 'triggerEvent'
6929
+ property :update_time, as: 'updateTime'
6930
+ end
6931
+ end
6932
+
6933
+ class GoogleCloudDialogflowV2beta1GeneratorSuggestion
6934
+ # @private
6935
+ class Representation < Google::Apis::Core::JsonRepresentation
6936
+ property :summary_suggestion, as: 'summarySuggestion', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarySuggestion, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarySuggestion::Representation
6937
+
6938
+ end
6939
+ end
6940
+
6789
6941
  class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig
6790
6942
  # @private
6791
6943
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6828,6 +6980,7 @@ module Google
6828
6980
  class Representation < Google::Apis::Core::JsonRepresentation
6829
6981
  collection :feature_configs, as: 'featureConfigs', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig::Representation
6830
6982
 
6983
+ collection :generators, as: 'generators'
6831
6984
  property :group_suggestion_responses, as: 'groupSuggestionResponses'
6832
6985
  end
6833
6986
  end
@@ -6996,12 +7149,23 @@ module Google
6996
7149
  end
6997
7150
  end
6998
7151
 
7152
+ class GoogleCloudDialogflowV2beta1InferenceParameter
7153
+ # @private
7154
+ class Representation < Google::Apis::Core::JsonRepresentation
7155
+ property :max_output_tokens, as: 'maxOutputTokens'
7156
+ property :temperature, as: 'temperature'
7157
+ property :top_k, as: 'topK'
7158
+ property :top_p, as: 'topP'
7159
+ end
7160
+ end
7161
+
6999
7162
  class GoogleCloudDialogflowV2beta1InputAudioConfig
7000
7163
  # @private
7001
7164
  class Representation < Google::Apis::Core::JsonRepresentation
7002
7165
  property :audio_encoding, as: 'audioEncoding'
7003
7166
  property :barge_in_config, as: 'bargeInConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BargeInConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BargeInConfig::Representation
7004
7167
 
7168
+ property :default_no_speech_timeout, as: 'defaultNoSpeechTimeout'
7005
7169
  property :disable_no_speech_recognized_event, as: 'disableNoSpeechRecognizedEvent'
7006
7170
  property :enable_automatic_punctuation, as: 'enableAutomaticPunctuation'
7007
7171
  property :enable_word_info, as: 'enableWordInfo'
@@ -7640,6 +7804,15 @@ module Google
7640
7804
  end
7641
7805
  end
7642
7806
 
7807
+ class GoogleCloudDialogflowV2beta1ListGeneratorsResponse
7808
+ # @private
7809
+ class Representation < Google::Apis::Core::JsonRepresentation
7810
+ collection :generators, as: 'generators', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Generator, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Generator::Representation
7811
+
7812
+ property :next_page_token, as: 'nextPageToken'
7813
+ end
7814
+ end
7815
+
7643
7816
  class GoogleCloudDialogflowV2beta1ListIntentsResponse
7644
7817
  # @private
7645
7818
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7736,6 +7909,16 @@ module Google
7736
7909
  end
7737
7910
  end
7738
7911
 
7912
+ class GoogleCloudDialogflowV2beta1MessageEntry
7913
+ # @private
7914
+ class Representation < Google::Apis::Core::JsonRepresentation
7915
+ property :create_time, as: 'createTime'
7916
+ property :language_code, as: 'languageCode'
7917
+ property :role, as: 'role'
7918
+ property :text, as: 'text'
7919
+ end
7920
+ end
7921
+
7739
7922
  class GoogleCloudDialogflowV2beta1NotificationConfig
7740
7923
  # @private
7741
7924
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8235,6 +8418,51 @@ module Google
8235
8418
  end
8236
8419
  end
8237
8420
 
8421
+ class GoogleCloudDialogflowV2beta1SummarizationContext
8422
+ # @private
8423
+ class Representation < Google::Apis::Core::JsonRepresentation
8424
+ collection :few_shot_examples, as: 'fewShotExamples', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1FewShotExample, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1FewShotExample::Representation
8425
+
8426
+ property :output_language_code, as: 'outputLanguageCode'
8427
+ collection :summarization_sections, as: 'summarizationSections', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationSection, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationSection::Representation
8428
+
8429
+ property :version, as: 'version'
8430
+ end
8431
+ end
8432
+
8433
+ class GoogleCloudDialogflowV2beta1SummarizationSection
8434
+ # @private
8435
+ class Representation < Google::Apis::Core::JsonRepresentation
8436
+ property :definition, as: 'definition'
8437
+ property :key, as: 'key'
8438
+ property :type, as: 'type'
8439
+ end
8440
+ end
8441
+
8442
+ class GoogleCloudDialogflowV2beta1SummarizationSectionList
8443
+ # @private
8444
+ class Representation < Google::Apis::Core::JsonRepresentation
8445
+ collection :summarization_sections, as: 'summarizationSections', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationSection, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationSection::Representation
8446
+
8447
+ end
8448
+ end
8449
+
8450
+ class GoogleCloudDialogflowV2beta1SummarySuggestion
8451
+ # @private
8452
+ class Representation < Google::Apis::Core::JsonRepresentation
8453
+ collection :summary_sections, as: 'summarySections', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection::Representation
8454
+
8455
+ end
8456
+ end
8457
+
8458
+ class GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection
8459
+ # @private
8460
+ class Representation < Google::Apis::Core::JsonRepresentation
8461
+ property :section, as: 'section'
8462
+ property :summary, as: 'summary'
8463
+ end
8464
+ end
8465
+
8238
8466
  class GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig
8239
8467
  # @private
8240
8468
  class Representation < Google::Apis::Core::JsonRepresentation