@maxim_mazurok/gapi.client.discoveryengine-v1beta 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 +150 -96
  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 v1beta 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=v1beta
12
- // Revision: 20240826
12
+ // Revision: 20240906
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -217,7 +217,7 @@ declare namespace gapi.client {
217
217
  document?: string;
218
218
  /** If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets. */
219
219
  snippetInfo?: GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo[];
220
- /** 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 . */
220
+ /** 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. . */
221
221
  structData?: {[P in string]: any};
222
222
  /** Title. */
223
223
  title?: string;
@@ -354,7 +354,7 @@ declare namespace gapi.client {
354
354
  modelState?: string;
355
355
  /** The version of the model. */
356
356
  modelVersion?: string;
357
- /** 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. */
357
+ /** 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. */
358
358
  name?: string;
359
359
  /** Timestamp the model training was initiated. */
360
360
  trainingStartTime?: string;
@@ -380,6 +380,10 @@ declare namespace gapi.client {
380
380
  languageInfo?: GoogleCloudDiscoveryengineV1alphaLanguageInfo;
381
381
  /** 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. */
382
382
  name?: string;
383
+ /** Optional. Configuration for Natural Language Query Understanding. */
384
+ naturalLanguageQueryUnderstandingConfig?: GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig;
385
+ /** Optional. Stores serving config at DataStore level. */
386
+ servingConfigDataStore?: GoogleCloudDiscoveryengineV1alphaServingConfigDataStore;
383
387
  /** 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. */
384
388
  solutionTypes?: string[];
385
389
  /** 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). */
@@ -425,7 +429,7 @@ declare namespace gapi.client {
425
429
  defaultParsingConfig?: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig;
426
430
  /** The full resource name of the Document Processing Config. Format: `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/documentProcessingConfig`. */
427
431
  name?: string;
428
- /** 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. */
432
+ /** 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. */
429
433
  parsingConfigOverrides?: {
430
434
  [P in string]: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig;
431
435
  };
@@ -480,7 +484,7 @@ declare namespace gapi.client {
480
484
  industryVertical?: string;
481
485
  /** Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical. */
482
486
  mediaRecommendationEngineConfig?: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig;
483
- /** 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. */
487
+ /** 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. */
484
488
  name?: string;
485
489
  /** Output only. Additional information of a recommendation engine. Only applicable if solution_type is SOLUTION_TYPE_RECOMMENDATION. */
486
490
  recommendationMetadata?: GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata;
@@ -740,10 +744,14 @@ declare namespace gapi.client {
740
744
  /** List of custom tuning models. */
741
745
  models?: GoogleCloudDiscoveryengineV1alphaCustomTuningModel[];
742
746
  }
747
+ interface GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig {
748
+ /** Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED. */
749
+ mode?: string;
750
+ }
743
751
  interface GoogleCloudDiscoveryengineV1alphaProject {
744
752
  /** Output only. The timestamp when this project is created. */
745
753
  createTime?: string;
746
- /** 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. */
754
+ /** 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. */
747
755
  name?: string;
748
756
  /** Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use. */
749
757
  provisionCompletionTime?: string;
@@ -1026,6 +1034,8 @@ declare namespace gapi.client {
1026
1034
  interface GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec {
1027
1035
  /** 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. */
1028
1036
  ignoreAdversarialQuery?: boolean;
1037
+ /** 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. */
1038
+ ignoreJailBreakingQuery?: boolean;
1029
1039
  /** 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. */
1030
1040
  ignoreLowRelevantContent?: boolean;
1031
1041
  /** 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. */
@@ -1121,6 +1131,10 @@ declare namespace gapi.client {
1121
1131
  /** The mode under which spell correction replaces the original search query. Defaults to Mode.AUTO. */
1122
1132
  mode?: string;
1123
1133
  }
1134
+ interface GoogleCloudDiscoveryengineV1alphaServingConfigDataStore {
1135
+ /** If set true, the DataStore will not be available for serving search requests. */
1136
+ disabledForServing?: boolean;
1137
+ }
1124
1138
  interface GoogleCloudDiscoveryengineV1alphaSession {
1125
1139
  /** Output only. The time the session finished. */
1126
1140
  endTime?: string;
@@ -1203,7 +1217,7 @@ declare namespace gapi.client {
1203
1217
  modelStatus?: string;
1204
1218
  }
1205
1219
  interface GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata {
1206
- /** 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}` */
1220
+ /** Required. The resource name of the engine that this tune applies to. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}` */
1207
1221
  engine?: string;
1208
1222
  }
1209
1223
  interface GoogleCloudDiscoveryengineV1alphaTuneEngineResponse {}
@@ -1294,7 +1308,7 @@ declare namespace gapi.client {
1294
1308
  interface GoogleCloudDiscoveryengineV1betaAnswerQueryRequest {
1295
1309
  /** Answer generation specification. */
1296
1310
  answerGenerationSpec?: GoogleCloudDiscoveryengineV1betaAnswerQueryRequestAnswerGenerationSpec;
1297
- /** 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. */
1311
+ /** 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. */
1298
1312
  asynchronousMode?: boolean;
1299
1313
  /** Required. Current user query. */
1300
1314
  query?: GoogleCloudDiscoveryengineV1betaQuery;
@@ -1318,6 +1332,8 @@ declare namespace gapi.client {
1318
1332
  answerLanguageCode?: string;
1319
1333
  /** 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. */
1320
1334
  ignoreAdversarialQuery?: boolean;
1335
+ /** 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. */
1336
+ ignoreJailBreakingQuery?: boolean;
1321
1337
  /** 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. */
1322
1338
  ignoreLowRelevantContent?: boolean;
1323
1339
  /** 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. */
@@ -1396,6 +1412,14 @@ declare namespace gapi.client {
1396
1412
  chunk?: string;
1397
1413
  /** Chunk textual content. */
1398
1414
  content?: string;
1415
+ /** Metadata of the document from the current chunk. */
1416
+ documentMetadata?: GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata;
1417
+ }
1418
+ interface GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata {
1419
+ /** Title of the document. */
1420
+ title?: string;
1421
+ /** Uri of the document. */
1422
+ uri?: string;
1399
1423
  }
1400
1424
  interface GoogleCloudDiscoveryengineV1betaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo {
1401
1425
  /** Document resource name. */
@@ -1530,7 +1554,7 @@ declare namespace gapi.client {
1530
1554
  document?: string;
1531
1555
  /** If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets. */
1532
1556
  snippetInfo?: GoogleCloudDiscoveryengineV1betaAnswerStepActionObservationSearchResultSnippetInfo[];
1533
- /** 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 . */
1557
+ /** 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. . */
1534
1558
  structData?: {[P in string]: any};
1535
1559
  /** Title. */
1536
1560
  title?: string;
@@ -1580,8 +1604,8 @@ declare namespace gapi.client {
1580
1604
  lastRefreshedTime?: string;
1581
1605
  /** The value of the matcher that was used to match the Document. */
1582
1606
  matcherValue?: GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue;
1583
- /** The status of the document. */
1584
- status?: string;
1607
+ /** The state of the document. */
1608
+ state?: string;
1585
1609
  }
1586
1610
  interface GoogleCloudDiscoveryengineV1betaBatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue {
1587
1611
  /** Required. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} */
@@ -1863,7 +1887,7 @@ declare namespace gapi.client {
1863
1887
  query?: GoogleCloudDiscoveryengineV1betaTextInput;
1864
1888
  /** Whether to turn on safe search. */
1865
1889
  safeSearch?: boolean;
1866
- /** 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. */
1890
+ /** 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. */
1867
1891
  servingConfig?: string;
1868
1892
  /** A specification for configuring the summary returned in the response. */
1869
1893
  summarySpec?: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec;
@@ -1928,7 +1952,7 @@ declare namespace gapi.client {
1928
1952
  modelState?: string;
1929
1953
  /** The version of the model. */
1930
1954
  modelVersion?: string;
1931
- /** 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. */
1955
+ /** 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. */
1932
1956
  name?: string;
1933
1957
  /** Timestamp the model training was initiated. */
1934
1958
  trainingStartTime?: string;
@@ -1950,6 +1974,10 @@ declare namespace gapi.client {
1950
1974
  languageInfo?: GoogleCloudDiscoveryengineV1betaLanguageInfo;
1951
1975
  /** 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. */
1952
1976
  name?: string;
1977
+ /** Optional. Configuration for Natural Language Query Understanding. */
1978
+ naturalLanguageQueryUnderstandingConfig?: GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig;
1979
+ /** Optional. Stores serving config at DataStore level. */
1980
+ servingConfigDataStore?: GoogleCloudDiscoveryengineV1betaServingConfigDataStore;
1953
1981
  /** 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. */
1954
1982
  solutionTypes?: string[];
1955
1983
  /** 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). */
@@ -1996,6 +2024,8 @@ declare namespace gapi.client {
1996
2024
  derivedStructData?: {[P in string]: any};
1997
2025
  /** 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. */
1998
2026
  id?: string;
2027
+ /** 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. */
2028
+ indexStatus?: GoogleCloudDiscoveryengineV1betaDocumentIndexStatus;
1999
2029
  /** 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. */
2000
2030
  indexTime?: string;
2001
2031
  /** The JSON string representation of the document. It should conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown. */
@@ -2017,12 +2047,18 @@ declare namespace gapi.client {
2017
2047
  /** 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. */
2018
2048
  uri?: string;
2019
2049
  }
2050
+ interface GoogleCloudDiscoveryengineV1betaDocumentIndexStatus {
2051
+ /** A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors. */
2052
+ errorSamples?: GoogleRpcStatus[];
2053
+ /** The time when the document was indexed. If this field is populated, it means the document has been indexed. */
2054
+ indexTime?: string;
2055
+ }
2020
2056
  interface GoogleCloudDiscoveryengineV1betaDocumentInfo {
2021
2057
  /** The Document resource ID. */
2022
2058
  id?: string;
2023
2059
  /** Output only. Whether the referenced Document can be found in the data store. */
2024
2060
  joined?: boolean;
2025
- /** 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}` */
2061
+ /** 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}` */
2026
2062
  name?: string;
2027
2063
  /** The promotion IDs associated with this Document. Currently, this field is restricted to at most one ID. */
2028
2064
  promotionIds?: string[];
@@ -2038,7 +2074,7 @@ declare namespace gapi.client {
2038
2074
  defaultParsingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig;
2039
2075
  /** The full resource name of the Document Processing Config. Format: `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/documentProcessingConfig`. */
2040
2076
  name?: string;
2041
- /** 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. */
2077
+ /** 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. */
2042
2078
  parsingConfigOverrides?: {
2043
2079
  [P in string]: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig;
2044
2080
  };
@@ -2100,7 +2136,7 @@ declare namespace gapi.client {
2100
2136
  displayName?: string;
2101
2137
  /** 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. */
2102
2138
  industryVertical?: string;
2103
- /** 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. */
2139
+ /** 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. */
2104
2140
  name?: string;
2105
2141
  /** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
2106
2142
  searchEngineConfig?: GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig;
@@ -2507,6 +2543,10 @@ declare namespace gapi.client {
2507
2543
  /** Media progress should be computed using only the media_progress_duration relative to the media total length. This value must be between `[0, 1.0]` inclusive. If this is not a playback or the progress cannot be computed (e.g. ongoing livestream), this field should be unset. */
2508
2544
  mediaProgressPercentage?: number;
2509
2545
  }
2546
+ interface GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig {
2547
+ /** Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED. */
2548
+ mode?: string;
2549
+ }
2510
2550
  interface GoogleCloudDiscoveryengineV1betaPageInfo {
2511
2551
  /** The most specific category associated with a category page. To represent full path of category, use '>' sign to separate different hierarchies. If '>' is part of the category name, replace it with other character(s). Category pages include special pages such as sales or promotions. For instance, a special sale page may have the category hierarchy: `"pageCategory" : "Sales > 2017 Black Friday Deals"`. Required for `view-category-page` events. Other event types should not set this field. Otherwise, an `INVALID_ARGUMENT` error is returned. */
2512
2552
  pageCategory?: string;
@@ -2531,7 +2571,7 @@ declare namespace gapi.client {
2531
2571
  interface GoogleCloudDiscoveryengineV1betaProject {
2532
2572
  /** Output only. The timestamp when this project is created. */
2533
2573
  createTime?: string;
2534
- /** 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. */
2574
+ /** 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. */
2535
2575
  name?: string;
2536
2576
  /** Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use. */
2537
2577
  provisionCompletionTime?: string;
@@ -2706,6 +2746,8 @@ declare namespace gapi.client {
2706
2746
  metadata?: {[P in string]: any};
2707
2747
  }
2708
2748
  interface GoogleCloudDiscoveryengineV1betaRecrawlUrisRequest {
2749
+ /** Optional. Full resource name of the SiteCredential, such as `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine/siteCredentials/*`. Only set to crawl private URIs. */
2750
+ siteCredential?: string;
2709
2751
  /** 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`. */
2710
2752
  uris?: string[];
2711
2753
  }
@@ -2907,6 +2949,8 @@ declare namespace gapi.client {
2907
2949
  interface GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec {
2908
2950
  /** 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. */
2909
2951
  ignoreAdversarialQuery?: boolean;
2952
+ /** 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. */
2953
+ ignoreJailBreakingQuery?: boolean;
2910
2954
  /** 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. */
2911
2955
  ignoreLowRelevantContent?: boolean;
2912
2956
  /** 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. */
@@ -3253,6 +3297,10 @@ declare namespace gapi.client {
3253
3297
  /** Output only. ServingConfig updated timestamp. */
3254
3298
  updateTime?: string;
3255
3299
  }
3300
+ interface GoogleCloudDiscoveryengineV1betaServingConfigDataStore {
3301
+ /** If set true, the DataStore will not be available for serving search requests. */
3302
+ disabledForServing?: boolean;
3303
+ }
3256
3304
  interface GoogleCloudDiscoveryengineV1betaServingConfigGenericConfig {
3257
3305
  /** Specifies the expected behavior of content search. Only valid for content-search enabled data store. */
3258
3306
  contentSearchSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpec;
@@ -3404,7 +3452,7 @@ declare namespace gapi.client {
3404
3452
  value?: number;
3405
3453
  }
3406
3454
  interface GoogleCloudDiscoveryengineV1betaTuneEngineMetadata {
3407
- /** 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}` */
3455
+ /** Required. The resource name of the engine that this tune applies to. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}` */
3408
3456
  engine?: string;
3409
3457
  }
3410
3458
  interface GoogleCloudDiscoveryengineV1betaTuneEngineRequest {}
@@ -3578,6 +3626,8 @@ declare namespace gapi.client {
3578
3626
  industryVertical?: string;
3579
3627
  /** 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. */
3580
3628
  name?: string;
3629
+ /** Optional. Stores serving config at DataStore level. */
3630
+ servingConfigDataStore?: GoogleCloudDiscoveryengineV1ServingConfigDataStore;
3581
3631
  /** 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. */
3582
3632
  solutionTypes?: string[];
3583
3633
  /** 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). */
@@ -3623,7 +3673,7 @@ declare namespace gapi.client {
3623
3673
  defaultParsingConfig?: GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig;
3624
3674
  /** The full resource name of the Document Processing Config. Format: `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/documentProcessingConfig`. */
3625
3675
  name?: string;
3626
- /** 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. */
3676
+ /** 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. */
3627
3677
  parsingConfigOverrides?: {
3628
3678
  [P in string]: GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig;
3629
3679
  };
@@ -3676,7 +3726,7 @@ declare namespace gapi.client {
3676
3726
  displayName?: string;
3677
3727
  /** 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. */
3678
3728
  industryVertical?: string;
3679
- /** 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. */
3729
+ /** 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. */
3680
3730
  name?: string;
3681
3731
  /** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
3682
3732
  searchEngineConfig?: GoogleCloudDiscoveryengineV1EngineSearchEngineConfig;
@@ -3790,7 +3840,7 @@ declare namespace gapi.client {
3790
3840
  interface GoogleCloudDiscoveryengineV1Project {
3791
3841
  /** Output only. The timestamp when this project is created. */
3792
3842
  createTime?: string;
3793
- /** 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. */
3843
+ /** 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. */
3794
3844
  name?: string;
3795
3845
  /** Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use. */
3796
3846
  provisionCompletionTime?: string;
@@ -3862,6 +3912,10 @@ declare namespace gapi.client {
3862
3912
  /** The structured representation of the schema. */
3863
3913
  structSchema?: {[P in string]: any};
3864
3914
  }
3915
+ interface GoogleCloudDiscoveryengineV1ServingConfigDataStore {
3916
+ /** If set true, the DataStore will not be available for serving search requests. */
3917
+ disabledForServing?: boolean;
3918
+ }
3865
3919
  interface GoogleCloudDiscoveryengineV1SiteVerificationInfo {
3866
3920
  /** Site verification state indicating the ownership and validity. */
3867
3921
  siteVerificationState?: string;
@@ -4658,7 +4712,7 @@ declare namespace gapi.client {
4658
4712
  key?: string;
4659
4713
  /** OAuth 2.0 token for the current user. */
4660
4714
  oauth_token?: string;
4661
- /** 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}`. */
4715
+ /** 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}`. */
4662
4716
  parent: string;
4663
4717
  /** Returns response with indentations and line breaks. */
4664
4718
  prettyPrint?: boolean;
@@ -4689,7 +4743,7 @@ declare namespace gapi.client {
4689
4743
  key?: string;
4690
4744
  /** OAuth 2.0 token for the current user. */
4691
4745
  oauth_token?: string;
4692
- /** 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}`. */
4746
+ /** 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}`. */
4693
4747
  parent: string;
4694
4748
  /** Returns response with indentations and line breaks. */
4695
4749
  prettyPrint?: boolean;
@@ -4716,7 +4770,7 @@ declare namespace gapi.client {
4716
4770
  fields?: string;
4717
4771
  /** 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. */
4718
4772
  key?: string;
4719
- /** 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}` */
4773
+ /** Required. The resource name of the Control to delete. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
4720
4774
  name: string;
4721
4775
  /** OAuth 2.0 token for the current user. */
4722
4776
  oauth_token?: string;
@@ -4743,7 +4797,7 @@ declare namespace gapi.client {
4743
4797
  fields?: string;
4744
4798
  /** 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. */
4745
4799
  key?: string;
4746
- /** 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}` */
4800
+ /** Required. The resource name of the Control to get. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
4747
4801
  name: string;
4748
4802
  /** OAuth 2.0 token for the current user. */
4749
4803
  oauth_token?: string;
@@ -4778,7 +4832,7 @@ declare namespace gapi.client {
4778
4832
  pageSize?: number;
4779
4833
  /** Optional. A page token, received from a previous `ListControls` call. Provide this to retrieve the subsequent page. */
4780
4834
  pageToken?: string;
4781
- /** 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}`. */
4835
+ /** 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}`. */
4782
4836
  parent: string;
4783
4837
  /** Returns response with indentations and line breaks. */
4784
4838
  prettyPrint?: boolean;
@@ -4867,7 +4921,7 @@ declare namespace gapi.client {
4867
4921
  fields?: string;
4868
4922
  /** 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. */
4869
4923
  key?: string;
4870
- /** 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. */
4924
+ /** 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. */
4871
4925
  name: string;
4872
4926
  /** OAuth 2.0 token for the current user. */
4873
4927
  oauth_token?: string;
@@ -4896,7 +4950,7 @@ declare namespace gapi.client {
4896
4950
  fields?: string;
4897
4951
  /** 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. */
4898
4952
  key?: string;
4899
- /** 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. */
4953
+ /** 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. */
4900
4954
  name: string;
4901
4955
  /** OAuth 2.0 token for the current user. */
4902
4956
  oauth_token?: string;
@@ -4927,7 +4981,7 @@ declare namespace gapi.client {
4927
4981
  key?: string;
4928
4982
  /** OAuth 2.0 token for the current user. */
4929
4983
  oauth_token?: string;
4930
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
4984
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
4931
4985
  parent: string;
4932
4986
  /** Returns response with indentations and line breaks. */
4933
4987
  prettyPrint?: boolean;
@@ -4956,7 +5010,7 @@ declare namespace gapi.client {
4956
5010
  key?: string;
4957
5011
  /** OAuth 2.0 token for the current user. */
4958
5012
  oauth_token?: string;
4959
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
5013
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
4960
5014
  parent: string;
4961
5015
  /** Returns response with indentations and line breaks. */
4962
5016
  prettyPrint?: boolean;
@@ -4983,7 +5037,7 @@ declare namespace gapi.client {
4983
5037
  fields?: string;
4984
5038
  /** 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. */
4985
5039
  key?: string;
4986
- /** 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}` */
5040
+ /** Required. The resource name of the Conversation to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
4987
5041
  name: string;
4988
5042
  /** OAuth 2.0 token for the current user. */
4989
5043
  oauth_token?: string;
@@ -5010,7 +5064,7 @@ declare namespace gapi.client {
5010
5064
  fields?: string;
5011
5065
  /** 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. */
5012
5066
  key?: string;
5013
- /** 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}` */
5067
+ /** Required. The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
5014
5068
  name: string;
5015
5069
  /** OAuth 2.0 token for the current user. */
5016
5070
  oauth_token?: string;
@@ -5047,7 +5101,7 @@ declare namespace gapi.client {
5047
5101
  pageSize?: number;
5048
5102
  /** A page token, received from a previous `ListConversations` call. Provide this to retrieve the subsequent page. */
5049
5103
  pageToken?: string;
5050
- /** Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
5104
+ /** Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
5051
5105
  parent: string;
5052
5106
  /** Returns response with indentations and line breaks. */
5053
5107
  prettyPrint?: boolean;
@@ -5624,7 +5678,7 @@ declare namespace gapi.client {
5624
5678
  fields?: string;
5625
5679
  /** 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. */
5626
5680
  key?: string;
5627
- /** Required. The resource name of the ServingConfig to get. Format: `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}` */
5681
+ /** Required. The resource name of the ServingConfig to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}` */
5628
5682
  name: string;
5629
5683
  /** OAuth 2.0 token for the current user. */
5630
5684
  oauth_token?: string;
@@ -5657,7 +5711,7 @@ declare namespace gapi.client {
5657
5711
  pageSize?: number;
5658
5712
  /** Optional. A page token, received from a previous `ListServingConfigs` call. Provide this to retrieve the subsequent page. */
5659
5713
  pageToken?: string;
5660
- /** Required. Full resource name of the parent resource. Format: `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}` */
5714
+ /** Required. Full resource name of the parent resource. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` */
5661
5715
  parent: string;
5662
5716
  /** Returns response with indentations and line breaks. */
5663
5717
  prettyPrint?: boolean;
@@ -5862,7 +5916,7 @@ declare namespace gapi.client {
5862
5916
  fields?: string;
5863
5917
  /** 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. */
5864
5918
  key?: string;
5865
- /** 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}` */
5919
+ /** 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}` */
5866
5920
  name: string;
5867
5921
  /** OAuth 2.0 token for the current user. */
5868
5922
  oauth_token?: string;
@@ -5893,7 +5947,7 @@ declare namespace gapi.client {
5893
5947
  key?: string;
5894
5948
  /** OAuth 2.0 token for the current user. */
5895
5949
  oauth_token?: string;
5896
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
5950
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
5897
5951
  parent: string;
5898
5952
  /** Returns response with indentations and line breaks. */
5899
5953
  prettyPrint?: boolean;
@@ -5922,7 +5976,7 @@ declare namespace gapi.client {
5922
5976
  key?: string;
5923
5977
  /** OAuth 2.0 token for the current user. */
5924
5978
  oauth_token?: string;
5925
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
5979
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
5926
5980
  parent: string;
5927
5981
  /** Returns response with indentations and line breaks. */
5928
5982
  prettyPrint?: boolean;
@@ -5949,7 +6003,7 @@ declare namespace gapi.client {
5949
6003
  fields?: string;
5950
6004
  /** 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. */
5951
6005
  key?: string;
5952
- /** 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}` */
6006
+ /** Required. The resource name of the Session to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
5953
6007
  name: string;
5954
6008
  /** OAuth 2.0 token for the current user. */
5955
6009
  oauth_token?: string;
@@ -5976,7 +6030,7 @@ declare namespace gapi.client {
5976
6030
  fields?: string;
5977
6031
  /** 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. */
5978
6032
  key?: string;
5979
- /** 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}` */
6033
+ /** Required. The resource name of the Session to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
5980
6034
  name: string;
5981
6035
  /** OAuth 2.0 token for the current user. */
5982
6036
  oauth_token?: string;
@@ -6013,7 +6067,7 @@ declare namespace gapi.client {
6013
6067
  pageSize?: number;
6014
6068
  /** A page token, received from a previous `ListSessions` call. Provide this to retrieve the subsequent page. */
6015
6069
  pageToken?: string;
6016
- /** Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
6070
+ /** Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
6017
6071
  parent: string;
6018
6072
  /** Returns response with indentations and line breaks. */
6019
6073
  prettyPrint?: boolean;
@@ -6967,7 +7021,7 @@ declare namespace gapi.client {
6967
7021
  key?: string;
6968
7022
  /** OAuth 2.0 token for the current user. */
6969
7023
  oauth_token?: string;
6970
- /** Required. The resource name of the catalog under which the events are created. The format is `projects/${projectId}/locations/global/collections/{$collectionId}/dataStores/${dataStoreId}` */
7024
+ /** Required. The resource name of the catalog under which the events are created. The format is `projects/{project}/locations/global/collections/{collection}/dataStores/{dataStore}`. */
6971
7025
  parent: string;
6972
7026
  /** Returns response with indentations and line breaks. */
6973
7027
  prettyPrint?: boolean;
@@ -6996,7 +7050,7 @@ declare namespace gapi.client {
6996
7050
  key?: string;
6997
7051
  /** OAuth 2.0 token for the current user. */
6998
7052
  oauth_token?: string;
6999
- /** Required. The resource name of the catalog under which the events are created. The format is `projects/${projectId}/locations/global/collections/{$collectionId}/dataStores/${dataStoreId}` */
7053
+ /** Required. The resource name of the catalog under which the events are created. The format is `projects/{project}/locations/global/collections/{collection}/dataStores/{dataStore}`. */
7000
7054
  parent: string;
7001
7055
  /** Returns response with indentations and line breaks. */
7002
7056
  prettyPrint?: boolean;
@@ -7445,7 +7499,7 @@ declare namespace gapi.client {
7445
7499
  key?: string;
7446
7500
  /** OAuth 2.0 token for the current user. */
7447
7501
  oauth_token?: string;
7448
- /** 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}`. */
7502
+ /** 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}`. */
7449
7503
  parent: string;
7450
7504
  /** Returns response with indentations and line breaks. */
7451
7505
  prettyPrint?: boolean;
@@ -7476,7 +7530,7 @@ declare namespace gapi.client {
7476
7530
  key?: string;
7477
7531
  /** OAuth 2.0 token for the current user. */
7478
7532
  oauth_token?: string;
7479
- /** 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}`. */
7533
+ /** 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}`. */
7480
7534
  parent: string;
7481
7535
  /** Returns response with indentations and line breaks. */
7482
7536
  prettyPrint?: boolean;
@@ -7503,7 +7557,7 @@ declare namespace gapi.client {
7503
7557
  fields?: string;
7504
7558
  /** 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. */
7505
7559
  key?: string;
7506
- /** 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}` */
7560
+ /** Required. The resource name of the Control to delete. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
7507
7561
  name: string;
7508
7562
  /** OAuth 2.0 token for the current user. */
7509
7563
  oauth_token?: string;
@@ -7530,7 +7584,7 @@ declare namespace gapi.client {
7530
7584
  fields?: string;
7531
7585
  /** 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. */
7532
7586
  key?: string;
7533
- /** 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}` */
7587
+ /** Required. The resource name of the Control to get. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
7534
7588
  name: string;
7535
7589
  /** OAuth 2.0 token for the current user. */
7536
7590
  oauth_token?: string;
@@ -7565,7 +7619,7 @@ declare namespace gapi.client {
7565
7619
  pageSize?: number;
7566
7620
  /** Optional. A page token, received from a previous `ListControls` call. Provide this to retrieve the subsequent page. */
7567
7621
  pageToken?: string;
7568
- /** 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}`. */
7622
+ /** 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}`. */
7569
7623
  parent: string;
7570
7624
  /** Returns response with indentations and line breaks. */
7571
7625
  prettyPrint?: boolean;
@@ -7654,7 +7708,7 @@ declare namespace gapi.client {
7654
7708
  fields?: string;
7655
7709
  /** 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. */
7656
7710
  key?: string;
7657
- /** 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. */
7711
+ /** 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. */
7658
7712
  name: string;
7659
7713
  /** OAuth 2.0 token for the current user. */
7660
7714
  oauth_token?: string;
@@ -7683,7 +7737,7 @@ declare namespace gapi.client {
7683
7737
  fields?: string;
7684
7738
  /** 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. */
7685
7739
  key?: string;
7686
- /** 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. */
7740
+ /** 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. */
7687
7741
  name: string;
7688
7742
  /** OAuth 2.0 token for the current user. */
7689
7743
  oauth_token?: string;
@@ -7714,7 +7768,7 @@ declare namespace gapi.client {
7714
7768
  key?: string;
7715
7769
  /** OAuth 2.0 token for the current user. */
7716
7770
  oauth_token?: string;
7717
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
7771
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
7718
7772
  parent: string;
7719
7773
  /** Returns response with indentations and line breaks. */
7720
7774
  prettyPrint?: boolean;
@@ -7743,7 +7797,7 @@ declare namespace gapi.client {
7743
7797
  key?: string;
7744
7798
  /** OAuth 2.0 token for the current user. */
7745
7799
  oauth_token?: string;
7746
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
7800
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
7747
7801
  parent: string;
7748
7802
  /** Returns response with indentations and line breaks. */
7749
7803
  prettyPrint?: boolean;
@@ -7770,7 +7824,7 @@ declare namespace gapi.client {
7770
7824
  fields?: string;
7771
7825
  /** 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. */
7772
7826
  key?: string;
7773
- /** 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}` */
7827
+ /** Required. The resource name of the Conversation to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
7774
7828
  name: string;
7775
7829
  /** OAuth 2.0 token for the current user. */
7776
7830
  oauth_token?: string;
@@ -7797,7 +7851,7 @@ declare namespace gapi.client {
7797
7851
  fields?: string;
7798
7852
  /** 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. */
7799
7853
  key?: string;
7800
- /** 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}` */
7854
+ /** Required. The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
7801
7855
  name: string;
7802
7856
  /** OAuth 2.0 token for the current user. */
7803
7857
  oauth_token?: string;
@@ -7834,7 +7888,7 @@ declare namespace gapi.client {
7834
7888
  pageSize?: number;
7835
7889
  /** A page token, received from a previous `ListConversations` call. Provide this to retrieve the subsequent page. */
7836
7890
  pageToken?: string;
7837
- /** Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
7891
+ /** Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
7838
7892
  parent: string;
7839
7893
  /** Returns response with indentations and line breaks. */
7840
7894
  prettyPrint?: boolean;
@@ -8043,7 +8097,7 @@ declare namespace gapi.client {
8043
8097
  fields?: string;
8044
8098
  /** 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. */
8045
8099
  key?: string;
8046
- /** Required. The resource name of the ServingConfig to get. Format: `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}` */
8100
+ /** Required. The resource name of the ServingConfig to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}` */
8047
8101
  name: string;
8048
8102
  /** OAuth 2.0 token for the current user. */
8049
8103
  oauth_token?: string;
@@ -8076,7 +8130,7 @@ declare namespace gapi.client {
8076
8130
  pageSize?: number;
8077
8131
  /** Optional. A page token, received from a previous `ListServingConfigs` call. Provide this to retrieve the subsequent page. */
8078
8132
  pageToken?: string;
8079
- /** Required. Full resource name of the parent resource. Format: `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}` */
8133
+ /** Required. Full resource name of the parent resource. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` */
8080
8134
  parent: string;
8081
8135
  /** Returns response with indentations and line breaks. */
8082
8136
  prettyPrint?: boolean;
@@ -8281,7 +8335,7 @@ declare namespace gapi.client {
8281
8335
  fields?: string;
8282
8336
  /** 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. */
8283
8337
  key?: string;
8284
- /** 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}` */
8338
+ /** 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}` */
8285
8339
  name: string;
8286
8340
  /** OAuth 2.0 token for the current user. */
8287
8341
  oauth_token?: string;
@@ -8312,7 +8366,7 @@ declare namespace gapi.client {
8312
8366
  key?: string;
8313
8367
  /** OAuth 2.0 token for the current user. */
8314
8368
  oauth_token?: string;
8315
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
8369
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
8316
8370
  parent: string;
8317
8371
  /** Returns response with indentations and line breaks. */
8318
8372
  prettyPrint?: boolean;
@@ -8341,7 +8395,7 @@ declare namespace gapi.client {
8341
8395
  key?: string;
8342
8396
  /** OAuth 2.0 token for the current user. */
8343
8397
  oauth_token?: string;
8344
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
8398
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
8345
8399
  parent: string;
8346
8400
  /** Returns response with indentations and line breaks. */
8347
8401
  prettyPrint?: boolean;
@@ -8368,7 +8422,7 @@ declare namespace gapi.client {
8368
8422
  fields?: string;
8369
8423
  /** 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. */
8370
8424
  key?: string;
8371
- /** 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}` */
8425
+ /** Required. The resource name of the Session to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
8372
8426
  name: string;
8373
8427
  /** OAuth 2.0 token for the current user. */
8374
8428
  oauth_token?: string;
@@ -8395,7 +8449,7 @@ declare namespace gapi.client {
8395
8449
  fields?: string;
8396
8450
  /** 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. */
8397
8451
  key?: string;
8398
- /** 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}` */
8452
+ /** Required. The resource name of the Session to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
8399
8453
  name: string;
8400
8454
  /** OAuth 2.0 token for the current user. */
8401
8455
  oauth_token?: string;
@@ -8432,7 +8486,7 @@ declare namespace gapi.client {
8432
8486
  pageSize?: number;
8433
8487
  /** A page token, received from a previous `ListSessions` call. Provide this to retrieve the subsequent page. */
8434
8488
  pageToken?: string;
8435
- /** Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
8489
+ /** Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
8436
8490
  parent: string;
8437
8491
  /** Returns response with indentations and line breaks. */
8438
8492
  prettyPrint?: boolean;
@@ -8671,7 +8725,7 @@ declare namespace gapi.client {
8671
8725
  fields?: string;
8672
8726
  /** 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. */
8673
8727
  key?: string;
8674
- /** 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. */
8728
+ /** 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. */
8675
8729
  name: string;
8676
8730
  /** OAuth 2.0 token for the current user. */
8677
8731
  oauth_token?: string;
@@ -8702,7 +8756,7 @@ declare namespace gapi.client {
8702
8756
  fields?: string;
8703
8757
  /** 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. */
8704
8758
  key?: string;
8705
- /** 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. */
8759
+ /** 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. */
8706
8760
  name: string;
8707
8761
  /** OAuth 2.0 token for the current user. */
8708
8762
  oauth_token?: string;
@@ -8733,7 +8787,7 @@ declare namespace gapi.client {
8733
8787
  fields?: string;
8734
8788
  /** 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. */
8735
8789
  key?: string;
8736
- /** Required. The name of the engine to pause. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}` */
8790
+ /** Required. The name of the engine to pause. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}` */
8737
8791
  name: string;
8738
8792
  /** OAuth 2.0 token for the current user. */
8739
8793
  oauth_token?: string;
@@ -8762,7 +8816,7 @@ declare namespace gapi.client {
8762
8816
  fields?: string;
8763
8817
  /** 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. */
8764
8818
  key?: string;
8765
- /** Required. The name of the engine to pause. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}` */
8819
+ /** Required. The name of the engine to pause. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}` */
8766
8820
  name: string;
8767
8821
  /** OAuth 2.0 token for the current user. */
8768
8822
  oauth_token?: string;
@@ -8791,7 +8845,7 @@ declare namespace gapi.client {
8791
8845
  fields?: string;
8792
8846
  /** 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. */
8793
8847
  key?: string;
8794
- /** Required. The name of the engine to resume. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}` */
8848
+ /** Required. The name of the engine to resume. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}` */
8795
8849
  name: string;
8796
8850
  /** OAuth 2.0 token for the current user. */
8797
8851
  oauth_token?: string;
@@ -8820,7 +8874,7 @@ declare namespace gapi.client {
8820
8874
  fields?: string;
8821
8875
  /** 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. */
8822
8876
  key?: string;
8823
- /** Required. The name of the engine to resume. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}` */
8877
+ /** Required. The name of the engine to resume. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}` */
8824
8878
  name: string;
8825
8879
  /** OAuth 2.0 token for the current user. */
8826
8880
  oauth_token?: string;
@@ -8849,7 +8903,7 @@ declare namespace gapi.client {
8849
8903
  fields?: string;
8850
8904
  /** 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. */
8851
8905
  key?: string;
8852
- /** Required. The resource name of the engine to tune. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}` */
8906
+ /** Required. The resource name of the engine to tune. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}` */
8853
8907
  name: string;
8854
8908
  /** OAuth 2.0 token for the current user. */
8855
8909
  oauth_token?: string;
@@ -8878,7 +8932,7 @@ declare namespace gapi.client {
8878
8932
  fields?: string;
8879
8933
  /** 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. */
8880
8934
  key?: string;
8881
- /** Required. The resource name of the engine to tune. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}` */
8935
+ /** Required. The resource name of the engine to tune. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}` */
8882
8936
  name: string;
8883
8937
  /** OAuth 2.0 token for the current user. */
8884
8938
  oauth_token?: string;
@@ -9590,7 +9644,7 @@ declare namespace gapi.client {
9590
9644
  key?: string;
9591
9645
  /** OAuth 2.0 token for the current user. */
9592
9646
  oauth_token?: string;
9593
- /** 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}`. */
9647
+ /** 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}`. */
9594
9648
  parent: string;
9595
9649
  /** Returns response with indentations and line breaks. */
9596
9650
  prettyPrint?: boolean;
@@ -9621,7 +9675,7 @@ declare namespace gapi.client {
9621
9675
  key?: string;
9622
9676
  /** OAuth 2.0 token for the current user. */
9623
9677
  oauth_token?: string;
9624
- /** 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}`. */
9678
+ /** 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}`. */
9625
9679
  parent: string;
9626
9680
  /** Returns response with indentations and line breaks. */
9627
9681
  prettyPrint?: boolean;
@@ -9648,7 +9702,7 @@ declare namespace gapi.client {
9648
9702
  fields?: string;
9649
9703
  /** 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. */
9650
9704
  key?: string;
9651
- /** 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}` */
9705
+ /** Required. The resource name of the Control to delete. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
9652
9706
  name: string;
9653
9707
  /** OAuth 2.0 token for the current user. */
9654
9708
  oauth_token?: string;
@@ -9675,7 +9729,7 @@ declare namespace gapi.client {
9675
9729
  fields?: string;
9676
9730
  /** 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. */
9677
9731
  key?: string;
9678
- /** 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}` */
9732
+ /** Required. The resource name of the Control to get. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
9679
9733
  name: string;
9680
9734
  /** OAuth 2.0 token for the current user. */
9681
9735
  oauth_token?: string;
@@ -9710,7 +9764,7 @@ declare namespace gapi.client {
9710
9764
  pageSize?: number;
9711
9765
  /** Optional. A page token, received from a previous `ListControls` call. Provide this to retrieve the subsequent page. */
9712
9766
  pageToken?: string;
9713
- /** 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}`. */
9767
+ /** 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}`. */
9714
9768
  parent: string;
9715
9769
  /** Returns response with indentations and line breaks. */
9716
9770
  prettyPrint?: boolean;
@@ -9799,7 +9853,7 @@ declare namespace gapi.client {
9799
9853
  fields?: string;
9800
9854
  /** 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. */
9801
9855
  key?: string;
9802
- /** 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. */
9856
+ /** 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. */
9803
9857
  name: string;
9804
9858
  /** OAuth 2.0 token for the current user. */
9805
9859
  oauth_token?: string;
@@ -9828,7 +9882,7 @@ declare namespace gapi.client {
9828
9882
  fields?: string;
9829
9883
  /** 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. */
9830
9884
  key?: string;
9831
- /** 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. */
9885
+ /** 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. */
9832
9886
  name: string;
9833
9887
  /** OAuth 2.0 token for the current user. */
9834
9888
  oauth_token?: string;
@@ -9859,7 +9913,7 @@ declare namespace gapi.client {
9859
9913
  key?: string;
9860
9914
  /** OAuth 2.0 token for the current user. */
9861
9915
  oauth_token?: string;
9862
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
9916
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
9863
9917
  parent: string;
9864
9918
  /** Returns response with indentations and line breaks. */
9865
9919
  prettyPrint?: boolean;
@@ -9888,7 +9942,7 @@ declare namespace gapi.client {
9888
9942
  key?: string;
9889
9943
  /** OAuth 2.0 token for the current user. */
9890
9944
  oauth_token?: string;
9891
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
9945
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
9892
9946
  parent: string;
9893
9947
  /** Returns response with indentations and line breaks. */
9894
9948
  prettyPrint?: boolean;
@@ -9915,7 +9969,7 @@ declare namespace gapi.client {
9915
9969
  fields?: string;
9916
9970
  /** 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. */
9917
9971
  key?: string;
9918
- /** 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}` */
9972
+ /** Required. The resource name of the Conversation to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
9919
9973
  name: string;
9920
9974
  /** OAuth 2.0 token for the current user. */
9921
9975
  oauth_token?: string;
@@ -9942,7 +9996,7 @@ declare namespace gapi.client {
9942
9996
  fields?: string;
9943
9997
  /** 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. */
9944
9998
  key?: string;
9945
- /** 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}` */
9999
+ /** Required. The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
9946
10000
  name: string;
9947
10001
  /** OAuth 2.0 token for the current user. */
9948
10002
  oauth_token?: string;
@@ -9979,7 +10033,7 @@ declare namespace gapi.client {
9979
10033
  pageSize?: number;
9980
10034
  /** A page token, received from a previous `ListConversations` call. Provide this to retrieve the subsequent page. */
9981
10035
  pageToken?: string;
9982
- /** Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
10036
+ /** Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
9983
10037
  parent: string;
9984
10038
  /** Returns response with indentations and line breaks. */
9985
10039
  prettyPrint?: boolean;
@@ -10464,7 +10518,7 @@ declare namespace gapi.client {
10464
10518
  fields?: string;
10465
10519
  /** 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. */
10466
10520
  key?: string;
10467
- /** Required. The resource name of the ServingConfig to get. Format: `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}` */
10521
+ /** Required. The resource name of the ServingConfig to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}` */
10468
10522
  name: string;
10469
10523
  /** OAuth 2.0 token for the current user. */
10470
10524
  oauth_token?: string;
@@ -10497,7 +10551,7 @@ declare namespace gapi.client {
10497
10551
  pageSize?: number;
10498
10552
  /** Optional. A page token, received from a previous `ListServingConfigs` call. Provide this to retrieve the subsequent page. */
10499
10553
  pageToken?: string;
10500
- /** Required. Full resource name of the parent resource. Format: `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}` */
10554
+ /** Required. Full resource name of the parent resource. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` */
10501
10555
  parent: string;
10502
10556
  /** Returns response with indentations and line breaks. */
10503
10557
  prettyPrint?: boolean;
@@ -10702,7 +10756,7 @@ declare namespace gapi.client {
10702
10756
  fields?: string;
10703
10757
  /** 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. */
10704
10758
  key?: string;
10705
- /** 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}` */
10759
+ /** 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}` */
10706
10760
  name: string;
10707
10761
  /** OAuth 2.0 token for the current user. */
10708
10762
  oauth_token?: string;
@@ -10733,7 +10787,7 @@ declare namespace gapi.client {
10733
10787
  key?: string;
10734
10788
  /** OAuth 2.0 token for the current user. */
10735
10789
  oauth_token?: string;
10736
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
10790
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
10737
10791
  parent: string;
10738
10792
  /** Returns response with indentations and line breaks. */
10739
10793
  prettyPrint?: boolean;
@@ -10762,7 +10816,7 @@ declare namespace gapi.client {
10762
10816
  key?: string;
10763
10817
  /** OAuth 2.0 token for the current user. */
10764
10818
  oauth_token?: string;
10765
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
10819
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
10766
10820
  parent: string;
10767
10821
  /** Returns response with indentations and line breaks. */
10768
10822
  prettyPrint?: boolean;
@@ -10789,7 +10843,7 @@ declare namespace gapi.client {
10789
10843
  fields?: string;
10790
10844
  /** 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. */
10791
10845
  key?: string;
10792
- /** 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}` */
10846
+ /** Required. The resource name of the Session to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
10793
10847
  name: string;
10794
10848
  /** OAuth 2.0 token for the current user. */
10795
10849
  oauth_token?: string;
@@ -10816,7 +10870,7 @@ declare namespace gapi.client {
10816
10870
  fields?: string;
10817
10871
  /** 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. */
10818
10872
  key?: string;
10819
- /** 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}` */
10873
+ /** Required. The resource name of the Session to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
10820
10874
  name: string;
10821
10875
  /** OAuth 2.0 token for the current user. */
10822
10876
  oauth_token?: string;
@@ -10853,7 +10907,7 @@ declare namespace gapi.client {
10853
10907
  pageSize?: number;
10854
10908
  /** A page token, received from a previous `ListSessions` call. Provide this to retrieve the subsequent page. */
10855
10909
  pageToken?: string;
10856
- /** Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
10910
+ /** Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
10857
10911
  parent: string;
10858
10912
  /** Returns response with indentations and line breaks. */
10859
10913
  prettyPrint?: boolean;
@@ -11592,7 +11646,7 @@ declare namespace gapi.client {
11592
11646
  key?: string;
11593
11647
  /** OAuth 2.0 token for the current user. */
11594
11648
  oauth_token?: string;
11595
- /** Required. The resource name of the catalog under which the events are created. The format is `projects/${projectId}/locations/global/collections/{$collectionId}/dataStores/${dataStoreId}` */
11649
+ /** Required. The resource name of the catalog under which the events are created. The format is `projects/{project}/locations/global/collections/{collection}/dataStores/{dataStore}`. */
11596
11650
  parent: string;
11597
11651
  /** Returns response with indentations and line breaks. */
11598
11652
  prettyPrint?: boolean;
@@ -11621,7 +11675,7 @@ declare namespace gapi.client {
11621
11675
  key?: string;
11622
11676
  /** OAuth 2.0 token for the current user. */
11623
11677
  oauth_token?: string;
11624
- /** Required. The resource name of the catalog under which the events are created. The format is `projects/${projectId}/locations/global/collections/{$collectionId}/dataStores/${dataStoreId}` */
11678
+ /** Required. The resource name of the catalog under which the events are created. The format is `projects/{project}/locations/global/collections/{collection}/dataStores/{dataStore}`. */
11625
11679
  parent: string;
11626
11680
  /** Returns response with indentations and line breaks. */
11627
11681
  prettyPrint?: boolean;
@@ -12314,7 +12368,7 @@ declare namespace gapi.client {
12314
12368
  prettyPrint?: boolean;
12315
12369
  /** 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. */
12316
12370
  quotaUser?: string;
12317
- /** Required. The resource name of the rank service config, such as `projects/{project_num}/locations/{location_id}/rankingConfigs/default_ranking_config`. */
12371
+ /** Required. The resource name of the rank service config, such as `projects/{project_num}/locations/{location}/rankingConfigs/default_ranking_config`. */
12318
12372
  rankingConfig: string;
12319
12373
  /** Upload protocol for media (e.g. "raw", "multipart"). */
12320
12374
  upload_protocol?: string;
@@ -12343,7 +12397,7 @@ declare namespace gapi.client {
12343
12397
  prettyPrint?: boolean;
12344
12398
  /** 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. */
12345
12399
  quotaUser?: string;
12346
- /** Required. The resource name of the rank service config, such as `projects/{project_num}/locations/{location_id}/rankingConfigs/default_ranking_config`. */
12400
+ /** Required. The resource name of the rank service config, such as `projects/{project_num}/locations/{location}/rankingConfigs/default_ranking_config`. */
12347
12401
  rankingConfig: string;
12348
12402
  /** Upload protocol for media (e.g. "raw", "multipart"). */
12349
12403
  upload_protocol?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1beta",
3
- "version": "0.0.20240826",
3
+ "version": "0.0.20240906",
4
4
  "description": "TypeScript typings for Discovery Engine API v1beta",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # TypeScript typings for Discovery Engine API v1beta
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