@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.3.20261013 → 0.3.20261022
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 +43 -12
- 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: 20261022
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -28,6 +28,21 @@ declare namespace gapi.client {
|
|
|
28
28
|
): void;
|
|
29
29
|
|
|
30
30
|
namespace discoveryengine {
|
|
31
|
+
interface ApiservingMcpMcpToolVisibility {
|
|
32
|
+
/** A list of field-level visibility restrictions. */
|
|
33
|
+
fieldVisibility?: ApiservingMcpMcpToolVisibilityFieldVisibility[];
|
|
34
|
+
/** The strategy used to enforce visibility restrictions. DO NOT USE. This field is not yet implemented. */
|
|
35
|
+
visibilityEnforcementStrategy?:
|
|
36
|
+
'VISIBILITY_ENFORCEMENT_STRATEGY_UNSPECIFIED' | 'COMBINE' | 'OVERRIDE';
|
|
37
|
+
/** The visibility restriction labels for the tool itself (e.g., "PRODUCER_DEFINED_PREVIEW"). Multiple labels can be provided as a comma-separated string. */
|
|
38
|
+
visibilityRestriction?: string;
|
|
39
|
+
}
|
|
40
|
+
interface ApiservingMcpMcpToolVisibilityFieldVisibility {
|
|
41
|
+
/** The visibility restriction labels for this field (comma-separated). */
|
|
42
|
+
restriction?: string;
|
|
43
|
+
/** The name of the parameter in the input_schema or output_schema. */
|
|
44
|
+
selector?: string;
|
|
45
|
+
}
|
|
31
46
|
interface GoogleApiDistribution {
|
|
32
47
|
/** The number of values in each bucket of the histogram, as described in `bucket_options`. If the distribution does not have a histogram, then omit this field. If there is a histogram, then the sum of the values in `bucket_counts` must equal the value in the `count` field of the distribution. If present, `bucket_counts` should contain N values, where N is the number of buckets specified in `bucket_options`. If you supply fewer than N values, the remaining values are assumed to be 0. The order of the values in `bucket_counts` follows the bucket numbering schemes described for the three bucket types. The first value must be the count for the underflow bucket (number 0). The next N-2 values are the counts for the finite buckets (number 1 through N-2). The N'th value in `bucket_counts` is the count for the overflow bucket (number N-1). */
|
|
33
48
|
bucketCounts?: string[];
|
|
@@ -697,7 +712,7 @@ declare namespace gapi.client {
|
|
|
697
712
|
interface GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult {
|
|
698
713
|
/** Customer policy enforcement results. Populated only if the assist call was skipped due to a policy violation. It contains results from those filters that blocked the processing of the query. */
|
|
699
714
|
policyResults?: GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult[];
|
|
700
|
-
/** Final verdict of the customer policy enforcement. If
|
|
715
|
+
/** Final verdict of the customer policy enforcement. If at least one policy blocked the processing, the verdict is BLOCK. If no policy blocked the processing but at least one flagged it, the verdict is FLAG. */
|
|
701
716
|
verdict?: 'UNSPECIFIED' | 'ALLOW' | 'BLOCK';
|
|
702
717
|
/** Output only. The source of the violation. */
|
|
703
718
|
violationSource?:
|
|
@@ -1731,7 +1746,7 @@ declare namespace gapi.client {
|
|
|
1731
1746
|
disableAnalytics?: boolean;
|
|
1732
1747
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
1733
1748
|
displayName?: string;
|
|
1734
|
-
/** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` */
|
|
1749
|
+
/** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` */
|
|
1735
1750
|
features?: {
|
|
1736
1751
|
[P in string]:
|
|
1737
1752
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -3333,7 +3348,7 @@ declare namespace gapi.client {
|
|
|
3333
3348
|
description?: string;
|
|
3334
3349
|
/** Required. The assistant display name. It must be a UTF-8 encoded string with a length limit of 128 characters. */
|
|
3335
3350
|
displayName?: string;
|
|
3336
|
-
/** Optional.
|
|
3351
|
+
/** Optional. The enabled tools on this assistant. The keys are data connector resource names, in the format `projects/{project}/locations/{location}/collections/{collection}/dataConnector`. The values are the tools that the admin enabled on that connector. Admins can selectively enable tools on any of the connectors that they created in the project. For example: ``` { "projects/my-project/locations/global/collections/jira1/dataConnector": { "toolInfo": [ { "toolName": "create_jira_issue", "toolDisplayName": "Create Jira issue" }, { "toolName": "update_jira_issue", "toolDisplayName": "Update Jira issue" } ] } } ``` */
|
|
3337
3352
|
enabledTools?: {
|
|
3338
3353
|
[P in string]: GoogleCloudDiscoveryengineV1AssistantToolList;
|
|
3339
3354
|
};
|
|
@@ -4093,7 +4108,7 @@ declare namespace gapi.client {
|
|
|
4093
4108
|
interface GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResult {
|
|
4094
4109
|
/** Customer policy enforcement results. Populated only if the assist call was skipped due to a policy violation. It contains results from those filters that blocked the processing of the query. */
|
|
4095
4110
|
policyResults?: GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult[];
|
|
4096
|
-
/** Final verdict of the customer policy enforcement. If
|
|
4111
|
+
/** Final verdict of the customer policy enforcement. If at least one policy blocked the processing, the verdict is BLOCK. If no policy blocked the processing but at least one flagged it, the verdict is FLAG. */
|
|
4097
4112
|
verdict?: 'UNSPECIFIED' | 'ALLOW' | 'BLOCK';
|
|
4098
4113
|
/** Output only. The source of the violation. */
|
|
4099
4114
|
violationSource?:
|
|
@@ -4132,7 +4147,7 @@ declare namespace gapi.client {
|
|
|
4132
4147
|
description?: string;
|
|
4133
4148
|
/** Required. The assistant display name. It must be a UTF-8 encoded string with a length limit of 128 characters. */
|
|
4134
4149
|
displayName?: string;
|
|
4135
|
-
/** Optional.
|
|
4150
|
+
/** Optional. The enabled tools on this assistant. The keys are data connector resource names, in the format `projects/{project}/locations/{location}/collections/{collection}/dataConnector`. The values are the tools that the admin enabled on that connector. Admins can selectively enable tools on any of the connectors that they created in the project. For example: ``` { "projects/my-project/locations/global/collections/jira1/dataConnector": { "toolInfo": [ { "toolName": "create_jira_issue", "toolDisplayName": "Create Jira issue" }, { "toolName": "update_jira_issue", "toolDisplayName": "Update Jira issue" } ] } } ``` */
|
|
4136
4151
|
enabledTools?: {
|
|
4137
4152
|
[P in string]: GoogleCloudDiscoveryengineV1betaAssistantToolList;
|
|
4138
4153
|
};
|
|
@@ -5256,7 +5271,7 @@ declare namespace gapi.client {
|
|
|
5256
5271
|
disableAnalytics?: boolean;
|
|
5257
5272
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
5258
5273
|
displayName?: string;
|
|
5259
|
-
/** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` */
|
|
5274
|
+
/** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` */
|
|
5260
5275
|
features?: {
|
|
5261
5276
|
[P in string]:
|
|
5262
5277
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -5459,7 +5474,7 @@ declare namespace gapi.client {
|
|
|
5459
5474
|
uri?: string;
|
|
5460
5475
|
}
|
|
5461
5476
|
interface GoogleCloudDiscoveryengineV1betaFeedback {
|
|
5462
|
-
/** Optional. The additional user comment of the feedback
|
|
5477
|
+
/** Optional. The additional user comment of the feedback. */
|
|
5463
5478
|
comment?: string;
|
|
5464
5479
|
/** Optional. The version of the component that this report is being sent from. */
|
|
5465
5480
|
componentVersion?: string;
|
|
@@ -5475,11 +5490,13 @@ declare namespace gapi.client {
|
|
|
5475
5490
|
| 'GOOGLE_WEBAPP'
|
|
5476
5491
|
| 'GOOGLE_AGENTSPACE_MOBILE'
|
|
5477
5492
|
| 'GOOGLE_AGENTSPACE_DESKTOP';
|
|
5478
|
-
/** Required.
|
|
5493
|
+
/** Required. Indicates whether the user gives a positive or negative feedback. */
|
|
5479
5494
|
feedbackType?: 'FEEDBACK_TYPE_UNSPECIFIED' | 'LIKE' | 'DISLIKE';
|
|
5480
5495
|
/** The version of the LLM model that was used to generate the response. */
|
|
5481
5496
|
llmModelVersion?: string;
|
|
5482
|
-
/** Optional.
|
|
5497
|
+
/** Optional. Optional Model Armor false-positive dispute metadata attached to feedback. */
|
|
5498
|
+
modelArmorDisputeInfo?: GoogleCloudDiscoveryengineV1betaFeedbackModelArmorDisputeInfo;
|
|
5499
|
+
/** Optional. The reasons why the user gives feedback. */
|
|
5483
5500
|
reasons?:
|
|
5484
5501
|
| 'REASON_UNSPECIFIED'
|
|
5485
5502
|
| 'INACCURATE_RESPONSE'
|
|
@@ -5490,7 +5507,11 @@ declare namespace gapi.client {
|
|
|
5490
5507
|
| 'BAD_CITATION'
|
|
5491
5508
|
| 'CANVAS_NOT_GENERATED'
|
|
5492
5509
|
| 'CANVAS_QUALITY_BAD'
|
|
5493
|
-
| 'CANVAS_EXPORT_FAILED'
|
|
5510
|
+
| 'CANVAS_EXPORT_FAILED'
|
|
5511
|
+
| 'RELEVANT'
|
|
5512
|
+
| 'COMPREHENSIVE'
|
|
5513
|
+
| 'GOOD_CITATION'
|
|
5514
|
+
| 'ACCURATE'[];
|
|
5494
5515
|
}
|
|
5495
5516
|
interface GoogleCloudDiscoveryengineV1betaFeedbackConversationInfo {
|
|
5496
5517
|
/** Optional. The token which could be used to fetch the answer log. */
|
|
@@ -5510,6 +5531,14 @@ declare namespace gapi.client {
|
|
|
5510
5531
|
/** Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. */
|
|
5511
5532
|
trajectoryId?: string;
|
|
5512
5533
|
}
|
|
5534
|
+
interface GoogleCloudDiscoveryengineV1betaFeedbackModelArmorDisputeInfo {
|
|
5535
|
+
/** Optional. The expected-label reason chip selected by the user (for example, "Everyday question" or "Legitimate work-related query"). */
|
|
5536
|
+
expectedLabel?: string;
|
|
5537
|
+
/** Optional. The raw Model Armor `SanitizationResult`, serialized as JSON. */
|
|
5538
|
+
sanitizationResultJson?: string;
|
|
5539
|
+
/** Optional. Resource name of the Model Armor template that produced the sanitization result, in the format `projects/{project}/locations/{location}/templates/{id}`. */
|
|
5540
|
+
templateName?: string;
|
|
5541
|
+
}
|
|
5513
5542
|
interface GoogleCloudDiscoveryengineV1betaFetchDomainVerificationStatusResponse {
|
|
5514
5543
|
/** A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
5515
5544
|
nextPageToken?: string;
|
|
@@ -6183,6 +6212,8 @@ declare namespace gapi.client {
|
|
|
6183
6212
|
acceptDataUseTerms?: boolean;
|
|
6184
6213
|
/** Required. The version of the [Terms for data use](https://cloud.google.com/retail/data-use-terms) that caller has read and would like to give consent to. Acceptable version is `2022-11-23`, and this may change over time. */
|
|
6185
6214
|
dataUseTermsVersion?: string;
|
|
6215
|
+
/** Optional. The identity provider for this location. When provided, the location's AclConfig is set from it as part of provisioning. */
|
|
6216
|
+
idpConfig?: GoogleCloudDiscoveryengineV1betaIdpConfig;
|
|
6186
6217
|
/** Optional. Parameters for Agentspace. */
|
|
6187
6218
|
saasParams?: GoogleCloudDiscoveryengineV1betaProvisionProjectRequestSaasParams;
|
|
6188
6219
|
}
|
|
@@ -8353,7 +8384,7 @@ declare namespace gapi.client {
|
|
|
8353
8384
|
disableAnalytics?: boolean;
|
|
8354
8385
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
8355
8386
|
displayName?: string;
|
|
8356
|
-
/** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` */
|
|
8387
|
+
/** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications` * `code-extraction` * `remote-vm` * `license-tier-badge` */
|
|
8357
8388
|
features?: {
|
|
8358
8389
|
[P in string]:
|
|
8359
8390
|
| 'FEATURE_STATE_UNSPECIFIED'
|