@maxim_mazurok/gapi.client.discoveryengine-v1 0.0.20241004 → 0.0.20241014
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 +89 -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=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20241014
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -266,6 +266,20 @@ declare namespace gapi.client {
|
|
|
266
266
|
/** TargetSites created. */
|
|
267
267
|
targetSites?: GoogleCloudDiscoveryengineV1alphaTargetSite[];
|
|
268
268
|
}
|
|
269
|
+
interface GoogleCloudDiscoveryengineV1alphaCmekConfig {
|
|
270
|
+
/** Output only. The default CmekConfig for the Customer. */
|
|
271
|
+
isDefault?: boolean;
|
|
272
|
+
/** Kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
|
|
273
|
+
kmsKey?: string;
|
|
274
|
+
/** Kms key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`. */
|
|
275
|
+
kmsKeyVersion?: string;
|
|
276
|
+
/** Output only. The timestamp of the last key rotation. */
|
|
277
|
+
lastRotationTimestampMicros?: string;
|
|
278
|
+
/** Required. Name of the CmekConfig, of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. */
|
|
279
|
+
name?: string;
|
|
280
|
+
/** Output only. State of the CmekConfig. */
|
|
281
|
+
state?: string;
|
|
282
|
+
}
|
|
269
283
|
interface GoogleCloudDiscoveryengineV1alphaCondition {
|
|
270
284
|
/** Range of time(s) specifying when condition is active. Maximum of 10 time ranges. */
|
|
271
285
|
activeTimeRange?: GoogleCloudDiscoveryengineV1alphaConditionTimeRange[];
|
|
@@ -380,6 +394,8 @@ declare namespace gapi.client {
|
|
|
380
394
|
aclEnabled?: boolean;
|
|
381
395
|
/** Output only. Data size estimation for billing. */
|
|
382
396
|
billingEstimation?: GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation;
|
|
397
|
+
/** Output only. CMEK-related information for the DataStore. */
|
|
398
|
+
cmekConfig?: GoogleCloudDiscoveryengineV1alphaCmekConfig;
|
|
383
399
|
/** Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT. */
|
|
384
400
|
contentConfig?: string;
|
|
385
401
|
/** Output only. Timestamp the DataStore was created at. */
|
|
@@ -394,6 +410,8 @@ declare namespace gapi.client {
|
|
|
394
410
|
idpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfig;
|
|
395
411
|
/** Immutable. The industry vertical that the data store registers. */
|
|
396
412
|
industryVertical?: string;
|
|
413
|
+
/** 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. */
|
|
414
|
+
kmsKeyName?: string;
|
|
397
415
|
/** Language info for DataStore. */
|
|
398
416
|
languageInfo?: GoogleCloudDiscoveryengineV1alphaLanguageInfo;
|
|
399
417
|
/** 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. */
|
|
@@ -964,6 +982,8 @@ declare namespace gapi.client {
|
|
|
964
982
|
naturalLanguageQueryUnderstandingSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec;
|
|
965
983
|
/** 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. */
|
|
966
984
|
offset?: number;
|
|
985
|
+
/** The maximum number of results to return for OneBox. This applies to each OneBox type individually. Default number is 10. */
|
|
986
|
+
oneBoxPageSize?: number;
|
|
967
987
|
/** 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. */
|
|
968
988
|
orderBy?: string;
|
|
969
989
|
/** 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. */
|
|
@@ -1265,6 +1285,12 @@ declare namespace gapi.client {
|
|
|
1265
1285
|
engine?: string;
|
|
1266
1286
|
}
|
|
1267
1287
|
interface GoogleCloudDiscoveryengineV1alphaTuneEngineResponse {}
|
|
1288
|
+
interface GoogleCloudDiscoveryengineV1alphaUpdateCmekConfigMetadata {
|
|
1289
|
+
/** Operation create time. */
|
|
1290
|
+
createTime?: string;
|
|
1291
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1292
|
+
updateTime?: string;
|
|
1293
|
+
}
|
|
1268
1294
|
interface GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata {
|
|
1269
1295
|
/** Operation create time. */
|
|
1270
1296
|
createTime?: string;
|
|
@@ -1648,6 +1674,20 @@ declare namespace gapi.client {
|
|
|
1648
1674
|
/** TargetSites created. */
|
|
1649
1675
|
targetSites?: GoogleCloudDiscoveryengineV1betaTargetSite[];
|
|
1650
1676
|
}
|
|
1677
|
+
interface GoogleCloudDiscoveryengineV1betaCmekConfig {
|
|
1678
|
+
/** Output only. The default CmekConfig for the Customer. */
|
|
1679
|
+
isDefault?: boolean;
|
|
1680
|
+
/** Kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
|
|
1681
|
+
kmsKey?: string;
|
|
1682
|
+
/** Kms key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`. */
|
|
1683
|
+
kmsKeyVersion?: string;
|
|
1684
|
+
/** Output only. The timestamp of the last key rotation. */
|
|
1685
|
+
lastRotationTimestampMicros?: string;
|
|
1686
|
+
/** Required. Name of the CmekConfig, of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. */
|
|
1687
|
+
name?: string;
|
|
1688
|
+
/** Output only. State of the CmekConfig. */
|
|
1689
|
+
state?: string;
|
|
1690
|
+
}
|
|
1651
1691
|
interface GoogleCloudDiscoveryengineV1betaCondition {
|
|
1652
1692
|
/** Range of time(s) specifying when condition is active. Maximum of 10 time ranges. */
|
|
1653
1693
|
activeTimeRange?: GoogleCloudDiscoveryengineV1betaConditionTimeRange[];
|
|
@@ -1756,6 +1796,8 @@ declare namespace gapi.client {
|
|
|
1756
1796
|
interface GoogleCloudDiscoveryengineV1betaDataStore {
|
|
1757
1797
|
/** Output only. Data size estimation for billing. */
|
|
1758
1798
|
billingEstimation?: GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation;
|
|
1799
|
+
/** Output only. CMEK-related information for the DataStore. */
|
|
1800
|
+
cmekConfig?: GoogleCloudDiscoveryengineV1betaCmekConfig;
|
|
1759
1801
|
/** Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT. */
|
|
1760
1802
|
contentConfig?: string;
|
|
1761
1803
|
/** Output only. Timestamp the DataStore was created at. */
|
|
@@ -1768,6 +1810,8 @@ declare namespace gapi.client {
|
|
|
1768
1810
|
documentProcessingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig;
|
|
1769
1811
|
/** Immutable. The industry vertical that the data store registers. */
|
|
1770
1812
|
industryVertical?: string;
|
|
1813
|
+
/** 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. */
|
|
1814
|
+
kmsKeyName?: string;
|
|
1771
1815
|
/** Language info for DataStore. */
|
|
1772
1816
|
languageInfo?: GoogleCloudDiscoveryengineV1betaLanguageInfo;
|
|
1773
1817
|
/** 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. */
|
|
@@ -2185,6 +2229,8 @@ declare namespace gapi.client {
|
|
|
2185
2229
|
naturalLanguageQueryUnderstandingSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec;
|
|
2186
2230
|
/** 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. */
|
|
2187
2231
|
offset?: number;
|
|
2232
|
+
/** The maximum number of results to return for OneBox. This applies to each OneBox type individually. Default number is 10. */
|
|
2233
|
+
oneBoxPageSize?: number;
|
|
2188
2234
|
/** 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. */
|
|
2189
2235
|
orderBy?: string;
|
|
2190
2236
|
/** 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. */
|
|
@@ -2625,6 +2671,20 @@ declare namespace gapi.client {
|
|
|
2625
2671
|
/** Required. The Cloud SQL table to copy the data from with a length limit of 256 characters. */
|
|
2626
2672
|
tableId?: string;
|
|
2627
2673
|
}
|
|
2674
|
+
interface GoogleCloudDiscoveryengineV1CmekConfig {
|
|
2675
|
+
/** Output only. The default CmekConfig for the Customer. */
|
|
2676
|
+
isDefault?: boolean;
|
|
2677
|
+
/** Kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
|
|
2678
|
+
kmsKey?: string;
|
|
2679
|
+
/** Kms key version resource name which will be used to encrypt resources `/cryptoKeyVersions/{keyVersion}`. */
|
|
2680
|
+
kmsKeyVersion?: string;
|
|
2681
|
+
/** Output only. The timestamp of the last key rotation. */
|
|
2682
|
+
lastRotationTimestampMicros?: string;
|
|
2683
|
+
/** Required. Name of the CmekConfig, of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. */
|
|
2684
|
+
name?: string;
|
|
2685
|
+
/** Output only. State of the CmekConfig. */
|
|
2686
|
+
state?: string;
|
|
2687
|
+
}
|
|
2628
2688
|
interface GoogleCloudDiscoveryengineV1CompleteQueryResponse {
|
|
2629
2689
|
/** Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion. */
|
|
2630
2690
|
querySuggestions?: GoogleCloudDiscoveryengineV1CompleteQueryResponseQuerySuggestion[];
|
|
@@ -2832,6 +2892,8 @@ declare namespace gapi.client {
|
|
|
2832
2892
|
interface GoogleCloudDiscoveryengineV1DataStore {
|
|
2833
2893
|
/** Output only. Data size estimation for billing. */
|
|
2834
2894
|
billingEstimation?: GoogleCloudDiscoveryengineV1DataStoreBillingEstimation;
|
|
2895
|
+
/** Output only. CMEK-related information for the DataStore. */
|
|
2896
|
+
cmekConfig?: GoogleCloudDiscoveryengineV1CmekConfig;
|
|
2835
2897
|
/** Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT. */
|
|
2836
2898
|
contentConfig?: string;
|
|
2837
2899
|
/** Output only. Timestamp the DataStore was created at. */
|
|
@@ -2844,6 +2906,8 @@ declare namespace gapi.client {
|
|
|
2844
2906
|
documentProcessingConfig?: GoogleCloudDiscoveryengineV1DocumentProcessingConfig;
|
|
2845
2907
|
/** Immutable. The industry vertical that the data store registers. */
|
|
2846
2908
|
industryVertical?: string;
|
|
2909
|
+
/** 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. */
|
|
2910
|
+
kmsKeyName?: string;
|
|
2847
2911
|
/** 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. */
|
|
2848
2912
|
name?: string;
|
|
2849
2913
|
/** Optional. Stores serving config at DataStore level. */
|
|
@@ -3549,6 +3613,8 @@ declare namespace gapi.client {
|
|
|
3549
3613
|
languageCode?: string;
|
|
3550
3614
|
/** 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. */
|
|
3551
3615
|
offset?: number;
|
|
3616
|
+
/** The maximum number of results to return for OneBox. This applies to each OneBox type individually. Default number is 10. */
|
|
3617
|
+
oneBoxPageSize?: number;
|
|
3552
3618
|
/** 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. */
|
|
3553
3619
|
orderBy?: string;
|
|
3554
3620
|
/** 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. */
|
|
@@ -3984,6 +4050,12 @@ declare namespace gapi.client {
|
|
|
3984
4050
|
/** Required. Total non-zero value associated with the transaction. This value may include shipping, tax, or other adjustments to the total value that you want to include. */
|
|
3985
4051
|
value?: number;
|
|
3986
4052
|
}
|
|
4053
|
+
interface GoogleCloudDiscoveryengineV1UpdateCmekConfigMetadata {
|
|
4054
|
+
/** Operation create time. */
|
|
4055
|
+
createTime?: string;
|
|
4056
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
4057
|
+
updateTime?: string;
|
|
4058
|
+
}
|
|
3987
4059
|
interface GoogleCloudDiscoveryengineV1UpdateSchemaMetadata {
|
|
3988
4060
|
/** Operation create time. */
|
|
3989
4061
|
createTime?: string;
|
|
@@ -7118,10 +7190,14 @@ declare namespace gapi.client {
|
|
|
7118
7190
|
alt?: string;
|
|
7119
7191
|
/** JSONP */
|
|
7120
7192
|
callback?: string;
|
|
7193
|
+
/** Resource name of the CmekConfig to use for protecting this DataStore. */
|
|
7194
|
+
cmekConfigName?: string;
|
|
7121
7195
|
/** 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. */
|
|
7122
7196
|
createAdvancedSiteSearch?: boolean;
|
|
7123
7197
|
/** 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. */
|
|
7124
7198
|
dataStoreId?: string;
|
|
7199
|
+
/** DataStore without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well. */
|
|
7200
|
+
disableCmek?: boolean;
|
|
7125
7201
|
/** Selector specifying which fields to include in a partial response. */
|
|
7126
7202
|
fields?: string;
|
|
7127
7203
|
/** 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. */
|
|
@@ -7153,10 +7229,14 @@ declare namespace gapi.client {
|
|
|
7153
7229
|
alt?: string;
|
|
7154
7230
|
/** JSONP */
|
|
7155
7231
|
callback?: string;
|
|
7232
|
+
/** Resource name of the CmekConfig to use for protecting this DataStore. */
|
|
7233
|
+
cmekConfigName?: string;
|
|
7156
7234
|
/** 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. */
|
|
7157
7235
|
createAdvancedSiteSearch?: boolean;
|
|
7158
7236
|
/** 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. */
|
|
7159
7237
|
dataStoreId?: string;
|
|
7238
|
+
/** DataStore without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well. */
|
|
7239
|
+
disableCmek?: boolean;
|
|
7160
7240
|
/** Selector specifying which fields to include in a partial response. */
|
|
7161
7241
|
fields?: string;
|
|
7162
7242
|
/** 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. */
|
|
@@ -11329,10 +11409,14 @@ declare namespace gapi.client {
|
|
|
11329
11409
|
alt?: string;
|
|
11330
11410
|
/** JSONP */
|
|
11331
11411
|
callback?: string;
|
|
11412
|
+
/** Resource name of the CmekConfig to use for protecting this DataStore. */
|
|
11413
|
+
cmekConfigName?: string;
|
|
11332
11414
|
/** 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. */
|
|
11333
11415
|
createAdvancedSiteSearch?: boolean;
|
|
11334
11416
|
/** 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. */
|
|
11335
11417
|
dataStoreId?: string;
|
|
11418
|
+
/** DataStore without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well. */
|
|
11419
|
+
disableCmek?: boolean;
|
|
11336
11420
|
/** Selector specifying which fields to include in a partial response. */
|
|
11337
11421
|
fields?: string;
|
|
11338
11422
|
/** 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. */
|
|
@@ -11364,10 +11448,14 @@ declare namespace gapi.client {
|
|
|
11364
11448
|
alt?: string;
|
|
11365
11449
|
/** JSONP */
|
|
11366
11450
|
callback?: string;
|
|
11451
|
+
/** Resource name of the CmekConfig to use for protecting this DataStore. */
|
|
11452
|
+
cmekConfigName?: string;
|
|
11367
11453
|
/** 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. */
|
|
11368
11454
|
createAdvancedSiteSearch?: boolean;
|
|
11369
11455
|
/** 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. */
|
|
11370
11456
|
dataStoreId?: string;
|
|
11457
|
+
/** DataStore without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well. */
|
|
11458
|
+
disableCmek?: boolean;
|
|
11371
11459
|
/** Selector specifying which fields to include in a partial response. */
|
|
11372
11460
|
fields?: string;
|
|
11373
11461
|
/** 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. */
|