google-cloud-dialogflow-cx-v3 0.22.0 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/dialogflow/cx/v3/agent_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/cx/v3/audio_config_pb.rb +2 -1
- data/lib/google/cloud/dialogflow/cx/v3/entity_type_pb.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3/entity_type_services_pb.rb +2 -2
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/client.rb +119 -119
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/client.rb +112 -112
- data/lib/google/cloud/dialogflow/cx/v3/entity_types/rest/service_stub.rb +50 -50
- data/lib/google/cloud/dialogflow/cx/v3/generator_pb.rb +60 -0
- data/lib/google/cloud/dialogflow/cx/v3/generator_services_pb.rb +55 -0
- data/lib/google/cloud/dialogflow/cx/v3/generators/client.rb +827 -0
- data/lib/google/cloud/dialogflow/cx/v3/generators/credentials.rb +54 -0
- data/lib/google/cloud/dialogflow/cx/v3/generators/paths.rb +75 -0
- data/lib/google/cloud/dialogflow/cx/v3/generators/rest/client.rb +771 -0
- data/lib/google/cloud/dialogflow/cx/v3/generators/rest/service_stub.rb +347 -0
- data/lib/google/cloud/dialogflow/cx/v3/generators/rest.rb +55 -0
- data/lib/google/cloud/dialogflow/cx/v3/generators.rb +57 -0
- data/lib/google/cloud/dialogflow/cx/v3/rest.rb +1 -0
- data/lib/google/cloud/dialogflow/cx/v3/session_pb.rb +12 -1
- data/lib/google/cloud/dialogflow/cx/v3/session_services_pb.rb +3 -0
- data/lib/google/cloud/dialogflow/cx/v3/sessions/client.rb +101 -0
- data/lib/google/cloud/dialogflow/cx/v3/sessions/paths.rb +45 -0
- data/lib/google/cloud/dialogflow/cx/v3/sessions/rest/client.rb +94 -0
- data/lib/google/cloud/dialogflow/cx/v3/sessions/rest/service_stub.rb +60 -0
- data/lib/google/cloud/dialogflow/cx/v3/version.rb +1 -1
- data/lib/google/cloud/dialogflow/cx/v3.rb +1 -0
- data/proto_docs/google/api/client.rb +13 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/agent.rb +15 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/audio_config.rb +47 -3
- data/proto_docs/google/cloud/dialogflow/cx/v3/generator.rb +187 -0
- data/proto_docs/google/cloud/dialogflow/cx/v3/session.rb +185 -0
- metadata +13 -3
@@ -0,0 +1,187 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module Dialogflow
|
23
|
+
module CX
|
24
|
+
module V3
|
25
|
+
# Generators contain prompt to be sent to the LLM model to generate text. The
|
26
|
+
# prompt can contain parameters which will be resolved before calling the
|
27
|
+
# model. It can optionally contain banned phrases to ensure the model responses
|
28
|
+
# are safe.
|
29
|
+
# @!attribute [rw] name
|
30
|
+
# @return [::String]
|
31
|
+
# The unique identifier of the generator.
|
32
|
+
# Must be set for the
|
33
|
+
# {::Google::Cloud::Dialogflow::CX::V3::Generators::Client#update_generator Generators.UpdateGenerator}
|
34
|
+
# method. [Generators.CreateGenerate][] populates the name automatically.
|
35
|
+
# Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
|
36
|
+
# ID>/generators/<Generator ID>`.
|
37
|
+
# @!attribute [rw] display_name
|
38
|
+
# @return [::String]
|
39
|
+
# Required. The human-readable name of the generator, unique within the
|
40
|
+
# agent. The prompt contains pre-defined parameters such as $conversation,
|
41
|
+
# $last-user-utterance, etc. populated by Dialogflow. It can also contain
|
42
|
+
# custom placeholders which will be resolved during fulfillment.
|
43
|
+
# @!attribute [rw] prompt_text
|
44
|
+
# @return [::Google::Cloud::Dialogflow::CX::V3::Phrase]
|
45
|
+
# Required. Prompt for the LLM model.
|
46
|
+
# @!attribute [rw] placeholders
|
47
|
+
# @return [::Array<::Google::Cloud::Dialogflow::CX::V3::Generator::Placeholder>]
|
48
|
+
# Optional. List of custom placeholders in the prompt text.
|
49
|
+
class Generator
|
50
|
+
include ::Google::Protobuf::MessageExts
|
51
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
52
|
+
|
53
|
+
# Represents a custom placeholder in the prompt text.
|
54
|
+
# @!attribute [rw] id
|
55
|
+
# @return [::String]
|
56
|
+
# Unique ID used to map custom placeholder to parameters in fulfillment.
|
57
|
+
# @!attribute [rw] name
|
58
|
+
# @return [::String]
|
59
|
+
# Custom placeholder value in the prompt text.
|
60
|
+
class Placeholder
|
61
|
+
include ::Google::Protobuf::MessageExts
|
62
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
# Text input which can be used for prompt or banned phrases.
|
67
|
+
# @!attribute [rw] text
|
68
|
+
# @return [::String]
|
69
|
+
# Required. Text input which can be used for prompt or banned phrases.
|
70
|
+
class Phrase
|
71
|
+
include ::Google::Protobuf::MessageExts
|
72
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
73
|
+
end
|
74
|
+
|
75
|
+
# The request message for
|
76
|
+
# {::Google::Cloud::Dialogflow::CX::V3::Generators::Client#list_generators Generators.ListGenerators}.
|
77
|
+
# @!attribute [rw] parent
|
78
|
+
# @return [::String]
|
79
|
+
# Required. The agent to list all generators for.
|
80
|
+
# Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
|
81
|
+
# @!attribute [rw] language_code
|
82
|
+
# @return [::String]
|
83
|
+
# The language to list generators for.
|
84
|
+
# @!attribute [rw] page_size
|
85
|
+
# @return [::Integer]
|
86
|
+
# The maximum number of items to return in a single page. By default 100 and
|
87
|
+
# at most 1000.
|
88
|
+
# @!attribute [rw] page_token
|
89
|
+
# @return [::String]
|
90
|
+
# The next_page_token value returned from a previous list request.
|
91
|
+
class ListGeneratorsRequest
|
92
|
+
include ::Google::Protobuf::MessageExts
|
93
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
94
|
+
end
|
95
|
+
|
96
|
+
# The response message for
|
97
|
+
# {::Google::Cloud::Dialogflow::CX::V3::Generators::Client#list_generators Generators.ListGenerators}.
|
98
|
+
# @!attribute [rw] generators
|
99
|
+
# @return [::Array<::Google::Cloud::Dialogflow::CX::V3::Generator>]
|
100
|
+
# The list of generators. There will be a maximum number of items returned
|
101
|
+
# based on the page_size field in the request.
|
102
|
+
# @!attribute [rw] next_page_token
|
103
|
+
# @return [::String]
|
104
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
105
|
+
# results in the list.
|
106
|
+
class ListGeneratorsResponse
|
107
|
+
include ::Google::Protobuf::MessageExts
|
108
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
109
|
+
end
|
110
|
+
|
111
|
+
# The request message for
|
112
|
+
# {::Google::Cloud::Dialogflow::CX::V3::Generators::Client#get_generator Generators.GetGenerator}.
|
113
|
+
# @!attribute [rw] name
|
114
|
+
# @return [::String]
|
115
|
+
# Required. The name of the generator.
|
116
|
+
# Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
|
117
|
+
# ID>/generators/<Generator ID>`.
|
118
|
+
# @!attribute [rw] language_code
|
119
|
+
# @return [::String]
|
120
|
+
# The language to list generators for.
|
121
|
+
class GetGeneratorRequest
|
122
|
+
include ::Google::Protobuf::MessageExts
|
123
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
124
|
+
end
|
125
|
+
|
126
|
+
# The request message for
|
127
|
+
# {::Google::Cloud::Dialogflow::CX::V3::Generators::Client#create_generator Generators.CreateGenerator}.
|
128
|
+
# @!attribute [rw] parent
|
129
|
+
# @return [::String]
|
130
|
+
# Required. The agent to create a generator for.
|
131
|
+
# Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>`.
|
132
|
+
# @!attribute [rw] generator
|
133
|
+
# @return [::Google::Cloud::Dialogflow::CX::V3::Generator]
|
134
|
+
# Required. The generator to create.
|
135
|
+
# @!attribute [rw] language_code
|
136
|
+
# @return [::String]
|
137
|
+
# The language to create generators for the following fields:
|
138
|
+
# * `Generator.prompt_text.text`
|
139
|
+
# If not specified, the agent's default language is used.
|
140
|
+
class CreateGeneratorRequest
|
141
|
+
include ::Google::Protobuf::MessageExts
|
142
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
143
|
+
end
|
144
|
+
|
145
|
+
# The request message for
|
146
|
+
# {::Google::Cloud::Dialogflow::CX::V3::Generators::Client#update_generator Generators.UpdateGenerator}.
|
147
|
+
# @!attribute [rw] generator
|
148
|
+
# @return [::Google::Cloud::Dialogflow::CX::V3::Generator]
|
149
|
+
# Required. The generator to update.
|
150
|
+
# @!attribute [rw] language_code
|
151
|
+
# @return [::String]
|
152
|
+
# The language to list generators for.
|
153
|
+
# @!attribute [rw] update_mask
|
154
|
+
# @return [::Google::Protobuf::FieldMask]
|
155
|
+
# The mask to control which fields get updated. If the mask is not present,
|
156
|
+
# all fields will be updated.
|
157
|
+
class UpdateGeneratorRequest
|
158
|
+
include ::Google::Protobuf::MessageExts
|
159
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
160
|
+
end
|
161
|
+
|
162
|
+
# The request message for
|
163
|
+
# {::Google::Cloud::Dialogflow::CX::V3::Generators::Client#delete_generator Generators.DeleteGenerator}.
|
164
|
+
# @!attribute [rw] name
|
165
|
+
# @return [::String]
|
166
|
+
# Required. The name of the generator to delete.
|
167
|
+
# Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
|
168
|
+
# ID>/generators/<Generator ID>`.
|
169
|
+
# @!attribute [rw] force
|
170
|
+
# @return [::Boolean]
|
171
|
+
# This field has no effect for generators not being used.
|
172
|
+
# For generators that are used by pages/flows/transition route groups:
|
173
|
+
#
|
174
|
+
# * If `force` is set to false, an error will be returned with message
|
175
|
+
# indicating the referenced resources.
|
176
|
+
# * If `force` is set to true, Dialogflow will remove the generator, as well
|
177
|
+
# as any references to the generator (i.e.
|
178
|
+
# [Generator][Fulfillment.generator]) in fulfillments.
|
179
|
+
class DeleteGeneratorRequest
|
180
|
+
include ::Google::Protobuf::MessageExts
|
181
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
182
|
+
end
|
183
|
+
end
|
184
|
+
end
|
185
|
+
end
|
186
|
+
end
|
187
|
+
end
|
@@ -22,6 +22,71 @@ module Google
|
|
22
22
|
module Dialogflow
|
23
23
|
module CX
|
24
24
|
module V3
|
25
|
+
# Stores information about feedback provided by users about a response.
|
26
|
+
# @!attribute [rw] rating
|
27
|
+
# @return [::Google::Cloud::Dialogflow::CX::V3::AnswerFeedback::Rating]
|
28
|
+
# Optional. Rating from user for the specific Dialogflow response.
|
29
|
+
# @!attribute [rw] rating_reason
|
30
|
+
# @return [::Google::Cloud::Dialogflow::CX::V3::AnswerFeedback::RatingReason]
|
31
|
+
# Optional. In case of thumbs down rating provided, users can optionally
|
32
|
+
# provide context about the rating.
|
33
|
+
# @!attribute [rw] custom_rating
|
34
|
+
# @return [::String]
|
35
|
+
# Optional. Custom rating from the user about the provided answer, with
|
36
|
+
# maximum length of 1024 characters. For example, client could use a
|
37
|
+
# customized JSON object to indicate the rating.
|
38
|
+
class AnswerFeedback
|
39
|
+
include ::Google::Protobuf::MessageExts
|
40
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
41
|
+
|
42
|
+
# Stores extra information about why users provided thumbs down rating.
|
43
|
+
# @!attribute [rw] reason_labels
|
44
|
+
# @return [::Array<::String>]
|
45
|
+
# Optional. Custom reason labels for thumbs down rating provided by the
|
46
|
+
# user. The maximum number of labels allowed is 10 and the maximum length
|
47
|
+
# of a single label is 128 characters.
|
48
|
+
# @!attribute [rw] feedback
|
49
|
+
# @return [::String]
|
50
|
+
# Optional. Additional feedback about the rating.
|
51
|
+
# This field can be populated without choosing a predefined `reason`.
|
52
|
+
class RatingReason
|
53
|
+
include ::Google::Protobuf::MessageExts
|
54
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
55
|
+
end
|
56
|
+
|
57
|
+
# Represents thumbs up/down rating provided by user about a response.
|
58
|
+
module Rating
|
59
|
+
# Rating not specified.
|
60
|
+
RATING_UNSPECIFIED = 0
|
61
|
+
|
62
|
+
# Thumbs up feedback from user.
|
63
|
+
THUMBS_UP = 1
|
64
|
+
|
65
|
+
# Thumbs down feedback from user.
|
66
|
+
THUMBS_DOWN = 2
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
# The request to set the feedback for a bot answer.
|
71
|
+
# @!attribute [rw] session
|
72
|
+
# @return [::String]
|
73
|
+
# Required. The name of the session the feedback was sent to.
|
74
|
+
# @!attribute [rw] response_id
|
75
|
+
# @return [::String]
|
76
|
+
# Required. ID of the response to update its feedback. This is the same as
|
77
|
+
# DetectIntentResponse.response_id.
|
78
|
+
# @!attribute [rw] answer_feedback
|
79
|
+
# @return [::Google::Cloud::Dialogflow::CX::V3::AnswerFeedback]
|
80
|
+
# Required. Feedback provided for a bot answer.
|
81
|
+
# @!attribute [rw] update_mask
|
82
|
+
# @return [::Google::Protobuf::FieldMask]
|
83
|
+
# Optional. The mask to control which fields to update. If the mask is not
|
84
|
+
# present, all fields will be updated.
|
85
|
+
class SubmitAnswerFeedbackRequest
|
86
|
+
include ::Google::Protobuf::MessageExts
|
87
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
88
|
+
end
|
89
|
+
|
25
90
|
# The request to detect user's intent.
|
26
91
|
# @!attribute [rw] session
|
27
92
|
# @return [::String]
|
@@ -516,6 +581,28 @@ module Google
|
|
516
581
|
# By default, a Dialogflow session remains active and its data is stored for
|
517
582
|
# 30 minutes after the last request is sent for the session.
|
518
583
|
# This value should be no longer than 1 day.
|
584
|
+
# @!attribute [rw] end_user_metadata
|
585
|
+
# @return [::Google::Protobuf::Struct]
|
586
|
+
# Optional. Information about the end-user to improve the relevance and
|
587
|
+
# accuracy of generative answers.
|
588
|
+
#
|
589
|
+
# This will be interpreted and used by a language model, so, for good
|
590
|
+
# results, the data should be self-descriptive, and in a simple structure.
|
591
|
+
#
|
592
|
+
# Example:
|
593
|
+
#
|
594
|
+
# ```json
|
595
|
+
# {
|
596
|
+
# "subscription plan": "Business Premium Plus",
|
597
|
+
# "devices owned": [
|
598
|
+
# \\{"model": "Google Pixel 7"},
|
599
|
+
# \\{"model": "Google Pixel Tablet"}
|
600
|
+
# ]
|
601
|
+
# }
|
602
|
+
# ```
|
603
|
+
# @!attribute [rw] search_config
|
604
|
+
# @return [::Google::Cloud::Dialogflow::CX::V3::SearchConfig]
|
605
|
+
# Optional. Search configuration for UCS search queries.
|
519
606
|
class QueryParameters
|
520
607
|
include ::Google::Protobuf::MessageExts
|
521
608
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -530,6 +617,100 @@ module Google
|
|
530
617
|
end
|
531
618
|
end
|
532
619
|
|
620
|
+
# Search configuration for UCS search queries.
|
621
|
+
# @!attribute [rw] boost_specs
|
622
|
+
# @return [::Array<::Google::Cloud::Dialogflow::CX::V3::BoostSpecs>]
|
623
|
+
# Optional. Boosting configuration for the datastores.
|
624
|
+
# @!attribute [rw] filter_specs
|
625
|
+
# @return [::Array<::Google::Cloud::Dialogflow::CX::V3::FilterSpecs>]
|
626
|
+
# Optional. Filter configuration for the datastores.
|
627
|
+
class SearchConfig
|
628
|
+
include ::Google::Protobuf::MessageExts
|
629
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
630
|
+
end
|
631
|
+
|
632
|
+
# Boost specification to boost certain documents.
|
633
|
+
# A copy of google.cloud.discoveryengine.v1main.BoostSpec, field documentation
|
634
|
+
# is available at
|
635
|
+
# https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/BoostSpec
|
636
|
+
# @!attribute [rw] condition_boost_specs
|
637
|
+
# @return [::Array<::Google::Cloud::Dialogflow::CX::V3::BoostSpec::ConditionBoostSpec>]
|
638
|
+
# Optional. Condition boost specifications. If a document matches multiple
|
639
|
+
# conditions in the specifictions, boost scores from these specifications are
|
640
|
+
# all applied and combined in a non-linear way. Maximum number of
|
641
|
+
# specifications is 20.
|
642
|
+
class BoostSpec
|
643
|
+
include ::Google::Protobuf::MessageExts
|
644
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
645
|
+
|
646
|
+
# Boost applies to documents which match a condition.
|
647
|
+
# @!attribute [rw] condition
|
648
|
+
# @return [::String]
|
649
|
+
# Optional. An expression which specifies a boost condition. The syntax and
|
650
|
+
# supported fields are the same as a filter expression.
|
651
|
+
# Examples:
|
652
|
+
#
|
653
|
+
# * To boost documents with document ID "doc_1" or "doc_2", and
|
654
|
+
# color
|
655
|
+
# "Red" or "Blue":
|
656
|
+
# * (id: ANY("doc_1", "doc_2")) AND (color: ANY("Red","Blue"))
|
657
|
+
# @!attribute [rw] boost
|
658
|
+
# @return [::Float]
|
659
|
+
# Optional. Strength of the condition boost, which should be in [-1, 1].
|
660
|
+
# Negative boost means demotion. Default is 0.0.
|
661
|
+
#
|
662
|
+
# Setting to 1.0 gives the document a big promotion. However, it does not
|
663
|
+
# necessarily mean that the boosted document will be the top result at
|
664
|
+
# all times, nor that other documents will be excluded. Results could
|
665
|
+
# still be shown even when none of them matches the condition. And
|
666
|
+
# results that are significantly more relevant to the search query can
|
667
|
+
# still trump your heavily favored but irrelevant documents.
|
668
|
+
#
|
669
|
+
# Setting to -1.0 gives the document a big demotion. However, results
|
670
|
+
# that are deeply relevant might still be shown. The document will have
|
671
|
+
# an upstream battle to get a fairly high ranking, but it is not blocked
|
672
|
+
# out completely.
|
673
|
+
#
|
674
|
+
# Setting to 0.0 means no boost applied. The boosting condition is
|
675
|
+
# ignored.
|
676
|
+
class ConditionBoostSpec
|
677
|
+
include ::Google::Protobuf::MessageExts
|
678
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
679
|
+
end
|
680
|
+
end
|
681
|
+
|
682
|
+
# Boost specifications for data stores.
|
683
|
+
# @!attribute [rw] data_stores
|
684
|
+
# @return [::Array<::String>]
|
685
|
+
# Optional. Data Stores where the boosting configuration is applied. The full
|
686
|
+
# names of the referenced data stores. Formats:
|
687
|
+
# `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`
|
688
|
+
# `projects/{project}/locations/{location}/dataStores/{data_store}`
|
689
|
+
# @!attribute [rw] spec
|
690
|
+
# @return [::Array<::Google::Cloud::Dialogflow::CX::V3::BoostSpec>]
|
691
|
+
# Optional. A list of boosting specifications.
|
692
|
+
class BoostSpecs
|
693
|
+
include ::Google::Protobuf::MessageExts
|
694
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
695
|
+
end
|
696
|
+
|
697
|
+
# Filter specifications for data stores.
|
698
|
+
# @!attribute [rw] data_stores
|
699
|
+
# @return [::Array<::String>]
|
700
|
+
# Optional. Data Stores where the boosting configuration is applied. The full
|
701
|
+
# names of the referenced data stores. Formats:
|
702
|
+
# `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`
|
703
|
+
# `projects/{project}/locations/{location}/dataStores/{data_store}`
|
704
|
+
# @!attribute [rw] filter
|
705
|
+
# @return [::String]
|
706
|
+
# Optional. The filter expression to be applied.
|
707
|
+
# Expression syntax is documented at
|
708
|
+
# https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata#filter-expression-syntax
|
709
|
+
class FilterSpecs
|
710
|
+
include ::Google::Protobuf::MessageExts
|
711
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
712
|
+
end
|
713
|
+
|
533
714
|
# Represents the query input. It can contain one of:
|
534
715
|
#
|
535
716
|
# 1. A conversational query in the form of text.
|
@@ -688,6 +869,10 @@ module Google
|
|
688
869
|
# the client may need to perform special logic at the moment. For example, if
|
689
870
|
# Dialogflow exports audio to Google Cloud Storage, then the client may need
|
690
871
|
# to wait for the resulting object to appear in the bucket before proceeding.
|
872
|
+
# @!attribute [rw] allow_answer_feedback
|
873
|
+
# @return [::Boolean]
|
874
|
+
# Indicates whether the Thumbs up/Thumbs down rating controls are need to be
|
875
|
+
# shown for the response in the Dialogflow Messenger widget.
|
691
876
|
class QueryResult
|
692
877
|
include ::Google::Protobuf::MessageExts
|
693
878
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-dialogflow-cx-v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.23.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:
|
11
|
+
date: 2024-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -272,6 +272,15 @@ files:
|
|
272
272
|
- lib/google/cloud/dialogflow/cx/v3/fulfillment_pb.rb
|
273
273
|
- lib/google/cloud/dialogflow/cx/v3/gcs_pb.rb
|
274
274
|
- lib/google/cloud/dialogflow/cx/v3/generative_settings_pb.rb
|
275
|
+
- lib/google/cloud/dialogflow/cx/v3/generator_pb.rb
|
276
|
+
- lib/google/cloud/dialogflow/cx/v3/generator_services_pb.rb
|
277
|
+
- lib/google/cloud/dialogflow/cx/v3/generators.rb
|
278
|
+
- lib/google/cloud/dialogflow/cx/v3/generators/client.rb
|
279
|
+
- lib/google/cloud/dialogflow/cx/v3/generators/credentials.rb
|
280
|
+
- lib/google/cloud/dialogflow/cx/v3/generators/paths.rb
|
281
|
+
- lib/google/cloud/dialogflow/cx/v3/generators/rest.rb
|
282
|
+
- lib/google/cloud/dialogflow/cx/v3/generators/rest/client.rb
|
283
|
+
- lib/google/cloud/dialogflow/cx/v3/generators/rest/service_stub.rb
|
275
284
|
- lib/google/cloud/dialogflow/cx/v3/import_strategy_pb.rb
|
276
285
|
- lib/google/cloud/dialogflow/cx/v3/inline_pb.rb
|
277
286
|
- lib/google/cloud/dialogflow/cx/v3/intent_pb.rb
|
@@ -384,6 +393,7 @@ files:
|
|
384
393
|
- proto_docs/google/cloud/dialogflow/cx/v3/fulfillment.rb
|
385
394
|
- proto_docs/google/cloud/dialogflow/cx/v3/gcs.rb
|
386
395
|
- proto_docs/google/cloud/dialogflow/cx/v3/generative_settings.rb
|
396
|
+
- proto_docs/google/cloud/dialogflow/cx/v3/generator.rb
|
387
397
|
- proto_docs/google/cloud/dialogflow/cx/v3/import_strategy.rb
|
388
398
|
- proto_docs/google/cloud/dialogflow/cx/v3/inline.rb
|
389
399
|
- proto_docs/google/cloud/dialogflow/cx/v3/intent.rb
|
@@ -426,7 +436,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
426
436
|
- !ruby/object:Gem::Version
|
427
437
|
version: '0'
|
428
438
|
requirements: []
|
429
|
-
rubygems_version: 3.
|
439
|
+
rubygems_version: 3.5.3
|
430
440
|
signing_key:
|
431
441
|
specification_version: 4
|
432
442
|
summary: Builds conversational interfaces (for example, chatbots, and voice-powered
|