@maxim_mazurok/gapi.client.discoveryengine-v1 0.0.20241208 → 0.0.20241216
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 +399 -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=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20241216
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -179,6 +179,12 @@ declare namespace gapi.client {
|
|
|
179
179
|
/** Immutable. The full resource name of the acl configuration. Format: `projects/{project}/locations/{location}/aclConfig`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
180
180
|
name?: string;
|
|
181
181
|
}
|
|
182
|
+
interface GoogleCloudDiscoveryengineV1alphaActionConfig {
|
|
183
|
+
/** Required. Params needed to support actions in the format of (Key, Value) pairs. Required parameters for sources that support OAUTH, i.e. `gmail`, `google_calendar`, `jira`, `workday`, `salesforce`, `confluence`: * Key: `client_id` * Value: type STRING. The client id for the service provider to identify your application. * Key: `client_secret` * Value:type STRING. The client secret generated by the application's authorization server. */
|
|
184
|
+
actionParams?: {[P in string]: any};
|
|
185
|
+
/** Output only. The connector contains the necessary parameters and is configured to support actions. */
|
|
186
|
+
isActionConfigured?: boolean;
|
|
187
|
+
}
|
|
182
188
|
interface GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig {
|
|
183
189
|
/** If set true, automatic refresh is disabled for the DataStore. */
|
|
184
190
|
disableAutomaticRefresh?: boolean;
|
|
@@ -376,9 +382,21 @@ declare namespace gapi.client {
|
|
|
376
382
|
lastRotationTimestampMicros?: string;
|
|
377
383
|
/** Required. Name of the CmekConfig, of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. */
|
|
378
384
|
name?: string;
|
|
385
|
+
/** Optional. Single-regional CMEKs that are required for some VAIS features. */
|
|
386
|
+
singleRegionKeys?: GoogleCloudDiscoveryengineV1alphaSingleRegionKey[];
|
|
379
387
|
/** Output only. State of the CmekConfig. */
|
|
380
388
|
state?: string;
|
|
381
389
|
}
|
|
390
|
+
interface GoogleCloudDiscoveryengineV1alphaCollection {
|
|
391
|
+
/** Output only. Timestamp the Collection was created at. */
|
|
392
|
+
createTime?: string;
|
|
393
|
+
/** Output only. The data connector, if present, manages the connection for data stores in the Collection. To set up the connector, use DataConnectorService.SetUpDataConnector method, which creates a new Collection while setting up the DataConnector singleton resource. Setting up connector on an existing Collection is not supported. This output only field contains a subset of the DataConnector fields, including `name`, `data_source`, `entities.entity_name` and `entities.data_store`. To get more details about a data connector, use the DataConnector.GetDataConnector method. */
|
|
394
|
+
dataConnector?: GoogleCloudDiscoveryengineV1alphaDataConnector;
|
|
395
|
+
/** Required. The Collection display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
396
|
+
displayName?: string;
|
|
397
|
+
/** Immutable. The full resource name of the Collection. Format: `projects/{project}/locations/{location}/collections/{collection_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
398
|
+
name?: string;
|
|
399
|
+
}
|
|
382
400
|
interface GoogleCloudDiscoveryengineV1alphaCondition {
|
|
383
401
|
/** Range of time(s) specifying when condition is active. Maximum of 10 time ranges. */
|
|
384
402
|
activeTimeRange?: GoogleCloudDiscoveryengineV1alphaConditionTimeRange[];
|
|
@@ -399,6 +417,48 @@ declare namespace gapi.client {
|
|
|
399
417
|
/** Start of time range. Range is inclusive. */
|
|
400
418
|
startTime?: string;
|
|
401
419
|
}
|
|
420
|
+
interface GoogleCloudDiscoveryengineV1alphaConnectorRun {
|
|
421
|
+
/** Output only. The time when the connector run ended. */
|
|
422
|
+
endTime?: string;
|
|
423
|
+
/** Output only. The details of the entities synced at the ConnectorRun. Each ConnectorRun consists of syncing one or more entities. */
|
|
424
|
+
entityRuns?: GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun[];
|
|
425
|
+
/** Contains info about errors incurred during the sync. Only exist if running into an error state. Contains error code and error message. Use with the `state` field. */
|
|
426
|
+
errors?: GoogleRpcStatus[];
|
|
427
|
+
/** Output only. The time when the connector run was most recently paused. */
|
|
428
|
+
latestPauseTime?: string;
|
|
429
|
+
/** Output only. The full resource name of the Connector Run. Format: `projects/*/locations/*/collections/*/dataConnector/connectorRuns/*`. The `connector_run_id` is system-generated. */
|
|
430
|
+
name?: string;
|
|
431
|
+
/** Output only. The time when the connector run started. */
|
|
432
|
+
startTime?: string;
|
|
433
|
+
/** Output only. The state of the sync run. */
|
|
434
|
+
state?: string;
|
|
435
|
+
/** Timestamp at which the connector run sync state was last updated. */
|
|
436
|
+
stateUpdateTime?: string;
|
|
437
|
+
/** Output only. The trigger for this ConnectorRun. */
|
|
438
|
+
trigger?: string;
|
|
439
|
+
}
|
|
440
|
+
interface GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun {
|
|
441
|
+
/** The name of the source entity. */
|
|
442
|
+
entityName?: string;
|
|
443
|
+
/** The total number of documents failed at sync at any stage (extraction, indexing, etc). */
|
|
444
|
+
errorRecordCount?: string;
|
|
445
|
+
/** The errors from the entity's sync run. Only exist if running into an error state. Contains error code and error message. */
|
|
446
|
+
errors?: GoogleRpcStatus[];
|
|
447
|
+
/** The number of documents extracted from connector source, ready to be ingested to UCS. */
|
|
448
|
+
extractedRecordCount?: string;
|
|
449
|
+
/** The number of documents indexed. */
|
|
450
|
+
indexedRecordCount?: string;
|
|
451
|
+
/** The number of requests sent to 3p API. */
|
|
452
|
+
sourceApiRequestCount?: string;
|
|
453
|
+
/** The state of the entity's sync run. */
|
|
454
|
+
state?: string;
|
|
455
|
+
/** Timestamp at which the entity sync state was last updated. */
|
|
456
|
+
stateUpdateTime?: string;
|
|
457
|
+
/** The timestamp for either extracted_documents_count, indexed_documents_count and error_documents_count was last updated. */
|
|
458
|
+
statsUpdateTime?: string;
|
|
459
|
+
/** Sync type of this run. */
|
|
460
|
+
syncType?: string;
|
|
461
|
+
}
|
|
402
462
|
interface GoogleCloudDiscoveryengineV1alphaControl {
|
|
403
463
|
/** Output only. List of all ServingConfig IDs this control is attached to. May take up to 10 minutes to update after changes. */
|
|
404
464
|
associatedServingConfigIds?: string[];
|
|
@@ -490,6 +550,64 @@ declare namespace gapi.client {
|
|
|
490
550
|
/** Whether or not to enable and include custom fine tuned search adaptor model. */
|
|
491
551
|
enableSearchAdaptor?: boolean;
|
|
492
552
|
}
|
|
553
|
+
interface GoogleCloudDiscoveryengineV1alphaDataConnector {
|
|
554
|
+
/** Optional. Action configurations to make the connector support actions. */
|
|
555
|
+
actionConfig?: GoogleCloudDiscoveryengineV1alphaActionConfig;
|
|
556
|
+
/** Indicates whether the connector is disabled for auto run. It can be used to pause periodical and real time sync. */
|
|
557
|
+
autoRunDisabled?: boolean;
|
|
558
|
+
/** Output only. User actions that must be completed before the connector can start syncing data. */
|
|
559
|
+
blockingReasons?: string[];
|
|
560
|
+
/** Output only. Timestamp the DataConnector was created at. */
|
|
561
|
+
createTime?: string;
|
|
562
|
+
/** Required. The name of the data source. Supported values: `salesforce`, `jira`, `confluence`, `bigquery`. */
|
|
563
|
+
dataSource?: string;
|
|
564
|
+
/** Optional. Any target destinations used to connect to third-party services. */
|
|
565
|
+
destinationConfigs?: GoogleCloudDiscoveryengineV1alphaDestinationConfig[];
|
|
566
|
+
/** List of entities from the connected data source to ingest. */
|
|
567
|
+
entities?: GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity[];
|
|
568
|
+
/** Output only. The errors from initialization or from the latest connector run. */
|
|
569
|
+
errors?: GoogleRpcStatus[];
|
|
570
|
+
/** The refresh interval to sync the Access Control List information for the documents ingested by this connector. If not set, the access control list will be refreshed at the default interval of 30 minutes. The identity refresh interval can be at least 30 minutes and at most 7 days. */
|
|
571
|
+
identityRefreshInterval?: string;
|
|
572
|
+
/** The configuration for the identity data synchronization runs. This contains the refresh interval to sync the Access Control List information for the documents ingested by this connector. */
|
|
573
|
+
identityScheduleConfig?: GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig;
|
|
574
|
+
/** Input only. The KMS key to be used to protect the DataStores managed by this connector. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStores created by this connector will be protected by the KMS key. */
|
|
575
|
+
kmsKeyName?: string;
|
|
576
|
+
/** Output only. For periodic connectors only, the last time a data sync was completed. */
|
|
577
|
+
lastSyncTime?: string;
|
|
578
|
+
/** Output only. The most recent timestamp when this DataConnector was paused, affecting all functionalities such as data synchronization. Pausing a connector has the following effects: - All functionalities, including data synchronization, are halted. - Any ongoing data synchronization job will be canceled. - No future data synchronization runs will be scheduled nor can be triggered. */
|
|
579
|
+
latestPauseTime?: string;
|
|
580
|
+
/** Output only. The full resource name of the Data Connector. Format: `projects/*/locations/*/collections/*/dataConnector`. */
|
|
581
|
+
name?: string;
|
|
582
|
+
/** The UTC time when the next data sync is expected to start for the Data Connector. Customers are only able to specify the hour and minute to schedule the data sync. This is utilized when the data connector has a refresh interval greater than 1 day. */
|
|
583
|
+
nextSyncTime?: GoogleTypeDateTime;
|
|
584
|
+
/** Required. Params needed to access the source in the format of (Key, Value) pairs. Required parameters for all data sources: * Key: `instance_uri` * Value: type STRING. The uri to access the data source. Required parameters for sources that support OAUTH, i.e. `salesforce`: * Key: `client_id` * Value: type STRING. The client id for the third party service provider to identify your application. * Key: `client_secret` * Value:type STRING. The client secret generated by the third party authorization server. * Key: `access_token` * Value: type STRING. OAuth token for UCS to access to the protected resource. * Key: `refresh_token` * Value: type STRING. OAuth refresh token for UCS to obtain a new access token without user interaction. Required parameters for sources that support basic API token auth, i.e. `jira`, `confluence`: * Key: `user_account` * Value: type STRING. The username or email with the source. * Key: `api_token` * Value: type STRING. The API token generated for the source account, that is used for authenticating anywhere where you would have used a password. Example: ```json { "instance_uri": "https://xxx.atlassian.net", "user_account": "xxxx.xxx@xxx.com", "api_token": "test-token" } ``` Optional parameter to specify the authorization type to use for multiple authorization types support: * Key: `auth_type` * Value: type STRING. The authorization type for the data source. Supported values: `BASIC_AUTH`, `OAUTH`, `OAUTH_ACCESS_TOKEN`, `OAUTH_TWO_LEGGED`, `OAUTH_JWT_BEARER`, `OAUTH_PASSWORD_GRANT`, `JWT`, `API_TOKEN`, `FEDERATED_CREDENTIAL`. */
|
|
585
|
+
params?: {[P in string]: any};
|
|
586
|
+
/** Output only. The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function. */
|
|
587
|
+
privateConnectivityProjectId?: string;
|
|
588
|
+
/** Required. The refresh interval for data sync. If duration is set to 0, the data will be synced in real time. The streaming feature is not supported yet. The minimum is 30 minutes and maximum is 7 days. */
|
|
589
|
+
refreshInterval?: string;
|
|
590
|
+
/** Output only. State of the connector. */
|
|
591
|
+
state?: string;
|
|
592
|
+
/** Output only. The static IP addresses used by this connector. */
|
|
593
|
+
staticIpAddresses?: string[];
|
|
594
|
+
/** Optional. Whether customer has enabled static IP addresses for this connector. */
|
|
595
|
+
staticIpEnabled?: boolean;
|
|
596
|
+
/** The data synchronization mode supported by the data connector. */
|
|
597
|
+
syncMode?: string;
|
|
598
|
+
/** Output only. Timestamp the DataConnector was last updated. */
|
|
599
|
+
updateTime?: string;
|
|
600
|
+
}
|
|
601
|
+
interface GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity {
|
|
602
|
+
/** Output only. The full resource name of the associated data store for the source entity. Format: `projects/*/locations/*/collections/*/dataStores/*`. When the connector is initialized by the DataConnectorService.SetUpDataConnector method, a DataStore is automatically created for each source entity. */
|
|
603
|
+
dataStore?: string;
|
|
604
|
+
/** The name of the entity. Supported values by data source: * Salesforce: `Lead`, `Opportunity`, `Contact`, `Account`, `Case`, `Contract`, `Campaign` * Jira: `Issue` * Confluence: `Content`, `Space` */
|
|
605
|
+
entityName?: string;
|
|
606
|
+
/** Attributes for indexing. Key: Field name. Value: The key property to map a field to, such as `title`, and `description`. Supported key properties: * `title`: The title for data record. This would be displayed on search results. * `description`: The description for data record. This would be displayed on search results. */
|
|
607
|
+
keyPropertyMappings?: {[P in string]: string};
|
|
608
|
+
/** The parameters for the entity to facilitate data ingestion. E.g. for BQ connectors: * Key: `document_id_column` * Value: type STRING. The value of the column id. */
|
|
609
|
+
params?: {[P in string]: any};
|
|
610
|
+
}
|
|
493
611
|
interface GoogleCloudDiscoveryengineV1alphaDataStore {
|
|
494
612
|
/** Immutable. Whether data in the DataStore has ACL information. If set to `true`, the source data must have ACL. ACL will be ingested when data is ingested by DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore, Document can't be accessed by calling DocumentService.GetDocument or DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` content config. */
|
|
495
613
|
aclEnabled?: boolean;
|
|
@@ -513,6 +631,8 @@ declare namespace gapi.client {
|
|
|
513
631
|
idpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfig;
|
|
514
632
|
/** Immutable. The industry vertical that the data store registers. */
|
|
515
633
|
industryVertical?: string;
|
|
634
|
+
/** Optional. If set, this DataStore is an Infobot FAQ DataStore. */
|
|
635
|
+
isInfobotFaqDataStore?: boolean;
|
|
516
636
|
/** Input only. The KMS key to be used to protect this DataStore at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStore will be protected by the KMS key, as indicated in the cmek_config field. */
|
|
517
637
|
kmsKeyName?: string;
|
|
518
638
|
/** Language info for DataStore. */
|
|
@@ -554,6 +674,12 @@ declare namespace gapi.client {
|
|
|
554
674
|
/** Vertex AI's dedicated crawl rate time series of user triggered crawl, which is the crawl rate of Google-CloudVertexBot when dedicate crawl is set, and user triggered crawl rate is for deterministic use cases like crawling urls or sitemaps specified by users. */
|
|
555
675
|
userTriggeredCrawlRate?: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries;
|
|
556
676
|
}
|
|
677
|
+
interface GoogleCloudDiscoveryengineV1alphaDeleteCollectionMetadata {
|
|
678
|
+
/** Operation create time. */
|
|
679
|
+
createTime?: string;
|
|
680
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
681
|
+
updateTime?: string;
|
|
682
|
+
}
|
|
557
683
|
interface GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata {
|
|
558
684
|
/** Operation create time. */
|
|
559
685
|
createTime?: string;
|
|
@@ -588,6 +714,20 @@ declare namespace gapi.client {
|
|
|
588
714
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
589
715
|
updateTime?: string;
|
|
590
716
|
}
|
|
717
|
+
interface GoogleCloudDiscoveryengineV1alphaDestinationConfig {
|
|
718
|
+
/** Optional. The destinations for the corresponding key. */
|
|
719
|
+
destinations?: GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination[];
|
|
720
|
+
/** Optional. Unique destination identifier that is supported by the connector. */
|
|
721
|
+
key?: string;
|
|
722
|
+
/** Optional. Additional parameters for this destination config. */
|
|
723
|
+
params?: {[P in string]: any};
|
|
724
|
+
}
|
|
725
|
+
interface GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination {
|
|
726
|
+
/** Publicly routable host. */
|
|
727
|
+
host?: string;
|
|
728
|
+
/** Optional. Target port number accepted by the destination. */
|
|
729
|
+
port?: number;
|
|
730
|
+
}
|
|
591
731
|
interface GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata {
|
|
592
732
|
/** Operation create time. */
|
|
593
733
|
createTime?: string;
|
|
@@ -811,6 +951,10 @@ declare namespace gapi.client {
|
|
|
811
951
|
/** Document data keyed by URI pattern. For example: document_data_map = { "www.url1.com/*": { "Categories": ["category1", "category2"] }, "www.url2.com/*": { "Categories": ["category3"] } } */
|
|
812
952
|
documentDataMap?: {[P in string]: {[P in string]: any}};
|
|
813
953
|
}
|
|
954
|
+
interface GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig {
|
|
955
|
+
/** Optional. The refresh interval to sync the Access Control List information for the documents ingested by this connector. If not set, the access control list will be refreshed at the default interval of 30 minutes. The identity refresh interval can be at least 30 minutes and at most 7 days. */
|
|
956
|
+
refreshInterval?: string;
|
|
957
|
+
}
|
|
814
958
|
interface GoogleCloudDiscoveryengineV1alphaIdpConfig {
|
|
815
959
|
/** External Identity provider config. */
|
|
816
960
|
externalIdpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig;
|
|
@@ -1408,6 +1552,7 @@ declare namespace gapi.client {
|
|
|
1408
1552
|
/** The user query. */
|
|
1409
1553
|
query?: GoogleCloudDiscoveryengineV1alphaQuery;
|
|
1410
1554
|
}
|
|
1555
|
+
interface GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorMetadata {}
|
|
1411
1556
|
interface GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataMetadata {
|
|
1412
1557
|
/** Operation create time. */
|
|
1413
1558
|
createTime?: string;
|
|
@@ -1415,6 +1560,10 @@ declare namespace gapi.client {
|
|
|
1415
1560
|
updateTime?: string;
|
|
1416
1561
|
}
|
|
1417
1562
|
interface GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataResponse {}
|
|
1563
|
+
interface GoogleCloudDiscoveryengineV1alphaSingleRegionKey {
|
|
1564
|
+
/** Required. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
|
|
1565
|
+
kmsKey?: string;
|
|
1566
|
+
}
|
|
1418
1567
|
interface GoogleCloudDiscoveryengineV1alphaSitemap {
|
|
1419
1568
|
/** Output only. The sitemap's creation time. */
|
|
1420
1569
|
createTime?: string;
|
|
@@ -1488,6 +1637,12 @@ declare namespace gapi.client {
|
|
|
1488
1637
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1489
1638
|
updateTime?: string;
|
|
1490
1639
|
}
|
|
1640
|
+
interface GoogleCloudDiscoveryengineV1alphaUpdateCollectionMetadata {
|
|
1641
|
+
/** Operation create time. */
|
|
1642
|
+
createTime?: string;
|
|
1643
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1644
|
+
updateTime?: string;
|
|
1645
|
+
}
|
|
1491
1646
|
interface GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata {
|
|
1492
1647
|
/** Operation create time. */
|
|
1493
1648
|
createTime?: string;
|
|
@@ -1919,6 +2074,8 @@ declare namespace gapi.client {
|
|
|
1919
2074
|
lastRotationTimestampMicros?: string;
|
|
1920
2075
|
/** Required. Name of the CmekConfig, of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. */
|
|
1921
2076
|
name?: string;
|
|
2077
|
+
/** Optional. Single-regional CMEKs that are required for some VAIS features. */
|
|
2078
|
+
singleRegionKeys?: GoogleCloudDiscoveryengineV1betaSingleRegionKey[];
|
|
1922
2079
|
/** Output only. State of the CmekConfig. */
|
|
1923
2080
|
state?: string;
|
|
1924
2081
|
}
|
|
@@ -2044,6 +2201,8 @@ declare namespace gapi.client {
|
|
|
2044
2201
|
documentProcessingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig;
|
|
2045
2202
|
/** Immutable. The industry vertical that the data store registers. */
|
|
2046
2203
|
industryVertical?: string;
|
|
2204
|
+
/** Optional. If set, this DataStore is an Infobot FAQ DataStore. */
|
|
2205
|
+
isInfobotFaqDataStore?: boolean;
|
|
2047
2206
|
/** Input only. The KMS key to be used to protect this DataStore at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStore will be protected by the KMS key, as indicated in the cmek_config field. */
|
|
2048
2207
|
kmsKeyName?: string;
|
|
2049
2208
|
/** Language info for DataStore. */
|
|
@@ -2704,6 +2863,10 @@ declare namespace gapi.client {
|
|
|
2704
2863
|
/** The mode under which spell correction replaces the original search query. Defaults to Mode.AUTO. */
|
|
2705
2864
|
mode?: string;
|
|
2706
2865
|
}
|
|
2866
|
+
interface GoogleCloudDiscoveryengineV1betaSingleRegionKey {
|
|
2867
|
+
/** Required. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
|
|
2868
|
+
kmsKey?: string;
|
|
2869
|
+
}
|
|
2707
2870
|
interface GoogleCloudDiscoveryengineV1betaSitemap {
|
|
2708
2871
|
/** Output only. The sitemap's creation time. */
|
|
2709
2872
|
createTime?: string;
|
|
@@ -2954,6 +3117,8 @@ declare namespace gapi.client {
|
|
|
2954
3117
|
lastRotationTimestampMicros?: string;
|
|
2955
3118
|
/** Required. Name of the CmekConfig, of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. */
|
|
2956
3119
|
name?: string;
|
|
3120
|
+
/** Optional. Single-regional CMEKs that are required for some VAIS features. */
|
|
3121
|
+
singleRegionKeys?: GoogleCloudDiscoveryengineV1SingleRegionKey[];
|
|
2957
3122
|
/** Output only. State of the CmekConfig. */
|
|
2958
3123
|
state?: string;
|
|
2959
3124
|
}
|
|
@@ -3190,6 +3355,8 @@ declare namespace gapi.client {
|
|
|
3190
3355
|
documentProcessingConfig?: GoogleCloudDiscoveryengineV1DocumentProcessingConfig;
|
|
3191
3356
|
/** Immutable. The industry vertical that the data store registers. */
|
|
3192
3357
|
industryVertical?: string;
|
|
3358
|
+
/** Optional. If set, this DataStore is an Infobot FAQ DataStore. */
|
|
3359
|
+
isInfobotFaqDataStore?: boolean;
|
|
3193
3360
|
/** Input only. The KMS key to be used to protect this DataStore at creation time. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStore will be protected by the KMS key, as indicated in the cmek_config field. */
|
|
3194
3361
|
kmsKeyName?: string;
|
|
3195
3362
|
/** Immutable. The full resource name of the data store. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
|
|
@@ -3260,7 +3427,7 @@ declare namespace gapi.client {
|
|
|
3260
3427
|
derivedStructData?: {[P in string]: any};
|
|
3261
3428
|
/** Immutable. The identifier of the document. Id should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. */
|
|
3262
3429
|
id?: string;
|
|
3263
|
-
/** Output only. The index status of the document. * If document is indexed successfully, the index_time field is populated. * Otherwise, if document is not indexed due to errors, the error_samples field is populated. * Otherwise,
|
|
3430
|
+
/** Output only. The index status of the document. * If document is indexed successfully, the index_time field is populated. * Otherwise, if document is not indexed due to errors, the error_samples field is populated. * Otherwise, if document's index is in progress, the pending_message field is populated. */
|
|
3264
3431
|
indexStatus?: GoogleCloudDiscoveryengineV1DocumentIndexStatus;
|
|
3265
3432
|
/** Output only. The last time the document was indexed. If this field is set, the document could be returned in search results. This field is OUTPUT_ONLY. If this field is not populated, it means the document has never been indexed. */
|
|
3266
3433
|
indexTime?: string;
|
|
@@ -3288,6 +3455,8 @@ declare namespace gapi.client {
|
|
|
3288
3455
|
errorSamples?: GoogleRpcStatus[];
|
|
3289
3456
|
/** The time when the document was indexed. If this field is populated, it means the document has been indexed. */
|
|
3290
3457
|
indexTime?: string;
|
|
3458
|
+
/** Immutable. The message indicates the document index is in progress. If this field is populated, the document index is pending. */
|
|
3459
|
+
pendingMessage?: string;
|
|
3291
3460
|
}
|
|
3292
3461
|
interface GoogleCloudDiscoveryengineV1DocumentInfo {
|
|
3293
3462
|
/** Optional. The conversion value associated with this Document. Must be set if UserEvent.event_type is "conversion". For example, a value of 1000 signifies that 1000 seconds were spent viewing a Document for the `watch` conversion type. */
|
|
@@ -3451,6 +3620,146 @@ declare namespace gapi.client {
|
|
|
3451
3620
|
/** Required. Cloud Storage URIs to input files. Each URI can be up to 2000 characters long. URIs can match the full object path (for example, `gs://bucket/directory/object.json`) or a pattern matching one or more files, such as `gs://bucket/directory/*.json`. A request can contain at most 100 files (or 100,000 files if `data_schema` is `content`). Each file can be up to 2 GB (or 100 MB if `data_schema` is `content`). */
|
|
3452
3621
|
inputUris?: string[];
|
|
3453
3622
|
}
|
|
3623
|
+
interface GoogleCloudDiscoveryengineV1GenerateGroundedContentRequest {
|
|
3624
|
+
/** Content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request. */
|
|
3625
|
+
contents?: GoogleCloudDiscoveryengineV1GroundedGenerationContent[];
|
|
3626
|
+
/** Content generation specification. */
|
|
3627
|
+
generationSpec?: GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGenerationSpec;
|
|
3628
|
+
/** Grounding specification. */
|
|
3629
|
+
groundingSpec?: GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSpec;
|
|
3630
|
+
/** Content of the system instruction for the current API. These instructions will take priority over any other prompt instructions if the selected model is supporting them. */
|
|
3631
|
+
systemInstruction?: GoogleCloudDiscoveryengineV1GroundedGenerationContent;
|
|
3632
|
+
/** The user labels applied to a resource must meet the following requirements: * Each resource can have multiple labels, up to a maximum of 64. * Each label must be a key-value pair. * Keys have a minimum length of 1 character and a maximum length of 63 characters and cannot be empty. Values can be empty and have a maximum length of 63 characters. * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. All characters must use UTF-8 encoding, and international characters are allowed. * The key portion of a label must be unique. However, you can use the same key with multiple resources. * Keys must start with a lowercase letter or international character. See [Google Cloud Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements) for more details. */
|
|
3633
|
+
userLabels?: {[P in string]: string};
|
|
3634
|
+
}
|
|
3635
|
+
interface GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfiguration {
|
|
3636
|
+
/** Specification for the predictor for dynamic retrieval. */
|
|
3637
|
+
predictor?: GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor;
|
|
3638
|
+
}
|
|
3639
|
+
interface GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor {
|
|
3640
|
+
/** The value of the threshold. If the predictor will predict a value smaller than this, it would suppress grounding in the source. */
|
|
3641
|
+
threshold?: number;
|
|
3642
|
+
/** The version of the predictor to be used in dynamic retrieval. */
|
|
3643
|
+
version?: string;
|
|
3644
|
+
}
|
|
3645
|
+
interface GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGenerationSpec {
|
|
3646
|
+
/** If specified, custom value for frequency penalty will be used. */
|
|
3647
|
+
frequencyPenalty?: number;
|
|
3648
|
+
/** Language code for content. Use language tags defined by [BCP47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). */
|
|
3649
|
+
languageCode?: string;
|
|
3650
|
+
/** If specified, custom value for max output tokens will be used. */
|
|
3651
|
+
maxOutputTokens?: number;
|
|
3652
|
+
/** Specifies which Vertex model id to use for generation. */
|
|
3653
|
+
modelId?: string;
|
|
3654
|
+
/** If specified, custom value for presence penalty will be used. */
|
|
3655
|
+
presencePenalty?: number;
|
|
3656
|
+
/** If specified, custom value for the seed will be used. */
|
|
3657
|
+
seed?: number;
|
|
3658
|
+
/** If specified, custom value for the temperature will be used. */
|
|
3659
|
+
temperature?: number;
|
|
3660
|
+
/** If specified, custom value for top-k sampling will be used. */
|
|
3661
|
+
topK?: number;
|
|
3662
|
+
/** If specified, custom value for nucleus sampling will be used. */
|
|
3663
|
+
topP?: number;
|
|
3664
|
+
}
|
|
3665
|
+
interface GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSource {
|
|
3666
|
+
/** If set, grounding is performed with Google Search. */
|
|
3667
|
+
googleSearchSource?: GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceGoogleSearchSource;
|
|
3668
|
+
/** If set, grounding is performed with inline content. */
|
|
3669
|
+
inlineSource?: GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceInlineSource;
|
|
3670
|
+
/** If set, grounding is performed with Vertex AI Search. */
|
|
3671
|
+
searchSource?: GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceSearchSource;
|
|
3672
|
+
}
|
|
3673
|
+
interface GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceGoogleSearchSource {
|
|
3674
|
+
/** Optional. Specifies the dynamic retrieval configuration for the given source. */
|
|
3675
|
+
dynamicRetrievalConfig?: GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestDynamicRetrievalConfiguration;
|
|
3676
|
+
}
|
|
3677
|
+
interface GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceInlineSource {
|
|
3678
|
+
/** Attributes associated with the content. Common attributes include `source` (indicating where the content was sourced from) and `author` (indicating the author of the content). */
|
|
3679
|
+
attributes?: {[P in string]: string};
|
|
3680
|
+
/** List of facts to be used for grounding. */
|
|
3681
|
+
groundingFacts?: GoogleCloudDiscoveryengineV1GroundingFact[];
|
|
3682
|
+
}
|
|
3683
|
+
interface GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceSearchSource {
|
|
3684
|
+
/** Filter expression to be applied to the search. The syntax is the same as SearchRequest.filter. */
|
|
3685
|
+
filter?: string;
|
|
3686
|
+
/** Number of search results to return. The default value is 10. The maximumm allowed value is 10. */
|
|
3687
|
+
maxResultCount?: number;
|
|
3688
|
+
/** If set, safe search is enabled in Vertex AI Search requests. */
|
|
3689
|
+
safeSearch?: boolean;
|
|
3690
|
+
/** The resource name of the Engine to use. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}` */
|
|
3691
|
+
servingConfig?: string;
|
|
3692
|
+
}
|
|
3693
|
+
interface GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSpec {
|
|
3694
|
+
/** Grounding sources. */
|
|
3695
|
+
groundingSources?: GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSource[];
|
|
3696
|
+
}
|
|
3697
|
+
interface GoogleCloudDiscoveryengineV1GenerateGroundedContentResponse {
|
|
3698
|
+
/** Generated candidates. */
|
|
3699
|
+
candidates?: GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidate[];
|
|
3700
|
+
}
|
|
3701
|
+
interface GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidate {
|
|
3702
|
+
/** Content of the candidate. */
|
|
3703
|
+
content?: GoogleCloudDiscoveryengineV1GroundedGenerationContent;
|
|
3704
|
+
/** Grounding metadata for the generated content. */
|
|
3705
|
+
groundingMetadata?: GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadata;
|
|
3706
|
+
/** The overall grounding score for the candidate, in the range of [0, 1]. */
|
|
3707
|
+
groundingScore?: number;
|
|
3708
|
+
/** Index of the candidate. */
|
|
3709
|
+
index?: number;
|
|
3710
|
+
}
|
|
3711
|
+
interface GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadata {
|
|
3712
|
+
/** GroundingSupport across all claims in the answer candidate. An support to a fact indicates that the claim is supported by the fact. */
|
|
3713
|
+
groundingSupport?: GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataGroundingSupport[];
|
|
3714
|
+
/** Retrieval metadata to provide an understanding in the retrieval steps performed by the model. There can be multiple such messages which can correspond to different parts of the retrieval. This is a mechanism used to ensure transparency to our users. */
|
|
3715
|
+
retrievalMetadata?: GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata[];
|
|
3716
|
+
/** Google search entry for the following-up web searches. */
|
|
3717
|
+
searchEntryPoint?: GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataSearchEntryPoint;
|
|
3718
|
+
/** List of chunks to be attributed across all claims in the candidate. These are derived from the grounding sources supplied in the request. */
|
|
3719
|
+
supportChunks?: GoogleCloudDiscoveryengineV1FactChunk[];
|
|
3720
|
+
/** Web search queries for the following-up web search. */
|
|
3721
|
+
webSearchQueries?: string[];
|
|
3722
|
+
}
|
|
3723
|
+
interface GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata {
|
|
3724
|
+
/** Metadata for the dynamic retrieval predictor. */
|
|
3725
|
+
predictorMetadata?: GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata;
|
|
3726
|
+
}
|
|
3727
|
+
interface GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata {
|
|
3728
|
+
/** The value of the predictor. This should be between [0, 1] where a value of 0 means that the query would not benefit from grounding, while a value of 1.0 means that the query would benefit the most. In between values allow to differentiate between different usefulness scores for grounding. */
|
|
3729
|
+
prediction?: number;
|
|
3730
|
+
/** The version of the predictor which was used in dynamic retrieval. */
|
|
3731
|
+
version?: string;
|
|
3732
|
+
}
|
|
3733
|
+
interface GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataGroundingSupport {
|
|
3734
|
+
/** Text for the claim in the candidate. Always provided when a support is found. */
|
|
3735
|
+
claimText?: string;
|
|
3736
|
+
/** A list of indices (into 'support_chunks') specifying the citations associated with the claim. For instance [1,3,4] means that support_chunks[1], support_chunks[3], support_chunks[4] are the chunks attributed to the claim. */
|
|
3737
|
+
supportChunkIndices?: number[];
|
|
3738
|
+
/** A score in the range of [0, 1] describing how grounded is a specific claim in the support chunks indicated. Higher value means that the claim is better supported by the chunks. */
|
|
3739
|
+
supportScore?: number;
|
|
3740
|
+
}
|
|
3741
|
+
interface GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata {
|
|
3742
|
+
/** Metadata for dynamic retrieval. */
|
|
3743
|
+
dynamicRetrievalMetadata?: GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata;
|
|
3744
|
+
/** Describes the source to which the metadata is referring to. */
|
|
3745
|
+
source?: string;
|
|
3746
|
+
}
|
|
3747
|
+
interface GoogleCloudDiscoveryengineV1GenerateGroundedContentResponseCandidateGroundingMetadataSearchEntryPoint {
|
|
3748
|
+
/** Web content snippet that can be embedded in a web page or an app webview. */
|
|
3749
|
+
renderedContent?: string;
|
|
3750
|
+
/** Base64 encoded JSON representing array of tuple. */
|
|
3751
|
+
sdkBlob?: string;
|
|
3752
|
+
}
|
|
3753
|
+
interface GoogleCloudDiscoveryengineV1GroundedGenerationContent {
|
|
3754
|
+
/** Ordered `Parts` that constitute a single message. */
|
|
3755
|
+
parts?: GoogleCloudDiscoveryengineV1GroundedGenerationContentPart[];
|
|
3756
|
+
/** Producer of the content. Must be either `user` or `model`. Intended to be used for multi-turn conversations. Otherwise, it can be left unset. */
|
|
3757
|
+
role?: string;
|
|
3758
|
+
}
|
|
3759
|
+
interface GoogleCloudDiscoveryengineV1GroundedGenerationContentPart {
|
|
3760
|
+
/** Inline text. */
|
|
3761
|
+
text?: string;
|
|
3762
|
+
}
|
|
3454
3763
|
interface GoogleCloudDiscoveryengineV1GroundingFact {
|
|
3455
3764
|
/** Attributes associated with the fact. Common attributes include `source` (indicating where the fact was sourced from), `author` (indicating the author of the fact), and so on. */
|
|
3456
3765
|
attributes?: {[P in string]: string};
|
|
@@ -4302,6 +4611,10 @@ declare namespace gapi.client {
|
|
|
4302
4611
|
/** The user query. */
|
|
4303
4612
|
query?: GoogleCloudDiscoveryengineV1Query;
|
|
4304
4613
|
}
|
|
4614
|
+
interface GoogleCloudDiscoveryengineV1SingleRegionKey {
|
|
4615
|
+
/** Required. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
|
|
4616
|
+
kmsKey?: string;
|
|
4617
|
+
}
|
|
4305
4618
|
interface GoogleCloudDiscoveryengineV1SiteSearchEngine {
|
|
4306
4619
|
/** The fully qualified resource name of the site search engine. Format: `projects/*/locations/*/dataStores/*/siteSearchEngine` */
|
|
4307
4620
|
name?: string;
|
|
@@ -4576,6 +4889,32 @@ declare namespace gapi.client {
|
|
|
4576
4889
|
/** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
|
|
4577
4890
|
year?: number;
|
|
4578
4891
|
}
|
|
4892
|
+
interface GoogleTypeDateTime {
|
|
4893
|
+
/** Optional. Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a datetime without a day. */
|
|
4894
|
+
day?: number;
|
|
4895
|
+
/** Optional. Hours of day in 24 hour format. Should be from 0 to 23, defaults to 0 (midnight). An API may choose to allow the value "24:00:00" for scenarios like business closing time. */
|
|
4896
|
+
hours?: number;
|
|
4897
|
+
/** Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0. */
|
|
4898
|
+
minutes?: number;
|
|
4899
|
+
/** Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month. */
|
|
4900
|
+
month?: number;
|
|
4901
|
+
/** Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0. */
|
|
4902
|
+
nanos?: number;
|
|
4903
|
+
/** Optional. Seconds of minutes of the time. Must normally be from 0 to 59, defaults to 0. An API may allow the value 60 if it allows leap-seconds. */
|
|
4904
|
+
seconds?: number;
|
|
4905
|
+
/** Time zone. */
|
|
4906
|
+
timeZone?: GoogleTypeTimeZone;
|
|
4907
|
+
/** UTC offset. Must be whole seconds, between -18 hours and +18 hours. For example, a UTC offset of -4:00 would be represented as { seconds: -14400 }. */
|
|
4908
|
+
utcOffset?: string;
|
|
4909
|
+
/** Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year. */
|
|
4910
|
+
year?: number;
|
|
4911
|
+
}
|
|
4912
|
+
interface GoogleTypeTimeZone {
|
|
4913
|
+
/** IANA Time Zone Database time zone. For example "America/New_York". */
|
|
4914
|
+
id?: string;
|
|
4915
|
+
/** Optional. IANA Time Zone Database version number. For example "2019a". */
|
|
4916
|
+
version?: string;
|
|
4917
|
+
}
|
|
4579
4918
|
interface OperationsResource {
|
|
4580
4919
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
4581
4920
|
get(request?: {
|
|
@@ -13023,6 +13362,64 @@ declare namespace gapi.client {
|
|
|
13023
13362
|
): Request<GoogleCloudDiscoveryengineV1UserEvent>;
|
|
13024
13363
|
}
|
|
13025
13364
|
interface LocationsResource {
|
|
13365
|
+
/** Generates grounded content. */
|
|
13366
|
+
generateGroundedContent(request: {
|
|
13367
|
+
/** V1 error format. */
|
|
13368
|
+
'$.xgafv'?: string;
|
|
13369
|
+
/** OAuth access token. */
|
|
13370
|
+
access_token?: string;
|
|
13371
|
+
/** Data format for response. */
|
|
13372
|
+
alt?: string;
|
|
13373
|
+
/** JSONP */
|
|
13374
|
+
callback?: string;
|
|
13375
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13376
|
+
fields?: string;
|
|
13377
|
+
/** 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. */
|
|
13378
|
+
key?: string;
|
|
13379
|
+
/** Required. Location resource. Format: `projects/{project}/locations/{location}`. */
|
|
13380
|
+
location: string;
|
|
13381
|
+
/** OAuth 2.0 token for the current user. */
|
|
13382
|
+
oauth_token?: string;
|
|
13383
|
+
/** Returns response with indentations and line breaks. */
|
|
13384
|
+
prettyPrint?: boolean;
|
|
13385
|
+
/** 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. */
|
|
13386
|
+
quotaUser?: string;
|
|
13387
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13388
|
+
upload_protocol?: string;
|
|
13389
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13390
|
+
uploadType?: string;
|
|
13391
|
+
/** Request body */
|
|
13392
|
+
resource: GoogleCloudDiscoveryengineV1GenerateGroundedContentRequest;
|
|
13393
|
+
}): Request<GoogleCloudDiscoveryengineV1GenerateGroundedContentResponse>;
|
|
13394
|
+
generateGroundedContent(
|
|
13395
|
+
request: {
|
|
13396
|
+
/** V1 error format. */
|
|
13397
|
+
'$.xgafv'?: string;
|
|
13398
|
+
/** OAuth access token. */
|
|
13399
|
+
access_token?: string;
|
|
13400
|
+
/** Data format for response. */
|
|
13401
|
+
alt?: string;
|
|
13402
|
+
/** JSONP */
|
|
13403
|
+
callback?: string;
|
|
13404
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13405
|
+
fields?: string;
|
|
13406
|
+
/** 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. */
|
|
13407
|
+
key?: string;
|
|
13408
|
+
/** Required. Location resource. Format: `projects/{project}/locations/{location}`. */
|
|
13409
|
+
location: string;
|
|
13410
|
+
/** OAuth 2.0 token for the current user. */
|
|
13411
|
+
oauth_token?: string;
|
|
13412
|
+
/** Returns response with indentations and line breaks. */
|
|
13413
|
+
prettyPrint?: boolean;
|
|
13414
|
+
/** 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. */
|
|
13415
|
+
quotaUser?: string;
|
|
13416
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13417
|
+
upload_protocol?: string;
|
|
13418
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13419
|
+
uploadType?: string;
|
|
13420
|
+
},
|
|
13421
|
+
body: GoogleCloudDiscoveryengineV1GenerateGroundedContentRequest
|
|
13422
|
+
): Request<GoogleCloudDiscoveryengineV1GenerateGroundedContentResponse>;
|
|
13026
13423
|
collections: CollectionsResource;
|
|
13027
13424
|
dataStores: DataStoresResource;
|
|
13028
13425
|
groundingConfigs: GroundingConfigsResource;
|