google-apis-dialogflow_v2 0.59.0 → 0.61.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: 88eb92a4b6c3f3bb99f67f6ee839be36176e9e6b1d511b500605ae793bb26e06
4
+ data.tar.gz: 83d4294640027bf64e9333f9d48c01f8b3a5b07631dcf0f1f939eb5a32268374
5
5
  SHA512:
6
- metadata.gz: 5ce608486b5f6fb6a1be14cece7906f99c696f09e5c36ef52f9f2a5c926b3640a23f2519342fff04ccf89dead7dc38b631c5c92d7154a948fd2075aed6e9ca3a
7
- data.tar.gz: de022a53d6a488fce5076c5ab2854b7003b2c5f925f8947eff4cc90c7e86da1de77ac98aab9b7ca084d5ad9203b92428c4a51c20880d84ac7c2069f4f387d2d8
6
+ metadata.gz: ee1d3252d42e088103df87c351119292f5ef02e22f81e03b993027204cb045c5f6e9bbc92e1ea9f08582f3f369284cefda206260a2f79d2e8af9cede42a5038c
7
+ data.tar.gz: ae09fdaa7a15bf55d8333fb9883306209ccbccd1e893e0fedb6cacf8a7a207495ad616448c0ca468424b0ca022e56e6091dacb2f6c70b20cc76e28faa13dedd3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dialogflow_v2
2
2
 
3
+ ### v0.61.0 (2023-05-28)
4
+
5
+ * Regenerated from discovery document revision 20230522
6
+
7
+ ### v0.60.0 (2023-05-21)
8
+
9
+ * Regenerated from discovery document revision 20230516
10
+
3
11
  ### v0.59.0 (2023-05-07)
4
12
 
5
13
  * Regenerated from discovery document revision 20230501
@@ -2421,7 +2421,8 @@ module Google
2421
2421
  class GoogleCloudDialogflowCxV3TestRunDifference
2422
2422
  include Google::Apis::Core::Hashable
2423
2423
 
2424
- # A description of the diff, showing the actual output vs expected output.
2424
+ # A human readable description of the diff, showing the actual output vs
2425
+ # expected output.
2425
2426
  # Corresponds to the JSON property `description`
2426
2427
  # @return [String]
2427
2428
  attr_accessor :description
@@ -2573,6 +2574,18 @@ module Google
2573
2574
  attr_accessor :reached_end_page
2574
2575
  alias_method :reached_end_page?, :reached_end_page
2575
2576
 
2577
+ # Sentiment magnitude of the user utterance if [sentiment](https://cloud.google.
2578
+ # com/dialogflow/cx/docs/concept/sentiment) was enabled.
2579
+ # Corresponds to the JSON property `sentimentMagnitude`
2580
+ # @return [Float]
2581
+ attr_accessor :sentiment_magnitude
2582
+
2583
+ # Sentiment score of the user utterance if [sentiment](https://cloud.google.com/
2584
+ # dialogflow/cx/docs/concept/sentiment) was enabled.
2585
+ # Corresponds to the JSON property `sentimentScore`
2586
+ # @return [Float]
2587
+ attr_accessor :sentiment_score
2588
+
2576
2589
  # Whether user was specifically asking for a live agent.
2577
2590
  # Corresponds to the JSON property `userEscalated`
2578
2591
  # @return [Boolean]
@@ -2596,6 +2609,8 @@ module Google
2596
2609
  @no_match = args[:no_match] if args.key?(:no_match)
2597
2610
  @no_user_input = args[:no_user_input] if args.key?(:no_user_input)
2598
2611
  @reached_end_page = args[:reached_end_page] if args.key?(:reached_end_page)
2612
+ @sentiment_magnitude = args[:sentiment_magnitude] if args.key?(:sentiment_magnitude)
2613
+ @sentiment_score = args[:sentiment_score] if args.key?(:sentiment_score)
2599
2614
  @user_escalated = args[:user_escalated] if args.key?(:user_escalated)
2600
2615
  @webhook_statuses = args[:webhook_statuses] if args.key?(:webhook_statuses)
2601
2616
  end
@@ -2694,11 +2709,30 @@ module Google
2694
2709
  # @return [Array<String>]
2695
2710
  attr_accessor :allowed_ca_certs
2696
2711
 
2712
+ # Optional. HTTP method for the flexible webhook calls. Standard webhook always
2713
+ # uses POST.
2714
+ # Corresponds to the JSON property `httpMethod`
2715
+ # @return [String]
2716
+ attr_accessor :http_method
2717
+
2718
+ # Optional. Maps the values extracted from specific fields of the flexible
2719
+ # webhook response into session parameters. - Key: session parameter name -
2720
+ # Value: field path in the webhook response
2721
+ # Corresponds to the JSON property `parameterMapping`
2722
+ # @return [Hash<String,String>]
2723
+ attr_accessor :parameter_mapping
2724
+
2697
2725
  # The password for HTTP Basic authentication.
2698
2726
  # Corresponds to the JSON property `password`
2699
2727
  # @return [String]
2700
2728
  attr_accessor :password
2701
2729
 
2730
+ # Optional. Defines a custom JSON object as request body to send to flexible
2731
+ # webhook.
2732
+ # Corresponds to the JSON property `requestBody`
2733
+ # @return [String]
2734
+ attr_accessor :request_body
2735
+
2702
2736
  # The HTTP request headers to send together with webhook requests.
2703
2737
  # Corresponds to the JSON property `requestHeaders`
2704
2738
  # @return [Hash<String,String>]
@@ -2715,6 +2749,11 @@ module Google
2715
2749
  # @return [String]
2716
2750
  attr_accessor :username
2717
2751
 
2752
+ # Optional. Type of the webhook.
2753
+ # Corresponds to the JSON property `webhookType`
2754
+ # @return [String]
2755
+ attr_accessor :webhook_type
2756
+
2718
2757
  def initialize(**args)
2719
2758
  update!(**args)
2720
2759
  end
@@ -2722,10 +2761,14 @@ module Google
2722
2761
  # Update properties of this object
2723
2762
  def update!(**args)
2724
2763
  @allowed_ca_certs = args[:allowed_ca_certs] if args.key?(:allowed_ca_certs)
2764
+ @http_method = args[:http_method] if args.key?(:http_method)
2765
+ @parameter_mapping = args[:parameter_mapping] if args.key?(:parameter_mapping)
2725
2766
  @password = args[:password] if args.key?(:password)
2767
+ @request_body = args[:request_body] if args.key?(:request_body)
2726
2768
  @request_headers = args[:request_headers] if args.key?(:request_headers)
2727
2769
  @uri = args[:uri] if args.key?(:uri)
2728
2770
  @username = args[:username] if args.key?(:username)
2771
+ @webhook_type = args[:webhook_type] if args.key?(:webhook_type)
2729
2772
  end
2730
2773
  end
2731
2774
 
@@ -5455,7 +5498,8 @@ module Google
5455
5498
  class GoogleCloudDialogflowCxV3beta1TestRunDifference
5456
5499
  include Google::Apis::Core::Hashable
5457
5500
 
5458
- # A description of the diff, showing the actual output vs expected output.
5501
+ # A human readable description of the diff, showing the actual output vs
5502
+ # expected output.
5459
5503
  # Corresponds to the JSON property `description`
5460
5504
  # @return [String]
5461
5505
  attr_accessor :description
@@ -5607,6 +5651,18 @@ module Google
5607
5651
  attr_accessor :reached_end_page
5608
5652
  alias_method :reached_end_page?, :reached_end_page
5609
5653
 
5654
+ # Sentiment magnitude of the user utterance if [sentiment](https://cloud.google.
5655
+ # com/dialogflow/cx/docs/concept/sentiment) was enabled.
5656
+ # Corresponds to the JSON property `sentimentMagnitude`
5657
+ # @return [Float]
5658
+ attr_accessor :sentiment_magnitude
5659
+
5660
+ # Sentiment score of the user utterance if [sentiment](https://cloud.google.com/
5661
+ # dialogflow/cx/docs/concept/sentiment) was enabled.
5662
+ # Corresponds to the JSON property `sentimentScore`
5663
+ # @return [Float]
5664
+ attr_accessor :sentiment_score
5665
+
5610
5666
  # Whether user was specifically asking for a live agent.
5611
5667
  # Corresponds to the JSON property `userEscalated`
5612
5668
  # @return [Boolean]
@@ -5630,6 +5686,8 @@ module Google
5630
5686
  @no_match = args[:no_match] if args.key?(:no_match)
5631
5687
  @no_user_input = args[:no_user_input] if args.key?(:no_user_input)
5632
5688
  @reached_end_page = args[:reached_end_page] if args.key?(:reached_end_page)
5689
+ @sentiment_magnitude = args[:sentiment_magnitude] if args.key?(:sentiment_magnitude)
5690
+ @sentiment_score = args[:sentiment_score] if args.key?(:sentiment_score)
5633
5691
  @user_escalated = args[:user_escalated] if args.key?(:user_escalated)
5634
5692
  @webhook_statuses = args[:webhook_statuses] if args.key?(:webhook_statuses)
5635
5693
  end
@@ -5728,11 +5786,30 @@ module Google
5728
5786
  # @return [Array<String>]
5729
5787
  attr_accessor :allowed_ca_certs
5730
5788
 
5789
+ # Optional. HTTP method for the flexible webhook calls. Standard webhook always
5790
+ # uses POST.
5791
+ # Corresponds to the JSON property `httpMethod`
5792
+ # @return [String]
5793
+ attr_accessor :http_method
5794
+
5795
+ # Optional. Maps the values extracted from specific fields of the flexible
5796
+ # webhook response into session parameters. - Key: session parameter name -
5797
+ # Value: field path in the webhook response
5798
+ # Corresponds to the JSON property `parameterMapping`
5799
+ # @return [Hash<String,String>]
5800
+ attr_accessor :parameter_mapping
5801
+
5731
5802
  # The password for HTTP Basic authentication.
5732
5803
  # Corresponds to the JSON property `password`
5733
5804
  # @return [String]
5734
5805
  attr_accessor :password
5735
5806
 
5807
+ # Optional. Defines a custom JSON object as request body to send to flexible
5808
+ # webhook.
5809
+ # Corresponds to the JSON property `requestBody`
5810
+ # @return [String]
5811
+ attr_accessor :request_body
5812
+
5736
5813
  # The HTTP request headers to send together with webhook requests.
5737
5814
  # Corresponds to the JSON property `requestHeaders`
5738
5815
  # @return [Hash<String,String>]
@@ -5749,6 +5826,11 @@ module Google
5749
5826
  # @return [String]
5750
5827
  attr_accessor :username
5751
5828
 
5829
+ # Optional. Type of the webhook.
5830
+ # Corresponds to the JSON property `webhookType`
5831
+ # @return [String]
5832
+ attr_accessor :webhook_type
5833
+
5752
5834
  def initialize(**args)
5753
5835
  update!(**args)
5754
5836
  end
@@ -5756,10 +5838,14 @@ module Google
5756
5838
  # Update properties of this object
5757
5839
  def update!(**args)
5758
5840
  @allowed_ca_certs = args[:allowed_ca_certs] if args.key?(:allowed_ca_certs)
5841
+ @http_method = args[:http_method] if args.key?(:http_method)
5842
+ @parameter_mapping = args[:parameter_mapping] if args.key?(:parameter_mapping)
5759
5843
  @password = args[:password] if args.key?(:password)
5844
+ @request_body = args[:request_body] if args.key?(:request_body)
5760
5845
  @request_headers = args[:request_headers] if args.key?(:request_headers)
5761
5846
  @uri = args[:uri] if args.key?(:uri)
5762
5847
  @username = args[:username] if args.key?(:username)
5848
+ @webhook_type = args[:webhook_type] if args.key?(:webhook_type)
5763
5849
  end
5764
5850
  end
5765
5851
 
@@ -6488,8 +6574,8 @@ module Google
6488
6574
  attr_accessor :click_time
6489
6575
 
6490
6576
  # 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.
6577
+ # Default to false. For knowledge search and knowledge assist, the answer record
6578
+ # is considered to be clicked if the answer was copied or any URI was clicked.
6493
6579
  # Corresponds to the JSON property `clicked`
6494
6580
  # @return [Boolean]
6495
6581
  attr_accessor :clicked
@@ -8762,6 +8848,134 @@ module Google
8762
8848
  end
8763
8849
  end
8764
8850
 
8851
+ # The request message for Conversations.GenerateStatelessSummary.
8852
+ class GoogleCloudDialogflowV2GenerateStatelessSummaryRequest
8853
+ include Google::Apis::Core::Hashable
8854
+
8855
+ # Defines the services to connect to incoming Dialogflow conversations.
8856
+ # Corresponds to the JSON property `conversationProfile`
8857
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConversationProfile]
8858
+ attr_accessor :conversation_profile
8859
+
8860
+ # The name of the latest conversation message used as context for generating a
8861
+ # Summary. If empty, the latest message of the conversation will be used. The
8862
+ # format is specific to the user and the names of the messages provided.
8863
+ # Corresponds to the JSON property `latestMessage`
8864
+ # @return [String]
8865
+ attr_accessor :latest_message
8866
+
8867
+ # Max number of messages prior to and including [latest_message] to use as
8868
+ # context when compiling the suggestion. By default 500 and at most 1000.
8869
+ # Corresponds to the JSON property `maxContextSize`
8870
+ # @return [Fixnum]
8871
+ attr_accessor :max_context_size
8872
+
8873
+ # The minimum amount of information required to generate a Summary without
8874
+ # having a Conversation resource created.
8875
+ # Corresponds to the JSON property `statelessConversation`
8876
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation]
8877
+ attr_accessor :stateless_conversation
8878
+
8879
+ def initialize(**args)
8880
+ update!(**args)
8881
+ end
8882
+
8883
+ # Update properties of this object
8884
+ def update!(**args)
8885
+ @conversation_profile = args[:conversation_profile] if args.key?(:conversation_profile)
8886
+ @latest_message = args[:latest_message] if args.key?(:latest_message)
8887
+ @max_context_size = args[:max_context_size] if args.key?(:max_context_size)
8888
+ @stateless_conversation = args[:stateless_conversation] if args.key?(:stateless_conversation)
8889
+ end
8890
+ end
8891
+
8892
+ # The minimum amount of information required to generate a Summary without
8893
+ # having a Conversation resource created.
8894
+ class GoogleCloudDialogflowV2GenerateStatelessSummaryRequestMinimalConversation
8895
+ include Google::Apis::Core::Hashable
8896
+
8897
+ # Required. The messages that the Summary will be generated from. It is expected
8898
+ # that this message content is already redacted and does not contain any PII.
8899
+ # Required fields: `content, language_code, participant, participant_role`
8900
+ # Optional fields: `send_time` If send_time is not provided, then the messages
8901
+ # must be provided in chronological order.
8902
+ # Corresponds to the JSON property `messages`
8903
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Message>]
8904
+ attr_accessor :messages
8905
+
8906
+ def initialize(**args)
8907
+ update!(**args)
8908
+ end
8909
+
8910
+ # Update properties of this object
8911
+ def update!(**args)
8912
+ @messages = args[:messages] if args.key?(:messages)
8913
+ end
8914
+ end
8915
+
8916
+ # The response message for Conversations.GenerateStatelessSummary.
8917
+ class GoogleCloudDialogflowV2GenerateStatelessSummaryResponse
8918
+ include Google::Apis::Core::Hashable
8919
+
8920
+ # Number of messages prior to and including last_conversation_message used to
8921
+ # compile the suggestion. It may be smaller than the
8922
+ # GenerateStatelessSummaryRequest.context_size field in the request if there
8923
+ # weren't that many messages in the conversation.
8924
+ # Corresponds to the JSON property `contextSize`
8925
+ # @return [Fixnum]
8926
+ attr_accessor :context_size
8927
+
8928
+ # The name of the latest conversation message used as context for compiling
8929
+ # suggestion. The format is specific to the user and the names of the messages
8930
+ # provided.
8931
+ # Corresponds to the JSON property `latestMessage`
8932
+ # @return [String]
8933
+ attr_accessor :latest_message
8934
+
8935
+ # Generated summary for a conversation.
8936
+ # Corresponds to the JSON property `summary`
8937
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary]
8938
+ attr_accessor :summary
8939
+
8940
+ def initialize(**args)
8941
+ update!(**args)
8942
+ end
8943
+
8944
+ # Update properties of this object
8945
+ def update!(**args)
8946
+ @context_size = args[:context_size] if args.key?(:context_size)
8947
+ @latest_message = args[:latest_message] if args.key?(:latest_message)
8948
+ @summary = args[:summary] if args.key?(:summary)
8949
+ end
8950
+ end
8951
+
8952
+ # Generated summary for a conversation.
8953
+ class GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary
8954
+ include Google::Apis::Core::Hashable
8955
+
8956
+ # The summary content that is concatenated into one string.
8957
+ # Corresponds to the JSON property `text`
8958
+ # @return [String]
8959
+ attr_accessor :text
8960
+
8961
+ # The summary content that is divided into sections. The key is the section's
8962
+ # name and the value is the section's content. There is no specific format for
8963
+ # the key or value.
8964
+ # Corresponds to the JSON property `textSections`
8965
+ # @return [Hash<String,String>]
8966
+ attr_accessor :text_sections
8967
+
8968
+ def initialize(**args)
8969
+ update!(**args)
8970
+ end
8971
+
8972
+ # Update properties of this object
8973
+ def update!(**args)
8974
+ @text = args[:text] if args.key?(:text)
8975
+ @text_sections = args[:text_sections] if args.key?(:text_sections)
8976
+ end
8977
+ end
8978
+
8765
8979
  # Defines the Human Agent Assist to connect to a conversation.
8766
8980
  class GoogleCloudDialogflowV2HumanAgentAssistantConfig
8767
8981
  include Google::Apis::Core::Hashable
@@ -8804,6 +9018,13 @@ module Google
8804
9018
  class GoogleCloudDialogflowV2HumanAgentAssistantConfigConversationModelConfig
8805
9019
  include Google::Apis::Core::Hashable
8806
9020
 
9021
+ # Version of current baseline model. It will be ignored if model is set. Valid
9022
+ # versions are: Article Suggestion baseline model: - 0.9 - 1.0 (default)
9023
+ # Summarization baseline model: - 1.0
9024
+ # Corresponds to the JSON property `baselineModelVersion`
9025
+ # @return [String]
9026
+ attr_accessor :baseline_model_version
9027
+
8807
9028
  # Conversation model resource name. Format: `projects//conversationModels/`.
8808
9029
  # Corresponds to the JSON property `model`
8809
9030
  # @return [String]
@@ -8815,6 +9036,7 @@ module Google
8815
9036
 
8816
9037
  # Update properties of this object
8817
9038
  def update!(**args)
9039
+ @baseline_model_version = args[:baseline_model_version] if args.key?(:baseline_model_version)
8818
9040
  @model = args[:model] if args.key?(:model)
8819
9041
  end
8820
9042
  end
@@ -8983,7 +9205,7 @@ module Google
8983
9205
  # a very low value and slowly increasing until you have desired results. If this
8984
9206
  # field is not set, it defaults to 0.0, which means that all suggestions are
8985
9207
  # returned. Supported features: ARTICLE_SUGGESTION, FAQ, SMART_REPLY,
8986
- # SMART_COMPOSE.
9208
+ # SMART_COMPOSE, KNOWLEDGE_SEARCH, KNOWLEDGE_ASSIST, ENTITY_EXTRACTION.
8987
9209
  # Corresponds to the JSON property `confidenceThreshold`
8988
9210
  # @return [Float]
8989
9211
  attr_accessor :confidence_threshold
@@ -12547,11 +12769,6 @@ module Google
12547
12769
  class GoogleCloudDialogflowV2SuggestConversationSummaryRequest
12548
12770
  include Google::Apis::Core::Hashable
12549
12771
 
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
12772
  # Max number of messages prior to and including [latest_message] to use as
12556
12773
  # context when compiling the suggestion. By default 500 and at most 1000.
12557
12774
  # Corresponds to the JSON property `contextSize`
@@ -12571,7 +12788,6 @@ module Google
12571
12788
 
12572
12789
  # Update properties of this object
12573
12790
  def update!(**args)
12574
- @assist_query_params = args[:assist_query_params] if args.key?(:assist_query_params)
12575
12791
  @context_size = args[:context_size] if args.key?(:context_size)
12576
12792
  @latest_message = args[:latest_message] if args.key?(:latest_message)
12577
12793
  end
@@ -13567,6 +13783,38 @@ module Google
13567
13783
  end
13568
13784
  end
13569
13785
 
13786
+ # Represents a Dialogflow assist answer.
13787
+ class GoogleCloudDialogflowV2beta1DialogflowAssistAnswer
13788
+ include Google::Apis::Core::Hashable
13789
+
13790
+ # The name of answer record, in the format of "projects//locations//
13791
+ # answerRecords/"
13792
+ # Corresponds to the JSON property `answerRecord`
13793
+ # @return [String]
13794
+ attr_accessor :answer_record
13795
+
13796
+ # Represents an intent suggestion.
13797
+ # Corresponds to the JSON property `intentSuggestion`
13798
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentSuggestion]
13799
+ attr_accessor :intent_suggestion
13800
+
13801
+ # Represents the result of conversational query or event processing.
13802
+ # Corresponds to the JSON property `queryResult`
13803
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1QueryResult]
13804
+ attr_accessor :query_result
13805
+
13806
+ def initialize(**args)
13807
+ update!(**args)
13808
+ end
13809
+
13810
+ # Update properties of this object
13811
+ def update!(**args)
13812
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
13813
+ @intent_suggestion = args[:intent_suggestion] if args.key?(:intent_suggestion)
13814
+ @query_result = args[:query_result] if args.key?(:query_result)
13815
+ end
13816
+ end
13817
+
13570
13818
  # Each intent parameter has a type, called the entity type, which dictates
13571
13819
  # exactly how data from an end-user expression is extracted. Dialogflow provides
13572
13820
  # predefined system entities that can match many common types of data. For
@@ -15516,6 +15764,39 @@ module Google
15516
15764
  end
15517
15765
  end
15518
15766
 
15767
+ # Represents an intent suggestion.
15768
+ class GoogleCloudDialogflowV2beta1IntentSuggestion
15769
+ include Google::Apis::Core::Hashable
15770
+
15771
+ # Human readable description for better understanding an intent like its scope,
15772
+ # content, result etc. Maximum character limit: 140 characters.
15773
+ # Corresponds to the JSON property `description`
15774
+ # @return [String]
15775
+ attr_accessor :description
15776
+
15777
+ # The display name of the intent.
15778
+ # Corresponds to the JSON property `displayName`
15779
+ # @return [String]
15780
+ attr_accessor :display_name
15781
+
15782
+ # The unique identifier of this intent. Format: `projects//locations//agent/
15783
+ # intents/`.
15784
+ # Corresponds to the JSON property `intentV2`
15785
+ # @return [String]
15786
+ attr_accessor :intent_v2
15787
+
15788
+ def initialize(**args)
15789
+ update!(**args)
15790
+ end
15791
+
15792
+ # Update properties of this object
15793
+ def update!(**args)
15794
+ @description = args[:description] if args.key?(:description)
15795
+ @display_name = args[:display_name] if args.key?(:display_name)
15796
+ @intent_v2 = args[:intent_v2] if args.key?(:intent_v2)
15797
+ end
15798
+ end
15799
+
15519
15800
  # Represents an example that the agent is trained on.
15520
15801
  class GoogleCloudDialogflowV2beta1IntentTrainingPhrase
15521
15802
  include Google::Apis::Core::Hashable
@@ -16238,6 +16519,42 @@ module Google
16238
16519
  end
16239
16520
  end
16240
16521
 
16522
+ # The response message for Participants.SuggestDialogflowAssists.
16523
+ class GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse
16524
+ include Google::Apis::Core::Hashable
16525
+
16526
+ # Number of messages prior to and including latest_message to compile the
16527
+ # suggestion. It may be smaller than the SuggestDialogflowAssistsRequest.
16528
+ # context_size field in the request if there aren't that many messages in the
16529
+ # conversation.
16530
+ # Corresponds to the JSON property `contextSize`
16531
+ # @return [Fixnum]
16532
+ attr_accessor :context_size
16533
+
16534
+ # Output only. Multiple reply options provided by Dialogflow assist service. The
16535
+ # order is based on the rank of the model prediction.
16536
+ # Corresponds to the JSON property `dialogflowAssistAnswers`
16537
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1DialogflowAssistAnswer>]
16538
+ attr_accessor :dialogflow_assist_answers
16539
+
16540
+ # The name of the latest conversation message used to suggest answer. Format: `
16541
+ # projects//locations//conversations//messages/`.
16542
+ # Corresponds to the JSON property `latestMessage`
16543
+ # @return [String]
16544
+ attr_accessor :latest_message
16545
+
16546
+ def initialize(**args)
16547
+ update!(**args)
16548
+ end
16549
+
16550
+ # Update properties of this object
16551
+ def update!(**args)
16552
+ @context_size = args[:context_size] if args.key?(:context_size)
16553
+ @dialogflow_assist_answers = args[:dialogflow_assist_answers] if args.key?(:dialogflow_assist_answers)
16554
+ @latest_message = args[:latest_message] if args.key?(:latest_message)
16555
+ end
16556
+ end
16557
+
16241
16558
  # The request message for Participants.SuggestFaqAnswers.
16242
16559
  class GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse
16243
16560
  include Google::Apis::Core::Hashable
@@ -16329,6 +16646,11 @@ module Google
16329
16646
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestArticlesResponse]
16330
16647
  attr_accessor :suggest_articles_response
16331
16648
 
16649
+ # The response message for Participants.SuggestDialogflowAssists.
16650
+ # Corresponds to the JSON property `suggestDialogflowAssistsResponse`
16651
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestDialogflowAssistsResponse]
16652
+ attr_accessor :suggest_dialogflow_assists_response
16653
+
16332
16654
  # The request message for Participants.SuggestFaqAnswers.
16333
16655
  # Corresponds to the JSON property `suggestFaqAnswersResponse`
16334
16656
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse]
@@ -16347,6 +16669,7 @@ module Google
16347
16669
  def update!(**args)
16348
16670
  @error = args[:error] if args.key?(:error)
16349
16671
  @suggest_articles_response = args[:suggest_articles_response] if args.key?(:suggest_articles_response)
16672
+ @suggest_dialogflow_assists_response = args[:suggest_dialogflow_assists_response] if args.key?(:suggest_dialogflow_assists_response)
16350
16673
  @suggest_faq_answers_response = args[:suggest_faq_answers_response] if args.key?(:suggest_faq_answers_response)
16351
16674
  @suggest_smart_replies_response = args[:suggest_smart_replies_response] if args.key?(:suggest_smart_replies_response)
16352
16675
  end
@@ -16679,6 +17002,18 @@ module Google
16679
17002
  attr_accessor :reached_end_page
16680
17003
  alias_method :reached_end_page?, :reached_end_page
16681
17004
 
17005
+ # Sentiment magnitude of the user utterance if [sentiment](https://cloud.google.
17006
+ # com/dialogflow/cx/docs/concept/sentiment) was enabled.
17007
+ # Corresponds to the JSON property `sentimentMagnitude`
17008
+ # @return [Float]
17009
+ attr_accessor :sentiment_magnitude
17010
+
17011
+ # Sentiment score of the user utterance if [sentiment](https://cloud.google.com/
17012
+ # dialogflow/cx/docs/concept/sentiment) was enabled.
17013
+ # Corresponds to the JSON property `sentimentScore`
17014
+ # @return [Float]
17015
+ attr_accessor :sentiment_score
17016
+
16682
17017
  # Whether agent has triggered the event corresponding to user abandoning the
16683
17018
  # conversation.
16684
17019
  # Corresponds to the JSON property `triggeredAbandonmentEvent`
@@ -16709,6 +17044,8 @@ module Google
16709
17044
  @no_match = args[:no_match] if args.key?(:no_match)
16710
17045
  @no_user_input = args[:no_user_input] if args.key?(:no_user_input)
16711
17046
  @reached_end_page = args[:reached_end_page] if args.key?(:reached_end_page)
17047
+ @sentiment_magnitude = args[:sentiment_magnitude] if args.key?(:sentiment_magnitude)
17048
+ @sentiment_score = args[:sentiment_score] if args.key?(:sentiment_score)
16712
17049
  @triggered_abandonment_event = args[:triggered_abandonment_event] if args.key?(:triggered_abandonment_event)
16713
17050
  @user_escalated = args[:user_escalated] if args.key?(:user_escalated)
16714
17051
  @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.61.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 = "20230522"
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.61.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-28 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.61.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: []