@maxim_mazurok/gapi.client.discoveryengine-v1 0.0.20240815 → 0.0.20240826

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 +11 -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: 20240815
12
+ // Revision: 20240826
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
  }
@@ -3571,7 +3573,7 @@ declare namespace gapi.client {
3571
3573
  mode?: string;
3572
3574
  }
3573
3575
  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. */
3576
+ /** 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
3577
  attributionToken?: string;
3576
3578
  /** 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
3579
  correctedQuery?: string;
@@ -4453,6 +4455,8 @@ declare namespace gapi.client {
4453
4455
  fields?: string;
4454
4456
  /** 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
4457
  key?: string;
4458
+ /** Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} */
4459
+ 'matcher.fhirMatcher.fhirResources'?: string | string[];
4456
4460
  /** The exact URIs to match by. */
4457
4461
  'matcher.urisMatcher.uris'?: string | string[];
4458
4462
  /** OAuth 2.0 token for the current user. */
@@ -8969,6 +8973,8 @@ declare namespace gapi.client {
8969
8973
  fields?: string;
8970
8974
  /** 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
8975
  key?: string;
8976
+ /** Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} */
8977
+ 'matcher.fhirMatcher.fhirResources'?: string | string[];
8972
8978
  /** The exact URIs to match by. */
8973
8979
  'matcher.urisMatcher.uris'?: string | string[];
8974
8980
  /** 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.20240815",
3
+ "version": "0.0.20240826",
4
4
  "description": "TypeScript typings for Discovery Engine API v1",
5
5
  "repository": {
6
6
  "type": "git",