@maxim_mazurok/gapi.client.discoveryengine-v1beta 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 +91 -1
- 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=v1beta
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240930
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -348,6 +348,8 @@ declare namespace gapi.client {
|
|
|
348
348
|
createTime?: string;
|
|
349
349
|
/** The display name of the model. */
|
|
350
350
|
displayName?: string;
|
|
351
|
+
/** Currently this is only populated if the model state is `INPUT_VALIDATION_FAILED`. */
|
|
352
|
+
errorMessage?: string;
|
|
351
353
|
/** The metrics of the trained model. */
|
|
352
354
|
metrics?: {[P in string]: number};
|
|
353
355
|
/** The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`). */
|
|
@@ -494,6 +496,8 @@ declare namespace gapi.client {
|
|
|
494
496
|
createTime?: string;
|
|
495
497
|
/** 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. */
|
|
496
498
|
dataStoreIds?: string[];
|
|
499
|
+
/** Optional. Whether to disable analytics for searches performed on this engine. */
|
|
500
|
+
disableAnalytics?: boolean;
|
|
497
501
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
498
502
|
displayName?: string;
|
|
499
503
|
/** 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. */
|
|
@@ -1268,6 +1272,10 @@ declare namespace gapi.client {
|
|
|
1268
1272
|
interface GoogleCloudDiscoveryengineV1alphaWorkspaceConfig {
|
|
1269
1273
|
/** Obfuscated Dasher customer ID. */
|
|
1270
1274
|
dasherCustomerId?: string;
|
|
1275
|
+
/** 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. */
|
|
1276
|
+
superAdminEmailAddress?: string;
|
|
1277
|
+
/** 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. */
|
|
1278
|
+
superAdminServiceAccount?: string;
|
|
1271
1279
|
/** The Google Workspace data source. */
|
|
1272
1280
|
type?: string;
|
|
1273
1281
|
}
|
|
@@ -1418,6 +1426,8 @@ declare namespace gapi.client {
|
|
|
1418
1426
|
filter?: string;
|
|
1419
1427
|
/** Number of search results to return. The default value is 10. */
|
|
1420
1428
|
maxReturnResults?: number;
|
|
1429
|
+
/** Optional. Specification to enable natural language understanding capabilities for search requests. */
|
|
1430
|
+
naturalLanguageQueryUnderstandingSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec;
|
|
1421
1431
|
/** 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. */
|
|
1422
1432
|
orderBy?: string;
|
|
1423
1433
|
/** 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) */
|
|
@@ -1972,6 +1982,8 @@ declare namespace gapi.client {
|
|
|
1972
1982
|
createTime?: string;
|
|
1973
1983
|
/** The display name of the model. */
|
|
1974
1984
|
displayName?: string;
|
|
1985
|
+
/** Currently this is only populated if the model state is `INPUT_VALIDATION_FAILED`. */
|
|
1986
|
+
errorMessage?: string;
|
|
1975
1987
|
/** The metrics of the trained model. */
|
|
1976
1988
|
metrics?: {[P in string]: number};
|
|
1977
1989
|
/** The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`). */
|
|
@@ -2174,6 +2186,8 @@ declare namespace gapi.client {
|
|
|
2174
2186
|
createTime?: string;
|
|
2175
2187
|
/** 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. */
|
|
2176
2188
|
dataStoreIds?: string[];
|
|
2189
|
+
/** Optional. Whether to disable analytics for searches performed on this engine. */
|
|
2190
|
+
disableAnalytics?: boolean;
|
|
2177
2191
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
2178
2192
|
displayName?: string;
|
|
2179
2193
|
/** 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. */
|
|
@@ -3574,6 +3588,10 @@ declare namespace gapi.client {
|
|
|
3574
3588
|
interface GoogleCloudDiscoveryengineV1betaWorkspaceConfig {
|
|
3575
3589
|
/** Obfuscated Dasher customer ID. */
|
|
3576
3590
|
dasherCustomerId?: string;
|
|
3591
|
+
/** 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. */
|
|
3592
|
+
superAdminEmailAddress?: string;
|
|
3593
|
+
/** 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. */
|
|
3594
|
+
superAdminServiceAccount?: string;
|
|
3577
3595
|
/** The Google Workspace data source. */
|
|
3578
3596
|
type?: string;
|
|
3579
3597
|
}
|
|
@@ -3790,6 +3808,8 @@ declare namespace gapi.client {
|
|
|
3790
3808
|
createTime?: string;
|
|
3791
3809
|
/** 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. */
|
|
3792
3810
|
dataStoreIds?: string[];
|
|
3811
|
+
/** Optional. Whether to disable analytics for searches performed on this engine. */
|
|
3812
|
+
disableAnalytics?: boolean;
|
|
3793
3813
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
3794
3814
|
displayName?: string;
|
|
3795
3815
|
/** 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. */
|
|
@@ -4053,6 +4073,10 @@ declare namespace gapi.client {
|
|
|
4053
4073
|
interface GoogleCloudDiscoveryengineV1WorkspaceConfig {
|
|
4054
4074
|
/** Obfuscated Dasher customer ID. */
|
|
4055
4075
|
dasherCustomerId?: string;
|
|
4076
|
+
/** 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. */
|
|
4077
|
+
superAdminEmailAddress?: string;
|
|
4078
|
+
/** 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. */
|
|
4079
|
+
superAdminServiceAccount?: string;
|
|
4056
4080
|
/** The Google Workspace data source. */
|
|
4057
4081
|
type?: string;
|
|
4058
4082
|
}
|
|
@@ -12415,6 +12439,71 @@ declare namespace gapi.client {
|
|
|
12415
12439
|
uploadType?: string;
|
|
12416
12440
|
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
12417
12441
|
}
|
|
12442
|
+
interface IdentityMappingStoresResource {
|
|
12443
|
+
operations: OperationsResource;
|
|
12444
|
+
}
|
|
12445
|
+
interface OperationsResource {
|
|
12446
|
+
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
12447
|
+
get(request?: {
|
|
12448
|
+
/** V1 error format. */
|
|
12449
|
+
'$.xgafv'?: string;
|
|
12450
|
+
/** OAuth access token. */
|
|
12451
|
+
access_token?: string;
|
|
12452
|
+
/** Data format for response. */
|
|
12453
|
+
alt?: string;
|
|
12454
|
+
/** JSONP */
|
|
12455
|
+
callback?: string;
|
|
12456
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12457
|
+
fields?: string;
|
|
12458
|
+
/** 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. */
|
|
12459
|
+
key?: string;
|
|
12460
|
+
/** The name of the operation resource. */
|
|
12461
|
+
name: string;
|
|
12462
|
+
/** OAuth 2.0 token for the current user. */
|
|
12463
|
+
oauth_token?: string;
|
|
12464
|
+
/** Returns response with indentations and line breaks. */
|
|
12465
|
+
prettyPrint?: boolean;
|
|
12466
|
+
/** 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. */
|
|
12467
|
+
quotaUser?: string;
|
|
12468
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12469
|
+
upload_protocol?: string;
|
|
12470
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12471
|
+
uploadType?: string;
|
|
12472
|
+
}): Request<GoogleLongrunningOperation>;
|
|
12473
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
12474
|
+
list(request?: {
|
|
12475
|
+
/** V1 error format. */
|
|
12476
|
+
'$.xgafv'?: string;
|
|
12477
|
+
/** OAuth access token. */
|
|
12478
|
+
access_token?: string;
|
|
12479
|
+
/** Data format for response. */
|
|
12480
|
+
alt?: string;
|
|
12481
|
+
/** JSONP */
|
|
12482
|
+
callback?: string;
|
|
12483
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
12484
|
+
fields?: string;
|
|
12485
|
+
/** The standard list filter. */
|
|
12486
|
+
filter?: string;
|
|
12487
|
+
/** 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. */
|
|
12488
|
+
key?: string;
|
|
12489
|
+
/** The name of the operation's parent resource. */
|
|
12490
|
+
name: string;
|
|
12491
|
+
/** OAuth 2.0 token for the current user. */
|
|
12492
|
+
oauth_token?: string;
|
|
12493
|
+
/** The standard list page size. */
|
|
12494
|
+
pageSize?: number;
|
|
12495
|
+
/** The standard list page token. */
|
|
12496
|
+
pageToken?: string;
|
|
12497
|
+
/** Returns response with indentations and line breaks. */
|
|
12498
|
+
prettyPrint?: boolean;
|
|
12499
|
+
/** 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. */
|
|
12500
|
+
quotaUser?: string;
|
|
12501
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
12502
|
+
upload_protocol?: string;
|
|
12503
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
12504
|
+
uploadType?: string;
|
|
12505
|
+
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
12506
|
+
}
|
|
12418
12507
|
interface RankingConfigsResource {
|
|
12419
12508
|
/** Ranks a list of text records based on the given input query. */
|
|
12420
12509
|
rank(request: {
|
|
@@ -13088,6 +13177,7 @@ declare namespace gapi.client {
|
|
|
13088
13177
|
dataStores: DataStoresResource;
|
|
13089
13178
|
evaluations: EvaluationsResource;
|
|
13090
13179
|
groundingConfigs: GroundingConfigsResource;
|
|
13180
|
+
identityMappingStores: IdentityMappingStoresResource;
|
|
13091
13181
|
operations: OperationsResource;
|
|
13092
13182
|
rankingConfigs: RankingConfigsResource;
|
|
13093
13183
|
sampleQuerySets: SampleQuerySetsResource;
|