@maxim_mazurok/gapi.client.discoveryengine-v1beta 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 +21 -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=v1beta
12
- // Revision: 20240817
12
+ // Revision: 20240829
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -1574,6 +1574,8 @@ declare namespace gapi.client {
1574
1574
  documentsMetadata?: GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentMetadata[];
1575
1575
  }
1576
1576
  interface GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentMetadata {
1577
+ /** 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. */
1578
+ dataIngestionSource?: string;
1577
1579
  /** The timestamp of the last time the Document was last indexed. */
1578
1580
  lastRefreshedTime?: string;
1579
1581
  /** The value of the matcher that was used to match the Document. */
@@ -1582,6 +1584,8 @@ declare namespace gapi.client {
1582
1584
  status?: string;
1583
1585
  }
1584
1586
  interface GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue {
1587
+ /** Required. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} */
1588
+ fhirResource?: string;
1585
1589
  /** If match by URI, the URI of the Document. */
1586
1590
  uri?: string;
1587
1591
  }
@@ -1663,10 +1667,8 @@ declare namespace gapi.client {
1663
1667
  claimText?: string;
1664
1668
  /** Position indicating the end of the claim in the answer candidate, exclusive. */
1665
1669
  endPos?: number;
1666
- /** 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. */
1670
+ /** 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. */
1667
1671
  groundingCheckRequired?: boolean;
1668
- /** Confidence score for the claim in the answer candidate, in the range of [0, 1]. */
1669
- score?: number;
1670
1672
  /** Position indicating the start of the claim in the answer candidate, measured in bytes. */
1671
1673
  startPos?: number;
1672
1674
  }
@@ -1994,6 +1996,8 @@ declare namespace gapi.client {
1994
1996
  derivedStructData?: {[P in string]: any};
1995
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. */
1996
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;
1997
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. */
1998
2002
  indexTime?: string;
1999
2003
  /** The JSON string representation of the document. It should conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown. */
@@ -2015,6 +2019,12 @@ declare namespace gapi.client {
2015
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. */
2016
2020
  uri?: string;
2017
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
+ }
2018
2028
  interface GoogleCloudDiscoveryengineV1betaDocumentInfo {
2019
2029
  /** The Document resource ID. */
2020
2030
  id?: string;
@@ -3003,7 +3013,7 @@ declare namespace gapi.client {
3003
3013
  interface GoogleCloudDiscoveryengineV1betaSearchResponse {
3004
3014
  /** Controls applied as part of the Control service. */
3005
3015
  appliedControls?: string[];
3006
- /** A unique search token. This should be included in the UserEvent logs resulting from this search, which enables accurate attribution of search model performance. */
3016
+ /** 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. */
3007
3017
  attributionToken?: string;
3008
3018
  /** 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. */
3009
3019
  correctedQuery?: string;
@@ -3110,6 +3120,8 @@ declare namespace gapi.client {
3110
3120
  comparison?: string;
3111
3121
  /** Name of the numerical field as defined in the schema. */
3112
3122
  fieldName?: string;
3123
+ /** Identifies the keywords within the search query that match a filter. */
3124
+ querySegment?: string;
3113
3125
  /** The value specified in the numerical constraint. */
3114
3126
  value?: number;
3115
3127
  }
@@ -4497,6 +4509,8 @@ declare namespace gapi.client {
4497
4509
  fields?: string;
4498
4510
  /** 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. */
4499
4511
  key?: string;
4512
+ /** Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} */
4513
+ 'matcher.fhirMatcher.fhirResources'?: string | string[];
4500
4514
  /** The exact URIs to match by. */
4501
4515
  'matcher.urisMatcher.uris'?: string | string[];
4502
4516
  /** OAuth 2.0 token for the current user. */
@@ -9427,6 +9441,8 @@ declare namespace gapi.client {
9427
9441
  fields?: string;
9428
9442
  /** 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. */
9429
9443
  key?: string;
9444
+ /** Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} */
9445
+ 'matcher.fhirMatcher.fhirResources'?: string | string[];
9430
9446
  /** The exact URIs to match by. */
9431
9447
  'matcher.urisMatcher.uris'?: string | string[];
9432
9448
  /** 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-v1beta",
3
- "version": "0.0.20240817",
3
+ "version": "0.0.20240829",
4
4
  "description": "TypeScript typings for Discovery Engine API v1beta",
5
5
  "repository": {
6
6
  "type": "git",