@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.3.20260809 → 0.3.20260823
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 +284 -8
- package/package.json +1 -1
- package/readme.md +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: 20260823
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1211,6 +1211,9 @@ declare namespace gapi.client {
|
|
|
1211
1211
|
policyResults?: GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult[];
|
|
1212
1212
|
/** Final verdict of the customer policy enforcement. If only one policy blocked the processing, the verdict is BLOCK. */
|
|
1213
1213
|
verdict?: 'UNSPECIFIED' | 'ALLOW' | 'BLOCK';
|
|
1214
|
+
/** Output only. The source of the violation. */
|
|
1215
|
+
violationSource?:
|
|
1216
|
+
'VIOLATION_SOURCE_UNSPECIFIED' | 'SYSTEM' | 'PROMPT' | 'ATTACHMENT';
|
|
1214
1217
|
}
|
|
1215
1218
|
interface GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult {
|
|
1216
1219
|
/** The banned phrases that were found in the query or the answer. */
|
|
@@ -1366,6 +1369,8 @@ declare namespace gapi.client {
|
|
|
1366
1369
|
visualSegments?: GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataVisualSegment[];
|
|
1367
1370
|
}
|
|
1368
1371
|
interface GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference {
|
|
1372
|
+
/** Output only. Generic structured chunk metadata from upstream data source connectors. */
|
|
1373
|
+
chunkMetadata?: {[P in string]: any};
|
|
1369
1374
|
/** Chunk of code snippet from the referenced document. */
|
|
1370
1375
|
codeSnippet?: string;
|
|
1371
1376
|
/** Referenced text content. */
|
|
@@ -1967,7 +1972,7 @@ declare namespace gapi.client {
|
|
|
1967
1972
|
name?: string;
|
|
1968
1973
|
/** This field is only meaningful for suggestions generated from user events or search history, which may have user ids attached. If the number of unique users that have searched a query is less than this threshold, the query will not be generated as a suggestion. This is field can be helpful for preventing PII queries becoming suggestions, as those queries are usually uniquely searched. If not set, the default value is 3 used in the generation pipeline. */
|
|
1969
1974
|
numUniqueUsersThreshold?: number;
|
|
1970
|
-
/** This field is only meaningful for suggestions generated from user events or search history. If a query shows up less than this threshold, it may indicate that the query is rarely searched and thus will not be generated as a suggestion. This is field can be helpful for preventing PII queries becoming suggestions, as those queries are usually uniquely searched. If not set, the default value is
|
|
1975
|
+
/** This field is only meaningful for suggestions generated from user events or search history. If a query shows up less than this threshold, it may indicate that the query is rarely searched and thus will not be generated as a suggestion. This is field can be helpful for preventing PII queries becoming suggestions, as those queries are usually uniquely searched. If not set, the default value is 8 used in the generation pipeline. */
|
|
1971
1976
|
queryFrequencyThreshold?: number;
|
|
1972
1977
|
/** The data model of query suggestions for serving. Currently supported values: * `automatic` - autocomplete backend automatic selects or mixes suggestions from different models. * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. If query model is empty, the serving applies the "automatic" model by default. */
|
|
1973
1978
|
queryModel?: string;
|
|
@@ -2977,7 +2982,7 @@ declare namespace gapi.client {
|
|
|
2977
2982
|
disableAnalytics?: boolean;
|
|
2978
2983
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
2979
2984
|
displayName?: string;
|
|
2980
|
-
/** 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` * `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` * `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` */
|
|
2985
|
+
/** 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` * `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` */
|
|
2981
2986
|
features?: {
|
|
2982
2987
|
[P in string]:
|
|
2983
2988
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -3793,6 +3798,22 @@ declare namespace gapi.client {
|
|
|
3793
3798
|
/** Inclusive lower bound. */
|
|
3794
3799
|
minimum?: number;
|
|
3795
3800
|
}
|
|
3801
|
+
interface GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpRequest {
|
|
3802
|
+
/** Optional. The engine resource name (e.g. "projects/{project}/locations/{location}/collections/{collection}/engines/{engine}"). Used as the search engine id when invoking tool registry tools that issue Discovery Search Service requests. */
|
|
3803
|
+
engine?: string;
|
|
3804
|
+
/** Required. The method to invoke (e.g. "tools/list", "tools/call", "resources/read", "prompts/get", etc.). */
|
|
3805
|
+
method?: string;
|
|
3806
|
+
/** Optional. Arbitrary structured parameters for the method. Using google.protobuf.Struct keeps the payload schema-flexible, matching JSON-RPC's free-form `params` field. */
|
|
3807
|
+
params?: {[P in string]: any};
|
|
3808
|
+
/** Optional. The tool spec version to resolve the connector's tool surface against. This corresponds to the connector's BAP tool spec file name (e.g. "v2", "v5.2"). When unset, the server uses its default (latest) tool spec for the connector. Applies to all methods (e.g. "tools/list" and "tools/call"). */
|
|
3809
|
+
toolSpecVersion?: string;
|
|
3810
|
+
}
|
|
3811
|
+
interface GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpResponse {
|
|
3812
|
+
/** Error details when the call fails. */
|
|
3813
|
+
error?: GoogleCloudDiscoveryengineV1alphaMcpError;
|
|
3814
|
+
/** Successful result — arbitrary structured data. */
|
|
3815
|
+
result?: any;
|
|
3816
|
+
}
|
|
3796
3817
|
interface GoogleCloudDiscoveryengineV1alphaLanguageInfo {
|
|
3797
3818
|
/** Output only. Language part of normalized_language_code. E.g.: `en-US` -> `en`, `zh-Hans-HK` -> `zh`, `en` -> `en`. */
|
|
3798
3819
|
language?: string;
|
|
@@ -4071,6 +4092,14 @@ declare namespace gapi.client {
|
|
|
4071
4092
|
userLicenses?: GoogleCloudDiscoveryengineV1alphaUserLicense[];
|
|
4072
4093
|
}
|
|
4073
4094
|
interface GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition {}
|
|
4095
|
+
interface GoogleCloudDiscoveryengineV1alphaMcpError {
|
|
4096
|
+
/** Numeric error code. */
|
|
4097
|
+
code?: number;
|
|
4098
|
+
/** Optional structured data with additional error context. */
|
|
4099
|
+
data?: any;
|
|
4100
|
+
/** Short, human-readable description of the error. */
|
|
4101
|
+
message?: string;
|
|
4102
|
+
}
|
|
4074
4103
|
interface GoogleCloudDiscoveryengineV1alphaMediaInfo {
|
|
4075
4104
|
/** The media progress time in seconds, if applicable. For example, if the end user has finished 90 seconds of a playback video, then MediaInfo.media_progress_duration.seconds should be set to 90. */
|
|
4076
4105
|
mediaProgressDuration?: string;
|
|
@@ -5181,7 +5210,7 @@ declare namespace gapi.client {
|
|
|
5181
5210
|
mode?: 'MODE_UNSPECIFIED' | 'SUGGESTION_ONLY' | 'AUTO';
|
|
5182
5211
|
}
|
|
5183
5212
|
interface GoogleCloudDiscoveryengineV1alphaSearchResponse {
|
|
5184
|
-
/** Controls applied as part of the Control service. */
|
|
5213
|
+
/** Optional. Controls applied as part of the Control service. */
|
|
5185
5214
|
appliedControls?: string[];
|
|
5186
5215
|
/** A unique search token. This should be included in the UserEvent logs resulting from this search, which enables accurate attribution of search model performance. This also helps to identify a request during the customer support scenarios. */
|
|
5187
5216
|
attributionToken?: string;
|
|
@@ -5695,6 +5724,8 @@ declare namespace gapi.client {
|
|
|
5695
5724
|
interface GoogleCloudDiscoveryengineV1alphaStreamAssistRequest {
|
|
5696
5725
|
/** Optional. Specification of actions for the request. */
|
|
5697
5726
|
actionSpec?: GoogleCloudDiscoveryengineV1alphaStreamAssistRequestActionSpec;
|
|
5727
|
+
/** Optional. Specification of agents that are used to serve the request. */
|
|
5728
|
+
agentsSpec?: GoogleCloudDiscoveryengineV1alphaStreamAssistRequestAgentsSpec;
|
|
5698
5729
|
/** Optional. Specification of the generation configuration for the request. */
|
|
5699
5730
|
generationSpec?: GoogleCloudDiscoveryengineV1alphaStreamAssistRequestGenerationSpec;
|
|
5700
5731
|
/** Optional. Current user query. Empty query is only supported if `file_ids` are provided. In this case, the answer will be generated based on those context files. */
|
|
@@ -5710,6 +5741,14 @@ declare namespace gapi.client {
|
|
|
5710
5741
|
/** Optional. If true, actions will not be served for the request. This only works for enterprise edition. */
|
|
5711
5742
|
actionDisabled?: boolean;
|
|
5712
5743
|
}
|
|
5744
|
+
interface GoogleCloudDiscoveryengineV1alphaStreamAssistRequestAgentsSpec {
|
|
5745
|
+
/** Optional. Specification of agents that are used to serve the request. */
|
|
5746
|
+
agentSpecs?: GoogleCloudDiscoveryengineV1alphaStreamAssistRequestAgentsSpecAgentSpec[];
|
|
5747
|
+
}
|
|
5748
|
+
interface GoogleCloudDiscoveryengineV1alphaStreamAssistRequestAgentsSpecAgentSpec {
|
|
5749
|
+
/** Required. ID to identify the agent resource serving the request. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with a length limit of 63 characters. */
|
|
5750
|
+
agentId?: string;
|
|
5751
|
+
}
|
|
5713
5752
|
interface GoogleCloudDiscoveryengineV1alphaStreamAssistRequestGenerationSpec {
|
|
5714
5753
|
/** Optional. The Vertex AI model_id used for the generative model. If not set, the default Assistant model will be used. */
|
|
5715
5754
|
modelId?: string;
|
|
@@ -6184,7 +6223,7 @@ declare namespace gapi.client {
|
|
|
6184
6223
|
displayName?: string;
|
|
6185
6224
|
/** Output only. the identifier of the collection, used for widget service. For now it refers to collection_id, in the future we will migrate the field to encrypted collection name UUID. For synthetic placeholder entries (see message-level comment) this is a synthetic placeholder id, not a real collection_id. */
|
|
6186
6225
|
id?: string;
|
|
6187
|
-
/** Output only. Whether this is a first-party (Google-owned) connector, as opposed to a third-party connector. Used by the frontend to group 1P vs 3P connectors.
|
|
6226
|
+
/** Output only. Whether this is a first-party (Google-owned) connector, as opposed to a third-party connector. Used by the frontend to group 1P vs 3P connectors. */
|
|
6188
6227
|
isFirstParty?: boolean;
|
|
6189
6228
|
/** Output only. User-facing connector metadata (`title`, `description`, `short_description`, `author`, `note`), retrieved from the registry `ConnectorSource.metadata` (joined by data source). Shown on the connector detail page. */
|
|
6190
6229
|
metadata?: GoogleCloudDiscoveryengineV1alphaDataConnectorConnectorMetadata;
|
|
@@ -6327,7 +6366,7 @@ declare namespace gapi.client {
|
|
|
6327
6366
|
enableSearchAsYouType?: boolean;
|
|
6328
6367
|
/** If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. */
|
|
6329
6368
|
enableVisualContentSummary?: boolean;
|
|
6330
|
-
/** 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` * `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` * `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` */
|
|
6369
|
+
/** 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` * `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` */
|
|
6331
6370
|
features?: {
|
|
6332
6371
|
[P in string]:
|
|
6333
6372
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -6408,6 +6447,8 @@ declare namespace gapi.client {
|
|
|
6408
6447
|
label?: string;
|
|
6409
6448
|
/** Output only. Unique identifier of the model (e.g. `gemini-2.5-flash`, `gemini-3.1-pro-preview`). This is the same identifier that clients pass back to the assistant service to select this model. Virtual / "pseudo" models (e.g. `gemini-fast`) are also valid values here; they are resolved to the underlying concrete model on the backend. */
|
|
6410
6449
|
modelId?: string;
|
|
6450
|
+
/** Output only. Whether this model should be promoted in the GE chat homepage banner. */
|
|
6451
|
+
promoted?: boolean;
|
|
6411
6452
|
}
|
|
6412
6453
|
interface GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfoResolvedModelAdminView {
|
|
6413
6454
|
/** Output only. Whether the admin can toggle this model's enabled/disabled state via `UiSettings.model_configs`. Derived from `MODEL_TAG_ADMIN_OVERRIDABLE`. When false, the model is "forced" and its state is governed by `enabled_by_default`. */
|
|
@@ -7087,7 +7128,7 @@ declare namespace gapi.client {
|
|
|
7087
7128
|
disableAnalytics?: boolean;
|
|
7088
7129
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
7089
7130
|
displayName?: string;
|
|
7090
|
-
/** 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` * `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` * `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` */
|
|
7131
|
+
/** 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` * `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` */
|
|
7091
7132
|
features?: {
|
|
7092
7133
|
[P in string]:
|
|
7093
7134
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -8889,7 +8930,7 @@ declare namespace gapi.client {
|
|
|
8889
8930
|
disableAnalytics?: boolean;
|
|
8890
8931
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
8891
8932
|
displayName?: string;
|
|
8892
|
-
/** 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` * `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` * `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` */
|
|
8933
|
+
/** 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` * `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` */
|
|
8893
8934
|
features?: {
|
|
8894
8935
|
[P in string]:
|
|
8895
8936
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -10853,6 +10894,64 @@ declare namespace gapi.client {
|
|
|
10853
10894
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
10854
10895
|
uploadType?: string;
|
|
10855
10896
|
}): Request<GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse>;
|
|
10897
|
+
/** Makes a call to an MCP connector. */
|
|
10898
|
+
invokeConnectorMcp(request: {
|
|
10899
|
+
/** V1 error format. */
|
|
10900
|
+
'$.xgafv'?: '1' | '2';
|
|
10901
|
+
/** OAuth access token. */
|
|
10902
|
+
access_token?: string;
|
|
10903
|
+
/** Data format for response. */
|
|
10904
|
+
alt?: 'json' | 'media' | 'proto';
|
|
10905
|
+
/** JSONP */
|
|
10906
|
+
callback?: string;
|
|
10907
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
10908
|
+
fields?: string;
|
|
10909
|
+
/** 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. */
|
|
10910
|
+
key?: string;
|
|
10911
|
+
/** Required. DataConnector resource. The data connector used for making the MCP call. */
|
|
10912
|
+
name: string;
|
|
10913
|
+
/** OAuth 2.0 token for the current user. */
|
|
10914
|
+
oauth_token?: string;
|
|
10915
|
+
/** Returns response with indentations and line breaks. */
|
|
10916
|
+
prettyPrint?: boolean;
|
|
10917
|
+
/** 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. */
|
|
10918
|
+
quotaUser?: string;
|
|
10919
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
10920
|
+
upload_protocol?: string;
|
|
10921
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
10922
|
+
uploadType?: string;
|
|
10923
|
+
/** Request body */
|
|
10924
|
+
resource: GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpRequest;
|
|
10925
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpResponse>;
|
|
10926
|
+
invokeConnectorMcp(
|
|
10927
|
+
request: {
|
|
10928
|
+
/** V1 error format. */
|
|
10929
|
+
'$.xgafv'?: '1' | '2';
|
|
10930
|
+
/** OAuth access token. */
|
|
10931
|
+
access_token?: string;
|
|
10932
|
+
/** Data format for response. */
|
|
10933
|
+
alt?: 'json' | 'media' | 'proto';
|
|
10934
|
+
/** JSONP */
|
|
10935
|
+
callback?: string;
|
|
10936
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
10937
|
+
fields?: string;
|
|
10938
|
+
/** 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. */
|
|
10939
|
+
key?: string;
|
|
10940
|
+
/** Required. DataConnector resource. The data connector used for making the MCP call. */
|
|
10941
|
+
name: string;
|
|
10942
|
+
/** OAuth 2.0 token for the current user. */
|
|
10943
|
+
oauth_token?: string;
|
|
10944
|
+
/** Returns response with indentations and line breaks. */
|
|
10945
|
+
prettyPrint?: boolean;
|
|
10946
|
+
/** 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. */
|
|
10947
|
+
quotaUser?: string;
|
|
10948
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
10949
|
+
upload_protocol?: string;
|
|
10950
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
10951
|
+
uploadType?: string;
|
|
10952
|
+
},
|
|
10953
|
+
body: GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpRequest,
|
|
10954
|
+
): Request<GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpResponse>;
|
|
10856
10955
|
/** ServeMcpDeleteRequest serves a MCP DELETE request. */
|
|
10857
10956
|
mcp(request?: {
|
|
10858
10957
|
/** V1 error format. */
|
|
@@ -15073,6 +15172,35 @@ declare namespace gapi.client {
|
|
|
15073
15172
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15074
15173
|
uploadType?: string;
|
|
15075
15174
|
}): Request<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>;
|
|
15175
|
+
/** Gets the IAM access control policy for a DataStore. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it. */
|
|
15176
|
+
getIamPolicy(request?: {
|
|
15177
|
+
/** V1 error format. */
|
|
15178
|
+
'$.xgafv'?: '1' | '2';
|
|
15179
|
+
/** OAuth access token. */
|
|
15180
|
+
access_token?: string;
|
|
15181
|
+
/** Data format for response. */
|
|
15182
|
+
alt?: 'json' | 'media' | 'proto';
|
|
15183
|
+
/** JSONP */
|
|
15184
|
+
callback?: string;
|
|
15185
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15186
|
+
fields?: string;
|
|
15187
|
+
/** 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. */
|
|
15188
|
+
key?: string;
|
|
15189
|
+
/** OAuth 2.0 token for the current user. */
|
|
15190
|
+
oauth_token?: string;
|
|
15191
|
+
/** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
15192
|
+
'options.requestedPolicyVersion'?: number;
|
|
15193
|
+
/** Returns response with indentations and line breaks. */
|
|
15194
|
+
prettyPrint?: boolean;
|
|
15195
|
+
/** 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. */
|
|
15196
|
+
quotaUser?: string;
|
|
15197
|
+
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
15198
|
+
resource: string;
|
|
15199
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15200
|
+
upload_protocol?: string;
|
|
15201
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15202
|
+
uploadType?: string;
|
|
15203
|
+
}): Request<GoogleIamV1Policy>;
|
|
15076
15204
|
/** Gets the SiteSearchEngine. */
|
|
15077
15205
|
getSiteSearchEngine(request?: {
|
|
15078
15206
|
/** V1 error format. */
|
|
@@ -15316,6 +15444,36 @@ declare namespace gapi.client {
|
|
|
15316
15444
|
},
|
|
15317
15445
|
body: GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest,
|
|
15318
15446
|
): Request<GoogleLongrunningOperation>;
|
|
15447
|
+
/** Sets the IAM access control policy for a DataStore. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on a DataStore resource, the only recommended roles in the bindings are: `roles/discoveryengine.admin` `roles/discoveryengine.agentspaceAdmin` `roles/discoveryengine.viewer` `roles/discoveryengine.agentspaceViewer` `roles/discoveryengine.user` `roles/discoveryengine.agentspaceUser` Attempting to grant any other role will result in a warning in logging. */
|
|
15448
|
+
setIamPolicy(
|
|
15449
|
+
request: {
|
|
15450
|
+
/** V1 error format. */
|
|
15451
|
+
'$.xgafv'?: '1' | '2';
|
|
15452
|
+
/** OAuth access token. */
|
|
15453
|
+
access_token?: string;
|
|
15454
|
+
/** Data format for response. */
|
|
15455
|
+
alt?: 'json' | 'media' | 'proto';
|
|
15456
|
+
/** JSONP */
|
|
15457
|
+
callback?: string;
|
|
15458
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15459
|
+
fields?: string;
|
|
15460
|
+
/** 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. */
|
|
15461
|
+
key?: string;
|
|
15462
|
+
/** OAuth 2.0 token for the current user. */
|
|
15463
|
+
oauth_token?: string;
|
|
15464
|
+
/** Returns response with indentations and line breaks. */
|
|
15465
|
+
prettyPrint?: boolean;
|
|
15466
|
+
/** 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. */
|
|
15467
|
+
quotaUser?: string;
|
|
15468
|
+
/** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
15469
|
+
resource: string;
|
|
15470
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15471
|
+
upload_protocol?: string;
|
|
15472
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15473
|
+
uploadType?: string;
|
|
15474
|
+
},
|
|
15475
|
+
body: GoogleIamV1SetIamPolicyRequest,
|
|
15476
|
+
): Request<GoogleIamV1Policy>;
|
|
15319
15477
|
/** Trains a custom model. */
|
|
15320
15478
|
trainCustomModel(request: {
|
|
15321
15479
|
/** V1 error format. */
|
|
@@ -19282,6 +19440,35 @@ declare namespace gapi.client {
|
|
|
19282
19440
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
19283
19441
|
uploadType?: string;
|
|
19284
19442
|
}): Request<GoogleCloudDiscoveryengineV1alphaDataConnector>;
|
|
19443
|
+
/** Gets the IAM access control policy for a Collection. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it. */
|
|
19444
|
+
getIamPolicy(request?: {
|
|
19445
|
+
/** V1 error format. */
|
|
19446
|
+
'$.xgafv'?: '1' | '2';
|
|
19447
|
+
/** OAuth access token. */
|
|
19448
|
+
access_token?: string;
|
|
19449
|
+
/** Data format for response. */
|
|
19450
|
+
alt?: 'json' | 'media' | 'proto';
|
|
19451
|
+
/** JSONP */
|
|
19452
|
+
callback?: string;
|
|
19453
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
19454
|
+
fields?: string;
|
|
19455
|
+
/** 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. */
|
|
19456
|
+
key?: string;
|
|
19457
|
+
/** OAuth 2.0 token for the current user. */
|
|
19458
|
+
oauth_token?: string;
|
|
19459
|
+
/** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
19460
|
+
'options.requestedPolicyVersion'?: number;
|
|
19461
|
+
/** Returns response with indentations and line breaks. */
|
|
19462
|
+
prettyPrint?: boolean;
|
|
19463
|
+
/** 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. */
|
|
19464
|
+
quotaUser?: string;
|
|
19465
|
+
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
19466
|
+
resource: string;
|
|
19467
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
19468
|
+
upload_protocol?: string;
|
|
19469
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
19470
|
+
uploadType?: string;
|
|
19471
|
+
}): Request<GoogleIamV1Policy>;
|
|
19285
19472
|
/** Gets a list of Collections. */
|
|
19286
19473
|
list(request?: {
|
|
19287
19474
|
/** V1 error format. */
|
|
@@ -19377,6 +19564,36 @@ declare namespace gapi.client {
|
|
|
19377
19564
|
},
|
|
19378
19565
|
body: GoogleCloudDiscoveryengineV1alphaCollection,
|
|
19379
19566
|
): Request<GoogleLongrunningOperation>;
|
|
19567
|
+
/** Sets the IAM access control policy for a Collection. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on a Collection resource, the only recommended roles in the bindings are: `roles/discoveryengine.admin` `roles/discoveryengine.agentspaceAdmin` `roles/discoveryengine.viewer` `roles/discoveryengine.agentspaceViewer` `roles/discoveryengine.user` `roles/discoveryengine.agentspaceUser` Attempting to grant any other role will result in a warning in logging. */
|
|
19568
|
+
setIamPolicy(
|
|
19569
|
+
request: {
|
|
19570
|
+
/** V1 error format. */
|
|
19571
|
+
'$.xgafv'?: '1' | '2';
|
|
19572
|
+
/** OAuth access token. */
|
|
19573
|
+
access_token?: string;
|
|
19574
|
+
/** Data format for response. */
|
|
19575
|
+
alt?: 'json' | 'media' | 'proto';
|
|
19576
|
+
/** JSONP */
|
|
19577
|
+
callback?: string;
|
|
19578
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
19579
|
+
fields?: string;
|
|
19580
|
+
/** 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. */
|
|
19581
|
+
key?: string;
|
|
19582
|
+
/** OAuth 2.0 token for the current user. */
|
|
19583
|
+
oauth_token?: string;
|
|
19584
|
+
/** Returns response with indentations and line breaks. */
|
|
19585
|
+
prettyPrint?: boolean;
|
|
19586
|
+
/** 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. */
|
|
19587
|
+
quotaUser?: string;
|
|
19588
|
+
/** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
19589
|
+
resource: string;
|
|
19590
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
19591
|
+
upload_protocol?: string;
|
|
19592
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
19593
|
+
uploadType?: string;
|
|
19594
|
+
},
|
|
19595
|
+
body: GoogleIamV1SetIamPolicyRequest,
|
|
19596
|
+
): Request<GoogleIamV1Policy>;
|
|
19380
19597
|
/** Updates a DataConnector. */
|
|
19381
19598
|
updateDataConnector(request: {
|
|
19382
19599
|
/** V1 error format. */
|
|
@@ -23171,6 +23388,35 @@ declare namespace gapi.client {
|
|
|
23171
23388
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
23172
23389
|
uploadType?: string;
|
|
23173
23390
|
}): Request<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>;
|
|
23391
|
+
/** Gets the IAM access control policy for a DataStore. A `NOT_FOUND` error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it. */
|
|
23392
|
+
getIamPolicy(request?: {
|
|
23393
|
+
/** V1 error format. */
|
|
23394
|
+
'$.xgafv'?: '1' | '2';
|
|
23395
|
+
/** OAuth access token. */
|
|
23396
|
+
access_token?: string;
|
|
23397
|
+
/** Data format for response. */
|
|
23398
|
+
alt?: 'json' | 'media' | 'proto';
|
|
23399
|
+
/** JSONP */
|
|
23400
|
+
callback?: string;
|
|
23401
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
23402
|
+
fields?: string;
|
|
23403
|
+
/** 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. */
|
|
23404
|
+
key?: string;
|
|
23405
|
+
/** OAuth 2.0 token for the current user. */
|
|
23406
|
+
oauth_token?: string;
|
|
23407
|
+
/** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
23408
|
+
'options.requestedPolicyVersion'?: number;
|
|
23409
|
+
/** Returns response with indentations and line breaks. */
|
|
23410
|
+
prettyPrint?: boolean;
|
|
23411
|
+
/** 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. */
|
|
23412
|
+
quotaUser?: string;
|
|
23413
|
+
/** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
23414
|
+
resource: string;
|
|
23415
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
23416
|
+
upload_protocol?: string;
|
|
23417
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
23418
|
+
uploadType?: string;
|
|
23419
|
+
}): Request<GoogleIamV1Policy>;
|
|
23174
23420
|
/** Gets the SiteSearchEngine. */
|
|
23175
23421
|
getSiteSearchEngine(request?: {
|
|
23176
23422
|
/** V1 error format. */
|
|
@@ -23414,6 +23660,36 @@ declare namespace gapi.client {
|
|
|
23414
23660
|
},
|
|
23415
23661
|
body: GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest,
|
|
23416
23662
|
): Request<GoogleLongrunningOperation>;
|
|
23663
|
+
/** Sets the IAM access control policy for a DataStore. A `NOT_FOUND` error is returned if the resource does not exist. **Important:** When setting a policy directly on a DataStore resource, the only recommended roles in the bindings are: `roles/discoveryengine.admin` `roles/discoveryengine.agentspaceAdmin` `roles/discoveryengine.viewer` `roles/discoveryengine.agentspaceViewer` `roles/discoveryengine.user` `roles/discoveryengine.agentspaceUser` Attempting to grant any other role will result in a warning in logging. */
|
|
23664
|
+
setIamPolicy(
|
|
23665
|
+
request: {
|
|
23666
|
+
/** V1 error format. */
|
|
23667
|
+
'$.xgafv'?: '1' | '2';
|
|
23668
|
+
/** OAuth access token. */
|
|
23669
|
+
access_token?: string;
|
|
23670
|
+
/** Data format for response. */
|
|
23671
|
+
alt?: 'json' | 'media' | 'proto';
|
|
23672
|
+
/** JSONP */
|
|
23673
|
+
callback?: string;
|
|
23674
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
23675
|
+
fields?: string;
|
|
23676
|
+
/** 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. */
|
|
23677
|
+
key?: string;
|
|
23678
|
+
/** OAuth 2.0 token for the current user. */
|
|
23679
|
+
oauth_token?: string;
|
|
23680
|
+
/** Returns response with indentations and line breaks. */
|
|
23681
|
+
prettyPrint?: boolean;
|
|
23682
|
+
/** 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. */
|
|
23683
|
+
quotaUser?: string;
|
|
23684
|
+
/** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
|
|
23685
|
+
resource: string;
|
|
23686
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
23687
|
+
upload_protocol?: string;
|
|
23688
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
23689
|
+
uploadType?: string;
|
|
23690
|
+
},
|
|
23691
|
+
body: GoogleIamV1SetIamPolicyRequest,
|
|
23692
|
+
): Request<GoogleIamV1Policy>;
|
|
23417
23693
|
/** Updates the CompletionConfigs. */
|
|
23418
23694
|
updateCompletionConfig(request: {
|
|
23419
23695
|
/** V1 error format. */
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -71,7 +71,7 @@ var client_id = '',
|
|
|
71
71
|
// See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
|
72
72
|
'https://www.googleapis.com/auth/cloud-platform',
|
|
73
73
|
|
|
74
|
-
// View your Agentspace chat history, including uploaded files and generated reports and visualizations, and interact with the Agentspace assistant on your behalf.
|
|
74
|
+
// View your Agentspace chat history, including uploaded files and generated reports and visualizations, and interact with the Agentspace assistant on your behalf. Also view the artifacts you access through NotebookLM Enterprise.
|
|
75
75
|
'https://www.googleapis.com/auth/discoveryengine.assist.readwrite',
|
|
76
76
|
|
|
77
77
|
// View, edit, create, and delete all your data associated with any Discovery Engine API product, such as Agentspace, Vertex AI Search, or NotebookLM Enterprise, including both end user data and administration or configuration data.
|