@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.3.20260815 → 0.3.20260831
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 +288 -7
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://discoveryengine.googleapis.com/$discovery/rest?version=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260831
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1258,6 +1258,8 @@ declare namespace gapi.client {
|
|
|
1258
1258
|
};
|
|
1259
1259
|
/** Optional. Configuration for the generation of the assistant response. */
|
|
1260
1260
|
generationConfig?: GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfig;
|
|
1261
|
+
/** Optional. Indicates whether Knowledge Catalog is enabled for this specific assistant. When enabled, it powers discovery context using organizational data. */
|
|
1262
|
+
knowledgeCatalogEnabled?: boolean;
|
|
1261
1263
|
/** Immutable. Resource name of the assistant. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}` It must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
1262
1264
|
name?: string;
|
|
1263
1265
|
/** Output only. Represents the time when this Assistant was most recently updated. */
|
|
@@ -1369,6 +1371,8 @@ declare namespace gapi.client {
|
|
|
1369
1371
|
visualSegments?: GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataVisualSegment[];
|
|
1370
1372
|
}
|
|
1371
1373
|
interface GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference {
|
|
1374
|
+
/** Output only. Generic structured chunk metadata from upstream data source connectors. */
|
|
1375
|
+
chunkMetadata?: {[P in string]: any};
|
|
1372
1376
|
/** Chunk of code snippet from the referenced document. */
|
|
1373
1377
|
codeSnippet?: string;
|
|
1374
1378
|
/** Referenced text content. */
|
|
@@ -1970,7 +1974,7 @@ declare namespace gapi.client {
|
|
|
1970
1974
|
name?: string;
|
|
1971
1975
|
/** 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. */
|
|
1972
1976
|
numUniqueUsersThreshold?: number;
|
|
1973
|
-
/** 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
|
|
1977
|
+
/** 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. */
|
|
1974
1978
|
queryFrequencyThreshold?: number;
|
|
1975
1979
|
/** 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. */
|
|
1976
1980
|
queryModel?: string;
|
|
@@ -2980,7 +2984,7 @@ declare namespace gapi.client {
|
|
|
2980
2984
|
disableAnalytics?: boolean;
|
|
2981
2985
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
2982
2986
|
displayName?: string;
|
|
2983
|
-
/** 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` */
|
|
2987
|
+
/** 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` */
|
|
2984
2988
|
features?: {
|
|
2985
2989
|
[P in string]:
|
|
2986
2990
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -3796,6 +3800,22 @@ declare namespace gapi.client {
|
|
|
3796
3800
|
/** Inclusive lower bound. */
|
|
3797
3801
|
minimum?: number;
|
|
3798
3802
|
}
|
|
3803
|
+
interface GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpRequest {
|
|
3804
|
+
/** 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. */
|
|
3805
|
+
engine?: string;
|
|
3806
|
+
/** Required. The method to invoke (e.g. "tools/list", "tools/call", "resources/read", "prompts/get", etc.). */
|
|
3807
|
+
method?: string;
|
|
3808
|
+
/** Optional. Arbitrary structured parameters for the method. Using google.protobuf.Struct keeps the payload schema-flexible, matching JSON-RPC's free-form `params` field. */
|
|
3809
|
+
params?: {[P in string]: any};
|
|
3810
|
+
/** 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"). */
|
|
3811
|
+
toolSpecVersion?: string;
|
|
3812
|
+
}
|
|
3813
|
+
interface GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpResponse {
|
|
3814
|
+
/** Error details when the call fails. */
|
|
3815
|
+
error?: GoogleCloudDiscoveryengineV1alphaMcpError;
|
|
3816
|
+
/** Successful result — arbitrary structured data. */
|
|
3817
|
+
result?: any;
|
|
3818
|
+
}
|
|
3799
3819
|
interface GoogleCloudDiscoveryengineV1alphaLanguageInfo {
|
|
3800
3820
|
/** Output only. Language part of normalized_language_code. E.g.: `en-US` -> `en`, `zh-Hans-HK` -> `zh`, `en` -> `en`. */
|
|
3801
3821
|
language?: string;
|
|
@@ -4074,6 +4094,14 @@ declare namespace gapi.client {
|
|
|
4074
4094
|
userLicenses?: GoogleCloudDiscoveryengineV1alphaUserLicense[];
|
|
4075
4095
|
}
|
|
4076
4096
|
interface GoogleCloudDiscoveryengineV1alphaManagedAgentDefinition {}
|
|
4097
|
+
interface GoogleCloudDiscoveryengineV1alphaMcpError {
|
|
4098
|
+
/** Numeric error code. */
|
|
4099
|
+
code?: number;
|
|
4100
|
+
/** Optional structured data with additional error context. */
|
|
4101
|
+
data?: any;
|
|
4102
|
+
/** Short, human-readable description of the error. */
|
|
4103
|
+
message?: string;
|
|
4104
|
+
}
|
|
4077
4105
|
interface GoogleCloudDiscoveryengineV1alphaMediaInfo {
|
|
4078
4106
|
/** 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. */
|
|
4079
4107
|
mediaProgressDuration?: string;
|
|
@@ -5698,6 +5726,8 @@ declare namespace gapi.client {
|
|
|
5698
5726
|
interface GoogleCloudDiscoveryengineV1alphaStreamAssistRequest {
|
|
5699
5727
|
/** Optional. Specification of actions for the request. */
|
|
5700
5728
|
actionSpec?: GoogleCloudDiscoveryengineV1alphaStreamAssistRequestActionSpec;
|
|
5729
|
+
/** Optional. Specification of agents that are used to serve the request. */
|
|
5730
|
+
agentsSpec?: GoogleCloudDiscoveryengineV1alphaStreamAssistRequestAgentsSpec;
|
|
5701
5731
|
/** Optional. Specification of the generation configuration for the request. */
|
|
5702
5732
|
generationSpec?: GoogleCloudDiscoveryengineV1alphaStreamAssistRequestGenerationSpec;
|
|
5703
5733
|
/** 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. */
|
|
@@ -5713,6 +5743,14 @@ declare namespace gapi.client {
|
|
|
5713
5743
|
/** Optional. If true, actions will not be served for the request. This only works for enterprise edition. */
|
|
5714
5744
|
actionDisabled?: boolean;
|
|
5715
5745
|
}
|
|
5746
|
+
interface GoogleCloudDiscoveryengineV1alphaStreamAssistRequestAgentsSpec {
|
|
5747
|
+
/** Optional. Specification of agents that are used to serve the request. */
|
|
5748
|
+
agentSpecs?: GoogleCloudDiscoveryengineV1alphaStreamAssistRequestAgentsSpecAgentSpec[];
|
|
5749
|
+
}
|
|
5750
|
+
interface GoogleCloudDiscoveryengineV1alphaStreamAssistRequestAgentsSpecAgentSpec {
|
|
5751
|
+
/** 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. */
|
|
5752
|
+
agentId?: string;
|
|
5753
|
+
}
|
|
5716
5754
|
interface GoogleCloudDiscoveryengineV1alphaStreamAssistRequestGenerationSpec {
|
|
5717
5755
|
/** Optional. The Vertex AI model_id used for the generative model. If not set, the default Assistant model will be used. */
|
|
5718
5756
|
modelId?: string;
|
|
@@ -6187,7 +6225,7 @@ declare namespace gapi.client {
|
|
|
6187
6225
|
displayName?: string;
|
|
6188
6226
|
/** 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. */
|
|
6189
6227
|
id?: string;
|
|
6190
|
-
/** 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.
|
|
6228
|
+
/** 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. */
|
|
6191
6229
|
isFirstParty?: boolean;
|
|
6192
6230
|
/** 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. */
|
|
6193
6231
|
metadata?: GoogleCloudDiscoveryengineV1alphaDataConnectorConnectorMetadata;
|
|
@@ -6208,6 +6246,12 @@ declare namespace gapi.client {
|
|
|
6208
6246
|
updateTime?: string;
|
|
6209
6247
|
}
|
|
6210
6248
|
interface GoogleCloudDiscoveryengineV1alphaWidgetConfigCustomerProvidedConfig {
|
|
6249
|
+
/** Output only. The customer's Assured Workloads compliance level. `customer_type` collapses every compliance level into a single `GOVERNMENT_CUSTOMER` value, so a client that gates a feature on one specific level rather than on government status as a whole must read this field instead. */
|
|
6250
|
+
complianceLevel?:
|
|
6251
|
+
| 'COMPLIANCE_LEVEL_UNSPECIFIED'
|
|
6252
|
+
| 'COMPLIANCE_LEVEL_FEDRAMP_HIGH'
|
|
6253
|
+
| 'COMPLIANCE_LEVEL_IL4'
|
|
6254
|
+
| 'COMPLIANCE_LEVEL_IL5';
|
|
6211
6255
|
/** Customer type. */
|
|
6212
6256
|
customerType?: 'DEFAULT_CUSTOMER' | 'GOVERNMENT_CUSTOMER';
|
|
6213
6257
|
}
|
|
@@ -6330,7 +6374,7 @@ declare namespace gapi.client {
|
|
|
6330
6374
|
enableSearchAsYouType?: boolean;
|
|
6331
6375
|
/** If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. */
|
|
6332
6376
|
enableVisualContentSummary?: boolean;
|
|
6333
|
-
/** 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` */
|
|
6377
|
+
/** 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` */
|
|
6334
6378
|
features?: {
|
|
6335
6379
|
[P in string]:
|
|
6336
6380
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -6411,6 +6455,8 @@ declare namespace gapi.client {
|
|
|
6411
6455
|
label?: string;
|
|
6412
6456
|
/** 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. */
|
|
6413
6457
|
modelId?: string;
|
|
6458
|
+
/** Output only. Whether this model should be promoted in the GE chat homepage banner. */
|
|
6459
|
+
promoted?: boolean;
|
|
6414
6460
|
}
|
|
6415
6461
|
interface GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfoResolvedModelAdminView {
|
|
6416
6462
|
/** 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`. */
|
|
@@ -7090,7 +7136,7 @@ declare namespace gapi.client {
|
|
|
7090
7136
|
disableAnalytics?: boolean;
|
|
7091
7137
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
7092
7138
|
displayName?: string;
|
|
7093
|
-
/** 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` */
|
|
7139
|
+
/** 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` */
|
|
7094
7140
|
features?: {
|
|
7095
7141
|
[P in string]:
|
|
7096
7142
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -8892,7 +8938,7 @@ declare namespace gapi.client {
|
|
|
8892
8938
|
disableAnalytics?: boolean;
|
|
8893
8939
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
8894
8940
|
displayName?: string;
|
|
8895
|
-
/** 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` */
|
|
8941
|
+
/** 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` */
|
|
8896
8942
|
features?: {
|
|
8897
8943
|
[P in string]:
|
|
8898
8944
|
| 'FEATURE_STATE_UNSPECIFIED'
|
|
@@ -10856,6 +10902,64 @@ declare namespace gapi.client {
|
|
|
10856
10902
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
10857
10903
|
uploadType?: string;
|
|
10858
10904
|
}): Request<GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse>;
|
|
10905
|
+
/** Makes a call to an MCP connector. */
|
|
10906
|
+
invokeConnectorMcp(request: {
|
|
10907
|
+
/** V1 error format. */
|
|
10908
|
+
'$.xgafv'?: '1' | '2';
|
|
10909
|
+
/** OAuth access token. */
|
|
10910
|
+
access_token?: string;
|
|
10911
|
+
/** Data format for response. */
|
|
10912
|
+
alt?: 'json' | 'media' | 'proto';
|
|
10913
|
+
/** JSONP */
|
|
10914
|
+
callback?: string;
|
|
10915
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
10916
|
+
fields?: string;
|
|
10917
|
+
/** 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. */
|
|
10918
|
+
key?: string;
|
|
10919
|
+
/** Required. DataConnector resource. The data connector used for making the MCP call. */
|
|
10920
|
+
name: string;
|
|
10921
|
+
/** OAuth 2.0 token for the current user. */
|
|
10922
|
+
oauth_token?: string;
|
|
10923
|
+
/** Returns response with indentations and line breaks. */
|
|
10924
|
+
prettyPrint?: boolean;
|
|
10925
|
+
/** 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. */
|
|
10926
|
+
quotaUser?: string;
|
|
10927
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
10928
|
+
upload_protocol?: string;
|
|
10929
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
10930
|
+
uploadType?: string;
|
|
10931
|
+
/** Request body */
|
|
10932
|
+
resource: GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpRequest;
|
|
10933
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpResponse>;
|
|
10934
|
+
invokeConnectorMcp(
|
|
10935
|
+
request: {
|
|
10936
|
+
/** V1 error format. */
|
|
10937
|
+
'$.xgafv'?: '1' | '2';
|
|
10938
|
+
/** OAuth access token. */
|
|
10939
|
+
access_token?: string;
|
|
10940
|
+
/** Data format for response. */
|
|
10941
|
+
alt?: 'json' | 'media' | 'proto';
|
|
10942
|
+
/** JSONP */
|
|
10943
|
+
callback?: string;
|
|
10944
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
10945
|
+
fields?: string;
|
|
10946
|
+
/** 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. */
|
|
10947
|
+
key?: string;
|
|
10948
|
+
/** Required. DataConnector resource. The data connector used for making the MCP call. */
|
|
10949
|
+
name: string;
|
|
10950
|
+
/** OAuth 2.0 token for the current user. */
|
|
10951
|
+
oauth_token?: string;
|
|
10952
|
+
/** Returns response with indentations and line breaks. */
|
|
10953
|
+
prettyPrint?: boolean;
|
|
10954
|
+
/** 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. */
|
|
10955
|
+
quotaUser?: string;
|
|
10956
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
10957
|
+
upload_protocol?: string;
|
|
10958
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
10959
|
+
uploadType?: string;
|
|
10960
|
+
},
|
|
10961
|
+
body: GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpRequest,
|
|
10962
|
+
): Request<GoogleCloudDiscoveryengineV1alphaInvokeConnectorMcpResponse>;
|
|
10859
10963
|
/** ServeMcpDeleteRequest serves a MCP DELETE request. */
|
|
10860
10964
|
mcp(request?: {
|
|
10861
10965
|
/** V1 error format. */
|
|
@@ -15076,6 +15180,35 @@ declare namespace gapi.client {
|
|
|
15076
15180
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15077
15181
|
uploadType?: string;
|
|
15078
15182
|
}): Request<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>;
|
|
15183
|
+
/** 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. */
|
|
15184
|
+
getIamPolicy(request?: {
|
|
15185
|
+
/** V1 error format. */
|
|
15186
|
+
'$.xgafv'?: '1' | '2';
|
|
15187
|
+
/** OAuth access token. */
|
|
15188
|
+
access_token?: string;
|
|
15189
|
+
/** Data format for response. */
|
|
15190
|
+
alt?: 'json' | 'media' | 'proto';
|
|
15191
|
+
/** JSONP */
|
|
15192
|
+
callback?: string;
|
|
15193
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15194
|
+
fields?: string;
|
|
15195
|
+
/** 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. */
|
|
15196
|
+
key?: string;
|
|
15197
|
+
/** OAuth 2.0 token for the current user. */
|
|
15198
|
+
oauth_token?: string;
|
|
15199
|
+
/** 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). */
|
|
15200
|
+
'options.requestedPolicyVersion'?: number;
|
|
15201
|
+
/** Returns response with indentations and line breaks. */
|
|
15202
|
+
prettyPrint?: boolean;
|
|
15203
|
+
/** 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. */
|
|
15204
|
+
quotaUser?: string;
|
|
15205
|
+
/** 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. */
|
|
15206
|
+
resource: string;
|
|
15207
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15208
|
+
upload_protocol?: string;
|
|
15209
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15210
|
+
uploadType?: string;
|
|
15211
|
+
}): Request<GoogleIamV1Policy>;
|
|
15079
15212
|
/** Gets the SiteSearchEngine. */
|
|
15080
15213
|
getSiteSearchEngine(request?: {
|
|
15081
15214
|
/** V1 error format. */
|
|
@@ -15319,6 +15452,36 @@ declare namespace gapi.client {
|
|
|
15319
15452
|
},
|
|
15320
15453
|
body: GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest,
|
|
15321
15454
|
): Request<GoogleLongrunningOperation>;
|
|
15455
|
+
/** 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. */
|
|
15456
|
+
setIamPolicy(
|
|
15457
|
+
request: {
|
|
15458
|
+
/** V1 error format. */
|
|
15459
|
+
'$.xgafv'?: '1' | '2';
|
|
15460
|
+
/** OAuth access token. */
|
|
15461
|
+
access_token?: string;
|
|
15462
|
+
/** Data format for response. */
|
|
15463
|
+
alt?: 'json' | 'media' | 'proto';
|
|
15464
|
+
/** JSONP */
|
|
15465
|
+
callback?: string;
|
|
15466
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
15467
|
+
fields?: string;
|
|
15468
|
+
/** 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. */
|
|
15469
|
+
key?: string;
|
|
15470
|
+
/** OAuth 2.0 token for the current user. */
|
|
15471
|
+
oauth_token?: string;
|
|
15472
|
+
/** Returns response with indentations and line breaks. */
|
|
15473
|
+
prettyPrint?: boolean;
|
|
15474
|
+
/** 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. */
|
|
15475
|
+
quotaUser?: string;
|
|
15476
|
+
/** 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. */
|
|
15477
|
+
resource: string;
|
|
15478
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
15479
|
+
upload_protocol?: string;
|
|
15480
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15481
|
+
uploadType?: string;
|
|
15482
|
+
},
|
|
15483
|
+
body: GoogleIamV1SetIamPolicyRequest,
|
|
15484
|
+
): Request<GoogleIamV1Policy>;
|
|
15322
15485
|
/** Trains a custom model. */
|
|
15323
15486
|
trainCustomModel(request: {
|
|
15324
15487
|
/** V1 error format. */
|
|
@@ -19285,6 +19448,35 @@ declare namespace gapi.client {
|
|
|
19285
19448
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
19286
19449
|
uploadType?: string;
|
|
19287
19450
|
}): Request<GoogleCloudDiscoveryengineV1alphaDataConnector>;
|
|
19451
|
+
/** 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. */
|
|
19452
|
+
getIamPolicy(request?: {
|
|
19453
|
+
/** V1 error format. */
|
|
19454
|
+
'$.xgafv'?: '1' | '2';
|
|
19455
|
+
/** OAuth access token. */
|
|
19456
|
+
access_token?: string;
|
|
19457
|
+
/** Data format for response. */
|
|
19458
|
+
alt?: 'json' | 'media' | 'proto';
|
|
19459
|
+
/** JSONP */
|
|
19460
|
+
callback?: string;
|
|
19461
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
19462
|
+
fields?: string;
|
|
19463
|
+
/** 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. */
|
|
19464
|
+
key?: string;
|
|
19465
|
+
/** OAuth 2.0 token for the current user. */
|
|
19466
|
+
oauth_token?: string;
|
|
19467
|
+
/** 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). */
|
|
19468
|
+
'options.requestedPolicyVersion'?: number;
|
|
19469
|
+
/** Returns response with indentations and line breaks. */
|
|
19470
|
+
prettyPrint?: boolean;
|
|
19471
|
+
/** 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. */
|
|
19472
|
+
quotaUser?: string;
|
|
19473
|
+
/** 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. */
|
|
19474
|
+
resource: string;
|
|
19475
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
19476
|
+
upload_protocol?: string;
|
|
19477
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
19478
|
+
uploadType?: string;
|
|
19479
|
+
}): Request<GoogleIamV1Policy>;
|
|
19288
19480
|
/** Gets a list of Collections. */
|
|
19289
19481
|
list(request?: {
|
|
19290
19482
|
/** V1 error format. */
|
|
@@ -19380,6 +19572,36 @@ declare namespace gapi.client {
|
|
|
19380
19572
|
},
|
|
19381
19573
|
body: GoogleCloudDiscoveryengineV1alphaCollection,
|
|
19382
19574
|
): Request<GoogleLongrunningOperation>;
|
|
19575
|
+
/** 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. */
|
|
19576
|
+
setIamPolicy(
|
|
19577
|
+
request: {
|
|
19578
|
+
/** V1 error format. */
|
|
19579
|
+
'$.xgafv'?: '1' | '2';
|
|
19580
|
+
/** OAuth access token. */
|
|
19581
|
+
access_token?: string;
|
|
19582
|
+
/** Data format for response. */
|
|
19583
|
+
alt?: 'json' | 'media' | 'proto';
|
|
19584
|
+
/** JSONP */
|
|
19585
|
+
callback?: string;
|
|
19586
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
19587
|
+
fields?: string;
|
|
19588
|
+
/** 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. */
|
|
19589
|
+
key?: string;
|
|
19590
|
+
/** OAuth 2.0 token for the current user. */
|
|
19591
|
+
oauth_token?: string;
|
|
19592
|
+
/** Returns response with indentations and line breaks. */
|
|
19593
|
+
prettyPrint?: boolean;
|
|
19594
|
+
/** 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. */
|
|
19595
|
+
quotaUser?: string;
|
|
19596
|
+
/** 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. */
|
|
19597
|
+
resource: string;
|
|
19598
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
19599
|
+
upload_protocol?: string;
|
|
19600
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
19601
|
+
uploadType?: string;
|
|
19602
|
+
},
|
|
19603
|
+
body: GoogleIamV1SetIamPolicyRequest,
|
|
19604
|
+
): Request<GoogleIamV1Policy>;
|
|
19383
19605
|
/** Updates a DataConnector. */
|
|
19384
19606
|
updateDataConnector(request: {
|
|
19385
19607
|
/** V1 error format. */
|
|
@@ -23174,6 +23396,35 @@ declare namespace gapi.client {
|
|
|
23174
23396
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
23175
23397
|
uploadType?: string;
|
|
23176
23398
|
}): Request<GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig>;
|
|
23399
|
+
/** 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. */
|
|
23400
|
+
getIamPolicy(request?: {
|
|
23401
|
+
/** V1 error format. */
|
|
23402
|
+
'$.xgafv'?: '1' | '2';
|
|
23403
|
+
/** OAuth access token. */
|
|
23404
|
+
access_token?: string;
|
|
23405
|
+
/** Data format for response. */
|
|
23406
|
+
alt?: 'json' | 'media' | 'proto';
|
|
23407
|
+
/** JSONP */
|
|
23408
|
+
callback?: string;
|
|
23409
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
23410
|
+
fields?: string;
|
|
23411
|
+
/** 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. */
|
|
23412
|
+
key?: string;
|
|
23413
|
+
/** OAuth 2.0 token for the current user. */
|
|
23414
|
+
oauth_token?: string;
|
|
23415
|
+
/** 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). */
|
|
23416
|
+
'options.requestedPolicyVersion'?: number;
|
|
23417
|
+
/** Returns response with indentations and line breaks. */
|
|
23418
|
+
prettyPrint?: boolean;
|
|
23419
|
+
/** 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. */
|
|
23420
|
+
quotaUser?: string;
|
|
23421
|
+
/** 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. */
|
|
23422
|
+
resource: string;
|
|
23423
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
23424
|
+
upload_protocol?: string;
|
|
23425
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
23426
|
+
uploadType?: string;
|
|
23427
|
+
}): Request<GoogleIamV1Policy>;
|
|
23177
23428
|
/** Gets the SiteSearchEngine. */
|
|
23178
23429
|
getSiteSearchEngine(request?: {
|
|
23179
23430
|
/** V1 error format. */
|
|
@@ -23417,6 +23668,36 @@ declare namespace gapi.client {
|
|
|
23417
23668
|
},
|
|
23418
23669
|
body: GoogleCloudDiscoveryengineV1alphaReplacePatientFilterRequest,
|
|
23419
23670
|
): Request<GoogleLongrunningOperation>;
|
|
23671
|
+
/** 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. */
|
|
23672
|
+
setIamPolicy(
|
|
23673
|
+
request: {
|
|
23674
|
+
/** V1 error format. */
|
|
23675
|
+
'$.xgafv'?: '1' | '2';
|
|
23676
|
+
/** OAuth access token. */
|
|
23677
|
+
access_token?: string;
|
|
23678
|
+
/** Data format for response. */
|
|
23679
|
+
alt?: 'json' | 'media' | 'proto';
|
|
23680
|
+
/** JSONP */
|
|
23681
|
+
callback?: string;
|
|
23682
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
23683
|
+
fields?: string;
|
|
23684
|
+
/** 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. */
|
|
23685
|
+
key?: string;
|
|
23686
|
+
/** OAuth 2.0 token for the current user. */
|
|
23687
|
+
oauth_token?: string;
|
|
23688
|
+
/** Returns response with indentations and line breaks. */
|
|
23689
|
+
prettyPrint?: boolean;
|
|
23690
|
+
/** 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. */
|
|
23691
|
+
quotaUser?: string;
|
|
23692
|
+
/** 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. */
|
|
23693
|
+
resource: string;
|
|
23694
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
23695
|
+
upload_protocol?: string;
|
|
23696
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
23697
|
+
uploadType?: string;
|
|
23698
|
+
},
|
|
23699
|
+
body: GoogleIamV1SetIamPolicyRequest,
|
|
23700
|
+
): Request<GoogleIamV1Policy>;
|
|
23420
23701
|
/** Updates the CompletionConfigs. */
|
|
23421
23702
|
updateCompletionConfig(request: {
|
|
23422
23703
|
/** V1 error format. */
|