@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.1.20260310 → 0.1.20260317
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 +37 -100
- 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: 20260317
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -418,6 +418,8 @@ declare namespace gapi.client {
|
|
|
418
418
|
managedAgentDefinition?: any;
|
|
419
419
|
/** Identifier. Resource name of the agent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}` */
|
|
420
420
|
name?: string;
|
|
421
|
+
/** Optional. Observability config for the agent. */
|
|
422
|
+
observabilityConfig?: GoogleCloudDiscoveryengineV1alphaObservabilityConfig;
|
|
421
423
|
/** Output only. The reason why the agent was rejected. Only set if the state is PRIVATE, and got there via rejection. */
|
|
422
424
|
rejectionReason?: string;
|
|
423
425
|
/** Optional. The sharing config of the agent. */
|
|
@@ -826,8 +828,6 @@ declare namespace gapi.client {
|
|
|
826
828
|
interface GoogleCloudDiscoveryengineV1alphaAnswerReference {
|
|
827
829
|
/** Chunk information. */
|
|
828
830
|
chunkInfo?: GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo;
|
|
829
|
-
/** Output only. The search queries that produced this reference. */
|
|
830
|
-
queries?: string[];
|
|
831
831
|
/** Structured document information. */
|
|
832
832
|
structuredDocumentInfo?: GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo;
|
|
833
833
|
/** Unstructured document information. */
|
|
@@ -1916,6 +1916,8 @@ declare namespace gapi.client {
|
|
|
1916
1916
|
dataSource?: string;
|
|
1917
1917
|
/** Optional. Any target destinations used to connect to third-party services. */
|
|
1918
1918
|
destinationConfigs?: GoogleCloudDiscoveryengineV1alphaDestinationConfig[];
|
|
1919
|
+
/** Output only. The dynamic tools fetched for this connector. */
|
|
1920
|
+
dynamicTools?: GoogleCloudDiscoveryengineV1alphaDynamicTool[];
|
|
1919
1921
|
/** Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs. Note: This field is derived from both the DataConnector.params, and connector source spec. It should only be used for CAIS and Org Policy evaluation purposes. */
|
|
1920
1922
|
egressFqdns?: string[];
|
|
1921
1923
|
/** Optional. Any params and credentials used specifically for EUA connectors. */
|
|
@@ -2388,6 +2390,16 @@ declare namespace gapi.client {
|
|
|
2388
2390
|
/** Double values. */
|
|
2389
2391
|
values?: number[];
|
|
2390
2392
|
}
|
|
2393
|
+
interface GoogleCloudDiscoveryengineV1alphaDynamicTool {
|
|
2394
|
+
/** Optional. The description of the tool. */
|
|
2395
|
+
description?: string;
|
|
2396
|
+
/** Optional. The display name of the tool. */
|
|
2397
|
+
displayName?: string;
|
|
2398
|
+
/** Optional. Whether the tool is enabled. */
|
|
2399
|
+
enabled?: boolean;
|
|
2400
|
+
/** Required. The name of the tool. */
|
|
2401
|
+
name?: string;
|
|
2402
|
+
}
|
|
2391
2403
|
interface GoogleCloudDiscoveryengineV1alphaEmbeddingConfig {
|
|
2392
2404
|
/** Full field path in the schema mapped as embedding field. */
|
|
2393
2405
|
fieldPath?: string;
|
|
@@ -4721,7 +4733,7 @@ declare namespace gapi.client {
|
|
|
4721
4733
|
interface GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorRequest {
|
|
4722
4734
|
/** Required. The display name of the Collection. Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters. */
|
|
4723
4735
|
collectionDisplayName?: string;
|
|
4724
|
-
/** Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection.
|
|
4736
|
+
/** Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. Should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
4725
4737
|
collectionId?: string;
|
|
4726
4738
|
/** Required. The DataConnector to initialize in the newly created Collection. */
|
|
4727
4739
|
dataConnector?: GoogleCloudDiscoveryengineV1alphaDataConnector;
|
|
@@ -7033,6 +7045,8 @@ declare namespace gapi.client {
|
|
|
7033
7045
|
dataSource?: string;
|
|
7034
7046
|
/** Optional. Any target destinations used to connect to third-party services. */
|
|
7035
7047
|
destinationConfigs?: GoogleCloudDiscoveryengineV1DestinationConfig[];
|
|
7048
|
+
/** Output only. The dynamic tools fetched for this connector. */
|
|
7049
|
+
dynamicTools?: GoogleCloudDiscoveryengineV1DynamicTool[];
|
|
7036
7050
|
/** Output only. The list of FQDNs of the data connector can egress to. This includes both FQDN derived from the customer provided instance URL and default per connector type FQDNs. Note: This field is derived from both the DataConnector.params, and connector source spec. It should only be used for CAIS and Org Policy evaluation purposes. */
|
|
7037
7051
|
egressFqdns?: string[];
|
|
7038
7052
|
/** Optional. Any params and credentials used specifically for EUA connectors. */
|
|
@@ -7374,6 +7388,16 @@ declare namespace gapi.client {
|
|
|
7374
7388
|
/** If true, will use native text instead of OCR text on pages containing native text. */
|
|
7375
7389
|
useNativeText?: boolean;
|
|
7376
7390
|
}
|
|
7391
|
+
interface GoogleCloudDiscoveryengineV1DynamicTool {
|
|
7392
|
+
/** Optional. The description of the tool. */
|
|
7393
|
+
description?: string;
|
|
7394
|
+
/** Optional. The display name of the tool. */
|
|
7395
|
+
displayName?: string;
|
|
7396
|
+
/** Optional. Whether the tool is enabled. */
|
|
7397
|
+
enabled?: boolean;
|
|
7398
|
+
/** Required. The name of the tool. */
|
|
7399
|
+
name?: string;
|
|
7400
|
+
}
|
|
7377
7401
|
interface GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchMetadata {
|
|
7378
7402
|
/** Operation create time. */
|
|
7379
7403
|
createTime?: string;
|
|
@@ -9003,11 +9027,11 @@ declare namespace gapi.client {
|
|
|
9003
9027
|
key?: string;
|
|
9004
9028
|
/** OAuth 2.0 token for the current user. */
|
|
9005
9029
|
oauth_token?: string;
|
|
9006
|
-
/** Requested page size. Server may return fewer items than requested. If unspecified, defaults to 10. The maximum value is 50; values above 50 will be coerced to 50. If this field is negative, an INVALID_ARGUMENT error is returned. */
|
|
9030
|
+
/** Requested page size. Server may return fewer items than requested. If unspecified, defaults to 10. The maximum value is 50; values above 50 will be coerced to 50. If this field is negative, an `INVALID_ARGUMENT` error is returned. */
|
|
9007
9031
|
pageSize?: number;
|
|
9008
9032
|
/** A page token, received from a previous `ListConnectorRuns` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectorRuns` must match the call that provided the page token. */
|
|
9009
9033
|
pageToken?: string;
|
|
9010
|
-
/** Required. The parent DataConnector resource name, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataConnector`. If the caller does not have permission to list ConnectorRuns under this DataConnector, regardless of whether or not this DataConnector exists, a PERMISSION_DENIED error is returned. */
|
|
9034
|
+
/** Required. The parent DataConnector resource name, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataConnector`. If the caller does not have permission to list ConnectorRuns under this DataConnector, regardless of whether or not this DataConnector exists, a `PERMISSION_DENIED` error is returned. */
|
|
9011
9035
|
parent: string;
|
|
9012
9036
|
/** Returns response with indentations and line breaks. */
|
|
9013
9037
|
prettyPrint?: boolean;
|
|
@@ -14070,6 +14094,8 @@ declare namespace gapi.client {
|
|
|
14070
14094
|
callback?: string;
|
|
14071
14095
|
/** Selector specifying which fields to include in a partial response. */
|
|
14072
14096
|
fields?: string;
|
|
14097
|
+
/** Optional. Filters the Agents list. Supported fields: * `display_name`: display name of the agent. Supports `=`, `:`. * `id`: ID of the agent. Supports `=`. * `state`: state of the agent. Supports `=`. * `type`: type of the agent. Supports `=` (e.g., "GOOGLE_MADE", "OUR_AGENTS"). * `create_time`: timestamp when the agent was created. Supports `=`, `>`, `<`, `>=`, `<=`. * `update_time`: timestamp when the agent was last updated. Supports `=`, `>`, `<`, `>=`, `<=`. * `has_active_iam_proposals`: whether the agent has pending proposals. Supports `=`. Examples: * `display_name = "My Agent"` * `type = "GOOGLE_MADE"` * `create_time > "2023-01-01T00:00:00Z"` * `has_active_iam_proposals = true` */
|
|
14098
|
+
filter?: string;
|
|
14073
14099
|
/** 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. */
|
|
14074
14100
|
key?: string;
|
|
14075
14101
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -16859,7 +16885,7 @@ declare namespace gapi.client {
|
|
|
16859
16885
|
fields?: string;
|
|
16860
16886
|
/** 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. */
|
|
16861
16887
|
key?: string;
|
|
16862
|
-
/** Required. Full resource name of DataConnector, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataConnector`. If the caller does not have permission to access the DataConnector, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataConnector does not exist, a NOT_FOUND error is returned. */
|
|
16888
|
+
/** Required. Full resource name of DataConnector, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataConnector`. If the caller does not have permission to access the DataConnector, regardless of whether or not it exists, a `PERMISSION_DENIED` error is returned. If the requested DataConnector does not exist, a `NOT_FOUND` error is returned. */
|
|
16863
16889
|
name: string;
|
|
16864
16890
|
/** OAuth 2.0 token for the current user. */
|
|
16865
16891
|
oauth_token?: string;
|
|
@@ -16989,7 +17015,7 @@ declare namespace gapi.client {
|
|
|
16989
17015
|
prettyPrint?: boolean;
|
|
16990
17016
|
/** 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. */
|
|
16991
17017
|
quotaUser?: string;
|
|
16992
|
-
/** Indicates which fields in the provided DataConnector to update. Supported field paths include: - `refresh_interval` - `params` - `auto_run_disabled` - `action_config` - `action_config.action_params` - `action_config.service_name` - `destination_configs` - `blocking_reasons` - `sync_mode` - `incremental_sync_disabled` - `incremental_refresh_interval` - `data_protection_policy` Note: Support for these fields may vary depending on the connector type. For example, not all connectors support `destination_configs`. If an unsupported or unknown field path is provided, the request will return an INVALID_ARGUMENT error. */
|
|
17018
|
+
/** Indicates which fields in the provided DataConnector to update. Supported field paths include: - `refresh_interval` - `params` - `auto_run_disabled` - `action_config` - `action_config.action_params` - `action_config.service_name` - `destination_configs` - `blocking_reasons` - `sync_mode` - `incremental_sync_disabled` - `incremental_refresh_interval` - `data_protection_policy` Note: Support for these fields may vary depending on the connector type. For example, not all connectors support `destination_configs`. If an unsupported or unknown field path is provided, the request will return an `INVALID_ARGUMENT` error. */
|
|
16993
17019
|
updateMask?: string;
|
|
16994
17020
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16995
17021
|
upload_protocol?: string;
|
|
@@ -17020,7 +17046,7 @@ declare namespace gapi.client {
|
|
|
17020
17046
|
prettyPrint?: boolean;
|
|
17021
17047
|
/** 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. */
|
|
17022
17048
|
quotaUser?: string;
|
|
17023
|
-
/** Indicates which fields in the provided DataConnector to update. Supported field paths include: - `refresh_interval` - `params` - `auto_run_disabled` - `action_config` - `action_config.action_params` - `action_config.service_name` - `destination_configs` - `blocking_reasons` - `sync_mode` - `incremental_sync_disabled` - `incremental_refresh_interval` - `data_protection_policy` Note: Support for these fields may vary depending on the connector type. For example, not all connectors support `destination_configs`. If an unsupported or unknown field path is provided, the request will return an INVALID_ARGUMENT error. */
|
|
17049
|
+
/** Indicates which fields in the provided DataConnector to update. Supported field paths include: - `refresh_interval` - `params` - `auto_run_disabled` - `action_config` - `action_config.action_params` - `action_config.service_name` - `destination_configs` - `blocking_reasons` - `sync_mode` - `incremental_sync_disabled` - `incremental_refresh_interval` - `data_protection_policy` Note: Support for these fields may vary depending on the connector type. For example, not all connectors support `destination_configs`. If an unsupported or unknown field path is provided, the request will return an `INVALID_ARGUMENT` error. */
|
|
17024
17050
|
updateMask?: string;
|
|
17025
17051
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
17026
17052
|
upload_protocol?: string;
|
|
@@ -23325,95 +23351,6 @@ declare namespace gapi.client {
|
|
|
23325
23351
|
},
|
|
23326
23352
|
body: GoogleCloudDiscoveryengineV1alphaBatchUpdateUserLicensesRequest,
|
|
23327
23353
|
): Request<GoogleLongrunningOperation>;
|
|
23328
|
-
/** Creates a new User Store. */
|
|
23329
|
-
create(request: {
|
|
23330
|
-
/** V1 error format. */
|
|
23331
|
-
'$.xgafv'?: string;
|
|
23332
|
-
/** OAuth access token. */
|
|
23333
|
-
access_token?: string;
|
|
23334
|
-
/** Data format for response. */
|
|
23335
|
-
alt?: string;
|
|
23336
|
-
/** JSONP */
|
|
23337
|
-
callback?: string;
|
|
23338
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
23339
|
-
fields?: string;
|
|
23340
|
-
/** 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. */
|
|
23341
|
-
key?: string;
|
|
23342
|
-
/** OAuth 2.0 token for the current user. */
|
|
23343
|
-
oauth_token?: string;
|
|
23344
|
-
/** Required. The parent collection resource name, such as `projects/{project}/locations/{location}`. */
|
|
23345
|
-
parent: string;
|
|
23346
|
-
/** Returns response with indentations and line breaks. */
|
|
23347
|
-
prettyPrint?: boolean;
|
|
23348
|
-
/** 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. */
|
|
23349
|
-
quotaUser?: string;
|
|
23350
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
23351
|
-
upload_protocol?: string;
|
|
23352
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
23353
|
-
uploadType?: string;
|
|
23354
|
-
/** Required. The ID of the User Store to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters. */
|
|
23355
|
-
userStoreId?: string;
|
|
23356
|
-
/** Request body */
|
|
23357
|
-
resource: GoogleCloudDiscoveryengineV1alphaUserStore;
|
|
23358
|
-
}): Request<GoogleCloudDiscoveryengineV1alphaUserStore>;
|
|
23359
|
-
create(
|
|
23360
|
-
request: {
|
|
23361
|
-
/** V1 error format. */
|
|
23362
|
-
'$.xgafv'?: string;
|
|
23363
|
-
/** OAuth access token. */
|
|
23364
|
-
access_token?: string;
|
|
23365
|
-
/** Data format for response. */
|
|
23366
|
-
alt?: string;
|
|
23367
|
-
/** JSONP */
|
|
23368
|
-
callback?: string;
|
|
23369
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
23370
|
-
fields?: string;
|
|
23371
|
-
/** 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. */
|
|
23372
|
-
key?: string;
|
|
23373
|
-
/** OAuth 2.0 token for the current user. */
|
|
23374
|
-
oauth_token?: string;
|
|
23375
|
-
/** Required. The parent collection resource name, such as `projects/{project}/locations/{location}`. */
|
|
23376
|
-
parent: string;
|
|
23377
|
-
/** Returns response with indentations and line breaks. */
|
|
23378
|
-
prettyPrint?: boolean;
|
|
23379
|
-
/** 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. */
|
|
23380
|
-
quotaUser?: string;
|
|
23381
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
23382
|
-
upload_protocol?: string;
|
|
23383
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
23384
|
-
uploadType?: string;
|
|
23385
|
-
/** Required. The ID of the User Store to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters. */
|
|
23386
|
-
userStoreId?: string;
|
|
23387
|
-
},
|
|
23388
|
-
body: GoogleCloudDiscoveryengineV1alphaUserStore,
|
|
23389
|
-
): Request<GoogleCloudDiscoveryengineV1alphaUserStore>;
|
|
23390
|
-
/** Deletes the User Store. */
|
|
23391
|
-
delete(request?: {
|
|
23392
|
-
/** V1 error format. */
|
|
23393
|
-
'$.xgafv'?: string;
|
|
23394
|
-
/** OAuth access token. */
|
|
23395
|
-
access_token?: string;
|
|
23396
|
-
/** Data format for response. */
|
|
23397
|
-
alt?: string;
|
|
23398
|
-
/** JSONP */
|
|
23399
|
-
callback?: string;
|
|
23400
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
23401
|
-
fields?: string;
|
|
23402
|
-
/** 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. */
|
|
23403
|
-
key?: string;
|
|
23404
|
-
/** Required. The name of the User Store to delete. Format: `projects/{project}/locations/{location}/userStores/{user_store_id}` */
|
|
23405
|
-
name: string;
|
|
23406
|
-
/** OAuth 2.0 token for the current user. */
|
|
23407
|
-
oauth_token?: string;
|
|
23408
|
-
/** Returns response with indentations and line breaks. */
|
|
23409
|
-
prettyPrint?: boolean;
|
|
23410
|
-
/** 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. */
|
|
23411
|
-
quotaUser?: string;
|
|
23412
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
23413
|
-
upload_protocol?: string;
|
|
23414
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
23415
|
-
uploadType?: string;
|
|
23416
|
-
}): Request<GoogleLongrunningOperation>;
|
|
23417
23354
|
/** Gets the User Store. */
|
|
23418
23355
|
get(request?: {
|
|
23419
23356
|
/** V1 error format. */
|
|
@@ -23942,7 +23879,7 @@ declare namespace gapi.client {
|
|
|
23942
23879
|
callback?: string;
|
|
23943
23880
|
/** Required. The display name of the Collection. Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters. */
|
|
23944
23881
|
collectionDisplayName?: string;
|
|
23945
|
-
/** Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection.
|
|
23882
|
+
/** Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. Should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
23946
23883
|
collectionId?: string;
|
|
23947
23884
|
/** Selector specifying which fields to include in a partial response. */
|
|
23948
23885
|
fields?: string;
|
|
@@ -23975,7 +23912,7 @@ declare namespace gapi.client {
|
|
|
23975
23912
|
callback?: string;
|
|
23976
23913
|
/** Required. The display name of the Collection. Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters. */
|
|
23977
23914
|
collectionDisplayName?: string;
|
|
23978
|
-
/** Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection.
|
|
23915
|
+
/** Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. Should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
|
|
23979
23916
|
collectionId?: string;
|
|
23980
23917
|
/** Selector specifying which fields to include in a partial response. */
|
|
23981
23918
|
fields?: string;
|