@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20230102 → 0.0.20230105
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.
- package/index.d.ts +55 -1
- package/package.json +1 -1
- package/tests.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://discoveryengine.googleapis.com/$discovery/rest?version=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230105
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -30,6 +30,60 @@ declare namespace gapi.client {
|
|
|
30
30
|
/** Application specific response metadata. Must be set in the first response for streaming APIs. */
|
|
31
31
|
extensions?: Array<{ [P in string]: any }>;
|
|
32
32
|
}
|
|
33
|
+
interface GoogleCloudDiscoveryengineLoggingErrorContext {
|
|
34
|
+
/** The HTTP request which was processed when the error was triggered. */
|
|
35
|
+
httpRequest?: GoogleCloudDiscoveryengineLoggingHttpRequestContext;
|
|
36
|
+
/** The location in the source code where the decision was made to report the error, usually the place where it was logged. */
|
|
37
|
+
reportLocation?: GoogleCloudDiscoveryengineLoggingSourceLocation;
|
|
38
|
+
}
|
|
39
|
+
interface GoogleCloudDiscoveryengineLoggingErrorLog {
|
|
40
|
+
/** A description of the context in which the error occurred. */
|
|
41
|
+
context?: GoogleCloudDiscoveryengineLoggingErrorContext;
|
|
42
|
+
/** The error payload that is populated on LRO import APIs. */
|
|
43
|
+
importPayload?: GoogleCloudDiscoveryengineLoggingImportErrorContext;
|
|
44
|
+
/** A message describing the error. */
|
|
45
|
+
message?: string;
|
|
46
|
+
/**
|
|
47
|
+
* The API request payload, represented as a protocol buffer. Most API request types are supported. For example:
|
|
48
|
+
* "type.googleapis.com/google.cloud.discoveryengine.v1alpha.DocumentService.CreateDocumentRequest"
|
|
49
|
+
* "type.googleapis.com/google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEventRequest"
|
|
50
|
+
*/
|
|
51
|
+
requestPayload?: { [P in string]: any };
|
|
52
|
+
/**
|
|
53
|
+
* The API response payload, represented as a protocol buffer. This is used to log some "soft errors", where the response is valid but we consider there are some quality issues like
|
|
54
|
+
* unjoined events. The following API responses are supported and no PII is included: "google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend"
|
|
55
|
+
* "google.cloud.discoveryengine.v1alpha.UserEventService.WriteUserEvent" "google.cloud.discoveryengine.v1alpha.UserEventService.CollectUserEvent"
|
|
56
|
+
*/
|
|
57
|
+
responsePayload?: { [P in string]: any };
|
|
58
|
+
/** The service context in which this error has occurred. */
|
|
59
|
+
serviceContext?: GoogleCloudDiscoveryengineLoggingServiceContext;
|
|
60
|
+
/** The RPC status associated with the error log. */
|
|
61
|
+
status?: GoogleRpcStatus;
|
|
62
|
+
}
|
|
63
|
+
interface GoogleCloudDiscoveryengineLoggingHttpRequestContext {
|
|
64
|
+
/** The HTTP response status code for the request. */
|
|
65
|
+
responseStatusCode?: number;
|
|
66
|
+
}
|
|
67
|
+
interface GoogleCloudDiscoveryengineLoggingImportErrorContext {
|
|
68
|
+
/** The detailed content which caused the error on importing a document. */
|
|
69
|
+
document?: string;
|
|
70
|
+
/** Google Cloud Storage file path of the import source. Can be set for batch operation error. */
|
|
71
|
+
gcsPath?: string;
|
|
72
|
+
/** Line number of the content in file. Should be empty for permission or batch operation error. */
|
|
73
|
+
lineNumber?: string;
|
|
74
|
+
/** The operation resource name of the LRO. */
|
|
75
|
+
operation?: string;
|
|
76
|
+
/** The detailed content which caused the error on importing a user event. */
|
|
77
|
+
userEvent?: string;
|
|
78
|
+
}
|
|
79
|
+
interface GoogleCloudDiscoveryengineLoggingServiceContext {
|
|
80
|
+
/** An identifier of the service. For example, "discoveryengine.googleapis.com". */
|
|
81
|
+
service?: string;
|
|
82
|
+
}
|
|
83
|
+
interface GoogleCloudDiscoveryengineLoggingSourceLocation {
|
|
84
|
+
/** Human-readable name of a function or method. For example, " google.cloud.discoveryengine.v1alpha.RecommendationService.Recommend". */
|
|
85
|
+
functionName?: string;
|
|
86
|
+
}
|
|
33
87
|
interface GoogleCloudDiscoveryengineV1alphaBigQuerySource {
|
|
34
88
|
/**
|
|
35
89
|
* The schema to use when parsing the data from the source. Supported values for imports: * `user_event` (default): One JSON UserEvent per line. * `document` (default): One JSON
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230105
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|