@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.0.20240715 → 0.0.20240801

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 +206 -44
  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: 20240715
12
+ // Revision: 20240801
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -137,6 +137,8 @@ declare namespace gapi.client {
137
137
  interface GoogleCloudDiscoveryengineV1alphaAnswerReference {
138
138
  /** Chunk information. */
139
139
  chunkInfo?: GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo;
140
+ /** Structured document information. */
141
+ structuredDocumentInfo?: GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo;
140
142
  /** Unstructured document information. */
141
143
  unstructuredDocumentInfo?: GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo;
142
144
  }
@@ -147,7 +149,7 @@ declare namespace gapi.client {
147
149
  content?: string;
148
150
  /** Document metadata. */
149
151
  documentMetadata?: GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata;
150
- /** Relevance score. */
152
+ /** The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. */
151
153
  relevanceScore?: number;
152
154
  }
153
155
  interface GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfoDocumentMetadata {
@@ -162,6 +164,12 @@ declare namespace gapi.client {
162
164
  /** URI for the document. */
163
165
  uri?: string;
164
166
  }
167
+ interface GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo {
168
+ /** Document resource name. */
169
+ document?: string;
170
+ /** Structured search data. */
171
+ structData?: {[P in string]: any};
172
+ }
165
173
  interface GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfo {
166
174
  /** List of cited chunk contents derived from document content. */
167
175
  chunkContents?: GoogleCloudDiscoveryengineV1alphaAnswerReferenceUnstructuredDocumentInfoChunkContent[];
@@ -179,6 +187,8 @@ declare namespace gapi.client {
179
187
  content?: string;
180
188
  /** Page identifier. */
181
189
  pageIdentifier?: string;
190
+ /** The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. */
191
+ relevanceScore?: number;
182
192
  }
183
193
  interface GoogleCloudDiscoveryengineV1alphaAnswerStep {
184
194
  /** Actions. */
@@ -219,7 +229,7 @@ declare namespace gapi.client {
219
229
  chunk?: string;
220
230
  /** Chunk textual content. */
221
231
  content?: string;
222
- /** Relevance score. */
232
+ /** The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. */
223
233
  relevanceScore?: number;
224
234
  }
225
235
  interface GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo {
@@ -413,7 +423,7 @@ declare namespace gapi.client {
413
423
  defaultParsingConfig?: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig;
414
424
  /** The full resource name of the Document Processing Config. Format: `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/documentProcessingConfig`. */
415
425
  name?: string;
416
- /** Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. */
426
+ /** Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. * `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported. */
417
427
  parsingConfigOverrides?: {
418
428
  [P in string]: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig;
419
429
  };
@@ -559,7 +569,7 @@ declare namespace gapi.client {
559
569
  errorSamples?: GoogleRpcStatus[];
560
570
  /** Required. The specification of the evaluation. */
561
571
  evaluationSpec?: GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpec;
562
- /** Immutable. The full resource name of the Evaluation, in the format of `projects/{project}/locations/{location}/evaluations/{evaluation}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
572
+ /** Identifier. The full resource name of the Evaluation, in the format of `projects/{project}/locations/{location}/evaluations/{evaluation}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
563
573
  name?: string;
564
574
  /** Output only. The metrics produced by the evaluation, averaged across all SampleQuerys in the SampleQuerySet. Only populated when the evaluation's state is SUCCEEDED. */
565
575
  qualityMetrics?: GoogleCloudDiscoveryengineV1alphaQualityMetrics;
@@ -576,18 +586,6 @@ declare namespace gapi.client {
576
586
  /** Required. The full resource name of the SampleQuerySet used for the evaluation, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. */
577
587
  sampleQuerySet?: string;
578
588
  }
579
- interface GoogleCloudDiscoveryengineV1alphaExportUserEventsMetadata {
580
- /** Operation create time. */
581
- createTime?: string;
582
- /** Operation last update time. If the operation is done, this is also the finish time. */
583
- updateTime?: string;
584
- }
585
- interface GoogleCloudDiscoveryengineV1alphaExportUserEventsResponse {
586
- /** Output result indicating where the data were exported to. */
587
- outputResult?: GoogleCloudDiscoveryengineV1alphaOutputResult;
588
- /** The status of the export operation. */
589
- status?: GoogleRpcStatus;
590
- }
591
589
  interface GoogleCloudDiscoveryengineV1alphaFieldConfig {
592
590
  /** If this field is set, only the corresponding source will be indexed for this field. Otherwise, the values from different sources are merged. Assuming a page with `` in meta tag, and `` in page map: if this enum is set to METATAGS, we will only index ``; if this enum is not set, we will merge them and index ``. */
593
591
  advancedSiteSearchDataSources?: string[];
@@ -740,16 +738,6 @@ declare namespace gapi.client {
740
738
  /** List of custom tuning models. */
741
739
  models?: GoogleCloudDiscoveryengineV1alphaCustomTuningModel[];
742
740
  }
743
- interface GoogleCloudDiscoveryengineV1alphaOutputResult {
744
- /** The BigQuery location where the result is stored. */
745
- bigqueryResult?: GoogleCloudDiscoveryengineV1alphaOutputResultBigQueryOutputResult;
746
- }
747
- interface GoogleCloudDiscoveryengineV1alphaOutputResultBigQueryOutputResult {
748
- /** The ID of a BigQuery Dataset. */
749
- datasetId?: string;
750
- /** The ID of a BigQuery Table. */
751
- tableId?: string;
752
- }
753
741
  interface GoogleCloudDiscoveryengineV1alphaProject {
754
742
  /** Output only. The timestamp when this project is created. */
755
743
  createTime?: string;
@@ -930,7 +918,7 @@ declare namespace gapi.client {
930
918
  naturalLanguageQueryUnderstandingSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec;
931
919
  /** A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. */
932
920
  offset?: number;
933
- /** The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering for retail search, see [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. */
921
+ /** The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. */
934
922
  orderBy?: string;
935
923
  /** Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with advanced indexing: Default `25`, Maximum `50`. * Other: Default `50`, Maximum `100`. If this field is negative, an `INVALID_ARGUMENT` is returned. */
936
924
  pageSize?: number;
@@ -1036,6 +1024,8 @@ declare namespace gapi.client {
1036
1024
  interface GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec {
1037
1025
  /** Specifies whether to filter out adversarial queries. The default value is `false`. Google employs search-query classification to detect adversarial queries. No summary is returned if the search query is classified as an adversarial query. For example, a user might ask a question regarding negative comments about the company or submit a query designed to generate unsafe, policy-violating output. If this field is set to `true`, we skip generating summaries for adversarial queries and return fallback messages instead. */
1038
1026
  ignoreAdversarialQuery?: boolean;
1027
+ /** Specifies whether to filter out queries that have low relevance. The default value is `false`. If this field is set to `false`, all search results are used regardless of relevance to generate answers. If set to `true`, only queries with high relevance search results will generate answers. */
1028
+ ignoreLowRelevantContent?: boolean;
1039
1029
  /** Specifies whether to filter out queries that are not summary-seeking. The default value is `false`. Google employs search-query classification to detect summary-seeking queries. No summary is returned if the search query is classified as a non-summary seeking query. For example, `why is the sky blue` and `Who is the best soccer player in the world?` are summary-seeking queries, but `SFO airport` and `world cup 2026` are not. They are most likely navigational queries. If this field is set to `true`, we skip generating summaries for non-summary seeking queries and return fallback messages instead. */
1040
1030
  ignoreNonSummarySeekingQuery?: boolean;
1041
1031
  /** Specifies whether to include citations in the summary. The default value is `false`. When this field is set to `true`, summaries include in-line citation numbers. Example summary including citations: BigQuery is Google Cloud's fully managed and completely serverless enterprise data warehouse [1]. BigQuery supports all data types, works across clouds, and has built-in machine learning and business intelligence, all within a unified platform [2, 3]. The citation numbers refer to the returned search results and are 1-indexed. For example, [1] means that the sentence is attributed to the first search result. [2, 3] means that the sentence is attributed to both the second and third search results. */
@@ -1452,6 +1442,8 @@ declare namespace gapi.client {
1452
1442
  interface GoogleCloudDiscoveryengineV1betaAnswerReference {
1453
1443
  /** Chunk information. */
1454
1444
  chunkInfo?: GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfo;
1445
+ /** Structured document information. */
1446
+ structuredDocumentInfo?: GoogleCloudDiscoveryengineV1betaAnswerReferenceStructuredDocumentInfo;
1455
1447
  /** Unstructured document information. */
1456
1448
  unstructuredDocumentInfo?: GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfo;
1457
1449
  }
@@ -1462,7 +1454,7 @@ declare namespace gapi.client {
1462
1454
  content?: string;
1463
1455
  /** Document metadata. */
1464
1456
  documentMetadata?: GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfoDocumentMetadata;
1465
- /** Relevance score. */
1457
+ /** The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. */
1466
1458
  relevanceScore?: number;
1467
1459
  }
1468
1460
  interface GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfoDocumentMetadata {
@@ -1477,6 +1469,12 @@ declare namespace gapi.client {
1477
1469
  /** URI for the document. */
1478
1470
  uri?: string;
1479
1471
  }
1472
+ interface GoogleCloudDiscoveryengineV1betaAnswerReferenceStructuredDocumentInfo {
1473
+ /** Document resource name. */
1474
+ document?: string;
1475
+ /** Structured search data. */
1476
+ structData?: {[P in string]: any};
1477
+ }
1480
1478
  interface GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfo {
1481
1479
  /** List of cited chunk contents derived from document content. */
1482
1480
  chunkContents?: GoogleCloudDiscoveryengineV1betaAnswerReferenceUnstructuredDocumentInfoChunkContent[];
@@ -1494,6 +1492,8 @@ declare namespace gapi.client {
1494
1492
  content?: string;
1495
1493
  /** Page identifier. */
1496
1494
  pageIdentifier?: string;
1495
+ /** The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. */
1496
+ relevanceScore?: number;
1497
1497
  }
1498
1498
  interface GoogleCloudDiscoveryengineV1betaAnswerStep {
1499
1499
  /** Actions. */
@@ -1534,7 +1534,7 @@ declare namespace gapi.client {
1534
1534
  chunk?: string;
1535
1535
  /** Chunk textual content. */
1536
1536
  content?: string;
1537
- /** Relevance score. */
1537
+ /** The relevance of the chunk for a given query. Values range from 0.0 (completely irrelevant) to 1.0 (completely relevant). This value is for informational purpose only. It may change for the same query and chunk at any time due to a model retraining or change in implementation. */
1538
1538
  relevanceScore?: number;
1539
1539
  }
1540
1540
  interface GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResultSnippetInfo {
@@ -1990,6 +1990,8 @@ declare namespace gapi.client {
1990
1990
  interface GoogleCloudDiscoveryengineV1betaDocumentInfo {
1991
1991
  /** The Document resource ID. */
1992
1992
  id?: string;
1993
+ /** Output only. Whether the referenced Document can be found in the data store. */
1994
+ joined?: boolean;
1993
1995
  /** The Document resource full name, of the form: `projects/{project_id}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/branches/{branch_id}/documents/{document_id}` */
1994
1996
  name?: string;
1995
1997
  /** The promotion IDs associated with this Document. Currently, this field is restricted to at most one ID. */
@@ -2006,7 +2008,7 @@ declare namespace gapi.client {
2006
2008
  defaultParsingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig;
2007
2009
  /** The full resource name of the Document Processing Config. Format: `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/documentProcessingConfig`. */
2008
2010
  name?: string;
2009
- /** Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. */
2011
+ /** Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. * `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported. */
2010
2012
  parsingConfigOverrides?: {
2011
2013
  [P in string]: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig;
2012
2014
  };
@@ -2118,7 +2120,7 @@ declare namespace gapi.client {
2118
2120
  errorSamples?: GoogleRpcStatus[];
2119
2121
  /** Required. The specification of the evaluation. */
2120
2122
  evaluationSpec?: GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpec;
2121
- /** Immutable. The full resource name of the Evaluation, in the format of `projects/{project}/locations/{location}/evaluations/{evaluation}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
2123
+ /** Identifier. The full resource name of the Evaluation, in the format of `projects/{project}/locations/{location}/evaluations/{evaluation}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
2122
2124
  name?: string;
2123
2125
  /** Output only. The metrics produced by the evaluation, averaged across all SampleQuerys in the SampleQuerySet. Only populated when the evaluation's state is SUCCEEDED. */
2124
2126
  qualityMetrics?: GoogleCloudDiscoveryengineV1betaQualityMetrics;
@@ -2158,6 +2160,8 @@ declare namespace gapi.client {
2158
2160
  fhirStore?: string;
2159
2161
  /** Intermediate Cloud Storage directory used for the import with a length limit of 2,000 characters. Can be specified if one wants to have the FhirStore export to a specific Cloud Storage directory. */
2160
2162
  gcsStagingDir?: string;
2163
+ /** The FHIR resource types to import. The resource types should be a subset of all [supported FHIR resource types](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification). Default to all supported FHIR resource types if empty. */
2164
+ resourceTypes?: string[];
2161
2165
  }
2162
2166
  interface GoogleCloudDiscoveryengineV1betaFirestoreSource {
2163
2167
  /** Required. The Firestore collection (or entity) to copy the data from with a length limit of 1,500 characters. */
@@ -2539,10 +2543,20 @@ declare namespace gapi.client {
2539
2543
  updateTime?: string;
2540
2544
  }
2541
2545
  interface GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequest {
2546
+ /** The desired location of errors incurred during the purge. */
2547
+ errorConfig?: GoogleCloudDiscoveryengineV1betaPurgeErrorConfig;
2542
2548
  /** Required. Filter matching documents to purge. Only currently supported value is `*` (all items). */
2543
2549
  filter?: string;
2544
2550
  /** Actually performs the purge. If `force` is set to false, return the expected purge count without deleting any documents. */
2545
2551
  force?: boolean;
2552
+ /** Cloud Storage location for the input content. Supported `data_schema`: * `document_id`: One valid Document.id per line. */
2553
+ gcsSource?: GoogleCloudDiscoveryengineV1betaGcsSource;
2554
+ /** Inline source for the input content for purge. */
2555
+ inlineSource?: GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequestInlineSource;
2556
+ }
2557
+ interface GoogleCloudDiscoveryengineV1betaPurgeDocumentsRequestInlineSource {
2558
+ /** Required. A list of full resource name of documents to purge. In the format `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/branches/*‍/documents/*`. Recommended max of 100 items. */
2559
+ documents?: string[];
2546
2560
  }
2547
2561
  interface GoogleCloudDiscoveryengineV1betaPurgeDocumentsResponse {
2548
2562
  /** The total count of documents purged as a result of the operation. */
@@ -2550,6 +2564,10 @@ declare namespace gapi.client {
2550
2564
  /** A sample of document names that will be deleted. Only populated if `force` is set to false. A max of 100 names will be returned and the names are chosen at random. */
2551
2565
  purgeSample?: string[];
2552
2566
  }
2567
+ interface GoogleCloudDiscoveryengineV1betaPurgeErrorConfig {
2568
+ /** Cloud Storage prefix for purge errors. This must be an empty, existing Cloud Storage directory. Purge errors are written to sharded files in this directory, one per line, as a JSON-encoded `google.rpc.Status` message. */
2569
+ gcsPrefix?: string;
2570
+ }
2553
2571
  interface GoogleCloudDiscoveryengineV1betaPurgeSuggestionDenyListEntriesMetadata {
2554
2572
  /** Operation create time. */
2555
2573
  createTime?: string;
@@ -2563,6 +2581,12 @@ declare namespace gapi.client {
2563
2581
  /** Number of suggestion deny list entries purged. */
2564
2582
  purgeCount?: string;
2565
2583
  }
2584
+ interface GoogleCloudDiscoveryengineV1betaPurgeUserEventsRequest {
2585
+ /** Required. The filter string to specify the events to be deleted with a length limit of 5,000 characters. The eligible fields for filtering are: * `eventType`: Double quoted UserEvent.event_type string. * `eventTime`: in ISO 8601 "zulu" format. * `userPseudoId`: Double quoted string. Specifying this will delete all events associated with a visitor. * `userId`: Double quoted string. Specifying this will delete all events associated with a user. Examples: * Deleting all events in a time range: `eventTime > "2012-04-23T18:25:43.511Z" eventTime < "2012-04-23T18:30:43.511Z"` * Deleting specific eventType: `eventType = "search"` * Deleting all events for a specific visitor: `userPseudoId = "visitor1024"` * Deleting all events inside a DataStore: `*` The filtering fields are assumed to have an implicit AND. */
2586
+ filter?: string;
2587
+ /** The `force` field is currently not supported. Purge user event requests will permanently delete all purgeable events. Once the development is complete: If `force` is set to false, the method will return the expected purge count without deleting any user events. This field will default to false if not included in the request. */
2588
+ force?: boolean;
2589
+ }
2566
2590
  interface GoogleCloudDiscoveryengineV1betaQualityMetrics {
2567
2591
  /** Normalized discounted cumulative gain (NDCG) per document, at various top-k cutoff levels. NDCG measures the ranking quality, giving higher relevance to top results. Example (top-3): Suppose SampleQuery with three retrieved documents (D1, D2, D3) and binary relevance judgements (1 for relevant, 0 for not relevant): Retrieved: [D3 (0), D1 (1), D2 (1)] Ideal: [D1 (1), D2 (1), D3 (0)] Calculate NDCG@3 for each SampleQuery: * DCG@3: 0/log2(1+1) + 1/log2(2+1) + 1/log2(3+1) = 1.13 * Ideal DCG@3: 1/log2(1+1) + 1/log2(2+1) + 0/log2(3+1) = 1.63 * NDCG@3: 1.13/1.63 = 0.693 */
2568
2592
  docNdcg?: GoogleCloudDiscoveryengineV1betaQualityMetricsTopkMetrics;
@@ -2677,7 +2701,7 @@ declare namespace gapi.client {
2677
2701
  interface GoogleCloudDiscoveryengineV1betaSampleQuery {
2678
2702
  /** Output only. Timestamp the SampleQuery was created at. */
2679
2703
  createTime?: string;
2680
- /** Immutable. The full resource name of the sample query, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}/sampleQueries/{sampleQuery}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
2704
+ /** Identifier. The full resource name of the sample query, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
2681
2705
  name?: string;
2682
2706
  /** The query entry. */
2683
2707
  queryEntry?: GoogleCloudDiscoveryengineV1betaSampleQueryQueryEntry;
@@ -2703,7 +2727,7 @@ declare namespace gapi.client {
2703
2727
  description?: string;
2704
2728
  /** Required. The sample query set display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. */
2705
2729
  displayName?: string;
2706
- /** Immutable. The full resource name of the SampleQuerySet, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
2730
+ /** Identifier. The full resource name of the SampleQuerySet, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
2707
2731
  name?: string;
2708
2732
  }
2709
2733
  interface GoogleCloudDiscoveryengineV1betaSchema {
@@ -2747,7 +2771,7 @@ declare namespace gapi.client {
2747
2771
  naturalLanguageQueryUnderstandingSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec;
2748
2772
  /** A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. */
2749
2773
  offset?: number;
2750
- /** The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering for retail search, see [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. */
2774
+ /** The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. */
2751
2775
  orderBy?: string;
2752
2776
  /** Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with advanced indexing: Default `25`, Maximum `50`. * Other: Default `50`, Maximum `100`. If this field is negative, an `INVALID_ARGUMENT` is returned. */
2753
2777
  pageSize?: number;
@@ -2851,6 +2875,8 @@ declare namespace gapi.client {
2851
2875
  interface GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec {
2852
2876
  /** Specifies whether to filter out adversarial queries. The default value is `false`. Google employs search-query classification to detect adversarial queries. No summary is returned if the search query is classified as an adversarial query. For example, a user might ask a question regarding negative comments about the company or submit a query designed to generate unsafe, policy-violating output. If this field is set to `true`, we skip generating summaries for adversarial queries and return fallback messages instead. */
2853
2877
  ignoreAdversarialQuery?: boolean;
2878
+ /** Specifies whether to filter out queries that have low relevance. The default value is `false`. If this field is set to `false`, all search results are used regardless of relevance to generate answers. If set to `true`, only queries with high relevance search results will generate answers. */
2879
+ ignoreLowRelevantContent?: boolean;
2854
2880
  /** Specifies whether to filter out queries that are not summary-seeking. The default value is `false`. Google employs search-query classification to detect summary-seeking queries. No summary is returned if the search query is classified as a non-summary seeking query. For example, `why is the sky blue` and `Who is the best soccer player in the world?` are summary-seeking queries, but `SFO airport` and `world cup 2026` are not. They are most likely navigational queries. If this field is set to `true`, we skip generating summaries for non-summary seeking queries and return fallback messages instead. */
2855
2881
  ignoreNonSummarySeekingQuery?: boolean;
2856
2882
  /** Specifies whether to include citations in the summary. The default value is `false`. When this field is set to `true`, summaries include in-line citation numbers. Example summary including citations: BigQuery is Google Cloud's fully managed and completely serverless enterprise data warehouse [1]. BigQuery supports all data types, works across clouds, and has built-in machine learning and business intelligence, all within a unified platform [2, 3]. The citation numbers refer to the returned search results and are 1-indexed. For example, [1] means that the sentence is attributed to the first search result. [2, 3] means that the sentence is attributed to both the second and third search results. */
@@ -2960,6 +2986,8 @@ declare namespace gapi.client {
2960
2986
  naturalLanguageQueryUnderstandingInfo?: GoogleCloudDiscoveryengineV1betaSearchResponseNaturalLanguageQueryUnderstandingInfo;
2961
2987
  /** A token that can be sent as SearchRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2962
2988
  nextPageToken?: string;
2989
+ /** A list of One Box results. There can be multiple One Box results of different types. */
2990
+ oneBoxResults?: GoogleCloudDiscoveryengineV1betaSearchResponseOneBoxResult[];
2963
2991
  /** Query expansion information for the returned results. */
2964
2992
  queryExpansionInfo?: GoogleCloudDiscoveryengineV1betaSearchResponseQueryExpansionInfo;
2965
2993
  /** The URI of a customer-defined redirect page. If redirect action is triggered, no search is performed, and only redirect_uri and attribution_token are set in the response. */
@@ -3040,6 +3068,10 @@ declare namespace gapi.client {
3040
3068
  address?: string;
3041
3069
  /** The name of the geolocation field as defined in the schema. */
3042
3070
  fieldName?: string;
3071
+ /** The latitude of the geolocation inferred from the input query. */
3072
+ latitude?: number;
3073
+ /** The longitude of the geolocation inferred from the input query. */
3074
+ longitude?: number;
3043
3075
  /** The radius in meters around the address. The record is returned if the location of the geolocation field is within the radius. */
3044
3076
  radiusInMeters?: number;
3045
3077
  }
@@ -3061,6 +3093,12 @@ declare namespace gapi.client {
3061
3093
  /** Values of the string field. The record will only be returned if the field value matches one of the values specified here. */
3062
3094
  values?: string[];
3063
3095
  }
3096
+ interface GoogleCloudDiscoveryengineV1betaSearchResponseOneBoxResult {
3097
+ /** The type of One Box result. */
3098
+ oneBoxType?: string;
3099
+ /** The search results for this One Box. */
3100
+ searchResults?: GoogleCloudDiscoveryengineV1betaSearchResponseSearchResult[];
3101
+ }
3064
3102
  interface GoogleCloudDiscoveryengineV1betaSearchResponseQueryExpansionInfo {
3065
3103
  /** Bool describing whether query expansion has occurred. */
3066
3104
  expandedQuery?: boolean;
@@ -3541,7 +3579,7 @@ declare namespace gapi.client {
3541
3579
  defaultParsingConfig?: GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig;
3542
3580
  /** The full resource name of the Document Processing Config. Format: `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/documentProcessingConfig`. */
3543
3581
  name?: string;
3544
- /** Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. */
3582
+ /** Map from file type to override the default parsing configuration based on the file type. Supported keys: * `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. * `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported. */
3545
3583
  parsingConfigOverrides?: {
3546
3584
  [P in string]: GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig;
3547
3585
  };
@@ -6814,6 +6852,64 @@ declare namespace gapi.client {
6814
6852
  },
6815
6853
  body: GoogleCloudDiscoveryengineV1betaImportUserEventsRequest
6816
6854
  ): Request<GoogleLongrunningOperation>;
6855
+ /** Deletes permanently all user events specified by the filter provided. Depending on the number of events specified by the filter, this operation could take hours or days to complete. To test a filter, use the list command first. */
6856
+ purge(request: {
6857
+ /** V1 error format. */
6858
+ '$.xgafv'?: string;
6859
+ /** OAuth access token. */
6860
+ access_token?: string;
6861
+ /** Data format for response. */
6862
+ alt?: string;
6863
+ /** JSONP */
6864
+ callback?: string;
6865
+ /** Selector specifying which fields to include in a partial response. */
6866
+ fields?: string;
6867
+ /** 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. */
6868
+ key?: string;
6869
+ /** OAuth 2.0 token for the current user. */
6870
+ oauth_token?: string;
6871
+ /** Required. The resource name of the catalog under which the events are created. The format is `projects/${projectId}/locations/global/collections/{$collectionId}/dataStores/${dataStoreId}` */
6872
+ parent: string;
6873
+ /** Returns response with indentations and line breaks. */
6874
+ prettyPrint?: boolean;
6875
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
6876
+ quotaUser?: string;
6877
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6878
+ upload_protocol?: string;
6879
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6880
+ uploadType?: string;
6881
+ /** Request body */
6882
+ resource: GoogleCloudDiscoveryengineV1betaPurgeUserEventsRequest;
6883
+ }): Request<GoogleLongrunningOperation>;
6884
+ purge(
6885
+ request: {
6886
+ /** V1 error format. */
6887
+ '$.xgafv'?: string;
6888
+ /** OAuth access token. */
6889
+ access_token?: string;
6890
+ /** Data format for response. */
6891
+ alt?: string;
6892
+ /** JSONP */
6893
+ callback?: string;
6894
+ /** Selector specifying which fields to include in a partial response. */
6895
+ fields?: string;
6896
+ /** 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. */
6897
+ key?: string;
6898
+ /** OAuth 2.0 token for the current user. */
6899
+ oauth_token?: string;
6900
+ /** Required. The resource name of the catalog under which the events are created. The format is `projects/${projectId}/locations/global/collections/{$collectionId}/dataStores/${dataStoreId}` */
6901
+ parent: string;
6902
+ /** Returns response with indentations and line breaks. */
6903
+ prettyPrint?: boolean;
6904
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
6905
+ quotaUser?: string;
6906
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
6907
+ upload_protocol?: string;
6908
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
6909
+ uploadType?: string;
6910
+ },
6911
+ body: GoogleCloudDiscoveryengineV1betaPurgeUserEventsRequest
6912
+ ): Request<GoogleLongrunningOperation>;
6817
6913
  /** Writes a single user event. */
6818
6914
  write(request: {
6819
6915
  /** V1 error format. */
@@ -6939,6 +7035,8 @@ declare namespace gapi.client {
6939
7035
  prettyPrint?: boolean;
6940
7036
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
6941
7037
  quotaUser?: string;
7038
+ /** A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if `data_store.starting_schema` is specified. */
7039
+ skipDefaultSchemaCreation?: boolean;
6942
7040
  /** Upload protocol for media (e.g. "raw", "multipart"). */
6943
7041
  upload_protocol?: string;
6944
7042
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -6972,6 +7070,8 @@ declare namespace gapi.client {
6972
7070
  prettyPrint?: boolean;
6973
7071
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
6974
7072
  quotaUser?: string;
7073
+ /** A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if `data_store.starting_schema` is specified. */
7074
+ skipDefaultSchemaCreation?: boolean;
6975
7075
  /** Upload protocol for media (e.g. "raw", "multipart"). */
6976
7076
  upload_protocol?: string;
6977
7077
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -11346,6 +11446,64 @@ declare namespace gapi.client {
11346
11446
  },
11347
11447
  body: GoogleCloudDiscoveryengineV1betaImportUserEventsRequest
11348
11448
  ): Request<GoogleLongrunningOperation>;
11449
+ /** Deletes permanently all user events specified by the filter provided. Depending on the number of events specified by the filter, this operation could take hours or days to complete. To test a filter, use the list command first. */
11450
+ purge(request: {
11451
+ /** V1 error format. */
11452
+ '$.xgafv'?: string;
11453
+ /** OAuth access token. */
11454
+ access_token?: string;
11455
+ /** Data format for response. */
11456
+ alt?: string;
11457
+ /** JSONP */
11458
+ callback?: string;
11459
+ /** Selector specifying which fields to include in a partial response. */
11460
+ fields?: string;
11461
+ /** 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. */
11462
+ key?: string;
11463
+ /** OAuth 2.0 token for the current user. */
11464
+ oauth_token?: string;
11465
+ /** Required. The resource name of the catalog under which the events are created. The format is `projects/${projectId}/locations/global/collections/{$collectionId}/dataStores/${dataStoreId}` */
11466
+ parent: string;
11467
+ /** Returns response with indentations and line breaks. */
11468
+ prettyPrint?: boolean;
11469
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
11470
+ quotaUser?: string;
11471
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
11472
+ upload_protocol?: string;
11473
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11474
+ uploadType?: string;
11475
+ /** Request body */
11476
+ resource: GoogleCloudDiscoveryengineV1betaPurgeUserEventsRequest;
11477
+ }): Request<GoogleLongrunningOperation>;
11478
+ purge(
11479
+ request: {
11480
+ /** V1 error format. */
11481
+ '$.xgafv'?: string;
11482
+ /** OAuth access token. */
11483
+ access_token?: string;
11484
+ /** Data format for response. */
11485
+ alt?: string;
11486
+ /** JSONP */
11487
+ callback?: string;
11488
+ /** Selector specifying which fields to include in a partial response. */
11489
+ fields?: string;
11490
+ /** 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. */
11491
+ key?: string;
11492
+ /** OAuth 2.0 token for the current user. */
11493
+ oauth_token?: string;
11494
+ /** Required. The resource name of the catalog under which the events are created. The format is `projects/${projectId}/locations/global/collections/{$collectionId}/dataStores/${dataStoreId}` */
11495
+ parent: string;
11496
+ /** Returns response with indentations and line breaks. */
11497
+ prettyPrint?: boolean;
11498
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
11499
+ quotaUser?: string;
11500
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
11501
+ upload_protocol?: string;
11502
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11503
+ uploadType?: string;
11504
+ },
11505
+ body: GoogleCloudDiscoveryengineV1betaPurgeUserEventsRequest
11506
+ ): Request<GoogleLongrunningOperation>;
11349
11507
  /** Writes a single user event. */
11350
11508
  write(request: {
11351
11509
  /** V1 error format. */
@@ -11471,6 +11629,8 @@ declare namespace gapi.client {
11471
11629
  prettyPrint?: boolean;
11472
11630
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
11473
11631
  quotaUser?: string;
11632
+ /** A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if `data_store.starting_schema` is specified. */
11633
+ skipDefaultSchemaCreation?: boolean;
11474
11634
  /** Upload protocol for media (e.g. "raw", "multipart"). */
11475
11635
  upload_protocol?: string;
11476
11636
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -11504,6 +11664,8 @@ declare namespace gapi.client {
11504
11664
  prettyPrint?: boolean;
11505
11665
  /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
11506
11666
  quotaUser?: string;
11667
+ /** A boolean flag indicating whether to skip the default schema creation for the data store. Only enable this flag if you are certain that the default schema is incompatible with your use case. If set to true, you must manually create a schema for the data store before any documents can be ingested. This flag cannot be specified if `data_store.starting_schema` is specified. */
11668
+ skipDefaultSchemaCreation?: boolean;
11507
11669
  /** Upload protocol for media (e.g. "raw", "multipart"). */
11508
11670
  upload_protocol?: string;
11509
11671
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -12167,7 +12329,7 @@ declare namespace gapi.client {
12167
12329
  fields?: string;
12168
12330
  /** 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. */
12169
12331
  key?: string;
12170
- /** Required. Full resource name of SampleQuery, such as `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}/sampleQueries/{sampleQuery}`. If the caller does not have permission to delete the SampleQuery, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the SampleQuery to delete does not exist, a `NOT_FOUND` error is returned. */
12332
+ /** Required. Full resource name of SampleQuery, such as `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}`. If the caller does not have permission to delete the SampleQuery, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the SampleQuery to delete does not exist, a `NOT_FOUND` error is returned. */
12171
12333
  name: string;
12172
12334
  /** OAuth 2.0 token for the current user. */
12173
12335
  oauth_token?: string;
@@ -12194,7 +12356,7 @@ declare namespace gapi.client {
12194
12356
  fields?: string;
12195
12357
  /** 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. */
12196
12358
  key?: string;
12197
- /** Required. Full resource name of SampleQuery, such as `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}/sampleQueries/{sampleQuery}`. If the caller does not have permission to access the SampleQuery, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested SampleQuery does not exist, a NOT_FOUND error is returned. */
12359
+ /** Required. Full resource name of SampleQuery, such as `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}`. If the caller does not have permission to access the SampleQuery, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested SampleQuery does not exist, a NOT_FOUND error is returned. */
12198
12360
  name: string;
12199
12361
  /** OAuth 2.0 token for the current user. */
12200
12362
  oauth_token?: string;
@@ -12310,7 +12472,7 @@ declare namespace gapi.client {
12310
12472
  fields?: string;
12311
12473
  /** 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. */
12312
12474
  key?: string;
12313
- /** Immutable. The full resource name of the sample query, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}/sampleQueries/{sampleQuery}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
12475
+ /** Identifier. The full resource name of the sample query, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
12314
12476
  name: string;
12315
12477
  /** OAuth 2.0 token for the current user. */
12316
12478
  oauth_token?: string;
@@ -12341,7 +12503,7 @@ declare namespace gapi.client {
12341
12503
  fields?: string;
12342
12504
  /** 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. */
12343
12505
  key?: string;
12344
- /** Immutable. The full resource name of the sample query, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}/sampleQueries/{sampleQuery}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
12506
+ /** Identifier. The full resource name of the sample query, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
12345
12507
  name: string;
12346
12508
  /** OAuth 2.0 token for the current user. */
12347
12509
  oauth_token?: string;
@@ -12436,7 +12598,7 @@ declare namespace gapi.client {
12436
12598
  fields?: string;
12437
12599
  /** 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. */
12438
12600
  key?: string;
12439
- /** Required. Full resource name of SampleQuerySet, such as `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. If the caller does not have permission to delete the SampleQuerySet, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the SampleQuerySet to delete does not exist, a `NOT_FOUND` error is returned. */
12601
+ /** Required. Full resource name of SampleQuerySet, such as `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}`. If the caller does not have permission to delete the SampleQuerySet, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the SampleQuerySet to delete does not exist, a `NOT_FOUND` error is returned. */
12440
12602
  name: string;
12441
12603
  /** OAuth 2.0 token for the current user. */
12442
12604
  oauth_token?: string;
@@ -12463,7 +12625,7 @@ declare namespace gapi.client {
12463
12625
  fields?: string;
12464
12626
  /** 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. */
12465
12627
  key?: string;
12466
- /** Required. Full resource name of SampleQuerySet, such as `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. If the caller does not have permission to access the SampleQuerySet, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested SampleQuerySet does not exist, a NOT_FOUND error is returned. */
12628
+ /** Required. Full resource name of SampleQuerySet, such as `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}`. If the caller does not have permission to access the SampleQuerySet, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested SampleQuerySet does not exist, a NOT_FOUND error is returned. */
12467
12629
  name: string;
12468
12630
  /** OAuth 2.0 token for the current user. */
12469
12631
  oauth_token?: string;
@@ -12521,7 +12683,7 @@ declare namespace gapi.client {
12521
12683
  fields?: string;
12522
12684
  /** 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. */
12523
12685
  key?: string;
12524
- /** Immutable. The full resource name of the SampleQuerySet, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
12686
+ /** Identifier. The full resource name of the SampleQuerySet, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
12525
12687
  name: string;
12526
12688
  /** OAuth 2.0 token for the current user. */
12527
12689
  oauth_token?: string;
@@ -12552,7 +12714,7 @@ declare namespace gapi.client {
12552
12714
  fields?: string;
12553
12715
  /** 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. */
12554
12716
  key?: string;
12555
- /** Immutable. The full resource name of the SampleQuerySet, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sampleQuerySet}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
12717
+ /** Identifier. The full resource name of the SampleQuerySet, in the format of `projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
12556
12718
  name: string;
12557
12719
  /** OAuth 2.0 token for the current user. */
12558
12720
  oauth_token?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1beta",
3
- "version": "0.0.20240715",
3
+ "version": "0.0.20240801",
4
4
  "description": "TypeScript typings for Discovery Engine API v1beta",
5
5
  "repository": {
6
6
  "type": "git",