@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20250508 → 0.0.20250514
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 +95 -25
- 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: 20250514
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1549,7 +1549,7 @@ declare namespace gapi.client {
|
|
|
1549
1549
|
actionConfig?: GoogleCloudDiscoveryengineV1alphaActionConfig;
|
|
1550
1550
|
/** Optional. The connector level alert config. */
|
|
1551
1551
|
alertPolicyConfigs?: GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig[];
|
|
1552
|
-
/** Indicates whether the connector is disabled for auto run. It can be used to pause periodical and real time sync. */
|
|
1552
|
+
/** Optional. Indicates whether the connector is disabled for auto run. It can be used to pause periodical and real time sync. Update: with the introduction of incremental_sync_disabled, auto_run_disabled is used to pause/disable only full syncs */
|
|
1553
1553
|
autoRunDisabled?: boolean;
|
|
1554
1554
|
/** Optional. The configuration for establishing a BAP connection. */
|
|
1555
1555
|
bapConfig?: GoogleCloudDiscoveryengineV1alphaBAPConfig;
|
|
@@ -1577,6 +1577,10 @@ declare namespace gapi.client {
|
|
|
1577
1577
|
identityRefreshInterval?: string;
|
|
1578
1578
|
/** 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. */
|
|
1579
1579
|
identityScheduleConfig?: GoogleCloudDiscoveryengineV1alphaIdentityScheduleConfig;
|
|
1580
|
+
/** Optional. The refresh interval specifically for incremental data syncs. If unset, incremental syncs will use the default from env, set to 3hrs. The minimum is 30 minutes and maximum is 7 days. */
|
|
1581
|
+
incrementalRefreshInterval?: string;
|
|
1582
|
+
/** Optional. Indicates whether incremental syncs are paused for this connector. This is independent of auto_run_disabled. */
|
|
1583
|
+
incrementalSyncDisabled?: boolean;
|
|
1580
1584
|
/** 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. */
|
|
1581
1585
|
kmsKeyName?: string;
|
|
1582
1586
|
/** Output only. For periodic connectors only, the last time a data sync was completed. */
|
|
@@ -1667,7 +1671,7 @@ declare namespace gapi.client {
|
|
|
1667
1671
|
kmsKeyName?: string;
|
|
1668
1672
|
/** Language info for DataStore. */
|
|
1669
1673
|
languageInfo?: GoogleCloudDiscoveryengineV1alphaLanguageInfo;
|
|
1670
|
-
/** 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. */
|
|
1674
|
+
/** Immutable. Identifier. 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. */
|
|
1671
1675
|
name?: string;
|
|
1672
1676
|
/** Optional. Configuration for Natural Language Query Understanding. */
|
|
1673
1677
|
naturalLanguageQueryUnderstandingConfig?: GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig;
|
|
@@ -1695,7 +1699,7 @@ declare namespace gapi.client {
|
|
|
1695
1699
|
websiteDataUpdateTime?: string;
|
|
1696
1700
|
}
|
|
1697
1701
|
interface GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore {
|
|
1698
|
-
/** If set true, the DataStore will not be available for serving search requests. */
|
|
1702
|
+
/** Optional. If set true, the DataStore will not be available for serving search requests. */
|
|
1699
1703
|
disabledForServing?: boolean;
|
|
1700
1704
|
}
|
|
1701
1705
|
interface GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries {
|
|
@@ -1922,17 +1926,17 @@ declare namespace gapi.client {
|
|
|
1922
1926
|
commonConfig?: GoogleCloudDiscoveryengineV1alphaEngineCommonConfig;
|
|
1923
1927
|
/** Output only. Timestamp the Recommendation Engine was created at. */
|
|
1924
1928
|
createTime?: string;
|
|
1925
|
-
/** The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here. Note that when used in CreateEngineRequest, one DataStore id must be provided as the system will use it for necessary initializations. */
|
|
1929
|
+
/** Optional. The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here. Note that when used in CreateEngineRequest, one DataStore id must be provided as the system will use it for necessary initializations. */
|
|
1926
1930
|
dataStoreIds?: string[];
|
|
1927
1931
|
/** Optional. Whether to disable analytics for searches performed on this engine. */
|
|
1928
1932
|
disableAnalytics?: boolean;
|
|
1929
1933
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
1930
1934
|
displayName?: string;
|
|
1931
|
-
/** The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. */
|
|
1935
|
+
/** Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. */
|
|
1932
1936
|
industryVertical?: string;
|
|
1933
1937
|
/** Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical. */
|
|
1934
1938
|
mediaRecommendationEngineConfig?: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig;
|
|
1935
|
-
/** Immutable. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
1939
|
+
/** Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
1936
1940
|
name?: string;
|
|
1937
1941
|
/** Output only. Additional information of a recommendation engine. Only applicable if solution_type is SOLUTION_TYPE_RECOMMENDATION. */
|
|
1938
1942
|
recommendationMetadata?: GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata;
|
|
@@ -4461,7 +4465,7 @@ declare namespace gapi.client {
|
|
|
4461
4465
|
kmsKeyName?: string;
|
|
4462
4466
|
/** Language info for DataStore. */
|
|
4463
4467
|
languageInfo?: GoogleCloudDiscoveryengineV1betaLanguageInfo;
|
|
4464
|
-
/** 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. */
|
|
4468
|
+
/** Immutable. Identifier. 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. */
|
|
4465
4469
|
name?: string;
|
|
4466
4470
|
/** Optional. Configuration for Natural Language Query Understanding. */
|
|
4467
4471
|
naturalLanguageQueryUnderstandingConfig?: GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig;
|
|
@@ -4489,7 +4493,7 @@ declare namespace gapi.client {
|
|
|
4489
4493
|
websiteDataUpdateTime?: string;
|
|
4490
4494
|
}
|
|
4491
4495
|
interface GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore {
|
|
4492
|
-
/** If set true, the DataStore will not be available for serving search requests. */
|
|
4496
|
+
/** Optional. If set true, the DataStore will not be available for serving search requests. */
|
|
4493
4497
|
disabledForServing?: boolean;
|
|
4494
4498
|
}
|
|
4495
4499
|
interface GoogleCloudDiscoveryengineV1betaDedicatedCrawlRateTimeSeries {
|
|
@@ -4610,17 +4614,17 @@ declare namespace gapi.client {
|
|
|
4610
4614
|
commonConfig?: GoogleCloudDiscoveryengineV1betaEngineCommonConfig;
|
|
4611
4615
|
/** Output only. Timestamp the Recommendation Engine was created at. */
|
|
4612
4616
|
createTime?: string;
|
|
4613
|
-
/** The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here. Note that when used in CreateEngineRequest, one DataStore id must be provided as the system will use it for necessary initializations. */
|
|
4617
|
+
/** Optional. The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here. Note that when used in CreateEngineRequest, one DataStore id must be provided as the system will use it for necessary initializations. */
|
|
4614
4618
|
dataStoreIds?: string[];
|
|
4615
4619
|
/** Optional. Whether to disable analytics for searches performed on this engine. */
|
|
4616
4620
|
disableAnalytics?: boolean;
|
|
4617
4621
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
4618
4622
|
displayName?: string;
|
|
4619
|
-
/** The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. */
|
|
4623
|
+
/** Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. */
|
|
4620
4624
|
industryVertical?: string;
|
|
4621
4625
|
/** Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical. */
|
|
4622
4626
|
mediaRecommendationEngineConfig?: GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig;
|
|
4623
|
-
/** Immutable. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
4627
|
+
/** Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
4624
4628
|
name?: string;
|
|
4625
4629
|
/** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
|
|
4626
4630
|
searchEngineConfig?: GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig;
|
|
@@ -5524,7 +5528,7 @@ declare namespace gapi.client {
|
|
|
5524
5528
|
isInfobotFaqDataStore?: boolean;
|
|
5525
5529
|
/** 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. */
|
|
5526
5530
|
kmsKeyName?: string;
|
|
5527
|
-
/** 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. */
|
|
5531
|
+
/** Immutable. Identifier. 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. */
|
|
5528
5532
|
name?: string;
|
|
5529
5533
|
/** Optional. Stores serving config at DataStore level. */
|
|
5530
5534
|
servingConfigDataStore?: GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore;
|
|
@@ -5550,7 +5554,7 @@ declare namespace gapi.client {
|
|
|
5550
5554
|
websiteDataUpdateTime?: string;
|
|
5551
5555
|
}
|
|
5552
5556
|
interface GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore {
|
|
5553
|
-
/** If set true, the DataStore will not be available for serving search requests. */
|
|
5557
|
+
/** Optional. If set true, the DataStore will not be available for serving search requests. */
|
|
5554
5558
|
disabledForServing?: boolean;
|
|
5555
5559
|
}
|
|
5556
5560
|
interface GoogleCloudDiscoveryengineV1DeleteCmekConfigMetadata {
|
|
@@ -5667,17 +5671,17 @@ declare namespace gapi.client {
|
|
|
5667
5671
|
commonConfig?: GoogleCloudDiscoveryengineV1EngineCommonConfig;
|
|
5668
5672
|
/** Output only. Timestamp the Recommendation Engine was created at. */
|
|
5669
5673
|
createTime?: string;
|
|
5670
|
-
/** The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here. Note that when used in CreateEngineRequest, one DataStore id must be provided as the system will use it for necessary initializations. */
|
|
5674
|
+
/** Optional. The data stores associated with this engine. For SOLUTION_TYPE_SEARCH and SOLUTION_TYPE_RECOMMENDATION type of engines, they can only associate with at most one data store. If solution_type is SOLUTION_TYPE_CHAT, multiple DataStores in the same Collection can be associated here. Note that when used in CreateEngineRequest, one DataStore id must be provided as the system will use it for necessary initializations. */
|
|
5671
5675
|
dataStoreIds?: string[];
|
|
5672
5676
|
/** Optional. Whether to disable analytics for searches performed on this engine. */
|
|
5673
5677
|
disableAnalytics?: boolean;
|
|
5674
5678
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
5675
5679
|
displayName?: string;
|
|
5676
|
-
/** The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. */
|
|
5680
|
+
/** Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. */
|
|
5677
5681
|
industryVertical?: string;
|
|
5678
5682
|
/** Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical. */
|
|
5679
5683
|
mediaRecommendationEngineConfig?: GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig;
|
|
5680
|
-
/** Immutable. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
5684
|
+
/** Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
5681
5685
|
name?: string;
|
|
5682
5686
|
/** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
|
|
5683
5687
|
searchEngineConfig?: GoogleCloudDiscoveryengineV1EngineSearchEngineConfig;
|
|
@@ -6158,8 +6162,6 @@ declare namespace gapi.client {
|
|
|
6158
6162
|
blob?: GdataMedia;
|
|
6159
6163
|
/** Media upload request metadata. */
|
|
6160
6164
|
mediaRequestInfo?: ApiservingMediaRequestInfo;
|
|
6161
|
-
/** The project (notebook) id of the uploaded source. Prefer to use the parent field instead. */
|
|
6162
|
-
projectId?: string;
|
|
6163
6165
|
/** The source id of the associated file. If not set, a source id will be generated and a new tentative source will be created. */
|
|
6164
6166
|
sourceId?: string;
|
|
6165
6167
|
}
|
|
@@ -10483,7 +10485,7 @@ declare namespace gapi.client {
|
|
|
10483
10485
|
fields?: string;
|
|
10484
10486
|
/** 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. */
|
|
10485
10487
|
key?: string;
|
|
10486
|
-
/** 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. */
|
|
10488
|
+
/** Immutable. Identifier. 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. */
|
|
10487
10489
|
name: string;
|
|
10488
10490
|
/** OAuth 2.0 token for the current user. */
|
|
10489
10491
|
oauth_token?: string;
|
|
@@ -10514,7 +10516,7 @@ declare namespace gapi.client {
|
|
|
10514
10516
|
fields?: string;
|
|
10515
10517
|
/** 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. */
|
|
10516
10518
|
key?: string;
|
|
10517
|
-
/** 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. */
|
|
10519
|
+
/** Immutable. Identifier. 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. */
|
|
10518
10520
|
name: string;
|
|
10519
10521
|
/** OAuth 2.0 token for the current user. */
|
|
10520
10522
|
oauth_token?: string;
|
|
@@ -12179,7 +12181,7 @@ declare namespace gapi.client {
|
|
|
12179
12181
|
fields?: string;
|
|
12180
12182
|
/** 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. */
|
|
12181
12183
|
key?: string;
|
|
12182
|
-
/** Immutable. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
12184
|
+
/** Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
12183
12185
|
name: string;
|
|
12184
12186
|
/** OAuth 2.0 token for the current user. */
|
|
12185
12187
|
oauth_token?: string;
|
|
@@ -12210,7 +12212,7 @@ declare namespace gapi.client {
|
|
|
12210
12212
|
fields?: string;
|
|
12211
12213
|
/** 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. */
|
|
12212
12214
|
key?: string;
|
|
12213
|
-
/** Immutable. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
12215
|
+
/** Immutable. Identifier. The fully qualified resource name of the engine. This field must be a UTF-8 encoded string with a length limit of 1024 characters. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}` engine should be 1-63 characters, and valid characters are /a-z0-9*/. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
12214
12216
|
name: string;
|
|
12215
12217
|
/** OAuth 2.0 token for the current user. */
|
|
12216
12218
|
oauth_token?: string;
|
|
@@ -16134,7 +16136,7 @@ declare namespace gapi.client {
|
|
|
16134
16136
|
fields?: string;
|
|
16135
16137
|
/** 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. */
|
|
16136
16138
|
key?: string;
|
|
16137
|
-
/** 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. */
|
|
16139
|
+
/** Immutable. Identifier. 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. */
|
|
16138
16140
|
name: string;
|
|
16139
16141
|
/** OAuth 2.0 token for the current user. */
|
|
16140
16142
|
oauth_token?: string;
|
|
@@ -16165,7 +16167,7 @@ declare namespace gapi.client {
|
|
|
16165
16167
|
fields?: string;
|
|
16166
16168
|
/** 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. */
|
|
16167
16169
|
key?: string;
|
|
16168
|
-
/** 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. */
|
|
16170
|
+
/** Immutable. Identifier. 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. */
|
|
16169
16171
|
name: string;
|
|
16170
16172
|
/** OAuth 2.0 token for the current user. */
|
|
16171
16173
|
oauth_token?: string;
|
|
@@ -16865,6 +16867,73 @@ declare namespace gapi.client {
|
|
|
16865
16867
|
): Request<GoogleLongrunningOperation>;
|
|
16866
16868
|
operations: OperationsResource;
|
|
16867
16869
|
}
|
|
16870
|
+
interface SourcesResource {
|
|
16871
|
+
/** Uploads a file for Notebook LM to use. Creates a Source. */
|
|
16872
|
+
uploadFile(request: {
|
|
16873
|
+
/** V1 error format. */
|
|
16874
|
+
'$.xgafv'?: string;
|
|
16875
|
+
/** OAuth access token. */
|
|
16876
|
+
access_token?: string;
|
|
16877
|
+
/** Data format for response. */
|
|
16878
|
+
alt?: string;
|
|
16879
|
+
/** JSONP */
|
|
16880
|
+
callback?: string;
|
|
16881
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16882
|
+
fields?: string;
|
|
16883
|
+
/** 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. */
|
|
16884
|
+
key?: string;
|
|
16885
|
+
/** OAuth 2.0 token for the current user. */
|
|
16886
|
+
oauth_token?: string;
|
|
16887
|
+
/** Required. The parent resource where the sources will be created. Format: projects/{project}/locations/{location}/notebooks/{notebook} */
|
|
16888
|
+
parent: string;
|
|
16889
|
+
/** Returns response with indentations and line breaks. */
|
|
16890
|
+
prettyPrint?: boolean;
|
|
16891
|
+
/** 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. */
|
|
16892
|
+
quotaUser?: string;
|
|
16893
|
+
/** The source id of the associated file. If not set, a source id will be generated and a new tentative source will be created. */
|
|
16894
|
+
sourceId: string;
|
|
16895
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16896
|
+
upload_protocol?: string;
|
|
16897
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16898
|
+
uploadType?: string;
|
|
16899
|
+
/** Request body */
|
|
16900
|
+
resource: GoogleCloudNotebooklmV1alphaUploadSourceFileRequest;
|
|
16901
|
+
}): Request<GoogleCloudNotebooklmV1alphaUploadSourceFileResponse>;
|
|
16902
|
+
uploadFile(
|
|
16903
|
+
request: {
|
|
16904
|
+
/** V1 error format. */
|
|
16905
|
+
'$.xgafv'?: string;
|
|
16906
|
+
/** OAuth access token. */
|
|
16907
|
+
access_token?: string;
|
|
16908
|
+
/** Data format for response. */
|
|
16909
|
+
alt?: string;
|
|
16910
|
+
/** JSONP */
|
|
16911
|
+
callback?: string;
|
|
16912
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
16913
|
+
fields?: string;
|
|
16914
|
+
/** 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. */
|
|
16915
|
+
key?: string;
|
|
16916
|
+
/** OAuth 2.0 token for the current user. */
|
|
16917
|
+
oauth_token?: string;
|
|
16918
|
+
/** Required. The parent resource where the sources will be created. Format: projects/{project}/locations/{location}/notebooks/{notebook} */
|
|
16919
|
+
parent: string;
|
|
16920
|
+
/** Returns response with indentations and line breaks. */
|
|
16921
|
+
prettyPrint?: boolean;
|
|
16922
|
+
/** 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. */
|
|
16923
|
+
quotaUser?: string;
|
|
16924
|
+
/** The source id of the associated file. If not set, a source id will be generated and a new tentative source will be created. */
|
|
16925
|
+
sourceId: string;
|
|
16926
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
16927
|
+
upload_protocol?: string;
|
|
16928
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
16929
|
+
uploadType?: string;
|
|
16930
|
+
},
|
|
16931
|
+
body: GoogleCloudNotebooklmV1alphaUploadSourceFileRequest,
|
|
16932
|
+
): Request<GoogleCloudNotebooklmV1alphaUploadSourceFileResponse>;
|
|
16933
|
+
}
|
|
16934
|
+
interface NotebooksResource {
|
|
16935
|
+
sources: SourcesResource;
|
|
16936
|
+
}
|
|
16868
16937
|
interface OperationsResource {
|
|
16869
16938
|
/** 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. */
|
|
16870
16939
|
get(request?: {
|
|
@@ -18375,6 +18444,7 @@ declare namespace gapi.client {
|
|
|
18375
18444
|
evaluations: EvaluationsResource;
|
|
18376
18445
|
groundingConfigs: GroundingConfigsResource;
|
|
18377
18446
|
identityMappingStores: IdentityMappingStoresResource;
|
|
18447
|
+
notebooks: NotebooksResource;
|
|
18378
18448
|
operations: OperationsResource;
|
|
18379
18449
|
podcasts: PodcastsResource;
|
|
18380
18450
|
rankingConfigs: RankingConfigsResource;
|