@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.1.20251116 → 0.1.20251203
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 +80 -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=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20251203
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -980,6 +980,8 @@ declare namespace gapi.client {
|
|
|
980
980
|
customerPolicy?: GoogleCloudDiscoveryengineV1alphaAssistantCustomerPolicy;
|
|
981
981
|
/** Optional. Description for additional information. Expected to be shown on the configuration UI, not to the users of the assistant. */
|
|
982
982
|
description?: string;
|
|
983
|
+
/** Optional. Indicates whether to disable user location context. By default, user location context is enabled. */
|
|
984
|
+
disableLocationContext?: boolean;
|
|
983
985
|
/** Required. The assistant display name. It must be a UTF-8 encoded string with a length limit of 128 characters. */
|
|
984
986
|
displayName?: string;
|
|
985
987
|
/** Optional. Note: not implemented yet. Use enabled_actions instead. The enabled tools on this assistant. The keys are connector name, for example "projects/{projectId}/locations/{locationId}/collections/{collectionId}/dataconnector The values consist of admin enabled tools towards the connector instance. Admin can selectively enable multiple tools on any of the connector instances that they created in the project. For example {"jira1ConnectorName": [(toolId1, "createTicket"), (toolId2, "transferTicket")], "gmail1ConnectorName": [(toolId3, "sendEmail"),..] } */
|
|
@@ -2429,6 +2431,8 @@ declare namespace gapi.client {
|
|
|
2429
2431
|
tuningOperation?: string;
|
|
2430
2432
|
}
|
|
2431
2433
|
interface GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig {
|
|
2434
|
+
/** Optional. The required subscription tier of this engine. They cannot be modified after engine creation. If the required subscription tier is search, user with higher license tier like assist can still access the standalone app associated with this engine. */
|
|
2435
|
+
requiredSubscriptionTier?: string;
|
|
2432
2436
|
/** The add-on that this search engine enables. */
|
|
2433
2437
|
searchAddOns?: string[];
|
|
2434
2438
|
/** The search feature tier of this engine. Different tiers might have different pricing. To learn more, check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. */
|
|
@@ -2691,6 +2695,8 @@ declare namespace gapi.client {
|
|
|
2691
2695
|
interface GoogleCloudDiscoveryengineV1alphaIdentityMappingEntry {
|
|
2692
2696
|
/** Required. Identity outside the customer identity provider. The length limit of external identity will be of 100 characters. */
|
|
2693
2697
|
externalIdentity?: string;
|
|
2698
|
+
/** Optional. The name of the external identity. */
|
|
2699
|
+
externalIdentityName?: string;
|
|
2694
2700
|
/** Group identifier. For Google Workspace user account, group_id should be the google workspace group email. For non-google identity provider, group_id is the mapped group identifier configured during the workforcepool config. */
|
|
2695
2701
|
groupId?: string;
|
|
2696
2702
|
/** User identifier. For Google Workspace user account, user_id should be the google workspace user email. For non-google identity provider, user_id is the mapped user identifier configured during the workforcepool config. */
|
|
@@ -4094,6 +4100,8 @@ declare namespace gapi.client {
|
|
|
4094
4100
|
results?: GoogleCloudDiscoveryengineV1alphaSearchResponseSearchResult[];
|
|
4095
4101
|
/** Promotions for site search. */
|
|
4096
4102
|
searchLinkPromotions?: GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion[];
|
|
4103
|
+
/** Output only. Indicates the semantic state of the search response. */
|
|
4104
|
+
semanticState?: string;
|
|
4097
4105
|
/** Session information. Only set if SearchRequest.session is provided. See its description for more details. */
|
|
4098
4106
|
sessionInfo?: GoogleCloudDiscoveryengineV1alphaSearchResponseSessionInfo;
|
|
4099
4107
|
/** Corrected query with low confidence, AKA did you mean query. Compared with corrected_query, this field is set when SpellCorrector returned a response, but FPR(full page replacement) is not triggered because the corrction is of low confidence(eg, reversed because there are matches of the original query in document corpus). */
|
|
@@ -5653,6 +5661,8 @@ declare namespace gapi.client {
|
|
|
5653
5661
|
contextEventType?: string;
|
|
5654
5662
|
}
|
|
5655
5663
|
interface GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig {
|
|
5664
|
+
/** Optional. The required subscription tier of this engine. They cannot be modified after engine creation. If the required subscription tier is search, user with higher license tier like assist can still access the standalone app associated with this engine. */
|
|
5665
|
+
requiredSubscriptionTier?: string;
|
|
5656
5666
|
/** The add-on that this search engine enables. */
|
|
5657
5667
|
searchAddOns?: string[];
|
|
5658
5668
|
/** The search feature tier of this engine. Different tiers might have different pricing. To learn more, check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. */
|
|
@@ -7002,6 +7012,8 @@ declare namespace gapi.client {
|
|
|
7002
7012
|
contextEventType?: string;
|
|
7003
7013
|
}
|
|
7004
7014
|
interface GoogleCloudDiscoveryengineV1EngineSearchEngineConfig {
|
|
7015
|
+
/** Optional. The required subscription tier of this engine. They cannot be modified after engine creation. If the required subscription tier is search, user with higher license tier like assist can still access the standalone app associated with this engine. */
|
|
7016
|
+
requiredSubscriptionTier?: string;
|
|
7005
7017
|
/** The add-on that this search engine enables. */
|
|
7006
7018
|
searchAddOns?: string[];
|
|
7007
7019
|
/** The search feature tier of this engine. Different tiers might have different pricing. To learn more, check the pricing documentation. Defaults to SearchTier.SEARCH_TIER_STANDARD if not specified. */
|
|
@@ -13156,6 +13168,8 @@ declare namespace gapi.client {
|
|
|
13156
13168
|
'$.xgafv'?: string;
|
|
13157
13169
|
/** OAuth access token. */
|
|
13158
13170
|
access_token?: string;
|
|
13171
|
+
/** Optional. Indicates whether to consider if the caller is an admin. If set, and the caller is an admin, the response will consider admin-only permissions. Otherwise, a caller with admin permissions will get a response as an unprivileged user. */
|
|
13172
|
+
adminView?: boolean;
|
|
13159
13173
|
/** Data format for response. */
|
|
13160
13174
|
alt?: string;
|
|
13161
13175
|
/** JSONP */
|
|
@@ -13734,6 +13748,8 @@ declare namespace gapi.client {
|
|
|
13734
13748
|
'$.xgafv'?: string;
|
|
13735
13749
|
/** OAuth access token. */
|
|
13736
13750
|
access_token?: string;
|
|
13751
|
+
/** Optional. Indicates whether to consider if the caller is an admin. If set, and the caller is an admin, the response will consider admin-only permissions. Otherwise, a caller with admin permissions will get a response as an unprivileged user. */
|
|
13752
|
+
adminView?: boolean;
|
|
13737
13753
|
/** Optional. The origin of the Agent. */
|
|
13738
13754
|
agentOrigin?: string;
|
|
13739
13755
|
/** Data format for response. */
|
|
@@ -14968,6 +14984,38 @@ declare namespace gapi.client {
|
|
|
14968
14984
|
body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest,
|
|
14969
14985
|
): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
|
|
14970
14986
|
}
|
|
14987
|
+
interface OperationsResource {
|
|
14988
|
+
/** 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. */
|
|
14989
|
+
get(request?: {
|
|
14990
|
+
/** V1 error format. */
|
|
14991
|
+
'$.xgafv'?: string;
|
|
14992
|
+
/** OAuth access token. */
|
|
14993
|
+
access_token?: string;
|
|
14994
|
+
/** Data format for response. */
|
|
14995
|
+
alt?: string;
|
|
14996
|
+
/** JSONP */
|
|
14997
|
+
callback?: string;
|
|
14998
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
14999
|
+
fields?: string;
|
|
15000
|
+
/** 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. */
|
|
15001
|
+
key?: string;
|
|
15002
|
+
/** The name of the operation resource. */
|
|
15003
|
+
name: string;
|
|
15004
|
+
/** OAuth 2.0 token for the current user. */
|
|
15005
|
+
oauth_token?: string;
|
|
15006
|
+
/** Returns response with indentations and line breaks. */
|
|
15007
|
+
prettyPrint?: boolean;
|
|
15008
|
+
/** 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. */
|
|
15009
|
+
quotaUser?: string;
|
|
15010
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15011
|
+
upload_protocol?: string;
|
|
15012
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15013
|
+
uploadType?: string;
|
|
15014
|
+
}): Request<GoogleLongrunningOperation>;
|
|
15015
|
+
}
|
|
15016
|
+
interface AlphaEvolveExperimentsResource {
|
|
15017
|
+
operations: OperationsResource;
|
|
15018
|
+
}
|
|
14971
15019
|
interface AnswersResource {
|
|
14972
15020
|
/** Gets a Answer. */
|
|
14973
15021
|
get(request?: {
|
|
@@ -15034,6 +15082,35 @@ declare namespace gapi.client {
|
|
|
15034
15082
|
uploadType?: string;
|
|
15035
15083
|
}): Request<GoogleCloudDiscoveryengineV1alphaListFilesResponse>;
|
|
15036
15084
|
}
|
|
15085
|
+
interface OperationsResource {
|
|
15086
|
+
/** 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. */
|
|
15087
|
+
get(request?: {
|
|
15088
|
+
/** V1 error format. */
|
|
15089
|
+
'$.xgafv'?: string;
|
|
15090
|
+
/** OAuth access token. */
|
|
15091
|
+
access_token?: string;
|
|
15092
|
+
/** Data format for response. */
|
|
15093
|
+
alt?: string;
|
|
15094
|
+
/** JSONP */
|
|
15095
|
+
callback?: string;
|
|
15096
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15097
|
+
fields?: string;
|
|
15098
|
+
/** 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. */
|
|
15099
|
+
key?: string;
|
|
15100
|
+
/** The name of the operation resource. */
|
|
15101
|
+
name: string;
|
|
15102
|
+
/** OAuth 2.0 token for the current user. */
|
|
15103
|
+
oauth_token?: string;
|
|
15104
|
+
/** Returns response with indentations and line breaks. */
|
|
15105
|
+
prettyPrint?: boolean;
|
|
15106
|
+
/** 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. */
|
|
15107
|
+
quotaUser?: string;
|
|
15108
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15109
|
+
upload_protocol?: string;
|
|
15110
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15111
|
+
uploadType?: string;
|
|
15112
|
+
}): Request<GoogleLongrunningOperation>;
|
|
15113
|
+
}
|
|
15037
15114
|
interface SessionsResource {
|
|
15038
15115
|
/** Creates a Session. If the Session to create already exists, an ALREADY_EXISTS error is returned. */
|
|
15039
15116
|
create(request: {
|
|
@@ -15246,8 +15323,10 @@ declare namespace gapi.client {
|
|
|
15246
15323
|
},
|
|
15247
15324
|
body: GoogleCloudDiscoveryengineV1alphaSession,
|
|
15248
15325
|
): Request<GoogleCloudDiscoveryengineV1alphaSession>;
|
|
15326
|
+
alphaEvolveExperiments: AlphaEvolveExperimentsResource;
|
|
15249
15327
|
answers: AnswersResource;
|
|
15250
15328
|
files: FilesResource;
|
|
15329
|
+
operations: OperationsResource;
|
|
15251
15330
|
}
|
|
15252
15331
|
interface WidgetConfigsResource {
|
|
15253
15332
|
/** Gets a WidgetConfig. */
|