google-apis-discoveryengine_v1 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/discoveryengine_v1/classes.rb +1427 -64
- data/lib/google/apis/discoveryengine_v1/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1/representations.rb +702 -21
- data/lib/google/apis/discoveryengine_v1/service.rb +898 -87
- metadata +3 -3
@@ -64,6 +64,222 @@ module Google
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
+
class GoogleCloudDiscoveryengineV1Answer
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class GoogleCloudDiscoveryengineV1AnswerCitation
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class GoogleCloudDiscoveryengineV1AnswerCitationSource
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequest
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
97
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
103
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
109
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestRelatedQuestionsSpec
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpec
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpec
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
151
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultList
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResult
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
163
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
+
|
166
|
+
include Google::Apis::Core::JsonObjectSupport
|
167
|
+
end
|
168
|
+
|
169
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
181
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryResponse
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
199
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfo
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class GoogleCloudDiscoveryengineV1AnswerReference
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
223
|
+
class GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata
|
224
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
|
+
|
226
|
+
include Google::Apis::Core::JsonObjectSupport
|
227
|
+
end
|
228
|
+
|
229
|
+
class GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
241
|
+
class GoogleCloudDiscoveryengineV1AnswerStep
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class GoogleCloudDiscoveryengineV1AnswerStepAction
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
253
|
+
class GoogleCloudDiscoveryengineV1AnswerStepActionObservation
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
259
|
+
class GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
265
|
+
class GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultChunkInfo
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
271
|
+
class GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultSnippetInfo
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
277
|
+
class GoogleCloudDiscoveryengineV1AnswerStepActionSearchAction
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
67
283
|
class GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata
|
68
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
285
|
|
@@ -526,6 +742,12 @@ module Google
|
|
526
742
|
include Google::Apis::Core::JsonObjectSupport
|
527
743
|
end
|
528
744
|
|
745
|
+
class GoogleCloudDiscoveryengineV1ListSessionsResponse
|
746
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
747
|
+
|
748
|
+
include Google::Apis::Core::JsonObjectSupport
|
749
|
+
end
|
750
|
+
|
529
751
|
class GoogleCloudDiscoveryengineV1ListTargetSitesResponse
|
530
752
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
531
753
|
|
@@ -586,6 +808,30 @@ module Google
|
|
586
808
|
include Google::Apis::Core::JsonObjectSupport
|
587
809
|
end
|
588
810
|
|
811
|
+
class GoogleCloudDiscoveryengineV1Query
|
812
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
813
|
+
|
814
|
+
include Google::Apis::Core::JsonObjectSupport
|
815
|
+
end
|
816
|
+
|
817
|
+
class GoogleCloudDiscoveryengineV1RankRequest
|
818
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
819
|
+
|
820
|
+
include Google::Apis::Core::JsonObjectSupport
|
821
|
+
end
|
822
|
+
|
823
|
+
class GoogleCloudDiscoveryengineV1RankResponse
|
824
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
825
|
+
|
826
|
+
include Google::Apis::Core::JsonObjectSupport
|
827
|
+
end
|
828
|
+
|
829
|
+
class GoogleCloudDiscoveryengineV1RankingRecord
|
830
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
831
|
+
|
832
|
+
include Google::Apis::Core::JsonObjectSupport
|
833
|
+
end
|
834
|
+
|
589
835
|
class GoogleCloudDiscoveryengineV1RecommendRequest
|
590
836
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
591
837
|
|
@@ -796,6 +1042,18 @@ module Google
|
|
796
1042
|
include Google::Apis::Core::JsonObjectSupport
|
797
1043
|
end
|
798
1044
|
|
1045
|
+
class GoogleCloudDiscoveryengineV1Session
|
1046
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1047
|
+
|
1048
|
+
include Google::Apis::Core::JsonObjectSupport
|
1049
|
+
end
|
1050
|
+
|
1051
|
+
class GoogleCloudDiscoveryengineV1SessionTurn
|
1052
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1053
|
+
|
1054
|
+
include Google::Apis::Core::JsonObjectSupport
|
1055
|
+
end
|
1056
|
+
|
799
1057
|
class GoogleCloudDiscoveryengineV1SiteSearchEngine
|
800
1058
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
801
1059
|
|
@@ -1818,55 +2076,409 @@ module Google
|
|
1818
2076
|
end
|
1819
2077
|
end
|
1820
2078
|
|
1821
|
-
class
|
2079
|
+
class GoogleCloudDiscoveryengineV1Answer
|
1822
2080
|
# @private
|
1823
2081
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2082
|
+
collection :answer_skipped_reasons, as: 'answerSkippedReasons'
|
2083
|
+
property :answer_text, as: 'answerText'
|
2084
|
+
collection :citations, as: 'citations', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerCitation, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerCitation::Representation
|
2085
|
+
|
2086
|
+
property :complete_time, as: 'completeTime'
|
1824
2087
|
property :create_time, as: 'createTime'
|
1825
|
-
property :
|
1826
|
-
|
1827
|
-
end
|
2088
|
+
property :name, as: 'name'
|
2089
|
+
property :query_understanding_info, as: 'queryUnderstandingInfo', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfo, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfo::Representation
|
1828
2090
|
|
1829
|
-
|
1830
|
-
|
1831
|
-
|
1832
|
-
|
2091
|
+
collection :references, as: 'references', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReference, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReference::Representation
|
2092
|
+
|
2093
|
+
collection :related_questions, as: 'relatedQuestions'
|
2094
|
+
property :state, as: 'state'
|
2095
|
+
collection :steps, as: 'steps', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerStep, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerStep::Representation
|
1833
2096
|
|
1834
2097
|
end
|
1835
2098
|
end
|
1836
2099
|
|
1837
|
-
class
|
2100
|
+
class GoogleCloudDiscoveryengineV1AnswerCitation
|
1838
2101
|
# @private
|
1839
2102
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1840
|
-
|
2103
|
+
property :end_index, :numeric_string => true, as: 'endIndex'
|
2104
|
+
collection :sources, as: 'sources', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerCitationSource, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerCitationSource::Representation
|
1841
2105
|
|
2106
|
+
property :start_index, :numeric_string => true, as: 'startIndex'
|
1842
2107
|
end
|
1843
2108
|
end
|
1844
2109
|
|
1845
|
-
class
|
2110
|
+
class GoogleCloudDiscoveryengineV1AnswerCitationSource
|
1846
2111
|
# @private
|
1847
2112
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2113
|
+
property :reference_id, as: 'referenceId'
|
1848
2114
|
end
|
1849
2115
|
end
|
1850
2116
|
|
1851
|
-
class
|
2117
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequest
|
1852
2118
|
# @private
|
1853
2119
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1854
|
-
property :
|
1855
|
-
property :dataset_id, as: 'datasetId'
|
1856
|
-
property :gcs_staging_dir, as: 'gcsStagingDir'
|
1857
|
-
property :partition_date, as: 'partitionDate', class: Google::Apis::DiscoveryengineV1::GoogleTypeDate, decorator: Google::Apis::DiscoveryengineV1::GoogleTypeDate::Representation
|
2120
|
+
property :answer_generation_spec, as: 'answerGenerationSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec::Representation
|
1858
2121
|
|
1859
|
-
property :
|
1860
|
-
property :
|
2122
|
+
property :asynchronous_mode, as: 'asynchronousMode'
|
2123
|
+
property :query, as: 'query', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Query, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Query::Representation
|
2124
|
+
|
2125
|
+
property :query_understanding_spec, as: 'queryUnderstandingSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec::Representation
|
2126
|
+
|
2127
|
+
property :related_questions_spec, as: 'relatedQuestionsSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestRelatedQuestionsSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestRelatedQuestionsSpec::Representation
|
2128
|
+
|
2129
|
+
property :safety_spec, as: 'safetySpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpec::Representation
|
2130
|
+
|
2131
|
+
property :search_spec, as: 'searchSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpec::Representation
|
2132
|
+
|
2133
|
+
property :session, as: 'session'
|
2134
|
+
property :user_pseudo_id, as: 'userPseudoId'
|
1861
2135
|
end
|
1862
2136
|
end
|
1863
2137
|
|
1864
|
-
class
|
2138
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec
|
1865
2139
|
# @private
|
1866
2140
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1867
|
-
|
2141
|
+
property :answer_language_code, as: 'answerLanguageCode'
|
2142
|
+
property :ignore_adversarial_query, as: 'ignoreAdversarialQuery'
|
2143
|
+
property :ignore_non_answer_seeking_query, as: 'ignoreNonAnswerSeekingQuery'
|
2144
|
+
property :include_citations, as: 'includeCitations'
|
2145
|
+
property :model_spec, as: 'modelSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec::Representation
|
2146
|
+
|
2147
|
+
property :prompt_spec, as: 'promptSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec::Representation
|
1868
2148
|
|
1869
|
-
|
2149
|
+
end
|
2150
|
+
end
|
2151
|
+
|
2152
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecModelSpec
|
2153
|
+
# @private
|
2154
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2155
|
+
property :model_version, as: 'modelVersion'
|
2156
|
+
end
|
2157
|
+
end
|
2158
|
+
|
2159
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpecPromptSpec
|
2160
|
+
# @private
|
2161
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2162
|
+
property :preamble, as: 'preamble'
|
2163
|
+
end
|
2164
|
+
end
|
2165
|
+
|
2166
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec
|
2167
|
+
# @private
|
2168
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2169
|
+
property :query_classification_spec, as: 'queryClassificationSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec::Representation
|
2170
|
+
|
2171
|
+
property :query_rephraser_spec, as: 'queryRephraserSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec::Representation
|
2172
|
+
|
2173
|
+
end
|
2174
|
+
end
|
2175
|
+
|
2176
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec
|
2177
|
+
# @private
|
2178
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2179
|
+
collection :types, as: 'types'
|
2180
|
+
end
|
2181
|
+
end
|
2182
|
+
|
2183
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryRephraserSpec
|
2184
|
+
# @private
|
2185
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2186
|
+
property :disable, as: 'disable'
|
2187
|
+
end
|
2188
|
+
end
|
2189
|
+
|
2190
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestRelatedQuestionsSpec
|
2191
|
+
# @private
|
2192
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2193
|
+
property :enable, as: 'enable'
|
2194
|
+
end
|
2195
|
+
end
|
2196
|
+
|
2197
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestSafetySpec
|
2198
|
+
# @private
|
2199
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2200
|
+
property :enable, as: 'enable'
|
2201
|
+
end
|
2202
|
+
end
|
2203
|
+
|
2204
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpec
|
2205
|
+
# @private
|
2206
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2207
|
+
property :search_params, as: 'searchParams', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams::Representation
|
2208
|
+
|
2209
|
+
property :search_result_list, as: 'searchResultList', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultList, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultList::Representation
|
2210
|
+
|
2211
|
+
end
|
2212
|
+
end
|
2213
|
+
|
2214
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchParams
|
2215
|
+
# @private
|
2216
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2217
|
+
property :boost_spec, as: 'boostSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestBoostSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestBoostSpec::Representation
|
2218
|
+
|
2219
|
+
property :filter, as: 'filter'
|
2220
|
+
property :max_return_results, as: 'maxReturnResults'
|
2221
|
+
property :order_by, as: 'orderBy'
|
2222
|
+
end
|
2223
|
+
end
|
2224
|
+
|
2225
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultList
|
2226
|
+
# @private
|
2227
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2228
|
+
collection :search_results, as: 'searchResults', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResult, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResult::Representation
|
2229
|
+
|
2230
|
+
end
|
2231
|
+
end
|
2232
|
+
|
2233
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResult
|
2234
|
+
# @private
|
2235
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2236
|
+
property :chunk_info, as: 'chunkInfo', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo::Representation
|
2237
|
+
|
2238
|
+
property :unstructured_document_info, as: 'unstructuredDocumentInfo', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo::Representation
|
2239
|
+
|
2240
|
+
end
|
2241
|
+
end
|
2242
|
+
|
2243
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo
|
2244
|
+
# @private
|
2245
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2246
|
+
property :chunk, as: 'chunk'
|
2247
|
+
property :content, as: 'content'
|
2248
|
+
end
|
2249
|
+
end
|
2250
|
+
|
2251
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo
|
2252
|
+
# @private
|
2253
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2254
|
+
property :document, as: 'document'
|
2255
|
+
collection :document_contexts, as: 'documentContexts', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext::Representation
|
2256
|
+
|
2257
|
+
collection :extractive_answers, as: 'extractiveAnswers', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer::Representation
|
2258
|
+
|
2259
|
+
collection :extractive_segments, as: 'extractiveSegments', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment::Representation
|
2260
|
+
|
2261
|
+
property :title, as: 'title'
|
2262
|
+
property :uri, as: 'uri'
|
2263
|
+
end
|
2264
|
+
end
|
2265
|
+
|
2266
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoDocumentContext
|
2267
|
+
# @private
|
2268
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2269
|
+
property :content, as: 'content'
|
2270
|
+
property :page_identifier, as: 'pageIdentifier'
|
2271
|
+
end
|
2272
|
+
end
|
2273
|
+
|
2274
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer
|
2275
|
+
# @private
|
2276
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2277
|
+
property :content, as: 'content'
|
2278
|
+
property :page_identifier, as: 'pageIdentifier'
|
2279
|
+
end
|
2280
|
+
end
|
2281
|
+
|
2282
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment
|
2283
|
+
# @private
|
2284
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2285
|
+
property :content, as: 'content'
|
2286
|
+
property :page_identifier, as: 'pageIdentifier'
|
2287
|
+
end
|
2288
|
+
end
|
2289
|
+
|
2290
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryResponse
|
2291
|
+
# @private
|
2292
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2293
|
+
property :answer, as: 'answer', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Answer, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Answer::Representation
|
2294
|
+
|
2295
|
+
property :answer_query_token, as: 'answerQueryToken'
|
2296
|
+
property :session, as: 'session', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Session, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Session::Representation
|
2297
|
+
|
2298
|
+
end
|
2299
|
+
end
|
2300
|
+
|
2301
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfo
|
2302
|
+
# @private
|
2303
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2304
|
+
collection :query_classification_info, as: 'queryClassificationInfo', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo::Representation
|
2305
|
+
|
2306
|
+
end
|
2307
|
+
end
|
2308
|
+
|
2309
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo
|
2310
|
+
# @private
|
2311
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2312
|
+
property :positive, as: 'positive'
|
2313
|
+
property :type, as: 'type'
|
2314
|
+
end
|
2315
|
+
end
|
2316
|
+
|
2317
|
+
class GoogleCloudDiscoveryengineV1AnswerReference
|
2318
|
+
# @private
|
2319
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2320
|
+
property :chunk_info, as: 'chunkInfo', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo::Representation
|
2321
|
+
|
2322
|
+
property :unstructured_document_info, as: 'unstructuredDocumentInfo', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo::Representation
|
2323
|
+
|
2324
|
+
end
|
2325
|
+
end
|
2326
|
+
|
2327
|
+
class GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfo
|
2328
|
+
# @private
|
2329
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2330
|
+
property :chunk, as: 'chunk'
|
2331
|
+
property :content, as: 'content'
|
2332
|
+
property :document_metadata, as: 'documentMetadata', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata::Representation
|
2333
|
+
|
2334
|
+
property :relevance_score, as: 'relevanceScore'
|
2335
|
+
end
|
2336
|
+
end
|
2337
|
+
|
2338
|
+
class GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata
|
2339
|
+
# @private
|
2340
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2341
|
+
property :document, as: 'document'
|
2342
|
+
property :page_identifier, as: 'pageIdentifier'
|
2343
|
+
property :title, as: 'title'
|
2344
|
+
property :uri, as: 'uri'
|
2345
|
+
end
|
2346
|
+
end
|
2347
|
+
|
2348
|
+
class GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo
|
2349
|
+
# @private
|
2350
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2351
|
+
collection :chunk_contents, as: 'chunkContents', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent::Representation
|
2352
|
+
|
2353
|
+
property :document, as: 'document'
|
2354
|
+
property :title, as: 'title'
|
2355
|
+
property :uri, as: 'uri'
|
2356
|
+
end
|
2357
|
+
end
|
2358
|
+
|
2359
|
+
class GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent
|
2360
|
+
# @private
|
2361
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2362
|
+
property :content, as: 'content'
|
2363
|
+
property :page_identifier, as: 'pageIdentifier'
|
2364
|
+
end
|
2365
|
+
end
|
2366
|
+
|
2367
|
+
class GoogleCloudDiscoveryengineV1AnswerStep
|
2368
|
+
# @private
|
2369
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2370
|
+
collection :actions, as: 'actions', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerStepAction, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerStepAction::Representation
|
2371
|
+
|
2372
|
+
property :description, as: 'description'
|
2373
|
+
property :state, as: 'state'
|
2374
|
+
property :thought, as: 'thought'
|
2375
|
+
end
|
2376
|
+
end
|
2377
|
+
|
2378
|
+
class GoogleCloudDiscoveryengineV1AnswerStepAction
|
2379
|
+
# @private
|
2380
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2381
|
+
property :observation, as: 'observation', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerStepActionObservation, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerStepActionObservation::Representation
|
2382
|
+
|
2383
|
+
property :search_action, as: 'searchAction', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerStepActionSearchAction, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerStepActionSearchAction::Representation
|
2384
|
+
|
2385
|
+
end
|
2386
|
+
end
|
2387
|
+
|
2388
|
+
class GoogleCloudDiscoveryengineV1AnswerStepActionObservation
|
2389
|
+
# @private
|
2390
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2391
|
+
collection :search_results, as: 'searchResults', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult::Representation
|
2392
|
+
|
2393
|
+
end
|
2394
|
+
end
|
2395
|
+
|
2396
|
+
class GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult
|
2397
|
+
# @private
|
2398
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2399
|
+
collection :chunk_info, as: 'chunkInfo', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultChunkInfo, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultChunkInfo::Representation
|
2400
|
+
|
2401
|
+
property :document, as: 'document'
|
2402
|
+
collection :snippet_info, as: 'snippetInfo', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultSnippetInfo, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultSnippetInfo::Representation
|
2403
|
+
|
2404
|
+
property :title, as: 'title'
|
2405
|
+
property :uri, as: 'uri'
|
2406
|
+
end
|
2407
|
+
end
|
2408
|
+
|
2409
|
+
class GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultChunkInfo
|
2410
|
+
# @private
|
2411
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2412
|
+
property :chunk, as: 'chunk'
|
2413
|
+
property :content, as: 'content'
|
2414
|
+
property :relevance_score, as: 'relevanceScore'
|
2415
|
+
end
|
2416
|
+
end
|
2417
|
+
|
2418
|
+
class GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultSnippetInfo
|
2419
|
+
# @private
|
2420
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2421
|
+
property :snippet, as: 'snippet'
|
2422
|
+
property :snippet_status, as: 'snippetStatus'
|
2423
|
+
end
|
2424
|
+
end
|
2425
|
+
|
2426
|
+
class GoogleCloudDiscoveryengineV1AnswerStepActionSearchAction
|
2427
|
+
# @private
|
2428
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2429
|
+
property :query, as: 'query'
|
2430
|
+
end
|
2431
|
+
end
|
2432
|
+
|
2433
|
+
class GoogleCloudDiscoveryengineV1BatchCreateTargetSiteMetadata
|
2434
|
+
# @private
|
2435
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2436
|
+
property :create_time, as: 'createTime'
|
2437
|
+
property :update_time, as: 'updateTime'
|
2438
|
+
end
|
2439
|
+
end
|
2440
|
+
|
2441
|
+
class GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest
|
2442
|
+
# @private
|
2443
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2444
|
+
collection :requests, as: 'requests', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CreateTargetSiteRequest, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CreateTargetSiteRequest::Representation
|
2445
|
+
|
2446
|
+
end
|
2447
|
+
end
|
2448
|
+
|
2449
|
+
class GoogleCloudDiscoveryengineV1BatchCreateTargetSitesResponse
|
2450
|
+
# @private
|
2451
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2452
|
+
collection :target_sites, as: 'targetSites', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1TargetSite, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1TargetSite::Representation
|
2453
|
+
|
2454
|
+
end
|
2455
|
+
end
|
2456
|
+
|
2457
|
+
class GoogleCloudDiscoveryengineV1BatchVerifyTargetSitesRequest
|
2458
|
+
# @private
|
2459
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2460
|
+
end
|
2461
|
+
end
|
2462
|
+
|
2463
|
+
class GoogleCloudDiscoveryengineV1BigQuerySource
|
2464
|
+
# @private
|
2465
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2466
|
+
property :data_schema, as: 'dataSchema'
|
2467
|
+
property :dataset_id, as: 'datasetId'
|
2468
|
+
property :gcs_staging_dir, as: 'gcsStagingDir'
|
2469
|
+
property :partition_date, as: 'partitionDate', class: Google::Apis::DiscoveryengineV1::GoogleTypeDate, decorator: Google::Apis::DiscoveryengineV1::GoogleTypeDate::Representation
|
2470
|
+
|
2471
|
+
property :project_id, as: 'projectId'
|
2472
|
+
property :table_id, as: 'tableId'
|
2473
|
+
end
|
2474
|
+
end
|
2475
|
+
|
2476
|
+
class GoogleCloudDiscoveryengineV1BigtableOptions
|
2477
|
+
# @private
|
2478
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2479
|
+
hash :families, as: 'families', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1BigtableOptionsBigtableColumnFamily::Representation
|
2480
|
+
|
2481
|
+
property :key_field_name, as: 'keyFieldName'
|
1870
2482
|
end
|
1871
2483
|
end
|
1872
2484
|
|
@@ -2566,6 +3178,15 @@ module Google
|
|
2566
3178
|
end
|
2567
3179
|
end
|
2568
3180
|
|
3181
|
+
class GoogleCloudDiscoveryengineV1ListSessionsResponse
|
3182
|
+
# @private
|
3183
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3184
|
+
property :next_page_token, as: 'nextPageToken'
|
3185
|
+
collection :sessions, as: 'sessions', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Session, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Session::Representation
|
3186
|
+
|
3187
|
+
end
|
3188
|
+
end
|
3189
|
+
|
2569
3190
|
class GoogleCloudDiscoveryengineV1ListTargetSitesResponse
|
2570
3191
|
# @private
|
2571
3192
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2654,6 +3275,44 @@ module Google
|
|
2654
3275
|
end
|
2655
3276
|
end
|
2656
3277
|
|
3278
|
+
class GoogleCloudDiscoveryengineV1Query
|
3279
|
+
# @private
|
3280
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3281
|
+
property :query_id, as: 'queryId'
|
3282
|
+
property :text, as: 'text'
|
3283
|
+
end
|
3284
|
+
end
|
3285
|
+
|
3286
|
+
class GoogleCloudDiscoveryengineV1RankRequest
|
3287
|
+
# @private
|
3288
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3289
|
+
property :ignore_record_details_in_response, as: 'ignoreRecordDetailsInResponse'
|
3290
|
+
property :model, as: 'model'
|
3291
|
+
property :query, as: 'query'
|
3292
|
+
collection :records, as: 'records', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1RankingRecord, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1RankingRecord::Representation
|
3293
|
+
|
3294
|
+
property :top_n, as: 'topN'
|
3295
|
+
end
|
3296
|
+
end
|
3297
|
+
|
3298
|
+
class GoogleCloudDiscoveryengineV1RankResponse
|
3299
|
+
# @private
|
3300
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3301
|
+
collection :records, as: 'records', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1RankingRecord, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1RankingRecord::Representation
|
3302
|
+
|
3303
|
+
end
|
3304
|
+
end
|
3305
|
+
|
3306
|
+
class GoogleCloudDiscoveryengineV1RankingRecord
|
3307
|
+
# @private
|
3308
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3309
|
+
property :content, as: 'content'
|
3310
|
+
property :id, as: 'id'
|
3311
|
+
property :score, as: 'score'
|
3312
|
+
property :title, as: 'title'
|
3313
|
+
end
|
3314
|
+
end
|
3315
|
+
|
2657
3316
|
class GoogleCloudDiscoveryengineV1RecommendRequest
|
2658
3317
|
# @private
|
2659
3318
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3018,6 +3677,28 @@ module Google
|
|
3018
3677
|
end
|
3019
3678
|
end
|
3020
3679
|
|
3680
|
+
class GoogleCloudDiscoveryengineV1Session
|
3681
|
+
# @private
|
3682
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3683
|
+
property :end_time, as: 'endTime'
|
3684
|
+
property :name, as: 'name'
|
3685
|
+
property :start_time, as: 'startTime'
|
3686
|
+
property :state, as: 'state'
|
3687
|
+
collection :turns, as: 'turns', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SessionTurn, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SessionTurn::Representation
|
3688
|
+
|
3689
|
+
property :user_pseudo_id, as: 'userPseudoId'
|
3690
|
+
end
|
3691
|
+
end
|
3692
|
+
|
3693
|
+
class GoogleCloudDiscoveryengineV1SessionTurn
|
3694
|
+
# @private
|
3695
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3696
|
+
property :answer, as: 'answer'
|
3697
|
+
property :query, as: 'query', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Query, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Query::Representation
|
3698
|
+
|
3699
|
+
end
|
3700
|
+
end
|
3701
|
+
|
3021
3702
|
class GoogleCloudDiscoveryengineV1SiteSearchEngine
|
3022
3703
|
# @private
|
3023
3704
|
class Representation < Google::Apis::Core::JsonRepresentation
|