@googleapis/discoveryengine 28.0.0 → 28.2.0
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.
- package/CHANGELOG.md +15 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1.d.ts +691 -17
- package/build/v1.js +198 -0
- package/build/v1.js.map +1 -1
- package/build/v1alpha.d.ts +1136 -406
- package/build/v1alpha.js +198 -0
- package/build/v1alpha.js.map +1 -1
- package/build/v1beta.d.ts +720 -36
- package/build/v1beta.js +198 -0
- package/build/v1beta.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +1554 -382
- package/v1alpha.ts +1483 -256
- package/v1beta.ts +1561 -379
package/build/v1.d.ts
CHANGED
|
@@ -4286,7 +4286,7 @@ export declare namespace discoveryengine_v1 {
|
|
|
4286
4286
|
*/
|
|
4287
4287
|
orderBy?: string | null;
|
|
4288
4288
|
/**
|
|
4289
|
-
* Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as UserEvent.PageInfo.page_category. This field is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query is empty. If the field is empty, it will not be used by the browse model. To represent full path of a category, use '\>' character to separate different hierarchies. If '\>' is part of the category name, replace it with other character(s). For example, `Graphics Cards \> RTX\>4090 \> Founders Edition` where "RTX \> 4090" represents one level, can be rewritten as `Graphics Cards \> RTX_4090 \> Founders Edition`
|
|
4289
|
+
* Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as UserEvent.PageInfo.page_category. This field is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query is empty. If the field is empty, it will not be used by the browse model. If the field contains more than one element, only the first element will be used. To represent full path of a category, use '\>' character to separate different hierarchies. If '\>' is part of the category name, replace it with other character(s). For example, `Graphics Cards \> RTX\>4090 \> Founders Edition` where "RTX \> 4090" represents one level, can be rewritten as `Graphics Cards \> RTX_4090 \> Founders Edition`
|
|
4290
4290
|
*/
|
|
4291
4291
|
pageCategories?: string[] | null;
|
|
4292
4292
|
/**
|
|
@@ -4327,12 +4327,16 @@ export declare namespace discoveryengine_v1 {
|
|
|
4327
4327
|
* The Unicode country/region code (CLDR) of a location, such as "US" and "419". For more information, see [Standard fields](https://cloud.google.com/apis/design/standard_fields). If set, then results will be boosted based on the region_code provided.
|
|
4328
4328
|
*/
|
|
4329
4329
|
regionCode?: string | null;
|
|
4330
|
+
/**
|
|
4331
|
+
* Optional. The granular relevance filtering specification. If not specified, the global `relevance_threshold` will be used for all sub-searches. If specified, this overrides the global `relevance_threshold` to use thresholds on a per sub-search basis. This feature is currently supported only for custom and site search.
|
|
4332
|
+
*/
|
|
4333
|
+
relevanceFilterSpec?: Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec;
|
|
4330
4334
|
/**
|
|
4331
4335
|
* Optional. The specification for returning the relevance score.
|
|
4332
4336
|
*/
|
|
4333
4337
|
relevanceScoreSpec?: Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceScoreSpec;
|
|
4334
4338
|
/**
|
|
4335
|
-
* The relevance threshold of the search results.
|
|
4339
|
+
* The global relevance threshold of the search results. Defaults to Google defined threshold, leveraging a balance of precision and recall to deliver both highly accurate results and comprehensive coverage of relevant information. If more granular relevance filtering is required, use the `relevance_filter_spec` instead. This feature is not supported for healthcare search.
|
|
4336
4340
|
*/
|
|
4337
4341
|
relevanceThreshold?: string | null;
|
|
4338
4342
|
/**
|
|
@@ -4773,6 +4777,32 @@ export declare namespace discoveryengine_v1 {
|
|
|
4773
4777
|
*/
|
|
4774
4778
|
pinUnexpandedResults?: boolean | null;
|
|
4775
4779
|
}
|
|
4780
|
+
/**
|
|
4781
|
+
* Relevance filtering specification.
|
|
4782
|
+
*/
|
|
4783
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpec {
|
|
4784
|
+
/**
|
|
4785
|
+
* Optional. Relevance filtering threshold specification for keyword search.
|
|
4786
|
+
*/
|
|
4787
|
+
keywordSearchThreshold?: Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec;
|
|
4788
|
+
/**
|
|
4789
|
+
* Optional. Relevance filtering threshold specification for semantic search.
|
|
4790
|
+
*/
|
|
4791
|
+
semanticSearchThreshold?: Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec;
|
|
4792
|
+
}
|
|
4793
|
+
/**
|
|
4794
|
+
* Specification for relevance filtering on a specific sub-search.
|
|
4795
|
+
*/
|
|
4796
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec {
|
|
4797
|
+
/**
|
|
4798
|
+
* Pre-defined relevance threshold for the sub-search.
|
|
4799
|
+
*/
|
|
4800
|
+
relevanceThreshold?: string | null;
|
|
4801
|
+
/**
|
|
4802
|
+
* Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0].
|
|
4803
|
+
*/
|
|
4804
|
+
semanticRelevanceThreshold?: number | null;
|
|
4805
|
+
}
|
|
4776
4806
|
/**
|
|
4777
4807
|
* The specification for returning the document relevance score.
|
|
4778
4808
|
*/
|
|
@@ -8476,7 +8506,7 @@ export declare namespace discoveryengine_v1 {
|
|
|
8476
8506
|
*/
|
|
8477
8507
|
orderBy?: string | null;
|
|
8478
8508
|
/**
|
|
8479
|
-
* Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as UserEvent.PageInfo.page_category. This field is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query is empty. If the field is empty, it will not be used by the browse model. To represent full path of a category, use '\>' character to separate different hierarchies. If '\>' is part of the category name, replace it with other character(s). For example, `Graphics Cards \> RTX\>4090 \> Founders Edition` where "RTX \> 4090" represents one level, can be rewritten as `Graphics Cards \> RTX_4090 \> Founders Edition`
|
|
8509
|
+
* Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as UserEvent.PageInfo.page_category. This field is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query is empty. If the field is empty, it will not be used by the browse model. If the field contains more than one element, only the first element will be used. To represent full path of a category, use '\>' character to separate different hierarchies. If '\>' is part of the category name, replace it with other character(s). For example, `Graphics Cards \> RTX\>4090 \> Founders Edition` where "RTX \> 4090" represents one level, can be rewritten as `Graphics Cards \> RTX_4090 \> Founders Edition`
|
|
8480
8510
|
*/
|
|
8481
8511
|
pageCategories?: string[] | null;
|
|
8482
8512
|
/**
|
|
@@ -8517,12 +8547,16 @@ export declare namespace discoveryengine_v1 {
|
|
|
8517
8547
|
* The Unicode country/region code (CLDR) of a location, such as "US" and "419". For more information, see [Standard fields](https://cloud.google.com/apis/design/standard_fields). If set, then results will be boosted based on the region_code provided.
|
|
8518
8548
|
*/
|
|
8519
8549
|
regionCode?: string | null;
|
|
8550
|
+
/**
|
|
8551
|
+
* Optional. The granular relevance filtering specification. If not specified, the global `relevance_threshold` will be used for all sub-searches. If specified, this overrides the global `relevance_threshold` to use thresholds on a per sub-search basis. This feature is currently supported only for custom and site search.
|
|
8552
|
+
*/
|
|
8553
|
+
relevanceFilterSpec?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec;
|
|
8520
8554
|
/**
|
|
8521
8555
|
* Optional. The specification for returning the relevance score.
|
|
8522
8556
|
*/
|
|
8523
8557
|
relevanceScoreSpec?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceScoreSpec;
|
|
8524
8558
|
/**
|
|
8525
|
-
* The relevance threshold of the search results.
|
|
8559
|
+
* The global relevance threshold of the search results. Defaults to Google defined threshold, leveraging a balance of precision and recall to deliver both highly accurate results and comprehensive coverage of relevant information. If more granular relevance filtering is required, use the `relevance_filter_spec` instead. This feature is not supported for healthcare search.
|
|
8526
8560
|
*/
|
|
8527
8561
|
relevanceThreshold?: string | null;
|
|
8528
8562
|
/**
|
|
@@ -8959,6 +8993,32 @@ export declare namespace discoveryengine_v1 {
|
|
|
8959
8993
|
*/
|
|
8960
8994
|
pinUnexpandedResults?: boolean | null;
|
|
8961
8995
|
}
|
|
8996
|
+
/**
|
|
8997
|
+
* Relevance filtering specification.
|
|
8998
|
+
*/
|
|
8999
|
+
export interface Schema$GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpec {
|
|
9000
|
+
/**
|
|
9001
|
+
* Optional. Relevance filtering threshold specification for keyword search.
|
|
9002
|
+
*/
|
|
9003
|
+
keywordSearchThreshold?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec;
|
|
9004
|
+
/**
|
|
9005
|
+
* Optional. Relevance filtering threshold specification for semantic search.
|
|
9006
|
+
*/
|
|
9007
|
+
semanticSearchThreshold?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec;
|
|
9008
|
+
}
|
|
9009
|
+
/**
|
|
9010
|
+
* Specification for relevance filtering on a specific sub-search.
|
|
9011
|
+
*/
|
|
9012
|
+
export interface Schema$GoogleCloudDiscoveryengineV1betaSearchRequestRelevanceFilterSpecRelevanceThresholdSpec {
|
|
9013
|
+
/**
|
|
9014
|
+
* Pre-defined relevance threshold for the sub-search.
|
|
9015
|
+
*/
|
|
9016
|
+
relevanceThreshold?: string | null;
|
|
9017
|
+
/**
|
|
9018
|
+
* Custom relevance threshold for the sub-search. The value must be in [0.0, 1.0].
|
|
9019
|
+
*/
|
|
9020
|
+
semanticRelevanceThreshold?: number | null;
|
|
9021
|
+
}
|
|
8962
9022
|
/**
|
|
8963
9023
|
* The specification for returning the document relevance score.
|
|
8964
9024
|
*/
|
|
@@ -10629,6 +10689,10 @@ export declare namespace discoveryengine_v1 {
|
|
|
10629
10689
|
* Immutable. Identifier. 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.
|
|
10630
10690
|
*/
|
|
10631
10691
|
name?: string | null;
|
|
10692
|
+
/**
|
|
10693
|
+
* Optional. Configuration for Natural Language Query Understanding.
|
|
10694
|
+
*/
|
|
10695
|
+
naturalLanguageQueryUnderstandingConfig?: Schema$GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig;
|
|
10632
10696
|
/**
|
|
10633
10697
|
* Optional. Stores serving config at DataStore level.
|
|
10634
10698
|
*/
|
|
@@ -12232,6 +12296,15 @@ export declare namespace discoveryengine_v1 {
|
|
|
12232
12296
|
*/
|
|
12233
12297
|
mediaProgressPercentage?: number | null;
|
|
12234
12298
|
}
|
|
12299
|
+
/**
|
|
12300
|
+
* Configuration for Natural Language Query Understanding.
|
|
12301
|
+
*/
|
|
12302
|
+
export interface Schema$GoogleCloudDiscoveryengineV1NaturalLanguageQueryUnderstandingConfig {
|
|
12303
|
+
/**
|
|
12304
|
+
* Mode of Natural Language Query Understanding. If this field is unset, the behavior defaults to NaturalLanguageQueryUnderstandingConfig.Mode.DISABLED.
|
|
12305
|
+
*/
|
|
12306
|
+
mode?: string | null;
|
|
12307
|
+
}
|
|
12235
12308
|
/**
|
|
12236
12309
|
* Detailed page information.
|
|
12237
12310
|
*/
|
|
@@ -12948,7 +13021,7 @@ export declare namespace discoveryengine_v1 {
|
|
|
12948
13021
|
*/
|
|
12949
13022
|
orderBy?: string | null;
|
|
12950
13023
|
/**
|
|
12951
|
-
* Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as UserEvent.PageInfo.page_category. This field is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query is empty. If the field is empty, it will not be used by the browse model. To represent full path of a category, use '\>' character to separate different hierarchies. If '\>' is part of the category name, replace it with other character(s). For example, `Graphics Cards \> RTX\>4090 \> Founders Edition` where "RTX \> 4090" represents one level, can be rewritten as `Graphics Cards \> RTX_4090 \> Founders Edition`
|
|
13024
|
+
* Optional. The categories associated with a category page. Must be set for category navigation queries to achieve good search quality. The format should be the same as UserEvent.PageInfo.page_category. This field is the equivalent of the query for browse (navigation) queries. It's used by the browse model when the query is empty. If the field is empty, it will not be used by the browse model. If the field contains more than one element, only the first element will be used. To represent full path of a category, use '\>' character to separate different hierarchies. If '\>' is part of the category name, replace it with other character(s). For example, `Graphics Cards \> RTX\>4090 \> Founders Edition` where "RTX \> 4090" represents one level, can be rewritten as `Graphics Cards \> RTX_4090 \> Founders Edition`
|
|
12952
13025
|
*/
|
|
12953
13026
|
pageCategories?: string[] | null;
|
|
12954
13027
|
/**
|
|
@@ -12986,7 +13059,7 @@ export declare namespace discoveryengine_v1 {
|
|
|
12986
13059
|
*/
|
|
12987
13060
|
relevanceScoreSpec?: Schema$GoogleCloudDiscoveryengineV1SearchRequestRelevanceScoreSpec;
|
|
12988
13061
|
/**
|
|
12989
|
-
* The relevance threshold of the search results.
|
|
13062
|
+
* The global relevance threshold of the search results. Defaults to Google defined threshold, leveraging a balance of precision and recall to deliver both highly accurate results and comprehensive coverage of relevant information. If more granular relevance filtering is required, use the `relevance_filter_spec` instead. This feature is not supported for healthcare search.
|
|
12990
13063
|
*/
|
|
12991
13064
|
relevanceThreshold?: string | null;
|
|
12992
13065
|
/**
|
|
@@ -14423,7 +14496,7 @@ export declare namespace discoveryengine_v1 {
|
|
|
14423
14496
|
*/
|
|
14424
14497
|
eventType?: string | null;
|
|
14425
14498
|
/**
|
|
14426
|
-
* The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. One example is for `search` events, the associated SearchRequest may contain a filter expression in SearchRequest.filter conforming to https://google.aip.dev/160#filtering. Similarly, for `view-item-list` events that are generated from a RecommendRequest, this field may be populated directly from RecommendRequest.filter conforming to https://google.aip.dev/160#filtering. The value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
|
|
14499
|
+
* Optional. The filter syntax consists of an expression language for constructing a predicate from one or more fields of the documents being filtered. One example is for `search` events, the associated SearchRequest may contain a filter expression in SearchRequest.filter conforming to https://google.aip.dev/160#filtering. Similarly, for `view-item-list` events that are generated from a RecommendRequest, this field may be populated directly from RecommendRequest.filter conforming to https://google.aip.dev/160#filtering. The value must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
|
|
14427
14500
|
*/
|
|
14428
14501
|
filter?: string | null;
|
|
14429
14502
|
/**
|
|
@@ -16470,7 +16543,7 @@ export declare namespace discoveryengine_v1 {
|
|
|
16470
16543
|
* await discoveryengine.projects.locations.collections.updateDataConnector({
|
|
16471
16544
|
* // Output only. The full resource name of the Data Connector. Format: `projects/x/locations/x/collections/x/dataConnector`.
|
|
16472
16545
|
* name: 'projects/my-project/locations/my-location/collections/my-collection/dataConnector',
|
|
16473
|
-
* // Indicates which fields in the provided DataConnector to update. Supported field paths include: - refresh_interval - params - auto_run_disabled - action_config - action_config.action_params - action_config.service_name - destination_configs - blocking_reasons - sync_mode - incremental_sync_disabled - incremental_refresh_interval Note: Support for these fields may vary depending on the connector type. For example, not all connectors support `destination_configs`. If an unsupported or unknown field path is provided, the request will return an INVALID_ARGUMENT error.
|
|
16546
|
+
* // Indicates which fields in the provided DataConnector to update. Supported field paths include: - `refresh_interval` - `params` - `auto_run_disabled` - `action_config` - `action_config.action_params` - `action_config.service_name` - `destination_configs` - `blocking_reasons` - `sync_mode` - `incremental_sync_disabled` - `incremental_refresh_interval` - `data_protection_policy` Note: Support for these fields may vary depending on the connector type. For example, not all connectors support `destination_configs`. If an unsupported or unknown field path is provided, the request will return an INVALID_ARGUMENT error.
|
|
16474
16547
|
* updateMask: 'placeholder-value',
|
|
16475
16548
|
*
|
|
16476
16549
|
* // Request body metadata
|
|
@@ -16602,7 +16675,7 @@ export declare namespace discoveryengine_v1 {
|
|
|
16602
16675
|
*/
|
|
16603
16676
|
name?: string;
|
|
16604
16677
|
/**
|
|
16605
|
-
* Indicates which fields in the provided DataConnector to update. Supported field paths include: - refresh_interval - params - auto_run_disabled - action_config - action_config.action_params - action_config.service_name - destination_configs - blocking_reasons - sync_mode - incremental_sync_disabled - incremental_refresh_interval Note: Support for these fields may vary depending on the connector type. For example, not all connectors support `destination_configs`. If an unsupported or unknown field path is provided, the request will return an INVALID_ARGUMENT error.
|
|
16678
|
+
* Indicates which fields in the provided DataConnector to update. Supported field paths include: - `refresh_interval` - `params` - `auto_run_disabled` - `action_config` - `action_config.action_params` - `action_config.service_name` - `destination_configs` - `blocking_reasons` - `sync_mode` - `incremental_sync_disabled` - `incremental_refresh_interval` - `data_protection_policy` Note: Support for these fields may vary depending on the connector type. For example, not all connectors support `destination_configs`. If an unsupported or unknown field path is provided, the request will return an INVALID_ARGUMENT error.
|
|
16606
16679
|
*/
|
|
16607
16680
|
updateMask?: string;
|
|
16608
16681
|
/**
|
|
@@ -16958,6 +17031,7 @@ export declare namespace discoveryengine_v1 {
|
|
|
16958
17031
|
* // "isInfobotFaqDataStore": false,
|
|
16959
17032
|
* // "kmsKeyName": "my_kmsKeyName",
|
|
16960
17033
|
* // "name": "my_name",
|
|
17034
|
+
* // "naturalLanguageQueryUnderstandingConfig": {},
|
|
16961
17035
|
* // "servingConfigDataStore": {},
|
|
16962
17036
|
* // "solutionTypes": [],
|
|
16963
17037
|
* // "startingSchema": {},
|
|
@@ -17122,6 +17196,7 @@ export declare namespace discoveryengine_v1 {
|
|
|
17122
17196
|
* // "isInfobotFaqDataStore": false,
|
|
17123
17197
|
* // "kmsKeyName": "my_kmsKeyName",
|
|
17124
17198
|
* // "name": "my_name",
|
|
17199
|
+
* // "naturalLanguageQueryUnderstandingConfig": {},
|
|
17125
17200
|
* // "servingConfigDataStore": {},
|
|
17126
17201
|
* // "solutionTypes": [],
|
|
17127
17202
|
* // "startingSchema": {},
|
|
@@ -17346,6 +17421,7 @@ export declare namespace discoveryengine_v1 {
|
|
|
17346
17421
|
* // "isInfobotFaqDataStore": false,
|
|
17347
17422
|
* // "kmsKeyName": "my_kmsKeyName",
|
|
17348
17423
|
* // "name": "my_name",
|
|
17424
|
+
* // "naturalLanguageQueryUnderstandingConfig": {},
|
|
17349
17425
|
* // "servingConfigDataStore": {},
|
|
17350
17426
|
* // "solutionTypes": [],
|
|
17351
17427
|
* // "startingSchema": {},
|
|
@@ -17374,6 +17450,7 @@ export declare namespace discoveryengine_v1 {
|
|
|
17374
17450
|
* // "isInfobotFaqDataStore": false,
|
|
17375
17451
|
* // "kmsKeyName": "my_kmsKeyName",
|
|
17376
17452
|
* // "name": "my_name",
|
|
17453
|
+
* // "naturalLanguageQueryUnderstandingConfig": {},
|
|
17377
17454
|
* // "servingConfigDataStore": {},
|
|
17378
17455
|
* // "solutionTypes": [],
|
|
17379
17456
|
* // "startingSchema": {},
|
|
@@ -21043,6 +21120,185 @@ export declare namespace discoveryengine_v1 {
|
|
|
21043
21120
|
answer(params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Answer, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1AnswerQueryResponse>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1AnswerQueryResponse>): void;
|
|
21044
21121
|
answer(params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Answer, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1AnswerQueryResponse>): void;
|
|
21045
21122
|
answer(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1AnswerQueryResponse>): void;
|
|
21123
|
+
/**
|
|
21124
|
+
* Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned.
|
|
21125
|
+
* @example
|
|
21126
|
+
* ```js
|
|
21127
|
+
* // Before running the sample:
|
|
21128
|
+
* // - Enable the API at:
|
|
21129
|
+
* // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
|
|
21130
|
+
* // - Login into gcloud by running:
|
|
21131
|
+
* // ```sh
|
|
21132
|
+
* // $ gcloud auth application-default login
|
|
21133
|
+
* // ```
|
|
21134
|
+
* // - Install the npm module by running:
|
|
21135
|
+
* // ```sh
|
|
21136
|
+
* // $ npm install googleapis
|
|
21137
|
+
* // ```
|
|
21138
|
+
*
|
|
21139
|
+
* const {google} = require('googleapis');
|
|
21140
|
+
* const discoveryengine = google.discoveryengine('v1');
|
|
21141
|
+
*
|
|
21142
|
+
* async function main() {
|
|
21143
|
+
* const auth = new google.auth.GoogleAuth({
|
|
21144
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
21145
|
+
* scopes: [
|
|
21146
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
21147
|
+
* 'https://www.googleapis.com/auth/discoveryengine.readwrite',
|
|
21148
|
+
* ],
|
|
21149
|
+
* });
|
|
21150
|
+
*
|
|
21151
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
21152
|
+
* const authClient = await auth.getClient();
|
|
21153
|
+
* google.options({auth: authClient});
|
|
21154
|
+
*
|
|
21155
|
+
* // Do the magic
|
|
21156
|
+
* const res =
|
|
21157
|
+
* await discoveryengine.projects.locations.collections.dataStores.servingConfigs.create(
|
|
21158
|
+
* {
|
|
21159
|
+
* // Required. Full resource name of parent. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
|
|
21160
|
+
* parent:
|
|
21161
|
+
* 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore',
|
|
21162
|
+
* // Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/.
|
|
21163
|
+
* servingConfigId: 'placeholder-value',
|
|
21164
|
+
*
|
|
21165
|
+
* // Request body metadata
|
|
21166
|
+
* requestBody: {
|
|
21167
|
+
* // request body parameters
|
|
21168
|
+
* // {
|
|
21169
|
+
* // "answerGenerationSpec": {},
|
|
21170
|
+
* // "boostControlIds": [],
|
|
21171
|
+
* // "createTime": "my_createTime",
|
|
21172
|
+
* // "displayName": "my_displayName",
|
|
21173
|
+
* // "dissociateControlIds": [],
|
|
21174
|
+
* // "diversityLevel": "my_diversityLevel",
|
|
21175
|
+
* // "filterControlIds": [],
|
|
21176
|
+
* // "genericConfig": {},
|
|
21177
|
+
* // "ignoreControlIds": [],
|
|
21178
|
+
* // "mediaConfig": {},
|
|
21179
|
+
* // "modelId": "my_modelId",
|
|
21180
|
+
* // "name": "my_name",
|
|
21181
|
+
* // "onewaySynonymsControlIds": [],
|
|
21182
|
+
* // "promoteControlIds": [],
|
|
21183
|
+
* // "rankingExpression": "my_rankingExpression",
|
|
21184
|
+
* // "redirectControlIds": [],
|
|
21185
|
+
* // "replacementControlIds": [],
|
|
21186
|
+
* // "solutionType": "my_solutionType",
|
|
21187
|
+
* // "synonymsControlIds": [],
|
|
21188
|
+
* // "updateTime": "my_updateTime"
|
|
21189
|
+
* // }
|
|
21190
|
+
* },
|
|
21191
|
+
* },
|
|
21192
|
+
* );
|
|
21193
|
+
* console.log(res.data);
|
|
21194
|
+
*
|
|
21195
|
+
* // Example response
|
|
21196
|
+
* // {
|
|
21197
|
+
* // "answerGenerationSpec": {},
|
|
21198
|
+
* // "boostControlIds": [],
|
|
21199
|
+
* // "createTime": "my_createTime",
|
|
21200
|
+
* // "displayName": "my_displayName",
|
|
21201
|
+
* // "dissociateControlIds": [],
|
|
21202
|
+
* // "diversityLevel": "my_diversityLevel",
|
|
21203
|
+
* // "filterControlIds": [],
|
|
21204
|
+
* // "genericConfig": {},
|
|
21205
|
+
* // "ignoreControlIds": [],
|
|
21206
|
+
* // "mediaConfig": {},
|
|
21207
|
+
* // "modelId": "my_modelId",
|
|
21208
|
+
* // "name": "my_name",
|
|
21209
|
+
* // "onewaySynonymsControlIds": [],
|
|
21210
|
+
* // "promoteControlIds": [],
|
|
21211
|
+
* // "rankingExpression": "my_rankingExpression",
|
|
21212
|
+
* // "redirectControlIds": [],
|
|
21213
|
+
* // "replacementControlIds": [],
|
|
21214
|
+
* // "solutionType": "my_solutionType",
|
|
21215
|
+
* // "synonymsControlIds": [],
|
|
21216
|
+
* // "updateTime": "my_updateTime"
|
|
21217
|
+
* // }
|
|
21218
|
+
* }
|
|
21219
|
+
*
|
|
21220
|
+
* main().catch(e => {
|
|
21221
|
+
* console.error(e);
|
|
21222
|
+
* throw e;
|
|
21223
|
+
* });
|
|
21224
|
+
*
|
|
21225
|
+
* ```
|
|
21226
|
+
*
|
|
21227
|
+
* @param params - Parameters for request
|
|
21228
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
21229
|
+
* @param callback - Optional callback that handles the response.
|
|
21230
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
21231
|
+
*/
|
|
21232
|
+
create(params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
21233
|
+
create(params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1ServingConfig>>;
|
|
21234
|
+
create(params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
21235
|
+
create(params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ServingConfig>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ServingConfig>): void;
|
|
21236
|
+
create(params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ServingConfig>): void;
|
|
21237
|
+
create(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ServingConfig>): void;
|
|
21238
|
+
/**
|
|
21239
|
+
* Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.
|
|
21240
|
+
* @example
|
|
21241
|
+
* ```js
|
|
21242
|
+
* // Before running the sample:
|
|
21243
|
+
* // - Enable the API at:
|
|
21244
|
+
* // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
|
|
21245
|
+
* // - Login into gcloud by running:
|
|
21246
|
+
* // ```sh
|
|
21247
|
+
* // $ gcloud auth application-default login
|
|
21248
|
+
* // ```
|
|
21249
|
+
* // - Install the npm module by running:
|
|
21250
|
+
* // ```sh
|
|
21251
|
+
* // $ npm install googleapis
|
|
21252
|
+
* // ```
|
|
21253
|
+
*
|
|
21254
|
+
* const {google} = require('googleapis');
|
|
21255
|
+
* const discoveryengine = google.discoveryengine('v1');
|
|
21256
|
+
*
|
|
21257
|
+
* async function main() {
|
|
21258
|
+
* const auth = new google.auth.GoogleAuth({
|
|
21259
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
21260
|
+
* scopes: [
|
|
21261
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
21262
|
+
* 'https://www.googleapis.com/auth/discoveryengine.readwrite',
|
|
21263
|
+
* ],
|
|
21264
|
+
* });
|
|
21265
|
+
*
|
|
21266
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
21267
|
+
* const authClient = await auth.getClient();
|
|
21268
|
+
* google.options({auth: authClient});
|
|
21269
|
+
*
|
|
21270
|
+
* // Do the magic
|
|
21271
|
+
* const res =
|
|
21272
|
+
* await discoveryengine.projects.locations.collections.dataStores.servingConfigs.delete(
|
|
21273
|
+
* {
|
|
21274
|
+
* // Required. The resource name of the ServingConfig to delete. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}`
|
|
21275
|
+
* name: 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore/servingConfigs/my-servingConfig',
|
|
21276
|
+
* },
|
|
21277
|
+
* );
|
|
21278
|
+
* console.log(res.data);
|
|
21279
|
+
*
|
|
21280
|
+
* // Example response
|
|
21281
|
+
* // {}
|
|
21282
|
+
* }
|
|
21283
|
+
*
|
|
21284
|
+
* main().catch(e => {
|
|
21285
|
+
* console.error(e);
|
|
21286
|
+
* throw e;
|
|
21287
|
+
* });
|
|
21288
|
+
*
|
|
21289
|
+
* ```
|
|
21290
|
+
*
|
|
21291
|
+
* @param params - Parameters for request
|
|
21292
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
21293
|
+
* @param callback - Optional callback that handles the response.
|
|
21294
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
21295
|
+
*/
|
|
21296
|
+
delete(params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
21297
|
+
delete(params?: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleProtobufEmpty>>;
|
|
21298
|
+
delete(params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
21299
|
+
delete(params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Delete, options: MethodOptions | BodyResponseCallback<Schema$GoogleProtobufEmpty>, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
|
|
21300
|
+
delete(params: Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Delete, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
|
|
21301
|
+
delete(callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
|
|
21046
21302
|
/**
|
|
21047
21303
|
* Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.
|
|
21048
21304
|
* @example
|
|
@@ -21734,6 +21990,26 @@ export declare namespace discoveryengine_v1 {
|
|
|
21734
21990
|
*/
|
|
21735
21991
|
requestBody?: Schema$GoogleCloudDiscoveryengineV1AnswerQueryRequest;
|
|
21736
21992
|
}
|
|
21993
|
+
export interface Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Create extends StandardParameters {
|
|
21994
|
+
/**
|
|
21995
|
+
* Required. Full resource name of parent. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
|
|
21996
|
+
*/
|
|
21997
|
+
parent?: string;
|
|
21998
|
+
/**
|
|
21999
|
+
* Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/.
|
|
22000
|
+
*/
|
|
22001
|
+
servingConfigId?: string;
|
|
22002
|
+
/**
|
|
22003
|
+
* Request body metadata
|
|
22004
|
+
*/
|
|
22005
|
+
requestBody?: Schema$GoogleCloudDiscoveryengineV1ServingConfig;
|
|
22006
|
+
}
|
|
22007
|
+
export interface Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Delete extends StandardParameters {
|
|
22008
|
+
/**
|
|
22009
|
+
* Required. The resource name of the ServingConfig to delete. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}`
|
|
22010
|
+
*/
|
|
22011
|
+
name?: string;
|
|
22012
|
+
}
|
|
21737
22013
|
export interface Params$Resource$Projects$Locations$Collections$Datastores$Servingconfigs$Get extends StandardParameters {
|
|
21738
22014
|
/**
|
|
21739
22015
|
* Required. The resource name of the ServingConfig to get. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}`
|
|
@@ -27413,7 +27689,7 @@ export declare namespace discoveryengine_v1 {
|
|
|
27413
27689
|
answer(params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Answer, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1AnswerQueryResponse>): void;
|
|
27414
27690
|
answer(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1AnswerQueryResponse>): void;
|
|
27415
27691
|
/**
|
|
27416
|
-
*
|
|
27692
|
+
* Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned.
|
|
27417
27693
|
* @example
|
|
27418
27694
|
* ```js
|
|
27419
27695
|
* // Before running the sample:
|
|
@@ -27446,10 +27722,40 @@ export declare namespace discoveryengine_v1 {
|
|
|
27446
27722
|
*
|
|
27447
27723
|
* // Do the magic
|
|
27448
27724
|
* const res =
|
|
27449
|
-
* await discoveryengine.projects.locations.collections.engines.servingConfigs.
|
|
27725
|
+
* await discoveryengine.projects.locations.collections.engines.servingConfigs.create(
|
|
27450
27726
|
* {
|
|
27451
|
-
* // Required.
|
|
27452
|
-
*
|
|
27727
|
+
* // Required. Full resource name of parent. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
|
|
27728
|
+
* parent:
|
|
27729
|
+
* 'projects/my-project/locations/my-location/collections/my-collection/engines/my-engine',
|
|
27730
|
+
* // Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/.
|
|
27731
|
+
* servingConfigId: 'placeholder-value',
|
|
27732
|
+
*
|
|
27733
|
+
* // Request body metadata
|
|
27734
|
+
* requestBody: {
|
|
27735
|
+
* // request body parameters
|
|
27736
|
+
* // {
|
|
27737
|
+
* // "answerGenerationSpec": {},
|
|
27738
|
+
* // "boostControlIds": [],
|
|
27739
|
+
* // "createTime": "my_createTime",
|
|
27740
|
+
* // "displayName": "my_displayName",
|
|
27741
|
+
* // "dissociateControlIds": [],
|
|
27742
|
+
* // "diversityLevel": "my_diversityLevel",
|
|
27743
|
+
* // "filterControlIds": [],
|
|
27744
|
+
* // "genericConfig": {},
|
|
27745
|
+
* // "ignoreControlIds": [],
|
|
27746
|
+
* // "mediaConfig": {},
|
|
27747
|
+
* // "modelId": "my_modelId",
|
|
27748
|
+
* // "name": "my_name",
|
|
27749
|
+
* // "onewaySynonymsControlIds": [],
|
|
27750
|
+
* // "promoteControlIds": [],
|
|
27751
|
+
* // "rankingExpression": "my_rankingExpression",
|
|
27752
|
+
* // "redirectControlIds": [],
|
|
27753
|
+
* // "replacementControlIds": [],
|
|
27754
|
+
* // "solutionType": "my_solutionType",
|
|
27755
|
+
* // "synonymsControlIds": [],
|
|
27756
|
+
* // "updateTime": "my_updateTime"
|
|
27757
|
+
* // }
|
|
27758
|
+
* },
|
|
27453
27759
|
* },
|
|
27454
27760
|
* );
|
|
27455
27761
|
* console.log(res.data);
|
|
@@ -27491,10 +27797,159 @@ export declare namespace discoveryengine_v1 {
|
|
|
27491
27797
|
* @param callback - Optional callback that handles the response.
|
|
27492
27798
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
27493
27799
|
*/
|
|
27494
|
-
|
|
27495
|
-
|
|
27496
|
-
|
|
27497
|
-
|
|
27800
|
+
create(params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
27801
|
+
create(params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1ServingConfig>>;
|
|
27802
|
+
create(params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
27803
|
+
create(params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ServingConfig>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ServingConfig>): void;
|
|
27804
|
+
create(params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ServingConfig>): void;
|
|
27805
|
+
create(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ServingConfig>): void;
|
|
27806
|
+
/**
|
|
27807
|
+
* Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.
|
|
27808
|
+
* @example
|
|
27809
|
+
* ```js
|
|
27810
|
+
* // Before running the sample:
|
|
27811
|
+
* // - Enable the API at:
|
|
27812
|
+
* // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
|
|
27813
|
+
* // - Login into gcloud by running:
|
|
27814
|
+
* // ```sh
|
|
27815
|
+
* // $ gcloud auth application-default login
|
|
27816
|
+
* // ```
|
|
27817
|
+
* // - Install the npm module by running:
|
|
27818
|
+
* // ```sh
|
|
27819
|
+
* // $ npm install googleapis
|
|
27820
|
+
* // ```
|
|
27821
|
+
*
|
|
27822
|
+
* const {google} = require('googleapis');
|
|
27823
|
+
* const discoveryengine = google.discoveryengine('v1');
|
|
27824
|
+
*
|
|
27825
|
+
* async function main() {
|
|
27826
|
+
* const auth = new google.auth.GoogleAuth({
|
|
27827
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
27828
|
+
* scopes: [
|
|
27829
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
27830
|
+
* 'https://www.googleapis.com/auth/discoveryengine.readwrite',
|
|
27831
|
+
* ],
|
|
27832
|
+
* });
|
|
27833
|
+
*
|
|
27834
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
27835
|
+
* const authClient = await auth.getClient();
|
|
27836
|
+
* google.options({auth: authClient});
|
|
27837
|
+
*
|
|
27838
|
+
* // Do the magic
|
|
27839
|
+
* const res =
|
|
27840
|
+
* await discoveryengine.projects.locations.collections.engines.servingConfigs.delete(
|
|
27841
|
+
* {
|
|
27842
|
+
* // Required. The resource name of the ServingConfig to delete. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}`
|
|
27843
|
+
* name: 'projects/my-project/locations/my-location/collections/my-collection/engines/my-engine/servingConfigs/my-servingConfig',
|
|
27844
|
+
* },
|
|
27845
|
+
* );
|
|
27846
|
+
* console.log(res.data);
|
|
27847
|
+
*
|
|
27848
|
+
* // Example response
|
|
27849
|
+
* // {}
|
|
27850
|
+
* }
|
|
27851
|
+
*
|
|
27852
|
+
* main().catch(e => {
|
|
27853
|
+
* console.error(e);
|
|
27854
|
+
* throw e;
|
|
27855
|
+
* });
|
|
27856
|
+
*
|
|
27857
|
+
* ```
|
|
27858
|
+
*
|
|
27859
|
+
* @param params - Parameters for request
|
|
27860
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
27861
|
+
* @param callback - Optional callback that handles the response.
|
|
27862
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
27863
|
+
*/
|
|
27864
|
+
delete(params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
27865
|
+
delete(params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleProtobufEmpty>>;
|
|
27866
|
+
delete(params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
27867
|
+
delete(params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Delete, options: MethodOptions | BodyResponseCallback<Schema$GoogleProtobufEmpty>, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
|
|
27868
|
+
delete(params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Delete, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
|
|
27869
|
+
delete(callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
|
|
27870
|
+
/**
|
|
27871
|
+
* Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.
|
|
27872
|
+
* @example
|
|
27873
|
+
* ```js
|
|
27874
|
+
* // Before running the sample:
|
|
27875
|
+
* // - Enable the API at:
|
|
27876
|
+
* // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
|
|
27877
|
+
* // - Login into gcloud by running:
|
|
27878
|
+
* // ```sh
|
|
27879
|
+
* // $ gcloud auth application-default login
|
|
27880
|
+
* // ```
|
|
27881
|
+
* // - Install the npm module by running:
|
|
27882
|
+
* // ```sh
|
|
27883
|
+
* // $ npm install googleapis
|
|
27884
|
+
* // ```
|
|
27885
|
+
*
|
|
27886
|
+
* const {google} = require('googleapis');
|
|
27887
|
+
* const discoveryengine = google.discoveryengine('v1');
|
|
27888
|
+
*
|
|
27889
|
+
* async function main() {
|
|
27890
|
+
* const auth = new google.auth.GoogleAuth({
|
|
27891
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
27892
|
+
* scopes: [
|
|
27893
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
27894
|
+
* 'https://www.googleapis.com/auth/discoveryengine.readwrite',
|
|
27895
|
+
* ],
|
|
27896
|
+
* });
|
|
27897
|
+
*
|
|
27898
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
27899
|
+
* const authClient = await auth.getClient();
|
|
27900
|
+
* google.options({auth: authClient});
|
|
27901
|
+
*
|
|
27902
|
+
* // Do the magic
|
|
27903
|
+
* const res =
|
|
27904
|
+
* await discoveryengine.projects.locations.collections.engines.servingConfigs.get(
|
|
27905
|
+
* {
|
|
27906
|
+
* // Required. The resource name of the ServingConfig to get. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}`
|
|
27907
|
+
* name: 'projects/my-project/locations/my-location/collections/my-collection/engines/my-engine/servingConfigs/my-servingConfig',
|
|
27908
|
+
* },
|
|
27909
|
+
* );
|
|
27910
|
+
* console.log(res.data);
|
|
27911
|
+
*
|
|
27912
|
+
* // Example response
|
|
27913
|
+
* // {
|
|
27914
|
+
* // "answerGenerationSpec": {},
|
|
27915
|
+
* // "boostControlIds": [],
|
|
27916
|
+
* // "createTime": "my_createTime",
|
|
27917
|
+
* // "displayName": "my_displayName",
|
|
27918
|
+
* // "dissociateControlIds": [],
|
|
27919
|
+
* // "diversityLevel": "my_diversityLevel",
|
|
27920
|
+
* // "filterControlIds": [],
|
|
27921
|
+
* // "genericConfig": {},
|
|
27922
|
+
* // "ignoreControlIds": [],
|
|
27923
|
+
* // "mediaConfig": {},
|
|
27924
|
+
* // "modelId": "my_modelId",
|
|
27925
|
+
* // "name": "my_name",
|
|
27926
|
+
* // "onewaySynonymsControlIds": [],
|
|
27927
|
+
* // "promoteControlIds": [],
|
|
27928
|
+
* // "rankingExpression": "my_rankingExpression",
|
|
27929
|
+
* // "redirectControlIds": [],
|
|
27930
|
+
* // "replacementControlIds": [],
|
|
27931
|
+
* // "solutionType": "my_solutionType",
|
|
27932
|
+
* // "synonymsControlIds": [],
|
|
27933
|
+
* // "updateTime": "my_updateTime"
|
|
27934
|
+
* // }
|
|
27935
|
+
* }
|
|
27936
|
+
*
|
|
27937
|
+
* main().catch(e => {
|
|
27938
|
+
* console.error(e);
|
|
27939
|
+
* throw e;
|
|
27940
|
+
* });
|
|
27941
|
+
*
|
|
27942
|
+
* ```
|
|
27943
|
+
*
|
|
27944
|
+
* @param params - Parameters for request
|
|
27945
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
27946
|
+
* @param callback - Optional callback that handles the response.
|
|
27947
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
27948
|
+
*/
|
|
27949
|
+
get(params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
27950
|
+
get(params?: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1ServingConfig>>;
|
|
27951
|
+
get(params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
27952
|
+
get(params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ServingConfig>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ServingConfig>): void;
|
|
27498
27953
|
get(params: Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Get, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ServingConfig>): void;
|
|
27499
27954
|
get(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ServingConfig>): void;
|
|
27500
27955
|
/**
|
|
@@ -28103,6 +28558,26 @@ export declare namespace discoveryengine_v1 {
|
|
|
28103
28558
|
*/
|
|
28104
28559
|
requestBody?: Schema$GoogleCloudDiscoveryengineV1AnswerQueryRequest;
|
|
28105
28560
|
}
|
|
28561
|
+
export interface Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Create extends StandardParameters {
|
|
28562
|
+
/**
|
|
28563
|
+
* Required. Full resource name of parent. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
|
|
28564
|
+
*/
|
|
28565
|
+
parent?: string;
|
|
28566
|
+
/**
|
|
28567
|
+
* Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/.
|
|
28568
|
+
*/
|
|
28569
|
+
servingConfigId?: string;
|
|
28570
|
+
/**
|
|
28571
|
+
* Request body metadata
|
|
28572
|
+
*/
|
|
28573
|
+
requestBody?: Schema$GoogleCloudDiscoveryengineV1ServingConfig;
|
|
28574
|
+
}
|
|
28575
|
+
export interface Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Delete extends StandardParameters {
|
|
28576
|
+
/**
|
|
28577
|
+
* Required. The resource name of the ServingConfig to delete. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}`
|
|
28578
|
+
*/
|
|
28579
|
+
name?: string;
|
|
28580
|
+
}
|
|
28106
28581
|
export interface Params$Resource$Projects$Locations$Collections$Engines$Servingconfigs$Get extends StandardParameters {
|
|
28107
28582
|
/**
|
|
28108
28583
|
* Required. The resource name of the ServingConfig to get. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}`
|
|
@@ -29354,6 +29829,7 @@ export declare namespace discoveryengine_v1 {
|
|
|
29354
29829
|
* // "isInfobotFaqDataStore": false,
|
|
29355
29830
|
* // "kmsKeyName": "my_kmsKeyName",
|
|
29356
29831
|
* // "name": "my_name",
|
|
29832
|
+
* // "naturalLanguageQueryUnderstandingConfig": {},
|
|
29357
29833
|
* // "servingConfigDataStore": {},
|
|
29358
29834
|
* // "solutionTypes": [],
|
|
29359
29835
|
* // "startingSchema": {},
|
|
@@ -29516,6 +29992,7 @@ export declare namespace discoveryengine_v1 {
|
|
|
29516
29992
|
* // "isInfobotFaqDataStore": false,
|
|
29517
29993
|
* // "kmsKeyName": "my_kmsKeyName",
|
|
29518
29994
|
* // "name": "my_name",
|
|
29995
|
+
* // "naturalLanguageQueryUnderstandingConfig": {},
|
|
29519
29996
|
* // "servingConfigDataStore": {},
|
|
29520
29997
|
* // "solutionTypes": [],
|
|
29521
29998
|
* // "startingSchema": {},
|
|
@@ -29735,6 +30212,7 @@ export declare namespace discoveryengine_v1 {
|
|
|
29735
30212
|
* // "isInfobotFaqDataStore": false,
|
|
29736
30213
|
* // "kmsKeyName": "my_kmsKeyName",
|
|
29737
30214
|
* // "name": "my_name",
|
|
30215
|
+
* // "naturalLanguageQueryUnderstandingConfig": {},
|
|
29738
30216
|
* // "servingConfigDataStore": {},
|
|
29739
30217
|
* // "solutionTypes": [],
|
|
29740
30218
|
* // "startingSchema": {},
|
|
@@ -29763,6 +30241,7 @@ export declare namespace discoveryengine_v1 {
|
|
|
29763
30241
|
* // "isInfobotFaqDataStore": false,
|
|
29764
30242
|
* // "kmsKeyName": "my_kmsKeyName",
|
|
29765
30243
|
* // "name": "my_name",
|
|
30244
|
+
* // "naturalLanguageQueryUnderstandingConfig": {},
|
|
29766
30245
|
* // "servingConfigDataStore": {},
|
|
29767
30246
|
* // "solutionTypes": [],
|
|
29768
30247
|
* // "startingSchema": {},
|
|
@@ -33038,6 +33517,181 @@ export declare namespace discoveryengine_v1 {
|
|
|
33038
33517
|
answer(params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1AnswerQueryResponse>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1AnswerQueryResponse>): void;
|
|
33039
33518
|
answer(params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Answer, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1AnswerQueryResponse>): void;
|
|
33040
33519
|
answer(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1AnswerQueryResponse>): void;
|
|
33520
|
+
/**
|
|
33521
|
+
* Creates a ServingConfig. Note: The Google Cloud console works only with the default serving config. Additional ServingConfigs can be created and managed only via the API. A maximum of 100 ServingConfigs are allowed in an Engine, otherwise a RESOURCE_EXHAUSTED error is returned.
|
|
33522
|
+
* @example
|
|
33523
|
+
* ```js
|
|
33524
|
+
* // Before running the sample:
|
|
33525
|
+
* // - Enable the API at:
|
|
33526
|
+
* // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
|
|
33527
|
+
* // - Login into gcloud by running:
|
|
33528
|
+
* // ```sh
|
|
33529
|
+
* // $ gcloud auth application-default login
|
|
33530
|
+
* // ```
|
|
33531
|
+
* // - Install the npm module by running:
|
|
33532
|
+
* // ```sh
|
|
33533
|
+
* // $ npm install googleapis
|
|
33534
|
+
* // ```
|
|
33535
|
+
*
|
|
33536
|
+
* const {google} = require('googleapis');
|
|
33537
|
+
* const discoveryengine = google.discoveryengine('v1');
|
|
33538
|
+
*
|
|
33539
|
+
* async function main() {
|
|
33540
|
+
* const auth = new google.auth.GoogleAuth({
|
|
33541
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
33542
|
+
* scopes: [
|
|
33543
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
33544
|
+
* 'https://www.googleapis.com/auth/discoveryengine.readwrite',
|
|
33545
|
+
* ],
|
|
33546
|
+
* });
|
|
33547
|
+
*
|
|
33548
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
33549
|
+
* const authClient = await auth.getClient();
|
|
33550
|
+
* google.options({auth: authClient});
|
|
33551
|
+
*
|
|
33552
|
+
* // Do the magic
|
|
33553
|
+
* const res =
|
|
33554
|
+
* await discoveryengine.projects.locations.dataStores.servingConfigs.create({
|
|
33555
|
+
* // Required. Full resource name of parent. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
|
|
33556
|
+
* parent:
|
|
33557
|
+
* 'projects/my-project/locations/my-location/dataStores/my-dataStore',
|
|
33558
|
+
* // Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/.
|
|
33559
|
+
* servingConfigId: 'placeholder-value',
|
|
33560
|
+
*
|
|
33561
|
+
* // Request body metadata
|
|
33562
|
+
* requestBody: {
|
|
33563
|
+
* // request body parameters
|
|
33564
|
+
* // {
|
|
33565
|
+
* // "answerGenerationSpec": {},
|
|
33566
|
+
* // "boostControlIds": [],
|
|
33567
|
+
* // "createTime": "my_createTime",
|
|
33568
|
+
* // "displayName": "my_displayName",
|
|
33569
|
+
* // "dissociateControlIds": [],
|
|
33570
|
+
* // "diversityLevel": "my_diversityLevel",
|
|
33571
|
+
* // "filterControlIds": [],
|
|
33572
|
+
* // "genericConfig": {},
|
|
33573
|
+
* // "ignoreControlIds": [],
|
|
33574
|
+
* // "mediaConfig": {},
|
|
33575
|
+
* // "modelId": "my_modelId",
|
|
33576
|
+
* // "name": "my_name",
|
|
33577
|
+
* // "onewaySynonymsControlIds": [],
|
|
33578
|
+
* // "promoteControlIds": [],
|
|
33579
|
+
* // "rankingExpression": "my_rankingExpression",
|
|
33580
|
+
* // "redirectControlIds": [],
|
|
33581
|
+
* // "replacementControlIds": [],
|
|
33582
|
+
* // "solutionType": "my_solutionType",
|
|
33583
|
+
* // "synonymsControlIds": [],
|
|
33584
|
+
* // "updateTime": "my_updateTime"
|
|
33585
|
+
* // }
|
|
33586
|
+
* },
|
|
33587
|
+
* });
|
|
33588
|
+
* console.log(res.data);
|
|
33589
|
+
*
|
|
33590
|
+
* // Example response
|
|
33591
|
+
* // {
|
|
33592
|
+
* // "answerGenerationSpec": {},
|
|
33593
|
+
* // "boostControlIds": [],
|
|
33594
|
+
* // "createTime": "my_createTime",
|
|
33595
|
+
* // "displayName": "my_displayName",
|
|
33596
|
+
* // "dissociateControlIds": [],
|
|
33597
|
+
* // "diversityLevel": "my_diversityLevel",
|
|
33598
|
+
* // "filterControlIds": [],
|
|
33599
|
+
* // "genericConfig": {},
|
|
33600
|
+
* // "ignoreControlIds": [],
|
|
33601
|
+
* // "mediaConfig": {},
|
|
33602
|
+
* // "modelId": "my_modelId",
|
|
33603
|
+
* // "name": "my_name",
|
|
33604
|
+
* // "onewaySynonymsControlIds": [],
|
|
33605
|
+
* // "promoteControlIds": [],
|
|
33606
|
+
* // "rankingExpression": "my_rankingExpression",
|
|
33607
|
+
* // "redirectControlIds": [],
|
|
33608
|
+
* // "replacementControlIds": [],
|
|
33609
|
+
* // "solutionType": "my_solutionType",
|
|
33610
|
+
* // "synonymsControlIds": [],
|
|
33611
|
+
* // "updateTime": "my_updateTime"
|
|
33612
|
+
* // }
|
|
33613
|
+
* }
|
|
33614
|
+
*
|
|
33615
|
+
* main().catch(e => {
|
|
33616
|
+
* console.error(e);
|
|
33617
|
+
* throw e;
|
|
33618
|
+
* });
|
|
33619
|
+
*
|
|
33620
|
+
* ```
|
|
33621
|
+
*
|
|
33622
|
+
* @param params - Parameters for request
|
|
33623
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
33624
|
+
* @param callback - Optional callback that handles the response.
|
|
33625
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
33626
|
+
*/
|
|
33627
|
+
create(params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
33628
|
+
create(params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1ServingConfig>>;
|
|
33629
|
+
create(params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
33630
|
+
create(params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ServingConfig>, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ServingConfig>): void;
|
|
33631
|
+
create(params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create, callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ServingConfig>): void;
|
|
33632
|
+
create(callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1ServingConfig>): void;
|
|
33633
|
+
/**
|
|
33634
|
+
* Deletes a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does not exist.
|
|
33635
|
+
* @example
|
|
33636
|
+
* ```js
|
|
33637
|
+
* // Before running the sample:
|
|
33638
|
+
* // - Enable the API at:
|
|
33639
|
+
* // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
|
|
33640
|
+
* // - Login into gcloud by running:
|
|
33641
|
+
* // ```sh
|
|
33642
|
+
* // $ gcloud auth application-default login
|
|
33643
|
+
* // ```
|
|
33644
|
+
* // - Install the npm module by running:
|
|
33645
|
+
* // ```sh
|
|
33646
|
+
* // $ npm install googleapis
|
|
33647
|
+
* // ```
|
|
33648
|
+
*
|
|
33649
|
+
* const {google} = require('googleapis');
|
|
33650
|
+
* const discoveryengine = google.discoveryengine('v1');
|
|
33651
|
+
*
|
|
33652
|
+
* async function main() {
|
|
33653
|
+
* const auth = new google.auth.GoogleAuth({
|
|
33654
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
33655
|
+
* scopes: [
|
|
33656
|
+
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
33657
|
+
* 'https://www.googleapis.com/auth/discoveryengine.readwrite',
|
|
33658
|
+
* ],
|
|
33659
|
+
* });
|
|
33660
|
+
*
|
|
33661
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
33662
|
+
* const authClient = await auth.getClient();
|
|
33663
|
+
* google.options({auth: authClient});
|
|
33664
|
+
*
|
|
33665
|
+
* // Do the magic
|
|
33666
|
+
* const res =
|
|
33667
|
+
* await discoveryengine.projects.locations.dataStores.servingConfigs.delete({
|
|
33668
|
+
* // Required. The resource name of the ServingConfig to delete. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}`
|
|
33669
|
+
* name: 'projects/my-project/locations/my-location/dataStores/my-dataStore/servingConfigs/my-servingConfig',
|
|
33670
|
+
* });
|
|
33671
|
+
* console.log(res.data);
|
|
33672
|
+
*
|
|
33673
|
+
* // Example response
|
|
33674
|
+
* // {}
|
|
33675
|
+
* }
|
|
33676
|
+
*
|
|
33677
|
+
* main().catch(e => {
|
|
33678
|
+
* console.error(e);
|
|
33679
|
+
* throw e;
|
|
33680
|
+
* });
|
|
33681
|
+
*
|
|
33682
|
+
* ```
|
|
33683
|
+
*
|
|
33684
|
+
* @param params - Parameters for request
|
|
33685
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
33686
|
+
* @param callback - Optional callback that handles the response.
|
|
33687
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
33688
|
+
*/
|
|
33689
|
+
delete(params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
33690
|
+
delete(params?: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleProtobufEmpty>>;
|
|
33691
|
+
delete(params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
33692
|
+
delete(params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Delete, options: MethodOptions | BodyResponseCallback<Schema$GoogleProtobufEmpty>, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
|
|
33693
|
+
delete(params: Params$Resource$Projects$Locations$Datastores$Servingconfigs$Delete, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
|
|
33694
|
+
delete(callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
|
|
33041
33695
|
/**
|
|
33042
33696
|
* Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not exist.
|
|
33043
33697
|
* @example
|
|
@@ -33721,6 +34375,26 @@ export declare namespace discoveryengine_v1 {
|
|
|
33721
34375
|
*/
|
|
33722
34376
|
requestBody?: Schema$GoogleCloudDiscoveryengineV1AnswerQueryRequest;
|
|
33723
34377
|
}
|
|
34378
|
+
export interface Params$Resource$Projects$Locations$Datastores$Servingconfigs$Create extends StandardParameters {
|
|
34379
|
+
/**
|
|
34380
|
+
* Required. Full resource name of parent. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}`
|
|
34381
|
+
*/
|
|
34382
|
+
parent?: string;
|
|
34383
|
+
/**
|
|
34384
|
+
* Required. The ID to use for the ServingConfig, which will become the final component of the ServingConfig's resource name. This value should be 4-63 characters, and valid characters are /a-zA-Z0-9+/.
|
|
34385
|
+
*/
|
|
34386
|
+
servingConfigId?: string;
|
|
34387
|
+
/**
|
|
34388
|
+
* Request body metadata
|
|
34389
|
+
*/
|
|
34390
|
+
requestBody?: Schema$GoogleCloudDiscoveryengineV1ServingConfig;
|
|
34391
|
+
}
|
|
34392
|
+
export interface Params$Resource$Projects$Locations$Datastores$Servingconfigs$Delete extends StandardParameters {
|
|
34393
|
+
/**
|
|
34394
|
+
* Required. The resource name of the ServingConfig to delete. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}`
|
|
34395
|
+
*/
|
|
34396
|
+
name?: string;
|
|
34397
|
+
}
|
|
33724
34398
|
export interface Params$Resource$Projects$Locations$Datastores$Servingconfigs$Get extends StandardParameters {
|
|
33725
34399
|
/**
|
|
33726
34400
|
* Required. The resource name of the ServingConfig to get. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/servingConfigs/{serving_config_id\}`
|