@maxim_mazurok/gapi.client.discoveryengine-v1 0.3.20261013 → 0.3.20261023
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=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20261023
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -371,6 +371,21 @@ declare namespace gapi.client {
|
|
|
371
371
|
/** The id of the task that is changed */
|
|
372
372
|
taskId?: string;
|
|
373
373
|
}
|
|
374
|
+
interface ApiservingMcpMcpToolVisibility {
|
|
375
|
+
/** A list of field-level visibility restrictions. */
|
|
376
|
+
fieldVisibility?: ApiservingMcpMcpToolVisibilityFieldVisibility[];
|
|
377
|
+
/** The strategy used to enforce visibility restrictions. DO NOT USE. This field is not yet implemented. */
|
|
378
|
+
visibilityEnforcementStrategy?:
|
|
379
|
+
'VISIBILITY_ENFORCEMENT_STRATEGY_UNSPECIFIED' | 'COMBINE' | 'OVERRIDE';
|
|
380
|
+
/** The visibility restriction labels for the tool itself (e.g., "PRODUCER_DEFINED_PREVIEW"). Multiple labels can be provided as a comma-separated string. */
|
|
381
|
+
visibilityRestriction?: string;
|
|
382
|
+
}
|
|
383
|
+
interface ApiservingMcpMcpToolVisibilityFieldVisibility {
|
|
384
|
+
/** The visibility restriction labels for this field (comma-separated). */
|
|
385
|
+
restriction?: string;
|
|
386
|
+
/** The name of the parameter in the input_schema or output_schema. */
|
|
387
|
+
selector?: string;
|
|
388
|
+
}
|
|
374
389
|
interface GoogleApiDistribution {
|
|
375
390
|
/** 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). */
|
|
376
391
|
bucketCounts?: string[];
|
|
@@ -1169,7 +1184,7 @@ declare namespace gapi.client {
|
|
|
1169
1184
|
interface GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult {
|
|
1170
1185
|
/** 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. */
|
|
1171
1186
|
policyResults?: GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult[];
|
|
1172
|
-
/** Final verdict of the customer policy enforcement. If
|
|
1187
|
+
/** 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. */
|
|
1173
1188
|
verdict?: 'UNSPECIFIED' | 'ALLOW' | 'BLOCK';
|
|
1174
1189
|
/** Output only. The source of the violation. */
|
|
1175
1190
|
violationSource?:
|
|
@@ -2203,7 +2218,7 @@ declare namespace gapi.client {
|
|
|
2203
2218
|
disableAnalytics?: boolean;
|
|
2204
2219
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
2205
2220
|
displayName?: string;
|
|
2206
|
-
/** 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` */
|
|
2221
|
+
/** 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` */
|
|
2207
2222
|
features?: {
|
|
2208
2223
|
[P in string]:
|
|
2209
2224
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -4241,7 +4256,7 @@ declare namespace gapi.client {
|
|
|
4241
4256
|
interface GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult {
|
|
4242
4257
|
/** 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. */
|
|
4243
4258
|
policyResults?: GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult[];
|
|
4244
|
-
/** Final verdict of the customer policy enforcement. If
|
|
4259
|
+
/** 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. */
|
|
4245
4260
|
verdict?: 'UNSPECIFIED' | 'ALLOW' | 'BLOCK';
|
|
4246
4261
|
/** Output only. The source of the violation. */
|
|
4247
4262
|
violationSource?:
|
|
@@ -4280,7 +4295,7 @@ declare namespace gapi.client {
|
|
|
4280
4295
|
description?: string;
|
|
4281
4296
|
/** Required. The assistant display name. It must be a UTF-8 encoded string with a length limit of 128 characters. */
|
|
4282
4297
|
displayName?: string;
|
|
4283
|
-
/** Optional.
|
|
4298
|
+
/** 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" } ] } } ``` */
|
|
4284
4299
|
enabledTools?: {
|
|
4285
4300
|
[P in string]: GoogleCloudDiscoveryengineV1AssistantToolList;
|
|
4286
4301
|
};
|
|
@@ -5042,7 +5057,7 @@ declare namespace gapi.client {
|
|
|
5042
5057
|
disableAnalytics?: boolean;
|
|
5043
5058
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
5044
5059
|
displayName?: string;
|
|
5045
|
-
/** 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` */
|
|
5060
|
+
/** 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` */
|
|
5046
5061
|
features?: {
|
|
5047
5062
|
[P in string]:
|
|
5048
5063
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -7309,7 +7324,7 @@ declare namespace gapi.client {
|
|
|
7309
7324
|
disableAnalytics?: boolean;
|
|
7310
7325
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
7311
7326
|
displayName?: string;
|
|
7312
|
-
/** 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` */
|
|
7327
|
+
/** 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` */
|
|
7313
7328
|
features?: {
|
|
7314
7329
|
[P in string]:
|
|
7315
7330
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -7483,7 +7498,7 @@ declare namespace gapi.client {
|
|
|
7483
7498
|
uri?: string;
|
|
7484
7499
|
}
|
|
7485
7500
|
interface GoogleCloudDiscoveryengineV1Feedback {
|
|
7486
|
-
/** Optional. The additional user comment of the feedback
|
|
7501
|
+
/** Optional. The additional user comment of the feedback. */
|
|
7487
7502
|
comment?: string;
|
|
7488
7503
|
/** Optional. The version of the component that this report is being sent from. */
|
|
7489
7504
|
componentVersion?: string;
|
|
@@ -7499,11 +7514,13 @@ declare namespace gapi.client {
|
|
|
7499
7514
|
| 'GOOGLE_WEBAPP'
|
|
7500
7515
|
| 'GOOGLE_AGENTSPACE_MOBILE'
|
|
7501
7516
|
| 'GOOGLE_AGENTSPACE_DESKTOP';
|
|
7502
|
-
/** Required.
|
|
7517
|
+
/** Required. Indicates whether the user gives a positive or negative feedback. */
|
|
7503
7518
|
feedbackType?: 'FEEDBACK_TYPE_UNSPECIFIED' | 'LIKE' | 'DISLIKE';
|
|
7504
7519
|
/** The version of the LLM model that was used to generate the response. */
|
|
7505
7520
|
llmModelVersion?: string;
|
|
7506
|
-
/** Optional.
|
|
7521
|
+
/** Optional. Optional Model Armor false-positive dispute metadata attached to feedback. */
|
|
7522
|
+
modelArmorDisputeInfo?: GoogleCloudDiscoveryengineV1FeedbackModelArmorDisputeInfo;
|
|
7523
|
+
/** Optional. The reasons why the user gives feedback. */
|
|
7507
7524
|
reasons?:
|
|
7508
7525
|
| 'REASON_UNSPECIFIED'
|
|
7509
7526
|
| 'INACCURATE_RESPONSE'
|
|
@@ -7514,7 +7531,11 @@ declare namespace gapi.client {
|
|
|
7514
7531
|
| 'BAD_CITATION'
|
|
7515
7532
|
| 'CANVAS_NOT_GENERATED'
|
|
7516
7533
|
| 'CANVAS_QUALITY_BAD'
|
|
7517
|
-
| 'CANVAS_EXPORT_FAILED'
|
|
7534
|
+
| 'CANVAS_EXPORT_FAILED'
|
|
7535
|
+
| 'RELEVANT'
|
|
7536
|
+
| 'COMPREHENSIVE'
|
|
7537
|
+
| 'GOOD_CITATION'
|
|
7538
|
+
| 'ACCURATE'[];
|
|
7518
7539
|
}
|
|
7519
7540
|
interface GoogleCloudDiscoveryengineV1FeedbackConversationInfo {
|
|
7520
7541
|
/** Optional. The token which could be used to fetch the answer log. */
|
|
@@ -7534,6 +7555,14 @@ declare namespace gapi.client {
|
|
|
7534
7555
|
/** Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. */
|
|
7535
7556
|
trajectoryId?: string;
|
|
7536
7557
|
}
|
|
7558
|
+
interface GoogleCloudDiscoveryengineV1FeedbackModelArmorDisputeInfo {
|
|
7559
|
+
/** Optional. The expected-label reason chip selected by the user (for example, "Everyday question" or "Legitimate work-related query"). */
|
|
7560
|
+
expectedLabel?: string;
|
|
7561
|
+
/** Optional. The raw Model Armor `SanitizationResult`, serialized as JSON. */
|
|
7562
|
+
sanitizationResultJson?: string;
|
|
7563
|
+
/** Optional. Resource name of the Model Armor template that produced the sanitization result, in the format `projects/{project}/locations/{location}/templates/{id}`. */
|
|
7564
|
+
templateName?: string;
|
|
7565
|
+
}
|
|
7537
7566
|
interface GoogleCloudDiscoveryengineV1FetchDomainVerificationStatusResponse {
|
|
7538
7567
|
/** A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
7539
7568
|
nextPageToken?: string;
|
|
@@ -8120,6 +8149,8 @@ declare namespace gapi.client {
|
|
|
8120
8149
|
acceptDataUseTerms?: boolean;
|
|
8121
8150
|
/** 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. */
|
|
8122
8151
|
dataUseTermsVersion?: string;
|
|
8152
|
+
/** Optional. The identity provider for this location. When provided, the location's AclConfig is set from it as part of provisioning. */
|
|
8153
|
+
idpConfig?: GoogleCloudDiscoveryengineV1IdpConfig;
|
|
8123
8154
|
/** Optional. Parameters for Agentspace. */
|
|
8124
8155
|
saasParams?: GoogleCloudDiscoveryengineV1ProvisionProjectRequestSaasParams;
|
|
8125
8156
|
}
|
|
@@ -9664,7 +9695,7 @@ declare namespace gapi.client {
|
|
|
9664
9695
|
enableSearchAsYouType?: boolean;
|
|
9665
9696
|
/** If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. */
|
|
9666
9697
|
enableVisualContentSummary?: boolean;
|
|
9667
|
-
/** Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `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` */
|
|
9698
|
+
/** Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `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` */
|
|
9668
9699
|
features?: {
|
|
9669
9700
|
[P in string]:
|
|
9670
9701
|
| 'FEATURE_STATE_UNSPECIFIED'
|