@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.3.20260831 → 0.3.20260908
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 +75 -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: 20260908
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -387,6 +387,9 @@ declare namespace gapi.client {
|
|
|
387
387
|
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig {
|
|
388
388
|
/** Required. Model name (e.g. `gemini-2.5-flash`, `gemini-3.1-pro-preview`). See `model_mixture` for the list of allowed models. */
|
|
389
389
|
name?: string;
|
|
390
|
+
/** Optional. Sent as Vertex `ThinkingConfig.thinking_level`. */
|
|
391
|
+
thinkingLevel?:
|
|
392
|
+
'THINKING_LEVEL_UNSPECIFIED' | 'MINIMAL' | 'LOW' | 'MEDIUM' | 'HIGH';
|
|
390
393
|
/** Optional. Relative weight for this model in the mixture. Must be a finite, strictly positive value. Weights across all entries are normalized server-side, so they need not sum to 1.0. Defaults to 1.0 when unset, which is convenient when configuring a single model or an even mixture. Some Pro-tier models are capped at most 50% of the total weight; requests violating that cap are rejected with INVALID_ARGUMENT. */
|
|
391
394
|
weight?: number;
|
|
392
395
|
}
|
|
@@ -1763,6 +1766,8 @@ declare namespace gapi.client {
|
|
|
1763
1766
|
recommendationMetadata?: GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata;
|
|
1764
1767
|
/** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
|
|
1765
1768
|
searchEngineConfig?: GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig;
|
|
1769
|
+
/** Optional. Non-empty default. Session config for the engine. */
|
|
1770
|
+
sessionConfig?: GoogleCloudDiscoveryengineV1alphaSessionConfig;
|
|
1766
1771
|
/** Additional config specs for a `similar-items` engine. */
|
|
1767
1772
|
similarDocumentsConfig?: any;
|
|
1768
1773
|
/** Required. The solutions of the engine. */
|
|
@@ -3020,6 +3025,19 @@ declare namespace gapi.client {
|
|
|
3020
3025
|
/** A unique identifier for tracking users. */
|
|
3021
3026
|
userPseudoId?: string;
|
|
3022
3027
|
}
|
|
3028
|
+
interface GoogleCloudDiscoveryengineV1alphaSessionConfig {
|
|
3029
|
+
/** Optional. Session management policy that defines who will manage the session. */
|
|
3030
|
+
sessionManagementPolicy?:
|
|
3031
|
+
| 'SESSION_MANAGEMENT_POLICY_UNSPECIFIED'
|
|
3032
|
+
| 'NOT_MANAGED'
|
|
3033
|
+
| 'VERTEX_AI_MANAGED';
|
|
3034
|
+
/** Optional. The TTL for the session. If unset, the default value is 60 days. */
|
|
3035
|
+
sessionTtl?: GoogleCloudDiscoveryengineV1alphaSessionConfigSessionTtl;
|
|
3036
|
+
}
|
|
3037
|
+
interface GoogleCloudDiscoveryengineV1alphaSessionConfigSessionTtl {
|
|
3038
|
+
/** Defines the number of days for session TTL. */
|
|
3039
|
+
days?: number;
|
|
3040
|
+
}
|
|
3023
3041
|
interface GoogleCloudDiscoveryengineV1alphaSessionTurn {
|
|
3024
3042
|
/** Optional. The resource name of the answer to the user query. Only set if the answer generation (/answer API call) happened in this turn. */
|
|
3025
3043
|
answer?: string;
|
|
@@ -3295,6 +3313,8 @@ declare namespace gapi.client {
|
|
|
3295
3313
|
interface GoogleCloudDiscoveryengineV1AssistantCustomerPolicy {
|
|
3296
3314
|
/** Optional. List of banned phrases. */
|
|
3297
3315
|
bannedPhrases?: GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase[];
|
|
3316
|
+
/** Optional. Data protection policy to be used for sanitizing file uploads. */
|
|
3317
|
+
dataProtectionPolicy?: GoogleCloudDiscoveryengineV1DataProtectionPolicy;
|
|
3298
3318
|
/** Optional. Model Armor configuration to be used for sanitizing user prompts and assistant responses. */
|
|
3299
3319
|
modelArmorConfig?: GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig;
|
|
3300
3320
|
}
|
|
@@ -4132,6 +4152,8 @@ declare namespace gapi.client {
|
|
|
4132
4152
|
interface GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicy {
|
|
4133
4153
|
/** Optional. List of banned phrases. */
|
|
4134
4154
|
bannedPhrases?: GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyBannedPhrase[];
|
|
4155
|
+
/** Optional. Data protection policy to be used for sanitizing file uploads. */
|
|
4156
|
+
dataProtectionPolicy?: GoogleCloudDiscoveryengineV1betaDataProtectionPolicy;
|
|
4135
4157
|
/** Optional. Model Armor configuration to be used for sanitizing user prompts and assistant responses. */
|
|
4136
4158
|
modelArmorConfig?: GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyModelArmorConfig;
|
|
4137
4159
|
}
|
|
@@ -4811,6 +4833,14 @@ declare namespace gapi.client {
|
|
|
4811
4833
|
/** Timestamp the model training was initiated. */
|
|
4812
4834
|
trainingStartTime?: string;
|
|
4813
4835
|
}
|
|
4836
|
+
interface GoogleCloudDiscoveryengineV1betaDataProtectionPolicy {
|
|
4837
|
+
/** Optional. Specifies the sensitive data protection policy for the connector source. */
|
|
4838
|
+
sensitiveDataProtectionPolicy?: GoogleCloudDiscoveryengineV1betaDataProtectionPolicySensitiveDataProtectionPolicy;
|
|
4839
|
+
}
|
|
4840
|
+
interface GoogleCloudDiscoveryengineV1betaDataProtectionPolicySensitiveDataProtectionPolicy {
|
|
4841
|
+
/** Optional. Specifies the resource name of the Sensitive Data Protection content policy. */
|
|
4842
|
+
policy?: string;
|
|
4843
|
+
}
|
|
4814
4844
|
interface GoogleCloudDiscoveryengineV1betaDataStore {
|
|
4815
4845
|
/** Immutable. Whether data in the DataStore has ACL information. If set to `true`, the source data must have ACL. ACL will be ingested when data is ingested by DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore, Document can't be accessed by calling DocumentService.GetDocument or DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` content config. */
|
|
4816
4846
|
aclEnabled?: boolean;
|
|
@@ -4836,6 +4866,8 @@ declare namespace gapi.client {
|
|
|
4836
4866
|
| 'GOOGLE_WORKSPACE';
|
|
4837
4867
|
/** Output only. Timestamp the DataStore was created at. */
|
|
4838
4868
|
createTime?: string;
|
|
4869
|
+
/** Optional. Specifies the data protection policy for the data store. */
|
|
4870
|
+
dataProtectionPolicy?: GoogleCloudDiscoveryengineV1betaDataProtectionPolicy;
|
|
4839
4871
|
/** Output only. The id of the default Schema associated to this data store. */
|
|
4840
4872
|
defaultSchemaId?: string;
|
|
4841
4873
|
/** Required. The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
@@ -5217,6 +5249,8 @@ declare namespace gapi.client {
|
|
|
5217
5249
|
procurementContactEmails?: string[];
|
|
5218
5250
|
/** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
|
|
5219
5251
|
searchEngineConfig?: GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig;
|
|
5252
|
+
/** Optional. Non-empty default. Session config for the engine. */
|
|
5253
|
+
sessionConfig?: GoogleCloudDiscoveryengineV1betaSessionConfig;
|
|
5220
5254
|
/** Required. The solutions of the engine. */
|
|
5221
5255
|
solutionType?:
|
|
5222
5256
|
| 'SOLUTION_TYPE_UNSPECIFIED'
|
|
@@ -7145,6 +7179,19 @@ declare namespace gapi.client {
|
|
|
7145
7179
|
/** A unique identifier for tracking users. */
|
|
7146
7180
|
userPseudoId?: string;
|
|
7147
7181
|
}
|
|
7182
|
+
interface GoogleCloudDiscoveryengineV1betaSessionConfig {
|
|
7183
|
+
/** Optional. Session management policy that defines who will manage the session. */
|
|
7184
|
+
sessionManagementPolicy?:
|
|
7185
|
+
| 'SESSION_MANAGEMENT_POLICY_UNSPECIFIED'
|
|
7186
|
+
| 'NOT_MANAGED'
|
|
7187
|
+
| 'VERTEX_AI_MANAGED';
|
|
7188
|
+
/** Optional. The TTL for the session. If unset, the default value is 60 days. */
|
|
7189
|
+
sessionTtl?: GoogleCloudDiscoveryengineV1betaSessionConfigSessionTtl;
|
|
7190
|
+
}
|
|
7191
|
+
interface GoogleCloudDiscoveryengineV1betaSessionConfigSessionTtl {
|
|
7192
|
+
/** Defines the number of days for session TTL. */
|
|
7193
|
+
days?: number;
|
|
7194
|
+
}
|
|
7148
7195
|
interface GoogleCloudDiscoveryengineV1betaSessionTurn {
|
|
7149
7196
|
/** Optional. The resource name of the answer to the user query. Only set if the answer generation (/answer API call) happened in this turn. */
|
|
7150
7197
|
answer?: string;
|
|
@@ -7771,6 +7818,8 @@ declare namespace gapi.client {
|
|
|
7771
7818
|
createEuaSaas?: boolean;
|
|
7772
7819
|
/** Output only. Timestamp the DataConnector was created at. */
|
|
7773
7820
|
createTime?: string;
|
|
7821
|
+
/** Optional. Specifies the data protection policy for the connector. */
|
|
7822
|
+
dataProtectionPolicy?: GoogleCloudDiscoveryengineV1DataProtectionPolicy;
|
|
7774
7823
|
/** Required. The identifier for the data source. For the full, up-to-date list of supported connectors and their values, see [Connect a third-party data source](https://docs.cloud.google.com/gemini/enterprise/docs/connectors/connect-third-party-data-source#sources-by-launch-stage). */
|
|
7775
7824
|
dataSource?: string;
|
|
7776
7825
|
/** Optional. Any target destinations used to connect to third-party services. */
|
|
@@ -7920,6 +7969,14 @@ declare namespace gapi.client {
|
|
|
7920
7969
|
/** Optional. The start schema to use for the DataStore created from this SourceEntity. If unset, a default vertical specialized schema will be used. This field is only used by SetUpDataConnector API, and will be ignored if used in other APIs. This field will be omitted from all API responses including GetDataConnector API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema). */
|
|
7921
7970
|
startingSchema?: GoogleCloudDiscoveryengineV1Schema;
|
|
7922
7971
|
}
|
|
7972
|
+
interface GoogleCloudDiscoveryengineV1DataProtectionPolicy {
|
|
7973
|
+
/** Optional. Specifies the sensitive data protection policy for the connector source. */
|
|
7974
|
+
sensitiveDataProtectionPolicy?: GoogleCloudDiscoveryengineV1DataProtectionPolicySensitiveDataProtectionPolicy;
|
|
7975
|
+
}
|
|
7976
|
+
interface GoogleCloudDiscoveryengineV1DataProtectionPolicySensitiveDataProtectionPolicy {
|
|
7977
|
+
/** Optional. Specifies the resource name of the Sensitive Data Protection content policy. */
|
|
7978
|
+
policy?: string;
|
|
7979
|
+
}
|
|
7923
7980
|
interface GoogleCloudDiscoveryengineV1DataStore {
|
|
7924
7981
|
/** Immutable. Whether data in the DataStore has ACL information. If set to `true`, the source data must have ACL. ACL will be ingested when data is ingested by DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore, Document can't be accessed by calling DocumentService.GetDocument or DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` content config. */
|
|
7925
7982
|
aclEnabled?: boolean;
|
|
@@ -7945,6 +8002,8 @@ declare namespace gapi.client {
|
|
|
7945
8002
|
| 'GOOGLE_WORKSPACE';
|
|
7946
8003
|
/** Output only. Timestamp the DataStore was created at. */
|
|
7947
8004
|
createTime?: string;
|
|
8005
|
+
/** Optional. Specifies the data protection policy for the data store. */
|
|
8006
|
+
dataProtectionPolicy?: GoogleCloudDiscoveryengineV1DataProtectionPolicy;
|
|
7948
8007
|
/** Output only. The id of the default Schema associated to this data store. */
|
|
7949
8008
|
defaultSchemaId?: string;
|
|
7950
8009
|
/** Required. The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
@@ -8262,6 +8321,8 @@ declare namespace gapi.client {
|
|
|
8262
8321
|
procurementContactEmails?: string[];
|
|
8263
8322
|
/** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
|
|
8264
8323
|
searchEngineConfig?: GoogleCloudDiscoveryengineV1EngineSearchEngineConfig;
|
|
8324
|
+
/** Optional. Non-empty default. Session config for the engine. */
|
|
8325
|
+
sessionConfig?: GoogleCloudDiscoveryengineV1SessionConfig;
|
|
8265
8326
|
/** Required. The solutions of the engine. */
|
|
8266
8327
|
solutionType?:
|
|
8267
8328
|
| 'SOLUTION_TYPE_UNSPECIFIED'
|
|
@@ -8853,6 +8914,19 @@ declare namespace gapi.client {
|
|
|
8853
8914
|
/** Specifies the event type used for demoting recommendation result. Currently supported values: * `view-item`: Item viewed. * `media-play`: Start/resume watching a video, playing a song, etc. * `media-complete`: Finished or stopped midway through a video, song, etc. If unset, watch history demotion will not be applied. Content freshness demotion will still be applied. */
|
|
8854
8915
|
demotionEventType?: string;
|
|
8855
8916
|
}
|
|
8917
|
+
interface GoogleCloudDiscoveryengineV1SessionConfig {
|
|
8918
|
+
/** Optional. Session management policy that defines who will manage the session. */
|
|
8919
|
+
sessionManagementPolicy?:
|
|
8920
|
+
| 'SESSION_MANAGEMENT_POLICY_UNSPECIFIED'
|
|
8921
|
+
| 'NOT_MANAGED'
|
|
8922
|
+
| 'VERTEX_AI_MANAGED';
|
|
8923
|
+
/** Optional. The TTL for the session. If unset, the default value is 60 days. */
|
|
8924
|
+
sessionTtl?: GoogleCloudDiscoveryengineV1SessionConfigSessionTtl;
|
|
8925
|
+
}
|
|
8926
|
+
interface GoogleCloudDiscoveryengineV1SessionConfigSessionTtl {
|
|
8927
|
+
/** Defines the number of days for session TTL. */
|
|
8928
|
+
days?: number;
|
|
8929
|
+
}
|
|
8856
8930
|
interface GoogleCloudDiscoveryengineV1SetUpDataConnectorMetadata {}
|
|
8857
8931
|
interface GoogleCloudDiscoveryengineV1SingleRegionKey {
|
|
8858
8932
|
/** Required. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
|