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

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 (3) hide show
  1. package/index.d.ts +159 -85
  2. package/package.json +1 -1
  3. package/readme.md +1 -1
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /* Type definitions for non-npm package Discovery Engine API v1 0.0 */
2
- // Project: https://cloud.google.com/discovery-engine/docs
2
+ // Project: https://cloud.google.com/generative-ai-app-builder/docs/
3
3
  // Definitions by: Maxim Mazurok <https://github.com/Maxim-Mazurok>
4
4
  // Nick Amoscato <https://github.com/namoscato>
5
5
  // Declan Vong <https://github.com/declanvong>
@@ -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: 20240826
12
+ // Revision: 20240906
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -231,7 +231,7 @@ declare namespace gapi.client {
231
231
  document?: string;
232
232
  /** If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets. */
233
233
  snippetInfo?: GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo[];
234
- /** Data representation. The structured JSON data for the document. It's populated from the struct data from the Document , or the Chunk in search result . */
234
+ /** Data representation. The structured JSON data for the document. It's populated from the struct data from the Document, or the Chunk in search result. . */
235
235
  structData?: {[P in string]: any};
236
236
  /** Title. */
237
237
  title?: string;
@@ -368,7 +368,7 @@ declare namespace gapi.client {
368
368
  modelState?: string;
369
369
  /** The version of the model. */
370
370
  modelVersion?: string;
371
- /** Required. The fully qualified resource name of the model. Format: `projects/{project_number}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}` model must be an alpha-numerical string with limit of 40 characters. */
371
+ /** Required. The fully qualified resource name of the model. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}`. Model must be an alpha-numerical string with limit of 40 characters. */
372
372
  name?: string;
373
373
  /** Timestamp the model training was initiated. */
374
374
  trainingStartTime?: string;
@@ -394,6 +394,10 @@ declare namespace gapi.client {
394
394
  languageInfo?: GoogleCloudDiscoveryengineV1alphaLanguageInfo;
395
395
  /** Immutable. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
396
396
  name?: string;
397
+ /** Optional. Configuration for Natural Language Query Understanding. */
398
+ naturalLanguageQueryUnderstandingConfig?: GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig;
399
+ /** Optional. Stores serving config at DataStore level. */
400
+ servingConfigDataStore?: GoogleCloudDiscoveryengineV1alphaServingConfigDataStore;
397
401
  /** The solutions that the data store enrolls. Available solutions for each industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled. */
398
402
  solutionTypes?: string[];
399
403
  /** The start schema to use for this DataStore when provisioning it. If unset, a default vertical specialized schema will be used. This field is only used by CreateDataStore API, and will be ignored if used in other APIs. This field will be omitted from all API responses including CreateDataStore API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema). */
@@ -439,7 +443,7 @@ declare namespace gapi.client {
439
443
  defaultParsingConfig?: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig;
440
444
  /** The full resource name of the Document Processing Config. Format: `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/documentProcessingConfig`. */
441
445
  name?: string;
442
- /** 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. */
446
+ /** 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. * `xlsm`: Override parsing config for XLSM files, only digital parsing and layout parsing are supported. * `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported. */
443
447
  parsingConfigOverrides?: {
444
448
  [P in string]: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig;
445
449
  };
@@ -494,7 +498,7 @@ declare namespace gapi.client {
494
498
  industryVertical?: string;
495
499
  /** Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical. */
496
500
  mediaRecommendationEngineConfig?: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig;
497
- /** Immutable. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*‍/. Otherwise, an INVALID_ARGUMENT error is returned. */
501
+ /** Immutable. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*‍/. Otherwise, an INVALID_ARGUMENT error is returned. */
498
502
  name?: string;
499
503
  /** Output only. Additional information of a recommendation engine. Only applicable if solution_type is SOLUTION_TYPE_RECOMMENDATION. */
500
504
  recommendationMetadata?: GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata;
@@ -754,10 +758,14 @@ declare namespace gapi.client {
754
758
  /** List of custom tuning models. */
755
759
  models?: GoogleCloudDiscoveryengineV1alphaCustomTuningModel[];
756
760
  }
761
+ interface GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig {
762
+ /** Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED. */
763
+ mode?: string;
764
+ }
757
765
  interface GoogleCloudDiscoveryengineV1alphaProject {
758
766
  /** Output only. The timestamp when this project is created. */
759
767
  createTime?: string;
760
- /** Output only. Full resource name of the project, for example `projects/{project_number}`. Note that when making requests, project number and project id are both acceptable, but the server will always respond in project number. */
768
+ /** Output only. Full resource name of the project, for example `projects/{project}`. Note that when making requests, project number and project id are both acceptable, but the server will always respond in project number. */
761
769
  name?: string;
762
770
  /** Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use. */
763
771
  provisionCompletionTime?: string;
@@ -1040,6 +1048,8 @@ declare namespace gapi.client {
1040
1048
  interface GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec {
1041
1049
  /** 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. */
1042
1050
  ignoreAdversarialQuery?: boolean;
1051
+ /** Optional. Specifies whether to filter out jail-breaking queries. The default value is `false`. Google employs search-query classification to detect jail-breaking queries. No summary is returned if the search query is classified as a jail-breaking query. A user might add instructions to the query to change the tone, style, language, content of the answer, or ask the model to act as a different entity, e.g. "Reply in the tone of a competing company's CEO". If this field is set to `true`, we skip generating summaries for jail-breaking queries and return fallback messages instead. */
1052
+ ignoreJailBreakingQuery?: boolean;
1043
1053
  /** 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. */
1044
1054
  ignoreLowRelevantContent?: boolean;
1045
1055
  /** 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. */
@@ -1135,6 +1145,10 @@ declare namespace gapi.client {
1135
1145
  /** The mode under which spell correction replaces the original search query. Defaults to Mode.AUTO. */
1136
1146
  mode?: string;
1137
1147
  }
1148
+ interface GoogleCloudDiscoveryengineV1alphaServingConfigDataStore {
1149
+ /** If set true, the DataStore will not be available for serving search requests. */
1150
+ disabledForServing?: boolean;
1151
+ }
1138
1152
  interface GoogleCloudDiscoveryengineV1alphaSession {
1139
1153
  /** Output only. The time the session finished. */
1140
1154
  endTime?: string;
@@ -1217,7 +1231,7 @@ declare namespace gapi.client {
1217
1231
  modelStatus?: string;
1218
1232
  }
1219
1233
  interface GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata {
1220
- /** Required. The resource name of the engine that this tune applies to. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}` */
1234
+ /** Required. The resource name of the engine that this tune applies to. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}` */
1221
1235
  engine?: string;
1222
1236
  }
1223
1237
  interface GoogleCloudDiscoveryengineV1alphaTuneEngineResponse {}
@@ -1284,7 +1298,7 @@ declare namespace gapi.client {
1284
1298
  interface GoogleCloudDiscoveryengineV1AnswerQueryRequest {
1285
1299
  /** Answer generation specification. */
1286
1300
  answerGenerationSpec?: GoogleCloudDiscoveryengineV1AnswerQueryRequestAnswerGenerationSpec;
1287
- /** Asynchronous mode control. If enabled, the response will be returned with answer/session resource name without final answer. The API users need to do the polling to get the latest status of answer/session by calling ConversationalSearchService.GetAnswer or ConversationalSearchService.GetSession method. */
1301
+ /** Deprecated: This field is deprecated. Streaming Answer API will be supported. Asynchronous mode control. If enabled, the response will be returned with answer/session resource name without final answer. The API users need to do the polling to get the latest status of answer/session by calling ConversationalSearchService.GetAnswer or ConversationalSearchService.GetSession method. */
1288
1302
  asynchronousMode?: boolean;
1289
1303
  /** Required. Current user query. */
1290
1304
  query?: GoogleCloudDiscoveryengineV1Query;
@@ -1308,6 +1322,8 @@ declare namespace gapi.client {
1308
1322
  answerLanguageCode?: string;
1309
1323
  /** Specifies whether to filter out adversarial queries. The default value is `false`. Google employs search-query classification to detect adversarial queries. No answer 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 answers for adversarial queries and return fallback messages instead. */
1310
1324
  ignoreAdversarialQuery?: boolean;
1325
+ /** Optional. Specifies whether to filter out jail-breaking queries. The default value is `false`. Google employs search-query classification to detect jail-breaking queries. No summary is returned if the search query is classified as a jail-breaking query. A user might add instructions to the query to change the tone, style, language, content of the answer, or ask the model to act as a different entity, e.g. "Reply in the tone of a competing company's CEO". If this field is set to `true`, we skip generating summaries for jail-breaking queries and return fallback messages instead. */
1326
+ ignoreJailBreakingQuery?: boolean;
1311
1327
  /** Specifies whether to filter out queries that have low relevance. If this field is set to `false`, all search results are used regardless of relevance to generate answers. If set to `true` or unset, the behavior will be determined automatically by the service. */
1312
1328
  ignoreLowRelevantContent?: boolean;
1313
1329
  /** Specifies whether to filter out queries that are not answer-seeking. The default value is `false`. Google employs search-query classification to detect answer-seeking queries. No answer is returned if the search query is classified as a non-answer seeking query. If this field is set to `true`, we skip generating answers for non-answer seeking queries and return fallback messages instead. */
@@ -1386,6 +1402,14 @@ declare namespace gapi.client {
1386
1402
  chunk?: string;
1387
1403
  /** Chunk textual content. */
1388
1404
  content?: string;
1405
+ /** Metadata of the document from the current chunk. */
1406
+ documentMetadata?: GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata;
1407
+ }
1408
+ interface GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata {
1409
+ /** Title of the document. */
1410
+ title?: string;
1411
+ /** Uri of the document. */
1412
+ uri?: string;
1389
1413
  }
1390
1414
  interface GoogleCloudDiscoveryengineV1AnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo {
1391
1415
  /** Document resource name. */
@@ -1520,7 +1544,7 @@ declare namespace gapi.client {
1520
1544
  document?: string;
1521
1545
  /** If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets. */
1522
1546
  snippetInfo?: GoogleCloudDiscoveryengineV1AnswerStepActionObservationSearchResultSnippetInfo[];
1523
- /** Data representation. The structured JSON data for the document. It's populated from the struct data from the Document , or the Chunk in search result . */
1547
+ /** Data representation. The structured JSON data for the document. It's populated from the struct data from the Document, or the Chunk in search result. . */
1524
1548
  structData?: {[P in string]: any};
1525
1549
  /** Title. */
1526
1550
  title?: string;
@@ -1570,8 +1594,8 @@ declare namespace gapi.client {
1570
1594
  lastRefreshedTime?: string;
1571
1595
  /** The value of the matcher that was used to match the Document. */
1572
1596
  matcherValue?: GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue;
1573
- /** The status of the document. */
1574
- status?: string;
1597
+ /** The state of the document. */
1598
+ state?: string;
1575
1599
  }
1576
1600
  interface GoogleCloudDiscoveryengineV1BatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue {
1577
1601
  /** Required. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} */
@@ -1688,7 +1712,7 @@ declare namespace gapi.client {
1688
1712
  modelState?: string;
1689
1713
  /** The version of the model. */
1690
1714
  modelVersion?: string;
1691
- /** Required. The fully qualified resource name of the model. Format: `projects/{project_number}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}` model must be an alpha-numerical string with limit of 40 characters. */
1715
+ /** Required. The fully qualified resource name of the model. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}`. Model must be an alpha-numerical string with limit of 40 characters. */
1692
1716
  name?: string;
1693
1717
  /** Timestamp the model training was initiated. */
1694
1718
  trainingStartTime?: string;
@@ -1710,6 +1734,10 @@ declare namespace gapi.client {
1710
1734
  languageInfo?: GoogleCloudDiscoveryengineV1betaLanguageInfo;
1711
1735
  /** Immutable. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
1712
1736
  name?: string;
1737
+ /** Optional. Configuration for Natural Language Query Understanding. */
1738
+ naturalLanguageQueryUnderstandingConfig?: GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig;
1739
+ /** Optional. Stores serving config at DataStore level. */
1740
+ servingConfigDataStore?: GoogleCloudDiscoveryengineV1betaServingConfigDataStore;
1713
1741
  /** The solutions that the data store enrolls. Available solutions for each industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled. */
1714
1742
  solutionTypes?: string[];
1715
1743
  /** The start schema to use for this DataStore when provisioning it. If unset, a default vertical specialized schema will be used. This field is only used by CreateDataStore API, and will be ignored if used in other APIs. This field will be omitted from all API responses including CreateDataStore API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema). */
@@ -1755,7 +1783,7 @@ declare namespace gapi.client {
1755
1783
  defaultParsingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig;
1756
1784
  /** The full resource name of the Document Processing Config. Format: `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/documentProcessingConfig`. */
1757
1785
  name?: string;
1758
- /** 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. */
1786
+ /** 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. * `xlsm`: Override parsing config for XLSM files, only digital parsing and layout parsing are supported. * `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported. */
1759
1787
  parsingConfigOverrides?: {
1760
1788
  [P in string]: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig;
1761
1789
  };
@@ -1808,7 +1836,7 @@ declare namespace gapi.client {
1808
1836
  displayName?: string;
1809
1837
  /** The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to `GENERIC`. Vertical on Engine has to match vertical of the DataStore linked to the engine. */
1810
1838
  industryVertical?: string;
1811
- /** Immutable. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*‍/. Otherwise, an INVALID_ARGUMENT error is returned. */
1839
+ /** Immutable. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*‍/. Otherwise, an INVALID_ARGUMENT error is returned. */
1812
1840
  name?: string;
1813
1841
  /** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
1814
1842
  searchEngineConfig?: GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig;
@@ -1989,10 +2017,14 @@ declare namespace gapi.client {
1989
2017
  /** List of custom tuning models. */
1990
2018
  models?: GoogleCloudDiscoveryengineV1betaCustomTuningModel[];
1991
2019
  }
2020
+ interface GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig {
2021
+ /** Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED. */
2022
+ mode?: string;
2023
+ }
1992
2024
  interface GoogleCloudDiscoveryengineV1betaProject {
1993
2025
  /** Output only. The timestamp when this project is created. */
1994
2026
  createTime?: string;
1995
- /** Output only. Full resource name of the project, for example `projects/{project_number}`. Note that when making requests, project number and project id are both acceptable, but the server will always respond in project number. */
2027
+ /** Output only. Full resource name of the project, for example `projects/{project}`. Note that when making requests, project number and project id are both acceptable, but the server will always respond in project number. */
1996
2028
  name?: string;
1997
2029
  /** Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use. */
1998
2030
  provisionCompletionTime?: string;
@@ -2205,6 +2237,8 @@ declare namespace gapi.client {
2205
2237
  interface GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec {
2206
2238
  /** 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. */
2207
2239
  ignoreAdversarialQuery?: boolean;
2240
+ /** Optional. Specifies whether to filter out jail-breaking queries. The default value is `false`. Google employs search-query classification to detect jail-breaking queries. No summary is returned if the search query is classified as a jail-breaking query. A user might add instructions to the query to change the tone, style, language, content of the answer, or ask the model to act as a different entity, e.g. "Reply in the tone of a competing company's CEO". If this field is set to `true`, we skip generating summaries for jail-breaking queries and return fallback messages instead. */
2241
+ ignoreJailBreakingQuery?: boolean;
2208
2242
  /** 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. */
2209
2243
  ignoreLowRelevantContent?: boolean;
2210
2244
  /** 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. */
@@ -2300,6 +2334,10 @@ declare namespace gapi.client {
2300
2334
  /** The mode under which spell correction replaces the original search query. Defaults to Mode.AUTO. */
2301
2335
  mode?: string;
2302
2336
  }
2337
+ interface GoogleCloudDiscoveryengineV1betaServingConfigDataStore {
2338
+ /** If set true, the DataStore will not be available for serving search requests. */
2339
+ disabledForServing?: boolean;
2340
+ }
2303
2341
  interface GoogleCloudDiscoveryengineV1betaSiteVerificationInfo {
2304
2342
  /** Site verification state indicating the ownership and validity. */
2305
2343
  siteVerificationState?: string;
@@ -2355,7 +2393,7 @@ declare namespace gapi.client {
2355
2393
  modelStatus?: string;
2356
2394
  }
2357
2395
  interface GoogleCloudDiscoveryengineV1betaTuneEngineMetadata {
2358
- /** Required. The resource name of the engine that this tune applies to. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}` */
2396
+ /** Required. The resource name of the engine that this tune applies to. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}` */
2359
2397
  engine?: string;
2360
2398
  }
2361
2399
  interface GoogleCloudDiscoveryengineV1betaTuneEngineResponse {}
@@ -2656,7 +2694,7 @@ declare namespace gapi.client {
2656
2694
  query?: GoogleCloudDiscoveryengineV1TextInput;
2657
2695
  /** Whether to turn on safe search. */
2658
2696
  safeSearch?: boolean;
2659
- /** The resource name of the Serving Config to use. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/servingConfigs/{serving_config_id}` If this is not set, the default serving config will be used. */
2697
+ /** The resource name of the Serving Config to use. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/servingConfigs/{serving_config_id}` If this is not set, the default serving config will be used. */
2660
2698
  servingConfig?: string;
2661
2699
  /** A specification for configuring the summary returned in the response. */
2662
2700
  summarySpec?: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec;
@@ -2718,7 +2756,7 @@ declare namespace gapi.client {
2718
2756
  modelState?: string;
2719
2757
  /** The version of the model. */
2720
2758
  modelVersion?: string;
2721
- /** Required. The fully qualified resource name of the model. Format: `projects/{project_number}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}` model must be an alpha-numerical string with limit of 40 characters. */
2759
+ /** Required. The fully qualified resource name of the model. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}`. Model must be an alpha-numerical string with limit of 40 characters. */
2722
2760
  name?: string;
2723
2761
  /** Timestamp the model training was initiated. */
2724
2762
  trainingStartTime?: string;
@@ -2738,6 +2776,8 @@ declare namespace gapi.client {
2738
2776
  industryVertical?: string;
2739
2777
  /** Immutable. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
2740
2778
  name?: string;
2779
+ /** Optional. Stores serving config at DataStore level. */
2780
+ servingConfigDataStore?: GoogleCloudDiscoveryengineV1ServingConfigDataStore;
2741
2781
  /** The solutions that the data store enrolls. Available solutions for each industry_vertical: * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`. * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other solutions cannot be enrolled. */
2742
2782
  solutionTypes?: string[];
2743
2783
  /** The start schema to use for this DataStore when provisioning it. If unset, a default vertical specialized schema will be used. This field is only used by CreateDataStore API, and will be ignored if used in other APIs. This field will be omitted from all API responses including CreateDataStore API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema). */
@@ -2784,6 +2824,8 @@ declare namespace gapi.client {
2784
2824
  derivedStructData?: {[P in string]: any};
2785
2825
  /** 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. */
2786
2826
  id?: string;
2827
+ /** 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. */
2828
+ indexStatus?: GoogleCloudDiscoveryengineV1DocumentIndexStatus;
2787
2829
  /** 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. */
2788
2830
  indexTime?: string;
2789
2831
  /** The JSON string representation of the document. It should conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown. */
@@ -2805,12 +2847,18 @@ declare namespace gapi.client {
2805
2847
  /** 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. */
2806
2848
  uri?: string;
2807
2849
  }
2850
+ interface GoogleCloudDiscoveryengineV1DocumentIndexStatus {
2851
+ /** A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors. */
2852
+ errorSamples?: GoogleRpcStatus[];
2853
+ /** The time when the document was indexed. If this field is populated, it means the document has been indexed. */
2854
+ indexTime?: string;
2855
+ }
2808
2856
  interface GoogleCloudDiscoveryengineV1DocumentInfo {
2809
2857
  /** The Document resource ID. */
2810
2858
  id?: string;
2811
2859
  /** Output only. Whether the referenced Document can be found in the data store. */
2812
2860
  joined?: boolean;
2813
- /** 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}` */
2861
+ /** The Document resource full name, of the form: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/branches/{branch_id}/documents/{document_id}` */
2814
2862
  name?: string;
2815
2863
  /** The promotion IDs associated with this Document. Currently, this field is restricted to at most one ID. */
2816
2864
  promotionIds?: string[];
@@ -2826,7 +2874,7 @@ declare namespace gapi.client {
2826
2874
  defaultParsingConfig?: GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig;
2827
2875
  /** The full resource name of the Document Processing Config. Format: `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/documentProcessingConfig`. */
2828
2876
  name?: string;
2829
- /** 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. */
2877
+ /** 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. * `xlsm`: Override parsing config for XLSM files, only digital parsing and layout parsing are supported. * `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported. */
2830
2878
  parsingConfigOverrides?: {
2831
2879
  [P in string]: GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig;
2832
2880
  };
@@ -2880,7 +2928,7 @@ declare namespace gapi.client {
2880
2928
  displayName?: string;
2881
2929
  /** The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: If unspecified, default to `GENERIC`. Vertical on Engine has to match vertical of the DataStore linked to the engine. */
2882
2930
  industryVertical?: string;
2883
- /** Immutable. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*‍/. Otherwise, an INVALID_ARGUMENT error is returned. */
2931
+ /** Immutable. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*‍/. Otherwise, an INVALID_ARGUMENT error is returned. */
2884
2932
  name?: string;
2885
2933
  /** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
2886
2934
  searchEngineConfig?: GoogleCloudDiscoveryengineV1EngineSearchEngineConfig;
@@ -3204,7 +3252,7 @@ declare namespace gapi.client {
3204
3252
  interface GoogleCloudDiscoveryengineV1Project {
3205
3253
  /** Output only. The timestamp when this project is created. */
3206
3254
  createTime?: string;
3207
- /** Output only. Full resource name of the project, for example `projects/{project_number}`. Note that when making requests, project number and project id are both acceptable, but the server will always respond in project number. */
3255
+ /** Output only. Full resource name of the project, for example `projects/{project}`. Note that when making requests, project number and project id are both acceptable, but the server will always respond in project number. */
3208
3256
  name?: string;
3209
3257
  /** Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use. */
3210
3258
  provisionCompletionTime?: string;
@@ -3369,6 +3417,8 @@ declare namespace gapi.client {
3369
3417
  metadata?: {[P in string]: any};
3370
3418
  }
3371
3419
  interface GoogleCloudDiscoveryengineV1RecrawlUrisRequest {
3420
+ /** Optional. Full resource name of the SiteCredential, such as `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine/siteCredentials/*`. Only set to crawl private URIs. */
3421
+ siteCredential?: string;
3372
3422
  /** Required. List of URIs to crawl. At most 10K URIs are supported, otherwise an INVALID_ARGUMENT error is thrown. Each URI should match at least one TargetSite in `site_search_engine`. */
3373
3423
  uris?: string[];
3374
3424
  }
@@ -3449,9 +3499,27 @@ declare namespace gapi.client {
3449
3499
  interface GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpec {
3450
3500
  /** Strength of the condition boost, which should be in [-1, 1]. Negative boost means demotion. Default is 0.0. Setting to 1.0 gives the document a big promotion. However, it does not necessarily mean that the boosted document will be the top result at all times, nor that other documents will be excluded. Results could still be shown even when none of them matches the condition. And results that are significantly more relevant to the search query can still trump your heavily favored but irrelevant documents. Setting to -1.0 gives the document a big demotion. However, results that are deeply relevant might still be shown. The document will have an upstream battle to get a fairly high ranking, but it is not blocked out completely. Setting to 0.0 means no boost applied. The boosting condition is ignored. Only one of the (condition, boost) combination or the boost_control_spec below are set. If both are set then the global boost is ignored and the more fine-grained boost_control_spec is applied. */
3451
3501
  boost?: number;
3502
+ /** Complex specification for custom ranking based on customer defined attribute value. */
3503
+ boostControlSpec?: GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec;
3452
3504
  /** An expression which specifies a boost condition. The syntax and supported fields are the same as a filter expression. See SearchRequest.filter for detail syntax and limitations. Examples: * To boost documents with document ID "doc_1" or "doc_2", and color "Red" or "Blue": `(document_id: ANY("doc_1", "doc_2")) AND (color: ANY("Red", "Blue"))` */
3453
3505
  condition?: string;
3454
3506
  }
3507
+ interface GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpec {
3508
+ /** The attribute type to be used to determine the boost amount. The attribute value can be derived from the field value of the specified field_name. In the case of numerical it is straightforward i.e. attribute_value = numerical_field_value. In the case of freshness however, attribute_value = (time.now() - datetime_field_value). */
3509
+ attributeType?: string;
3510
+ /** The control points used to define the curve. The monotonic function (defined through the interpolation_type above) passes through the control points listed here. */
3511
+ controlPoints?: GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint[];
3512
+ /** The name of the field whose value will be used to determine the boost amount. */
3513
+ fieldName?: string;
3514
+ /** The interpolation type to be applied to connect the control points listed below. */
3515
+ interpolationType?: string;
3516
+ }
3517
+ interface GoogleCloudDiscoveryengineV1SearchRequestBoostSpecConditionBoostSpecBoostControlSpecControlPoint {
3518
+ /** Can be one of: 1. The numerical field value. 2. The duration spec for freshness: The value must be formatted as an XSD `dayTimeDuration` value (a restricted subset of an ISO 8601 duration value). The pattern for this is: `nDnM]`. */
3519
+ attributeValue?: string;
3520
+ /** The value between -1 to 1 by which to boost the score if the attribute_value evaluates to the value specified above. */
3521
+ boostAmount?: number;
3522
+ }
3455
3523
  interface GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpec {
3456
3524
  /** Specifies the chunk spec to be returned from the search response. Only available if the SearchRequest.ContentSearchSpec.search_result_mode is set to CHUNKS */
3457
3525
  chunkSpec?: GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecChunkSpec;
@@ -3493,6 +3561,8 @@ declare namespace gapi.client {
3493
3561
  interface GoogleCloudDiscoveryengineV1SearchRequestContentSearchSpecSummarySpec {
3494
3562
  /** 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. */
3495
3563
  ignoreAdversarialQuery?: boolean;
3564
+ /** Optional. Specifies whether to filter out jail-breaking queries. The default value is `false`. Google employs search-query classification to detect jail-breaking queries. No summary is returned if the search query is classified as a jail-breaking query. A user might add instructions to the query to change the tone, style, language, content of the answer, or ask the model to act as a different entity, e.g. "Reply in the tone of a competing company's CEO". If this field is set to `true`, we skip generating summaries for jail-breaking queries and return fallback messages instead. */
3565
+ ignoreJailBreakingQuery?: boolean;
3496
3566
  /** 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. */
3497
3567
  ignoreLowRelevantContent?: boolean;
3498
3568
  /** 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. */
@@ -3686,6 +3756,10 @@ declare namespace gapi.client {
3686
3756
  /** Summary text with no citation information. */
3687
3757
  summary?: string;
3688
3758
  }
3759
+ interface GoogleCloudDiscoveryengineV1ServingConfigDataStore {
3760
+ /** If set true, the DataStore will not be available for serving search requests. */
3761
+ disabledForServing?: boolean;
3762
+ }
3689
3763
  interface GoogleCloudDiscoveryengineV1Session {
3690
3764
  /** Output only. The time the session finished. */
3691
3765
  endTime?: string;
@@ -4612,7 +4686,7 @@ declare namespace gapi.client {
4612
4686
  key?: string;
4613
4687
  /** OAuth 2.0 token for the current user. */
4614
4688
  oauth_token?: string;
4615
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. */
4689
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. */
4616
4690
  parent: string;
4617
4691
  /** Returns response with indentations and line breaks. */
4618
4692
  prettyPrint?: boolean;
@@ -4643,7 +4717,7 @@ declare namespace gapi.client {
4643
4717
  key?: string;
4644
4718
  /** OAuth 2.0 token for the current user. */
4645
4719
  oauth_token?: string;
4646
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. */
4720
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. */
4647
4721
  parent: string;
4648
4722
  /** Returns response with indentations and line breaks. */
4649
4723
  prettyPrint?: boolean;
@@ -4670,7 +4744,7 @@ declare namespace gapi.client {
4670
4744
  fields?: string;
4671
4745
  /** 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. */
4672
4746
  key?: string;
4673
- /** Required. The resource name of the Control to delete. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
4747
+ /** Required. The resource name of the Control to delete. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
4674
4748
  name: string;
4675
4749
  /** OAuth 2.0 token for the current user. */
4676
4750
  oauth_token?: string;
@@ -4697,7 +4771,7 @@ declare namespace gapi.client {
4697
4771
  fields?: string;
4698
4772
  /** 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. */
4699
4773
  key?: string;
4700
- /** Required. The resource name of the Control to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
4774
+ /** Required. The resource name of the Control to get. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
4701
4775
  name: string;
4702
4776
  /** OAuth 2.0 token for the current user. */
4703
4777
  oauth_token?: string;
@@ -4732,7 +4806,7 @@ declare namespace gapi.client {
4732
4806
  pageSize?: number;
4733
4807
  /** Optional. A page token, received from a previous `ListControls` call. Provide this to retrieve the subsequent page. */
4734
4808
  pageToken?: string;
4735
- /** Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. */
4809
+ /** Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. */
4736
4810
  parent: string;
4737
4811
  /** Returns response with indentations and line breaks. */
4738
4812
  prettyPrint?: boolean;
@@ -4821,7 +4895,7 @@ declare namespace gapi.client {
4821
4895
  fields?: string;
4822
4896
  /** 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. */
4823
4897
  key?: string;
4824
- /** Required. The resource name of the Conversation to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session. */
4898
+ /** Required. The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session. */
4825
4899
  name: string;
4826
4900
  /** OAuth 2.0 token for the current user. */
4827
4901
  oauth_token?: string;
@@ -4850,7 +4924,7 @@ declare namespace gapi.client {
4850
4924
  fields?: string;
4851
4925
  /** 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. */
4852
4926
  key?: string;
4853
- /** Required. The resource name of the Conversation to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session. */
4927
+ /** Required. The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session. */
4854
4928
  name: string;
4855
4929
  /** OAuth 2.0 token for the current user. */
4856
4930
  oauth_token?: string;
@@ -4881,7 +4955,7 @@ declare namespace gapi.client {
4881
4955
  key?: string;
4882
4956
  /** OAuth 2.0 token for the current user. */
4883
4957
  oauth_token?: string;
4884
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
4958
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
4885
4959
  parent: string;
4886
4960
  /** Returns response with indentations and line breaks. */
4887
4961
  prettyPrint?: boolean;
@@ -4910,7 +4984,7 @@ declare namespace gapi.client {
4910
4984
  key?: string;
4911
4985
  /** OAuth 2.0 token for the current user. */
4912
4986
  oauth_token?: string;
4913
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
4987
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
4914
4988
  parent: string;
4915
4989
  /** Returns response with indentations and line breaks. */
4916
4990
  prettyPrint?: boolean;
@@ -4937,7 +5011,7 @@ declare namespace gapi.client {
4937
5011
  fields?: string;
4938
5012
  /** 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. */
4939
5013
  key?: string;
4940
- /** Required. The resource name of the Conversation to delete. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
5014
+ /** Required. The resource name of the Conversation to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
4941
5015
  name: string;
4942
5016
  /** OAuth 2.0 token for the current user. */
4943
5017
  oauth_token?: string;
@@ -4964,7 +5038,7 @@ declare namespace gapi.client {
4964
5038
  fields?: string;
4965
5039
  /** 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. */
4966
5040
  key?: string;
4967
- /** Required. The resource name of the Conversation to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
5041
+ /** Required. The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
4968
5042
  name: string;
4969
5043
  /** OAuth 2.0 token for the current user. */
4970
5044
  oauth_token?: string;
@@ -5001,7 +5075,7 @@ declare namespace gapi.client {
5001
5075
  pageSize?: number;
5002
5076
  /** A page token, received from a previous `ListConversations` call. Provide this to retrieve the subsequent page. */
5003
5077
  pageToken?: string;
5004
- /** Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
5078
+ /** Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
5005
5079
  parent: string;
5006
5080
  /** Returns response with indentations and line breaks. */
5007
5081
  prettyPrint?: boolean;
@@ -5696,7 +5770,7 @@ declare namespace gapi.client {
5696
5770
  fields?: string;
5697
5771
  /** 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. */
5698
5772
  key?: string;
5699
- /** Required. The resource name of the Answer to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}` */
5773
+ /** Required. The resource name of the Answer to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}` */
5700
5774
  name: string;
5701
5775
  /** OAuth 2.0 token for the current user. */
5702
5776
  oauth_token?: string;
@@ -5727,7 +5801,7 @@ declare namespace gapi.client {
5727
5801
  key?: string;
5728
5802
  /** OAuth 2.0 token for the current user. */
5729
5803
  oauth_token?: string;
5730
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
5804
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
5731
5805
  parent: string;
5732
5806
  /** Returns response with indentations and line breaks. */
5733
5807
  prettyPrint?: boolean;
@@ -5756,7 +5830,7 @@ declare namespace gapi.client {
5756
5830
  key?: string;
5757
5831
  /** OAuth 2.0 token for the current user. */
5758
5832
  oauth_token?: string;
5759
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
5833
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
5760
5834
  parent: string;
5761
5835
  /** Returns response with indentations and line breaks. */
5762
5836
  prettyPrint?: boolean;
@@ -5783,7 +5857,7 @@ declare namespace gapi.client {
5783
5857
  fields?: string;
5784
5858
  /** 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. */
5785
5859
  key?: string;
5786
- /** Required. The resource name of the Session to delete. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
5860
+ /** Required. The resource name of the Session to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
5787
5861
  name: string;
5788
5862
  /** OAuth 2.0 token for the current user. */
5789
5863
  oauth_token?: string;
@@ -5810,7 +5884,7 @@ declare namespace gapi.client {
5810
5884
  fields?: string;
5811
5885
  /** 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. */
5812
5886
  key?: string;
5813
- /** Required. The resource name of the Session to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
5887
+ /** Required. The resource name of the Session to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
5814
5888
  name: string;
5815
5889
  /** OAuth 2.0 token for the current user. */
5816
5890
  oauth_token?: string;
@@ -5847,7 +5921,7 @@ declare namespace gapi.client {
5847
5921
  pageSize?: number;
5848
5922
  /** A page token, received from a previous `ListSessions` call. Provide this to retrieve the subsequent page. */
5849
5923
  pageToken?: string;
5850
- /** Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
5924
+ /** Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
5851
5925
  parent: string;
5852
5926
  /** Returns response with indentations and line breaks. */
5853
5927
  prettyPrint?: boolean;
@@ -6801,7 +6875,7 @@ declare namespace gapi.client {
6801
6875
  key?: string;
6802
6876
  /** OAuth 2.0 token for the current user. */
6803
6877
  oauth_token?: string;
6804
- /** Required. The resource name of the catalog under which the events are created. The format is `projects/${projectId}/locations/global/collections/{$collectionId}/dataStores/${dataStoreId}` */
6878
+ /** Required. The resource name of the catalog under which the events are created. The format is `projects/{project}/locations/global/collections/{collection}/dataStores/{dataStore}`. */
6805
6879
  parent: string;
6806
6880
  /** Returns response with indentations and line breaks. */
6807
6881
  prettyPrint?: boolean;
@@ -6830,7 +6904,7 @@ declare namespace gapi.client {
6830
6904
  key?: string;
6831
6905
  /** OAuth 2.0 token for the current user. */
6832
6906
  oauth_token?: string;
6833
- /** Required. The resource name of the catalog under which the events are created. The format is `projects/${projectId}/locations/global/collections/{$collectionId}/dataStores/${dataStoreId}` */
6907
+ /** Required. The resource name of the catalog under which the events are created. The format is `projects/{project}/locations/global/collections/{collection}/dataStores/{dataStore}`. */
6834
6908
  parent: string;
6835
6909
  /** Returns response with indentations and line breaks. */
6836
6910
  prettyPrint?: boolean;
@@ -7279,7 +7353,7 @@ declare namespace gapi.client {
7279
7353
  key?: string;
7280
7354
  /** OAuth 2.0 token for the current user. */
7281
7355
  oauth_token?: string;
7282
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. */
7356
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. */
7283
7357
  parent: string;
7284
7358
  /** Returns response with indentations and line breaks. */
7285
7359
  prettyPrint?: boolean;
@@ -7310,7 +7384,7 @@ declare namespace gapi.client {
7310
7384
  key?: string;
7311
7385
  /** OAuth 2.0 token for the current user. */
7312
7386
  oauth_token?: string;
7313
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. */
7387
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. */
7314
7388
  parent: string;
7315
7389
  /** Returns response with indentations and line breaks. */
7316
7390
  prettyPrint?: boolean;
@@ -7337,7 +7411,7 @@ declare namespace gapi.client {
7337
7411
  fields?: string;
7338
7412
  /** 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. */
7339
7413
  key?: string;
7340
- /** Required. The resource name of the Control to delete. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
7414
+ /** Required. The resource name of the Control to delete. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
7341
7415
  name: string;
7342
7416
  /** OAuth 2.0 token for the current user. */
7343
7417
  oauth_token?: string;
@@ -7364,7 +7438,7 @@ declare namespace gapi.client {
7364
7438
  fields?: string;
7365
7439
  /** 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. */
7366
7440
  key?: string;
7367
- /** Required. The resource name of the Control to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
7441
+ /** Required. The resource name of the Control to get. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
7368
7442
  name: string;
7369
7443
  /** OAuth 2.0 token for the current user. */
7370
7444
  oauth_token?: string;
@@ -7399,7 +7473,7 @@ declare namespace gapi.client {
7399
7473
  pageSize?: number;
7400
7474
  /** Optional. A page token, received from a previous `ListControls` call. Provide this to retrieve the subsequent page. */
7401
7475
  pageToken?: string;
7402
- /** Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. */
7476
+ /** Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. */
7403
7477
  parent: string;
7404
7478
  /** Returns response with indentations and line breaks. */
7405
7479
  prettyPrint?: boolean;
@@ -7488,7 +7562,7 @@ declare namespace gapi.client {
7488
7562
  fields?: string;
7489
7563
  /** 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. */
7490
7564
  key?: string;
7491
- /** Required. The resource name of the Conversation to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session. */
7565
+ /** Required. The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session. */
7492
7566
  name: string;
7493
7567
  /** OAuth 2.0 token for the current user. */
7494
7568
  oauth_token?: string;
@@ -7517,7 +7591,7 @@ declare namespace gapi.client {
7517
7591
  fields?: string;
7518
7592
  /** 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. */
7519
7593
  key?: string;
7520
- /** Required. The resource name of the Conversation to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session. */
7594
+ /** Required. The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session. */
7521
7595
  name: string;
7522
7596
  /** OAuth 2.0 token for the current user. */
7523
7597
  oauth_token?: string;
@@ -7548,7 +7622,7 @@ declare namespace gapi.client {
7548
7622
  key?: string;
7549
7623
  /** OAuth 2.0 token for the current user. */
7550
7624
  oauth_token?: string;
7551
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
7625
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
7552
7626
  parent: string;
7553
7627
  /** Returns response with indentations and line breaks. */
7554
7628
  prettyPrint?: boolean;
@@ -7577,7 +7651,7 @@ declare namespace gapi.client {
7577
7651
  key?: string;
7578
7652
  /** OAuth 2.0 token for the current user. */
7579
7653
  oauth_token?: string;
7580
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
7654
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
7581
7655
  parent: string;
7582
7656
  /** Returns response with indentations and line breaks. */
7583
7657
  prettyPrint?: boolean;
@@ -7604,7 +7678,7 @@ declare namespace gapi.client {
7604
7678
  fields?: string;
7605
7679
  /** 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. */
7606
7680
  key?: string;
7607
- /** Required. The resource name of the Conversation to delete. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
7681
+ /** Required. The resource name of the Conversation to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
7608
7682
  name: string;
7609
7683
  /** OAuth 2.0 token for the current user. */
7610
7684
  oauth_token?: string;
@@ -7631,7 +7705,7 @@ declare namespace gapi.client {
7631
7705
  fields?: string;
7632
7706
  /** 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. */
7633
7707
  key?: string;
7634
- /** Required. The resource name of the Conversation to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
7708
+ /** Required. The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
7635
7709
  name: string;
7636
7710
  /** OAuth 2.0 token for the current user. */
7637
7711
  oauth_token?: string;
@@ -7668,7 +7742,7 @@ declare namespace gapi.client {
7668
7742
  pageSize?: number;
7669
7743
  /** A page token, received from a previous `ListConversations` call. Provide this to retrieve the subsequent page. */
7670
7744
  pageToken?: string;
7671
- /** Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
7745
+ /** Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
7672
7746
  parent: string;
7673
7747
  /** Returns response with indentations and line breaks. */
7674
7748
  prettyPrint?: boolean;
@@ -7995,7 +8069,7 @@ declare namespace gapi.client {
7995
8069
  fields?: string;
7996
8070
  /** 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. */
7997
8071
  key?: string;
7998
- /** Required. The resource name of the Answer to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}` */
8072
+ /** Required. The resource name of the Answer to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}` */
7999
8073
  name: string;
8000
8074
  /** OAuth 2.0 token for the current user. */
8001
8075
  oauth_token?: string;
@@ -8026,7 +8100,7 @@ declare namespace gapi.client {
8026
8100
  key?: string;
8027
8101
  /** OAuth 2.0 token for the current user. */
8028
8102
  oauth_token?: string;
8029
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
8103
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
8030
8104
  parent: string;
8031
8105
  /** Returns response with indentations and line breaks. */
8032
8106
  prettyPrint?: boolean;
@@ -8055,7 +8129,7 @@ declare namespace gapi.client {
8055
8129
  key?: string;
8056
8130
  /** OAuth 2.0 token for the current user. */
8057
8131
  oauth_token?: string;
8058
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
8132
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
8059
8133
  parent: string;
8060
8134
  /** Returns response with indentations and line breaks. */
8061
8135
  prettyPrint?: boolean;
@@ -8082,7 +8156,7 @@ declare namespace gapi.client {
8082
8156
  fields?: string;
8083
8157
  /** 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. */
8084
8158
  key?: string;
8085
- /** Required. The resource name of the Session to delete. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
8159
+ /** Required. The resource name of the Session to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
8086
8160
  name: string;
8087
8161
  /** OAuth 2.0 token for the current user. */
8088
8162
  oauth_token?: string;
@@ -8109,7 +8183,7 @@ declare namespace gapi.client {
8109
8183
  fields?: string;
8110
8184
  /** 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. */
8111
8185
  key?: string;
8112
- /** Required. The resource name of the Session to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
8186
+ /** Required. The resource name of the Session to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
8113
8187
  name: string;
8114
8188
  /** OAuth 2.0 token for the current user. */
8115
8189
  oauth_token?: string;
@@ -8146,7 +8220,7 @@ declare namespace gapi.client {
8146
8220
  pageSize?: number;
8147
8221
  /** A page token, received from a previous `ListSessions` call. Provide this to retrieve the subsequent page. */
8148
8222
  pageToken?: string;
8149
- /** Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
8223
+ /** Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
8150
8224
  parent: string;
8151
8225
  /** Returns response with indentations and line breaks. */
8152
8226
  prettyPrint?: boolean;
@@ -8385,7 +8459,7 @@ declare namespace gapi.client {
8385
8459
  fields?: string;
8386
8460
  /** 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. */
8387
8461
  key?: string;
8388
- /** Immutable. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*‍/. Otherwise, an INVALID_ARGUMENT error is returned. */
8462
+ /** Immutable. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*‍/. Otherwise, an INVALID_ARGUMENT error is returned. */
8389
8463
  name: string;
8390
8464
  /** OAuth 2.0 token for the current user. */
8391
8465
  oauth_token?: string;
@@ -8416,7 +8490,7 @@ declare namespace gapi.client {
8416
8490
  fields?: string;
8417
8491
  /** 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. */
8418
8492
  key?: string;
8419
- /** Immutable. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*‍/. Otherwise, an INVALID_ARGUMENT error is returned. */
8493
+ /** Immutable. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*‍/. Otherwise, an INVALID_ARGUMENT error is returned. */
8420
8494
  name: string;
8421
8495
  /** OAuth 2.0 token for the current user. */
8422
8496
  oauth_token?: string;
@@ -9130,7 +9204,7 @@ declare namespace gapi.client {
9130
9204
  key?: string;
9131
9205
  /** OAuth 2.0 token for the current user. */
9132
9206
  oauth_token?: string;
9133
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. */
9207
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. */
9134
9208
  parent: string;
9135
9209
  /** Returns response with indentations and line breaks. */
9136
9210
  prettyPrint?: boolean;
@@ -9161,7 +9235,7 @@ declare namespace gapi.client {
9161
9235
  key?: string;
9162
9236
  /** OAuth 2.0 token for the current user. */
9163
9237
  oauth_token?: string;
9164
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. */
9238
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. */
9165
9239
  parent: string;
9166
9240
  /** Returns response with indentations and line breaks. */
9167
9241
  prettyPrint?: boolean;
@@ -9188,7 +9262,7 @@ declare namespace gapi.client {
9188
9262
  fields?: string;
9189
9263
  /** 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. */
9190
9264
  key?: string;
9191
- /** Required. The resource name of the Control to delete. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
9265
+ /** Required. The resource name of the Control to delete. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
9192
9266
  name: string;
9193
9267
  /** OAuth 2.0 token for the current user. */
9194
9268
  oauth_token?: string;
@@ -9215,7 +9289,7 @@ declare namespace gapi.client {
9215
9289
  fields?: string;
9216
9290
  /** 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. */
9217
9291
  key?: string;
9218
- /** Required. The resource name of the Control to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
9292
+ /** Required. The resource name of the Control to get. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
9219
9293
  name: string;
9220
9294
  /** OAuth 2.0 token for the current user. */
9221
9295
  oauth_token?: string;
@@ -9250,7 +9324,7 @@ declare namespace gapi.client {
9250
9324
  pageSize?: number;
9251
9325
  /** Optional. A page token, received from a previous `ListControls` call. Provide this to retrieve the subsequent page. */
9252
9326
  pageToken?: string;
9253
- /** Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}`. */
9327
+ /** Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}` or `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. */
9254
9328
  parent: string;
9255
9329
  /** Returns response with indentations and line breaks. */
9256
9330
  prettyPrint?: boolean;
@@ -9339,7 +9413,7 @@ declare namespace gapi.client {
9339
9413
  fields?: string;
9340
9414
  /** 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. */
9341
9415
  key?: string;
9342
- /** Required. The resource name of the Conversation to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session. */
9416
+ /** Required. The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session. */
9343
9417
  name: string;
9344
9418
  /** OAuth 2.0 token for the current user. */
9345
9419
  oauth_token?: string;
@@ -9368,7 +9442,7 @@ declare namespace gapi.client {
9368
9442
  fields?: string;
9369
9443
  /** 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. */
9370
9444
  key?: string;
9371
- /** Required. The resource name of the Conversation to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session. */
9445
+ /** Required. The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}`. Use `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/-` to activate auto session mode, which automatically creates a new conversation inside a ConverseConversation session. */
9372
9446
  name: string;
9373
9447
  /** OAuth 2.0 token for the current user. */
9374
9448
  oauth_token?: string;
@@ -9399,7 +9473,7 @@ declare namespace gapi.client {
9399
9473
  key?: string;
9400
9474
  /** OAuth 2.0 token for the current user. */
9401
9475
  oauth_token?: string;
9402
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
9476
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
9403
9477
  parent: string;
9404
9478
  /** Returns response with indentations and line breaks. */
9405
9479
  prettyPrint?: boolean;
@@ -9428,7 +9502,7 @@ declare namespace gapi.client {
9428
9502
  key?: string;
9429
9503
  /** OAuth 2.0 token for the current user. */
9430
9504
  oauth_token?: string;
9431
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
9505
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
9432
9506
  parent: string;
9433
9507
  /** Returns response with indentations and line breaks. */
9434
9508
  prettyPrint?: boolean;
@@ -9455,7 +9529,7 @@ declare namespace gapi.client {
9455
9529
  fields?: string;
9456
9530
  /** 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. */
9457
9531
  key?: string;
9458
- /** Required. The resource name of the Conversation to delete. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
9532
+ /** Required. The resource name of the Conversation to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
9459
9533
  name: string;
9460
9534
  /** OAuth 2.0 token for the current user. */
9461
9535
  oauth_token?: string;
@@ -9482,7 +9556,7 @@ declare namespace gapi.client {
9482
9556
  fields?: string;
9483
9557
  /** 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. */
9484
9558
  key?: string;
9485
- /** Required. The resource name of the Conversation to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
9559
+ /** Required. The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
9486
9560
  name: string;
9487
9561
  /** OAuth 2.0 token for the current user. */
9488
9562
  oauth_token?: string;
@@ -9519,7 +9593,7 @@ declare namespace gapi.client {
9519
9593
  pageSize?: number;
9520
9594
  /** A page token, received from a previous `ListConversations` call. Provide this to retrieve the subsequent page. */
9521
9595
  pageToken?: string;
9522
- /** Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
9596
+ /** Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
9523
9597
  parent: string;
9524
9598
  /** Returns response with indentations and line breaks. */
9525
9599
  prettyPrint?: boolean;
@@ -10122,7 +10196,7 @@ declare namespace gapi.client {
10122
10196
  fields?: string;
10123
10197
  /** 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. */
10124
10198
  key?: string;
10125
- /** Required. The resource name of the Answer to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}` */
10199
+ /** Required. The resource name of the Answer to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}` */
10126
10200
  name: string;
10127
10201
  /** OAuth 2.0 token for the current user. */
10128
10202
  oauth_token?: string;
@@ -10153,7 +10227,7 @@ declare namespace gapi.client {
10153
10227
  key?: string;
10154
10228
  /** OAuth 2.0 token for the current user. */
10155
10229
  oauth_token?: string;
10156
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
10230
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
10157
10231
  parent: string;
10158
10232
  /** Returns response with indentations and line breaks. */
10159
10233
  prettyPrint?: boolean;
@@ -10182,7 +10256,7 @@ declare namespace gapi.client {
10182
10256
  key?: string;
10183
10257
  /** OAuth 2.0 token for the current user. */
10184
10258
  oauth_token?: string;
10185
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
10259
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
10186
10260
  parent: string;
10187
10261
  /** Returns response with indentations and line breaks. */
10188
10262
  prettyPrint?: boolean;
@@ -10209,7 +10283,7 @@ declare namespace gapi.client {
10209
10283
  fields?: string;
10210
10284
  /** 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. */
10211
10285
  key?: string;
10212
- /** Required. The resource name of the Session to delete. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
10286
+ /** Required. The resource name of the Session to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
10213
10287
  name: string;
10214
10288
  /** OAuth 2.0 token for the current user. */
10215
10289
  oauth_token?: string;
@@ -10236,7 +10310,7 @@ declare namespace gapi.client {
10236
10310
  fields?: string;
10237
10311
  /** 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. */
10238
10312
  key?: string;
10239
- /** Required. The resource name of the Session to get. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
10313
+ /** Required. The resource name of the Session to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
10240
10314
  name: string;
10241
10315
  /** OAuth 2.0 token for the current user. */
10242
10316
  oauth_token?: string;
@@ -10273,7 +10347,7 @@ declare namespace gapi.client {
10273
10347
  pageSize?: number;
10274
10348
  /** A page token, received from a previous `ListSessions` call. Provide this to retrieve the subsequent page. */
10275
10349
  pageToken?: string;
10276
- /** Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
10350
+ /** Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
10277
10351
  parent: string;
10278
10352
  /** Returns response with indentations and line breaks. */
10279
10353
  prettyPrint?: boolean;
@@ -11012,7 +11086,7 @@ declare namespace gapi.client {
11012
11086
  key?: string;
11013
11087
  /** OAuth 2.0 token for the current user. */
11014
11088
  oauth_token?: string;
11015
- /** Required. The resource name of the catalog under which the events are created. The format is `projects/${projectId}/locations/global/collections/{$collectionId}/dataStores/${dataStoreId}` */
11089
+ /** Required. The resource name of the catalog under which the events are created. The format is `projects/{project}/locations/global/collections/{collection}/dataStores/{dataStore}`. */
11016
11090
  parent: string;
11017
11091
  /** Returns response with indentations and line breaks. */
11018
11092
  prettyPrint?: boolean;
@@ -11041,7 +11115,7 @@ declare namespace gapi.client {
11041
11115
  key?: string;
11042
11116
  /** OAuth 2.0 token for the current user. */
11043
11117
  oauth_token?: string;
11044
- /** Required. The resource name of the catalog under which the events are created. The format is `projects/${projectId}/locations/global/collections/{$collectionId}/dataStores/${dataStoreId}` */
11118
+ /** Required. The resource name of the catalog under which the events are created. The format is `projects/{project}/locations/global/collections/{collection}/dataStores/{dataStore}`. */
11045
11119
  parent: string;
11046
11120
  /** Returns response with indentations and line breaks. */
11047
11121
  prettyPrint?: boolean;
@@ -11620,7 +11694,7 @@ declare namespace gapi.client {
11620
11694
  prettyPrint?: boolean;
11621
11695
  /** 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. */
11622
11696
  quotaUser?: string;
11623
- /** Required. The resource name of the rank service config, such as `projects/{project_num}/locations/{location_id}/rankingConfigs/default_ranking_config`. */
11697
+ /** Required. The resource name of the rank service config, such as `projects/{project_num}/locations/{location}/rankingConfigs/default_ranking_config`. */
11624
11698
  rankingConfig: string;
11625
11699
  /** Upload protocol for media (e.g. "raw", "multipart"). */
11626
11700
  upload_protocol?: string;
@@ -11649,7 +11723,7 @@ declare namespace gapi.client {
11649
11723
  prettyPrint?: boolean;
11650
11724
  /** 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. */
11651
11725
  quotaUser?: string;
11652
- /** Required. The resource name of the rank service config, such as `projects/{project_num}/locations/{location_id}/rankingConfigs/default_ranking_config`. */
11726
+ /** Required. The resource name of the rank service config, such as `projects/{project_num}/locations/{location}/rankingConfigs/default_ranking_config`. */
11653
11727
  rankingConfig: string;
11654
11728
  /** Upload protocol for media (e.g. "raw", "multipart"). */
11655
11729
  upload_protocol?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1",
3
- "version": "0.0.20240826",
3
+ "version": "0.0.20240906",
4
4
  "description": "TypeScript typings for Discovery Engine API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # TypeScript typings for Discovery Engine API v1
2
2
 
3
3
  Discovery Engine API.
4
- For detailed description please check [documentation](https://cloud.google.com/discovery-engine/docs).
4
+ For detailed description please check [documentation](https://cloud.google.com/generative-ai-app-builder/docs/).
5
5
 
6
6
  ## Installing
7
7