@maxim_mazurok/gapi.client.discoveryengine-v1 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=v1
12
- // Revision: 20240826
12
+ // Revision: 20240829
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -2784,6 +2784,8 @@ declare namespace gapi.client {
2784
2784
  derivedStructData?: {[P in string]: any};
2785
2785
  /** 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. */
2786
2786
  id?: string;
2787
+ /** 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. */
2788
+ indexStatus?: GoogleCloudDiscoveryengineV1DocumentIndexStatus;
2787
2789
  /** 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. */
2788
2790
  indexTime?: string;
2789
2791
  /** The JSON string representation of the document. It should conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown. */
@@ -2805,6 +2807,12 @@ declare namespace gapi.client {
2805
2807
  /** 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. */
2806
2808
  uri?: string;
2807
2809
  }
2810
+ interface GoogleCloudDiscoveryengineV1DocumentIndexStatus {
2811
+ /** A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors. */
2812
+ errorSamples?: GoogleRpcStatus[];
2813
+ /** The time when the document was indexed. If this field is populated, it means the document has been indexed. */
2814
+ indexTime?: string;
2815
+ }
2808
2816
  interface GoogleCloudDiscoveryengineV1DocumentInfo {
2809
2817
  /** The Document resource ID. */
2810
2818
  id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1",
3
- "version": "0.0.20240826",
3
+ "version": "0.0.20240829",
4
4
  "description": "TypeScript typings for Discovery Engine API v1",
5
5
  "repository": {
6
6
  "type": "git",