google-apis-discoveryengine_v1 0.2.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 +9 -0
- data/lib/google/apis/discoveryengine_v1/classes.rb +1692 -94
- data/lib/google/apis/discoveryengine_v1/gem_version.rb +3 -3
- data/lib/google/apis/discoveryengine_v1/representations.rb +855 -67
- data/lib/google/apis/discoveryengine_v1/service.rb +1033 -68
- metadata +5 -5
@@ -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
|
|
@@ -118,6 +334,30 @@ module Google
|
|
118
334
|
include Google::Apis::Core::JsonObjectSupport
|
119
335
|
end
|
120
336
|
|
337
|
+
class GoogleCloudDiscoveryengineV1CheckGroundingRequest
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
343
|
+
class GoogleCloudDiscoveryengineV1CheckGroundingResponse
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
349
|
+
class GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
355
|
+
class GoogleCloudDiscoveryengineV1CheckGroundingSpec
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
121
361
|
class GoogleCloudDiscoveryengineV1CloudSqlSource
|
122
362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
363
|
|
@@ -352,6 +592,12 @@ module Google
|
|
352
592
|
include Google::Apis::Core::JsonObjectSupport
|
353
593
|
end
|
354
594
|
|
595
|
+
class GoogleCloudDiscoveryengineV1FactChunk
|
596
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
597
|
+
|
598
|
+
include Google::Apis::Core::JsonObjectSupport
|
599
|
+
end
|
600
|
+
|
355
601
|
class GoogleCloudDiscoveryengineV1FetchDomainVerificationStatusResponse
|
356
602
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
603
|
|
@@ -376,6 +622,12 @@ module Google
|
|
376
622
|
include Google::Apis::Core::JsonObjectSupport
|
377
623
|
end
|
378
624
|
|
625
|
+
class GoogleCloudDiscoveryengineV1GroundingFact
|
626
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
627
|
+
|
628
|
+
include Google::Apis::Core::JsonObjectSupport
|
629
|
+
end
|
630
|
+
|
379
631
|
class GoogleCloudDiscoveryengineV1ImportDocumentsMetadata
|
380
632
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
381
633
|
|
@@ -490,6 +742,12 @@ module Google
|
|
490
742
|
include Google::Apis::Core::JsonObjectSupport
|
491
743
|
end
|
492
744
|
|
745
|
+
class GoogleCloudDiscoveryengineV1ListSessionsResponse
|
746
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
747
|
+
|
748
|
+
include Google::Apis::Core::JsonObjectSupport
|
749
|
+
end
|
750
|
+
|
493
751
|
class GoogleCloudDiscoveryengineV1ListTargetSitesResponse
|
494
752
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
753
|
|
@@ -550,6 +808,30 @@ module Google
|
|
550
808
|
include Google::Apis::Core::JsonObjectSupport
|
551
809
|
end
|
552
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
|
+
|
553
835
|
class GoogleCloudDiscoveryengineV1RecommendRequest
|
554
836
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
555
837
|
|
@@ -760,6 +1042,18 @@ module Google
|
|
760
1042
|
include Google::Apis::Core::JsonObjectSupport
|
761
1043
|
end
|
762
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
|
+
|
763
1057
|
class GoogleCloudDiscoveryengineV1SiteSearchEngine
|
764
1058
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
765
1059
|
|
@@ -1633,146 +1927,506 @@ module Google
|
|
1633
1927
|
class GoogleCloudDiscoveryengineV1betaTargetSiteFailureReason
|
1634
1928
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1635
1929
|
|
1636
|
-
include Google::Apis::Core::JsonObjectSupport
|
1930
|
+
include Google::Apis::Core::JsonObjectSupport
|
1931
|
+
end
|
1932
|
+
|
1933
|
+
class GoogleCloudDiscoveryengineV1betaTargetSiteFailureReasonQuotaFailure
|
1934
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1935
|
+
|
1936
|
+
include Google::Apis::Core::JsonObjectSupport
|
1937
|
+
end
|
1938
|
+
|
1939
|
+
class GoogleCloudDiscoveryengineV1betaTrainCustomModelMetadata
|
1940
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1941
|
+
|
1942
|
+
include Google::Apis::Core::JsonObjectSupport
|
1943
|
+
end
|
1944
|
+
|
1945
|
+
class GoogleCloudDiscoveryengineV1betaTrainCustomModelResponse
|
1946
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1947
|
+
|
1948
|
+
include Google::Apis::Core::JsonObjectSupport
|
1949
|
+
end
|
1950
|
+
|
1951
|
+
class GoogleCloudDiscoveryengineV1betaTuneEngineMetadata
|
1952
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1953
|
+
|
1954
|
+
include Google::Apis::Core::JsonObjectSupport
|
1955
|
+
end
|
1956
|
+
|
1957
|
+
class GoogleCloudDiscoveryengineV1betaTuneEngineResponse
|
1958
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1959
|
+
|
1960
|
+
include Google::Apis::Core::JsonObjectSupport
|
1961
|
+
end
|
1962
|
+
|
1963
|
+
class GoogleCloudDiscoveryengineV1betaUpdateSchemaMetadata
|
1964
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1965
|
+
|
1966
|
+
include Google::Apis::Core::JsonObjectSupport
|
1967
|
+
end
|
1968
|
+
|
1969
|
+
class GoogleCloudDiscoveryengineV1betaUpdateTargetSiteMetadata
|
1970
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1971
|
+
|
1972
|
+
include Google::Apis::Core::JsonObjectSupport
|
1973
|
+
end
|
1974
|
+
|
1975
|
+
class GoogleLongrunningCancelOperationRequest
|
1976
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1977
|
+
|
1978
|
+
include Google::Apis::Core::JsonObjectSupport
|
1979
|
+
end
|
1980
|
+
|
1981
|
+
class GoogleLongrunningListOperationsResponse
|
1982
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1983
|
+
|
1984
|
+
include Google::Apis::Core::JsonObjectSupport
|
1985
|
+
end
|
1986
|
+
|
1987
|
+
class GoogleLongrunningOperation
|
1988
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1989
|
+
|
1990
|
+
include Google::Apis::Core::JsonObjectSupport
|
1991
|
+
end
|
1992
|
+
|
1993
|
+
class GoogleProtobufEmpty
|
1994
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1995
|
+
|
1996
|
+
include Google::Apis::Core::JsonObjectSupport
|
1997
|
+
end
|
1998
|
+
|
1999
|
+
class GoogleRpcStatus
|
2000
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2001
|
+
|
2002
|
+
include Google::Apis::Core::JsonObjectSupport
|
2003
|
+
end
|
2004
|
+
|
2005
|
+
class GoogleTypeDate
|
2006
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2007
|
+
|
2008
|
+
include Google::Apis::Core::JsonObjectSupport
|
2009
|
+
end
|
2010
|
+
|
2011
|
+
class GoogleApiHttpBody
|
2012
|
+
# @private
|
2013
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2014
|
+
property :content_type, as: 'contentType'
|
2015
|
+
property :data, :base64 => true, as: 'data'
|
2016
|
+
collection :extensions, as: 'extensions'
|
2017
|
+
end
|
2018
|
+
end
|
2019
|
+
|
2020
|
+
class GoogleCloudDiscoveryengineLoggingErrorContext
|
2021
|
+
# @private
|
2022
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2023
|
+
property :http_request, as: 'httpRequest', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineLoggingHttpRequestContext, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineLoggingHttpRequestContext::Representation
|
2024
|
+
|
2025
|
+
property :report_location, as: 'reportLocation', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineLoggingSourceLocation, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineLoggingSourceLocation::Representation
|
2026
|
+
|
2027
|
+
end
|
2028
|
+
end
|
2029
|
+
|
2030
|
+
class GoogleCloudDiscoveryengineLoggingErrorLog
|
2031
|
+
# @private
|
2032
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2033
|
+
property :context, as: 'context', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineLoggingErrorContext, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineLoggingErrorContext::Representation
|
2034
|
+
|
2035
|
+
property :import_payload, as: 'importPayload', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineLoggingImportErrorContext, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineLoggingImportErrorContext::Representation
|
2036
|
+
|
2037
|
+
property :message, as: 'message'
|
2038
|
+
hash :request_payload, as: 'requestPayload'
|
2039
|
+
hash :response_payload, as: 'responsePayload'
|
2040
|
+
property :service_context, as: 'serviceContext', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineLoggingServiceContext, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineLoggingServiceContext::Representation
|
2041
|
+
|
2042
|
+
property :status, as: 'status', class: Google::Apis::DiscoveryengineV1::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1::GoogleRpcStatus::Representation
|
2043
|
+
|
2044
|
+
end
|
2045
|
+
end
|
2046
|
+
|
2047
|
+
class GoogleCloudDiscoveryengineLoggingHttpRequestContext
|
2048
|
+
# @private
|
2049
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2050
|
+
property :response_status_code, as: 'responseStatusCode'
|
2051
|
+
end
|
2052
|
+
end
|
2053
|
+
|
2054
|
+
class GoogleCloudDiscoveryengineLoggingImportErrorContext
|
2055
|
+
# @private
|
2056
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2057
|
+
property :document, as: 'document'
|
2058
|
+
property :gcs_path, as: 'gcsPath'
|
2059
|
+
property :line_number, as: 'lineNumber'
|
2060
|
+
property :operation, as: 'operation'
|
2061
|
+
property :user_event, as: 'userEvent'
|
2062
|
+
end
|
2063
|
+
end
|
2064
|
+
|
2065
|
+
class GoogleCloudDiscoveryengineLoggingServiceContext
|
2066
|
+
# @private
|
2067
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2068
|
+
property :service, as: 'service'
|
2069
|
+
end
|
2070
|
+
end
|
2071
|
+
|
2072
|
+
class GoogleCloudDiscoveryengineLoggingSourceLocation
|
2073
|
+
# @private
|
2074
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2075
|
+
property :function_name, as: 'functionName'
|
2076
|
+
end
|
2077
|
+
end
|
2078
|
+
|
2079
|
+
class GoogleCloudDiscoveryengineV1Answer
|
2080
|
+
# @private
|
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'
|
2087
|
+
property :create_time, as: 'createTime'
|
2088
|
+
property :name, as: 'name'
|
2089
|
+
property :query_understanding_info, as: 'queryUnderstandingInfo', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfo, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfo::Representation
|
2090
|
+
|
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
|
2096
|
+
|
2097
|
+
end
|
2098
|
+
end
|
2099
|
+
|
2100
|
+
class GoogleCloudDiscoveryengineV1AnswerCitation
|
2101
|
+
# @private
|
2102
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
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
|
2105
|
+
|
2106
|
+
property :start_index, :numeric_string => true, as: 'startIndex'
|
2107
|
+
end
|
2108
|
+
end
|
2109
|
+
|
2110
|
+
class GoogleCloudDiscoveryengineV1AnswerCitationSource
|
2111
|
+
# @private
|
2112
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2113
|
+
property :reference_id, as: 'referenceId'
|
2114
|
+
end
|
2115
|
+
end
|
2116
|
+
|
2117
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequest
|
2118
|
+
# @private
|
2119
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2120
|
+
property :answer_generation_spec, as: 'answerGenerationSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec::Representation
|
2121
|
+
|
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'
|
2135
|
+
end
|
2136
|
+
end
|
2137
|
+
|
2138
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec
|
2139
|
+
# @private
|
2140
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
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
|
2148
|
+
|
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
|
1637
2223
|
end
|
1638
2224
|
|
1639
|
-
class
|
1640
|
-
|
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
|
1641
2229
|
|
1642
|
-
|
2230
|
+
end
|
1643
2231
|
end
|
1644
2232
|
|
1645
|
-
class
|
1646
|
-
|
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
|
1647
2237
|
|
1648
|
-
|
1649
|
-
end
|
2238
|
+
property :unstructured_document_info, as: 'unstructuredDocumentInfo', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo::Representation
|
1650
2239
|
|
1651
|
-
|
1652
|
-
|
2240
|
+
end
|
2241
|
+
end
|
1653
2242
|
|
1654
|
-
|
2243
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfo
|
2244
|
+
# @private
|
2245
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2246
|
+
property :chunk, as: 'chunk'
|
2247
|
+
property :content, as: 'content'
|
2248
|
+
end
|
1655
2249
|
end
|
1656
2250
|
|
1657
|
-
class
|
1658
|
-
|
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
|
1659
2256
|
|
1660
|
-
|
1661
|
-
end
|
2257
|
+
collection :extractive_answers, as: 'extractiveAnswers', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveAnswer::Representation
|
1662
2258
|
|
1663
|
-
|
1664
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2259
|
+
collection :extractive_segments, as: 'extractiveSegments', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfoExtractiveSegment::Representation
|
1665
2260
|
|
1666
|
-
|
2261
|
+
property :title, as: 'title'
|
2262
|
+
property :uri, as: 'uri'
|
2263
|
+
end
|
1667
2264
|
end
|
1668
2265
|
|
1669
|
-
class
|
1670
|
-
|
1671
|
-
|
1672
|
-
|
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
|
1673
2272
|
end
|
1674
2273
|
|
1675
|
-
class
|
1676
|
-
|
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
|
1677
2281
|
|
1678
|
-
|
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
|
1679
2288
|
end
|
1680
2289
|
|
1681
|
-
class
|
1682
|
-
|
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
|
1683
2294
|
|
1684
|
-
|
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
|
1685
2299
|
end
|
1686
2300
|
|
1687
|
-
class
|
1688
|
-
|
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
|
1689
2305
|
|
1690
|
-
|
2306
|
+
end
|
1691
2307
|
end
|
1692
2308
|
|
1693
|
-
class
|
1694
|
-
|
1695
|
-
|
1696
|
-
|
2309
|
+
class GoogleCloudDiscoveryengineV1AnswerQueryUnderstandingInfoQueryClassificationInfo
|
2310
|
+
# @private
|
2311
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2312
|
+
property :positive, as: 'positive'
|
2313
|
+
property :type, as: 'type'
|
2314
|
+
end
|
1697
2315
|
end
|
1698
2316
|
|
1699
|
-
class
|
1700
|
-
|
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
|
1701
2321
|
|
1702
|
-
|
2322
|
+
property :unstructured_document_info, as: 'unstructuredDocumentInfo', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo::Representation
|
2323
|
+
|
2324
|
+
end
|
1703
2325
|
end
|
1704
2326
|
|
1705
|
-
class
|
1706
|
-
|
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
|
1707
2333
|
|
1708
|
-
|
2334
|
+
property :relevance_score, as: 'relevanceScore'
|
2335
|
+
end
|
1709
2336
|
end
|
1710
2337
|
|
1711
|
-
class
|
2338
|
+
class GoogleCloudDiscoveryengineV1AnswerReferenceChunkInfoDocumentMetadata
|
1712
2339
|
# @private
|
1713
2340
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1714
|
-
property :
|
1715
|
-
property :
|
1716
|
-
|
2341
|
+
property :document, as: 'document'
|
2342
|
+
property :page_identifier, as: 'pageIdentifier'
|
2343
|
+
property :title, as: 'title'
|
2344
|
+
property :uri, as: 'uri'
|
1717
2345
|
end
|
1718
2346
|
end
|
1719
2347
|
|
1720
|
-
class
|
2348
|
+
class GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfo
|
1721
2349
|
# @private
|
1722
2350
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1723
|
-
|
2351
|
+
collection :chunk_contents, as: 'chunkContents', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent::Representation
|
1724
2352
|
|
1725
|
-
property :
|
2353
|
+
property :document, as: 'document'
|
2354
|
+
property :title, as: 'title'
|
2355
|
+
property :uri, as: 'uri'
|
2356
|
+
end
|
2357
|
+
end
|
1726
2358
|
|
2359
|
+
class GoogleCloudDiscoveryengineV1AnswerReferenceUnstructuredDocumentInfoChunkContent
|
2360
|
+
# @private
|
2361
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2362
|
+
property :content, as: 'content'
|
2363
|
+
property :page_identifier, as: 'pageIdentifier'
|
1727
2364
|
end
|
1728
2365
|
end
|
1729
2366
|
|
1730
|
-
class
|
2367
|
+
class GoogleCloudDiscoveryengineV1AnswerStep
|
1731
2368
|
# @private
|
1732
2369
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1733
|
-
|
2370
|
+
collection :actions, as: 'actions', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerStepAction, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerStepAction::Representation
|
1734
2371
|
|
1735
|
-
property :
|
2372
|
+
property :description, as: 'description'
|
2373
|
+
property :state, as: 'state'
|
2374
|
+
property :thought, as: 'thought'
|
2375
|
+
end
|
2376
|
+
end
|
1736
2377
|
|
1737
|
-
|
1738
|
-
|
1739
|
-
|
1740
|
-
property :
|
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
|
1741
2382
|
|
1742
|
-
property :
|
2383
|
+
property :search_action, as: 'searchAction', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerStepActionSearchAction, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerStepActionSearchAction::Representation
|
1743
2384
|
|
1744
2385
|
end
|
1745
2386
|
end
|
1746
2387
|
|
1747
|
-
class
|
2388
|
+
class GoogleCloudDiscoveryengineV1AnswerStepActionObservation
|
1748
2389
|
# @private
|
1749
2390
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1750
|
-
|
2391
|
+
collection :search_results, as: 'searchResults', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult::Representation
|
2392
|
+
|
1751
2393
|
end
|
1752
2394
|
end
|
1753
2395
|
|
1754
|
-
class
|
2396
|
+
class GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResult
|
1755
2397
|
# @private
|
1756
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
|
+
|
1757
2401
|
property :document, as: 'document'
|
1758
|
-
|
1759
|
-
|
1760
|
-
property :
|
1761
|
-
property :
|
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'
|
1762
2406
|
end
|
1763
2407
|
end
|
1764
2408
|
|
1765
|
-
class
|
2409
|
+
class GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultChunkInfo
|
1766
2410
|
# @private
|
1767
2411
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1768
|
-
property :
|
2412
|
+
property :chunk, as: 'chunk'
|
2413
|
+
property :content, as: 'content'
|
2414
|
+
property :relevance_score, as: 'relevanceScore'
|
1769
2415
|
end
|
1770
2416
|
end
|
1771
2417
|
|
1772
|
-
class
|
2418
|
+
class GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultSnippetInfo
|
1773
2419
|
# @private
|
1774
2420
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1775
|
-
property :
|
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'
|
1776
2430
|
end
|
1777
2431
|
end
|
1778
2432
|
|
@@ -1860,6 +2514,47 @@ module Google
|
|
1860
2514
|
end
|
1861
2515
|
end
|
1862
2516
|
|
2517
|
+
class GoogleCloudDiscoveryengineV1CheckGroundingRequest
|
2518
|
+
# @private
|
2519
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2520
|
+
property :answer_candidate, as: 'answerCandidate'
|
2521
|
+
collection :facts, as: 'facts', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GroundingFact, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GroundingFact::Representation
|
2522
|
+
|
2523
|
+
property :grounding_spec, as: 'groundingSpec', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CheckGroundingSpec, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CheckGroundingSpec::Representation
|
2524
|
+
|
2525
|
+
hash :user_labels, as: 'userLabels'
|
2526
|
+
end
|
2527
|
+
end
|
2528
|
+
|
2529
|
+
class GoogleCloudDiscoveryengineV1CheckGroundingResponse
|
2530
|
+
# @private
|
2531
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2532
|
+
collection :cited_chunks, as: 'citedChunks', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1FactChunk, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1FactChunk::Representation
|
2533
|
+
|
2534
|
+
collection :claims, as: 'claims', class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim, decorator: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim::Representation
|
2535
|
+
|
2536
|
+
property :support_score, as: 'supportScore'
|
2537
|
+
end
|
2538
|
+
end
|
2539
|
+
|
2540
|
+
class GoogleCloudDiscoveryengineV1CheckGroundingResponseClaim
|
2541
|
+
# @private
|
2542
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2543
|
+
collection :citation_indices, as: 'citationIndices'
|
2544
|
+
property :claim_text, as: 'claimText'
|
2545
|
+
property :end_pos, as: 'endPos'
|
2546
|
+
property :grounding_check_required, as: 'groundingCheckRequired'
|
2547
|
+
property :start_pos, as: 'startPos'
|
2548
|
+
end
|
2549
|
+
end
|
2550
|
+
|
2551
|
+
class GoogleCloudDiscoveryengineV1CheckGroundingSpec
|
2552
|
+
# @private
|
2553
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2554
|
+
property :citation_threshold, as: 'citationThreshold'
|
2555
|
+
end
|
2556
|
+
end
|
2557
|
+
|
1863
2558
|
class GoogleCloudDiscoveryengineV1CloudSqlSource
|
1864
2559
|
# @private
|
1865
2560
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2230,6 +2925,16 @@ module Google
|
|
2230
2925
|
end
|
2231
2926
|
end
|
2232
2927
|
|
2928
|
+
class GoogleCloudDiscoveryengineV1FactChunk
|
2929
|
+
# @private
|
2930
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2931
|
+
property :chunk_text, as: 'chunkText'
|
2932
|
+
property :index, as: 'index'
|
2933
|
+
property :source, as: 'source'
|
2934
|
+
hash :source_metadata, as: 'sourceMetadata'
|
2935
|
+
end
|
2936
|
+
end
|
2937
|
+
|
2233
2938
|
class GoogleCloudDiscoveryengineV1FetchDomainVerificationStatusResponse
|
2234
2939
|
# @private
|
2235
2940
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2266,6 +2971,14 @@ module Google
|
|
2266
2971
|
end
|
2267
2972
|
end
|
2268
2973
|
|
2974
|
+
class GoogleCloudDiscoveryengineV1GroundingFact
|
2975
|
+
# @private
|
2976
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2977
|
+
hash :attributes, as: 'attributes'
|
2978
|
+
property :fact_text, as: 'factText'
|
2979
|
+
end
|
2980
|
+
end
|
2981
|
+
|
2269
2982
|
class GoogleCloudDiscoveryengineV1ImportDocumentsMetadata
|
2270
2983
|
# @private
|
2271
2984
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2465,6 +3178,15 @@ module Google
|
|
2465
3178
|
end
|
2466
3179
|
end
|
2467
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
|
+
|
2468
3190
|
class GoogleCloudDiscoveryengineV1ListTargetSitesResponse
|
2469
3191
|
# @private
|
2470
3192
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2553,6 +3275,44 @@ module Google
|
|
2553
3275
|
end
|
2554
3276
|
end
|
2555
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
|
+
|
2556
3316
|
class GoogleCloudDiscoveryengineV1RecommendRequest
|
2557
3317
|
# @private
|
2558
3318
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2917,6 +3677,28 @@ module Google
|
|
2917
3677
|
end
|
2918
3678
|
end
|
2919
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
|
+
|
2920
3702
|
class GoogleCloudDiscoveryengineV1SiteSearchEngine
|
2921
3703
|
# @private
|
2922
3704
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4366,6 +5148,12 @@ module Google
|
|
4366
5148
|
end
|
4367
5149
|
end
|
4368
5150
|
|
5151
|
+
class GoogleLongrunningCancelOperationRequest
|
5152
|
+
# @private
|
5153
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5154
|
+
end
|
5155
|
+
end
|
5156
|
+
|
4369
5157
|
class GoogleLongrunningListOperationsResponse
|
4370
5158
|
# @private
|
4371
5159
|
class Representation < Google::Apis::Core::JsonRepresentation
|