@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.0.20250509 → 0.0.20250515
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 +90 -24
- 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: 20250515
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1671,7 +1671,7 @@ declare namespace gapi.client {
|
|
|
1671
1671
|
kmsKeyName?: string;
|
|
1672
1672
|
/** Language info for DataStore. */
|
|
1673
1673
|
languageInfo?: GoogleCloudDiscoveryengineV1alphaLanguageInfo;
|
|
1674
|
-
/** 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. */
|
|
1675
1675
|
name?: string;
|
|
1676
1676
|
/** Optional. Configuration for Natural Language Query Understanding. */
|
|
1677
1677
|
naturalLanguageQueryUnderstandingConfig?: GoogleCloudDiscoveryengineV1alphaNaturalLanguageQueryUnderstandingConfig;
|
|
@@ -1699,7 +1699,7 @@ declare namespace gapi.client {
|
|
|
1699
1699
|
websiteDataUpdateTime?: string;
|
|
1700
1700
|
}
|
|
1701
1701
|
interface GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore {
|
|
1702
|
-
/** 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. */
|
|
1703
1703
|
disabledForServing?: boolean;
|
|
1704
1704
|
}
|
|
1705
1705
|
interface GoogleCloudDiscoveryengineV1alphaDedicatedCrawlRateTimeSeries {
|
|
@@ -1926,17 +1926,17 @@ declare namespace gapi.client {
|
|
|
1926
1926
|
commonConfig?: GoogleCloudDiscoveryengineV1alphaEngineCommonConfig;
|
|
1927
1927
|
/** Output only. Timestamp the Recommendation Engine was created at. */
|
|
1928
1928
|
createTime?: string;
|
|
1929
|
-
/** 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. */
|
|
1930
1930
|
dataStoreIds?: string[];
|
|
1931
1931
|
/** Optional. Whether to disable analytics for searches performed on this engine. */
|
|
1932
1932
|
disableAnalytics?: boolean;
|
|
1933
1933
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
1934
1934
|
displayName?: string;
|
|
1935
|
-
/** 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. */
|
|
1936
1936
|
industryVertical?: string;
|
|
1937
1937
|
/** Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical. */
|
|
1938
1938
|
mediaRecommendationEngineConfig?: GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig;
|
|
1939
|
-
/** 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. */
|
|
1940
1940
|
name?: string;
|
|
1941
1941
|
/** Output only. Additional information of a recommendation engine. Only applicable if solution_type is SOLUTION_TYPE_RECOMMENDATION. */
|
|
1942
1942
|
recommendationMetadata?: GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata;
|
|
@@ -4465,7 +4465,7 @@ declare namespace gapi.client {
|
|
|
4465
4465
|
kmsKeyName?: string;
|
|
4466
4466
|
/** Language info for DataStore. */
|
|
4467
4467
|
languageInfo?: GoogleCloudDiscoveryengineV1betaLanguageInfo;
|
|
4468
|
-
/** 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. */
|
|
4469
4469
|
name?: string;
|
|
4470
4470
|
/** Optional. Configuration for Natural Language Query Understanding. */
|
|
4471
4471
|
naturalLanguageQueryUnderstandingConfig?: GoogleCloudDiscoveryengineV1betaNaturalLanguageQueryUnderstandingConfig;
|
|
@@ -4493,7 +4493,7 @@ declare namespace gapi.client {
|
|
|
4493
4493
|
websiteDataUpdateTime?: string;
|
|
4494
4494
|
}
|
|
4495
4495
|
interface GoogleCloudDiscoveryengineV1betaDataStoreServingConfigDataStore {
|
|
4496
|
-
/** 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. */
|
|
4497
4497
|
disabledForServing?: boolean;
|
|
4498
4498
|
}
|
|
4499
4499
|
interface GoogleCloudDiscoveryengineV1betaDedicatedCrawlRateTimeSeries {
|
|
@@ -4614,17 +4614,17 @@ declare namespace gapi.client {
|
|
|
4614
4614
|
commonConfig?: GoogleCloudDiscoveryengineV1betaEngineCommonConfig;
|
|
4615
4615
|
/** Output only. Timestamp the Recommendation Engine was created at. */
|
|
4616
4616
|
createTime?: string;
|
|
4617
|
-
/** 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. */
|
|
4618
4618
|
dataStoreIds?: string[];
|
|
4619
4619
|
/** Optional. Whether to disable analytics for searches performed on this engine. */
|
|
4620
4620
|
disableAnalytics?: boolean;
|
|
4621
4621
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
4622
4622
|
displayName?: string;
|
|
4623
|
-
/** 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. */
|
|
4624
4624
|
industryVertical?: string;
|
|
4625
4625
|
/** Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical. */
|
|
4626
4626
|
mediaRecommendationEngineConfig?: GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig;
|
|
4627
|
-
/** 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. */
|
|
4628
4628
|
name?: string;
|
|
4629
4629
|
/** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
|
|
4630
4630
|
searchEngineConfig?: GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig;
|
|
@@ -5528,7 +5528,7 @@ declare namespace gapi.client {
|
|
|
5528
5528
|
isInfobotFaqDataStore?: boolean;
|
|
5529
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. */
|
|
5530
5530
|
kmsKeyName?: string;
|
|
5531
|
-
/** 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. */
|
|
5532
5532
|
name?: string;
|
|
5533
5533
|
/** Optional. Stores serving config at DataStore level. */
|
|
5534
5534
|
servingConfigDataStore?: GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore;
|
|
@@ -5554,7 +5554,7 @@ declare namespace gapi.client {
|
|
|
5554
5554
|
websiteDataUpdateTime?: string;
|
|
5555
5555
|
}
|
|
5556
5556
|
interface GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore {
|
|
5557
|
-
/** 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. */
|
|
5558
5558
|
disabledForServing?: boolean;
|
|
5559
5559
|
}
|
|
5560
5560
|
interface GoogleCloudDiscoveryengineV1DeleteCmekConfigMetadata {
|
|
@@ -5671,17 +5671,17 @@ declare namespace gapi.client {
|
|
|
5671
5671
|
commonConfig?: GoogleCloudDiscoveryengineV1EngineCommonConfig;
|
|
5672
5672
|
/** Output only. Timestamp the Recommendation Engine was created at. */
|
|
5673
5673
|
createTime?: string;
|
|
5674
|
-
/** 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. */
|
|
5675
5675
|
dataStoreIds?: string[];
|
|
5676
5676
|
/** Optional. Whether to disable analytics for searches performed on this engine. */
|
|
5677
5677
|
disableAnalytics?: boolean;
|
|
5678
5678
|
/** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
|
|
5679
5679
|
displayName?: string;
|
|
5680
|
-
/** 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. */
|
|
5681
5681
|
industryVertical?: string;
|
|
5682
5682
|
/** Configurations for the Media Engine. Only applicable on the data stores with solution_type SOLUTION_TYPE_RECOMMENDATION and IndustryVertical.MEDIA vertical. */
|
|
5683
5683
|
mediaRecommendationEngineConfig?: GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig;
|
|
5684
|
-
/** 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. */
|
|
5685
5685
|
name?: string;
|
|
5686
5686
|
/** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
|
|
5687
5687
|
searchEngineConfig?: GoogleCloudDiscoveryengineV1EngineSearchEngineConfig;
|
|
@@ -6162,8 +6162,6 @@ declare namespace gapi.client {
|
|
|
6162
6162
|
blob?: GdataMedia;
|
|
6163
6163
|
/** Media upload request metadata. */
|
|
6164
6164
|
mediaRequestInfo?: ApiservingMediaRequestInfo;
|
|
6165
|
-
/** The project (notebook) id of the uploaded source. Prefer to use the parent field instead. */
|
|
6166
|
-
projectId?: string;
|
|
6167
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. */
|
|
6168
6166
|
sourceId?: string;
|
|
6169
6167
|
}
|
|
@@ -10487,7 +10485,7 @@ declare namespace gapi.client {
|
|
|
10487
10485
|
fields?: string;
|
|
10488
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. */
|
|
10489
10487
|
key?: string;
|
|
10490
|
-
/** 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. */
|
|
10491
10489
|
name: string;
|
|
10492
10490
|
/** OAuth 2.0 token for the current user. */
|
|
10493
10491
|
oauth_token?: string;
|
|
@@ -10518,7 +10516,7 @@ declare namespace gapi.client {
|
|
|
10518
10516
|
fields?: string;
|
|
10519
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. */
|
|
10520
10518
|
key?: string;
|
|
10521
|
-
/** 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. */
|
|
10522
10520
|
name: string;
|
|
10523
10521
|
/** OAuth 2.0 token for the current user. */
|
|
10524
10522
|
oauth_token?: string;
|
|
@@ -12183,7 +12181,7 @@ declare namespace gapi.client {
|
|
|
12183
12181
|
fields?: string;
|
|
12184
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. */
|
|
12185
12183
|
key?: string;
|
|
12186
|
-
/** 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. */
|
|
12187
12185
|
name: string;
|
|
12188
12186
|
/** OAuth 2.0 token for the current user. */
|
|
12189
12187
|
oauth_token?: string;
|
|
@@ -12214,7 +12212,7 @@ declare namespace gapi.client {
|
|
|
12214
12212
|
fields?: string;
|
|
12215
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. */
|
|
12216
12214
|
key?: string;
|
|
12217
|
-
/** 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. */
|
|
12218
12216
|
name: string;
|
|
12219
12217
|
/** OAuth 2.0 token for the current user. */
|
|
12220
12218
|
oauth_token?: string;
|
|
@@ -16138,7 +16136,7 @@ declare namespace gapi.client {
|
|
|
16138
16136
|
fields?: string;
|
|
16139
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. */
|
|
16140
16138
|
key?: string;
|
|
16141
|
-
/** 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. */
|
|
16142
16140
|
name: string;
|
|
16143
16141
|
/** OAuth 2.0 token for the current user. */
|
|
16144
16142
|
oauth_token?: string;
|
|
@@ -16169,7 +16167,7 @@ declare namespace gapi.client {
|
|
|
16169
16167
|
fields?: string;
|
|
16170
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. */
|
|
16171
16169
|
key?: string;
|
|
16172
|
-
/** 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. */
|
|
16173
16171
|
name: string;
|
|
16174
16172
|
/** OAuth 2.0 token for the current user. */
|
|
16175
16173
|
oauth_token?: string;
|
|
@@ -16869,6 +16867,73 @@ declare namespace gapi.client {
|
|
|
16869
16867
|
): Request<GoogleLongrunningOperation>;
|
|
16870
16868
|
operations: OperationsResource;
|
|
16871
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
|
+
}
|
|
16872
16937
|
interface OperationsResource {
|
|
16873
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. */
|
|
16874
16939
|
get(request?: {
|
|
@@ -18379,6 +18444,7 @@ declare namespace gapi.client {
|
|
|
18379
18444
|
evaluations: EvaluationsResource;
|
|
18380
18445
|
groundingConfigs: GroundingConfigsResource;
|
|
18381
18446
|
identityMappingStores: IdentityMappingStoresResource;
|
|
18447
|
+
notebooks: NotebooksResource;
|
|
18382
18448
|
operations: OperationsResource;
|
|
18383
18449
|
podcasts: PodcastsResource;
|
|
18384
18450
|
rankingConfigs: RankingConfigsResource;
|