google-apis-discoveryengine_v1beta 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 990d9567579e21bcc07ce3b1f95b38ccfb038dd779f94fa04bc81a9afcb75cf7
|
4
|
+
data.tar.gz: 2edb2596166a4d37db439fcc4cf4f8f80dfe1d855b70c99a68b21f5778c422a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17287c3513febe193085a9c35a8fde3797acd851fe55c2826852c597e843823e7cdb4d8fd39c390a2100c8d03aa43fd6a506a09601ccf07343549317599330fa
|
7
|
+
data.tar.gz: c1fb41400f22ab79f2a5b41a507c04dfbe6c804db2a0929c113e74772903923bfddf476a9b12bdd2e4b4db5e72a0607f590bdc5cdafb2a8a2d21f1f20a5e75f1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-discoveryengine_v1beta
|
2
2
|
|
3
|
+
### v0.5.0 (2023-01-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230105
|
6
|
+
* Regenerated using generator version 0.11.1
|
7
|
+
|
3
8
|
### v0.4.0 (2022-12-14)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20221207
|
@@ -70,6 +70,210 @@ module Google
|
|
70
70
|
end
|
71
71
|
end
|
72
72
|
|
73
|
+
# A description of the context in which an error occurred.
|
74
|
+
class GoogleCloudDiscoveryengineLoggingErrorContext
|
75
|
+
include Google::Apis::Core::Hashable
|
76
|
+
|
77
|
+
# HTTP request data that is related to a reported error.
|
78
|
+
# Corresponds to the JSON property `httpRequest`
|
79
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingHttpRequestContext]
|
80
|
+
attr_accessor :http_request
|
81
|
+
|
82
|
+
# Indicates a location in the source code of the service for which errors are
|
83
|
+
# reported.
|
84
|
+
# Corresponds to the JSON property `reportLocation`
|
85
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingSourceLocation]
|
86
|
+
attr_accessor :report_location
|
87
|
+
|
88
|
+
def initialize(**args)
|
89
|
+
update!(**args)
|
90
|
+
end
|
91
|
+
|
92
|
+
# Update properties of this object
|
93
|
+
def update!(**args)
|
94
|
+
@http_request = args[:http_request] if args.key?(:http_request)
|
95
|
+
@report_location = args[:report_location] if args.key?(:report_location)
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
# An error log which is reported to the Error Reporting system.
|
100
|
+
class GoogleCloudDiscoveryengineLoggingErrorLog
|
101
|
+
include Google::Apis::Core::Hashable
|
102
|
+
|
103
|
+
# A description of the context in which an error occurred.
|
104
|
+
# Corresponds to the JSON property `context`
|
105
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingErrorContext]
|
106
|
+
attr_accessor :context
|
107
|
+
|
108
|
+
# The error payload that is populated on LRO import APIs. Including: "google.
|
109
|
+
# cloud.discoveryengine.v1alpha.DocumentService.ImportDocuments" "google.cloud.
|
110
|
+
# discoveryengine.v1alpha.UserEventService.ImportUserEvents"
|
111
|
+
# Corresponds to the JSON property `importPayload`
|
112
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingImportErrorContext]
|
113
|
+
attr_accessor :import_payload
|
114
|
+
|
115
|
+
# A message describing the error.
|
116
|
+
# Corresponds to the JSON property `message`
|
117
|
+
# @return [String]
|
118
|
+
attr_accessor :message
|
119
|
+
|
120
|
+
# The API request payload, represented as a protocol buffer. Most API request
|
121
|
+
# types are supported. For example: "type.googleapis.com/google.cloud.
|
122
|
+
# discoveryengine.v1alpha.DocumentService.CreateDocumentRequest" "type.
|
123
|
+
# googleapis.com/google.cloud.discoveryengine.v1alpha.UserEventService.
|
124
|
+
# WriteUserEventRequest"
|
125
|
+
# Corresponds to the JSON property `requestPayload`
|
126
|
+
# @return [Hash<String,Object>]
|
127
|
+
attr_accessor :request_payload
|
128
|
+
|
129
|
+
# The API response payload, represented as a protocol buffer. This is used to
|
130
|
+
# log some "soft errors", where the response is valid but we consider there are
|
131
|
+
# some quality issues like unjoined events. The following API responses are
|
132
|
+
# supported and no PII is included: "google.cloud.discoveryengine.v1alpha.
|
133
|
+
# RecommendationService.Recommend" "google.cloud.discoveryengine.v1alpha.
|
134
|
+
# UserEventService.WriteUserEvent" "google.cloud.discoveryengine.v1alpha.
|
135
|
+
# UserEventService.CollectUserEvent"
|
136
|
+
# Corresponds to the JSON property `responsePayload`
|
137
|
+
# @return [Hash<String,Object>]
|
138
|
+
attr_accessor :response_payload
|
139
|
+
|
140
|
+
# Describes a running service that sends errors.
|
141
|
+
# Corresponds to the JSON property `serviceContext`
|
142
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingServiceContext]
|
143
|
+
attr_accessor :service_context
|
144
|
+
|
145
|
+
# The `Status` type defines a logical error model that is suitable for different
|
146
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
147
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
148
|
+
# data: error code, error message, and error details. You can find out more
|
149
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
150
|
+
# //cloud.google.com/apis/design/errors).
|
151
|
+
# Corresponds to the JSON property `status`
|
152
|
+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus]
|
153
|
+
attr_accessor :status
|
154
|
+
|
155
|
+
def initialize(**args)
|
156
|
+
update!(**args)
|
157
|
+
end
|
158
|
+
|
159
|
+
# Update properties of this object
|
160
|
+
def update!(**args)
|
161
|
+
@context = args[:context] if args.key?(:context)
|
162
|
+
@import_payload = args[:import_payload] if args.key?(:import_payload)
|
163
|
+
@message = args[:message] if args.key?(:message)
|
164
|
+
@request_payload = args[:request_payload] if args.key?(:request_payload)
|
165
|
+
@response_payload = args[:response_payload] if args.key?(:response_payload)
|
166
|
+
@service_context = args[:service_context] if args.key?(:service_context)
|
167
|
+
@status = args[:status] if args.key?(:status)
|
168
|
+
end
|
169
|
+
end
|
170
|
+
|
171
|
+
# HTTP request data that is related to a reported error.
|
172
|
+
class GoogleCloudDiscoveryengineLoggingHttpRequestContext
|
173
|
+
include Google::Apis::Core::Hashable
|
174
|
+
|
175
|
+
# The HTTP response status code for the request.
|
176
|
+
# Corresponds to the JSON property `responseStatusCode`
|
177
|
+
# @return [Fixnum]
|
178
|
+
attr_accessor :response_status_code
|
179
|
+
|
180
|
+
def initialize(**args)
|
181
|
+
update!(**args)
|
182
|
+
end
|
183
|
+
|
184
|
+
# Update properties of this object
|
185
|
+
def update!(**args)
|
186
|
+
@response_status_code = args[:response_status_code] if args.key?(:response_status_code)
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
190
|
+
# The error payload that is populated on LRO import APIs. Including: "google.
|
191
|
+
# cloud.discoveryengine.v1alpha.DocumentService.ImportDocuments" "google.cloud.
|
192
|
+
# discoveryengine.v1alpha.UserEventService.ImportUserEvents"
|
193
|
+
class GoogleCloudDiscoveryengineLoggingImportErrorContext
|
194
|
+
include Google::Apis::Core::Hashable
|
195
|
+
|
196
|
+
# The detailed content which caused the error on importing a document.
|
197
|
+
# Corresponds to the JSON property `document`
|
198
|
+
# @return [String]
|
199
|
+
attr_accessor :document
|
200
|
+
|
201
|
+
# Google Cloud Storage file path of the import source. Can be set for batch
|
202
|
+
# operation error.
|
203
|
+
# Corresponds to the JSON property `gcsPath`
|
204
|
+
# @return [String]
|
205
|
+
attr_accessor :gcs_path
|
206
|
+
|
207
|
+
# Line number of the content in file. Should be empty for permission or batch
|
208
|
+
# operation error.
|
209
|
+
# Corresponds to the JSON property `lineNumber`
|
210
|
+
# @return [String]
|
211
|
+
attr_accessor :line_number
|
212
|
+
|
213
|
+
# The operation resource name of the LRO.
|
214
|
+
# Corresponds to the JSON property `operation`
|
215
|
+
# @return [String]
|
216
|
+
attr_accessor :operation
|
217
|
+
|
218
|
+
# The detailed content which caused the error on importing a user event.
|
219
|
+
# Corresponds to the JSON property `userEvent`
|
220
|
+
# @return [String]
|
221
|
+
attr_accessor :user_event
|
222
|
+
|
223
|
+
def initialize(**args)
|
224
|
+
update!(**args)
|
225
|
+
end
|
226
|
+
|
227
|
+
# Update properties of this object
|
228
|
+
def update!(**args)
|
229
|
+
@document = args[:document] if args.key?(:document)
|
230
|
+
@gcs_path = args[:gcs_path] if args.key?(:gcs_path)
|
231
|
+
@line_number = args[:line_number] if args.key?(:line_number)
|
232
|
+
@operation = args[:operation] if args.key?(:operation)
|
233
|
+
@user_event = args[:user_event] if args.key?(:user_event)
|
234
|
+
end
|
235
|
+
end
|
236
|
+
|
237
|
+
# Describes a running service that sends errors.
|
238
|
+
class GoogleCloudDiscoveryengineLoggingServiceContext
|
239
|
+
include Google::Apis::Core::Hashable
|
240
|
+
|
241
|
+
# An identifier of the service. For example, "discoveryengine.googleapis.com".
|
242
|
+
# Corresponds to the JSON property `service`
|
243
|
+
# @return [String]
|
244
|
+
attr_accessor :service
|
245
|
+
|
246
|
+
def initialize(**args)
|
247
|
+
update!(**args)
|
248
|
+
end
|
249
|
+
|
250
|
+
# Update properties of this object
|
251
|
+
def update!(**args)
|
252
|
+
@service = args[:service] if args.key?(:service)
|
253
|
+
end
|
254
|
+
end
|
255
|
+
|
256
|
+
# Indicates a location in the source code of the service for which errors are
|
257
|
+
# reported.
|
258
|
+
class GoogleCloudDiscoveryengineLoggingSourceLocation
|
259
|
+
include Google::Apis::Core::Hashable
|
260
|
+
|
261
|
+
# Human-readable name of a function or method. For example, " google.cloud.
|
262
|
+
# discoveryengine.v1alpha.RecommendationService.Recommend".
|
263
|
+
# Corresponds to the JSON property `functionName`
|
264
|
+
# @return [String]
|
265
|
+
attr_accessor :function_name
|
266
|
+
|
267
|
+
def initialize(**args)
|
268
|
+
update!(**args)
|
269
|
+
end
|
270
|
+
|
271
|
+
# Update properties of this object
|
272
|
+
def update!(**args)
|
273
|
+
@function_name = args[:function_name] if args.key?(:function_name)
|
274
|
+
end
|
275
|
+
end
|
276
|
+
|
73
277
|
# Metadata related to the progress of the ImportDocuments operation. This will
|
74
278
|
# be returned by the google.longrunning.Operation.metadata field.
|
75
279
|
class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DiscoveryengineV1beta
|
18
18
|
# Version of the google-apis-discoveryengine_v1beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.5.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.11.
|
22
|
+
GENERATOR_VERSION = "0.11.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230105"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,6 +28,42 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class GoogleCloudDiscoveryengineLoggingErrorContext
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class GoogleCloudDiscoveryengineLoggingErrorLog
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class GoogleCloudDiscoveryengineLoggingHttpRequestContext
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class GoogleCloudDiscoveryengineLoggingImportErrorContext
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class GoogleCloudDiscoveryengineLoggingServiceContext
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class GoogleCloudDiscoveryengineLoggingSourceLocation
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
31
67
|
class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
|
32
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
69
|
|
@@ -253,6 +289,65 @@ module Google
|
|
253
289
|
end
|
254
290
|
end
|
255
291
|
|
292
|
+
class GoogleCloudDiscoveryengineLoggingErrorContext
|
293
|
+
# @private
|
294
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
295
|
+
property :http_request, as: 'httpRequest', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingHttpRequestContext, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingHttpRequestContext::Representation
|
296
|
+
|
297
|
+
property :report_location, as: 'reportLocation', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingSourceLocation, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingSourceLocation::Representation
|
298
|
+
|
299
|
+
end
|
300
|
+
end
|
301
|
+
|
302
|
+
class GoogleCloudDiscoveryengineLoggingErrorLog
|
303
|
+
# @private
|
304
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
305
|
+
property :context, as: 'context', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingErrorContext, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingErrorContext::Representation
|
306
|
+
|
307
|
+
property :import_payload, as: 'importPayload', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingImportErrorContext, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingImportErrorContext::Representation
|
308
|
+
|
309
|
+
property :message, as: 'message'
|
310
|
+
hash :request_payload, as: 'requestPayload'
|
311
|
+
hash :response_payload, as: 'responsePayload'
|
312
|
+
property :service_context, as: 'serviceContext', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingServiceContext, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingServiceContext::Representation
|
313
|
+
|
314
|
+
property :status, as: 'status', class: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus, decorator: Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus::Representation
|
315
|
+
|
316
|
+
end
|
317
|
+
end
|
318
|
+
|
319
|
+
class GoogleCloudDiscoveryengineLoggingHttpRequestContext
|
320
|
+
# @private
|
321
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
322
|
+
property :response_status_code, as: 'responseStatusCode'
|
323
|
+
end
|
324
|
+
end
|
325
|
+
|
326
|
+
class GoogleCloudDiscoveryengineLoggingImportErrorContext
|
327
|
+
# @private
|
328
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
329
|
+
property :document, as: 'document'
|
330
|
+
property :gcs_path, as: 'gcsPath'
|
331
|
+
property :line_number, as: 'lineNumber'
|
332
|
+
property :operation, as: 'operation'
|
333
|
+
property :user_event, as: 'userEvent'
|
334
|
+
end
|
335
|
+
end
|
336
|
+
|
337
|
+
class GoogleCloudDiscoveryengineLoggingServiceContext
|
338
|
+
# @private
|
339
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
340
|
+
property :service, as: 'service'
|
341
|
+
end
|
342
|
+
end
|
343
|
+
|
344
|
+
class GoogleCloudDiscoveryengineLoggingSourceLocation
|
345
|
+
# @private
|
346
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
347
|
+
property :function_name, as: 'functionName'
|
348
|
+
end
|
349
|
+
end
|
350
|
+
|
256
351
|
class GoogleCloudDiscoveryengineV1alphaImportDocumentsMetadata
|
257
352
|
# @private
|
258
353
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-discoveryengine_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.5.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.4.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Discovery Engine API V1beta
|