google-apis-dialogflow_v2 0.59.0 → 0.60.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: 1b4a25474c487f2115ef0f02f8a1f249b731f90b0775c01e06b3e2f06ce7bc1d
4
- data.tar.gz: e1c89d6ccb0a2e6fd41fba38c224f174f89011ac39c44ad321364045ab5bc856
3
+ metadata.gz: 82e8fc81f6bf0448a2086429236c97e0a718f60eefd70fca2c62d354121d6f4c
4
+ data.tar.gz: 59910079a9afdc461fe0983e421fe68fbfe3d43cfc3fa52d35859c29aa93df41
5
5
  SHA512:
6
- metadata.gz: 5ce608486b5f6fb6a1be14cece7906f99c696f09e5c36ef52f9f2a5c926b3640a23f2519342fff04ccf89dead7dc38b631c5c92d7154a948fd2075aed6e9ca3a
7
- data.tar.gz: de022a53d6a488fce5076c5ab2854b7003b2c5f925f8947eff4cc90c7e86da1de77ac98aab9b7ca084d5ad9203b92428c4a51c20880d84ac7c2069f4f387d2d8
6
+ metadata.gz: 8e7d8b6a33f1311d9e2fd97dbbaf6006bff2f57d0af89e59315ed750e46dd5be283e424e292f0450eeb47955a16afa62822a3efc3e1ffc5fbf7c96b046d21735
7
+ data.tar.gz: 82111b2a1822542a0a26a779835551943abbd4cbeddf096628f31628020f6632ecff4d7e0c20db5fc459f6af3a2284332a025d9102ad1aa12febf1c4fd4ee2b3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v2
2
2
 
3
+ ### v0.60.0 (2023-05-21)
4
+
5
+ * Regenerated from discovery document revision 20230516
6
+
3
7
  ### v0.59.0 (2023-05-07)
4
8
 
5
9
  * Regenerated from discovery document revision 20230501
@@ -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
 
@@ -6488,8 +6572,8 @@ module Google
6488
6572
  attr_accessor :click_time
6489
6573
 
6490
6574
  # Indicates whether the answer/item was clicked by the human agent or not.
6491
- # Default to false. For knowledge search, the answer record is considered to be
6492
- # clicked if the answer was copied or any URI was clicked.
6575
+ # Default to false. For knowledge search and knowledge assist, the answer record
6576
+ # is considered to be clicked if the answer was copied or any URI was clicked.
6493
6577
  # Corresponds to the JSON property `clicked`
6494
6578
  # @return [Boolean]
6495
6579
  attr_accessor :clicked
@@ -8762,6 +8846,134 @@ module Google
8762
8846
  end
8763
8847
  end
8764
8848
 
8849
+ # The request message for Conversations.GenerateStatelessSummary.
8850
+ class GoogleCloudDialogflowV2GenerateStatelessSummaryRequest
8851
+ include Google::Apis::Core::Hashable
8852
+
8853
+ # Defines the services to connect to incoming Dialogflow conversations.
8854
+ # Corresponds to the JSON property `conversationProfile`
8855
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationProfile]
8856
+ attr_accessor :conversation_profile
8857
+
8858
+ # The name of the latest conversation message used as context for generating a
8859
+ # Summary. If empty, the latest message of the conversation will be used. The
8860
+ # format is specific to the user and the names of the messages provided.
8861
+ # Corresponds to the JSON property `latestMessage`
8862
+ # @return [String]
8863
+ attr_accessor :latest_message
8864
+
8865
+ # Max number of messages prior to and including [latest_message] to use as
8866
+ # context when compiling the suggestion. By default 500 and at most 1000.
8867
+ # Corresponds to the JSON property `maxContextSize`
8868
+ # @return [Fixnum]
8869
+ attr_accessor :max_context_size
8870
+
8871
+ # The minimum amount of information required to generate a Summary without
8872
+ # having a Conversation resource created.
8873
+ # Corresponds to the JSON property `statelessConversation`
8874
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation]
8875
+ attr_accessor :stateless_conversation
8876
+
8877
+ def initialize(**args)
8878
+ update!(**args)
8879
+ end
8880
+
8881
+ # Update properties of this object
8882
+ def update!(**args)
8883
+ @conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile)
8884
+ @latest_message = args[:latest_message] if args.key?(:latest_message)
8885
+ @max_context_size = args[:max_context_size] if args.key?(:max_context_size)
8886
+ @stateless_conversation = args[:stateless_conversation] if args.key?(:stateless_conversation)
8887
+ end
8888
+ end
8889
+
8890
+ # The minimum amount of information required to generate a Summary without
8891
+ # having a Conversation resource created.
8892
+ class GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation
8893
+ include Google::Apis::Core::Hashable
8894
+
8895
+ # Required. The messages that the Summary will be generated from. It is expected
8896
+ # that this message content is already redacted and does not contain any PII.
8897
+ # Required fields: `content, language_code, participant, participant_role`
8898
+ # Optional fields: `send_time` If send_time is not provided, then the messages
8899
+ # must be provided in chronological order.
8900
+ # Corresponds to the JSON property `messages`
8901
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Message>]
8902
+ attr_accessor :messages
8903
+
8904
+ def initialize(**args)
8905
+ update!(**args)
8906
+ end
8907
+
8908
+ # Update properties of this object
8909
+ def update!(**args)
8910
+ @messages = args[:messages] if args.key?(:messages)
8911
+ end
8912
+ end
8913
+
8914
+ # The response message for Conversations.GenerateStatelessSummary.
8915
+ class GoogleCloudDialogflowV2GenerateStatelessSummaryResponse
8916
+ include Google::Apis::Core::Hashable
8917
+
8918
+ # Number of messages prior to and including last_conversation_message used to
8919
+ # compile the suggestion. It may be smaller than the
8920
+ # GenerateStatelessSummaryRequest.context_size field in the request if there
8921
+ # weren't that many messages in the conversation.
8922
+ # Corresponds to the JSON property `contextSize`
8923
+ # @return [Fixnum]
8924
+ attr_accessor :context_size
8925
+
8926
+ # The name of the latest conversation message used as context for compiling
8927
+ # suggestion. The format is specific to the user and the names of the messages
8928
+ # provided.
8929
+ # Corresponds to the JSON property `latestMessage`
8930
+ # @return [String]
8931
+ attr_accessor :latest_message
8932
+
8933
+ # Generated summary for a conversation.
8934
+ # Corresponds to the JSON property `summary`
8935
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary]
8936
+ attr_accessor :summary
8937
+
8938
+ def initialize(**args)
8939
+ update!(**args)
8940
+ end
8941
+
8942
+ # Update properties of this object
8943
+ def update!(**args)
8944
+ @context_size = args[:context_size] if args.key?(:context_size)
8945
+ @latest_message = args[:latest_message] if args.key?(:latest_message)
8946
+ @summary = args[:summary] if args.key?(:summary)
8947
+ end
8948
+ end
8949
+
8950
+ # Generated summary for a conversation.
8951
+ class GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary
8952
+ include Google::Apis::Core::Hashable
8953
+
8954
+ # The summary content that is concatenated into one string.
8955
+ # Corresponds to the JSON property `text`
8956
+ # @return [String]
8957
+ attr_accessor :text
8958
+
8959
+ # The summary content that is divided into sections. The key is the section's
8960
+ # name and the value is the section's content. There is no specific format for
8961
+ # the key or value.
8962
+ # Corresponds to the JSON property `textSections`
8963
+ # @return [Hash<String,String>]
8964
+ attr_accessor :text_sections
8965
+
8966
+ def initialize(**args)
8967
+ update!(**args)
8968
+ end
8969
+
8970
+ # Update properties of this object
8971
+ def update!(**args)
8972
+ @text = args[:text] if args.key?(:text)
8973
+ @text_sections = args[:text_sections] if args.key?(:text_sections)
8974
+ end
8975
+ end
8976
+
8765
8977
  # Defines the Human Agent Assist to connect to a conversation.
8766
8978
  class GoogleCloudDialogflowV2HumanAgentAssistantConfig
8767
8979
  include Google::Apis::Core::Hashable
@@ -8804,6 +9016,13 @@ module Google
8804
9016
  class GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig
8805
9017
  include Google::Apis::Core::Hashable
8806
9018
 
9019
+ # Version of current baseline model. It will be ignored if model is set. Valid
9020
+ # versions are: Article Suggestion baseline model: - 0.9 - 1.0 (default)
9021
+ # Summarization baseline model: - 1.0
9022
+ # Corresponds to the JSON property `baselineModelVersion`
9023
+ # @return [String]
9024
+ attr_accessor :baseline_model_version
9025
+
8807
9026
  # Conversation model resource name. Format: `projects//conversationModels/`.
8808
9027
  # Corresponds to the JSON property `model`
8809
9028
  # @return [String]
@@ -8815,6 +9034,7 @@ module Google
8815
9034
 
8816
9035
  # Update properties of this object
8817
9036
  def update!(**args)
9037
+ @baseline_model_version = args[:baseline_model_version] if args.key?(:baseline_model_version)
8818
9038
  @model = args[:model] if args.key?(:model)
8819
9039
  end
8820
9040
  end
@@ -8983,7 +9203,7 @@ module Google
8983
9203
  # a very low value and slowly increasing until you have desired results. If this
8984
9204
  # field is not set, it defaults to 0.0, which means that all suggestions are
8985
9205
  # returned. Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY,
8986
- # SMART_COMPOSE.
9206
+ # SMART_COMPOSE, KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST, ENTITY_EXTRACTION.
8987
9207
  # Corresponds to the JSON property `confidenceThreshold`
8988
9208
  # @return [Float]
8989
9209
  attr_accessor :confidence_threshold
@@ -12547,11 +12767,6 @@ module Google
12547
12767
  class GoogleCloudDialogflowV2SuggestConversationSummaryRequest
12548
12768
  include Google::Apis::Core::Hashable
12549
12769
 
12550
- # Represents the parameters of human assist query.
12551
- # Corresponds to the JSON property `assistQueryParams`
12552
- # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters]
12553
- attr_accessor :assist_query_params
12554
-
12555
12770
  # Max number of messages prior to and including [latest_message] to use as
12556
12771
  # context when compiling the suggestion. By default 500 and at most 1000.
12557
12772
  # Corresponds to the JSON property `contextSize`
@@ -12571,7 +12786,6 @@ module Google
12571
12786
 
12572
12787
  # Update properties of this object
12573
12788
  def update!(**args)
12574
- @assist_query_params = args[:assist_query_params] if args.key?(:assist_query_params)
12575
12789
  @context_size = args[:context_size] if args.key?(:context_size)
12576
12790
  @latest_message = args[:latest_message] if args.key?(:latest_message)
12577
12791
  end
@@ -13567,6 +13781,38 @@ module Google
13567
13781
  end
13568
13782
  end
13569
13783
 
13784
+ # Represents a Dialogflow assist answer.
13785
+ class GoogleCloudDialogflowV2beta1DialogflowAssistAnswer
13786
+ include Google::Apis::Core::Hashable
13787
+
13788
+ # The name of answer record, in the format of "projects//locations//
13789
+ # answerRecords/"
13790
+ # Corresponds to the JSON property `answerRecord`
13791
+ # @return [String]
13792
+ attr_accessor :answer_record
13793
+
13794
+ # Represents an intent suggestion.
13795
+ # Corresponds to the JSON property `intentSuggestion`
13796
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentSuggestion]
13797
+ attr_accessor :intent_suggestion
13798
+
13799
+ # Represents the result of conversational query or event processing.
13800
+ # Corresponds to the JSON property `queryResult`
13801
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1QueryResult]
13802
+ attr_accessor :query_result
13803
+
13804
+ def initialize(**args)
13805
+ update!(**args)
13806
+ end
13807
+
13808
+ # Update properties of this object
13809
+ def update!(**args)
13810
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
13811
+ @intent_suggestion = args[:intent_suggestion] if args.key?(:intent_suggestion)
13812
+ @query_result = args[:query_result] if args.key?(:query_result)
13813
+ end
13814
+ end
13815
+
13570
13816
  # Each intent parameter has a type, called the entity type, which dictates
13571
13817
  # exactly how data from an end-user expression is extracted. Dialogflow provides
13572
13818
  # predefined system entities that can match many common types of data. For
@@ -15516,6 +15762,39 @@ module Google
15516
15762
  end
15517
15763
  end
15518
15764
 
15765
+ # Represents an intent suggestion.
15766
+ class GoogleCloudDialogflowV2beta1IntentSuggestion
15767
+ include Google::Apis::Core::Hashable
15768
+
15769
+ # Human readable description for better understanding an intent like its scope,
15770
+ # content, result etc. Maximum character limit: 140 characters.
15771
+ # Corresponds to the JSON property `description`
15772
+ # @return [String]
15773
+ attr_accessor :description
15774
+
15775
+ # The display name of the intent.
15776
+ # Corresponds to the JSON property `displayName`
15777
+ # @return [String]
15778
+ attr_accessor :display_name
15779
+
15780
+ # The unique identifier of this intent. Format: `projects//locations//agent/
15781
+ # intents/`.
15782
+ # Corresponds to the JSON property `intentV2`
15783
+ # @return [String]
15784
+ attr_accessor :intent_v2
15785
+
15786
+ def initialize(**args)
15787
+ update!(**args)
15788
+ end
15789
+
15790
+ # Update properties of this object
15791
+ def update!(**args)
15792
+ @description = args[:description] if args.key?(:description)
15793
+ @display_name = args[:display_name] if args.key?(:display_name)
15794
+ @intent_v2 = args[:intent_v2] if args.key?(:intent_v2)
15795
+ end
15796
+ end
15797
+
15519
15798
  # Represents an example that the agent is trained on.
15520
15799
  class GoogleCloudDialogflowV2beta1IntentTrainingPhrase
15521
15800
  include Google::Apis::Core::Hashable
@@ -16238,6 +16517,42 @@ module Google
16238
16517
  end
16239
16518
  end
16240
16519
 
16520
+ # The response message for Participants.SuggestDialogflowAssists.
16521
+ class GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse
16522
+ include Google::Apis::Core::Hashable
16523
+
16524
+ # Number of messages prior to and including latest_message to compile the
16525
+ # suggestion. It may be smaller than the SuggestDialogflowAssistsRequest.
16526
+ # context_size field in the request if there aren't that many messages in the
16527
+ # conversation.
16528
+ # Corresponds to the JSON property `contextSize`
16529
+ # @return [Fixnum]
16530
+ attr_accessor :context_size
16531
+
16532
+ # Output only. Multiple reply options provided by Dialogflow assist service. The
16533
+ # order is based on the rank of the model prediction.
16534
+ # Corresponds to the JSON property `dialogflowAssistAnswers`
16535
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1DialogflowAssistAnswer>]
16536
+ attr_accessor :dialogflow_assist_answers
16537
+
16538
+ # The name of the latest conversation message used to suggest answer. Format: `
16539
+ # projects//locations//conversations//messages/`.
16540
+ # Corresponds to the JSON property `latestMessage`
16541
+ # @return [String]
16542
+ attr_accessor :latest_message
16543
+
16544
+ def initialize(**args)
16545
+ update!(**args)
16546
+ end
16547
+
16548
+ # Update properties of this object
16549
+ def update!(**args)
16550
+ @context_size = args[:context_size] if args.key?(:context_size)
16551
+ @dialogflow_assist_answers = args[:dialogflow_assist_answers] if args.key?(:dialogflow_assist_answers)
16552
+ @latest_message = args[:latest_message] if args.key?(:latest_message)
16553
+ end
16554
+ end
16555
+
16241
16556
  # The request message for Participants.SuggestFaqAnswers.
16242
16557
  class GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse
16243
16558
  include Google::Apis::Core::Hashable
@@ -16329,6 +16644,11 @@ module Google
16329
16644
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestArticlesResponse]
16330
16645
  attr_accessor :suggest_articles_response
16331
16646
 
16647
+ # The response message for Participants.SuggestDialogflowAssists.
16648
+ # Corresponds to the JSON property `suggestDialogflowAssistsResponse`
16649
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse]
16650
+ attr_accessor :suggest_dialogflow_assists_response
16651
+
16332
16652
  # The request message for Participants.SuggestFaqAnswers.
16333
16653
  # Corresponds to the JSON property `suggestFaqAnswersResponse`
16334
16654
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse]
@@ -16347,6 +16667,7 @@ module Google
16347
16667
  def update!(**args)
16348
16668
  @error = args[:error] if args.key?(:error)
16349
16669
  @suggest_articles_response = args[:suggest_articles_response] if args.key?(:suggest_articles_response)
16670
+ @suggest_dialogflow_assists_response = args[:suggest_dialogflow_assists_response] if args.key?(:suggest_dialogflow_assists_response)
16350
16671
  @suggest_faq_answers_response = args[:suggest_faq_answers_response] if args.key?(:suggest_faq_answers_response)
16351
16672
  @suggest_smart_replies_response = args[:suggest_smart_replies_response] if args.key?(:suggest_smart_replies_response)
16352
16673
  end
@@ -16679,6 +17000,18 @@ module Google
16679
17000
  attr_accessor :reached_end_page
16680
17001
  alias_method :reached_end_page?, :reached_end_page
16681
17002
 
17003
+ # Sentiment magnitude of the user utterance if [sentiment](https://cloud.google.
17004
+ # com/dialogflow/cx/docs/concept/sentiment) was enabled.
17005
+ # Corresponds to the JSON property `sentimentMagnitude`
17006
+ # @return [Float]
17007
+ attr_accessor :sentiment_magnitude
17008
+
17009
+ # Sentiment score of the user utterance if [sentiment](https://cloud.google.com/
17010
+ # dialogflow/cx/docs/concept/sentiment) was enabled.
17011
+ # Corresponds to the JSON property `sentimentScore`
17012
+ # @return [Float]
17013
+ attr_accessor :sentiment_score
17014
+
16682
17015
  # Whether agent has triggered the event corresponding to user abandoning the
16683
17016
  # conversation.
16684
17017
  # Corresponds to the JSON property `triggeredAbandonmentEvent`
@@ -16709,6 +17042,8 @@ module Google
16709
17042
  @no_match = args[:no_match] if args.key?(:no_match)
16710
17043
  @no_user_input = args[:no_user_input] if args.key?(:no_user_input)
16711
17044
  @reached_end_page = args[:reached_end_page] if args.key?(:reached_end_page)
17045
+ @sentiment_magnitude = args[:sentiment_magnitude] if args.key?(:sentiment_magnitude)
17046
+ @sentiment_score = args[:sentiment_score] if args.key?(:sentiment_score)
16712
17047
  @triggered_abandonment_event = args[:triggered_abandonment_event] if args.key?(:triggered_abandonment_event)
16713
17048
  @user_escalated = args[:user_escalated] if args.key?(:user_escalated)
16714
17049
  @webhook_statuses = args[:webhook_statuses] if args.key?(:webhook_statuses)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV2
18
18
  # Version of the google-apis-dialogflow_v2 gem
19
- GEM_VERSION = "0.59.0"
19
+ GEM_VERSION = "0.60.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 = "20230501"
25
+ REVISION = "20230516"
26
26
  end
27
27
  end
28
28
  end
@@ -1450,6 +1450,30 @@ module Google
1450
1450
  include Google::Apis::Core::JsonObjectSupport
1451
1451
  end
1452
1452
 
1453
+ class GoogleCloudDialogflowV2GenerateStatelessSummaryRequest
1454
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1455
+
1456
+ include Google::Apis::Core::JsonObjectSupport
1457
+ end
1458
+
1459
+ class GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation
1460
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1461
+
1462
+ include Google::Apis::Core::JsonObjectSupport
1463
+ end
1464
+
1465
+ class GoogleCloudDialogflowV2GenerateStatelessSummaryResponse
1466
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1467
+
1468
+ include Google::Apis::Core::JsonObjectSupport
1469
+ end
1470
+
1471
+ class GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary
1472
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1473
+
1474
+ include Google::Apis::Core::JsonObjectSupport
1475
+ end
1476
+
1453
1477
  class GoogleCloudDialogflowV2HumanAgentAssistantConfig
1454
1478
  class Representation < Google::Apis::Core::JsonRepresentation; end
1455
1479
 
@@ -2254,6 +2278,12 @@ module Google
2254
2278
  include Google::Apis::Core::JsonObjectSupport
2255
2279
  end
2256
2280
 
2281
+ class GoogleCloudDialogflowV2beta1DialogflowAssistAnswer
2282
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2283
+
2284
+ include Google::Apis::Core::JsonObjectSupport
2285
+ end
2286
+
2257
2287
  class GoogleCloudDialogflowV2beta1EntityType
2258
2288
  class Representation < Google::Apis::Core::JsonRepresentation; end
2259
2289
 
@@ -2578,6 +2608,12 @@ module Google
2578
2608
  include Google::Apis::Core::JsonObjectSupport
2579
2609
  end
2580
2610
 
2611
+ class GoogleCloudDialogflowV2beta1IntentSuggestion
2612
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2613
+
2614
+ include Google::Apis::Core::JsonObjectSupport
2615
+ end
2616
+
2581
2617
  class GoogleCloudDialogflowV2beta1IntentTrainingPhrase
2582
2618
  class Representation < Google::Apis::Core::JsonRepresentation; end
2583
2619
 
@@ -2668,6 +2704,12 @@ module Google
2668
2704
  include Google::Apis::Core::JsonObjectSupport
2669
2705
  end
2670
2706
 
2707
+ class GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse
2708
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2709
+
2710
+ include Google::Apis::Core::JsonObjectSupport
2711
+ end
2712
+
2671
2713
  class GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse
2672
2714
  class Representation < Google::Apis::Core::JsonRepresentation; end
2673
2715
 
@@ -3501,6 +3543,8 @@ module Google
3501
3543
  property :no_match, as: 'noMatch'
3502
3544
  property :no_user_input, as: 'noUserInput'
3503
3545
  property :reached_end_page, as: 'reachedEndPage'
3546
+ property :sentiment_magnitude, as: 'sentimentMagnitude'
3547
+ property :sentiment_score, as: 'sentimentScore'
3504
3548
  property :user_escalated, as: 'userEscalated'
3505
3549
  collection :webhook_statuses, as: 'webhookStatuses'
3506
3550
  end
@@ -3532,10 +3576,14 @@ module Google
3532
3576
  # @private
3533
3577
  class Representation < Google::Apis::Core::JsonRepresentation
3534
3578
  collection :allowed_ca_certs, as: 'allowedCaCerts'
3579
+ property :http_method, as: 'httpMethod'
3580
+ hash :parameter_mapping, as: 'parameterMapping'
3535
3581
  property :password, as: 'password'
3582
+ property :request_body, as: 'requestBody'
3536
3583
  hash :request_headers, as: 'requestHeaders'
3537
3584
  property :uri, as: 'uri'
3538
3585
  property :username, as: 'username'
3586
+ property :webhook_type, as: 'webhookType'
3539
3587
  end
3540
3588
  end
3541
3589
 
@@ -4339,6 +4387,8 @@ module Google
4339
4387
  property :no_match, as: 'noMatch'
4340
4388
  property :no_user_input, as: 'noUserInput'
4341
4389
  property :reached_end_page, as: 'reachedEndPage'
4390
+ property :sentiment_magnitude, as: 'sentimentMagnitude'
4391
+ property :sentiment_score, as: 'sentimentScore'
4342
4392
  property :user_escalated, as: 'userEscalated'
4343
4393
  collection :webhook_statuses, as: 'webhookStatuses'
4344
4394
  end
@@ -4370,10 +4420,14 @@ module Google
4370
4420
  # @private
4371
4421
  class Representation < Google::Apis::Core::JsonRepresentation
4372
4422
  collection :allowed_ca_certs, as: 'allowedCaCerts'
4423
+ property :http_method, as: 'httpMethod'
4424
+ hash :parameter_mapping, as: 'parameterMapping'
4373
4425
  property :password, as: 'password'
4426
+ property :request_body, as: 'requestBody'
4374
4427
  hash :request_headers, as: 'requestHeaders'
4375
4428
  property :uri, as: 'uri'
4376
4429
  property :username, as: 'username'
4430
+ property :webhook_type, as: 'webhookType'
4377
4431
  end
4378
4432
  end
4379
4433
 
@@ -5174,6 +5228,44 @@ module Google
5174
5228
  end
5175
5229
  end
5176
5230
 
5231
+ class GoogleCloudDialogflowV2GenerateStatelessSummaryRequest
5232
+ # @private
5233
+ class Representation < Google::Apis::Core::JsonRepresentation
5234
+ property :conversation_profile, as: 'conversationProfile', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationProfile, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationProfile::Representation
5235
+
5236
+ property :latest_message, as: 'latestMessage'
5237
+ property :max_context_size, as: 'maxContextSize'
5238
+ property :stateless_conversation, as: 'statelessConversation', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation::Representation
5239
+
5240
+ end
5241
+ end
5242
+
5243
+ class GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation
5244
+ # @private
5245
+ class Representation < Google::Apis::Core::JsonRepresentation
5246
+ collection :messages, as: 'messages', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Message, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Message::Representation
5247
+
5248
+ end
5249
+ end
5250
+
5251
+ class GoogleCloudDialogflowV2GenerateStatelessSummaryResponse
5252
+ # @private
5253
+ class Representation < Google::Apis::Core::JsonRepresentation
5254
+ property :context_size, as: 'contextSize'
5255
+ property :latest_message, as: 'latestMessage'
5256
+ property :summary, as: 'summary', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary::Representation
5257
+
5258
+ end
5259
+ end
5260
+
5261
+ class GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary
5262
+ # @private
5263
+ class Representation < Google::Apis::Core::JsonRepresentation
5264
+ property :text, as: 'text'
5265
+ hash :text_sections, as: 'textSections'
5266
+ end
5267
+ end
5268
+
5177
5269
  class GoogleCloudDialogflowV2HumanAgentAssistantConfig
5178
5270
  # @private
5179
5271
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5191,6 +5283,7 @@ module Google
5191
5283
  class GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig
5192
5284
  # @private
5193
5285
  class Representation < Google::Apis::Core::JsonRepresentation
5286
+ property :baseline_model_version, as: 'baselineModelVersion'
5194
5287
  property :model, as: 'model'
5195
5288
  end
5196
5289
  end
@@ -6241,8 +6334,6 @@ module Google
6241
6334
  class GoogleCloudDialogflowV2SuggestConversationSummaryRequest
6242
6335
  # @private
6243
6336
  class Representation < Google::Apis::Core::JsonRepresentation
6244
- property :assist_query_params, as: 'assistQueryParams', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AssistQueryParameters::Representation
6245
-
6246
6337
  property :context_size, as: 'contextSize'
6247
6338
  property :latest_message, as: 'latestMessage'
6248
6339
  end
@@ -6511,6 +6602,17 @@ module Google
6511
6602
  end
6512
6603
  end
6513
6604
 
6605
+ class GoogleCloudDialogflowV2beta1DialogflowAssistAnswer
6606
+ # @private
6607
+ class Representation < Google::Apis::Core::JsonRepresentation
6608
+ property :answer_record, as: 'answerRecord'
6609
+ property :intent_suggestion, as: 'intentSuggestion', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentSuggestion, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentSuggestion::Representation
6610
+
6611
+ property :query_result, as: 'queryResult', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1QueryResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1QueryResult::Representation
6612
+
6613
+ end
6614
+ end
6615
+
6514
6616
  class GoogleCloudDialogflowV2beta1EntityType
6515
6617
  # @private
6516
6618
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7070,6 +7172,15 @@ module Google
7070
7172
  end
7071
7173
  end
7072
7174
 
7175
+ class GoogleCloudDialogflowV2beta1IntentSuggestion
7176
+ # @private
7177
+ class Representation < Google::Apis::Core::JsonRepresentation
7178
+ property :description, as: 'description'
7179
+ property :display_name, as: 'displayName'
7180
+ property :intent_v2, as: 'intentV2'
7181
+ end
7182
+ end
7183
+
7073
7184
  class GoogleCloudDialogflowV2beta1IntentTrainingPhrase
7074
7185
  # @private
7075
7186
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7238,6 +7349,16 @@ module Google
7238
7349
  end
7239
7350
  end
7240
7351
 
7352
+ class GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse
7353
+ # @private
7354
+ class Representation < Google::Apis::Core::JsonRepresentation
7355
+ property :context_size, as: 'contextSize'
7356
+ collection :dialogflow_assist_answers, as: 'dialogflowAssistAnswers', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1DialogflowAssistAnswer, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1DialogflowAssistAnswer::Representation
7357
+
7358
+ property :latest_message, as: 'latestMessage'
7359
+ end
7360
+ end
7361
+
7241
7362
  class GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse
7242
7363
  # @private
7243
7364
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7265,6 +7386,8 @@ module Google
7265
7386
 
7266
7387
  property :suggest_articles_response, as: 'suggestArticlesResponse', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestArticlesResponse, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestArticlesResponse::Representation
7267
7388
 
7389
+ property :suggest_dialogflow_assists_response, as: 'suggestDialogflowAssistsResponse', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse::Representation
7390
+
7268
7391
  property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse::Representation
7269
7392
 
7270
7393
  property :suggest_smart_replies_response, as: 'suggestSmartRepliesResponse', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse::Representation
@@ -7369,6 +7492,8 @@ module Google
7369
7492
  property :no_match, as: 'noMatch'
7370
7493
  property :no_user_input, as: 'noUserInput'
7371
7494
  property :reached_end_page, as: 'reachedEndPage'
7495
+ property :sentiment_magnitude, as: 'sentimentMagnitude'
7496
+ property :sentiment_score, as: 'sentimentScore'
7372
7497
  property :triggered_abandonment_event, as: 'triggeredAbandonmentEvent'
7373
7498
  property :user_escalated, as: 'userEscalated'
7374
7499
  collection :webhook_statuses, as: 'webhookStatuses'
@@ -9362,6 +9362,41 @@ module Google
9362
9362
  execute_or_queue_command(command, &block)
9363
9363
  end
9364
9364
 
9365
+ # Generates and returns a summary for a conversation that does not have a
9366
+ # resource created for it.
9367
+ # @param [String] parent
9368
+ # Required. The parent resource to charge for the Summary's generation. Format: `
9369
+ # projects//locations/`.
9370
+ # @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSummaryRequest] google_cloud_dialogflow_v2_generate_stateless_summary_request_object
9371
+ # @param [String] fields
9372
+ # Selector specifying which fields to include in a partial response.
9373
+ # @param [String] quota_user
9374
+ # Available to use for quota purposes for server-side applications. Can be any
9375
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9376
+ # @param [Google::Apis::RequestOptions] options
9377
+ # Request-specific options
9378
+ #
9379
+ # @yield [result, err] Result & error if block supplied
9380
+ # @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSummaryResponse] parsed result object
9381
+ # @yieldparam err [StandardError] error object if request failed
9382
+ #
9383
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSummaryResponse]
9384
+ #
9385
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9386
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9387
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9388
+ def generate_project_location_suggestion_stateless_summary(parent, google_cloud_dialogflow_v2_generate_stateless_summary_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
9389
+ command = make_simple_command(:post, 'v2/{+parent}/suggestions:generateStatelessSummary', options)
9390
+ command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSummaryRequest::Representation
9391
+ command.request_object = google_cloud_dialogflow_v2_generate_stateless_summary_request_object
9392
+ command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSummaryResponse::Representation
9393
+ command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSummaryResponse
9394
+ command.params['parent'] = parent unless parent.nil?
9395
+ command.query['fields'] = fields unless fields.nil?
9396
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9397
+ execute_or_queue_command(command, &block)
9398
+ end
9399
+
9365
9400
  # Starts asynchronous cancellation on a long-running operation. The server makes
9366
9401
  # a best effort to cancel the operation, but success is not guaranteed. If the
9367
9402
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -9469,6 +9504,41 @@ module Google
9469
9504
  command.query['quotaUser'] = quota_user unless quota_user.nil?
9470
9505
  execute_or_queue_command(command, &block)
9471
9506
  end
9507
+
9508
+ # Generates and returns a summary for a conversation that does not have a
9509
+ # resource created for it.
9510
+ # @param [String] parent
9511
+ # Required. The parent resource to charge for the Summary's generation. Format: `
9512
+ # projects//locations/`.
9513
+ # @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSummaryRequest] google_cloud_dialogflow_v2_generate_stateless_summary_request_object
9514
+ # @param [String] fields
9515
+ # Selector specifying which fields to include in a partial response.
9516
+ # @param [String] quota_user
9517
+ # Available to use for quota purposes for server-side applications. Can be any
9518
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9519
+ # @param [Google::Apis::RequestOptions] options
9520
+ # Request-specific options
9521
+ #
9522
+ # @yield [result, err] Result & error if block supplied
9523
+ # @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSummaryResponse] parsed result object
9524
+ # @yieldparam err [StandardError] error object if request failed
9525
+ #
9526
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSummaryResponse]
9527
+ #
9528
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9529
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9530
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9531
+ def generate_project_suggestion_stateless_summary(parent, google_cloud_dialogflow_v2_generate_stateless_summary_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
9532
+ command = make_simple_command(:post, 'v2/{+parent}/suggestions:generateStatelessSummary', options)
9533
+ command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSummaryRequest::Representation
9534
+ command.request_object = google_cloud_dialogflow_v2_generate_stateless_summary_request_object
9535
+ command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSummaryResponse::Representation
9536
+ command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSummaryResponse
9537
+ command.params['parent'] = parent unless parent.nil?
9538
+ command.query['fields'] = fields unless fields.nil?
9539
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9540
+ execute_or_queue_command(command, &block)
9541
+ end
9472
9542
 
9473
9543
  protected
9474
9544
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.59.0
4
+ version: 0.60.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-14 00:00:00.000000000 Z
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_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.59.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.60.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2
63
63
  post_install_message:
64
64
  rdoc_options: []