@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20240920 → 0.0.20240930
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/index.d.ts +27 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://discoveryengine.googleapis.com/$discovery/rest?version=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240930
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -291,6 +291,8 @@ declare namespace gapi.client {
|
|
|
291
291
|
filter?: string;
|
|
292
292
|
/** Number of search results to return. The default value is 10. */
|
|
293
293
|
maxReturnResults?: number;
|
|
294
|
+
/** Optional. Specification to enable natural language understanding capabilities for search requests. */
|
|
295
|
+
naturalLanguageQueryUnderstandingSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec;
|
|
294
296
|
/** The order in which documents are returned. Documents can be ordered by a field in an Document object. Leave it unset if ordered by relevance. `order_by` expression is case-sensitive. For more information on ordering, see [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order) If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. */
|
|
295
297
|
orderBy?: string;
|
|
296
298
|
/** Specifies the search result mode. If unspecified, the search result mode defaults to `DOCUMENTS`. See [parse and chunk documents](https://cloud.google.com/generative-ai-app-builder/docs/parse-chunk-documents) */
|
|
@@ -879,6 +881,8 @@ declare namespace gapi.client {
|
|
|
879
881
|
createTime?: string;
|
|
880
882
|
/** The display name of the model. */
|
|
881
883
|
displayName?: string;
|
|
884
|
+
/** Currently this is only populated if the model state is `INPUT_VALIDATION_FAILED`. */
|
|
885
|
+
errorMessage?: string;
|
|
882
886
|
/** The metrics of the trained model. */
|
|
883
887
|
metrics?: {[P in string]: number};
|
|
884
888
|
/** The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`). */
|
|
@@ -1097,6 +1101,8 @@ declare namespace gapi.client {
|
|
|
1097
1101
|
createTime?: string;
|
|
1098
1102
|
/** The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here. Note that when used in CreateEngineRequest, one DataStore id must be provided as the system will use it for necessary initializations. */
|
|
1099
1103
|
dataStoreIds?: string[];
|
|
1104
|
+
/** Optional. Whether to disable analytics for searches performed on this engine. */
|
|
1105
|
+
disableAnalytics?: boolean;
|
|
1100
1106
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
1101
1107
|
displayName?: string;
|
|
1102
1108
|
/** 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. */
|
|
@@ -2769,6 +2775,10 @@ declare namespace gapi.client {
|
|
|
2769
2775
|
interface GoogleCloudDiscoveryengineV1alphaWorkspaceConfig {
|
|
2770
2776
|
/** Obfuscated Dasher customer ID. */
|
|
2771
2777
|
dasherCustomerId?: string;
|
|
2778
|
+
/** Optional. The super admin email address for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion. */
|
|
2779
|
+
superAdminEmailAddress?: string;
|
|
2780
|
+
/** Optional. The super admin service account for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion. */
|
|
2781
|
+
superAdminServiceAccount?: string;
|
|
2772
2782
|
/** The Google Workspace data source. */
|
|
2773
2783
|
type?: string;
|
|
2774
2784
|
}
|
|
@@ -2884,6 +2894,8 @@ declare namespace gapi.client {
|
|
|
2884
2894
|
createTime?: string;
|
|
2885
2895
|
/** The display name of the model. */
|
|
2886
2896
|
displayName?: string;
|
|
2897
|
+
/** Currently this is only populated if the model state is `INPUT_VALIDATION_FAILED`. */
|
|
2898
|
+
errorMessage?: string;
|
|
2887
2899
|
/** The metrics of the trained model. */
|
|
2888
2900
|
metrics?: {[P in string]: number};
|
|
2889
2901
|
/** The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`). */
|
|
@@ -3026,6 +3038,8 @@ declare namespace gapi.client {
|
|
|
3026
3038
|
createTime?: string;
|
|
3027
3039
|
/** The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here. Note that when used in CreateEngineRequest, one DataStore id must be provided as the system will use it for necessary initializations. */
|
|
3028
3040
|
dataStoreIds?: string[];
|
|
3041
|
+
/** Optional. Whether to disable analytics for searches performed on this engine. */
|
|
3042
|
+
disableAnalytics?: boolean;
|
|
3029
3043
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
3030
3044
|
displayName?: string;
|
|
3031
3045
|
/** 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. */
|
|
@@ -3620,6 +3634,10 @@ declare namespace gapi.client {
|
|
|
3620
3634
|
interface GoogleCloudDiscoveryengineV1betaWorkspaceConfig {
|
|
3621
3635
|
/** Obfuscated Dasher customer ID. */
|
|
3622
3636
|
dasherCustomerId?: string;
|
|
3637
|
+
/** Optional. The super admin email address for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion. */
|
|
3638
|
+
superAdminEmailAddress?: string;
|
|
3639
|
+
/** Optional. The super admin service account for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion. */
|
|
3640
|
+
superAdminServiceAccount?: string;
|
|
3623
3641
|
/** The Google Workspace data source. */
|
|
3624
3642
|
type?: string;
|
|
3625
3643
|
}
|
|
@@ -3836,6 +3854,8 @@ declare namespace gapi.client {
|
|
|
3836
3854
|
createTime?: string;
|
|
3837
3855
|
/** The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here. Note that when used in CreateEngineRequest, one DataStore id must be provided as the system will use it for necessary initializations. */
|
|
3838
3856
|
dataStoreIds?: string[];
|
|
3857
|
+
/** Optional. Whether to disable analytics for searches performed on this engine. */
|
|
3858
|
+
disableAnalytics?: boolean;
|
|
3839
3859
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
3840
3860
|
displayName?: string;
|
|
3841
3861
|
/** 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. */
|
|
@@ -4099,6 +4119,10 @@ declare namespace gapi.client {
|
|
|
4099
4119
|
interface GoogleCloudDiscoveryengineV1WorkspaceConfig {
|
|
4100
4120
|
/** Obfuscated Dasher customer ID. */
|
|
4101
4121
|
dasherCustomerId?: string;
|
|
4122
|
+
/** Optional. The super admin email address for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion. */
|
|
4123
|
+
superAdminEmailAddress?: string;
|
|
4124
|
+
/** Optional. The super admin service account for the workspace that will be used for access token generation. For now we only use it for Native Google Drive connector data ingestion. */
|
|
4125
|
+
superAdminServiceAccount?: string;
|
|
4102
4126
|
/** The Google Workspace data source. */
|
|
4103
4127
|
type?: string;
|
|
4104
4128
|
}
|
|
@@ -12930,7 +12954,7 @@ declare namespace gapi.client {
|
|
|
12930
12954
|
uploadType?: string;
|
|
12931
12955
|
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
12932
12956
|
}
|
|
12933
|
-
interface
|
|
12957
|
+
interface IdentityMappingStoresResource {
|
|
12934
12958
|
operations: OperationsResource;
|
|
12935
12959
|
}
|
|
12936
12960
|
interface OperationsResource {
|
|
@@ -13936,7 +13960,7 @@ declare namespace gapi.client {
|
|
|
13936
13960
|
dataStores: DataStoresResource;
|
|
13937
13961
|
evaluations: EvaluationsResource;
|
|
13938
13962
|
groundingConfigs: GroundingConfigsResource;
|
|
13939
|
-
|
|
13963
|
+
identityMappingStores: IdentityMappingStoresResource;
|
|
13940
13964
|
operations: OperationsResource;
|
|
13941
13965
|
rankingConfigs: RankingConfigsResource;
|
|
13942
13966
|
requirements: RequirementsResource;
|