@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.1.20260226 → 0.1.20260310

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +212 -22
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://discoveryengine.googleapis.com/$discovery/rest?version=v1alpha
12
- // Revision: 20260226
12
+ // Revision: 20260310
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -191,15 +191,31 @@ declare namespace gapi.client {
191
191
  jsonActionParams?: string;
192
192
  /** Optional. The Service Directory resource name (projects/*‍/locations/*‍/namespaces/*‍/services/*) representing a VPC network endpoint used to connect to the data source's `instance_uri`, defined in DataConnector.params. Required when VPC Service Controls are enabled. */
193
193
  serviceName?: string;
194
+ /** Optional. Mapping from operation name to the list of scopes. Only be populated if there are user specified scopes. */
195
+ userDefinedScopesMapping?: {
196
+ [P in string]: GoogleCloudDiscoveryengineV1ActionConfigScopeList;
197
+ };
194
198
  /** Optional. Whether to use static secrets for the connector. If true, the secrets provided in the action_params will be ignored. */
195
199
  useStaticSecrets?: boolean;
196
200
  }
201
+ interface GoogleCloudDiscoveryengineV1ActionConfigScopeList {
202
+ /** Optional. The list of scopes. */
203
+ scopes?: string[];
204
+ }
197
205
  interface GoogleCloudDiscoveryengineV1AdvancedSiteSearchConfig {
198
206
  /** If set true, automatic refresh is disabled for the DataStore. */
199
207
  disableAutomaticRefresh?: boolean;
200
208
  /** If set true, initial indexing is disabled for the DataStore. */
201
209
  disableInitialIndex?: boolean;
202
210
  }
211
+ interface GoogleCloudDiscoveryengineV1AgentGatewaySetting {
212
+ /** Optional. The default egress agent gateway to use, when this setting is applied to a Gemini Enterprise resource. The deployment mode must be GOOGLE_MANAGED, and the governed access path must be AGENT_TO_ANYWHERE. */
213
+ defaultEgressAgentGateway?: GoogleCloudDiscoveryengineV1AgentGatewaySettingAgentGatewayReference;
214
+ }
215
+ interface GoogleCloudDiscoveryengineV1AgentGatewaySettingAgentGatewayReference {
216
+ /** Required. Immutable. The resource name of the agent gateway. Expected format: `projects/{project_number}/locations/{location}/agentGateways/{agent_gateway}`. */
217
+ name?: string;
218
+ }
203
219
  interface GoogleCloudDiscoveryengineV1AlertPolicyConfig {
204
220
  /** Optional. The enrollment states of each alert. */
205
221
  alertEnrollments?: GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment[];
@@ -246,9 +262,17 @@ declare namespace gapi.client {
246
262
  jsonActionParams?: string;
247
263
  /** Optional. The Service Directory resource name (projects/*‍/locations/*‍/namespaces/*‍/services/*) representing a VPC network endpoint used to connect to the data source's `instance_uri`, defined in DataConnector.params. Required when VPC Service Controls are enabled. */
248
264
  serviceName?: string;
265
+ /** Optional. Mapping from operation name to the list of scopes. Only be populated if there are user specified scopes. */
266
+ userDefinedScopesMapping?: {
267
+ [P in string]: GoogleCloudDiscoveryengineV1alphaActionConfigScopeList;
268
+ };
249
269
  /** Optional. Whether to use static secrets for the connector. If true, the secrets provided in the action_params will be ignored. */
250
270
  useStaticSecrets?: boolean;
251
271
  }
272
+ interface GoogleCloudDiscoveryengineV1alphaActionConfigScopeList {
273
+ /** Optional. The list of scopes. */
274
+ scopes?: string[];
275
+ }
252
276
  interface GoogleCloudDiscoveryengineV1alphaAddPatientFilterRequest {
253
277
  /** Required. Full resource name of DataStore, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. If the caller does not have permission to access the DataStore, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataStore does not exist, a NOT_FOUND error is returned. If the requested DataStore already has a patient filter, an ALREADY_EXISTS error will be returned. */
254
278
  dataStore?: string;
@@ -415,6 +439,14 @@ declare namespace gapi.client {
415
439
  /** Identifier. The resource name of the file. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}/files/{file}` */
416
440
  name?: string;
417
441
  }
442
+ interface GoogleCloudDiscoveryengineV1alphaAgentGatewaySetting {
443
+ /** Optional. The default egress agent gateway to use, when this setting is applied to a Gemini Enterprise resource. The deployment mode must be GOOGLE_MANAGED, and the governed access path must be AGENT_TO_ANYWHERE. */
444
+ defaultEgressAgentGateway?: GoogleCloudDiscoveryengineV1alphaAgentGatewaySettingAgentGatewayReference;
445
+ }
446
+ interface GoogleCloudDiscoveryengineV1alphaAgentGatewaySettingAgentGatewayReference {
447
+ /** Required. Immutable. The resource name of the agent gateway. Expected format: `projects/{project_number}/locations/{location}/agentGateways/{agent_gateway}`. */
448
+ name?: string;
449
+ }
418
450
  interface GoogleCloudDiscoveryengineV1alphaAgentImage {
419
451
  /** Base64-encoded image file contents. */
420
452
  content?: string;
@@ -794,6 +826,8 @@ declare namespace gapi.client {
794
826
  interface GoogleCloudDiscoveryengineV1alphaAnswerReference {
795
827
  /** Chunk information. */
796
828
  chunkInfo?: GoogleCloudDiscoveryengineV1alphaAnswerReferenceChunkInfo;
829
+ /** Output only. The search queries that produced this reference. */
830
+ queries?: string[];
797
831
  /** Structured document information. */
798
832
  structuredDocumentInfo?: GoogleCloudDiscoveryengineV1alphaAnswerReferenceStructuredDocumentInfo;
799
833
  /** Unstructured document information. */
@@ -1878,7 +1912,7 @@ declare namespace gapi.client {
1878
1912
  createTime?: string;
1879
1913
  /** Optional. Specifies the data protection policy for the connector. */
1880
1914
  dataProtectionPolicy?: GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy;
1881
- /** Required. The name of the data source. Supported values: `salesforce`, `jira`, `confluence`, `bigquery`. */
1915
+ /** Required. The identifier for the data source. This is a partial list of supported connectors. Please refer to the [documentation](https://docs.cloud.google.com/gemini/enterprise/docs/connectors/introduction-to-connectors-and-data-stores) for the full list of connectors. Supported first-party connectors include: * `gcs` * `bigquery` * `gcp_fhir` * `google_mail` * `google_drive` * `google_calendar` * `google_chat` Supported third-party connectors include: Generally available (GA) connectors: * `onedrive` * `outlook` * `confluence` * `jira` * `servicenow` * `sharepoint` Preview connectors: * `asana` * `azure_active_directory` * `box` * `canva` * `confluence_server` * `custom_connector` * `docusign` * `dropbox` * `dynamics365` * `github` * `gitlab` * `hubspot` * `jira_server` * `linear` * `native_cloud_identity` * `notion` * `okta` * `pagerduty` * `peoplesoft` * `salesforce` * `shopify` * `slack` * `snowflake` * `teams` * `trello` * `workday` * `zendesk` */
1882
1916
  dataSource?: string;
1883
1917
  /** Optional. Any target destinations used to connect to third-party services. */
1884
1918
  destinationConfigs?: GoogleCloudDiscoveryengineV1alphaDestinationConfig[];
@@ -1988,11 +2022,11 @@ declare namespace gapi.client {
1988
2022
  startingSchema?: GoogleCloudDiscoveryengineV1alphaSchema;
1989
2023
  }
1990
2024
  interface GoogleCloudDiscoveryengineV1alphaDataProtectionPolicy {
1991
- /** Optional. The sensitive data protection policy for the connector source. */
2025
+ /** Optional. Specifies the sensitive data protection policy for the connector source. */
1992
2026
  sensitiveDataProtectionPolicy?: GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy;
1993
2027
  }
1994
2028
  interface GoogleCloudDiscoveryengineV1alphaDataProtectionPolicySensitiveDataProtectionPolicy {
1995
- /** Optional. The Sensitive Data Protection content policy resource name. */
2029
+ /** Optional. Specifies the resource name of the Sensitive Data Protection content policy. */
1996
2030
  policy?: string;
1997
2031
  }
1998
2032
  interface GoogleCloudDiscoveryengineV1alphaDataStore {
@@ -2018,6 +2052,8 @@ declare namespace gapi.client {
2018
2052
  displayName?: string;
2019
2053
  /** Configuration for Document understanding and enrichment. */
2020
2054
  documentProcessingConfig?: GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfig;
2055
+ /** Optional. If set, this DataStore is a federated search DataStore. */
2056
+ federatedSearchConfig?: GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfig;
2021
2057
  /** Optional. Configuration for `HEALTHCARE_FHIR` vertical. */
2022
2058
  healthcareFhirConfig?: GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig;
2023
2059
  /** Immutable. The fully qualified resource name of the associated IdentityMappingStore. This field can only be set for acl_enabled DataStores with `THIRD_PARTY` or `GSUITE` IdP. Format: `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`. */
@@ -2059,6 +2095,50 @@ declare namespace gapi.client {
2059
2095
  /** Last updated timestamp for websites. */
2060
2096
  websiteDataUpdateTime?: string;
2061
2097
  }
2098
+ interface GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfig {
2099
+ /** AlloyDB config. If set, this DataStore is connected to AlloyDB. */
2100
+ alloyDbConfig?: GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfig;
2101
+ /** NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. */
2102
+ notebooklmConfig?: GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig;
2103
+ /** Third Party OAuth config. If set, this DataStore is connected to a third party application. */
2104
+ thirdPartyOauthConfig?: GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigThirdPartyOauthConfig;
2105
+ }
2106
+ interface GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfig {
2107
+ /** Optional. Configuration for Magic. */
2108
+ alloydbAiNlConfig?: GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig;
2109
+ /** Required. Configuration for connecting to AlloyDB. */
2110
+ alloydbConnectionConfig?: GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig;
2111
+ /** Optional. Fields to be returned in the search results. If empty, all fields will be returned. */
2112
+ returnedFields?: string[];
2113
+ }
2114
+ interface GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig {
2115
+ /** Optional. AlloyDb AI NL config id, i.e. the value that was used for calling `SELECT alloydb_ai_nl.g_create_configuration(...)`. Can be empty. */
2116
+ nlConfigId?: string;
2117
+ }
2118
+ interface GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig {
2119
+ /** Optional. Auth mode. */
2120
+ authMode?: string;
2121
+ /** Required. The AlloyDB database to connect to. */
2122
+ database?: string;
2123
+ /** Optional. If true, enable PSVS for AlloyDB. */
2124
+ enablePsvs?: boolean;
2125
+ /** Required. The AlloyDB instance to connect to. */
2126
+ instance?: string;
2127
+ /** Required. Database password. If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the password will be inferred on the AlloyDB side, based on the authenticated user. */
2128
+ password?: string;
2129
+ /** Required. Database user. If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the user will be inferred on the AlloyDB side, based on the authenticated user. */
2130
+ user?: string;
2131
+ }
2132
+ interface GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigNotebooklmConfig {
2133
+ /** Required. Search config name. Format: projects/*‍/locations/global/notebookLmSearchConfigs/* */
2134
+ searchConfig?: string;
2135
+ }
2136
+ interface GoogleCloudDiscoveryengineV1alphaDataStoreFederatedSearchConfigThirdPartyOauthConfig {
2137
+ /** Optional. The type of the application. E.g., "jira", "box", etc. */
2138
+ appName?: string;
2139
+ /** Optional. The instance name identifying the 3P app, e.g., "vaissptbots-my". This is different from the instance_uri which is the full URL of the 3P app e.g., "https://vaissptbots-my.sharepoint.com". */
2140
+ instanceName?: string;
2141
+ }
2062
2142
  interface GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore {
2063
2143
  /** Optional. If set true, the DataStore will not be available for serving search requests. */
2064
2144
  disabledForServing?: boolean;
@@ -2321,6 +2401,8 @@ declare namespace gapi.client {
2321
2401
  interface GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchRequest {}
2322
2402
  interface GoogleCloudDiscoveryengineV1alphaEnableAdvancedSiteSearchResponse {}
2323
2403
  interface GoogleCloudDiscoveryengineV1alphaEngine {
2404
+ /** Optional. The agent gateway setting for the engine. */
2405
+ agentGatewaySetting?: GoogleCloudDiscoveryengineV1alphaAgentGatewaySetting;
2324
2406
  /** Optional. Immutable. This the application type which this engine resource represents. NOTE: this is a new concept independ of existing industry vertical or solution type. */
2325
2407
  appType?: string;
2326
2408
  /** Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
@@ -2359,8 +2441,8 @@ declare namespace gapi.client {
2359
2441
  name?: string;
2360
2442
  /** Optional. Observability config for the engine. */
2361
2443
  observabilityConfig?: GoogleCloudDiscoveryengineV1alphaObservabilityConfig;
2362
- /** Optional. The email of the procurement contact. */
2363
- procurementContactEmail?: string;
2444
+ /** Optional. The emails of the procurement contacts. */
2445
+ procurementContactEmails?: string[];
2364
2446
  /** Output only. Additional information of a recommendation engine. Only applicable if solution_type is SOLUTION_TYPE_RECOMMENDATION. */
2365
2447
  recommendationMetadata?: GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata;
2366
2448
  /** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
@@ -2630,6 +2712,8 @@ declare namespace gapi.client {
2630
2712
  retrievableOption?: string;
2631
2713
  /** Field paths for indexing custom attribute from schema.org data. More details of schema.org and its defined types can be found at [schema.org](https://schema.org). It is only used on advanced site search schema. Currently only support full path from root. The full path to a field is constructed by concatenating field names, starting from `_root`, with a period `.` as the delimiter. Examples: * Publish date of the root: _root.datePublished * Publish date of the reviews: _root.review.datePublished */
2632
2714
  schemaOrgPaths?: string[];
2715
+ /** Optional. Specifies the importance of the field when `searchable_option` is `SEARCHABLE_ENABLED`. If `searchable_option` is `SEARCHABLE_DISABLED`, this field is ignored. If `searchable_option` is `SEARCHABLE_ENABLED` and this is `SEARCHABLE_FIELD_IMPORTANCE_UNSPECIFIED`, it behaves as `DEFAULT_IMPORTANCE`. */
2716
+ searchableFieldImportance?: string;
2633
2717
  /** If searchable_option is SEARCHABLE_ENABLED, field values are searchable by text queries in SearchService.Search. If SEARCHABLE_ENABLED but field type is numerical, field values will not be searchable by text queries in SearchService.Search, as there are no text values associated to numerical fields. If searchable_option is unset, the server behavior defaults to SEARCHABLE_DISABLED for fields that support setting searchable options. Only `string` fields that have no key property mapping support setting searchable_option. For those fields that do not support setting searchable options, the server will skip searchable option setting, and setting searchable_option for those fields will throw `INVALID_ARGUMENT` error. */
2634
2718
  searchableOption?: string;
2635
2719
  }
@@ -3249,9 +3333,9 @@ declare namespace gapi.client {
3249
3333
  mode?: string;
3250
3334
  }
3251
3335
  interface GoogleCloudDiscoveryengineV1alphaObservabilityConfig {
3252
- /** Optional. Enables observability. If false, all other flags are ignored. */
3336
+ /** Optional. Enables observability. If `false`, all other flags are ignored. */
3253
3337
  observabilityEnabled?: boolean;
3254
- /** Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. prompts, responses). If false, will sanitize all sensitive fields. */
3338
+ /** Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. prompts, responses). If `false`, will sanitize all sensitive fields. */
3255
3339
  sensitiveLoggingEnabled?: boolean;
3256
3340
  }
3257
3341
  interface GoogleCloudDiscoveryengineV1alphaObtainCrawlRateRequest {
@@ -4009,7 +4093,7 @@ declare namespace gapi.client {
4009
4093
  searchAsYouTypeSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec;
4010
4094
  /** Required. The resource name of the Search serving config, such as `projects/*‍/locations/global/collections/default_collection/engines/*‍/servingConfigs/default_serving_config`, or `projects/*‍/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
4011
4095
  servingConfig?: string;
4012
- /** The session resource name. Optional. Session allows users to do multi-turn /search API calls or coordination between /search API calls and /answer API calls. Example #1 (multi-turn /search API calls): Call /search API with the session ID generated in the first call. Here, the previous search query gets considered in query standing. I.e., if the first query is "How did Alphabet do in 2022?" and the current query is "How about 2023?", the current query will be interpreted as "How did Alphabet do in 2023?". Example #2 (coordination between /search API calls and /answer API calls): Call /answer API with the session ID generated in the first call. Here, the answer generation happens in the context of the search results from the first search call. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team. */
4096
+ /** The session resource name. Optional. Session allows users to do multi-turn /search API calls or coordination between /search API calls and /answer API calls. Example #1 (multi-turn /search API calls): Call /search API with the session ID generated in the first call. Here, the previous search query gets considered in query standing. I.e., if the first query is "How did Alphabet do in 2022?" and the current query is "How about 2023?", the current query will be interpreted as "How did Alphabet do in 2023?". Example #2 (coordination between /search API calls and /answer API calls): Call /answer API with the session ID generated in the first call. Here, the answer generation happens in the context of the search results from the first search call. */
4013
4097
  session?: string;
4014
4098
  /** Session specification. Can be used only when `session` is set. */
4015
4099
  sessionSpec?: GoogleCloudDiscoveryengineV1alphaSearchRequestSessionSpec;
@@ -4915,6 +4999,8 @@ declare namespace gapi.client {
4915
4999
  documents?: GoogleCloudDiscoveryengineV1alphaDocumentInfo[];
4916
5000
  /** The Engine resource name, in the form of `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}`. Optional. Only required for Engine produced user events. For example, user events from blended search. */
4917
5001
  engine?: string;
5002
+ /** Optional. Represents the entity for customers that may run multiple different entities, domains, sites or regions, for example, `Google US`, `Google Ads`, `Waymo`, `google.com`, `youtube.com`, etc. We recommend that you set `entity` to get better per-entity search, completion, and prediction results. */
5003
+ entity?: string;
4918
5004
  /** Only required for UserEventService.ImportUserEvents method. Timestamp of when the user event happened. */
4919
5005
  eventTime?: string;
4920
5006
  /** Required. User event type. Allowed values are: Generic values: * `search`: Search for Documents. * `view-item`: Detailed page view of a Document. * `view-item-list`: View of a panel or ordered list of Documents. * `view-home-page`: View of the home page. * `view-category-page`: View of a category page, e.g. Home > Men > Jeans Retail-related values: * `add-to-cart`: Add an item(s) to cart, e.g. in Retail online shopping * `purchase`: Purchase an item(s) Media-related values: * `media-play`: Start/resume watching a video, playing a song, etc. * `media-complete`: Finished or stopped midway through a video, song, etc. Custom conversion value: * `conversion`: Customer defined conversion event. */
@@ -4949,7 +5035,7 @@ declare namespace gapi.client {
4949
5035
  timeZone?: string;
4950
5036
  /** User agent as included in the HTTP header. The field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or if UserEvent.direct_user_request is set. */
4951
5037
  userAgent?: string;
4952
- /** Highly recommended for logged-in users. Unique identifier for logged-in user, such as a user name. Don't set for anonymous users. Always use a hashed value for this ID. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
5038
+ /** Highly recommended for logged-in users. Unique identifier for logged-in user, such as a user name. Don't set for anonymous users. Always use a hashed value for this ID. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. Represents an opaque ID to the Search API. The Search API doesn't interpret the value in any way. This field is used to associate events with a user across sessions if the events are being uploaded. */
4953
5039
  userId?: string;
4954
5040
  }
4955
5041
  interface GoogleCloudDiscoveryengineV1alphaUserLicense {
@@ -5404,6 +5490,14 @@ declare namespace gapi.client {
5404
5490
  /** If set true, initial indexing is disabled for the DataStore. */
5405
5491
  disableInitialIndex?: boolean;
5406
5492
  }
5493
+ interface GoogleCloudDiscoveryengineV1betaAgentGatewaySetting {
5494
+ /** Optional. The default egress agent gateway to use, when this setting is applied to a Gemini Enterprise resource. The deployment mode must be GOOGLE_MANAGED, and the governed access path must be AGENT_TO_ANYWHERE. */
5495
+ defaultEgressAgentGateway?: GoogleCloudDiscoveryengineV1betaAgentGatewaySettingAgentGatewayReference;
5496
+ }
5497
+ interface GoogleCloudDiscoveryengineV1betaAgentGatewaySettingAgentGatewayReference {
5498
+ /** Required. Immutable. The resource name of the agent gateway. Expected format: `projects/{project_number}/locations/{location}/agentGateways/{agent_gateway}`. */
5499
+ name?: string;
5500
+ }
5407
5501
  interface GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata {
5408
5502
  /** Operation create time. */
5409
5503
  createTime?: string;
@@ -5598,6 +5692,8 @@ declare namespace gapi.client {
5598
5692
  displayName?: string;
5599
5693
  /** Configuration for Document understanding and enrichment. */
5600
5694
  documentProcessingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig;
5695
+ /** Optional. If set, this DataStore is a federated search DataStore. */
5696
+ federatedSearchConfig?: GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfig;
5601
5697
  /** Optional. Configuration for `HEALTHCARE_FHIR` vertical. */
5602
5698
  healthcareFhirConfig?: GoogleCloudDiscoveryengineV1betaHealthcareFhirConfig;
5603
5699
  /** Immutable. The fully qualified resource name of the associated IdentityMappingStore. This field can only be set for acl_enabled DataStores with `THIRD_PARTY` or `GSUITE` IdP. Format: `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`. */
@@ -5637,6 +5733,50 @@ declare namespace gapi.client {
5637
5733
  /** Last updated timestamp for websites. */
5638
5734
  websiteDataUpdateTime?: string;
5639
5735
  }
5736
+ interface GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfig {
5737
+ /** AlloyDB config. If set, this DataStore is connected to AlloyDB. */
5738
+ alloyDbConfig?: GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfig;
5739
+ /** NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. */
5740
+ notebooklmConfig?: GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig;
5741
+ /** Third Party OAuth config. If set, this DataStore is connected to a third party application. */
5742
+ thirdPartyOauthConfig?: GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigThirdPartyOauthConfig;
5743
+ }
5744
+ interface GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfig {
5745
+ /** Optional. Configuration for Magic. */
5746
+ alloydbAiNlConfig?: GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig;
5747
+ /** Required. Configuration for connecting to AlloyDB. */
5748
+ alloydbConnectionConfig?: GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig;
5749
+ /** Optional. Fields to be returned in the search results. If empty, all fields will be returned. */
5750
+ returnedFields?: string[];
5751
+ }
5752
+ interface GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig {
5753
+ /** Optional. AlloyDb AI NL config id, i.e. the value that was used for calling `SELECT alloydb_ai_nl.g_create_configuration(...)`. Can be empty. */
5754
+ nlConfigId?: string;
5755
+ }
5756
+ interface GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig {
5757
+ /** Optional. Auth mode. */
5758
+ authMode?: string;
5759
+ /** Required. The AlloyDB database to connect to. */
5760
+ database?: string;
5761
+ /** Optional. If true, enable PSVS for AlloyDB. */
5762
+ enablePsvs?: boolean;
5763
+ /** Required. The AlloyDB instance to connect to. */
5764
+ instance?: string;
5765
+ /** Required. Database password. If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the password will be inferred on the AlloyDB side, based on the authenticated user. */
5766
+ password?: string;
5767
+ /** Required. Database user. If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the user will be inferred on the AlloyDB side, based on the authenticated user. */
5768
+ user?: string;
5769
+ }
5770
+ interface GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigNotebooklmConfig {
5771
+ /** Required. Search config name. Format: projects/*‍/locations/global/notebookLmSearchConfigs/* */
5772
+ searchConfig?: string;
5773
+ }
5774
+ interface GoogleCloudDiscoveryengineV1betaDataStoreFederatedSearchConfigThirdPartyOauthConfig {
5775
+ /** Optional. The type of the application. E.g., "jira", "box", etc. */
5776
+ appName?: string;
5777
+ /** Optional. The instance name identifying the 3P app, e.g., "vaissptbots-my". This is different from the instance_uri which is the full URL of the 3P app e.g., "https://vaissptbots-my.sharepoint.com". */
5778
+ instanceName?: string;
5779
+ }
5640
5780
  interface GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore {
5641
5781
  /** Optional. If set true, the DataStore will not be available for serving search requests. */
5642
5782
  disabledForServing?: boolean;
@@ -5757,6 +5897,8 @@ declare namespace gapi.client {
5757
5897
  }
5758
5898
  interface GoogleCloudDiscoveryengineV1betaEnableAdvancedSiteSearchResponse {}
5759
5899
  interface GoogleCloudDiscoveryengineV1betaEngine {
5900
+ /** Optional. The agent gateway setting for the engine. */
5901
+ agentGatewaySetting?: GoogleCloudDiscoveryengineV1betaAgentGatewaySetting;
5760
5902
  /** Optional. Immutable. This the application type which this engine resource represents. NOTE: this is a new concept independ of existing industry vertical or solution type. */
5761
5903
  appType?: string;
5762
5904
  /** Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
@@ -5795,8 +5937,8 @@ declare namespace gapi.client {
5795
5937
  name?: string;
5796
5938
  /** Optional. Observability config for the engine. */
5797
5939
  observabilityConfig?: GoogleCloudDiscoveryengineV1betaObservabilityConfig;
5798
- /** Optional. The email of the procurement contact. */
5799
- procurementContactEmail?: string;
5940
+ /** Optional. The emails of the procurement contacts. */
5941
+ procurementContactEmails?: string[];
5800
5942
  /** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
5801
5943
  searchEngineConfig?: GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig;
5802
5944
  /** Required. The solutions of the engine. */
@@ -6091,9 +6233,9 @@ declare namespace gapi.client {
6091
6233
  mode?: string;
6092
6234
  }
6093
6235
  interface GoogleCloudDiscoveryengineV1betaObservabilityConfig {
6094
- /** Optional. Enables observability. If false, all other flags are ignored. */
6236
+ /** Optional. Enables observability. If `false`, all other flags are ignored. */
6095
6237
  observabilityEnabled?: boolean;
6096
- /** Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. prompts, responses). If false, will sanitize all sensitive fields. */
6238
+ /** Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. prompts, responses). If `false`, will sanitize all sensitive fields. */
6097
6239
  sensitiveLoggingEnabled?: boolean;
6098
6240
  }
6099
6241
  interface GoogleCloudDiscoveryengineV1betaObtainCrawlRateResponse {
@@ -6338,7 +6480,7 @@ declare namespace gapi.client {
6338
6480
  searchAsYouTypeSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec;
6339
6481
  /** Required. The resource name of the Search serving config, such as `projects/*‍/locations/global/collections/default_collection/engines/*‍/servingConfigs/default_serving_config`, or `projects/*‍/locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`. This field is used to identify the serving configuration name, set of models used to make the search. */
6340
6482
  servingConfig?: string;
6341
- /** The session resource name. Optional. Session allows users to do multi-turn /search API calls or coordination between /search API calls and /answer API calls. Example #1 (multi-turn /search API calls): Call /search API with the session ID generated in the first call. Here, the previous search query gets considered in query standing. I.e., if the first query is "How did Alphabet do in 2022?" and the current query is "How about 2023?", the current query will be interpreted as "How did Alphabet do in 2023?". Example #2 (coordination between /search API calls and /answer API calls): Call /answer API with the session ID generated in the first call. Here, the answer generation happens in the context of the search results from the first search call. Multi-turn Search feature is currently at private GA stage. Please use v1alpha or v1beta version instead before we launch this feature to public GA. Or ask for allowlisting through Google Support team. */
6483
+ /** The session resource name. Optional. Session allows users to do multi-turn /search API calls or coordination between /search API calls and /answer API calls. Example #1 (multi-turn /search API calls): Call /search API with the session ID generated in the first call. Here, the previous search query gets considered in query standing. I.e., if the first query is "How did Alphabet do in 2022?" and the current query is "How about 2023?", the current query will be interpreted as "How did Alphabet do in 2023?". Example #2 (coordination between /search API calls and /answer API calls): Call /answer API with the session ID generated in the first call. Here, the answer generation happens in the context of the search results from the first search call. */
6342
6484
  session?: string;
6343
6485
  /** Session specification. Can be used only when `session` is set. */
6344
6486
  sessionSpec?: GoogleCloudDiscoveryengineV1betaSearchRequestSessionSpec;
@@ -6675,7 +6817,7 @@ declare namespace gapi.client {
6675
6817
  timeZone?: string;
6676
6818
  /** User agent as included in the HTTP header. The field must be a UTF-8 encoded string with a length limit of 1,000 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. This should not be set when using the client side event reporting with GTM or JavaScript tag in UserEventService.CollectUserEvent or if UserEvent.direct_user_request is set. */
6677
6819
  userAgent?: string;
6678
- /** Highly recommended for logged-in users. Unique identifier for logged-in user, such as a user name. Don't set for anonymous users. Always use a hashed value for this ID. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. */
6820
+ /** Highly recommended for logged-in users. Unique identifier for logged-in user, such as a user name. Don't set for anonymous users. Always use a hashed value for this ID. Don't set the field to the same fixed ID for different users. This mixes the event history of those users together, which results in degraded model quality. The field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an `INVALID_ARGUMENT` error is returned. Represents an opaque ID to the Search API. The Search API doesn't interpret the value in any way. This field is used to associate events with a user across sessions if the events are being uploaded. */
6679
6821
  userId?: string;
6680
6822
  }
6681
6823
  interface GoogleCloudDiscoveryengineV1betaUserLicense {
@@ -6887,7 +7029,7 @@ declare namespace gapi.client {
6887
7029
  createEuaSaas?: boolean;
6888
7030
  /** Output only. Timestamp the DataConnector was created at. */
6889
7031
  createTime?: string;
6890
- /** Required. The name of the data source. Supported values: `salesforce`, `jira`, `confluence`, `bigquery`. */
7032
+ /** Required. The identifier for the data source. This is a partial list of supported connectors. Please refer to the [documentation](https://docs.cloud.google.com/gemini/enterprise/docs/connectors/introduction-to-connectors-and-data-stores) for the full list of connectors. Supported first-party connectors include: * `gcs` * `bigquery` * `gcp_fhir` * `google_mail` * `google_drive` * `google_calendar` * `google_chat` Supported third-party connectors include: Generally available (GA) connectors: * `onedrive` * `outlook` * `confluence` * `jira` * `servicenow` * `sharepoint` Preview connectors: * `asana` * `azure_active_directory` * `box` * `canva` * `confluence_server` * `custom_connector` * `docusign` * `dropbox` * `dynamics365` * `github` * `gitlab` * `hubspot` * `jira_server` * `linear` * `native_cloud_identity` * `notion` * `okta` * `pagerduty` * `peoplesoft` * `salesforce` * `shopify` * `slack` * `snowflake` * `teams` * `trello` * `workday` * `zendesk` */
6891
7033
  dataSource?: string;
6892
7034
  /** Optional. Any target destinations used to connect to third-party services. */
6893
7035
  destinationConfigs?: GoogleCloudDiscoveryengineV1DestinationConfig[];
@@ -7019,6 +7161,8 @@ declare namespace gapi.client {
7019
7161
  displayName?: string;
7020
7162
  /** Configuration for Document understanding and enrichment. */
7021
7163
  documentProcessingConfig?: GoogleCloudDiscoveryengineV1DocumentProcessingConfig;
7164
+ /** Optional. If set, this DataStore is a federated search DataStore. */
7165
+ federatedSearchConfig?: GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfig;
7022
7166
  /** Optional. Configuration for `HEALTHCARE_FHIR` vertical. */
7023
7167
  healthcareFhirConfig?: GoogleCloudDiscoveryengineV1HealthcareFhirConfig;
7024
7168
  /** Immutable. The fully qualified resource name of the associated IdentityMappingStore. This field can only be set for acl_enabled DataStores with `THIRD_PARTY` or `GSUITE` IdP. Format: `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`. */
@@ -7056,6 +7200,50 @@ declare namespace gapi.client {
7056
7200
  /** Last updated timestamp for websites. */
7057
7201
  websiteDataUpdateTime?: string;
7058
7202
  }
7203
+ interface GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfig {
7204
+ /** AlloyDB config. If set, this DataStore is connected to AlloyDB. */
7205
+ alloyDbConfig?: GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfig;
7206
+ /** NotebookLM config. If set, this DataStore is connected to NotebookLM Enterprise. */
7207
+ notebooklmConfig?: GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig;
7208
+ /** Third Party OAuth config. If set, this DataStore is connected to a third party application. */
7209
+ thirdPartyOauthConfig?: GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigThirdPartyOauthConfig;
7210
+ }
7211
+ interface GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfig {
7212
+ /** Optional. Configuration for Magic. */
7213
+ alloydbAiNlConfig?: GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig;
7214
+ /** Required. Configuration for connecting to AlloyDB. */
7215
+ alloydbConnectionConfig?: GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig;
7216
+ /** Optional. Fields to be returned in the search results. If empty, all fields will be returned. */
7217
+ returnedFields?: string[];
7218
+ }
7219
+ interface GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfigAlloyDbAiNaturalLanguageConfig {
7220
+ /** Optional. AlloyDb AI NL config id, i.e. the value that was used for calling `SELECT alloydb_ai_nl.g_create_configuration(...)`. Can be empty. */
7221
+ nlConfigId?: string;
7222
+ }
7223
+ interface GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigAlloyDbConfigAlloyDbConnectionConfig {
7224
+ /** Optional. Auth mode. */
7225
+ authMode?: string;
7226
+ /** Required. The AlloyDB database to connect to. */
7227
+ database?: string;
7228
+ /** Optional. If true, enable PSVS for AlloyDB. */
7229
+ enablePsvs?: boolean;
7230
+ /** Required. The AlloyDB instance to connect to. */
7231
+ instance?: string;
7232
+ /** Required. Database password. If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the password will be inferred on the AlloyDB side, based on the authenticated user. */
7233
+ password?: string;
7234
+ /** Required. Database user. If auth_mode = END_USER_ACCOUNT, it can be unset. In that case, the user will be inferred on the AlloyDB side, based on the authenticated user. */
7235
+ user?: string;
7236
+ }
7237
+ interface GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigNotebooklmConfig {
7238
+ /** Required. Search config name. Format: projects/*‍/locations/global/notebookLmSearchConfigs/* */
7239
+ searchConfig?: string;
7240
+ }
7241
+ interface GoogleCloudDiscoveryengineV1DataStoreFederatedSearchConfigThirdPartyOauthConfig {
7242
+ /** Optional. The type of the application. E.g., "jira", "box", etc. */
7243
+ appName?: string;
7244
+ /** Optional. The instance name identifying the 3P app, e.g., "vaissptbots-my". This is different from the instance_uri which is the full URL of the 3P app e.g., "https://vaissptbots-my.sharepoint.com". */
7245
+ instanceName?: string;
7246
+ }
7059
7247
  interface GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore {
7060
7248
  /** Optional. If set true, the DataStore will not be available for serving search requests. */
7061
7249
  disabledForServing?: boolean;
@@ -7194,6 +7382,8 @@ declare namespace gapi.client {
7194
7382
  }
7195
7383
  interface GoogleCloudDiscoveryengineV1EnableAdvancedSiteSearchResponse {}
7196
7384
  interface GoogleCloudDiscoveryengineV1Engine {
7385
+ /** Optional. The agent gateway setting for the engine. */
7386
+ agentGatewaySetting?: GoogleCloudDiscoveryengineV1AgentGatewaySetting;
7197
7387
  /** Optional. Immutable. This the application type which this engine resource represents. NOTE: this is a new concept independ of existing industry vertical or solution type. */
7198
7388
  appType?: string;
7199
7389
  /** Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
@@ -7232,8 +7422,8 @@ declare namespace gapi.client {
7232
7422
  name?: string;
7233
7423
  /** Optional. Observability config for the engine. */
7234
7424
  observabilityConfig?: GoogleCloudDiscoveryengineV1ObservabilityConfig;
7235
- /** Optional. The email of the procurement contact. */
7236
- procurementContactEmail?: string;
7425
+ /** Optional. The emails of the procurement contacts. */
7426
+ procurementContactEmails?: string[];
7237
7427
  /** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
7238
7428
  searchEngineConfig?: GoogleCloudDiscoveryengineV1EngineSearchEngineConfig;
7239
7429
  /** Required. The solutions of the engine. */
@@ -7468,9 +7658,9 @@ declare namespace gapi.client {
7468
7658
  mode?: string;
7469
7659
  }
7470
7660
  interface GoogleCloudDiscoveryengineV1ObservabilityConfig {
7471
- /** Optional. Enables observability. If false, all other flags are ignored. */
7661
+ /** Optional. Enables observability. If `false`, all other flags are ignored. */
7472
7662
  observabilityEnabled?: boolean;
7473
- /** Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. prompts, responses). If false, will sanitize all sensitive fields. */
7663
+ /** Optional. Enables sensitive logging. Sensitive logging includes customer core content (e.g. prompts, responses). If `false`, will sanitize all sensitive fields. */
7474
7664
  sensitiveLoggingEnabled?: boolean;
7475
7665
  }
7476
7666
  interface GoogleCloudDiscoveryengineV1Project {
@@ -23060,7 +23250,7 @@ declare namespace gapi.client {
23060
23250
  oauth_token?: string;
23061
23251
  /** Optional. The order in which the UserLicenses are listed. The value must be a comma-separated list of fields. Default sorting order is ascending. To specify descending order for a field, append a " desc" suffix. Redundant space characters in the syntax are insignificant. Supported fields: * `license_assignment_state` * `user_principal` * `user_profile` * `last_login_date` * `update_time` If not set, the default ordering is by `user_principal`. Examples: * `user_principal desc` to order by `user_principal` in descending order. * `license_assignment_state` to order by `license_assignment_state` in ascending order. * `last_login_date desc` to order by `last_login_date` in descending order. * `update_time desc` to order by `update_time` in descending order. * `last_login_date desc, user_principal` to order by `last_login_date` in descending order and then by `user_principal` in ascending order. */
23062
23252
  orderBy?: string;
23063
- /** Optional. 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. */
23253
+ /** Optional. Requested page size. Server may return fewer items than requested. If unspecified, defaults to 1000. The maximum value is 1000; values above 1000 will be coerced to 1000. If this field is negative, an INVALID_ARGUMENT error is returned. */
23064
23254
  pageSize?: number;
23065
23255
  /** Optional. A page token, received from a previous `ListUserLicenses` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListUserLicenses` must match the call that provided the page token. */
23066
23256
  pageToken?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1alpha",
3
- "version": "0.1.20260226",
3
+ "version": "0.1.20260310",
4
4
  "description": "TypeScript typings for Discovery Engine API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",