@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20240826 → 0.0.20240829
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 +9 -1
- package/package.json +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: 20240829
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -949,6 +949,8 @@ declare namespace gapi.client {
|
|
|
949
949
|
derivedStructData?: {[P in string]: any};
|
|
950
950
|
/** Immutable. The identifier of the document. Id should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. */
|
|
951
951
|
id?: string;
|
|
952
|
+
/** Output only. The index status of the document. * If document is indexed successfully, the index_time field is populated. * Otherwise, if document is not indexed due to errors, the error_samples field is populated. * Otherwise, index_status is unset. */
|
|
953
|
+
indexStatus?: GoogleCloudDiscoveryengineV1alphaDocumentIndexStatus;
|
|
952
954
|
/** Output only. The last time the document was indexed. If this field is set, the document could be returned in search results. This field is OUTPUT_ONLY. If this field is not populated, it means the document has never been indexed. */
|
|
953
955
|
indexTime?: string;
|
|
954
956
|
/** The JSON string representation of the document. It should conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown. */
|
|
@@ -980,6 +982,12 @@ declare namespace gapi.client {
|
|
|
980
982
|
/** The URI of the content. Only Cloud Storage URIs (e.g. `gs://bucket-name/path/to/file`) are supported. The maximum file size is 2.5 MB for text-based formats, 200 MB for other formats. */
|
|
981
983
|
uri?: string;
|
|
982
984
|
}
|
|
985
|
+
interface GoogleCloudDiscoveryengineV1alphaDocumentIndexStatus {
|
|
986
|
+
/** A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors. */
|
|
987
|
+
errorSamples?: GoogleRpcStatus[];
|
|
988
|
+
/** The time when the document was indexed. If this field is populated, it means the document has been indexed. */
|
|
989
|
+
indexTime?: string;
|
|
990
|
+
}
|
|
983
991
|
interface GoogleCloudDiscoveryengineV1alphaDocumentInfo {
|
|
984
992
|
/** The Document resource ID. */
|
|
985
993
|
id?: string;
|