@maxim_mazurok/gapi.client.discoveryengine-v1 0.0.20240817 → 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 +19 -5
  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: 20240817
12
+ // Revision: 20240829
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1564,6 +1564,8 @@ declare namespace gapi.client {
1564
1564
  documentsMetadata?: GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata[];
1565
1565
  }
1566
1566
  interface GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadata {
1567
+ /** The data ingestion source of the Document. Allowed values are: * `batch`: Data ingested via Batch API, e.g., ImportDocuments. * `streaming` Data ingested via Streaming API, e.g., FHIR streaming. */
1568
+ dataIngestionSource?: string;
1567
1569
  /** The timestamp of the last time the Document was last indexed. */
1568
1570
  lastRefreshedTime?: string;
1569
1571
  /** The value of the matcher that was used to match the Document. */
@@ -1572,6 +1574,8 @@ declare namespace gapi.client {
1572
1574
  status?: string;
1573
1575
  }
1574
1576
  interface GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue {
1577
+ /** Required. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} */
1578
+ fhirResource?: string;
1575
1579
  /** If match by URI, the URI of the Document. */
1576
1580
  uri?: string;
1577
1581
  }
@@ -2456,10 +2460,8 @@ declare namespace gapi.client {
2456
2460
  claimText?: string;
2457
2461
  /** Position indicating the end of the claim in the answer candidate, exclusive. */
2458
2462
  endPos?: number;
2459
- /** Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices, and anti_citation_indices should not be returned. */
2463
+ /** Indicates that this claim required grounding check. When the system decided this claim doesn't require attribution/grounding check, this field will be set to false. In that case, no grounding check was done for the claim and therefore citation_indices, anti_citation_indices, and score should not be returned. */
2460
2464
  groundingCheckRequired?: boolean;
2461
- /** Confidence score for the claim in the answer candidate, in the range of [0, 1]. */
2462
- score?: number;
2463
2465
  /** Position indicating the start of the claim in the answer candidate, measured in bytes. */
2464
2466
  startPos?: number;
2465
2467
  }
@@ -2782,6 +2784,8 @@ declare namespace gapi.client {
2782
2784
  derivedStructData?: {[P in string]: any};
2783
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. */
2784
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;
2785
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. */
2786
2790
  indexTime?: string;
2787
2791
  /** The JSON string representation of the document. It should conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown. */
@@ -2803,6 +2807,12 @@ declare namespace gapi.client {
2803
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. */
2804
2808
  uri?: string;
2805
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
+ }
2806
2816
  interface GoogleCloudDiscoveryengineV1DocumentInfo {
2807
2817
  /** The Document resource ID. */
2808
2818
  id?: string;
@@ -3571,7 +3581,7 @@ declare namespace gapi.client {
3571
3581
  mode?: string;
3572
3582
  }
3573
3583
  interface GoogleCloudDiscoveryengineV1SearchResponse {
3574
- /** A unique search token. This should be included in the UserEvent logs resulting from this search, which enables accurate attribution of search model performance. */
3584
+ /** A unique search token. This should be included in the UserEvent logs resulting from this search, which enables accurate attribution of search model performance. This also helps to identify a request during the customer support scenarios. */
3575
3585
  attributionToken?: string;
3576
3586
  /** Contains the spell corrected query, if found. If the spell correction type is AUTOMATIC, then the search results are based on corrected_query. Otherwise the original query is used for search. */
3577
3587
  correctedQuery?: string;
@@ -4453,6 +4463,8 @@ declare namespace gapi.client {
4453
4463
  fields?: string;
4454
4464
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
4455
4465
  key?: string;
4466
+ /** Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} */
4467
+ 'matcher.fhirMatcher.fhirResources'?: string | string[];
4456
4468
  /** The exact URIs to match by. */
4457
4469
  'matcher.urisMatcher.uris'?: string | string[];
4458
4470
  /** OAuth 2.0 token for the current user. */
@@ -8969,6 +8981,8 @@ declare namespace gapi.client {
8969
8981
  fields?: string;
8970
8982
  /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
8971
8983
  key?: string;
8984
+ /** Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} */
8985
+ 'matcher.fhirMatcher.fhirResources'?: string | string[];
8972
8986
  /** The exact URIs to match by. */
8973
8987
  'matcher.urisMatcher.uris'?: string | string[];
8974
8988
  /** OAuth 2.0 token for the current user. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1",
3
- "version": "0.0.20240817",
3
+ "version": "0.0.20240829",
4
4
  "description": "TypeScript typings for Discovery Engine API v1",
5
5
  "repository": {
6
6
  "type": "git",