@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.0.20240930 → 0.0.20241010
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 +87 -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: 20241010
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -252,6 +252,20 @@ declare namespace gapi.client {
|
|
|
252
252
|
/** TargetSites created. */
|
|
253
253
|
targetSites?: GoogleCloudDiscoveryengineV1alphaTargetSite[];
|
|
254
254
|
}
|
|
255
|
+
interface GoogleCloudDiscoveryengineV1alphaCmekConfig {
|
|
256
|
+
/** Output only. The default CmekConfig for the Customer. */
|
|
257
|
+
isDefault?: boolean;
|
|
258
|
+
/** Kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
|
|
259
|
+
kmsKey?: string;
|
|
260
|
+
/** Kms key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`. */
|
|
261
|
+
kmsKeyVersion?: string;
|
|
262
|
+
/** Output only. The timestamp of the last key rotation. */
|
|
263
|
+
lastRotationTimestampMicros?: string;
|
|
264
|
+
/** Required. Name of the CmekConfig, of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. */
|
|
265
|
+
name?: string;
|
|
266
|
+
/** Output only. State of the CmekConfig. */
|
|
267
|
+
state?: string;
|
|
268
|
+
}
|
|
255
269
|
interface GoogleCloudDiscoveryengineV1alphaCondition {
|
|
256
270
|
/** Range of time(s) specifying when condition is active. Maximum of 10 time ranges. */
|
|
257
271
|
activeTimeRange?: GoogleCloudDiscoveryengineV1alphaConditionTimeRange[];
|
|
@@ -366,6 +380,8 @@ declare namespace gapi.client {
|
|
|
366
380
|
aclEnabled?: boolean;
|
|
367
381
|
/** Output only. Data size estimation for billing. */
|
|
368
382
|
billingEstimation?: GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation;
|
|
383
|
+
/** Output only. CMEK-related information for the DataStore. */
|
|
384
|
+
cmekConfig?: GoogleCloudDiscoveryengineV1alphaCmekConfig;
|
|
369
385
|
/** Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT. */
|
|
370
386
|
contentConfig?: string;
|
|
371
387
|
/** Output only. Timestamp the DataStore was created at. */
|
|
@@ -380,6 +396,8 @@ declare namespace gapi.client {
|
|
|
380
396
|
idpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfig;
|
|
381
397
|
/** Immutable. The industry vertical that the data store registers. */
|
|
382
398
|
industryVertical?: string;
|
|
399
|
+
/** Input only. The KMS key to be used to protect this DataStore at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStore will be protected by the KMS key, as indicated in the cmek_config field. */
|
|
400
|
+
kmsKeyName?: string;
|
|
383
401
|
/** Language info for DataStore. */
|
|
384
402
|
languageInfo?: GoogleCloudDiscoveryengineV1alphaLanguageInfo;
|
|
385
403
|
/** 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. */
|
|
@@ -950,6 +968,8 @@ declare namespace gapi.client {
|
|
|
950
968
|
naturalLanguageQueryUnderstandingSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec;
|
|
951
969
|
/** A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. */
|
|
952
970
|
offset?: number;
|
|
971
|
+
/** The maximum number of results to return for OneBox. This applies to each OneBox type individually. Default number is 10. */
|
|
972
|
+
oneBoxPageSize?: number;
|
|
953
973
|
/** 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 the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. */
|
|
954
974
|
orderBy?: string;
|
|
955
975
|
/** Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with advanced indexing: Default `25`, Maximum `50`. * Other: Default `50`, Maximum `100`. If this field is negative, an `INVALID_ARGUMENT` is returned. */
|
|
@@ -1251,6 +1271,12 @@ declare namespace gapi.client {
|
|
|
1251
1271
|
engine?: string;
|
|
1252
1272
|
}
|
|
1253
1273
|
interface GoogleCloudDiscoveryengineV1alphaTuneEngineResponse {}
|
|
1274
|
+
interface GoogleCloudDiscoveryengineV1alphaUpdateCmekConfigMetadata {
|
|
1275
|
+
/** Operation create time. */
|
|
1276
|
+
createTime?: string;
|
|
1277
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1278
|
+
updateTime?: string;
|
|
1279
|
+
}
|
|
1254
1280
|
interface GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata {
|
|
1255
1281
|
/** Operation create time. */
|
|
1256
1282
|
createTime?: string;
|
|
@@ -1788,6 +1814,20 @@ declare namespace gapi.client {
|
|
|
1788
1814
|
/** Required. The Cloud SQL table to copy the data from with a length limit of 256 characters. */
|
|
1789
1815
|
tableId?: string;
|
|
1790
1816
|
}
|
|
1817
|
+
interface GoogleCloudDiscoveryengineV1betaCmekConfig {
|
|
1818
|
+
/** Output only. The default CmekConfig for the Customer. */
|
|
1819
|
+
isDefault?: boolean;
|
|
1820
|
+
/** Kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
|
|
1821
|
+
kmsKey?: string;
|
|
1822
|
+
/** Kms key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`. */
|
|
1823
|
+
kmsKeyVersion?: string;
|
|
1824
|
+
/** Output only. The timestamp of the last key rotation. */
|
|
1825
|
+
lastRotationTimestampMicros?: string;
|
|
1826
|
+
/** Required. Name of the CmekConfig, of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. */
|
|
1827
|
+
name?: string;
|
|
1828
|
+
/** Output only. State of the CmekConfig. */
|
|
1829
|
+
state?: string;
|
|
1830
|
+
}
|
|
1791
1831
|
interface GoogleCloudDiscoveryengineV1betaCompleteQueryResponse {
|
|
1792
1832
|
/** Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion. */
|
|
1793
1833
|
querySuggestions?: GoogleCloudDiscoveryengineV1betaCompleteQueryResponseQuerySuggestion[];
|
|
@@ -1998,6 +2038,8 @@ declare namespace gapi.client {
|
|
|
1998
2038
|
interface GoogleCloudDiscoveryengineV1betaDataStore {
|
|
1999
2039
|
/** Output only. Data size estimation for billing. */
|
|
2000
2040
|
billingEstimation?: GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation;
|
|
2041
|
+
/** Output only. CMEK-related information for the DataStore. */
|
|
2042
|
+
cmekConfig?: GoogleCloudDiscoveryengineV1betaCmekConfig;
|
|
2001
2043
|
/** Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT. */
|
|
2002
2044
|
contentConfig?: string;
|
|
2003
2045
|
/** Output only. Timestamp the DataStore was created at. */
|
|
@@ -2010,6 +2052,8 @@ declare namespace gapi.client {
|
|
|
2010
2052
|
documentProcessingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig;
|
|
2011
2053
|
/** Immutable. The industry vertical that the data store registers. */
|
|
2012
2054
|
industryVertical?: string;
|
|
2055
|
+
/** Input only. The KMS key to be used to protect this DataStore at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStore will be protected by the KMS key, as indicated in the cmek_config field. */
|
|
2056
|
+
kmsKeyName?: string;
|
|
2013
2057
|
/** Language info for DataStore. */
|
|
2014
2058
|
languageInfo?: GoogleCloudDiscoveryengineV1betaLanguageInfo;
|
|
2015
2059
|
/** 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. */
|
|
@@ -2899,6 +2943,8 @@ declare namespace gapi.client {
|
|
|
2899
2943
|
naturalLanguageQueryUnderstandingSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec;
|
|
2900
2944
|
/** A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. */
|
|
2901
2945
|
offset?: number;
|
|
2946
|
+
/** The maximum number of results to return for OneBox. This applies to each OneBox type individually. Default number is 10. */
|
|
2947
|
+
oneBoxPageSize?: number;
|
|
2902
2948
|
/** 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 the website search results, see [Order web search results](https://cloud.google.com/generative-ai-app-builder/docs/order-web-search-results). For more information on ordering the healthcare search results, see [Order healthcare search results](https://cloud.google.com/generative-ai-app-builder/docs/order-hc-results). If this field is unrecognizable, an `INVALID_ARGUMENT` is returned. */
|
|
2903
2949
|
orderBy?: string;
|
|
2904
2950
|
/** Maximum number of Documents to return. The maximum allowed value depends on the data type. Values above the maximum value are coerced to the maximum value. * Websites with basic indexing: Default `10`, Maximum `25`. * Websites with advanced indexing: Default `25`, Maximum `50`. * Other: Default `50`, Maximum `100`. If this field is negative, an `INVALID_ARGUMENT` is returned. */
|
|
@@ -3595,6 +3641,20 @@ declare namespace gapi.client {
|
|
|
3595
3641
|
/** The Google Workspace data source. */
|
|
3596
3642
|
type?: string;
|
|
3597
3643
|
}
|
|
3644
|
+
interface GoogleCloudDiscoveryengineV1CmekConfig {
|
|
3645
|
+
/** Output only. The default CmekConfig for the Customer. */
|
|
3646
|
+
isDefault?: boolean;
|
|
3647
|
+
/** Kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
|
|
3648
|
+
kmsKey?: string;
|
|
3649
|
+
/** Kms key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`. */
|
|
3650
|
+
kmsKeyVersion?: string;
|
|
3651
|
+
/** Output only. The timestamp of the last key rotation. */
|
|
3652
|
+
lastRotationTimestampMicros?: string;
|
|
3653
|
+
/** Required. Name of the CmekConfig, of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. */
|
|
3654
|
+
name?: string;
|
|
3655
|
+
/** Output only. State of the CmekConfig. */
|
|
3656
|
+
state?: string;
|
|
3657
|
+
}
|
|
3598
3658
|
interface GoogleCloudDiscoveryengineV1Condition {
|
|
3599
3659
|
/** Range of time(s) specifying when condition is active. Maximum of 10 time ranges. */
|
|
3600
3660
|
activeTimeRange?: GoogleCloudDiscoveryengineV1ConditionTimeRange[];
|
|
@@ -3684,6 +3744,8 @@ declare namespace gapi.client {
|
|
|
3684
3744
|
interface GoogleCloudDiscoveryengineV1DataStore {
|
|
3685
3745
|
/** Output only. Data size estimation for billing. */
|
|
3686
3746
|
billingEstimation?: GoogleCloudDiscoveryengineV1DataStoreBillingEstimation;
|
|
3747
|
+
/** Output only. CMEK-related information for the DataStore. */
|
|
3748
|
+
cmekConfig?: GoogleCloudDiscoveryengineV1CmekConfig;
|
|
3687
3749
|
/** Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT. */
|
|
3688
3750
|
contentConfig?: string;
|
|
3689
3751
|
/** Output only. Timestamp the DataStore was created at. */
|
|
@@ -3696,6 +3758,8 @@ declare namespace gapi.client {
|
|
|
3696
3758
|
documentProcessingConfig?: GoogleCloudDiscoveryengineV1DocumentProcessingConfig;
|
|
3697
3759
|
/** Immutable. The industry vertical that the data store registers. */
|
|
3698
3760
|
industryVertical?: string;
|
|
3761
|
+
/** Input only. The KMS key to be used to protect this DataStore at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStore will be protected by the KMS key, as indicated in the cmek_config field. */
|
|
3762
|
+
kmsKeyName?: string;
|
|
3699
3763
|
/** 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. */
|
|
3700
3764
|
name?: string;
|
|
3701
3765
|
/** Optional. Stores serving config at DataStore level. */
|
|
@@ -4058,6 +4122,12 @@ declare namespace gapi.client {
|
|
|
4058
4122
|
/** The trained model status. Possible values are: * **bad-data**: The training data quality is bad. * **no-improvement**: Tuning didn't improve performance. Won't deploy. * **in-progress**: Model training job creation is in progress. * **training**: Model is actively training. * **evaluating**: The model is evaluating trained metrics. * **indexing**: The model trained metrics are indexing. * **ready**: The model is ready for serving. */
|
|
4059
4123
|
modelStatus?: string;
|
|
4060
4124
|
}
|
|
4125
|
+
interface GoogleCloudDiscoveryengineV1UpdateCmekConfigMetadata {
|
|
4126
|
+
/** Operation create time. */
|
|
4127
|
+
createTime?: string;
|
|
4128
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
4129
|
+
updateTime?: string;
|
|
4130
|
+
}
|
|
4061
4131
|
interface GoogleCloudDiscoveryengineV1UpdateSchemaMetadata {
|
|
4062
4132
|
/** Operation create time. */
|
|
4063
4133
|
createTime?: string;
|
|
@@ -7264,10 +7334,14 @@ declare namespace gapi.client {
|
|
|
7264
7334
|
alt?: string;
|
|
7265
7335
|
/** JSONP */
|
|
7266
7336
|
callback?: string;
|
|
7337
|
+
/** Resource name of the CmekConfig to use for protecting this DataStore. */
|
|
7338
|
+
cmekConfigName?: string;
|
|
7267
7339
|
/** A boolean flag indicating whether user want to directly create an advanced data store for site search. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will be ignored. */
|
|
7268
7340
|
createAdvancedSiteSearch?: boolean;
|
|
7269
7341
|
/** Required. The ID to use for the DataStore, which will become the final component of the DataStore's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
7270
7342
|
dataStoreId?: string;
|
|
7343
|
+
/** DataStore without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well. */
|
|
7344
|
+
disableCmek?: boolean;
|
|
7271
7345
|
/** Selector specifying which fields to include in a partial response. */
|
|
7272
7346
|
fields?: string;
|
|
7273
7347
|
/** 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. */
|
|
@@ -7299,10 +7373,14 @@ declare namespace gapi.client {
|
|
|
7299
7373
|
alt?: string;
|
|
7300
7374
|
/** JSONP */
|
|
7301
7375
|
callback?: string;
|
|
7376
|
+
/** Resource name of the CmekConfig to use for protecting this DataStore. */
|
|
7377
|
+
cmekConfigName?: string;
|
|
7302
7378
|
/** A boolean flag indicating whether user want to directly create an advanced data store for site search. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will be ignored. */
|
|
7303
7379
|
createAdvancedSiteSearch?: boolean;
|
|
7304
7380
|
/** Required. The ID to use for the DataStore, which will become the final component of the DataStore's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
7305
7381
|
dataStoreId?: string;
|
|
7382
|
+
/** DataStore without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well. */
|
|
7383
|
+
disableCmek?: boolean;
|
|
7306
7384
|
/** Selector specifying which fields to include in a partial response. */
|
|
7307
7385
|
fields?: string;
|
|
7308
7386
|
/** 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. */
|
|
@@ -11889,10 +11967,14 @@ declare namespace gapi.client {
|
|
|
11889
11967
|
alt?: string;
|
|
11890
11968
|
/** JSONP */
|
|
11891
11969
|
callback?: string;
|
|
11970
|
+
/** Resource name of the CmekConfig to use for protecting this DataStore. */
|
|
11971
|
+
cmekConfigName?: string;
|
|
11892
11972
|
/** A boolean flag indicating whether user want to directly create an advanced data store for site search. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will be ignored. */
|
|
11893
11973
|
createAdvancedSiteSearch?: boolean;
|
|
11894
11974
|
/** Required. The ID to use for the DataStore, which will become the final component of the DataStore's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
11895
11975
|
dataStoreId?: string;
|
|
11976
|
+
/** DataStore without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well. */
|
|
11977
|
+
disableCmek?: boolean;
|
|
11896
11978
|
/** Selector specifying which fields to include in a partial response. */
|
|
11897
11979
|
fields?: string;
|
|
11898
11980
|
/** 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. */
|
|
@@ -11924,10 +12006,14 @@ declare namespace gapi.client {
|
|
|
11924
12006
|
alt?: string;
|
|
11925
12007
|
/** JSONP */
|
|
11926
12008
|
callback?: string;
|
|
12009
|
+
/** Resource name of the CmekConfig to use for protecting this DataStore. */
|
|
12010
|
+
cmekConfigName?: string;
|
|
11927
12011
|
/** A boolean flag indicating whether user want to directly create an advanced data store for site search. If the data store is not configured as site search (GENERIC vertical and PUBLIC_WEBSITE content_config), this flag will be ignored. */
|
|
11928
12012
|
createAdvancedSiteSearch?: boolean;
|
|
11929
12013
|
/** Required. The ID to use for the DataStore, which will become the final component of the DataStore's resource name. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
11930
12014
|
dataStoreId?: string;
|
|
12015
|
+
/** DataStore without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well. */
|
|
12016
|
+
disableCmek?: boolean;
|
|
11931
12017
|
/** Selector specifying which fields to include in a partial response. */
|
|
11932
12018
|
fields?: string;
|
|
11933
12019
|
/** 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. */
|