google-apis-dialogflow_v2beta1 0.56.0 → 0.57.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/dialogflow_v2beta1/classes.rb +460 -7
- data/lib/google/apis/dialogflow_v2beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v2beta1/representations.rb +178 -2
- data/lib/google/apis/dialogflow_v2beta1/service.rb +70 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f955eae3dd327232ad8b8c32db687db1e155ed70112fda684433bfc19afc6a5
|
4
|
+
data.tar.gz: 63e7d7d9259f6fbb0e41cae23616a742ddb7c73ba9b20c633ff8ca3c20b419fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1adcd30cd3ee5cad3feaf03b4a6a6eb4eea41c67332fb7289ebb9271c6aa3116bdeed21971599ee4d90dd81216bb46dfc5aa00292b4c17a9a3d054ee4a5daea
|
7
|
+
data.tar.gz: 0a41ac6fde87a66f62709637d0c7a62d6d8b86187e25d61cc85daefd54eba1324312df0ece9312f6bf13f9c2539ed6219c212d4e31e506a5f96e3cae4b414cb1
|
data/CHANGELOG.md
CHANGED
@@ -2573,6 +2573,18 @@ module Google
|
|
2573
2573
|
attr_accessor :reached_end_page
|
2574
2574
|
alias_method :reached_end_page?, :reached_end_page
|
2575
2575
|
|
2576
|
+
# Sentiment magnitude of the user utterance if [sentiment](https://cloud.google.
|
2577
|
+
# com/dialogflow/cx/docs/concept/sentiment) was enabled.
|
2578
|
+
# Corresponds to the JSON property `sentimentMagnitude`
|
2579
|
+
# @return [Float]
|
2580
|
+
attr_accessor :sentiment_magnitude
|
2581
|
+
|
2582
|
+
# Sentiment score of the user utterance if [sentiment](https://cloud.google.com/
|
2583
|
+
# dialogflow/cx/docs/concept/sentiment) was enabled.
|
2584
|
+
# Corresponds to the JSON property `sentimentScore`
|
2585
|
+
# @return [Float]
|
2586
|
+
attr_accessor :sentiment_score
|
2587
|
+
|
2576
2588
|
# Whether user was specifically asking for a live agent.
|
2577
2589
|
# Corresponds to the JSON property `userEscalated`
|
2578
2590
|
# @return [Boolean]
|
@@ -2596,6 +2608,8 @@ module Google
|
|
2596
2608
|
@no_match = args[:no_match] if args.key?(:no_match)
|
2597
2609
|
@no_user_input = args[:no_user_input] if args.key?(:no_user_input)
|
2598
2610
|
@reached_end_page = args[:reached_end_page] if args.key?(:reached_end_page)
|
2611
|
+
@sentiment_magnitude = args[:sentiment_magnitude] if args.key?(:sentiment_magnitude)
|
2612
|
+
@sentiment_score = args[:sentiment_score] if args.key?(:sentiment_score)
|
2599
2613
|
@user_escalated = args[:user_escalated] if args.key?(:user_escalated)
|
2600
2614
|
@webhook_statuses = args[:webhook_statuses] if args.key?(:webhook_statuses)
|
2601
2615
|
end
|
@@ -2694,11 +2708,30 @@ module Google
|
|
2694
2708
|
# @return [Array<String>]
|
2695
2709
|
attr_accessor :allowed_ca_certs
|
2696
2710
|
|
2711
|
+
# Optional. HTTP method for the flexible webhook calls. Standard webhook always
|
2712
|
+
# uses POST.
|
2713
|
+
# Corresponds to the JSON property `httpMethod`
|
2714
|
+
# @return [String]
|
2715
|
+
attr_accessor :http_method
|
2716
|
+
|
2717
|
+
# Optional. Maps the values extracted from specific fields of the flexible
|
2718
|
+
# webhook response into session parameters. - Key: session parameter name -
|
2719
|
+
# Value: field path in the webhook response
|
2720
|
+
# Corresponds to the JSON property `parameterMapping`
|
2721
|
+
# @return [Hash<String,String>]
|
2722
|
+
attr_accessor :parameter_mapping
|
2723
|
+
|
2697
2724
|
# The password for HTTP Basic authentication.
|
2698
2725
|
# Corresponds to the JSON property `password`
|
2699
2726
|
# @return [String]
|
2700
2727
|
attr_accessor :password
|
2701
2728
|
|
2729
|
+
# Optional. Defines a custom JSON object as request body to send to flexible
|
2730
|
+
# webhook.
|
2731
|
+
# Corresponds to the JSON property `requestBody`
|
2732
|
+
# @return [String]
|
2733
|
+
attr_accessor :request_body
|
2734
|
+
|
2702
2735
|
# The HTTP request headers to send together with webhook requests.
|
2703
2736
|
# Corresponds to the JSON property `requestHeaders`
|
2704
2737
|
# @return [Hash<String,String>]
|
@@ -2715,6 +2748,11 @@ module Google
|
|
2715
2748
|
# @return [String]
|
2716
2749
|
attr_accessor :username
|
2717
2750
|
|
2751
|
+
# Optional. Type of the webhook.
|
2752
|
+
# Corresponds to the JSON property `webhookType`
|
2753
|
+
# @return [String]
|
2754
|
+
attr_accessor :webhook_type
|
2755
|
+
|
2718
2756
|
def initialize(**args)
|
2719
2757
|
update!(**args)
|
2720
2758
|
end
|
@@ -2722,10 +2760,14 @@ module Google
|
|
2722
2760
|
# Update properties of this object
|
2723
2761
|
def update!(**args)
|
2724
2762
|
@allowed_ca_certs = args[:allowed_ca_certs] if args.key?(:allowed_ca_certs)
|
2763
|
+
@http_method = args[:http_method] if args.key?(:http_method)
|
2764
|
+
@parameter_mapping = args[:parameter_mapping] if args.key?(:parameter_mapping)
|
2725
2765
|
@password = args[:password] if args.key?(:password)
|
2766
|
+
@request_body = args[:request_body] if args.key?(:request_body)
|
2726
2767
|
@request_headers = args[:request_headers] if args.key?(:request_headers)
|
2727
2768
|
@uri = args[:uri] if args.key?(:uri)
|
2728
2769
|
@username = args[:username] if args.key?(:username)
|
2770
|
+
@webhook_type = args[:webhook_type] if args.key?(:webhook_type)
|
2729
2771
|
end
|
2730
2772
|
end
|
2731
2773
|
|
@@ -5607,6 +5649,18 @@ module Google
|
|
5607
5649
|
attr_accessor :reached_end_page
|
5608
5650
|
alias_method :reached_end_page?, :reached_end_page
|
5609
5651
|
|
5652
|
+
# Sentiment magnitude of the user utterance if [sentiment](https://cloud.google.
|
5653
|
+
# com/dialogflow/cx/docs/concept/sentiment) was enabled.
|
5654
|
+
# Corresponds to the JSON property `sentimentMagnitude`
|
5655
|
+
# @return [Float]
|
5656
|
+
attr_accessor :sentiment_magnitude
|
5657
|
+
|
5658
|
+
# Sentiment score of the user utterance if [sentiment](https://cloud.google.com/
|
5659
|
+
# dialogflow/cx/docs/concept/sentiment) was enabled.
|
5660
|
+
# Corresponds to the JSON property `sentimentScore`
|
5661
|
+
# @return [Float]
|
5662
|
+
attr_accessor :sentiment_score
|
5663
|
+
|
5610
5664
|
# Whether user was specifically asking for a live agent.
|
5611
5665
|
# Corresponds to the JSON property `userEscalated`
|
5612
5666
|
# @return [Boolean]
|
@@ -5630,6 +5684,8 @@ module Google
|
|
5630
5684
|
@no_match = args[:no_match] if args.key?(:no_match)
|
5631
5685
|
@no_user_input = args[:no_user_input] if args.key?(:no_user_input)
|
5632
5686
|
@reached_end_page = args[:reached_end_page] if args.key?(:reached_end_page)
|
5687
|
+
@sentiment_magnitude = args[:sentiment_magnitude] if args.key?(:sentiment_magnitude)
|
5688
|
+
@sentiment_score = args[:sentiment_score] if args.key?(:sentiment_score)
|
5633
5689
|
@user_escalated = args[:user_escalated] if args.key?(:user_escalated)
|
5634
5690
|
@webhook_statuses = args[:webhook_statuses] if args.key?(:webhook_statuses)
|
5635
5691
|
end
|
@@ -5728,11 +5784,30 @@ module Google
|
|
5728
5784
|
# @return [Array<String>]
|
5729
5785
|
attr_accessor :allowed_ca_certs
|
5730
5786
|
|
5787
|
+
# Optional. HTTP method for the flexible webhook calls. Standard webhook always
|
5788
|
+
# uses POST.
|
5789
|
+
# Corresponds to the JSON property `httpMethod`
|
5790
|
+
# @return [String]
|
5791
|
+
attr_accessor :http_method
|
5792
|
+
|
5793
|
+
# Optional. Maps the values extracted from specific fields of the flexible
|
5794
|
+
# webhook response into session parameters. - Key: session parameter name -
|
5795
|
+
# Value: field path in the webhook response
|
5796
|
+
# Corresponds to the JSON property `parameterMapping`
|
5797
|
+
# @return [Hash<String,String>]
|
5798
|
+
attr_accessor :parameter_mapping
|
5799
|
+
|
5731
5800
|
# The password for HTTP Basic authentication.
|
5732
5801
|
# Corresponds to the JSON property `password`
|
5733
5802
|
# @return [String]
|
5734
5803
|
attr_accessor :password
|
5735
5804
|
|
5805
|
+
# Optional. Defines a custom JSON object as request body to send to flexible
|
5806
|
+
# webhook.
|
5807
|
+
# Corresponds to the JSON property `requestBody`
|
5808
|
+
# @return [String]
|
5809
|
+
attr_accessor :request_body
|
5810
|
+
|
5736
5811
|
# The HTTP request headers to send together with webhook requests.
|
5737
5812
|
# Corresponds to the JSON property `requestHeaders`
|
5738
5813
|
# @return [Hash<String,String>]
|
@@ -5749,6 +5824,11 @@ module Google
|
|
5749
5824
|
# @return [String]
|
5750
5825
|
attr_accessor :username
|
5751
5826
|
|
5827
|
+
# Optional. Type of the webhook.
|
5828
|
+
# Corresponds to the JSON property `webhookType`
|
5829
|
+
# @return [String]
|
5830
|
+
attr_accessor :webhook_type
|
5831
|
+
|
5752
5832
|
def initialize(**args)
|
5753
5833
|
update!(**args)
|
5754
5834
|
end
|
@@ -5756,10 +5836,14 @@ module Google
|
|
5756
5836
|
# Update properties of this object
|
5757
5837
|
def update!(**args)
|
5758
5838
|
@allowed_ca_certs = args[:allowed_ca_certs] if args.key?(:allowed_ca_certs)
|
5839
|
+
@http_method = args[:http_method] if args.key?(:http_method)
|
5840
|
+
@parameter_mapping = args[:parameter_mapping] if args.key?(:parameter_mapping)
|
5759
5841
|
@password = args[:password] if args.key?(:password)
|
5842
|
+
@request_body = args[:request_body] if args.key?(:request_body)
|
5760
5843
|
@request_headers = args[:request_headers] if args.key?(:request_headers)
|
5761
5844
|
@uri = args[:uri] if args.key?(:uri)
|
5762
5845
|
@username = args[:username] if args.key?(:username)
|
5846
|
+
@webhook_type = args[:webhook_type] if args.key?(:webhook_type)
|
5763
5847
|
end
|
5764
5848
|
end
|
5765
5849
|
|
@@ -9281,6 +9365,11 @@ module Google
|
|
9281
9365
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ArticleAnswer]
|
9282
9366
|
attr_accessor :article_suggestion_answer
|
9283
9367
|
|
9368
|
+
# Represents a Dialogflow assist answer.
|
9369
|
+
# Corresponds to the JSON property `dialogflowAssistAnswer`
|
9370
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DialogflowAssistAnswer]
|
9371
|
+
attr_accessor :dialogflow_assist_answer
|
9372
|
+
|
9284
9373
|
# Represents answer from "frequently asked questions".
|
9285
9374
|
# Corresponds to the JSON property `faqAnswer`
|
9286
9375
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1FaqAnswer]
|
@@ -9293,6 +9382,7 @@ module Google
|
|
9293
9382
|
# Update properties of this object
|
9294
9383
|
def update!(**args)
|
9295
9384
|
@article_suggestion_answer = args[:article_suggestion_answer] if args.key?(:article_suggestion_answer)
|
9385
|
+
@dialogflow_assist_answer = args[:dialogflow_assist_answer] if args.key?(:dialogflow_assist_answer)
|
9296
9386
|
@faq_answer = args[:faq_answer] if args.key?(:faq_answer)
|
9297
9387
|
end
|
9298
9388
|
end
|
@@ -9370,6 +9460,11 @@ module Google
|
|
9370
9460
|
# @return [String]
|
9371
9461
|
attr_accessor :request_id
|
9372
9462
|
|
9463
|
+
# Represents the selection of a suggestion.
|
9464
|
+
# Corresponds to the JSON property `suggestionInput`
|
9465
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionInput]
|
9466
|
+
attr_accessor :suggestion_input
|
9467
|
+
|
9373
9468
|
# Represents the natural language text to be processed.
|
9374
9469
|
# Corresponds to the JSON property `textInput`
|
9375
9470
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput]
|
@@ -9390,6 +9485,7 @@ module Google
|
|
9390
9485
|
@query_params = args[:query_params] if args.key?(:query_params)
|
9391
9486
|
@reply_audio_config = args[:reply_audio_config] if args.key?(:reply_audio_config)
|
9392
9487
|
@request_id = args[:request_id] if args.key?(:request_id)
|
9488
|
+
@suggestion_input = args[:suggestion_input] if args.key?(:suggestion_input)
|
9393
9489
|
@text_input = args[:text_input] if args.key?(:text_input)
|
9394
9490
|
end
|
9395
9491
|
end
|
@@ -10750,6 +10846,38 @@ module Google
|
|
10750
10846
|
end
|
10751
10847
|
end
|
10752
10848
|
|
10849
|
+
# Represents a Dialogflow assist answer.
|
10850
|
+
class GoogleCloudDialogflowV2beta1DialogflowAssistAnswer
|
10851
|
+
include Google::Apis::Core::Hashable
|
10852
|
+
|
10853
|
+
# The name of answer record, in the format of "projects//locations//
|
10854
|
+
# answerRecords/"
|
10855
|
+
# Corresponds to the JSON property `answerRecord`
|
10856
|
+
# @return [String]
|
10857
|
+
attr_accessor :answer_record
|
10858
|
+
|
10859
|
+
# Represents an intent suggestion.
|
10860
|
+
# Corresponds to the JSON property `intentSuggestion`
|
10861
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentSuggestion]
|
10862
|
+
attr_accessor :intent_suggestion
|
10863
|
+
|
10864
|
+
# Represents the result of conversational query or event processing.
|
10865
|
+
# Corresponds to the JSON property `queryResult`
|
10866
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryResult]
|
10867
|
+
attr_accessor :query_result
|
10868
|
+
|
10869
|
+
def initialize(**args)
|
10870
|
+
update!(**args)
|
10871
|
+
end
|
10872
|
+
|
10873
|
+
# Update properties of this object
|
10874
|
+
def update!(**args)
|
10875
|
+
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
10876
|
+
@intent_suggestion = args[:intent_suggestion] if args.key?(:intent_suggestion)
|
10877
|
+
@query_result = args[:query_result] if args.key?(:query_result)
|
10878
|
+
end
|
10879
|
+
end
|
10880
|
+
|
10753
10881
|
# A knowledge document to be used by a KnowledgeBase. For more information, see
|
10754
10882
|
# the [knowledge base guide](https://cloud.google.com/dialogflow/docs/how/
|
10755
10883
|
# knowledge-bases). Note: The `projects.agent.knowledgeBases.documents` resource
|
@@ -11525,6 +11653,134 @@ module Google
|
|
11525
11653
|
end
|
11526
11654
|
end
|
11527
11655
|
|
11656
|
+
# The request message for Conversations.GenerateStatelessSummary.
|
11657
|
+
class GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequest
|
11658
|
+
include Google::Apis::Core::Hashable
|
11659
|
+
|
11660
|
+
# Defines the services to connect to incoming Dialogflow conversations.
|
11661
|
+
# Corresponds to the JSON property `conversationProfile`
|
11662
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationProfile]
|
11663
|
+
attr_accessor :conversation_profile
|
11664
|
+
|
11665
|
+
# The name of the latest conversation message used as context for generating a
|
11666
|
+
# Summary. If empty, the latest message of the conversation will be used. The
|
11667
|
+
# format is specific to the user and the names of the messages provided.
|
11668
|
+
# Corresponds to the JSON property `latestMessage`
|
11669
|
+
# @return [String]
|
11670
|
+
attr_accessor :latest_message
|
11671
|
+
|
11672
|
+
# Max number of messages prior to and including [latest_message] to use as
|
11673
|
+
# context when compiling the suggestion. By default 500 and at most 1000.
|
11674
|
+
# Corresponds to the JSON property `maxContextSize`
|
11675
|
+
# @return [Fixnum]
|
11676
|
+
attr_accessor :max_context_size
|
11677
|
+
|
11678
|
+
# The minimum amount of information required to generate a Summary without
|
11679
|
+
# having a Conversation resource created.
|
11680
|
+
# Corresponds to the JSON property `statelessConversation`
|
11681
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequestMinimalConversation]
|
11682
|
+
attr_accessor :stateless_conversation
|
11683
|
+
|
11684
|
+
def initialize(**args)
|
11685
|
+
update!(**args)
|
11686
|
+
end
|
11687
|
+
|
11688
|
+
# Update properties of this object
|
11689
|
+
def update!(**args)
|
11690
|
+
@conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile)
|
11691
|
+
@latest_message = args[:latest_message] if args.key?(:latest_message)
|
11692
|
+
@max_context_size = args[:max_context_size] if args.key?(:max_context_size)
|
11693
|
+
@stateless_conversation = args[:stateless_conversation] if args.key?(:stateless_conversation)
|
11694
|
+
end
|
11695
|
+
end
|
11696
|
+
|
11697
|
+
# The minimum amount of information required to generate a Summary without
|
11698
|
+
# having a Conversation resource created.
|
11699
|
+
class GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequestMinimalConversation
|
11700
|
+
include Google::Apis::Core::Hashable
|
11701
|
+
|
11702
|
+
# Required. The messages that the Summary will be generated from. It is expected
|
11703
|
+
# that this message content is already redacted and does not contain any PII.
|
11704
|
+
# Required fields: `content, language_code, participant, participant_role`
|
11705
|
+
# Optional fields: `send_time` If send_time is not provided, then the messages
|
11706
|
+
# must be provided in chronological order.
|
11707
|
+
# Corresponds to the JSON property `messages`
|
11708
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Message>]
|
11709
|
+
attr_accessor :messages
|
11710
|
+
|
11711
|
+
def initialize(**args)
|
11712
|
+
update!(**args)
|
11713
|
+
end
|
11714
|
+
|
11715
|
+
# Update properties of this object
|
11716
|
+
def update!(**args)
|
11717
|
+
@messages = args[:messages] if args.key?(:messages)
|
11718
|
+
end
|
11719
|
+
end
|
11720
|
+
|
11721
|
+
# The response message for Conversations.GenerateStatelessSummary.
|
11722
|
+
class GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponse
|
11723
|
+
include Google::Apis::Core::Hashable
|
11724
|
+
|
11725
|
+
# Number of messages prior to and including last_conversation_message used to
|
11726
|
+
# compile the suggestion. It may be smaller than the
|
11727
|
+
# GenerateStatelessSummaryRequest.context_size field in the request if there
|
11728
|
+
# weren't that many messages in the conversation.
|
11729
|
+
# Corresponds to the JSON property `contextSize`
|
11730
|
+
# @return [Fixnum]
|
11731
|
+
attr_accessor :context_size
|
11732
|
+
|
11733
|
+
# The name of the latest conversation message used as context for compiling
|
11734
|
+
# suggestion. The format is specific to the user and the names of the messages
|
11735
|
+
# provided.
|
11736
|
+
# Corresponds to the JSON property `latestMessage`
|
11737
|
+
# @return [String]
|
11738
|
+
attr_accessor :latest_message
|
11739
|
+
|
11740
|
+
# Generated summary for a conversation.
|
11741
|
+
# Corresponds to the JSON property `summary`
|
11742
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponseSummary]
|
11743
|
+
attr_accessor :summary
|
11744
|
+
|
11745
|
+
def initialize(**args)
|
11746
|
+
update!(**args)
|
11747
|
+
end
|
11748
|
+
|
11749
|
+
# Update properties of this object
|
11750
|
+
def update!(**args)
|
11751
|
+
@context_size = args[:context_size] if args.key?(:context_size)
|
11752
|
+
@latest_message = args[:latest_message] if args.key?(:latest_message)
|
11753
|
+
@summary = args[:summary] if args.key?(:summary)
|
11754
|
+
end
|
11755
|
+
end
|
11756
|
+
|
11757
|
+
# Generated summary for a conversation.
|
11758
|
+
class GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponseSummary
|
11759
|
+
include Google::Apis::Core::Hashable
|
11760
|
+
|
11761
|
+
# The summary content that is concatenated into one string.
|
11762
|
+
# Corresponds to the JSON property `text`
|
11763
|
+
# @return [String]
|
11764
|
+
attr_accessor :text
|
11765
|
+
|
11766
|
+
# The summary content that is divided into sections. The key is the section's
|
11767
|
+
# name and the value is the section's content. There is no specific format for
|
11768
|
+
# the key or value.
|
11769
|
+
# Corresponds to the JSON property `textSections`
|
11770
|
+
# @return [Hash<String,String>]
|
11771
|
+
attr_accessor :text_sections
|
11772
|
+
|
11773
|
+
def initialize(**args)
|
11774
|
+
update!(**args)
|
11775
|
+
end
|
11776
|
+
|
11777
|
+
# Update properties of this object
|
11778
|
+
def update!(**args)
|
11779
|
+
@text = args[:text] if args.key?(:text)
|
11780
|
+
@text_sections = args[:text_sections] if args.key?(:text_sections)
|
11781
|
+
end
|
11782
|
+
end
|
11783
|
+
|
11528
11784
|
# Defines the Human Agent Assistant to connect to a conversation.
|
11529
11785
|
class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig
|
11530
11786
|
include Google::Apis::Core::Hashable
|
@@ -11567,6 +11823,13 @@ module Google
|
|
11567
11823
|
class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig
|
11568
11824
|
include Google::Apis::Core::Hashable
|
11569
11825
|
|
11826
|
+
# Version of current baseline model. It will be ignored if model is set. Valid
|
11827
|
+
# versions are: Article Suggestion baseline model: - 0.9 - 1.0 (default)
|
11828
|
+
# Summarization baseline model: - 1.0
|
11829
|
+
# Corresponds to the JSON property `baselineModelVersion`
|
11830
|
+
# @return [String]
|
11831
|
+
attr_accessor :baseline_model_version
|
11832
|
+
|
11570
11833
|
# Conversation model resource name. Format: `projects//conversationModels/`.
|
11571
11834
|
# Corresponds to the JSON property `model`
|
11572
11835
|
# @return [String]
|
@@ -11578,6 +11841,7 @@ module Google
|
|
11578
11841
|
|
11579
11842
|
# Update properties of this object
|
11580
11843
|
def update!(**args)
|
11844
|
+
@baseline_model_version = args[:baseline_model_version] if args.key?(:baseline_model_version)
|
11581
11845
|
@model = args[:model] if args.key?(:model)
|
11582
11846
|
end
|
11583
11847
|
end
|
@@ -11746,7 +12010,7 @@ module Google
|
|
11746
12010
|
# a very low value and slowly increasing until you have desired results. If this
|
11747
12011
|
# field is not set, it is default to 0.0, which means that all suggestions are
|
11748
12012
|
# returned. Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY,
|
11749
|
-
# SMART_COMPOSE.
|
12013
|
+
# SMART_COMPOSE, KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST, ENTITY_EXTRACTION.
|
11750
12014
|
# Corresponds to the JSON property `confidenceThreshold`
|
11751
12015
|
# @return [Float]
|
11752
12016
|
attr_accessor :confidence_threshold
|
@@ -11840,6 +12104,32 @@ module Google
|
|
11840
12104
|
# @return [String]
|
11841
12105
|
attr_accessor :agent
|
11842
12106
|
|
12107
|
+
# The configuration used for human agent side Dialogflow assist suggestion.
|
12108
|
+
# Corresponds to the JSON property `humanAgentSideConfig`
|
12109
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig]
|
12110
|
+
attr_accessor :human_agent_side_config
|
12111
|
+
|
12112
|
+
def initialize(**args)
|
12113
|
+
update!(**args)
|
12114
|
+
end
|
12115
|
+
|
12116
|
+
# Update properties of this object
|
12117
|
+
def update!(**args)
|
12118
|
+
@agent = args[:agent] if args.key?(:agent)
|
12119
|
+
@human_agent_side_config = args[:human_agent_side_config] if args.key?(:human_agent_side_config)
|
12120
|
+
end
|
12121
|
+
end
|
12122
|
+
|
12123
|
+
# The configuration used for human agent side Dialogflow assist suggestion.
|
12124
|
+
class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig
|
12125
|
+
include Google::Apis::Core::Hashable
|
12126
|
+
|
12127
|
+
# Optional. The name of a dialogflow virtual agent used for intent detection and
|
12128
|
+
# suggestion triggered by human agent. Format: `projects//locations//agent`.
|
12129
|
+
# Corresponds to the JSON property `agent`
|
12130
|
+
# @return [String]
|
12131
|
+
attr_accessor :agent
|
12132
|
+
|
11843
12133
|
def initialize(**args)
|
11844
12134
|
update!(**args)
|
11845
12135
|
end
|
@@ -12537,6 +12827,35 @@ module Google
|
|
12537
12827
|
end
|
12538
12828
|
end
|
12539
12829
|
|
12830
|
+
# Represents the intent to trigger programmatically rather than as a result of
|
12831
|
+
# natural language processing. The intent input is only used for V3 agent.
|
12832
|
+
class GoogleCloudDialogflowV2beta1IntentInput
|
12833
|
+
include Google::Apis::Core::Hashable
|
12834
|
+
|
12835
|
+
# Required. The unique identifier of the intent in V3 agent. Format: `projects//
|
12836
|
+
# locations//locations//agents//intents/`.
|
12837
|
+
# Corresponds to the JSON property `intent`
|
12838
|
+
# @return [String]
|
12839
|
+
attr_accessor :intent
|
12840
|
+
|
12841
|
+
# Required. The language of this conversational query. See [Language Support](
|
12842
|
+
# https://cloud.google.com/dialogflow/docs/reference/language) for a list of the
|
12843
|
+
# currently supported language codes.
|
12844
|
+
# Corresponds to the JSON property `languageCode`
|
12845
|
+
# @return [String]
|
12846
|
+
attr_accessor :language_code
|
12847
|
+
|
12848
|
+
def initialize(**args)
|
12849
|
+
update!(**args)
|
12850
|
+
end
|
12851
|
+
|
12852
|
+
# Update properties of this object
|
12853
|
+
def update!(**args)
|
12854
|
+
@intent = args[:intent] if args.key?(:intent)
|
12855
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
12856
|
+
end
|
12857
|
+
end
|
12858
|
+
|
12540
12859
|
# Corresponds to the `Response` field in the Dialogflow console.
|
12541
12860
|
class GoogleCloudDialogflowV2beta1IntentMessage
|
12542
12861
|
include Google::Apis::Core::Hashable
|
@@ -13951,6 +14270,39 @@ module Google
|
|
13951
14270
|
end
|
13952
14271
|
end
|
13953
14272
|
|
14273
|
+
# Represents an intent suggestion.
|
14274
|
+
class GoogleCloudDialogflowV2beta1IntentSuggestion
|
14275
|
+
include Google::Apis::Core::Hashable
|
14276
|
+
|
14277
|
+
# Human readable description for better understanding an intent like its scope,
|
14278
|
+
# content, result etc. Maximum character limit: 140 characters.
|
14279
|
+
# Corresponds to the JSON property `description`
|
14280
|
+
# @return [String]
|
14281
|
+
attr_accessor :description
|
14282
|
+
|
14283
|
+
# The display name of the intent.
|
14284
|
+
# Corresponds to the JSON property `displayName`
|
14285
|
+
# @return [String]
|
14286
|
+
attr_accessor :display_name
|
14287
|
+
|
14288
|
+
# The unique identifier of this intent. Format: `projects//locations//agent/
|
14289
|
+
# intents/`.
|
14290
|
+
# Corresponds to the JSON property `intentV2`
|
14291
|
+
# @return [String]
|
14292
|
+
attr_accessor :intent_v2
|
14293
|
+
|
14294
|
+
def initialize(**args)
|
14295
|
+
update!(**args)
|
14296
|
+
end
|
14297
|
+
|
14298
|
+
# Update properties of this object
|
14299
|
+
def update!(**args)
|
14300
|
+
@description = args[:description] if args.key?(:description)
|
14301
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
14302
|
+
@intent_v2 = args[:intent_v2] if args.key?(:intent_v2)
|
14303
|
+
end
|
14304
|
+
end
|
14305
|
+
|
13954
14306
|
# Represents an example that the agent is trained on.
|
13955
14307
|
class GoogleCloudDialogflowV2beta1IntentTrainingPhrase
|
13956
14308
|
include Google::Apis::Core::Hashable
|
@@ -15873,11 +16225,6 @@ module Google
|
|
15873
16225
|
class GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest
|
15874
16226
|
include Google::Apis::Core::Hashable
|
15875
16227
|
|
15876
|
-
# Represents the parameters of human assist query.
|
15877
|
-
# Corresponds to the JSON property `assistQueryParams`
|
15878
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters]
|
15879
|
-
attr_accessor :assist_query_params
|
15880
|
-
|
15881
16228
|
# Max number of messages prior to and including [latest_message] to use as
|
15882
16229
|
# context when compiling the suggestion. By default 500 and at most 1000.
|
15883
16230
|
# Corresponds to the JSON property `contextSize`
|
@@ -15897,7 +16244,6 @@ module Google
|
|
15897
16244
|
|
15898
16245
|
# Update properties of this object
|
15899
16246
|
def update!(**args)
|
15900
|
-
@assist_query_params = args[:assist_query_params] if args.key?(:assist_query_params)
|
15901
16247
|
@context_size = args[:context_size] if args.key?(:context_size)
|
15902
16248
|
@latest_message = args[:latest_message] if args.key?(:latest_message)
|
15903
16249
|
end
|
@@ -15971,6 +16317,42 @@ module Google
|
|
15971
16317
|
end
|
15972
16318
|
end
|
15973
16319
|
|
16320
|
+
# The response message for Participants.SuggestDialogflowAssists.
|
16321
|
+
class GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse
|
16322
|
+
include Google::Apis::Core::Hashable
|
16323
|
+
|
16324
|
+
# Number of messages prior to and including latest_message to compile the
|
16325
|
+
# suggestion. It may be smaller than the SuggestDialogflowAssistsRequest.
|
16326
|
+
# context_size field in the request if there aren't that many messages in the
|
16327
|
+
# conversation.
|
16328
|
+
# Corresponds to the JSON property `contextSize`
|
16329
|
+
# @return [Fixnum]
|
16330
|
+
attr_accessor :context_size
|
16331
|
+
|
16332
|
+
# Output only. Multiple reply options provided by Dialogflow assist service. The
|
16333
|
+
# order is based on the rank of the model prediction.
|
16334
|
+
# Corresponds to the JSON property `dialogflowAssistAnswers`
|
16335
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DialogflowAssistAnswer>]
|
16336
|
+
attr_accessor :dialogflow_assist_answers
|
16337
|
+
|
16338
|
+
# The name of the latest conversation message used to suggest answer. Format: `
|
16339
|
+
# projects//locations//conversations//messages/`.
|
16340
|
+
# Corresponds to the JSON property `latestMessage`
|
16341
|
+
# @return [String]
|
16342
|
+
attr_accessor :latest_message
|
16343
|
+
|
16344
|
+
def initialize(**args)
|
16345
|
+
update!(**args)
|
16346
|
+
end
|
16347
|
+
|
16348
|
+
# Update properties of this object
|
16349
|
+
def update!(**args)
|
16350
|
+
@context_size = args[:context_size] if args.key?(:context_size)
|
16351
|
+
@dialogflow_assist_answers = args[:dialogflow_assist_answers] if args.key?(:dialogflow_assist_answers)
|
16352
|
+
@latest_message = args[:latest_message] if args.key?(:latest_message)
|
16353
|
+
end
|
16354
|
+
end
|
16355
|
+
|
15974
16356
|
# The request message for Participants.SuggestFaqAnswers.
|
15975
16357
|
class GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest
|
15976
16358
|
include Google::Apis::Core::Hashable
|
@@ -16274,6 +16656,57 @@ module Google
|
|
16274
16656
|
end
|
16275
16657
|
end
|
16276
16658
|
|
16659
|
+
# Represents the selection of a suggestion.
|
16660
|
+
class GoogleCloudDialogflowV2beta1SuggestionInput
|
16661
|
+
include Google::Apis::Core::Hashable
|
16662
|
+
|
16663
|
+
# Required. The ID of a suggestion selected by the human agent. The suggestion(s)
|
16664
|
+
# were generated in a previous call to request Dialogflow assist. The format is:
|
16665
|
+
# `projects//locations//answerRecords/` where is an alphanumeric string.
|
16666
|
+
# Corresponds to the JSON property `answerRecord`
|
16667
|
+
# @return [String]
|
16668
|
+
attr_accessor :answer_record
|
16669
|
+
|
16670
|
+
# Represents the intent to trigger programmatically rather than as a result of
|
16671
|
+
# natural language processing. The intent input is only used for V3 agent.
|
16672
|
+
# Corresponds to the JSON property `intentInput`
|
16673
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentInput]
|
16674
|
+
attr_accessor :intent_input
|
16675
|
+
|
16676
|
+
# In Dialogflow assist for v3, the user can submit a form by sending a
|
16677
|
+
# SuggestionInput. The form is uniquely determined by the answer_record field,
|
16678
|
+
# which identifies a v3 QueryResult containing the current page. The form
|
16679
|
+
# parameters are specified via the parameters field. Depending on your protocol
|
16680
|
+
# or client library language, this is a map, associative array, symbol table,
|
16681
|
+
# dictionary, or JSON object composed of a collection of (MapKey, MapValue)
|
16682
|
+
# pairs: - MapKey type: string - MapKey value: parameter name - MapValue type: -
|
16683
|
+
# If parameter's entity type is a composite entity: map - Else: depending on
|
16684
|
+
# parameter value type, could be one of string, number, boolean, null, list or
|
16685
|
+
# map - MapValue value: - If parameter's entity type is a composite entity: map
|
16686
|
+
# from composite entity property names to property values - Else: parameter
|
16687
|
+
# value
|
16688
|
+
# Corresponds to the JSON property `parameters`
|
16689
|
+
# @return [Hash<String,Object>]
|
16690
|
+
attr_accessor :parameters
|
16691
|
+
|
16692
|
+
# Represents the natural language text to be processed.
|
16693
|
+
# Corresponds to the JSON property `textOverride`
|
16694
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput]
|
16695
|
+
attr_accessor :text_override
|
16696
|
+
|
16697
|
+
def initialize(**args)
|
16698
|
+
update!(**args)
|
16699
|
+
end
|
16700
|
+
|
16701
|
+
# Update properties of this object
|
16702
|
+
def update!(**args)
|
16703
|
+
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
16704
|
+
@intent_input = args[:intent_input] if args.key?(:intent_input)
|
16705
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
16706
|
+
@text_override = args[:text_override] if args.key?(:text_override)
|
16707
|
+
end
|
16708
|
+
end
|
16709
|
+
|
16277
16710
|
# One response of different type of suggestion response which is used in the
|
16278
16711
|
# response of Participants.AnalyzeContent and Participants.AnalyzeContent, as
|
16279
16712
|
# well as HumanAgentAssistantEvent.
|
@@ -16295,6 +16728,11 @@ module Google
|
|
16295
16728
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestArticlesResponse]
|
16296
16729
|
attr_accessor :suggest_articles_response
|
16297
16730
|
|
16731
|
+
# The response message for Participants.SuggestDialogflowAssists.
|
16732
|
+
# Corresponds to the JSON property `suggestDialogflowAssistsResponse`
|
16733
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse]
|
16734
|
+
attr_accessor :suggest_dialogflow_assists_response
|
16735
|
+
|
16298
16736
|
# The request message for Participants.SuggestFaqAnswers.
|
16299
16737
|
# Corresponds to the JSON property `suggestFaqAnswersResponse`
|
16300
16738
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse]
|
@@ -16313,6 +16751,7 @@ module Google
|
|
16313
16751
|
def update!(**args)
|
16314
16752
|
@error = args[:error] if args.key?(:error)
|
16315
16753
|
@suggest_articles_response = args[:suggest_articles_response] if args.key?(:suggest_articles_response)
|
16754
|
+
@suggest_dialogflow_assists_response = args[:suggest_dialogflow_assists_response] if args.key?(:suggest_dialogflow_assists_response)
|
16316
16755
|
@suggest_faq_answers_response = args[:suggest_faq_answers_response] if args.key?(:suggest_faq_answers_response)
|
16317
16756
|
@suggest_smart_replies_response = args[:suggest_smart_replies_response] if args.key?(:suggest_smart_replies_response)
|
16318
16757
|
end
|
@@ -16951,6 +17390,18 @@ module Google
|
|
16951
17390
|
attr_accessor :reached_end_page
|
16952
17391
|
alias_method :reached_end_page?, :reached_end_page
|
16953
17392
|
|
17393
|
+
# Sentiment magnitude of the user utterance if [sentiment](https://cloud.google.
|
17394
|
+
# com/dialogflow/cx/docs/concept/sentiment) was enabled.
|
17395
|
+
# Corresponds to the JSON property `sentimentMagnitude`
|
17396
|
+
# @return [Float]
|
17397
|
+
attr_accessor :sentiment_magnitude
|
17398
|
+
|
17399
|
+
# Sentiment score of the user utterance if [sentiment](https://cloud.google.com/
|
17400
|
+
# dialogflow/cx/docs/concept/sentiment) was enabled.
|
17401
|
+
# Corresponds to the JSON property `sentimentScore`
|
17402
|
+
# @return [Float]
|
17403
|
+
attr_accessor :sentiment_score
|
17404
|
+
|
16954
17405
|
# Whether agent has triggered the event corresponding to user abandoning the
|
16955
17406
|
# conversation.
|
16956
17407
|
# Corresponds to the JSON property `triggeredAbandonmentEvent`
|
@@ -16981,6 +17432,8 @@ module Google
|
|
16981
17432
|
@no_match = args[:no_match] if args.key?(:no_match)
|
16982
17433
|
@no_user_input = args[:no_user_input] if args.key?(:no_user_input)
|
16983
17434
|
@reached_end_page = args[:reached_end_page] if args.key?(:reached_end_page)
|
17435
|
+
@sentiment_magnitude = args[:sentiment_magnitude] if args.key?(:sentiment_magnitude)
|
17436
|
+
@sentiment_score = args[:sentiment_score] if args.key?(:sentiment_score)
|
16984
17437
|
@triggered_abandonment_event = args[:triggered_abandonment_event] if args.key?(:triggered_abandonment_event)
|
16985
17438
|
@user_escalated = args[:user_escalated] if args.key?(:user_escalated)
|
16986
17439
|
@webhook_statuses = args[:webhook_statuses] if args.key?(:webhook_statuses)
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.57.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230516"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -1744,6 +1744,12 @@ module Google
|
|
1744
1744
|
include Google::Apis::Core::JsonObjectSupport
|
1745
1745
|
end
|
1746
1746
|
|
1747
|
+
class GoogleCloudDialogflowV2beta1DialogflowAssistAnswer
|
1748
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1749
|
+
|
1750
|
+
include Google::Apis::Core::JsonObjectSupport
|
1751
|
+
end
|
1752
|
+
|
1747
1753
|
class GoogleCloudDialogflowV2beta1Document
|
1748
1754
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1749
1755
|
|
@@ -1864,6 +1870,30 @@ module Google
|
|
1864
1870
|
include Google::Apis::Core::JsonObjectSupport
|
1865
1871
|
end
|
1866
1872
|
|
1873
|
+
class GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequest
|
1874
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1875
|
+
|
1876
|
+
include Google::Apis::Core::JsonObjectSupport
|
1877
|
+
end
|
1878
|
+
|
1879
|
+
class GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequestMinimalConversation
|
1880
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1881
|
+
|
1882
|
+
include Google::Apis::Core::JsonObjectSupport
|
1883
|
+
end
|
1884
|
+
|
1885
|
+
class GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponse
|
1886
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1887
|
+
|
1888
|
+
include Google::Apis::Core::JsonObjectSupport
|
1889
|
+
end
|
1890
|
+
|
1891
|
+
class GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponseSummary
|
1892
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1893
|
+
|
1894
|
+
include Google::Apis::Core::JsonObjectSupport
|
1895
|
+
end
|
1896
|
+
|
1867
1897
|
class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig
|
1868
1898
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1869
1899
|
|
@@ -1918,6 +1948,12 @@ module Google
|
|
1918
1948
|
include Google::Apis::Core::JsonObjectSupport
|
1919
1949
|
end
|
1920
1950
|
|
1951
|
+
class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig
|
1952
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1953
|
+
|
1954
|
+
include Google::Apis::Core::JsonObjectSupport
|
1955
|
+
end
|
1956
|
+
|
1921
1957
|
class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDocumentQuerySource
|
1922
1958
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1923
1959
|
|
@@ -2008,6 +2044,12 @@ module Google
|
|
2008
2044
|
include Google::Apis::Core::JsonObjectSupport
|
2009
2045
|
end
|
2010
2046
|
|
2047
|
+
class GoogleCloudDialogflowV2beta1IntentInput
|
2048
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2049
|
+
|
2050
|
+
include Google::Apis::Core::JsonObjectSupport
|
2051
|
+
end
|
2052
|
+
|
2011
2053
|
class GoogleCloudDialogflowV2beta1IntentMessage
|
2012
2054
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2013
2055
|
|
@@ -2266,6 +2308,12 @@ module Google
|
|
2266
2308
|
include Google::Apis::Core::JsonObjectSupport
|
2267
2309
|
end
|
2268
2310
|
|
2311
|
+
class GoogleCloudDialogflowV2beta1IntentSuggestion
|
2312
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2313
|
+
|
2314
|
+
include Google::Apis::Core::JsonObjectSupport
|
2315
|
+
end
|
2316
|
+
|
2269
2317
|
class GoogleCloudDialogflowV2beta1IntentTrainingPhrase
|
2270
2318
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2271
2319
|
|
@@ -2602,6 +2650,12 @@ module Google
|
|
2602
2650
|
include Google::Apis::Core::JsonObjectSupport
|
2603
2651
|
end
|
2604
2652
|
|
2653
|
+
class GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse
|
2654
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2655
|
+
|
2656
|
+
include Google::Apis::Core::JsonObjectSupport
|
2657
|
+
end
|
2658
|
+
|
2605
2659
|
class GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest
|
2606
2660
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2607
2661
|
|
@@ -2650,6 +2704,12 @@ module Google
|
|
2650
2704
|
include Google::Apis::Core::JsonObjectSupport
|
2651
2705
|
end
|
2652
2706
|
|
2707
|
+
class GoogleCloudDialogflowV2beta1SuggestionInput
|
2708
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2709
|
+
|
2710
|
+
include Google::Apis::Core::JsonObjectSupport
|
2711
|
+
end
|
2712
|
+
|
2653
2713
|
class GoogleCloudDialogflowV2beta1SuggestionResult
|
2654
2714
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2655
2715
|
|
@@ -3525,6 +3585,8 @@ module Google
|
|
3525
3585
|
property :no_match, as: 'noMatch'
|
3526
3586
|
property :no_user_input, as: 'noUserInput'
|
3527
3587
|
property :reached_end_page, as: 'reachedEndPage'
|
3588
|
+
property :sentiment_magnitude, as: 'sentimentMagnitude'
|
3589
|
+
property :sentiment_score, as: 'sentimentScore'
|
3528
3590
|
property :user_escalated, as: 'userEscalated'
|
3529
3591
|
collection :webhook_statuses, as: 'webhookStatuses'
|
3530
3592
|
end
|
@@ -3556,10 +3618,14 @@ module Google
|
|
3556
3618
|
# @private
|
3557
3619
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3558
3620
|
collection :allowed_ca_certs, as: 'allowedCaCerts'
|
3621
|
+
property :http_method, as: 'httpMethod'
|
3622
|
+
hash :parameter_mapping, as: 'parameterMapping'
|
3559
3623
|
property :password, as: 'password'
|
3624
|
+
property :request_body, as: 'requestBody'
|
3560
3625
|
hash :request_headers, as: 'requestHeaders'
|
3561
3626
|
property :uri, as: 'uri'
|
3562
3627
|
property :username, as: 'username'
|
3628
|
+
property :webhook_type, as: 'webhookType'
|
3563
3629
|
end
|
3564
3630
|
end
|
3565
3631
|
|
@@ -4363,6 +4429,8 @@ module Google
|
|
4363
4429
|
property :no_match, as: 'noMatch'
|
4364
4430
|
property :no_user_input, as: 'noUserInput'
|
4365
4431
|
property :reached_end_page, as: 'reachedEndPage'
|
4432
|
+
property :sentiment_magnitude, as: 'sentimentMagnitude'
|
4433
|
+
property :sentiment_score, as: 'sentimentScore'
|
4366
4434
|
property :user_escalated, as: 'userEscalated'
|
4367
4435
|
collection :webhook_statuses, as: 'webhookStatuses'
|
4368
4436
|
end
|
@@ -4394,10 +4462,14 @@ module Google
|
|
4394
4462
|
# @private
|
4395
4463
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4396
4464
|
collection :allowed_ca_certs, as: 'allowedCaCerts'
|
4465
|
+
property :http_method, as: 'httpMethod'
|
4466
|
+
hash :parameter_mapping, as: 'parameterMapping'
|
4397
4467
|
property :password, as: 'password'
|
4468
|
+
property :request_body, as: 'requestBody'
|
4398
4469
|
hash :request_headers, as: 'requestHeaders'
|
4399
4470
|
property :uri, as: 'uri'
|
4400
4471
|
property :username, as: 'username'
|
4472
|
+
property :webhook_type, as: 'webhookType'
|
4401
4473
|
end
|
4402
4474
|
end
|
4403
4475
|
|
@@ -5350,6 +5422,8 @@ module Google
|
|
5350
5422
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5351
5423
|
property :article_suggestion_answer, as: 'articleSuggestionAnswer', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ArticleAnswer, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ArticleAnswer::Representation
|
5352
5424
|
|
5425
|
+
property :dialogflow_assist_answer, as: 'dialogflowAssistAnswer', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DialogflowAssistAnswer, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DialogflowAssistAnswer::Representation
|
5426
|
+
|
5353
5427
|
property :faq_answer, as: 'faqAnswer', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1FaqAnswer, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1FaqAnswer::Representation
|
5354
5428
|
|
5355
5429
|
end
|
@@ -5372,6 +5446,8 @@ module Google
|
|
5372
5446
|
property :reply_audio_config, as: 'replyAudioConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudioConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudioConfig::Representation
|
5373
5447
|
|
5374
5448
|
property :request_id, as: 'requestId'
|
5449
|
+
property :suggestion_input, as: 'suggestionInput', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionInput::Representation
|
5450
|
+
|
5375
5451
|
property :text_input, as: 'textInput', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput::Representation
|
5376
5452
|
|
5377
5453
|
end
|
@@ -5738,6 +5814,17 @@ module Google
|
|
5738
5814
|
end
|
5739
5815
|
end
|
5740
5816
|
|
5817
|
+
class GoogleCloudDialogflowV2beta1DialogflowAssistAnswer
|
5818
|
+
# @private
|
5819
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5820
|
+
property :answer_record, as: 'answerRecord'
|
5821
|
+
property :intent_suggestion, as: 'intentSuggestion', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentSuggestion, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentSuggestion::Representation
|
5822
|
+
|
5823
|
+
property :query_result, as: 'queryResult', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryResult::Representation
|
5824
|
+
|
5825
|
+
end
|
5826
|
+
end
|
5827
|
+
|
5741
5828
|
class GoogleCloudDialogflowV2beta1Document
|
5742
5829
|
# @private
|
5743
5830
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5931,6 +6018,44 @@ module Google
|
|
5931
6018
|
end
|
5932
6019
|
end
|
5933
6020
|
|
6021
|
+
class GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequest
|
6022
|
+
# @private
|
6023
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6024
|
+
property :conversation_profile, as: 'conversationProfile', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationProfile, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConversationProfile::Representation
|
6025
|
+
|
6026
|
+
property :latest_message, as: 'latestMessage'
|
6027
|
+
property :max_context_size, as: 'maxContextSize'
|
6028
|
+
property :stateless_conversation, as: 'statelessConversation', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequestMinimalConversation, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequestMinimalConversation::Representation
|
6029
|
+
|
6030
|
+
end
|
6031
|
+
end
|
6032
|
+
|
6033
|
+
class GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequestMinimalConversation
|
6034
|
+
# @private
|
6035
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6036
|
+
collection :messages, as: 'messages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Message, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Message::Representation
|
6037
|
+
|
6038
|
+
end
|
6039
|
+
end
|
6040
|
+
|
6041
|
+
class GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponse
|
6042
|
+
# @private
|
6043
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6044
|
+
property :context_size, as: 'contextSize'
|
6045
|
+
property :latest_message, as: 'latestMessage'
|
6046
|
+
property :summary, as: 'summary', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponseSummary, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponseSummary::Representation
|
6047
|
+
|
6048
|
+
end
|
6049
|
+
end
|
6050
|
+
|
6051
|
+
class GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponseSummary
|
6052
|
+
# @private
|
6053
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6054
|
+
property :text, as: 'text'
|
6055
|
+
hash :text_sections, as: 'textSections'
|
6056
|
+
end
|
6057
|
+
end
|
6058
|
+
|
5934
6059
|
class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfig
|
5935
6060
|
# @private
|
5936
6061
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5948,6 +6073,7 @@ module Google
|
|
5948
6073
|
class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigConversationModelConfig
|
5949
6074
|
# @private
|
5950
6075
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6076
|
+
property :baseline_model_version, as: 'baselineModelVersion'
|
5951
6077
|
property :model, as: 'model'
|
5952
6078
|
end
|
5953
6079
|
end
|
@@ -6019,6 +6145,15 @@ module Google
|
|
6019
6145
|
end
|
6020
6146
|
|
6021
6147
|
class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySource
|
6148
|
+
# @private
|
6149
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6150
|
+
property :agent, as: 'agent'
|
6151
|
+
property :human_agent_side_config, as: 'humanAgentSideConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig::Representation
|
6152
|
+
|
6153
|
+
end
|
6154
|
+
end
|
6155
|
+
|
6156
|
+
class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfigDialogflowQuerySourceHumanAgentSideConfig
|
6022
6157
|
# @private
|
6023
6158
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6024
6159
|
property :agent, as: 'agent'
|
@@ -6188,6 +6323,14 @@ module Google
|
|
6188
6323
|
end
|
6189
6324
|
end
|
6190
6325
|
|
6326
|
+
class GoogleCloudDialogflowV2beta1IntentInput
|
6327
|
+
# @private
|
6328
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6329
|
+
property :intent, as: 'intent'
|
6330
|
+
property :language_code, as: 'languageCode'
|
6331
|
+
end
|
6332
|
+
end
|
6333
|
+
|
6191
6334
|
class GoogleCloudDialogflowV2beta1IntentMessage
|
6192
6335
|
# @private
|
6193
6336
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6624,6 +6767,15 @@ module Google
|
|
6624
6767
|
end
|
6625
6768
|
end
|
6626
6769
|
|
6770
|
+
class GoogleCloudDialogflowV2beta1IntentSuggestion
|
6771
|
+
# @private
|
6772
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6773
|
+
property :description, as: 'description'
|
6774
|
+
property :display_name, as: 'displayName'
|
6775
|
+
property :intent_v2, as: 'intentV2'
|
6776
|
+
end
|
6777
|
+
end
|
6778
|
+
|
6627
6779
|
class GoogleCloudDialogflowV2beta1IntentTrainingPhrase
|
6628
6780
|
# @private
|
6629
6781
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7147,8 +7299,6 @@ module Google
|
|
7147
7299
|
class GoogleCloudDialogflowV2beta1SuggestConversationSummaryRequest
|
7148
7300
|
# @private
|
7149
7301
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7150
|
-
property :assist_query_params, as: 'assistQueryParams', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters::Representation
|
7151
|
-
|
7152
7302
|
property :context_size, as: 'contextSize'
|
7153
7303
|
property :latest_message, as: 'latestMessage'
|
7154
7304
|
end
|
@@ -7173,6 +7323,16 @@ module Google
|
|
7173
7323
|
end
|
7174
7324
|
end
|
7175
7325
|
|
7326
|
+
class GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse
|
7327
|
+
# @private
|
7328
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7329
|
+
property :context_size, as: 'contextSize'
|
7330
|
+
collection :dialogflow_assist_answers, as: 'dialogflowAssistAnswers', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DialogflowAssistAnswer, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DialogflowAssistAnswer::Representation
|
7331
|
+
|
7332
|
+
property :latest_message, as: 'latestMessage'
|
7333
|
+
end
|
7334
|
+
end
|
7335
|
+
|
7176
7336
|
class GoogleCloudDialogflowV2beta1SuggestFaqAnswersRequest
|
7177
7337
|
# @private
|
7178
7338
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7256,6 +7416,18 @@ module Google
|
|
7256
7416
|
end
|
7257
7417
|
end
|
7258
7418
|
|
7419
|
+
class GoogleCloudDialogflowV2beta1SuggestionInput
|
7420
|
+
# @private
|
7421
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7422
|
+
property :answer_record, as: 'answerRecord'
|
7423
|
+
property :intent_input, as: 'intentInput', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentInput::Representation
|
7424
|
+
|
7425
|
+
hash :parameters, as: 'parameters'
|
7426
|
+
property :text_override, as: 'textOverride', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput::Representation
|
7427
|
+
|
7428
|
+
end
|
7429
|
+
end
|
7430
|
+
|
7259
7431
|
class GoogleCloudDialogflowV2beta1SuggestionResult
|
7260
7432
|
# @private
|
7261
7433
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -7263,6 +7435,8 @@ module Google
|
|
7263
7435
|
|
7264
7436
|
property :suggest_articles_response, as: 'suggestArticlesResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestArticlesResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestArticlesResponse::Representation
|
7265
7437
|
|
7438
|
+
property :suggest_dialogflow_assists_response, as: 'suggestDialogflowAssistsResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse::Representation
|
7439
|
+
|
7266
7440
|
property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse::Representation
|
7267
7441
|
|
7268
7442
|
property :suggest_smart_replies_response, as: 'suggestSmartRepliesResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse::Representation
|
@@ -7447,6 +7621,8 @@ module Google
|
|
7447
7621
|
property :no_match, as: 'noMatch'
|
7448
7622
|
property :no_user_input, as: 'noUserInput'
|
7449
7623
|
property :reached_end_page, as: 'reachedEndPage'
|
7624
|
+
property :sentiment_magnitude, as: 'sentimentMagnitude'
|
7625
|
+
property :sentiment_score, as: 'sentimentScore'
|
7450
7626
|
property :triggered_abandonment_event, as: 'triggeredAbandonmentEvent'
|
7451
7627
|
property :user_escalated, as: 'userEscalated'
|
7452
7628
|
collection :webhook_statuses, as: 'webhookStatuses'
|
@@ -8805,6 +8805,41 @@ module Google
|
|
8805
8805
|
execute_or_queue_command(command, &block)
|
8806
8806
|
end
|
8807
8807
|
|
8808
|
+
# Generates and returns a summary for a conversation that does not have a
|
8809
|
+
# resource created for it.
|
8810
|
+
# @param [String] parent
|
8811
|
+
# Required. The parent resource to charge for the Summary's generation. Format: `
|
8812
|
+
# projects//locations/`.
|
8813
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequest] google_cloud_dialogflow_v2beta1_generate_stateless_summary_request_object
|
8814
|
+
# @param [String] fields
|
8815
|
+
# Selector specifying which fields to include in a partial response.
|
8816
|
+
# @param [String] quota_user
|
8817
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
8818
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
8819
|
+
# @param [Google::Apis::RequestOptions] options
|
8820
|
+
# Request-specific options
|
8821
|
+
#
|
8822
|
+
# @yield [result, err] Result & error if block supplied
|
8823
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponse] parsed result object
|
8824
|
+
# @yieldparam err [StandardError] error object if request failed
|
8825
|
+
#
|
8826
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponse]
|
8827
|
+
#
|
8828
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
8829
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
8830
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
8831
|
+
def generate_project_location_suggestion_stateless_summary(parent, google_cloud_dialogflow_v2beta1_generate_stateless_summary_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
8832
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/suggestions:generateStatelessSummary', options)
|
8833
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequest::Representation
|
8834
|
+
command.request_object = google_cloud_dialogflow_v2beta1_generate_stateless_summary_request_object
|
8835
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponse::Representation
|
8836
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponse
|
8837
|
+
command.params['parent'] = parent unless parent.nil?
|
8838
|
+
command.query['fields'] = fields unless fields.nil?
|
8839
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
8840
|
+
execute_or_queue_command(command, &block)
|
8841
|
+
end
|
8842
|
+
|
8808
8843
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
8809
8844
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
8810
8845
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -8912,6 +8947,41 @@ module Google
|
|
8912
8947
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
8913
8948
|
execute_or_queue_command(command, &block)
|
8914
8949
|
end
|
8950
|
+
|
8951
|
+
# Generates and returns a summary for a conversation that does not have a
|
8952
|
+
# resource created for it.
|
8953
|
+
# @param [String] parent
|
8954
|
+
# Required. The parent resource to charge for the Summary's generation. Format: `
|
8955
|
+
# projects//locations/`.
|
8956
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequest] google_cloud_dialogflow_v2beta1_generate_stateless_summary_request_object
|
8957
|
+
# @param [String] fields
|
8958
|
+
# Selector specifying which fields to include in a partial response.
|
8959
|
+
# @param [String] quota_user
|
8960
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
8961
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
8962
|
+
# @param [Google::Apis::RequestOptions] options
|
8963
|
+
# Request-specific options
|
8964
|
+
#
|
8965
|
+
# @yield [result, err] Result & error if block supplied
|
8966
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponse] parsed result object
|
8967
|
+
# @yieldparam err [StandardError] error object if request failed
|
8968
|
+
#
|
8969
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponse]
|
8970
|
+
#
|
8971
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
8972
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
8973
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
8974
|
+
def generate_project_suggestion_stateless_summary(parent, google_cloud_dialogflow_v2beta1_generate_stateless_summary_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
8975
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/suggestions:generateStatelessSummary', options)
|
8976
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateStatelessSummaryRequest::Representation
|
8977
|
+
command.request_object = google_cloud_dialogflow_v2beta1_generate_stateless_summary_request_object
|
8978
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponse::Representation
|
8979
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GenerateStatelessSummaryResponse
|
8980
|
+
command.params['parent'] = parent unless parent.nil?
|
8981
|
+
command.query['fields'] = fields unless fields.nil?
|
8982
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
8983
|
+
execute_or_queue_command(command, &block)
|
8984
|
+
end
|
8915
8985
|
|
8916
8986
|
protected
|
8917
8987
|
|
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.
|
4
|
+
version: 0.57.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: 2023-05-
|
11
|
+
date: 2023-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.57.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|