@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20240817 → 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 +13 -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=v1alpha
12
- // Revision: 20240817
12
+ // Revision: 20240826
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -487,6 +487,8 @@ declare namespace gapi.client {
487
487
  documentsMetadata?: GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseDocumentMetadata[];
488
488
  }
489
489
  interface GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseDocumentMetadata {
490
+ /** 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. */
491
+ dataIngestionSource?: string;
490
492
  /** The timestamp of the last time the Document was last indexed. */
491
493
  lastRefreshedTime?: string;
492
494
  /** The value of the matcher that was used to match the Document. */
@@ -495,6 +497,8 @@ declare namespace gapi.client {
495
497
  status?: string;
496
498
  }
497
499
  interface GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue {
500
+ /** Required. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} */
501
+ fhirResource?: string;
498
502
  /** If match by URI, the URI of the Document. */
499
503
  uri?: string;
500
504
  }
@@ -576,10 +580,8 @@ declare namespace gapi.client {
576
580
  claimText?: string;
577
581
  /** Position indicating the end of the claim in the answer candidate, exclusive. */
578
582
  endPos?: number;
579
- /** 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. */
583
+ /** 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. */
580
584
  groundingCheckRequired?: boolean;
581
- /** Confidence score for the claim in the answer candidate, in the range of [0, 1]. */
582
- score?: number;
583
585
  /** Position indicating the start of the claim in the answer candidate, measured in bytes. */
584
586
  startPos?: number;
585
587
  }
@@ -2215,7 +2217,7 @@ declare namespace gapi.client {
2215
2217
  interface GoogleCloudDiscoveryengineV1alphaSearchResponse {
2216
2218
  /** Controls applied as part of the Control service. */
2217
2219
  appliedControls?: string[];
2218
- /** A unique search token. This should be included in the UserEvent logs resulting from this search, which enables accurate attribution of search model performance. */
2220
+ /** 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. */
2219
2221
  attributionToken?: string;
2220
2222
  /** 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. */
2221
2223
  correctedQuery?: string;
@@ -2322,6 +2324,8 @@ declare namespace gapi.client {
2322
2324
  comparison?: string;
2323
2325
  /** Name of the numerical field as defined in the schema. */
2324
2326
  fieldName?: string;
2327
+ /** Identifies the keywords within the search query that match a filter. */
2328
+ querySegment?: string;
2325
2329
  /** The value specified in the numerical constraint. */
2326
2330
  value?: number;
2327
2331
  }
@@ -4657,6 +4661,8 @@ declare namespace gapi.client {
4657
4661
  fields?: string;
4658
4662
  /** 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. */
4659
4663
  key?: string;
4664
+ /** Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} */
4665
+ 'matcher.fhirMatcher.fhirResources'?: string | string[];
4660
4666
  /** The exact URIs to match by. */
4661
4667
  'matcher.urisMatcher.uris'?: string | string[];
4662
4668
  /** OAuth 2.0 token for the current user. */
@@ -9853,6 +9859,8 @@ declare namespace gapi.client {
9853
9859
  fields?: string;
9854
9860
  /** 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. */
9855
9861
  key?: string;
9862
+ /** Required. The FHIR resources to match by. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} */
9863
+ 'matcher.fhirMatcher.fhirResources'?: string | string[];
9856
9864
  /** The exact URIs to match by. */
9857
9865
  'matcher.urisMatcher.uris'?: string | string[];
9858
9866
  /** 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-v1alpha",
3
- "version": "0.0.20240817",
3
+ "version": "0.0.20240826",
4
4
  "description": "TypeScript typings for Discovery Engine API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",