@maxim_mazurok/gapi.client.discoveryengine-v1alpha 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.
Files changed (2) hide show
  1. package/index.d.ts +43 -12
  2. 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: 20261013
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[];
@@ -1214,7 +1229,7 @@ declare namespace gapi.client {
1214
1229
  interface GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult {
1215
1230
  /** 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. */
1216
1231
  policyResults?: GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult[];
1217
- /** Final verdict of the customer policy enforcement. If only one policy blocked the processing, the verdict is BLOCK. */
1232
+ /** 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. */
1218
1233
  verdict?: 'UNSPECIFIED' | 'ALLOW' | 'BLOCK';
1219
1234
  /** Output only. The source of the violation. */
1220
1235
  violationSource?:
@@ -1257,7 +1272,7 @@ declare namespace gapi.client {
1257
1272
  disableLocationContext?: boolean;
1258
1273
  /** Required. The assistant display name. It must be a UTF-8 encoded string with a length limit of 128 characters. */
1259
1274
  displayName?: string;
1260
- /** 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"),..] } */
1275
+ /** 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" } ] } } ``` */
1261
1276
  enabledTools?: {
1262
1277
  [P in string]: GoogleCloudDiscoveryengineV1alphaAssistantToolList;
1263
1278
  };
@@ -2999,7 +3014,7 @@ declare namespace gapi.client {
2999
3014
  disableAnalytics?: boolean;
3000
3015
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
3001
3016
  displayName?: string;
3002
- /** 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` */
3017
+ /** 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` */
3003
3018
  features?: {
3004
3019
  [P in string]:
3005
3020
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -3293,7 +3308,7 @@ declare namespace gapi.client {
3293
3308
  uri?: string;
3294
3309
  }
3295
3310
  interface GoogleCloudDiscoveryengineV1alphaFeedback {
3296
- /** Optional. The additional user comment of the feedback if user gives a thumb down. */
3311
+ /** Optional. The additional user comment of the feedback. */
3297
3312
  comment?: string;
3298
3313
  /** Optional. The version of the component that this report is being sent from. */
3299
3314
  componentVersion?: string;
@@ -3309,11 +3324,13 @@ declare namespace gapi.client {
3309
3324
  | 'GOOGLE_WEBAPP'
3310
3325
  | 'GOOGLE_AGENTSPACE_MOBILE'
3311
3326
  | 'GOOGLE_AGENTSPACE_DESKTOP';
3312
- /** Required. Indicate whether the user gives a positive or negative feedback. If the user gives a negative feedback, there might be more feedback details. */
3327
+ /** Required. Indicates whether the user gives a positive or negative feedback. */
3313
3328
  feedbackType?: 'FEEDBACK_TYPE_UNSPECIFIED' | 'LIKE' | 'DISLIKE';
3314
3329
  /** The version of the LLM model that was used to generate the response. */
3315
3330
  llmModelVersion?: string;
3316
- /** Optional. The reason if user gives a thumb down. */
3331
+ /** Optional. Optional Model Armor false-positive dispute metadata attached to feedback. */
3332
+ modelArmorDisputeInfo?: GoogleCloudDiscoveryengineV1alphaFeedbackModelArmorDisputeInfo;
3333
+ /** Optional. The reasons why the user gives feedback. */
3317
3334
  reasons?:
3318
3335
  | 'REASON_UNSPECIFIED'
3319
3336
  | 'INACCURATE_RESPONSE'
@@ -3324,7 +3341,11 @@ declare namespace gapi.client {
3324
3341
  | 'BAD_CITATION'
3325
3342
  | 'CANVAS_NOT_GENERATED'
3326
3343
  | 'CANVAS_QUALITY_BAD'
3327
- | 'CANVAS_EXPORT_FAILED'[];
3344
+ | 'CANVAS_EXPORT_FAILED'
3345
+ | 'RELEVANT'
3346
+ | 'COMPREHENSIVE'
3347
+ | 'GOOD_CITATION'
3348
+ | 'ACCURATE'[];
3328
3349
  }
3329
3350
  interface GoogleCloudDiscoveryengineV1alphaFeedbackConversationInfo {
3330
3351
  /** Optional. The token which could be used to fetch the answer log. */
@@ -3344,6 +3365,14 @@ declare namespace gapi.client {
3344
3365
  /** Optional. The runtime trajectory id of the rated agent task turn, as set on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn. */
3345
3366
  trajectoryId?: string;
3346
3367
  }
3368
+ interface GoogleCloudDiscoveryengineV1alphaFeedbackModelArmorDisputeInfo {
3369
+ /** Optional. The expected-label reason chip selected by the user (for example, "Everyday question" or "Legitimate work-related query"). */
3370
+ expectedLabel?: string;
3371
+ /** Optional. The raw Model Armor `SanitizationResult`, serialized as JSON. */
3372
+ sanitizationResultJson?: string;
3373
+ /** Optional. Resource name of the Model Armor template that produced the sanitization result, in the format `projects/{project}/locations/{location}/templates/{id}`. */
3374
+ templateName?: string;
3375
+ }
3347
3376
  interface GoogleCloudDiscoveryengineV1alphaFetchDomainVerificationStatusResponse {
3348
3377
  /** A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
3349
3378
  nextPageToken?: string;
@@ -4341,6 +4370,8 @@ declare namespace gapi.client {
4341
4370
  acceptDataUseTerms?: boolean;
4342
4371
  /** 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. */
4343
4372
  dataUseTermsVersion?: string;
4373
+ /** Optional. The identity provider for this location. When provided, the location's AclConfig is set from it as part of provisioning. */
4374
+ idpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfig;
4344
4375
  /** Optional. Parameters for Agentspace. */
4345
4376
  saasParams?: GoogleCloudDiscoveryengineV1alphaProvisionProjectRequestSaasParams;
4346
4377
  }
@@ -6451,7 +6482,7 @@ declare namespace gapi.client {
6451
6482
  enableSearchAsYouType?: boolean;
6452
6483
  /** If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. */
6453
6484
  enableVisualContentSummary?: boolean;
6454
- /** 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` */
6485
+ /** 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` */
6455
6486
  features?: {
6456
6487
  [P in string]:
6457
6488
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -6616,7 +6647,7 @@ declare namespace gapi.client {
6616
6647
  description?: string;
6617
6648
  /** Required. The assistant display name. It must be a UTF-8 encoded string with a length limit of 128 characters. */
6618
6649
  displayName?: string;
6619
- /** 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"),..] } */
6650
+ /** 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" } ] } } ``` */
6620
6651
  enabledTools?: {
6621
6652
  [P in string]: GoogleCloudDiscoveryengineV1AssistantToolList;
6622
6653
  };
@@ -7233,7 +7264,7 @@ declare namespace gapi.client {
7233
7264
  disableAnalytics?: boolean;
7234
7265
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
7235
7266
  displayName?: string;
7236
- /** 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` */
7267
+ /** 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` */
7237
7268
  features?: {
7238
7269
  [P in string]:
7239
7270
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -9080,7 +9111,7 @@ declare namespace gapi.client {
9080
9111
  disableAnalytics?: boolean;
9081
9112
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
9082
9113
  displayName?: string;
9083
- /** 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` */
9114
+ /** 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` */
9084
9115
  features?: {
9085
9116
  [P in string]:
9086
9117
  | 'FEATURE_STATE_UNSPECIFIED'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1alpha",
3
- "version": "0.3.20261013",
3
+ "version": "0.3.20261022",
4
4
  "description": "TypeScript typings for Discovery Engine API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",