@maxim_mazurok/gapi.client.discoveryengine-v1alpha 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 +151 -97
  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 v1alpha 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=v1alpha
12
- // Revision: 20240826
12
+ // Revision: 20240906
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -205,7 +205,7 @@ declare namespace gapi.client {
205
205
  interface GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest {
206
206
  /** Answer generation specification. */
207
207
  answerGenerationSpec?: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestAnswerGenerationSpec;
208
- /** 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. */
208
+ /** 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. */
209
209
  asynchronousMode?: boolean;
210
210
  /** Required. Current user query. */
211
211
  query?: GoogleCloudDiscoveryengineV1alphaQuery;
@@ -229,6 +229,8 @@ declare namespace gapi.client {
229
229
  answerLanguageCode?: string;
230
230
  /** 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. */
231
231
  ignoreAdversarialQuery?: boolean;
232
+ /** 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. */
233
+ ignoreJailBreakingQuery?: boolean;
232
234
  /** 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. */
233
235
  ignoreLowRelevantContent?: boolean;
234
236
  /** 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. */
@@ -309,6 +311,14 @@ declare namespace gapi.client {
309
311
  chunk?: string;
310
312
  /** Chunk textual content. */
311
313
  content?: string;
314
+ /** Metadata of the document from the current chunk. */
315
+ documentMetadata?: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata;
316
+ }
317
+ interface GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultChunkInfoDocumentMetadata {
318
+ /** Title of the document. */
319
+ title?: string;
320
+ /** Uri of the document. */
321
+ uri?: string;
312
322
  }
313
323
  interface GoogleCloudDiscoveryengineV1alphaAnswerQueryRequestSearchSpecSearchResultListSearchResultUnstructuredDocumentInfo {
314
324
  /** Document resource name. */
@@ -443,7 +453,7 @@ declare namespace gapi.client {
443
453
  document?: string;
444
454
  /** If citation_type is DOCUMENT_LEVEL_CITATION, populate document level snippets. */
445
455
  snippetInfo?: GoogleCloudDiscoveryengineV1alphaAnswerStepActionObservationSearchResultSnippetInfo[];
446
- /** 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 . */
456
+ /** 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. . */
447
457
  structData?: {[P in string]: any};
448
458
  /** Title. */
449
459
  title?: string;
@@ -493,8 +503,8 @@ declare namespace gapi.client {
493
503
  lastRefreshedTime?: string;
494
504
  /** The value of the matcher that was used to match the Document. */
495
505
  matcherValue?: GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue;
496
- /** The status of the document. */
497
- status?: string;
506
+ /** The state of the document. */
507
+ state?: string;
498
508
  }
499
509
  interface GoogleCloudDiscoveryengineV1alphaBatchGetDocumentsMetadataResponseDocumentMetadataMatcherValue {
500
510
  /** Required. Format: projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id} */
@@ -806,7 +816,7 @@ declare namespace gapi.client {
806
816
  query?: GoogleCloudDiscoveryengineV1alphaTextInput;
807
817
  /** Whether to turn on safe search. */
808
818
  safeSearch?: boolean;
809
- /** 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. */
819
+ /** 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. */
810
820
  servingConfig?: string;
811
821
  /** A specification for configuring the summary returned in the response. */
812
822
  summarySpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec;
@@ -875,7 +885,7 @@ declare namespace gapi.client {
875
885
  modelState?: string;
876
886
  /** The version of the model. */
877
887
  modelVersion?: string;
878
- /** 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. */
888
+ /** 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. */
879
889
  name?: string;
880
890
  /** Timestamp the model training was initiated. */
881
891
  trainingStartTime?: string;
@@ -901,6 +911,10 @@ declare namespace gapi.client {
901
911
  languageInfo?: GoogleCloudDiscoveryengineV1alphaLanguageInfo;
902
912
  /** 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. */
903
913
  name?: string;
914
+ /** Optional. Configuration for Natural Language Query Understanding. */
915
+ naturalLanguageQueryUnderstandingConfig?: GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig;
916
+ /** Optional. Stores serving config at DataStore level. */
917
+ servingConfigDataStore?: GoogleCloudDiscoveryengineV1alphaServingConfigDataStore;
904
918
  /** 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. */
905
919
  solutionTypes?: string[];
906
920
  /** 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). */
@@ -949,6 +963,8 @@ declare namespace gapi.client {
949
963
  derivedStructData?: {[P in string]: any};
950
964
  /** 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. */
951
965
  id?: string;
966
+ /** 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. */
967
+ indexStatus?: GoogleCloudDiscoveryengineV1alphaDocumentIndexStatus;
952
968
  /** 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. */
953
969
  indexTime?: string;
954
970
  /** The JSON string representation of the document. It should conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown. */
@@ -980,12 +996,18 @@ declare namespace gapi.client {
980
996
  /** 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. */
981
997
  uri?: string;
982
998
  }
999
+ interface GoogleCloudDiscoveryengineV1alphaDocumentIndexStatus {
1000
+ /** A sample of errors encountered while indexing the document. If this field is populated, the document is not indexed due to errors. */
1001
+ errorSamples?: GoogleRpcStatus[];
1002
+ /** The time when the document was indexed. If this field is populated, it means the document has been indexed. */
1003
+ indexTime?: string;
1004
+ }
983
1005
  interface GoogleCloudDiscoveryengineV1alphaDocumentInfo {
984
1006
  /** The Document resource ID. */
985
1007
  id?: string;
986
1008
  /** Output only. Whether the referenced Document can be found in the data store. */
987
1009
  joined?: boolean;
988
- /** 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}` */
1010
+ /** 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}` */
989
1011
  name?: string;
990
1012
  /** The promotion IDs associated with this Document. Currently, this field is restricted to at most one ID. */
991
1013
  promotionIds?: string[];
@@ -1001,7 +1023,7 @@ declare namespace gapi.client {
1001
1023
  defaultParsingConfig?: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig;
1002
1024
  /** The full resource name of the Document Processing Config. Format: `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/documentProcessingConfig`. */
1003
1025
  name?: string;
1004
- /** 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. */
1026
+ /** 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. */
1005
1027
  parsingConfigOverrides?: {
1006
1028
  [P in string]: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfig;
1007
1029
  };
@@ -1065,7 +1087,7 @@ declare namespace gapi.client {
1065
1087
  industryVertical?: string;
1066
1088
  /** Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical. */
1067
1089
  mediaRecommendationEngineConfig?: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig;
1068
- /** 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. */
1090
+ /** 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. */
1069
1091
  name?: string;
1070
1092
  /** Output only. Additional information of a recommendation engine. Only applicable if solution_type is SOLUTION_TYPE_RECOMMENDATION. */
1071
1093
  recommendationMetadata?: GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata;
@@ -1589,6 +1611,10 @@ declare namespace gapi.client {
1589
1611
  /** 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. */
1590
1612
  mediaProgressPercentage?: number;
1591
1613
  }
1614
+ interface GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig {
1615
+ /** Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED. */
1616
+ mode?: string;
1617
+ }
1592
1618
  interface GoogleCloudDiscoveryengineV1alphaPageInfo {
1593
1619
  /** 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. */
1594
1620
  pageCategory?: string;
@@ -1625,7 +1651,7 @@ declare namespace gapi.client {
1625
1651
  interface GoogleCloudDiscoveryengineV1alphaProject {
1626
1652
  /** Output only. The timestamp when this project is created. */
1627
1653
  createTime?: string;
1628
- /** 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. */
1654
+ /** 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. */
1629
1655
  name?: string;
1630
1656
  /** Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use. */
1631
1657
  provisionCompletionTime?: string;
@@ -1842,6 +1868,8 @@ declare namespace gapi.client {
1842
1868
  validUrisCount?: number;
1843
1869
  }
1844
1870
  interface GoogleCloudDiscoveryengineV1alphaRecrawlUrisRequest {
1871
+ /** Optional. Full resource name of the SiteCredential, such as `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/siteSearchEngine/siteCredentials/*`. Only set to crawl private URIs. */
1872
+ siteCredential?: string;
1845
1873
  /** 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`. */
1846
1874
  uris?: string[];
1847
1875
  }
@@ -2119,6 +2147,8 @@ declare namespace gapi.client {
2119
2147
  interface GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpecSummarySpec {
2120
2148
  /** 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. */
2121
2149
  ignoreAdversarialQuery?: boolean;
2150
+ /** 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. */
2151
+ ignoreJailBreakingQuery?: boolean;
2122
2152
  /** 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. */
2123
2153
  ignoreLowRelevantContent?: boolean;
2124
2154
  /** 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. */
@@ -2471,6 +2501,10 @@ declare namespace gapi.client {
2471
2501
  /** Output only. ServingConfig updated timestamp. */
2472
2502
  updateTime?: string;
2473
2503
  }
2504
+ interface GoogleCloudDiscoveryengineV1alphaServingConfigDataStore {
2505
+ /** If set true, the DataStore will not be available for serving search requests. */
2506
+ disabledForServing?: boolean;
2507
+ }
2474
2508
  interface GoogleCloudDiscoveryengineV1alphaServingConfigGenericConfig {
2475
2509
  /** Specifies the expected behavior of content search. Only valid for content-search enabled data store. */
2476
2510
  contentSearchSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestContentSearchSpec;
@@ -2637,7 +2671,7 @@ declare namespace gapi.client {
2637
2671
  value?: number;
2638
2672
  }
2639
2673
  interface GoogleCloudDiscoveryengineV1alphaTuneEngineMetadata {
2640
- /** 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}` */
2674
+ /** Required. The resource name of the engine that this tune applies to. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}` */
2641
2675
  engine?: string;
2642
2676
  }
2643
2677
  interface GoogleCloudDiscoveryengineV1alphaTuneEngineRequest {}
@@ -2828,7 +2862,7 @@ declare namespace gapi.client {
2828
2862
  modelState?: string;
2829
2863
  /** The version of the model. */
2830
2864
  modelVersion?: string;
2831
- /** 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. */
2865
+ /** 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. */
2832
2866
  name?: string;
2833
2867
  /** Timestamp the model training was initiated. */
2834
2868
  trainingStartTime?: string;
@@ -2850,6 +2884,10 @@ declare namespace gapi.client {
2850
2884
  languageInfo?: GoogleCloudDiscoveryengineV1betaLanguageInfo;
2851
2885
  /** 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. */
2852
2886
  name?: string;
2887
+ /** Optional. Configuration for Natural Language Query Understanding. */
2888
+ naturalLanguageQueryUnderstandingConfig?: GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig;
2889
+ /** Optional. Stores serving config at DataStore level. */
2890
+ servingConfigDataStore?: GoogleCloudDiscoveryengineV1betaServingConfigDataStore;
2853
2891
  /** 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. */
2854
2892
  solutionTypes?: string[];
2855
2893
  /** 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). */
@@ -2895,7 +2933,7 @@ declare namespace gapi.client {
2895
2933
  defaultParsingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig;
2896
2934
  /** The full resource name of the Document Processing Config. Format: `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/documentProcessingConfig`. */
2897
2935
  name?: string;
2898
- /** 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. */
2936
+ /** 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. */
2899
2937
  parsingConfigOverrides?: {
2900
2938
  [P in string]: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig;
2901
2939
  };
@@ -2948,7 +2986,7 @@ declare namespace gapi.client {
2948
2986
  displayName?: string;
2949
2987
  /** 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. */
2950
2988
  industryVertical?: string;
2951
- /** 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. */
2989
+ /** 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. */
2952
2990
  name?: string;
2953
2991
  /** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
2954
2992
  searchEngineConfig?: GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig;
@@ -3129,10 +3167,14 @@ declare namespace gapi.client {
3129
3167
  /** List of custom tuning models. */
3130
3168
  models?: GoogleCloudDiscoveryengineV1betaCustomTuningModel[];
3131
3169
  }
3170
+ interface GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig {
3171
+ /** Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED. */
3172
+ mode?: string;
3173
+ }
3132
3174
  interface GoogleCloudDiscoveryengineV1betaProject {
3133
3175
  /** Output only. The timestamp when this project is created. */
3134
3176
  createTime?: string;
3135
- /** 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. */
3177
+ /** 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. */
3136
3178
  name?: string;
3137
3179
  /** Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use. */
3138
3180
  provisionCompletionTime?: string;
@@ -3345,6 +3387,8 @@ declare namespace gapi.client {
3345
3387
  interface GoogleCloudDiscoveryengineV1betaSearchRequestContentSearchSpecSummarySpec {
3346
3388
  /** 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. */
3347
3389
  ignoreAdversarialQuery?: boolean;
3390
+ /** 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. */
3391
+ ignoreJailBreakingQuery?: boolean;
3348
3392
  /** 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. */
3349
3393
  ignoreLowRelevantContent?: boolean;
3350
3394
  /** 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. */
@@ -3440,6 +3484,10 @@ declare namespace gapi.client {
3440
3484
  /** The mode under which spell correction replaces the original search query. Defaults to Mode.AUTO. */
3441
3485
  mode?: string;
3442
3486
  }
3487
+ interface GoogleCloudDiscoveryengineV1betaServingConfigDataStore {
3488
+ /** If set true, the DataStore will not be available for serving search requests. */
3489
+ disabledForServing?: boolean;
3490
+ }
3443
3491
  interface GoogleCloudDiscoveryengineV1betaSiteVerificationInfo {
3444
3492
  /** Site verification state indicating the ownership and validity. */
3445
3493
  siteVerificationState?: string;
@@ -3495,7 +3543,7 @@ declare namespace gapi.client {
3495
3543
  modelStatus?: string;
3496
3544
  }
3497
3545
  interface GoogleCloudDiscoveryengineV1betaTuneEngineMetadata {
3498
- /** 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}` */
3546
+ /** Required. The resource name of the engine that this tune applies to. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}` */
3499
3547
  engine?: string;
3500
3548
  }
3501
3549
  interface GoogleCloudDiscoveryengineV1betaTuneEngineResponse {}
@@ -3624,6 +3672,8 @@ declare namespace gapi.client {
3624
3672
  industryVertical?: string;
3625
3673
  /** 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. */
3626
3674
  name?: string;
3675
+ /** Optional. Stores serving config at DataStore level. */
3676
+ servingConfigDataStore?: GoogleCloudDiscoveryengineV1ServingConfigDataStore;
3627
3677
  /** 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. */
3628
3678
  solutionTypes?: string[];
3629
3679
  /** 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). */
@@ -3669,7 +3719,7 @@ declare namespace gapi.client {
3669
3719
  defaultParsingConfig?: GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig;
3670
3720
  /** The full resource name of the Document Processing Config. Format: `projects/*‍/locations/*‍/collections/*‍/dataStores/*‍/documentProcessingConfig`. */
3671
3721
  name?: string;
3672
- /** 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. */
3722
+ /** 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. */
3673
3723
  parsingConfigOverrides?: {
3674
3724
  [P in string]: GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig;
3675
3725
  };
@@ -3722,7 +3772,7 @@ declare namespace gapi.client {
3722
3772
  displayName?: string;
3723
3773
  /** 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. */
3724
3774
  industryVertical?: string;
3725
- /** 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. */
3775
+ /** 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. */
3726
3776
  name?: string;
3727
3777
  /** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
3728
3778
  searchEngineConfig?: GoogleCloudDiscoveryengineV1EngineSearchEngineConfig;
@@ -3836,7 +3886,7 @@ declare namespace gapi.client {
3836
3886
  interface GoogleCloudDiscoveryengineV1Project {
3837
3887
  /** Output only. The timestamp when this project is created. */
3838
3888
  createTime?: string;
3839
- /** 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. */
3889
+ /** 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. */
3840
3890
  name?: string;
3841
3891
  /** Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use. */
3842
3892
  provisionCompletionTime?: string;
@@ -3908,6 +3958,10 @@ declare namespace gapi.client {
3908
3958
  /** The structured representation of the schema. */
3909
3959
  structSchema?: {[P in string]: any};
3910
3960
  }
3961
+ interface GoogleCloudDiscoveryengineV1ServingConfigDataStore {
3962
+ /** If set true, the DataStore will not be available for serving search requests. */
3963
+ disabledForServing?: boolean;
3964
+ }
3911
3965
  interface GoogleCloudDiscoveryengineV1SiteVerificationInfo {
3912
3966
  /** Site verification state indicating the ownership and validity. */
3913
3967
  siteVerificationState?: string;
@@ -4818,7 +4872,7 @@ declare namespace gapi.client {
4818
4872
  key?: string;
4819
4873
  /** OAuth 2.0 token for the current user. */
4820
4874
  oauth_token?: string;
4821
- /** 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}`. */
4875
+ /** 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}`. */
4822
4876
  parent: string;
4823
4877
  /** Returns response with indentations and line breaks. */
4824
4878
  prettyPrint?: boolean;
@@ -4849,7 +4903,7 @@ declare namespace gapi.client {
4849
4903
  key?: string;
4850
4904
  /** OAuth 2.0 token for the current user. */
4851
4905
  oauth_token?: string;
4852
- /** 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}`. */
4906
+ /** 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}`. */
4853
4907
  parent: string;
4854
4908
  /** Returns response with indentations and line breaks. */
4855
4909
  prettyPrint?: boolean;
@@ -4876,7 +4930,7 @@ declare namespace gapi.client {
4876
4930
  fields?: string;
4877
4931
  /** 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. */
4878
4932
  key?: string;
4879
- /** 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}` */
4933
+ /** Required. The resource name of the Control to delete. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
4880
4934
  name: string;
4881
4935
  /** OAuth 2.0 token for the current user. */
4882
4936
  oauth_token?: string;
@@ -4903,7 +4957,7 @@ declare namespace gapi.client {
4903
4957
  fields?: string;
4904
4958
  /** 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. */
4905
4959
  key?: string;
4906
- /** 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}` */
4960
+ /** Required. The resource name of the Control to get. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
4907
4961
  name: string;
4908
4962
  /** OAuth 2.0 token for the current user. */
4909
4963
  oauth_token?: string;
@@ -4938,7 +4992,7 @@ declare namespace gapi.client {
4938
4992
  pageSize?: number;
4939
4993
  /** Optional. A page token, received from a previous `ListControls` call. Provide this to retrieve the subsequent page. */
4940
4994
  pageToken?: string;
4941
- /** 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}`. */
4995
+ /** 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}`. */
4942
4996
  parent: string;
4943
4997
  /** Returns response with indentations and line breaks. */
4944
4998
  prettyPrint?: boolean;
@@ -5027,7 +5081,7 @@ declare namespace gapi.client {
5027
5081
  fields?: string;
5028
5082
  /** 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. */
5029
5083
  key?: string;
5030
- /** 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. */
5084
+ /** 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. */
5031
5085
  name: string;
5032
5086
  /** OAuth 2.0 token for the current user. */
5033
5087
  oauth_token?: string;
@@ -5056,7 +5110,7 @@ declare namespace gapi.client {
5056
5110
  fields?: string;
5057
5111
  /** 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. */
5058
5112
  key?: string;
5059
- /** 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. */
5113
+ /** 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. */
5060
5114
  name: string;
5061
5115
  /** OAuth 2.0 token for the current user. */
5062
5116
  oauth_token?: string;
@@ -5087,7 +5141,7 @@ declare namespace gapi.client {
5087
5141
  key?: string;
5088
5142
  /** OAuth 2.0 token for the current user. */
5089
5143
  oauth_token?: string;
5090
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
5144
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
5091
5145
  parent: string;
5092
5146
  /** Returns response with indentations and line breaks. */
5093
5147
  prettyPrint?: boolean;
@@ -5116,7 +5170,7 @@ declare namespace gapi.client {
5116
5170
  key?: string;
5117
5171
  /** OAuth 2.0 token for the current user. */
5118
5172
  oauth_token?: string;
5119
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
5173
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
5120
5174
  parent: string;
5121
5175
  /** Returns response with indentations and line breaks. */
5122
5176
  prettyPrint?: boolean;
@@ -5143,7 +5197,7 @@ declare namespace gapi.client {
5143
5197
  fields?: string;
5144
5198
  /** 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. */
5145
5199
  key?: string;
5146
- /** 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}` */
5200
+ /** Required. The resource name of the Conversation to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
5147
5201
  name: string;
5148
5202
  /** OAuth 2.0 token for the current user. */
5149
5203
  oauth_token?: string;
@@ -5170,7 +5224,7 @@ declare namespace gapi.client {
5170
5224
  fields?: string;
5171
5225
  /** 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. */
5172
5226
  key?: string;
5173
- /** 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}` */
5227
+ /** Required. The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
5174
5228
  name: string;
5175
5229
  /** OAuth 2.0 token for the current user. */
5176
5230
  oauth_token?: string;
@@ -5207,7 +5261,7 @@ declare namespace gapi.client {
5207
5261
  pageSize?: number;
5208
5262
  /** A page token, received from a previous `ListConversations` call. Provide this to retrieve the subsequent page. */
5209
5263
  pageToken?: string;
5210
- /** Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
5264
+ /** Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
5211
5265
  parent: string;
5212
5266
  /** Returns response with indentations and line breaks. */
5213
5267
  prettyPrint?: boolean;
@@ -5784,7 +5838,7 @@ declare namespace gapi.client {
5784
5838
  fields?: string;
5785
5839
  /** 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. */
5786
5840
  key?: string;
5787
- /** Required. The resource name of the ServingConfig to get. Format: `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}` */
5841
+ /** Required. The resource name of the ServingConfig to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}` */
5788
5842
  name: string;
5789
5843
  /** OAuth 2.0 token for the current user. */
5790
5844
  oauth_token?: string;
@@ -5817,7 +5871,7 @@ declare namespace gapi.client {
5817
5871
  pageSize?: number;
5818
5872
  /** Optional. A page token, received from a previous `ListServingConfigs` call. Provide this to retrieve the subsequent page. */
5819
5873
  pageToken?: string;
5820
- /** Required. Full resource name of the parent resource. Format: `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}` */
5874
+ /** Required. Full resource name of the parent resource. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` */
5821
5875
  parent: string;
5822
5876
  /** Returns response with indentations and line breaks. */
5823
5877
  prettyPrint?: boolean;
@@ -6022,7 +6076,7 @@ declare namespace gapi.client {
6022
6076
  fields?: string;
6023
6077
  /** 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. */
6024
6078
  key?: string;
6025
- /** 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}` */
6079
+ /** 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}` */
6026
6080
  name: string;
6027
6081
  /** OAuth 2.0 token for the current user. */
6028
6082
  oauth_token?: string;
@@ -6053,7 +6107,7 @@ declare namespace gapi.client {
6053
6107
  key?: string;
6054
6108
  /** OAuth 2.0 token for the current user. */
6055
6109
  oauth_token?: string;
6056
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
6110
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
6057
6111
  parent: string;
6058
6112
  /** Returns response with indentations and line breaks. */
6059
6113
  prettyPrint?: boolean;
@@ -6082,7 +6136,7 @@ declare namespace gapi.client {
6082
6136
  key?: string;
6083
6137
  /** OAuth 2.0 token for the current user. */
6084
6138
  oauth_token?: string;
6085
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
6139
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
6086
6140
  parent: string;
6087
6141
  /** Returns response with indentations and line breaks. */
6088
6142
  prettyPrint?: boolean;
@@ -6109,7 +6163,7 @@ declare namespace gapi.client {
6109
6163
  fields?: string;
6110
6164
  /** 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. */
6111
6165
  key?: string;
6112
- /** 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}` */
6166
+ /** Required. The resource name of the Session to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
6113
6167
  name: string;
6114
6168
  /** OAuth 2.0 token for the current user. */
6115
6169
  oauth_token?: string;
@@ -6136,7 +6190,7 @@ declare namespace gapi.client {
6136
6190
  fields?: string;
6137
6191
  /** 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. */
6138
6192
  key?: string;
6139
- /** 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}` */
6193
+ /** Required. The resource name of the Session to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
6140
6194
  name: string;
6141
6195
  /** OAuth 2.0 token for the current user. */
6142
6196
  oauth_token?: string;
@@ -6173,7 +6227,7 @@ declare namespace gapi.client {
6173
6227
  pageSize?: number;
6174
6228
  /** A page token, received from a previous `ListSessions` call. Provide this to retrieve the subsequent page. */
6175
6229
  pageToken?: string;
6176
- /** Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
6230
+ /** Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
6177
6231
  parent: string;
6178
6232
  /** Returns response with indentations and line breaks. */
6179
6233
  prettyPrint?: boolean;
@@ -7212,7 +7266,7 @@ declare namespace gapi.client {
7212
7266
  key?: string;
7213
7267
  /** OAuth 2.0 token for the current user. */
7214
7268
  oauth_token?: string;
7215
- /** Required. The resource name of the catalog under which the events are created. The format is `projects/${projectId}/locations/global/collections/{$collectionId}/dataStores/${dataStoreId}` */
7269
+ /** Required. The resource name of the catalog under which the events are created. The format is `projects/{project}/locations/global/collections/{collection}/dataStores/{dataStore}`. */
7216
7270
  parent: string;
7217
7271
  /** Returns response with indentations and line breaks. */
7218
7272
  prettyPrint?: boolean;
@@ -7241,7 +7295,7 @@ declare namespace gapi.client {
7241
7295
  key?: string;
7242
7296
  /** OAuth 2.0 token for the current user. */
7243
7297
  oauth_token?: string;
7244
- /** Required. The resource name of the catalog under which the events are created. The format is `projects/${projectId}/locations/global/collections/{$collectionId}/dataStores/${dataStoreId}` */
7298
+ /** Required. The resource name of the catalog under which the events are created. The format is `projects/{project}/locations/global/collections/{collection}/dataStores/{dataStore}`. */
7245
7299
  parent: string;
7246
7300
  /** Returns response with indentations and line breaks. */
7247
7301
  prettyPrint?: boolean;
@@ -7491,7 +7545,7 @@ declare namespace gapi.client {
7491
7545
  fields?: string;
7492
7546
  /** 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. */
7493
7547
  key?: string;
7494
- /** Required. Full DocumentProcessingConfig resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/documentProcessingConfig` */
7548
+ /** Required. Full DocumentProcessingConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/documentProcessingConfig` */
7495
7549
  name: string;
7496
7550
  /** OAuth 2.0 token for the current user. */
7497
7551
  oauth_token?: string;
@@ -7779,7 +7833,7 @@ declare namespace gapi.client {
7779
7833
  key?: string;
7780
7834
  /** OAuth 2.0 token for the current user. */
7781
7835
  oauth_token?: string;
7782
- /** 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}`. */
7836
+ /** 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}`. */
7783
7837
  parent: string;
7784
7838
  /** Returns response with indentations and line breaks. */
7785
7839
  prettyPrint?: boolean;
@@ -7810,7 +7864,7 @@ declare namespace gapi.client {
7810
7864
  key?: string;
7811
7865
  /** OAuth 2.0 token for the current user. */
7812
7866
  oauth_token?: string;
7813
- /** 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}`. */
7867
+ /** 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}`. */
7814
7868
  parent: string;
7815
7869
  /** Returns response with indentations and line breaks. */
7816
7870
  prettyPrint?: boolean;
@@ -7837,7 +7891,7 @@ declare namespace gapi.client {
7837
7891
  fields?: string;
7838
7892
  /** 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. */
7839
7893
  key?: string;
7840
- /** 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}` */
7894
+ /** Required. The resource name of the Control to delete. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
7841
7895
  name: string;
7842
7896
  /** OAuth 2.0 token for the current user. */
7843
7897
  oauth_token?: string;
@@ -7864,7 +7918,7 @@ declare namespace gapi.client {
7864
7918
  fields?: string;
7865
7919
  /** 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. */
7866
7920
  key?: string;
7867
- /** 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}` */
7921
+ /** Required. The resource name of the Control to get. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
7868
7922
  name: string;
7869
7923
  /** OAuth 2.0 token for the current user. */
7870
7924
  oauth_token?: string;
@@ -7899,7 +7953,7 @@ declare namespace gapi.client {
7899
7953
  pageSize?: number;
7900
7954
  /** Optional. A page token, received from a previous `ListControls` call. Provide this to retrieve the subsequent page. */
7901
7955
  pageToken?: string;
7902
- /** 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}`. */
7956
+ /** 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}`. */
7903
7957
  parent: string;
7904
7958
  /** Returns response with indentations and line breaks. */
7905
7959
  prettyPrint?: boolean;
@@ -7988,7 +8042,7 @@ declare namespace gapi.client {
7988
8042
  fields?: string;
7989
8043
  /** 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. */
7990
8044
  key?: string;
7991
- /** 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. */
8045
+ /** 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. */
7992
8046
  name: string;
7993
8047
  /** OAuth 2.0 token for the current user. */
7994
8048
  oauth_token?: string;
@@ -8017,7 +8071,7 @@ declare namespace gapi.client {
8017
8071
  fields?: string;
8018
8072
  /** 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. */
8019
8073
  key?: string;
8020
- /** 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. */
8074
+ /** 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. */
8021
8075
  name: string;
8022
8076
  /** OAuth 2.0 token for the current user. */
8023
8077
  oauth_token?: string;
@@ -8048,7 +8102,7 @@ declare namespace gapi.client {
8048
8102
  key?: string;
8049
8103
  /** OAuth 2.0 token for the current user. */
8050
8104
  oauth_token?: string;
8051
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
8105
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
8052
8106
  parent: string;
8053
8107
  /** Returns response with indentations and line breaks. */
8054
8108
  prettyPrint?: boolean;
@@ -8077,7 +8131,7 @@ declare namespace gapi.client {
8077
8131
  key?: string;
8078
8132
  /** OAuth 2.0 token for the current user. */
8079
8133
  oauth_token?: string;
8080
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
8134
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
8081
8135
  parent: string;
8082
8136
  /** Returns response with indentations and line breaks. */
8083
8137
  prettyPrint?: boolean;
@@ -8104,7 +8158,7 @@ declare namespace gapi.client {
8104
8158
  fields?: string;
8105
8159
  /** 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. */
8106
8160
  key?: string;
8107
- /** 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}` */
8161
+ /** Required. The resource name of the Conversation to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
8108
8162
  name: string;
8109
8163
  /** OAuth 2.0 token for the current user. */
8110
8164
  oauth_token?: string;
@@ -8131,7 +8185,7 @@ declare namespace gapi.client {
8131
8185
  fields?: string;
8132
8186
  /** 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. */
8133
8187
  key?: string;
8134
- /** 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}` */
8188
+ /** Required. The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
8135
8189
  name: string;
8136
8190
  /** OAuth 2.0 token for the current user. */
8137
8191
  oauth_token?: string;
@@ -8168,7 +8222,7 @@ declare namespace gapi.client {
8168
8222
  pageSize?: number;
8169
8223
  /** A page token, received from a previous `ListConversations` call. Provide this to retrieve the subsequent page. */
8170
8224
  pageToken?: string;
8171
- /** Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
8225
+ /** Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
8172
8226
  parent: string;
8173
8227
  /** Returns response with indentations and line breaks. */
8174
8228
  prettyPrint?: boolean;
@@ -8377,7 +8431,7 @@ declare namespace gapi.client {
8377
8431
  fields?: string;
8378
8432
  /** 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. */
8379
8433
  key?: string;
8380
- /** Required. The resource name of the ServingConfig to get. Format: `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}` */
8434
+ /** Required. The resource name of the ServingConfig to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}` */
8381
8435
  name: string;
8382
8436
  /** OAuth 2.0 token for the current user. */
8383
8437
  oauth_token?: string;
@@ -8410,7 +8464,7 @@ declare namespace gapi.client {
8410
8464
  pageSize?: number;
8411
8465
  /** Optional. A page token, received from a previous `ListServingConfigs` call. Provide this to retrieve the subsequent page. */
8412
8466
  pageToken?: string;
8413
- /** Required. Full resource name of the parent resource. Format: `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}` */
8467
+ /** Required. Full resource name of the parent resource. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` */
8414
8468
  parent: string;
8415
8469
  /** Returns response with indentations and line breaks. */
8416
8470
  prettyPrint?: boolean;
@@ -8615,7 +8669,7 @@ declare namespace gapi.client {
8615
8669
  fields?: string;
8616
8670
  /** 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. */
8617
8671
  key?: string;
8618
- /** 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}` */
8672
+ /** 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}` */
8619
8673
  name: string;
8620
8674
  /** OAuth 2.0 token for the current user. */
8621
8675
  oauth_token?: string;
@@ -8646,7 +8700,7 @@ declare namespace gapi.client {
8646
8700
  key?: string;
8647
8701
  /** OAuth 2.0 token for the current user. */
8648
8702
  oauth_token?: string;
8649
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
8703
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
8650
8704
  parent: string;
8651
8705
  /** Returns response with indentations and line breaks. */
8652
8706
  prettyPrint?: boolean;
@@ -8675,7 +8729,7 @@ declare namespace gapi.client {
8675
8729
  key?: string;
8676
8730
  /** OAuth 2.0 token for the current user. */
8677
8731
  oauth_token?: string;
8678
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
8732
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
8679
8733
  parent: string;
8680
8734
  /** Returns response with indentations and line breaks. */
8681
8735
  prettyPrint?: boolean;
@@ -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
- /** 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}` */
8759
+ /** Required. The resource name of the Session to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
8706
8760
  name: string;
8707
8761
  /** OAuth 2.0 token for the current user. */
8708
8762
  oauth_token?: string;
@@ -8729,7 +8783,7 @@ declare namespace gapi.client {
8729
8783
  fields?: string;
8730
8784
  /** 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. */
8731
8785
  key?: string;
8732
- /** 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}` */
8786
+ /** Required. The resource name of the Session to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
8733
8787
  name: string;
8734
8788
  /** OAuth 2.0 token for the current user. */
8735
8789
  oauth_token?: string;
@@ -8766,7 +8820,7 @@ declare namespace gapi.client {
8766
8820
  pageSize?: number;
8767
8821
  /** A page token, received from a previous `ListSessions` call. Provide this to retrieve the subsequent page. */
8768
8822
  pageToken?: string;
8769
- /** Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
8823
+ /** Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
8770
8824
  parent: string;
8771
8825
  /** Returns response with indentations and line breaks. */
8772
8826
  prettyPrint?: boolean;
@@ -9005,7 +9059,7 @@ declare namespace gapi.client {
9005
9059
  fields?: string;
9006
9060
  /** 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. */
9007
9061
  key?: string;
9008
- /** 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. */
9062
+ /** 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. */
9009
9063
  name: string;
9010
9064
  /** OAuth 2.0 token for the current user. */
9011
9065
  oauth_token?: string;
@@ -9036,7 +9090,7 @@ declare namespace gapi.client {
9036
9090
  fields?: string;
9037
9091
  /** 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. */
9038
9092
  key?: string;
9039
- /** 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. */
9093
+ /** 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. */
9040
9094
  name: string;
9041
9095
  /** OAuth 2.0 token for the current user. */
9042
9096
  oauth_token?: string;
@@ -9067,7 +9121,7 @@ declare namespace gapi.client {
9067
9121
  fields?: string;
9068
9122
  /** 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. */
9069
9123
  key?: string;
9070
- /** Required. The name of the engine to pause. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}` */
9124
+ /** Required. The name of the engine to pause. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}` */
9071
9125
  name: string;
9072
9126
  /** OAuth 2.0 token for the current user. */
9073
9127
  oauth_token?: string;
@@ -9096,7 +9150,7 @@ declare namespace gapi.client {
9096
9150
  fields?: string;
9097
9151
  /** 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. */
9098
9152
  key?: string;
9099
- /** Required. The name of the engine to pause. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}` */
9153
+ /** Required. The name of the engine to pause. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}` */
9100
9154
  name: string;
9101
9155
  /** OAuth 2.0 token for the current user. */
9102
9156
  oauth_token?: string;
@@ -9125,7 +9179,7 @@ declare namespace gapi.client {
9125
9179
  fields?: string;
9126
9180
  /** 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. */
9127
9181
  key?: string;
9128
- /** Required. The name of the engine to resume. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}` */
9182
+ /** Required. The name of the engine to resume. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}` */
9129
9183
  name: string;
9130
9184
  /** OAuth 2.0 token for the current user. */
9131
9185
  oauth_token?: string;
@@ -9154,7 +9208,7 @@ declare namespace gapi.client {
9154
9208
  fields?: string;
9155
9209
  /** 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. */
9156
9210
  key?: string;
9157
- /** Required. The name of the engine to resume. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}` */
9211
+ /** Required. The name of the engine to resume. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}` */
9158
9212
  name: string;
9159
9213
  /** OAuth 2.0 token for the current user. */
9160
9214
  oauth_token?: string;
@@ -9183,7 +9237,7 @@ declare namespace gapi.client {
9183
9237
  fields?: string;
9184
9238
  /** 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. */
9185
9239
  key?: string;
9186
- /** Required. The resource name of the engine to tune. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}` */
9240
+ /** Required. The resource name of the engine to tune. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}` */
9187
9241
  name: string;
9188
9242
  /** OAuth 2.0 token for the current user. */
9189
9243
  oauth_token?: string;
@@ -9212,7 +9266,7 @@ declare namespace gapi.client {
9212
9266
  fields?: string;
9213
9267
  /** 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. */
9214
9268
  key?: string;
9215
- /** Required. The resource name of the engine to tune. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/engines/{engine_id}` */
9269
+ /** Required. The resource name of the engine to tune. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}` */
9216
9270
  name: string;
9217
9271
  /** OAuth 2.0 token for the current user. */
9218
9272
  oauth_token?: string;
@@ -10016,7 +10070,7 @@ declare namespace gapi.client {
10016
10070
  key?: string;
10017
10071
  /** OAuth 2.0 token for the current user. */
10018
10072
  oauth_token?: string;
10019
- /** 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}`. */
10073
+ /** 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}`. */
10020
10074
  parent: string;
10021
10075
  /** Returns response with indentations and line breaks. */
10022
10076
  prettyPrint?: boolean;
@@ -10047,7 +10101,7 @@ declare namespace gapi.client {
10047
10101
  key?: string;
10048
10102
  /** OAuth 2.0 token for the current user. */
10049
10103
  oauth_token?: string;
10050
- /** 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}`. */
10104
+ /** 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}`. */
10051
10105
  parent: string;
10052
10106
  /** Returns response with indentations and line breaks. */
10053
10107
  prettyPrint?: boolean;
@@ -10074,7 +10128,7 @@ declare namespace gapi.client {
10074
10128
  fields?: string;
10075
10129
  /** 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. */
10076
10130
  key?: string;
10077
- /** 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}` */
10131
+ /** Required. The resource name of the Control to delete. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
10078
10132
  name: string;
10079
10133
  /** OAuth 2.0 token for the current user. */
10080
10134
  oauth_token?: string;
@@ -10101,7 +10155,7 @@ declare namespace gapi.client {
10101
10155
  fields?: string;
10102
10156
  /** 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. */
10103
10157
  key?: string;
10104
- /** 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}` */
10158
+ /** Required. The resource name of the Control to get. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/controls/{control_id}` */
10105
10159
  name: string;
10106
10160
  /** OAuth 2.0 token for the current user. */
10107
10161
  oauth_token?: string;
@@ -10136,7 +10190,7 @@ declare namespace gapi.client {
10136
10190
  pageSize?: number;
10137
10191
  /** Optional. A page token, received from a previous `ListControls` call. Provide this to retrieve the subsequent page. */
10138
10192
  pageToken?: string;
10139
- /** 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}`. */
10193
+ /** 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}`. */
10140
10194
  parent: string;
10141
10195
  /** Returns response with indentations and line breaks. */
10142
10196
  prettyPrint?: boolean;
@@ -10225,7 +10279,7 @@ declare namespace gapi.client {
10225
10279
  fields?: string;
10226
10280
  /** 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. */
10227
10281
  key?: string;
10228
- /** 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. */
10282
+ /** 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. */
10229
10283
  name: string;
10230
10284
  /** OAuth 2.0 token for the current user. */
10231
10285
  oauth_token?: string;
@@ -10254,7 +10308,7 @@ declare namespace gapi.client {
10254
10308
  fields?: string;
10255
10309
  /** 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. */
10256
10310
  key?: string;
10257
- /** 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. */
10311
+ /** 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. */
10258
10312
  name: string;
10259
10313
  /** OAuth 2.0 token for the current user. */
10260
10314
  oauth_token?: string;
@@ -10285,7 +10339,7 @@ declare namespace gapi.client {
10285
10339
  key?: string;
10286
10340
  /** OAuth 2.0 token for the current user. */
10287
10341
  oauth_token?: string;
10288
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
10342
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
10289
10343
  parent: string;
10290
10344
  /** Returns response with indentations and line breaks. */
10291
10345
  prettyPrint?: boolean;
@@ -10314,7 +10368,7 @@ declare namespace gapi.client {
10314
10368
  key?: string;
10315
10369
  /** OAuth 2.0 token for the current user. */
10316
10370
  oauth_token?: string;
10317
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
10371
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
10318
10372
  parent: string;
10319
10373
  /** Returns response with indentations and line breaks. */
10320
10374
  prettyPrint?: boolean;
@@ -10341,7 +10395,7 @@ declare namespace gapi.client {
10341
10395
  fields?: string;
10342
10396
  /** 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. */
10343
10397
  key?: string;
10344
- /** 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}` */
10398
+ /** Required. The resource name of the Conversation to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
10345
10399
  name: string;
10346
10400
  /** OAuth 2.0 token for the current user. */
10347
10401
  oauth_token?: string;
@@ -10368,7 +10422,7 @@ declare namespace gapi.client {
10368
10422
  fields?: string;
10369
10423
  /** 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. */
10370
10424
  key?: string;
10371
- /** 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}` */
10425
+ /** Required. The resource name of the Conversation to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/conversations/{conversation_id}` */
10372
10426
  name: string;
10373
10427
  /** OAuth 2.0 token for the current user. */
10374
10428
  oauth_token?: string;
@@ -10405,7 +10459,7 @@ declare namespace gapi.client {
10405
10459
  pageSize?: number;
10406
10460
  /** A page token, received from a previous `ListConversations` call. Provide this to retrieve the subsequent page. */
10407
10461
  pageToken?: string;
10408
- /** Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
10462
+ /** Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
10409
10463
  parent: string;
10410
10464
  /** Returns response with indentations and line breaks. */
10411
10465
  prettyPrint?: boolean;
@@ -10890,7 +10944,7 @@ declare namespace gapi.client {
10890
10944
  fields?: string;
10891
10945
  /** 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. */
10892
10946
  key?: string;
10893
- /** Required. The resource name of the ServingConfig to get. Format: `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}` */
10947
+ /** Required. The resource name of the ServingConfig to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}` */
10894
10948
  name: string;
10895
10949
  /** OAuth 2.0 token for the current user. */
10896
10950
  oauth_token?: string;
@@ -10923,7 +10977,7 @@ declare namespace gapi.client {
10923
10977
  pageSize?: number;
10924
10978
  /** Optional. A page token, received from a previous `ListServingConfigs` call. Provide this to retrieve the subsequent page. */
10925
10979
  pageToken?: string;
10926
- /** Required. Full resource name of the parent resource. Format: `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}` */
10980
+ /** Required. Full resource name of the parent resource. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` */
10927
10981
  parent: string;
10928
10982
  /** Returns response with indentations and line breaks. */
10929
10983
  prettyPrint?: boolean;
@@ -11128,7 +11182,7 @@ declare namespace gapi.client {
11128
11182
  fields?: string;
11129
11183
  /** 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. */
11130
11184
  key?: string;
11131
- /** 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}` */
11185
+ /** 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}` */
11132
11186
  name: string;
11133
11187
  /** OAuth 2.0 token for the current user. */
11134
11188
  oauth_token?: string;
@@ -11159,7 +11213,7 @@ declare namespace gapi.client {
11159
11213
  key?: string;
11160
11214
  /** OAuth 2.0 token for the current user. */
11161
11215
  oauth_token?: string;
11162
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
11216
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
11163
11217
  parent: string;
11164
11218
  /** Returns response with indentations and line breaks. */
11165
11219
  prettyPrint?: boolean;
@@ -11188,7 +11242,7 @@ declare namespace gapi.client {
11188
11242
  key?: string;
11189
11243
  /** OAuth 2.0 token for the current user. */
11190
11244
  oauth_token?: string;
11191
- /** Required. Full resource name of parent data store. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
11245
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
11192
11246
  parent: string;
11193
11247
  /** Returns response with indentations and line breaks. */
11194
11248
  prettyPrint?: boolean;
@@ -11215,7 +11269,7 @@ declare namespace gapi.client {
11215
11269
  fields?: string;
11216
11270
  /** 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. */
11217
11271
  key?: string;
11218
- /** 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}` */
11272
+ /** Required. The resource name of the Session to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
11219
11273
  name: string;
11220
11274
  /** OAuth 2.0 token for the current user. */
11221
11275
  oauth_token?: string;
@@ -11242,7 +11296,7 @@ declare namespace gapi.client {
11242
11296
  fields?: string;
11243
11297
  /** 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. */
11244
11298
  key?: string;
11245
- /** 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}` */
11299
+ /** Required. The resource name of the Session to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
11246
11300
  name: string;
11247
11301
  /** OAuth 2.0 token for the current user. */
11248
11302
  oauth_token?: string;
@@ -11279,7 +11333,7 @@ declare namespace gapi.client {
11279
11333
  pageSize?: number;
11280
11334
  /** A page token, received from a previous `ListSessions` call. Provide this to retrieve the subsequent page. */
11281
11335
  pageToken?: string;
11282
- /** Required. The data store resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection}/dataStores/{data_store_id}` */
11336
+ /** Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
11283
11337
  parent: string;
11284
11338
  /** Returns response with indentations and line breaks. */
11285
11339
  prettyPrint?: boolean;
@@ -12018,7 +12072,7 @@ declare namespace gapi.client {
12018
12072
  key?: string;
12019
12073
  /** OAuth 2.0 token for the current user. */
12020
12074
  oauth_token?: string;
12021
- /** Required. The resource name of the catalog under which the events are created. The format is `projects/${projectId}/locations/global/collections/{$collectionId}/dataStores/${dataStoreId}` */
12075
+ /** Required. The resource name of the catalog under which the events are created. The format is `projects/{project}/locations/global/collections/{collection}/dataStores/{dataStore}`. */
12022
12076
  parent: string;
12023
12077
  /** Returns response with indentations and line breaks. */
12024
12078
  prettyPrint?: boolean;
@@ -12047,7 +12101,7 @@ declare namespace gapi.client {
12047
12101
  key?: string;
12048
12102
  /** OAuth 2.0 token for the current user. */
12049
12103
  oauth_token?: string;
12050
- /** Required. The resource name of the catalog under which the events are created. The format is `projects/${projectId}/locations/global/collections/{$collectionId}/dataStores/${dataStoreId}` */
12104
+ /** Required. The resource name of the catalog under which the events are created. The format is `projects/{project}/locations/global/collections/{collection}/dataStores/{dataStore}`. */
12051
12105
  parent: string;
12052
12106
  /** Returns response with indentations and line breaks. */
12053
12107
  prettyPrint?: boolean;
@@ -12297,7 +12351,7 @@ declare namespace gapi.client {
12297
12351
  fields?: string;
12298
12352
  /** 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. */
12299
12353
  key?: string;
12300
- /** Required. Full DocumentProcessingConfig resource name. Format: `projects/{project_number}/locations/{location_id}/collections/{collection_id}/dataStores/{data_store_id}/documentProcessingConfig` */
12354
+ /** Required. Full DocumentProcessingConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/documentProcessingConfig` */
12301
12355
  name: string;
12302
12356
  /** OAuth 2.0 token for the current user. */
12303
12357
  oauth_token?: string;
@@ -12894,7 +12948,7 @@ declare namespace gapi.client {
12894
12948
  prettyPrint?: boolean;
12895
12949
  /** 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. */
12896
12950
  quotaUser?: string;
12897
- /** Required. The resource name of the rank service config, such as `projects/{project_num}/locations/{location_id}/rankingConfigs/default_ranking_config`. */
12951
+ /** Required. The resource name of the rank service config, such as `projects/{project_num}/locations/{location}/rankingConfigs/default_ranking_config`. */
12898
12952
  rankingConfig: string;
12899
12953
  /** Upload protocol for media (e.g. "raw", "multipart"). */
12900
12954
  upload_protocol?: string;
@@ -12923,7 +12977,7 @@ declare namespace gapi.client {
12923
12977
  prettyPrint?: boolean;
12924
12978
  /** 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. */
12925
12979
  quotaUser?: string;
12926
- /** Required. The resource name of the rank service config, such as `projects/{project_num}/locations/{location_id}/rankingConfigs/default_ranking_config`. */
12980
+ /** Required. The resource name of the rank service config, such as `projects/{project_num}/locations/{location}/rankingConfigs/default_ranking_config`. */
12927
12981
  rankingConfig: string;
12928
12982
  /** Upload protocol for media (e.g. "raw", "multipart"). */
12929
12983
  upload_protocol?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1alpha",
3
- "version": "0.0.20240826",
3
+ "version": "0.0.20240906",
4
4
  "description": "TypeScript typings for Discovery Engine API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # TypeScript typings for Discovery Engine API v1alpha
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