@maxim_mazurok/gapi.client.discoveryengine-v1beta 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.
Files changed (2) hide show
  1. package/index.d.ts +9 -1
  2. 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=v1beta
12
- // Revision: 20240826
12
+ // Revision: 20240829
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1996,6 +1996,8 @@ declare namespace gapi.client {
1996
1996
  derivedStructData?: {[P in string]: any};
1997
1997
  /** 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. */
1998
1998
  id?: string;
1999
+ /** 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. */
2000
+ indexStatus?: GoogleCloudDiscoveryengineV1betaDocumentIndexStatus;
1999
2001
  /** 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. */
2000
2002
  indexTime?: string;
2001
2003
  /** The JSON string representation of the document. It should conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown. */
@@ -2017,6 +2019,12 @@ declare namespace gapi.client {
2017
2019
  /** 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. */
2018
2020
  uri?: string;
2019
2021
  }
2022
+ interface GoogleCloudDiscoveryengineV1betaDocumentIndexStatus {
2023
+ /** A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors. */
2024
+ errorSamples?: GoogleRpcStatus[];
2025
+ /** The time when the document was indexed. If this field is populated, it means the document has been indexed. */
2026
+ indexTime?: string;
2027
+ }
2020
2028
  interface GoogleCloudDiscoveryengineV1betaDocumentInfo {
2021
2029
  /** The Document resource ID. */
2022
2030
  id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1beta",
3
- "version": "0.0.20240826",
3
+ "version": "0.0.20240829",
4
4
  "description": "TypeScript typings for Discovery Engine API v1beta",
5
5
  "repository": {
6
6
  "type": "git",