@maxim_mazurok/gapi.client.discoveryengine-v1alpha 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 +817 -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:
|
|
12
|
+
// Revision: 20241216
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -165,6 +165,12 @@ declare namespace gapi.client {
|
|
|
165
165
|
/** 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. */
|
|
166
166
|
name?: string;
|
|
167
167
|
}
|
|
168
|
+
interface GoogleCloudDiscoveryengineV1alphaActionConfig {
|
|
169
|
+
/** 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. */
|
|
170
|
+
actionParams?: {[P in string]: any};
|
|
171
|
+
/** Output only. The connector contains the necessary parameters and is configured to support actions. */
|
|
172
|
+
isActionConfigured?: boolean;
|
|
173
|
+
}
|
|
168
174
|
interface GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequest {
|
|
169
175
|
/** Optional. Specification to boost suggestions matching the condition. */
|
|
170
176
|
boostSpec?: GoogleCloudDiscoveryengineV1alphaAdvancedCompleteQueryRequestBoostSpec;
|
|
@@ -821,9 +827,21 @@ declare namespace gapi.client {
|
|
|
821
827
|
lastRotationTimestampMicros?: string;
|
|
822
828
|
/** Required. Name of the CmekConfig, of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. */
|
|
823
829
|
name?: string;
|
|
830
|
+
/** Optional. Single-regional CMEKs that are required for some VAIS features. */
|
|
831
|
+
singleRegionKeys?: GoogleCloudDiscoveryengineV1alphaSingleRegionKey[];
|
|
824
832
|
/** Output only. State of the CmekConfig. */
|
|
825
833
|
state?: string;
|
|
826
834
|
}
|
|
835
|
+
interface GoogleCloudDiscoveryengineV1alphaCollection {
|
|
836
|
+
/** Output only. Timestamp the Collection was created at. */
|
|
837
|
+
createTime?: string;
|
|
838
|
+
/** 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. */
|
|
839
|
+
dataConnector?: GoogleCloudDiscoveryengineV1alphaDataConnector;
|
|
840
|
+
/** 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. */
|
|
841
|
+
displayName?: string;
|
|
842
|
+
/** 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. */
|
|
843
|
+
name?: string;
|
|
844
|
+
}
|
|
827
845
|
interface GoogleCloudDiscoveryengineV1alphaCompleteQueryResponse {
|
|
828
846
|
/** Results of the matched query suggestions. The result list is ordered and the first result is a top suggestion. */
|
|
829
847
|
querySuggestions?: GoogleCloudDiscoveryengineV1alphaCompleteQueryResponseQuerySuggestion[];
|
|
@@ -878,6 +896,48 @@ declare namespace gapi.client {
|
|
|
878
896
|
/** Start of time range. Range is inclusive. */
|
|
879
897
|
startTime?: string;
|
|
880
898
|
}
|
|
899
|
+
interface GoogleCloudDiscoveryengineV1alphaConnectorRun {
|
|
900
|
+
/** Output only. The time when the connector run ended. */
|
|
901
|
+
endTime?: string;
|
|
902
|
+
/** Output only. The details of the entities synced at the ConnectorRun. Each ConnectorRun consists of syncing one or more entities. */
|
|
903
|
+
entityRuns?: GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun[];
|
|
904
|
+
/** 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. */
|
|
905
|
+
errors?: GoogleRpcStatus[];
|
|
906
|
+
/** Output only. The time when the connector run was most recently paused. */
|
|
907
|
+
latestPauseTime?: string;
|
|
908
|
+
/** Output only. The full resource name of the Connector Run. Format: `projects/*/locations/*/collections/*/dataConnector/connectorRuns/*`. The `connector_run_id` is system-generated. */
|
|
909
|
+
name?: string;
|
|
910
|
+
/** Output only. The time when the connector run started. */
|
|
911
|
+
startTime?: string;
|
|
912
|
+
/** Output only. The state of the sync run. */
|
|
913
|
+
state?: string;
|
|
914
|
+
/** Timestamp at which the connector run sync state was last updated. */
|
|
915
|
+
stateUpdateTime?: string;
|
|
916
|
+
/** Output only. The trigger for this ConnectorRun. */
|
|
917
|
+
trigger?: string;
|
|
918
|
+
}
|
|
919
|
+
interface GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun {
|
|
920
|
+
/** The name of the source entity. */
|
|
921
|
+
entityName?: string;
|
|
922
|
+
/** The total number of documents failed at sync at any stage (extraction, indexing, etc). */
|
|
923
|
+
errorRecordCount?: string;
|
|
924
|
+
/** The errors from the entity's sync run. Only exist if running into an error state. Contains error code and error message. */
|
|
925
|
+
errors?: GoogleRpcStatus[];
|
|
926
|
+
/** The number of documents extracted from connector source, ready to be ingested to UCS. */
|
|
927
|
+
extractedRecordCount?: string;
|
|
928
|
+
/** The number of documents indexed. */
|
|
929
|
+
indexedRecordCount?: string;
|
|
930
|
+
/** The number of requests sent to 3p API. */
|
|
931
|
+
sourceApiRequestCount?: string;
|
|
932
|
+
/** The state of the entity's sync run. */
|
|
933
|
+
state?: string;
|
|
934
|
+
/** Timestamp at which the entity sync state was last updated. */
|
|
935
|
+
stateUpdateTime?: string;
|
|
936
|
+
/** The timestamp for either extracted_documents_count, indexed_documents_count and error_documents_count was last updated. */
|
|
937
|
+
statsUpdateTime?: string;
|
|
938
|
+
/** Sync type of this run. */
|
|
939
|
+
syncType?: string;
|
|
940
|
+
}
|
|
881
941
|
interface GoogleCloudDiscoveryengineV1alphaControl {
|
|
882
942
|
/** Output only. List of all ServingConfig IDs this control is attached to. May take up to 10 minutes to update after changes. */
|
|
883
943
|
associatedServingConfigIds?: string[];
|
|
@@ -1055,6 +1115,64 @@ declare namespace gapi.client {
|
|
|
1055
1115
|
/** Timestamp the model training was initiated. */
|
|
1056
1116
|
trainingStartTime?: string;
|
|
1057
1117
|
}
|
|
1118
|
+
interface GoogleCloudDiscoveryengineV1alphaDataConnector {
|
|
1119
|
+
/** Optional. Action configurations to make the connector support actions. */
|
|
1120
|
+
actionConfig?: GoogleCloudDiscoveryengineV1alphaActionConfig;
|
|
1121
|
+
/** Indicates whether the connector is disabled for auto run. It can be used to pause periodical and real time sync. */
|
|
1122
|
+
autoRunDisabled?: boolean;
|
|
1123
|
+
/** Output only. User actions that must be completed before the connector can start syncing data. */
|
|
1124
|
+
blockingReasons?: string[];
|
|
1125
|
+
/** Output only. Timestamp the DataConnector was created at. */
|
|
1126
|
+
createTime?: string;
|
|
1127
|
+
/** Required. The name of the data source. Supported values: `salesforce`, `jira`, `confluence`, `bigquery`. */
|
|
1128
|
+
dataSource?: string;
|
|
1129
|
+
/** Optional. Any target destinations used to connect to third-party services. */
|
|
1130
|
+
destinationConfigs?: GoogleCloudDiscoveryengineV1alphaDestinationConfig[];
|
|
1131
|
+
/** List of entities from the connected data source to ingest. */
|
|
1132
|
+
entities?: GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity[];
|
|
1133
|
+
/** Output only. The errors from initialization or from the latest connector run. */
|
|
1134
|
+
errors?: GoogleRpcStatus[];
|
|
1135
|
+
/** 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. */
|
|
1136
|
+
identityRefreshInterval?: string;
|
|
1137
|
+
/** 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. */
|
|
1138
|
+
identityScheduleConfig?: GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig;
|
|
1139
|
+
/** 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. */
|
|
1140
|
+
kmsKeyName?: string;
|
|
1141
|
+
/** Output only. For periodic connectors only, the last time a data sync was completed. */
|
|
1142
|
+
lastSyncTime?: string;
|
|
1143
|
+
/** 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. */
|
|
1144
|
+
latestPauseTime?: string;
|
|
1145
|
+
/** Output only. The full resource name of the Data Connector. Format: `projects/*/locations/*/collections/*/dataConnector`. */
|
|
1146
|
+
name?: string;
|
|
1147
|
+
/** 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. */
|
|
1148
|
+
nextSyncTime?: GoogleTypeDateTime;
|
|
1149
|
+
/** 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`. */
|
|
1150
|
+
params?: {[P in string]: any};
|
|
1151
|
+
/** Output only. The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function. */
|
|
1152
|
+
privateConnectivityProjectId?: string;
|
|
1153
|
+
/** 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. */
|
|
1154
|
+
refreshInterval?: string;
|
|
1155
|
+
/** Output only. State of the connector. */
|
|
1156
|
+
state?: string;
|
|
1157
|
+
/** Output only. The static IP addresses used by this connector. */
|
|
1158
|
+
staticIpAddresses?: string[];
|
|
1159
|
+
/** Optional. Whether customer has enabled static IP addresses for this connector. */
|
|
1160
|
+
staticIpEnabled?: boolean;
|
|
1161
|
+
/** The data synchronization mode supported by the data connector. */
|
|
1162
|
+
syncMode?: string;
|
|
1163
|
+
/** Output only. Timestamp the DataConnector was last updated. */
|
|
1164
|
+
updateTime?: string;
|
|
1165
|
+
}
|
|
1166
|
+
interface GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity {
|
|
1167
|
+
/** 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. */
|
|
1168
|
+
dataStore?: string;
|
|
1169
|
+
/** The name of the entity. Supported values by data source: * Salesforce: `Lead`, `Opportunity`, `Contact`, `Account`, `Case`, `Contract`, `Campaign` * Jira: `Issue` * Confluence: `Content`, `Space` */
|
|
1170
|
+
entityName?: string;
|
|
1171
|
+
/** 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. */
|
|
1172
|
+
keyPropertyMappings?: {[P in string]: string};
|
|
1173
|
+
/** 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. */
|
|
1174
|
+
params?: {[P in string]: any};
|
|
1175
|
+
}
|
|
1058
1176
|
interface GoogleCloudDiscoveryengineV1alphaDataStore {
|
|
1059
1177
|
/** 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. */
|
|
1060
1178
|
aclEnabled?: boolean;
|
|
@@ -1078,6 +1196,8 @@ declare namespace gapi.client {
|
|
|
1078
1196
|
idpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfig;
|
|
1079
1197
|
/** Immutable. The industry vertical that the data store registers. */
|
|
1080
1198
|
industryVertical?: string;
|
|
1199
|
+
/** Optional. If set, this DataStore is an Infobot FAQ DataStore. */
|
|
1200
|
+
isInfobotFaqDataStore?: boolean;
|
|
1081
1201
|
/** 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. */
|
|
1082
1202
|
kmsKeyName?: string;
|
|
1083
1203
|
/** Language info for DataStore. */
|
|
@@ -1119,6 +1239,12 @@ declare namespace gapi.client {
|
|
|
1119
1239
|
/** 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. */
|
|
1120
1240
|
userTriggeredCrawlRate?: GoogleCloudDiscoveryengineV1alphaCrawlRateTimeSeries;
|
|
1121
1241
|
}
|
|
1242
|
+
interface GoogleCloudDiscoveryengineV1alphaDeleteCollectionMetadata {
|
|
1243
|
+
/** Operation create time. */
|
|
1244
|
+
createTime?: string;
|
|
1245
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1246
|
+
updateTime?: string;
|
|
1247
|
+
}
|
|
1122
1248
|
interface GoogleCloudDiscoveryengineV1alphaDeleteDataStoreMetadata {
|
|
1123
1249
|
/** Operation create time. */
|
|
1124
1250
|
createTime?: string;
|
|
@@ -1153,6 +1279,20 @@ declare namespace gapi.client {
|
|
|
1153
1279
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1154
1280
|
updateTime?: string;
|
|
1155
1281
|
}
|
|
1282
|
+
interface GoogleCloudDiscoveryengineV1alphaDestinationConfig {
|
|
1283
|
+
/** Optional. The destinations for the corresponding key. */
|
|
1284
|
+
destinations?: GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination[];
|
|
1285
|
+
/** Optional. Unique destination identifier that is supported by the connector. */
|
|
1286
|
+
key?: string;
|
|
1287
|
+
/** Optional. Additional parameters for this destination config. */
|
|
1288
|
+
params?: {[P in string]: any};
|
|
1289
|
+
}
|
|
1290
|
+
interface GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination {
|
|
1291
|
+
/** Publicly routable host. */
|
|
1292
|
+
host?: string;
|
|
1293
|
+
/** Optional. Target port number accepted by the destination. */
|
|
1294
|
+
port?: number;
|
|
1295
|
+
}
|
|
1156
1296
|
interface GoogleCloudDiscoveryengineV1alphaDisableAdvancedSiteSearchMetadata {
|
|
1157
1297
|
/** Operation create time. */
|
|
1158
1298
|
createTime?: string;
|
|
@@ -1170,7 +1310,7 @@ declare namespace gapi.client {
|
|
|
1170
1310
|
derivedStructData?: {[P in string]: any};
|
|
1171
1311
|
/** 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. */
|
|
1172
1312
|
id?: string;
|
|
1173
|
-
/** 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,
|
|
1313
|
+
/** 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. */
|
|
1174
1314
|
indexStatus?: GoogleCloudDiscoveryengineV1alphaDocumentIndexStatus;
|
|
1175
1315
|
/** 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. */
|
|
1176
1316
|
indexTime?: string;
|
|
@@ -1208,6 +1348,8 @@ declare namespace gapi.client {
|
|
|
1208
1348
|
errorSamples?: GoogleRpcStatus[];
|
|
1209
1349
|
/** The time when the document was indexed. If this field is populated, it means the document has been indexed. */
|
|
1210
1350
|
indexTime?: string;
|
|
1351
|
+
/** Immutable. The message indicates the document index is in progress. If this field is populated, the document index is pending. */
|
|
1352
|
+
pendingMessage?: string;
|
|
1211
1353
|
}
|
|
1212
1354
|
interface GoogleCloudDiscoveryengineV1alphaDocumentInfo {
|
|
1213
1355
|
/** 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. */
|
|
@@ -1508,6 +1650,136 @@ declare namespace gapi.client {
|
|
|
1508
1650
|
/** 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`). */
|
|
1509
1651
|
inputUris?: string[];
|
|
1510
1652
|
}
|
|
1653
|
+
interface GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequest {
|
|
1654
|
+
/** 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. */
|
|
1655
|
+
contents?: GoogleCloudDiscoveryengineV1alphaGroundedGenerationContent[];
|
|
1656
|
+
/** Content generation specification. */
|
|
1657
|
+
generationSpec?: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGenerationSpec;
|
|
1658
|
+
/** Grounding specification. */
|
|
1659
|
+
groundingSpec?: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSpec;
|
|
1660
|
+
/** 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. */
|
|
1661
|
+
systemInstruction?: GoogleCloudDiscoveryengineV1alphaGroundedGenerationContent;
|
|
1662
|
+
/** 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. */
|
|
1663
|
+
userLabels?: {[P in string]: string};
|
|
1664
|
+
}
|
|
1665
|
+
interface GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestDynamicRetrievalConfiguration {
|
|
1666
|
+
/** Specification for the predictor for dynamic retrieval. */
|
|
1667
|
+
predictor?: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor;
|
|
1668
|
+
}
|
|
1669
|
+
interface GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestDynamicRetrievalConfigurationDynamicRetrievalPredictor {
|
|
1670
|
+
/** The value of the threshold. If the predictor will predict a value smaller than this, it would suppress grounding in the source. */
|
|
1671
|
+
threshold?: number;
|
|
1672
|
+
/** The version of the predictor to be used in dynamic retrieval. */
|
|
1673
|
+
version?: string;
|
|
1674
|
+
}
|
|
1675
|
+
interface GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGenerationSpec {
|
|
1676
|
+
/** If specified, custom value for frequency penalty will be used. */
|
|
1677
|
+
frequencyPenalty?: number;
|
|
1678
|
+
/** Language code for content. Use language tags defined by [BCP47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). */
|
|
1679
|
+
languageCode?: string;
|
|
1680
|
+
/** If specified, custom value for max output tokens will be used. */
|
|
1681
|
+
maxOutputTokens?: number;
|
|
1682
|
+
/** Specifies which Vertex model id to use for generation. */
|
|
1683
|
+
modelId?: string;
|
|
1684
|
+
/** If specified, custom value for presence penalty will be used. */
|
|
1685
|
+
presencePenalty?: number;
|
|
1686
|
+
/** If specified, custom value for the seed will be used. */
|
|
1687
|
+
seed?: number;
|
|
1688
|
+
/** If specified, custom value for the temperature will be used. */
|
|
1689
|
+
temperature?: number;
|
|
1690
|
+
/** If specified, custom value for top-k sampling will be used. */
|
|
1691
|
+
topK?: number;
|
|
1692
|
+
/** If specified, custom value for nucleus sampling will be used. */
|
|
1693
|
+
topP?: number;
|
|
1694
|
+
}
|
|
1695
|
+
interface GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSource {
|
|
1696
|
+
/** If set, grounding is performed with Google Search. */
|
|
1697
|
+
googleSearchSource?: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceGoogleSearchSource;
|
|
1698
|
+
/** If set, grounding is performed with inline content. */
|
|
1699
|
+
inlineSource?: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceInlineSource;
|
|
1700
|
+
/** If set, grounding is performed with Vertex AI Search. */
|
|
1701
|
+
searchSource?: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceSearchSource;
|
|
1702
|
+
}
|
|
1703
|
+
interface GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceGoogleSearchSource {
|
|
1704
|
+
/** Optional. Specifies the dynamic retrieval configuration for the given source. */
|
|
1705
|
+
dynamicRetrievalConfig?: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestDynamicRetrievalConfiguration;
|
|
1706
|
+
}
|
|
1707
|
+
interface GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceInlineSource {
|
|
1708
|
+
/** Attributes associated with the content. Common attributes include `source` (indicating where the content was sourced from) and `author` (indicating the author of the content). */
|
|
1709
|
+
attributes?: {[P in string]: string};
|
|
1710
|
+
/** List of facts to be used for grounding. */
|
|
1711
|
+
groundingFacts?: GoogleCloudDiscoveryengineV1alphaGroundingFact[];
|
|
1712
|
+
}
|
|
1713
|
+
interface GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceSearchSource {
|
|
1714
|
+
/** Filter expression to be applied to the search. The syntax is the same as SearchRequest.filter. */
|
|
1715
|
+
filter?: string;
|
|
1716
|
+
/** Number of search results to return. The default value is 10. The maximumm allowed value is 10. */
|
|
1717
|
+
maxResultCount?: number;
|
|
1718
|
+
/** If set, safe search is enabled in Vertex AI Search requests. */
|
|
1719
|
+
safeSearch?: boolean;
|
|
1720
|
+
/** The resource name of the Engine to use. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}` */
|
|
1721
|
+
servingConfig?: string;
|
|
1722
|
+
}
|
|
1723
|
+
interface GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSpec {
|
|
1724
|
+
/** Grounding sources. */
|
|
1725
|
+
groundingSources?: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSource[];
|
|
1726
|
+
}
|
|
1727
|
+
interface GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponse {
|
|
1728
|
+
/** Generated candidates. */
|
|
1729
|
+
candidates?: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidate[];
|
|
1730
|
+
}
|
|
1731
|
+
interface GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidate {
|
|
1732
|
+
/** Content of the candidate. */
|
|
1733
|
+
content?: GoogleCloudDiscoveryengineV1alphaGroundedGenerationContent;
|
|
1734
|
+
/** Grounding metadata for the generated content. */
|
|
1735
|
+
groundingMetadata?: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadata;
|
|
1736
|
+
/** The overall grounding score for the candidate, in the range of [0, 1]. */
|
|
1737
|
+
groundingScore?: number;
|
|
1738
|
+
/** Index of the candidate. */
|
|
1739
|
+
index?: number;
|
|
1740
|
+
}
|
|
1741
|
+
interface GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadata {
|
|
1742
|
+
/** GroundingSupport across all claims in the answer candidate. An support to a fact indicates that the claim is supported by the fact. */
|
|
1743
|
+
groundingSupport?: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataGroundingSupport[];
|
|
1744
|
+
/** 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. */
|
|
1745
|
+
retrievalMetadata?: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata[];
|
|
1746
|
+
/** Google search entry for the following-up web searches. */
|
|
1747
|
+
searchEntryPoint?: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataSearchEntryPoint;
|
|
1748
|
+
/** List of chunks to be attributed across all claims in the candidate. These are derived from the grounding sources supplied in the request. */
|
|
1749
|
+
supportChunks?: GoogleCloudDiscoveryengineV1alphaFactChunk[];
|
|
1750
|
+
/** Web search queries for the following-up web search. */
|
|
1751
|
+
webSearchQueries?: string[];
|
|
1752
|
+
}
|
|
1753
|
+
interface GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata {
|
|
1754
|
+
/** Metadata for the dynamic retrieval predictor. */
|
|
1755
|
+
predictorMetadata?: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata;
|
|
1756
|
+
}
|
|
1757
|
+
interface GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalPredictorMetadata {
|
|
1758
|
+
/** 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. */
|
|
1759
|
+
prediction?: number;
|
|
1760
|
+
/** The version of the predictor which was used in dynamic retrieval. */
|
|
1761
|
+
version?: string;
|
|
1762
|
+
}
|
|
1763
|
+
interface GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataGroundingSupport {
|
|
1764
|
+
/** Text for the claim in the candidate. Always provided when a support is found. */
|
|
1765
|
+
claimText?: string;
|
|
1766
|
+
/** 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. */
|
|
1767
|
+
supportChunkIndices?: number[];
|
|
1768
|
+
/** 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. */
|
|
1769
|
+
supportScore?: number;
|
|
1770
|
+
}
|
|
1771
|
+
interface GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataRetrievalMetadata {
|
|
1772
|
+
/** Metadata for dynamic retrieval. */
|
|
1773
|
+
dynamicRetrievalMetadata?: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataDynamicRetrievalMetadata;
|
|
1774
|
+
/** Describes the source to which the metadata is referring to. */
|
|
1775
|
+
source?: string;
|
|
1776
|
+
}
|
|
1777
|
+
interface GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponseCandidateGroundingMetadataSearchEntryPoint {
|
|
1778
|
+
/** Web content snippet that can be embedded in a web page or an app webview. */
|
|
1779
|
+
renderedContent?: string;
|
|
1780
|
+
/** Base64 encoded JSON representing array of tuple. */
|
|
1781
|
+
sdkBlob?: string;
|
|
1782
|
+
}
|
|
1511
1783
|
interface GoogleCloudDiscoveryengineV1alphaGetSessionRequest {
|
|
1512
1784
|
/** Optional. If set to true, the full session including all answer details will be returned. */
|
|
1513
1785
|
includeAnswerDetails?: boolean;
|
|
@@ -1518,6 +1790,16 @@ declare namespace gapi.client {
|
|
|
1518
1790
|
/** Document data keyed by URI pattern. For example: document_data_map = { "www.url1.com/*": { "Categories": ["category1", "category2"] }, "www.url2.com/*": { "Categories": ["category3"] } } */
|
|
1519
1791
|
documentDataMap?: {[P in string]: {[P in string]: any}};
|
|
1520
1792
|
}
|
|
1793
|
+
interface GoogleCloudDiscoveryengineV1alphaGroundedGenerationContent {
|
|
1794
|
+
/** Ordered `Parts` that constitute a single message. */
|
|
1795
|
+
parts?: GoogleCloudDiscoveryengineV1alphaGroundedGenerationContentPart[];
|
|
1796
|
+
/** Producer of the content. Must be either `user` or `model`. Intended to be used for multi-turn conversations. Otherwise, it can be left unset. */
|
|
1797
|
+
role?: string;
|
|
1798
|
+
}
|
|
1799
|
+
interface GoogleCloudDiscoveryengineV1alphaGroundedGenerationContentPart {
|
|
1800
|
+
/** Inline text. */
|
|
1801
|
+
text?: string;
|
|
1802
|
+
}
|
|
1521
1803
|
interface GoogleCloudDiscoveryengineV1alphaGroundingFact {
|
|
1522
1804
|
/** 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. */
|
|
1523
1805
|
attributes?: {[P in string]: string};
|
|
@@ -1532,6 +1814,10 @@ declare namespace gapi.client {
|
|
|
1532
1814
|
/** Max number of related questions to be returned. The valid range is [1, 5]. If enable_related_questions is true, the default value is 3. */
|
|
1533
1815
|
maxRelatedQuestions?: number;
|
|
1534
1816
|
}
|
|
1817
|
+
interface GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig {
|
|
1818
|
+
/** 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. */
|
|
1819
|
+
refreshInterval?: string;
|
|
1820
|
+
}
|
|
1535
1821
|
interface GoogleCloudDiscoveryengineV1alphaIdpConfig {
|
|
1536
1822
|
/** External Identity provider config. */
|
|
1537
1823
|
externalIdpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfigExternalIdpConfig;
|
|
@@ -1748,6 +2034,18 @@ declare namespace gapi.client {
|
|
|
1748
2034
|
/** All the customer's CmekConfigs. */
|
|
1749
2035
|
cmekConfigs?: GoogleCloudDiscoveryengineV1alphaCmekConfig[];
|
|
1750
2036
|
}
|
|
2037
|
+
interface GoogleCloudDiscoveryengineV1alphaListCollectionsResponse {
|
|
2038
|
+
/** The Collections. */
|
|
2039
|
+
collections?: GoogleCloudDiscoveryengineV1alphaCollection[];
|
|
2040
|
+
/** A token that can be sent as ListCollectionsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
2041
|
+
nextPageToken?: string;
|
|
2042
|
+
}
|
|
2043
|
+
interface GoogleCloudDiscoveryengineV1alphaListConnectorRunsResponse {
|
|
2044
|
+
/** List of ConnectorRuns. */
|
|
2045
|
+
connectorRuns?: GoogleCloudDiscoveryengineV1alphaConnectorRun[];
|
|
2046
|
+
/** A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
2047
|
+
nextPageToken?: string;
|
|
2048
|
+
}
|
|
1751
2049
|
interface GoogleCloudDiscoveryengineV1alphaListControlsResponse {
|
|
1752
2050
|
/** All the Controls for a given data store. */
|
|
1753
2051
|
controls?: GoogleCloudDiscoveryengineV1alphaControl[];
|
|
@@ -2848,6 +3146,15 @@ declare namespace gapi.client {
|
|
|
2848
3146
|
/** The user query. */
|
|
2849
3147
|
query?: GoogleCloudDiscoveryengineV1alphaQuery;
|
|
2850
3148
|
}
|
|
3149
|
+
interface GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorMetadata {}
|
|
3150
|
+
interface GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorRequest {
|
|
3151
|
+
/** Required. The display name of the Collection. Should be human readable, used to display collections in the Console Dashboard. UTF-8 encoded string with limit of 1024 characters. */
|
|
3152
|
+
collectionDisplayName?: string;
|
|
3153
|
+
/** Required. The ID to use for the Collection, which will become the final component of the Collection's resource name. A new Collection is created as part of the DataConnector setup. DataConnector is a singleton resource under Collection, managing all DataStores of the Collection. This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
3154
|
+
collectionId?: string;
|
|
3155
|
+
/** Required. The DataConnector to initialize in the newly created Collection. */
|
|
3156
|
+
dataConnector?: GoogleCloudDiscoveryengineV1alphaDataConnector;
|
|
3157
|
+
}
|
|
2851
3158
|
interface GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataMetadata {
|
|
2852
3159
|
/** Operation create time. */
|
|
2853
3160
|
createTime?: string;
|
|
@@ -2863,6 +3170,10 @@ declare namespace gapi.client {
|
|
|
2863
3170
|
schema?: {[P in string]: any};
|
|
2864
3171
|
}
|
|
2865
3172
|
interface GoogleCloudDiscoveryengineV1alphaSetUriPatternDocumentDataResponse {}
|
|
3173
|
+
interface GoogleCloudDiscoveryengineV1alphaSingleRegionKey {
|
|
3174
|
+
/** Required. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
|
|
3175
|
+
kmsKey?: string;
|
|
3176
|
+
}
|
|
2866
3177
|
interface GoogleCloudDiscoveryengineV1alphaSitemap {
|
|
2867
3178
|
/** Output only. The sitemap's creation time. */
|
|
2868
3179
|
createTime?: string;
|
|
@@ -2893,6 +3204,16 @@ declare namespace gapi.client {
|
|
|
2893
3204
|
/** Required. The table name of the Spanner database that needs to be imported. */
|
|
2894
3205
|
tableId?: string;
|
|
2895
3206
|
}
|
|
3207
|
+
interface GoogleCloudDiscoveryengineV1alphaStartConnectorRunRequest {
|
|
3208
|
+
/** Specifies which Third Party Connector entities should be synced. If not specified, all entities will be synced. */
|
|
3209
|
+
entities?: string[];
|
|
3210
|
+
/** The FHIR resource types to import. The resource types should be a subset of all supported FHIR resource types http://shortn/_J8ymdyOokT. Default to all supported FHIR resource types if empty. */
|
|
3211
|
+
healthcareFhirResourceTypes?: string[];
|
|
3212
|
+
/** If true, trigger Identity sync. */
|
|
3213
|
+
syncIdentity?: boolean;
|
|
3214
|
+
/** Timestamp to indicate the point in time from which data should be synced for Streaming/Batch Data Connectors. This field is only utilized for Healthcare Connectors. */
|
|
3215
|
+
syncSinceTimestamp?: string;
|
|
3216
|
+
}
|
|
2896
3217
|
interface GoogleCloudDiscoveryengineV1alphaSuggestionDenyListEntry {
|
|
2897
3218
|
/** Required. Phrase to block from suggestions served. Can be maximum 125 characters. */
|
|
2898
3219
|
blockPhrase?: string;
|
|
@@ -2999,6 +3320,12 @@ declare namespace gapi.client {
|
|
|
2999
3320
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
3000
3321
|
updateTime?: string;
|
|
3001
3322
|
}
|
|
3323
|
+
interface GoogleCloudDiscoveryengineV1alphaUpdateCollectionMetadata {
|
|
3324
|
+
/** Operation create time. */
|
|
3325
|
+
createTime?: string;
|
|
3326
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
3327
|
+
updateTime?: string;
|
|
3328
|
+
}
|
|
3002
3329
|
interface GoogleCloudDiscoveryengineV1alphaUpdateSchemaMetadata {
|
|
3003
3330
|
/** Operation create time. */
|
|
3004
3331
|
createTime?: string;
|
|
@@ -3113,6 +3440,8 @@ declare namespace gapi.client {
|
|
|
3113
3440
|
lastRotationTimestampMicros?: string;
|
|
3114
3441
|
/** Required. Name of the CmekConfig, of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. */
|
|
3115
3442
|
name?: string;
|
|
3443
|
+
/** Optional. Single-regional CMEKs that are required for some VAIS features. */
|
|
3444
|
+
singleRegionKeys?: GoogleCloudDiscoveryengineV1betaSingleRegionKey[];
|
|
3116
3445
|
/** Output only. State of the CmekConfig. */
|
|
3117
3446
|
state?: string;
|
|
3118
3447
|
}
|
|
@@ -3238,6 +3567,8 @@ declare namespace gapi.client {
|
|
|
3238
3567
|
documentProcessingConfig?: GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig;
|
|
3239
3568
|
/** Immutable. The industry vertical that the data store registers. */
|
|
3240
3569
|
industryVertical?: string;
|
|
3570
|
+
/** Optional. If set, this DataStore is an Infobot FAQ DataStore. */
|
|
3571
|
+
isInfobotFaqDataStore?: boolean;
|
|
3241
3572
|
/** 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. */
|
|
3242
3573
|
kmsKeyName?: string;
|
|
3243
3574
|
/** Language info for DataStore. */
|
|
@@ -3898,6 +4229,10 @@ declare namespace gapi.client {
|
|
|
3898
4229
|
/** The mode under which spell correction replaces the original search query. Defaults to Mode.AUTO. */
|
|
3899
4230
|
mode?: string;
|
|
3900
4231
|
}
|
|
4232
|
+
interface GoogleCloudDiscoveryengineV1betaSingleRegionKey {
|
|
4233
|
+
/** Required. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
|
|
4234
|
+
kmsKey?: string;
|
|
4235
|
+
}
|
|
3901
4236
|
interface GoogleCloudDiscoveryengineV1betaSitemap {
|
|
3902
4237
|
/** Output only. The sitemap's creation time. */
|
|
3903
4238
|
createTime?: string;
|
|
@@ -4004,6 +4339,8 @@ declare namespace gapi.client {
|
|
|
4004
4339
|
lastRotationTimestampMicros?: string;
|
|
4005
4340
|
/** Required. Name of the CmekConfig, of the form `projects/{project}/locations/{location}/cmekConfig` or `projects/{project}/locations/{location}/cmekConfigs/{cmekConfig}`. */
|
|
4006
4341
|
name?: string;
|
|
4342
|
+
/** Optional. Single-regional CMEKs that are required for some VAIS features. */
|
|
4343
|
+
singleRegionKeys?: GoogleCloudDiscoveryengineV1SingleRegionKey[];
|
|
4007
4344
|
/** Output only. State of the CmekConfig. */
|
|
4008
4345
|
state?: string;
|
|
4009
4346
|
}
|
|
@@ -4122,6 +4459,8 @@ declare namespace gapi.client {
|
|
|
4122
4459
|
documentProcessingConfig?: GoogleCloudDiscoveryengineV1DocumentProcessingConfig;
|
|
4123
4460
|
/** Immutable. The industry vertical that the data store registers. */
|
|
4124
4461
|
industryVertical?: string;
|
|
4462
|
+
/** Optional. If set, this DataStore is an Infobot FAQ DataStore. */
|
|
4463
|
+
isInfobotFaqDataStore?: boolean;
|
|
4125
4464
|
/** 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. */
|
|
4126
4465
|
kmsKeyName?: string;
|
|
4127
4466
|
/** 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. */
|
|
@@ -4568,6 +4907,10 @@ declare namespace gapi.client {
|
|
|
4568
4907
|
/** Specifies the event type used for demoting recommendation result. Currently supported values: * `view-item`: Item viewed. * `media-play`: Start/resume watching a video, playing a song, etc. * `media-complete`: Finished or stopped midway through a video, song, etc. If unset, watch history demotion will not be applied. Content freshness demotion will still be applied. */
|
|
4569
4908
|
demotionEventType?: string;
|
|
4570
4909
|
}
|
|
4910
|
+
interface GoogleCloudDiscoveryengineV1SingleRegionKey {
|
|
4911
|
+
/** Required. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
|
|
4912
|
+
kmsKey?: string;
|
|
4913
|
+
}
|
|
4571
4914
|
interface GoogleCloudDiscoveryengineV1SiteVerificationInfo {
|
|
4572
4915
|
/** Site verification state indicating the ownership and validity. */
|
|
4573
4916
|
siteVerificationState?: string;
|
|
@@ -4728,6 +5071,26 @@ declare namespace gapi.client {
|
|
|
4728
5071
|
/** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
|
|
4729
5072
|
year?: number;
|
|
4730
5073
|
}
|
|
5074
|
+
interface GoogleTypeDateTime {
|
|
5075
|
+
/** 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. */
|
|
5076
|
+
day?: number;
|
|
5077
|
+
/** 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. */
|
|
5078
|
+
hours?: number;
|
|
5079
|
+
/** Optional. Minutes of hour of day. Must be from 0 to 59, defaults to 0. */
|
|
5080
|
+
minutes?: number;
|
|
5081
|
+
/** Optional. Month of year. Must be from 1 to 12, or 0 if specifying a datetime without a month. */
|
|
5082
|
+
month?: number;
|
|
5083
|
+
/** Optional. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999, defaults to 0. */
|
|
5084
|
+
nanos?: number;
|
|
5085
|
+
/** 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. */
|
|
5086
|
+
seconds?: number;
|
|
5087
|
+
/** Time zone. */
|
|
5088
|
+
timeZone?: GoogleTypeTimeZone;
|
|
5089
|
+
/** 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 }. */
|
|
5090
|
+
utcOffset?: string;
|
|
5091
|
+
/** Optional. Year of date. Must be from 1 to 9999, or 0 if specifying a datetime without a year. */
|
|
5092
|
+
year?: number;
|
|
5093
|
+
}
|
|
4731
5094
|
interface GoogleTypeExpr {
|
|
4732
5095
|
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
4733
5096
|
description?: string;
|
|
@@ -4738,6 +5101,12 @@ declare namespace gapi.client {
|
|
|
4738
5101
|
/** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
|
|
4739
5102
|
title?: string;
|
|
4740
5103
|
}
|
|
5104
|
+
interface GoogleTypeTimeZone {
|
|
5105
|
+
/** IANA Time Zone Database time zone. For example "America/New_York". */
|
|
5106
|
+
id?: string;
|
|
5107
|
+
/** Optional. IANA Time Zone Database version number. For example "2019a". */
|
|
5108
|
+
version?: string;
|
|
5109
|
+
}
|
|
4741
5110
|
interface CmekConfigsResource {
|
|
4742
5111
|
/** Gets the CmekConfig. */
|
|
4743
5112
|
get(request?: {
|
|
@@ -4856,6 +5225,39 @@ declare namespace gapi.client {
|
|
|
4856
5225
|
body: GoogleCloudDiscoveryengineV1alphaCmekConfig
|
|
4857
5226
|
): Request<GoogleLongrunningOperation>;
|
|
4858
5227
|
}
|
|
5228
|
+
interface ConnectorRunsResource {
|
|
5229
|
+
/** Lists the ConnectorRuns of a DataConnector. */
|
|
5230
|
+
list(request?: {
|
|
5231
|
+
/** V1 error format. */
|
|
5232
|
+
'$.xgafv'?: string;
|
|
5233
|
+
/** OAuth access token. */
|
|
5234
|
+
access_token?: string;
|
|
5235
|
+
/** Data format for response. */
|
|
5236
|
+
alt?: string;
|
|
5237
|
+
/** JSONP */
|
|
5238
|
+
callback?: string;
|
|
5239
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5240
|
+
fields?: string;
|
|
5241
|
+
/** 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. */
|
|
5242
|
+
key?: string;
|
|
5243
|
+
/** OAuth 2.0 token for the current user. */
|
|
5244
|
+
oauth_token?: string;
|
|
5245
|
+
/** 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. */
|
|
5246
|
+
pageSize?: number;
|
|
5247
|
+
/** A page token, received from a previous `ListConnectorRuns` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectorRuns` must match the call that provided the page token. */
|
|
5248
|
+
pageToken?: string;
|
|
5249
|
+
/** Required. The parent DataConnector resource name, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataConnector`. If the caller does not have permission to list ConnectorRuns under this DataConnector, regardless of whether or not this DataConnector exists, a PERMISSION_DENIED error is returned. */
|
|
5250
|
+
parent: string;
|
|
5251
|
+
/** Returns response with indentations and line breaks. */
|
|
5252
|
+
prettyPrint?: boolean;
|
|
5253
|
+
/** 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. */
|
|
5254
|
+
quotaUser?: string;
|
|
5255
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5256
|
+
upload_protocol?: string;
|
|
5257
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5258
|
+
uploadType?: string;
|
|
5259
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaListConnectorRunsResponse>;
|
|
5260
|
+
}
|
|
4859
5261
|
interface OperationsResource {
|
|
4860
5262
|
/** 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. */
|
|
4861
5263
|
get(request?: {
|
|
@@ -4919,6 +5321,65 @@ declare namespace gapi.client {
|
|
|
4919
5321
|
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
4920
5322
|
}
|
|
4921
5323
|
interface DataConnectorResource {
|
|
5324
|
+
/** Starts an immediate synchronization process for a DataConnector. Third Party Connector Users must specify which entities should be synced. FHIR Connectors must provide a timestamp to indicate the point in time from which data should be synced. */
|
|
5325
|
+
startConnectorRun(request: {
|
|
5326
|
+
/** V1 error format. */
|
|
5327
|
+
'$.xgafv'?: string;
|
|
5328
|
+
/** OAuth access token. */
|
|
5329
|
+
access_token?: string;
|
|
5330
|
+
/** Data format for response. */
|
|
5331
|
+
alt?: string;
|
|
5332
|
+
/** JSONP */
|
|
5333
|
+
callback?: string;
|
|
5334
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5335
|
+
fields?: string;
|
|
5336
|
+
/** 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. */
|
|
5337
|
+
key?: string;
|
|
5338
|
+
/** OAuth 2.0 token for the current user. */
|
|
5339
|
+
oauth_token?: string;
|
|
5340
|
+
/** Required. Connector name of the form projects/{project}/locations/{location}/collections/ {collection_id}/dataConnector */
|
|
5341
|
+
parent: string;
|
|
5342
|
+
/** Returns response with indentations and line breaks. */
|
|
5343
|
+
prettyPrint?: boolean;
|
|
5344
|
+
/** 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. */
|
|
5345
|
+
quotaUser?: string;
|
|
5346
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5347
|
+
upload_protocol?: string;
|
|
5348
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5349
|
+
uploadType?: string;
|
|
5350
|
+
/** Request body */
|
|
5351
|
+
resource: GoogleCloudDiscoveryengineV1alphaStartConnectorRunRequest;
|
|
5352
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaConnectorRun>;
|
|
5353
|
+
startConnectorRun(
|
|
5354
|
+
request: {
|
|
5355
|
+
/** V1 error format. */
|
|
5356
|
+
'$.xgafv'?: string;
|
|
5357
|
+
/** OAuth access token. */
|
|
5358
|
+
access_token?: string;
|
|
5359
|
+
/** Data format for response. */
|
|
5360
|
+
alt?: string;
|
|
5361
|
+
/** JSONP */
|
|
5362
|
+
callback?: string;
|
|
5363
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
5364
|
+
fields?: string;
|
|
5365
|
+
/** 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. */
|
|
5366
|
+
key?: string;
|
|
5367
|
+
/** OAuth 2.0 token for the current user. */
|
|
5368
|
+
oauth_token?: string;
|
|
5369
|
+
/** Required. Connector name of the form projects/{project}/locations/{location}/collections/ {collection_id}/dataConnector */
|
|
5370
|
+
parent: string;
|
|
5371
|
+
/** Returns response with indentations and line breaks. */
|
|
5372
|
+
prettyPrint?: boolean;
|
|
5373
|
+
/** 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. */
|
|
5374
|
+
quotaUser?: string;
|
|
5375
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
5376
|
+
upload_protocol?: string;
|
|
5377
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
5378
|
+
uploadType?: string;
|
|
5379
|
+
},
|
|
5380
|
+
body: GoogleCloudDiscoveryengineV1alphaStartConnectorRunRequest
|
|
5381
|
+
): Request<GoogleCloudDiscoveryengineV1alphaConnectorRun>;
|
|
5382
|
+
connectorRuns: ConnectorRunsResource;
|
|
4922
5383
|
operations: OperationsResource;
|
|
4923
5384
|
}
|
|
4924
5385
|
interface ChunksResource {
|
|
@@ -10568,6 +11029,244 @@ declare namespace gapi.client {
|
|
|
10568
11029
|
}): Request<GoogleLongrunningListOperationsResponse>;
|
|
10569
11030
|
}
|
|
10570
11031
|
interface CollectionsResource {
|
|
11032
|
+
/** Deletes a Collection. */
|
|
11033
|
+
delete(request?: {
|
|
11034
|
+
/** V1 error format. */
|
|
11035
|
+
'$.xgafv'?: string;
|
|
11036
|
+
/** OAuth access token. */
|
|
11037
|
+
access_token?: string;
|
|
11038
|
+
/** Data format for response. */
|
|
11039
|
+
alt?: string;
|
|
11040
|
+
/** JSONP */
|
|
11041
|
+
callback?: string;
|
|
11042
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
11043
|
+
fields?: string;
|
|
11044
|
+
/** 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. */
|
|
11045
|
+
key?: string;
|
|
11046
|
+
/** Required. The full resource name of the Collection, in the format of `projects/{project}/locations/{location}/collections/{collection}`. */
|
|
11047
|
+
name: string;
|
|
11048
|
+
/** OAuth 2.0 token for the current user. */
|
|
11049
|
+
oauth_token?: string;
|
|
11050
|
+
/** Returns response with indentations and line breaks. */
|
|
11051
|
+
prettyPrint?: boolean;
|
|
11052
|
+
/** 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. */
|
|
11053
|
+
quotaUser?: string;
|
|
11054
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11055
|
+
upload_protocol?: string;
|
|
11056
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11057
|
+
uploadType?: string;
|
|
11058
|
+
}): Request<GoogleLongrunningOperation>;
|
|
11059
|
+
/** Gets a Collection. */
|
|
11060
|
+
get(request?: {
|
|
11061
|
+
/** V1 error format. */
|
|
11062
|
+
'$.xgafv'?: string;
|
|
11063
|
+
/** OAuth access token. */
|
|
11064
|
+
access_token?: string;
|
|
11065
|
+
/** Data format for response. */
|
|
11066
|
+
alt?: string;
|
|
11067
|
+
/** JSONP */
|
|
11068
|
+
callback?: string;
|
|
11069
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
11070
|
+
fields?: string;
|
|
11071
|
+
/** 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. */
|
|
11072
|
+
key?: string;
|
|
11073
|
+
/** Required. The full resource name, in the format of `projects/{project}/locations/{location}/collections/{collection}`. */
|
|
11074
|
+
name: string;
|
|
11075
|
+
/** OAuth 2.0 token for the current user. */
|
|
11076
|
+
oauth_token?: string;
|
|
11077
|
+
/** Returns response with indentations and line breaks. */
|
|
11078
|
+
prettyPrint?: boolean;
|
|
11079
|
+
/** 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. */
|
|
11080
|
+
quotaUser?: string;
|
|
11081
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11082
|
+
upload_protocol?: string;
|
|
11083
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11084
|
+
uploadType?: string;
|
|
11085
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaCollection>;
|
|
11086
|
+
/** Gets the DataConnector. DataConnector is a singleton resource for each Collection. */
|
|
11087
|
+
getDataConnector(request?: {
|
|
11088
|
+
/** V1 error format. */
|
|
11089
|
+
'$.xgafv'?: string;
|
|
11090
|
+
/** OAuth access token. */
|
|
11091
|
+
access_token?: string;
|
|
11092
|
+
/** Data format for response. */
|
|
11093
|
+
alt?: string;
|
|
11094
|
+
/** JSONP */
|
|
11095
|
+
callback?: string;
|
|
11096
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
11097
|
+
fields?: string;
|
|
11098
|
+
/** 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. */
|
|
11099
|
+
key?: string;
|
|
11100
|
+
/** Required. Full resource name of DataConnector, such as `projects/{project}/locations/{location}/collections/{collection_id}/dataConnector`. If the caller does not have permission to access the DataConnector, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested DataConnector does not exist, a NOT_FOUND error is returned. */
|
|
11101
|
+
name: string;
|
|
11102
|
+
/** OAuth 2.0 token for the current user. */
|
|
11103
|
+
oauth_token?: string;
|
|
11104
|
+
/** Returns response with indentations and line breaks. */
|
|
11105
|
+
prettyPrint?: boolean;
|
|
11106
|
+
/** 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. */
|
|
11107
|
+
quotaUser?: string;
|
|
11108
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11109
|
+
upload_protocol?: string;
|
|
11110
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11111
|
+
uploadType?: string;
|
|
11112
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaDataConnector>;
|
|
11113
|
+
/** Gets a list of Collections. */
|
|
11114
|
+
list(request?: {
|
|
11115
|
+
/** V1 error format. */
|
|
11116
|
+
'$.xgafv'?: string;
|
|
11117
|
+
/** OAuth access token. */
|
|
11118
|
+
access_token?: string;
|
|
11119
|
+
/** Data format for response. */
|
|
11120
|
+
alt?: string;
|
|
11121
|
+
/** JSONP */
|
|
11122
|
+
callback?: string;
|
|
11123
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
11124
|
+
fields?: string;
|
|
11125
|
+
/** Filter returned collections by associated data connector data sources. For example: `filter = 'data_source:jira confluence'`. If the filter is empty, we return all collections under a project and location. */
|
|
11126
|
+
filter?: string;
|
|
11127
|
+
/** 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. */
|
|
11128
|
+
key?: string;
|
|
11129
|
+
/** OAuth 2.0 token for the current user. */
|
|
11130
|
+
oauth_token?: string;
|
|
11131
|
+
/** The maximum number of Collections to return. The service may return fewer than this value. If unspecified, at most 100 Collections will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
|
|
11132
|
+
pageSize?: number;
|
|
11133
|
+
/** A page token, received from a previous CollectionService.ListCollections call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to CollectionService.ListCollections must match the call that provided the page token. */
|
|
11134
|
+
pageToken?: string;
|
|
11135
|
+
/** Required. The parent data store resource name, in the format of `projects/{project}/locations/{location}`. */
|
|
11136
|
+
parent: string;
|
|
11137
|
+
/** Returns response with indentations and line breaks. */
|
|
11138
|
+
prettyPrint?: boolean;
|
|
11139
|
+
/** 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. */
|
|
11140
|
+
quotaUser?: string;
|
|
11141
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11142
|
+
upload_protocol?: string;
|
|
11143
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11144
|
+
uploadType?: string;
|
|
11145
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaListCollectionsResponse>;
|
|
11146
|
+
/** Updates a Collection. */
|
|
11147
|
+
patch(request: {
|
|
11148
|
+
/** V1 error format. */
|
|
11149
|
+
'$.xgafv'?: string;
|
|
11150
|
+
/** OAuth access token. */
|
|
11151
|
+
access_token?: string;
|
|
11152
|
+
/** Data format for response. */
|
|
11153
|
+
alt?: string;
|
|
11154
|
+
/** JSONP */
|
|
11155
|
+
callback?: string;
|
|
11156
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
11157
|
+
fields?: string;
|
|
11158
|
+
/** 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. */
|
|
11159
|
+
key?: string;
|
|
11160
|
+
/** 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. */
|
|
11161
|
+
name: string;
|
|
11162
|
+
/** OAuth 2.0 token for the current user. */
|
|
11163
|
+
oauth_token?: string;
|
|
11164
|
+
/** Returns response with indentations and line breaks. */
|
|
11165
|
+
prettyPrint?: boolean;
|
|
11166
|
+
/** 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. */
|
|
11167
|
+
quotaUser?: string;
|
|
11168
|
+
/** Optional. The list of fields to be updated. */
|
|
11169
|
+
updateMask?: string;
|
|
11170
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11171
|
+
upload_protocol?: string;
|
|
11172
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11173
|
+
uploadType?: string;
|
|
11174
|
+
/** Request body */
|
|
11175
|
+
resource: GoogleCloudDiscoveryengineV1alphaCollection;
|
|
11176
|
+
}): Request<GoogleLongrunningOperation>;
|
|
11177
|
+
patch(
|
|
11178
|
+
request: {
|
|
11179
|
+
/** V1 error format. */
|
|
11180
|
+
'$.xgafv'?: string;
|
|
11181
|
+
/** OAuth access token. */
|
|
11182
|
+
access_token?: string;
|
|
11183
|
+
/** Data format for response. */
|
|
11184
|
+
alt?: string;
|
|
11185
|
+
/** JSONP */
|
|
11186
|
+
callback?: string;
|
|
11187
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
11188
|
+
fields?: string;
|
|
11189
|
+
/** 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. */
|
|
11190
|
+
key?: string;
|
|
11191
|
+
/** 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. */
|
|
11192
|
+
name: string;
|
|
11193
|
+
/** OAuth 2.0 token for the current user. */
|
|
11194
|
+
oauth_token?: string;
|
|
11195
|
+
/** Returns response with indentations and line breaks. */
|
|
11196
|
+
prettyPrint?: boolean;
|
|
11197
|
+
/** 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. */
|
|
11198
|
+
quotaUser?: string;
|
|
11199
|
+
/** Optional. The list of fields to be updated. */
|
|
11200
|
+
updateMask?: string;
|
|
11201
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11202
|
+
upload_protocol?: string;
|
|
11203
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11204
|
+
uploadType?: string;
|
|
11205
|
+
},
|
|
11206
|
+
body: GoogleCloudDiscoveryengineV1alphaCollection
|
|
11207
|
+
): Request<GoogleLongrunningOperation>;
|
|
11208
|
+
/** Updates a DataConnector. */
|
|
11209
|
+
updateDataConnector(request: {
|
|
11210
|
+
/** V1 error format. */
|
|
11211
|
+
'$.xgafv'?: string;
|
|
11212
|
+
/** OAuth access token. */
|
|
11213
|
+
access_token?: string;
|
|
11214
|
+
/** Data format for response. */
|
|
11215
|
+
alt?: string;
|
|
11216
|
+
/** JSONP */
|
|
11217
|
+
callback?: string;
|
|
11218
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
11219
|
+
fields?: string;
|
|
11220
|
+
/** 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. */
|
|
11221
|
+
key?: string;
|
|
11222
|
+
/** Output only. The full resource name of the Data Connector. Format: `projects/*/locations/*/collections/*/dataConnector`. */
|
|
11223
|
+
name: string;
|
|
11224
|
+
/** OAuth 2.0 token for the current user. */
|
|
11225
|
+
oauth_token?: string;
|
|
11226
|
+
/** Returns response with indentations and line breaks. */
|
|
11227
|
+
prettyPrint?: boolean;
|
|
11228
|
+
/** 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. */
|
|
11229
|
+
quotaUser?: string;
|
|
11230
|
+
/** Indicates which fields in the provided DataConnector to update. Supported field paths include: - refresh_interval - params - auto_run_disabled - action_config - destination_configs - blocking_reasons Note: Support for these fields may vary depending on the connector type. For example, not all connectors support `destination_configs`. If an unsupported or unknown field path is provided, the request will return an INVALID_ARGUMENT error. */
|
|
11231
|
+
updateMask?: string;
|
|
11232
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11233
|
+
upload_protocol?: string;
|
|
11234
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11235
|
+
uploadType?: string;
|
|
11236
|
+
/** Request body */
|
|
11237
|
+
resource: GoogleCloudDiscoveryengineV1alphaDataConnector;
|
|
11238
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaDataConnector>;
|
|
11239
|
+
updateDataConnector(
|
|
11240
|
+
request: {
|
|
11241
|
+
/** V1 error format. */
|
|
11242
|
+
'$.xgafv'?: string;
|
|
11243
|
+
/** OAuth access token. */
|
|
11244
|
+
access_token?: string;
|
|
11245
|
+
/** Data format for response. */
|
|
11246
|
+
alt?: string;
|
|
11247
|
+
/** JSONP */
|
|
11248
|
+
callback?: string;
|
|
11249
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
11250
|
+
fields?: string;
|
|
11251
|
+
/** 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. */
|
|
11252
|
+
key?: string;
|
|
11253
|
+
/** Output only. The full resource name of the Data Connector. Format: `projects/*/locations/*/collections/*/dataConnector`. */
|
|
11254
|
+
name: string;
|
|
11255
|
+
/** OAuth 2.0 token for the current user. */
|
|
11256
|
+
oauth_token?: string;
|
|
11257
|
+
/** Returns response with indentations and line breaks. */
|
|
11258
|
+
prettyPrint?: boolean;
|
|
11259
|
+
/** 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. */
|
|
11260
|
+
quotaUser?: string;
|
|
11261
|
+
/** Indicates which fields in the provided DataConnector to update. Supported field paths include: - refresh_interval - params - auto_run_disabled - action_config - destination_configs - blocking_reasons Note: Support for these fields may vary depending on the connector type. For example, not all connectors support `destination_configs`. If an unsupported or unknown field path is provided, the request will return an INVALID_ARGUMENT error. */
|
|
11262
|
+
updateMask?: string;
|
|
11263
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
11264
|
+
upload_protocol?: string;
|
|
11265
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
11266
|
+
uploadType?: string;
|
|
11267
|
+
},
|
|
11268
|
+
body: GoogleCloudDiscoveryengineV1alphaDataConnector
|
|
11269
|
+
): Request<GoogleCloudDiscoveryengineV1alphaDataConnector>;
|
|
10571
11270
|
dataConnector: DataConnectorResource;
|
|
10572
11271
|
dataStores: DataStoresResource;
|
|
10573
11272
|
engines: EnginesResource;
|
|
@@ -15359,6 +16058,64 @@ declare namespace gapi.client {
|
|
|
15359
16058
|
},
|
|
15360
16059
|
body: GoogleCloudDiscoveryengineV1alphaEstimateDataSizeRequest
|
|
15361
16060
|
): Request<GoogleLongrunningOperation>;
|
|
16061
|
+
/** Generates grounded content. */
|
|
16062
|
+
generateGroundedContent(request: {
|
|
16063
|
+
/** V1 error format. */
|
|
16064
|
+
'$.xgafv'?: string;
|
|
16065
|
+
/** OAuth access token. */
|
|
16066
|
+
access_token?: string;
|
|
16067
|
+
/** Data format for response. */
|
|
16068
|
+
alt?: string;
|
|
16069
|
+
/** JSONP */
|
|
16070
|
+
callback?: string;
|
|
16071
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16072
|
+
fields?: string;
|
|
16073
|
+
/** 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. */
|
|
16074
|
+
key?: string;
|
|
16075
|
+
/** Required. Location resource. Format: `projects/{project}/locations/{location}`. */
|
|
16076
|
+
location: string;
|
|
16077
|
+
/** OAuth 2.0 token for the current user. */
|
|
16078
|
+
oauth_token?: string;
|
|
16079
|
+
/** Returns response with indentations and line breaks. */
|
|
16080
|
+
prettyPrint?: boolean;
|
|
16081
|
+
/** 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. */
|
|
16082
|
+
quotaUser?: string;
|
|
16083
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16084
|
+
upload_protocol?: string;
|
|
16085
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16086
|
+
uploadType?: string;
|
|
16087
|
+
/** Request body */
|
|
16088
|
+
resource: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequest;
|
|
16089
|
+
}): Request<GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponse>;
|
|
16090
|
+
generateGroundedContent(
|
|
16091
|
+
request: {
|
|
16092
|
+
/** V1 error format. */
|
|
16093
|
+
'$.xgafv'?: string;
|
|
16094
|
+
/** OAuth access token. */
|
|
16095
|
+
access_token?: string;
|
|
16096
|
+
/** Data format for response. */
|
|
16097
|
+
alt?: string;
|
|
16098
|
+
/** JSONP */
|
|
16099
|
+
callback?: string;
|
|
16100
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16101
|
+
fields?: string;
|
|
16102
|
+
/** 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. */
|
|
16103
|
+
key?: string;
|
|
16104
|
+
/** Required. Location resource. Format: `projects/{project}/locations/{location}`. */
|
|
16105
|
+
location: string;
|
|
16106
|
+
/** OAuth 2.0 token for the current user. */
|
|
16107
|
+
oauth_token?: string;
|
|
16108
|
+
/** Returns response with indentations and line breaks. */
|
|
16109
|
+
prettyPrint?: boolean;
|
|
16110
|
+
/** 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. */
|
|
16111
|
+
quotaUser?: string;
|
|
16112
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16113
|
+
upload_protocol?: string;
|
|
16114
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16115
|
+
uploadType?: string;
|
|
16116
|
+
},
|
|
16117
|
+
body: GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequest
|
|
16118
|
+
): Request<GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentResponse>;
|
|
15362
16119
|
/** Gets the AclConfig. */
|
|
15363
16120
|
getAclConfig(request?: {
|
|
15364
16121
|
/** V1 error format. */
|
|
@@ -15413,6 +16170,64 @@ declare namespace gapi.client {
|
|
|
15413
16170
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
15414
16171
|
uploadType?: string;
|
|
15415
16172
|
}): Request<GoogleCloudDiscoveryengineV1alphaCmekConfig>;
|
|
16173
|
+
/** Creates a Collection and sets up the DataConnector for it. To stop a DataConnector after setup, use the CollectionService.DeleteCollection method. */
|
|
16174
|
+
setUpDataConnector(request: {
|
|
16175
|
+
/** V1 error format. */
|
|
16176
|
+
'$.xgafv'?: string;
|
|
16177
|
+
/** OAuth access token. */
|
|
16178
|
+
access_token?: string;
|
|
16179
|
+
/** Data format for response. */
|
|
16180
|
+
alt?: string;
|
|
16181
|
+
/** JSONP */
|
|
16182
|
+
callback?: string;
|
|
16183
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16184
|
+
fields?: string;
|
|
16185
|
+
/** 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. */
|
|
16186
|
+
key?: string;
|
|
16187
|
+
/** OAuth 2.0 token for the current user. */
|
|
16188
|
+
oauth_token?: string;
|
|
16189
|
+
/** Required. The parent of Collection, in the format of `projects/{project}/locations/{location}`. */
|
|
16190
|
+
parent: string;
|
|
16191
|
+
/** Returns response with indentations and line breaks. */
|
|
16192
|
+
prettyPrint?: boolean;
|
|
16193
|
+
/** 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. */
|
|
16194
|
+
quotaUser?: string;
|
|
16195
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16196
|
+
upload_protocol?: string;
|
|
16197
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16198
|
+
uploadType?: string;
|
|
16199
|
+
/** Request body */
|
|
16200
|
+
resource: GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorRequest;
|
|
16201
|
+
}): Request<GoogleLongrunningOperation>;
|
|
16202
|
+
setUpDataConnector(
|
|
16203
|
+
request: {
|
|
16204
|
+
/** V1 error format. */
|
|
16205
|
+
'$.xgafv'?: string;
|
|
16206
|
+
/** OAuth access token. */
|
|
16207
|
+
access_token?: string;
|
|
16208
|
+
/** Data format for response. */
|
|
16209
|
+
alt?: string;
|
|
16210
|
+
/** JSONP */
|
|
16211
|
+
callback?: string;
|
|
16212
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16213
|
+
fields?: string;
|
|
16214
|
+
/** 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. */
|
|
16215
|
+
key?: string;
|
|
16216
|
+
/** OAuth 2.0 token for the current user. */
|
|
16217
|
+
oauth_token?: string;
|
|
16218
|
+
/** Required. The parent of Collection, in the format of `projects/{project}/locations/{location}`. */
|
|
16219
|
+
parent: string;
|
|
16220
|
+
/** Returns response with indentations and line breaks. */
|
|
16221
|
+
prettyPrint?: boolean;
|
|
16222
|
+
/** 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. */
|
|
16223
|
+
quotaUser?: string;
|
|
16224
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16225
|
+
upload_protocol?: string;
|
|
16226
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16227
|
+
uploadType?: string;
|
|
16228
|
+
},
|
|
16229
|
+
body: GoogleCloudDiscoveryengineV1alphaSetUpDataConnectorRequest
|
|
16230
|
+
): Request<GoogleLongrunningOperation>;
|
|
15416
16231
|
/** Default ACL configuration for use in a location of a customer's project. Updates will only reflect to new data stores. Existing data stores will still use the old value. */
|
|
15417
16232
|
updateAclConfig(request: {
|
|
15418
16233
|
/** V1 error format. */
|