@googleapis/discoveryengine 33.0.0 → 37.0.0
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/CHANGELOG.md +108 -0
- package/build/index.js +1 -0
- package/build/index.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1.d.ts +718 -10
- package/build/v1.js +198 -0
- package/build/v1.js.map +1 -1
- package/build/v1alpha.d.ts +167 -1191
- package/build/v1alpha.js +0 -268
- package/build/v1alpha.js.map +1 -1
- package/build/v1beta.d.ts +489 -3
- package/build/v1beta.js +132 -0
- package/build/v1beta.js.map +1 -1
- package/index.ts +1 -0
- package/package.json +3 -3
- package/v1.ts +1271 -74
- package/v1alpha.ts +167 -1874
- package/v1beta.ts +815 -3
package/build/v1alpha.d.ts
CHANGED
|
@@ -1303,6 +1303,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
1303
1303
|
* Required. Model name (e.g. `gemini-2.5-flash`, `gemini-3.1-pro-preview`). See `model_mixture` for the list of allowed models.
|
|
1304
1304
|
*/
|
|
1305
1305
|
name?: string | null;
|
|
1306
|
+
/**
|
|
1307
|
+
* Optional. Sent as Vertex `ThinkingConfig.thinking_level`.
|
|
1308
|
+
*/
|
|
1309
|
+
thinkingLevel?: string | null;
|
|
1306
1310
|
/**
|
|
1307
1311
|
* Optional. Relative weight for this model in the mixture. Must be a finite, strictly positive value. Weights across all entries are normalized server-side, so they need not sum to 1.0. Defaults to 1.0 when unset, which is convenient when configuring a single model or an even mixture. Some Pro-tier models are capped at most 50% of the total weight; requests violating that cap are rejected with INVALID_ARGUMENT.
|
|
1308
1312
|
*/
|
|
@@ -2498,6 +2502,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
2498
2502
|
* Optional. Configuration for the generation of the assistant response.
|
|
2499
2503
|
*/
|
|
2500
2504
|
generationConfig?: Schema$GoogleCloudDiscoveryengineV1alphaAssistantGenerationConfig;
|
|
2505
|
+
/**
|
|
2506
|
+
* Optional. Indicates whether Knowledge Catalog is enabled for this specific assistant. When enabled, it powers discovery context using organizational data.
|
|
2507
|
+
*/
|
|
2508
|
+
knowledgeCatalogEnabled?: boolean | null;
|
|
2501
2509
|
/**
|
|
2502
2510
|
* Immutable. Resource name of the assistant. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/assistants/{assistant\}` It must be a UTF-8 encoded string with a length limit of 1024 characters.
|
|
2503
2511
|
*/
|
|
@@ -5751,7 +5759,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
5751
5759
|
*/
|
|
5752
5760
|
displayName?: string | null;
|
|
5753
5761
|
/**
|
|
5754
|
-
* Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications`
|
|
5762
|
+
* Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications`
|
|
5755
5763
|
*/
|
|
5756
5764
|
features?: {
|
|
5757
5765
|
[key: string]: string;
|
|
@@ -5798,6 +5806,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
5798
5806
|
* Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH.
|
|
5799
5807
|
*/
|
|
5800
5808
|
searchEngineConfig?: Schema$GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig;
|
|
5809
|
+
/**
|
|
5810
|
+
* Optional. Non-empty default. Session config for the engine.
|
|
5811
|
+
*/
|
|
5812
|
+
sessionConfig?: Schema$GoogleCloudDiscoveryengineV1alphaSessionConfig;
|
|
5801
5813
|
/**
|
|
5802
5814
|
* Additional config specs for a `similar-items` engine.
|
|
5803
5815
|
*/
|
|
@@ -10857,6 +10869,28 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
10857
10869
|
*/
|
|
10858
10870
|
userPseudoId?: string | null;
|
|
10859
10871
|
}
|
|
10872
|
+
/**
|
|
10873
|
+
* Configuration for the session.
|
|
10874
|
+
*/
|
|
10875
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaSessionConfig {
|
|
10876
|
+
/**
|
|
10877
|
+
* Optional. Session management policy that defines who will manage the session.
|
|
10878
|
+
*/
|
|
10879
|
+
sessionManagementPolicy?: string | null;
|
|
10880
|
+
/**
|
|
10881
|
+
* Optional. The TTL for the session. If unset, the default value is 60 days.
|
|
10882
|
+
*/
|
|
10883
|
+
sessionTtl?: Schema$GoogleCloudDiscoveryengineV1alphaSessionConfigSessionTtl;
|
|
10884
|
+
}
|
|
10885
|
+
/**
|
|
10886
|
+
* Defines the TTL for sessions.
|
|
10887
|
+
*/
|
|
10888
|
+
export interface Schema$GoogleCloudDiscoveryengineV1alphaSessionConfigSessionTtl {
|
|
10889
|
+
/**
|
|
10890
|
+
* Defines the number of days for session TTL.
|
|
10891
|
+
*/
|
|
10892
|
+
days?: number | null;
|
|
10893
|
+
}
|
|
10860
10894
|
/**
|
|
10861
10895
|
* Represents a turn, including a query from the user and a answer from service.
|
|
10862
10896
|
*/
|
|
@@ -12143,6 +12177,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
12143
12177
|
* Customer provided configurations.
|
|
12144
12178
|
*/
|
|
12145
12179
|
export interface Schema$GoogleCloudDiscoveryengineV1alphaWidgetConfigCustomerProvidedConfig {
|
|
12180
|
+
/**
|
|
12181
|
+
* Output only. The customer's Assured Workloads compliance level. `customer_type` collapses every compliance level into a single `GOVERNMENT_CUSTOMER` value, so a client that gates a feature on one specific level rather than on government status as a whole must read this field instead.
|
|
12182
|
+
*/
|
|
12183
|
+
complianceLevel?: string | null;
|
|
12146
12184
|
/**
|
|
12147
12185
|
* Customer type.
|
|
12148
12186
|
*/
|
|
@@ -12356,7 +12394,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
12356
12394
|
*/
|
|
12357
12395
|
enableVisualContentSummary?: boolean | null;
|
|
12358
12396
|
/**
|
|
12359
|
-
* Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications`
|
|
12397
|
+
* Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications`
|
|
12360
12398
|
*/
|
|
12361
12399
|
features?: {
|
|
12362
12400
|
[key: string]: string;
|
|
@@ -12478,6 +12516,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
12478
12516
|
* Output only. GM3-compatible icon token associated with the model (e.g. `rocket_launch`, `bolt`, `graph_5`).
|
|
12479
12517
|
*/
|
|
12480
12518
|
icon?: string | null;
|
|
12519
|
+
/**
|
|
12520
|
+
* Output only. Absolute URL of a brand mark to render instead of `icon`, for models whose vendor logo is not a GM3 glyph. `icon` stays populated as the fallback, so a client that does not render images, or that fails to fetch this one, shows the glyph instead of nothing.
|
|
12521
|
+
*/
|
|
12522
|
+
iconUrl?: string | null;
|
|
12481
12523
|
/**
|
|
12482
12524
|
* Output only. Whether the model is currently in preview. Clients should surface this via a "Preview" badge in the selector UI.
|
|
12483
12525
|
*/
|
|
@@ -12664,6 +12706,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
12664
12706
|
* Optional. List of banned phrases.
|
|
12665
12707
|
*/
|
|
12666
12708
|
bannedPhrases?: Schema$GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase[];
|
|
12709
|
+
/**
|
|
12710
|
+
* Optional. Data protection policy to be used for sanitizing file uploads.
|
|
12711
|
+
*/
|
|
12712
|
+
dataProtectionPolicy?: Schema$GoogleCloudDiscoveryengineV1DataProtectionPolicy;
|
|
12667
12713
|
/**
|
|
12668
12714
|
* Optional. Model Armor configuration to be used for sanitizing user prompts and assistant responses.
|
|
12669
12715
|
*/
|
|
@@ -13254,6 +13300,24 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
13254
13300
|
*/
|
|
13255
13301
|
updateTime?: string | null;
|
|
13256
13302
|
}
|
|
13303
|
+
/**
|
|
13304
|
+
* Contains the data protection policy config for a DataStore or a connector.
|
|
13305
|
+
*/
|
|
13306
|
+
export interface Schema$GoogleCloudDiscoveryengineV1betaDataProtectionPolicy {
|
|
13307
|
+
/**
|
|
13308
|
+
* Optional. Specifies the sensitive data protection policy for the connector source.
|
|
13309
|
+
*/
|
|
13310
|
+
sensitiveDataProtectionPolicy?: Schema$GoogleCloudDiscoveryengineV1betaDataProtectionPolicySensitiveDataProtectionPolicy;
|
|
13311
|
+
}
|
|
13312
|
+
/**
|
|
13313
|
+
* Specifies a Sensitive Data Protection (https://cloud.google.com/sensitive-data-protection/docs/sensitive-data-protection-overview) policy.
|
|
13314
|
+
*/
|
|
13315
|
+
export interface Schema$GoogleCloudDiscoveryengineV1betaDataProtectionPolicySensitiveDataProtectionPolicy {
|
|
13316
|
+
/**
|
|
13317
|
+
* Optional. Specifies the resource name of the Sensitive Data Protection content policy.
|
|
13318
|
+
*/
|
|
13319
|
+
policy?: string | null;
|
|
13320
|
+
}
|
|
13257
13321
|
/**
|
|
13258
13322
|
* DataStore captures global settings and configs at the DataStore level.
|
|
13259
13323
|
*/
|
|
@@ -13290,6 +13354,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
13290
13354
|
* Output only. Timestamp the DataStore was created at.
|
|
13291
13355
|
*/
|
|
13292
13356
|
createTime?: string | null;
|
|
13357
|
+
/**
|
|
13358
|
+
* Optional. Specifies the data protection policy for the data store.
|
|
13359
|
+
*/
|
|
13360
|
+
dataProtectionPolicy?: Schema$GoogleCloudDiscoveryengineV1betaDataProtectionPolicy;
|
|
13293
13361
|
/**
|
|
13294
13362
|
* Output only. The id of the default Schema associated to this data store.
|
|
13295
13363
|
*/
|
|
@@ -13798,7 +13866,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
13798
13866
|
*/
|
|
13799
13867
|
displayName?: string | null;
|
|
13800
13868
|
/**
|
|
13801
|
-
* Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications`
|
|
13869
|
+
* Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications`
|
|
13802
13870
|
*/
|
|
13803
13871
|
features?: {
|
|
13804
13872
|
[key: string]: string;
|
|
@@ -13841,6 +13909,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
13841
13909
|
* Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH.
|
|
13842
13910
|
*/
|
|
13843
13911
|
searchEngineConfig?: Schema$GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig;
|
|
13912
|
+
/**
|
|
13913
|
+
* Optional. Non-empty default. Session config for the engine.
|
|
13914
|
+
*/
|
|
13915
|
+
sessionConfig?: Schema$GoogleCloudDiscoveryengineV1betaSessionConfig;
|
|
13844
13916
|
/**
|
|
13845
13917
|
* Required. The solutions of the engine.
|
|
13846
13918
|
*/
|
|
@@ -15544,6 +15616,28 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
15544
15616
|
*/
|
|
15545
15617
|
mode?: string | null;
|
|
15546
15618
|
}
|
|
15619
|
+
/**
|
|
15620
|
+
* Configuration for the session.
|
|
15621
|
+
*/
|
|
15622
|
+
export interface Schema$GoogleCloudDiscoveryengineV1betaSessionConfig {
|
|
15623
|
+
/**
|
|
15624
|
+
* Optional. Session management policy that defines who will manage the session.
|
|
15625
|
+
*/
|
|
15626
|
+
sessionManagementPolicy?: string | null;
|
|
15627
|
+
/**
|
|
15628
|
+
* Optional. The TTL for the session. If unset, the default value is 60 days.
|
|
15629
|
+
*/
|
|
15630
|
+
sessionTtl?: Schema$GoogleCloudDiscoveryengineV1betaSessionConfigSessionTtl;
|
|
15631
|
+
}
|
|
15632
|
+
/**
|
|
15633
|
+
* Defines the TTL for sessions.
|
|
15634
|
+
*/
|
|
15635
|
+
export interface Schema$GoogleCloudDiscoveryengineV1betaSessionConfigSessionTtl {
|
|
15636
|
+
/**
|
|
15637
|
+
* Defines the number of days for session TTL.
|
|
15638
|
+
*/
|
|
15639
|
+
days?: number | null;
|
|
15640
|
+
}
|
|
15547
15641
|
/**
|
|
15548
15642
|
* Metadata related to the progress of the CrawlRateManagementService.SetDedicatedCrawlRate operation. This will be returned by the google.longrunning.Operation.metadata field.
|
|
15549
15643
|
*/
|
|
@@ -16244,6 +16338,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
16244
16338
|
* Output only. Timestamp the DataConnector was created at.
|
|
16245
16339
|
*/
|
|
16246
16340
|
createTime?: string | null;
|
|
16341
|
+
/**
|
|
16342
|
+
* Optional. Specifies the data protection policy for the connector.
|
|
16343
|
+
*/
|
|
16344
|
+
dataProtectionPolicy?: Schema$GoogleCloudDiscoveryengineV1DataProtectionPolicy;
|
|
16247
16345
|
/**
|
|
16248
16346
|
* Required. The identifier for the data source. For the full, up-to-date list of supported connectors and their values, see [Connect a third-party data source](https://docs.cloud.google.com/gemini/enterprise/docs/connectors/connect-third-party-data-source#sources-by-launch-stage).
|
|
16249
16347
|
*/
|
|
@@ -16521,6 +16619,24 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
16521
16619
|
*/
|
|
16522
16620
|
startingSchema?: Schema$GoogleCloudDiscoveryengineV1Schema;
|
|
16523
16621
|
}
|
|
16622
|
+
/**
|
|
16623
|
+
* Contains the data protection policy config for a DataStore or a connector.
|
|
16624
|
+
*/
|
|
16625
|
+
export interface Schema$GoogleCloudDiscoveryengineV1DataProtectionPolicy {
|
|
16626
|
+
/**
|
|
16627
|
+
* Optional. Specifies the sensitive data protection policy for the connector source.
|
|
16628
|
+
*/
|
|
16629
|
+
sensitiveDataProtectionPolicy?: Schema$GoogleCloudDiscoveryengineV1DataProtectionPolicySensitiveDataProtectionPolicy;
|
|
16630
|
+
}
|
|
16631
|
+
/**
|
|
16632
|
+
* Specifies a Sensitive Data Protection (https://cloud.google.com/sensitive-data-protection/docs/sensitive-data-protection-overview) policy.
|
|
16633
|
+
*/
|
|
16634
|
+
export interface Schema$GoogleCloudDiscoveryengineV1DataProtectionPolicySensitiveDataProtectionPolicy {
|
|
16635
|
+
/**
|
|
16636
|
+
* Optional. Specifies the resource name of the Sensitive Data Protection content policy.
|
|
16637
|
+
*/
|
|
16638
|
+
policy?: string | null;
|
|
16639
|
+
}
|
|
16524
16640
|
/**
|
|
16525
16641
|
* DataStore captures global settings and configs at the DataStore level.
|
|
16526
16642
|
*/
|
|
@@ -16557,6 +16673,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
16557
16673
|
* Output only. Timestamp the DataStore was created at.
|
|
16558
16674
|
*/
|
|
16559
16675
|
createTime?: string | null;
|
|
16676
|
+
/**
|
|
16677
|
+
* Optional. Specifies the data protection policy for the data store.
|
|
16678
|
+
*/
|
|
16679
|
+
dataProtectionPolicy?: Schema$GoogleCloudDiscoveryengineV1DataProtectionPolicy;
|
|
16560
16680
|
/**
|
|
16561
16681
|
* Output only. The id of the default Schema associated to this data store.
|
|
16562
16682
|
*/
|
|
@@ -17123,7 +17243,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
17123
17243
|
*/
|
|
17124
17244
|
displayName?: string | null;
|
|
17125
17245
|
/**
|
|
17126
|
-
* Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications`
|
|
17246
|
+
* Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `speech-to-text` * `feedback` * `session-sharing` * `personalization-memory` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-notifications`
|
|
17127
17247
|
*/
|
|
17128
17248
|
features?: {
|
|
17129
17249
|
[key: string]: string;
|
|
@@ -17166,6 +17286,10 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
17166
17286
|
* Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH.
|
|
17167
17287
|
*/
|
|
17168
17288
|
searchEngineConfig?: Schema$GoogleCloudDiscoveryengineV1EngineSearchEngineConfig;
|
|
17289
|
+
/**
|
|
17290
|
+
* Optional. Non-empty default. Session config for the engine.
|
|
17291
|
+
*/
|
|
17292
|
+
sessionConfig?: Schema$GoogleCloudDiscoveryengineV1SessionConfig;
|
|
17169
17293
|
/**
|
|
17170
17294
|
* Required. The solutions of the engine.
|
|
17171
17295
|
*/
|
|
@@ -18261,6 +18385,28 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
18261
18385
|
*/
|
|
18262
18386
|
demotionEventType?: string | null;
|
|
18263
18387
|
}
|
|
18388
|
+
/**
|
|
18389
|
+
* Configuration for the session.
|
|
18390
|
+
*/
|
|
18391
|
+
export interface Schema$GoogleCloudDiscoveryengineV1SessionConfig {
|
|
18392
|
+
/**
|
|
18393
|
+
* Optional. Session management policy that defines who will manage the session.
|
|
18394
|
+
*/
|
|
18395
|
+
sessionManagementPolicy?: string | null;
|
|
18396
|
+
/**
|
|
18397
|
+
* Optional. The TTL for the session. If unset, the default value is 60 days.
|
|
18398
|
+
*/
|
|
18399
|
+
sessionTtl?: Schema$GoogleCloudDiscoveryengineV1SessionConfigSessionTtl;
|
|
18400
|
+
}
|
|
18401
|
+
/**
|
|
18402
|
+
* Defines the TTL for sessions.
|
|
18403
|
+
*/
|
|
18404
|
+
export interface Schema$GoogleCloudDiscoveryengineV1SessionConfigSessionTtl {
|
|
18405
|
+
/**
|
|
18406
|
+
* Defines the number of days for session TTL.
|
|
18407
|
+
*/
|
|
18408
|
+
days?: number | null;
|
|
18409
|
+
}
|
|
18264
18410
|
/**
|
|
18265
18411
|
* Metadata for DataConnectorService.SetUpDataConnector method.
|
|
18266
18412
|
*/
|
|
@@ -18543,32 +18689,6 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
18543
18689
|
*/
|
|
18544
18690
|
type?: string | null;
|
|
18545
18691
|
}
|
|
18546
|
-
/**
|
|
18547
|
-
* Account and role information.
|
|
18548
|
-
*/
|
|
18549
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaAccountAndRole {
|
|
18550
|
-
/**
|
|
18551
|
-
* Required. The email address associated with the account.
|
|
18552
|
-
*/
|
|
18553
|
-
email?: string | null;
|
|
18554
|
-
/**
|
|
18555
|
-
* Required. The role in the notebook.
|
|
18556
|
-
*/
|
|
18557
|
-
role?: string | null;
|
|
18558
|
-
}
|
|
18559
|
-
/**
|
|
18560
|
-
* Metadata about an agentspace source.
|
|
18561
|
-
*/
|
|
18562
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaAgentspaceMetadata {
|
|
18563
|
-
/**
|
|
18564
|
-
* Output only. The full document name in Agentspace.
|
|
18565
|
-
*/
|
|
18566
|
-
documentName?: string | null;
|
|
18567
|
-
/**
|
|
18568
|
-
* Output only. The title of the document.
|
|
18569
|
-
*/
|
|
18570
|
-
documentTitle?: string | null;
|
|
18571
|
-
}
|
|
18572
18692
|
/**
|
|
18573
18693
|
* An audio overview of a notebook. This is a summary of the notebook in audio format.
|
|
18574
18694
|
*/
|
|
@@ -18615,51 +18735,6 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
18615
18735
|
*/
|
|
18616
18736
|
sourceIds?: Schema$GoogleCloudNotebooklmV1alphaSourceId[];
|
|
18617
18737
|
}
|
|
18618
|
-
/**
|
|
18619
|
-
* Request for SourceService.BatchCreateSources method.
|
|
18620
|
-
*/
|
|
18621
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaBatchCreateSourcesRequest {
|
|
18622
|
-
/**
|
|
18623
|
-
* Required. The UserContents to be uploaded.
|
|
18624
|
-
*/
|
|
18625
|
-
userContents?: Schema$GoogleCloudNotebooklmV1alphaUserContent[];
|
|
18626
|
-
}
|
|
18627
|
-
/**
|
|
18628
|
-
* Response for SourceService.BatchCreateSources method.
|
|
18629
|
-
*/
|
|
18630
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse {
|
|
18631
|
-
/**
|
|
18632
|
-
* The Sources.
|
|
18633
|
-
*/
|
|
18634
|
-
sources?: Schema$GoogleCloudNotebooklmV1alphaSource[];
|
|
18635
|
-
}
|
|
18636
|
-
/**
|
|
18637
|
-
* Request for NotebookService.BatchDeleteNotebooks method.
|
|
18638
|
-
*/
|
|
18639
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaBatchDeleteNotebooksRequest {
|
|
18640
|
-
/**
|
|
18641
|
-
* Required. Full resource names of Notebook, such as `projects/{project\}/locations/{location\}/notebooks/{notebook_id\}`.
|
|
18642
|
-
*/
|
|
18643
|
-
names?: string[] | null;
|
|
18644
|
-
}
|
|
18645
|
-
/**
|
|
18646
|
-
* Request for BatchDeleteSourcesRequest method.
|
|
18647
|
-
*/
|
|
18648
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaBatchDeleteSourcesRequest {
|
|
18649
|
-
/**
|
|
18650
|
-
* Required. Names of sources to be deleted. Format: projects/{project\}/locations/{location\}/notebooks/{notebook\}/sources/{source\}
|
|
18651
|
-
*/
|
|
18652
|
-
names?: string[] | null;
|
|
18653
|
-
}
|
|
18654
|
-
/**
|
|
18655
|
-
* Customer-managed encryption configuration for Notebooks.
|
|
18656
|
-
*/
|
|
18657
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaCmekConfig {
|
|
18658
|
-
/**
|
|
18659
|
-
* Required. KMS key resource name which will be used to encrypt resources `projects/{project\}/locations/{location\}/keyRings/{keyRing\}/cryptoKeys/{keyId\}`.
|
|
18660
|
-
*/
|
|
18661
|
-
kmsKey?: string | null;
|
|
18662
|
-
}
|
|
18663
18738
|
/**
|
|
18664
18739
|
* Request for AudioOverviewService.CreateAudioOverview method.
|
|
18665
18740
|
*/
|
|
@@ -18678,308 +18753,6 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
18678
18753
|
*/
|
|
18679
18754
|
audioOverview?: Schema$GoogleCloudNotebooklmV1alphaAudioOverview;
|
|
18680
18755
|
}
|
|
18681
|
-
/**
|
|
18682
|
-
* Failure reason containing details about why a source failed to ingest.
|
|
18683
|
-
*/
|
|
18684
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaFailureReason {
|
|
18685
|
-
/**
|
|
18686
|
-
* An audio file transcription specific error.
|
|
18687
|
-
*/
|
|
18688
|
-
audioTranscriptionError?: Schema$GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionError;
|
|
18689
|
-
/**
|
|
18690
|
-
* Error if the user tries to add a source from a blocked domain.
|
|
18691
|
-
*/
|
|
18692
|
-
domainBlocked?: Schema$GoogleCloudNotebooklmV1alphaFailureReasonDomainBlocked;
|
|
18693
|
-
/**
|
|
18694
|
-
* A google drive specific error.
|
|
18695
|
-
*/
|
|
18696
|
-
googleDriveError?: Schema$GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveError;
|
|
18697
|
-
/**
|
|
18698
|
-
* Indicates an error occurred while ingesting the source.
|
|
18699
|
-
*/
|
|
18700
|
-
ingestionError?: Schema$GoogleCloudNotebooklmV1alphaFailureReasonIngestionError;
|
|
18701
|
-
/**
|
|
18702
|
-
* Indicates that the source MIME type is blocked.
|
|
18703
|
-
*/
|
|
18704
|
-
mimeTypeBlocked?: Schema$GoogleCloudNotebooklmV1alphaFailureReasonMimeTypeBlocked;
|
|
18705
|
-
/**
|
|
18706
|
-
* Indicates that the source is paywalled and cannot be ingested.
|
|
18707
|
-
*/
|
|
18708
|
-
paywallError?: Schema$GoogleCloudNotebooklmV1alphaFailureReasonPaywallError;
|
|
18709
|
-
/**
|
|
18710
|
-
* Indicates that the policy check failed.
|
|
18711
|
-
*/
|
|
18712
|
-
policyCheckFailed?: Schema$GoogleCloudNotebooklmV1alphaFailureReasonPolicyCheckFailed;
|
|
18713
|
-
/**
|
|
18714
|
-
* Indicates that the source is empty.
|
|
18715
|
-
*/
|
|
18716
|
-
sourceEmpty?: Schema$GoogleCloudNotebooklmV1alphaFailureReasonSourceEmpty;
|
|
18717
|
-
/**
|
|
18718
|
-
* Error if the user tries to update beyond their limits.
|
|
18719
|
-
*/
|
|
18720
|
-
sourceLimitExceeded?: Schema$GoogleCloudNotebooklmV1alphaFailureReasonSourceLimitExceeded;
|
|
18721
|
-
/**
|
|
18722
|
-
* Indicates source word count exceeded the user's limit.
|
|
18723
|
-
*/
|
|
18724
|
-
sourceTooLong?: Schema$GoogleCloudNotebooklmV1alphaFailureReasonSourceTooLong;
|
|
18725
|
-
/**
|
|
18726
|
-
* Indicates that the source is unreachable.
|
|
18727
|
-
*/
|
|
18728
|
-
sourceUnreachable?: Schema$GoogleCloudNotebooklmV1alphaFailureReasonSourceUnreachable;
|
|
18729
|
-
/**
|
|
18730
|
-
* Indicates an unknown error occurred.
|
|
18731
|
-
*/
|
|
18732
|
-
unknown?: Schema$GoogleCloudNotebooklmV1alphaFailureReasonUnknown;
|
|
18733
|
-
/**
|
|
18734
|
-
* Indicates an error occurred while uploading the source.
|
|
18735
|
-
*/
|
|
18736
|
-
uploadError?: Schema$GoogleCloudNotebooklmV1alphaFailureReasonUploadError;
|
|
18737
|
-
/**
|
|
18738
|
-
* A youtube specific error.
|
|
18739
|
-
*/
|
|
18740
|
-
youtubeError?: Schema$GoogleCloudNotebooklmV1alphaFailureReasonYoutubeError;
|
|
18741
|
-
}
|
|
18742
|
-
/**
|
|
18743
|
-
* An audio file transcription specific error.
|
|
18744
|
-
*/
|
|
18745
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionError {
|
|
18746
|
-
/**
|
|
18747
|
-
* Could not detect language of the file (it may not be speech).
|
|
18748
|
-
*/
|
|
18749
|
-
languageDetectionFailed?: Schema$GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionErrorLanguageDetectionFailed;
|
|
18750
|
-
/**
|
|
18751
|
-
* No audio was detected in the input file (it may have been a video).
|
|
18752
|
-
*/
|
|
18753
|
-
noAudioDetected?: Schema$GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionErrorNoAudioDetected;
|
|
18754
|
-
}
|
|
18755
|
-
/**
|
|
18756
|
-
* Could not detect language of the file (it may not be speech).
|
|
18757
|
-
*/
|
|
18758
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionErrorLanguageDetectionFailed {
|
|
18759
|
-
}
|
|
18760
|
-
/**
|
|
18761
|
-
* No audio was detected in the input file.
|
|
18762
|
-
*/
|
|
18763
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionErrorNoAudioDetected {
|
|
18764
|
-
}
|
|
18765
|
-
/**
|
|
18766
|
-
* Error to indicate that the source was removed because the domain was blocked.
|
|
18767
|
-
*/
|
|
18768
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaFailureReasonDomainBlocked {
|
|
18769
|
-
}
|
|
18770
|
-
/**
|
|
18771
|
-
* A google drive specific error.
|
|
18772
|
-
*/
|
|
18773
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveError {
|
|
18774
|
-
/**
|
|
18775
|
-
* The user was prevented from downloading the file.
|
|
18776
|
-
*/
|
|
18777
|
-
downloadPrevented?: Schema$GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveErrorDownloadPrevented;
|
|
18778
|
-
}
|
|
18779
|
-
/**
|
|
18780
|
-
* The user was prevented from downloading the file.
|
|
18781
|
-
*/
|
|
18782
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveErrorDownloadPrevented {
|
|
18783
|
-
}
|
|
18784
|
-
/**
|
|
18785
|
-
* Indicates an error occurred while ingesting the source.
|
|
18786
|
-
*/
|
|
18787
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaFailureReasonIngestionError {
|
|
18788
|
-
}
|
|
18789
|
-
/**
|
|
18790
|
-
* Indicates that the source MIME type is blocked.
|
|
18791
|
-
*/
|
|
18792
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaFailureReasonMimeTypeBlocked {
|
|
18793
|
-
}
|
|
18794
|
-
/**
|
|
18795
|
-
* Indicates that the source is paywalled and cannot be ingested.
|
|
18796
|
-
*/
|
|
18797
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaFailureReasonPaywallError {
|
|
18798
|
-
}
|
|
18799
|
-
/**
|
|
18800
|
-
* Indicates that the policy check failed.
|
|
18801
|
-
*/
|
|
18802
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaFailureReasonPolicyCheckFailed {
|
|
18803
|
-
}
|
|
18804
|
-
/**
|
|
18805
|
-
* Indicates that the source is empty.
|
|
18806
|
-
*/
|
|
18807
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaFailureReasonSourceEmpty {
|
|
18808
|
-
}
|
|
18809
|
-
/**
|
|
18810
|
-
* Indicates that the user does not have space for this source.
|
|
18811
|
-
*/
|
|
18812
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaFailureReasonSourceLimitExceeded {
|
|
18813
|
-
}
|
|
18814
|
-
/**
|
|
18815
|
-
* Indicates source word count exceeded the user's limit.
|
|
18816
|
-
*/
|
|
18817
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaFailureReasonSourceTooLong {
|
|
18818
|
-
/**
|
|
18819
|
-
* The number of words in the source.
|
|
18820
|
-
*/
|
|
18821
|
-
wordCount?: number | null;
|
|
18822
|
-
/**
|
|
18823
|
-
* The word count limit for the current user at the time of the upload.
|
|
18824
|
-
*/
|
|
18825
|
-
wordLimit?: number | null;
|
|
18826
|
-
}
|
|
18827
|
-
/**
|
|
18828
|
-
* Indicates that the source is unreachable. This is primarily used for sources that are added via URL.
|
|
18829
|
-
*/
|
|
18830
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaFailureReasonSourceUnreachable {
|
|
18831
|
-
/**
|
|
18832
|
-
* Describes why the source is unreachable.
|
|
18833
|
-
*/
|
|
18834
|
-
errorDetails?: string | null;
|
|
18835
|
-
}
|
|
18836
|
-
/**
|
|
18837
|
-
* Indicates an unknown error occurred.
|
|
18838
|
-
*/
|
|
18839
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaFailureReasonUnknown {
|
|
18840
|
-
}
|
|
18841
|
-
/**
|
|
18842
|
-
* Indicates an error occurred while uploading the source.
|
|
18843
|
-
*/
|
|
18844
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaFailureReasonUploadError {
|
|
18845
|
-
}
|
|
18846
|
-
/**
|
|
18847
|
-
* A youtube specific error.
|
|
18848
|
-
*/
|
|
18849
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaFailureReasonYoutubeError {
|
|
18850
|
-
/**
|
|
18851
|
-
* Error to indicate that the source was removed because the video was deleted.
|
|
18852
|
-
*/
|
|
18853
|
-
videoDeleted?: Schema$GoogleCloudNotebooklmV1alphaFailureReasonYoutubeErrorVideoDeleted;
|
|
18854
|
-
}
|
|
18855
|
-
/**
|
|
18856
|
-
* Error to indicate that the source was removed because the video was deleted.
|
|
18857
|
-
*/
|
|
18858
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaFailureReasonYoutubeErrorVideoDeleted {
|
|
18859
|
-
}
|
|
18860
|
-
/**
|
|
18861
|
-
* Metadata about a google doc source.
|
|
18862
|
-
*/
|
|
18863
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaGoogleDocsSourceMetadata {
|
|
18864
|
-
/**
|
|
18865
|
-
* Output only. The document id of the google doc.
|
|
18866
|
-
*/
|
|
18867
|
-
documentId?: string | null;
|
|
18868
|
-
/**
|
|
18869
|
-
* Output only. Revision id for the doc.
|
|
18870
|
-
*/
|
|
18871
|
-
revisionId?: string | null;
|
|
18872
|
-
}
|
|
18873
|
-
/**
|
|
18874
|
-
* Response for NotebookService.ListRecentlyViewedNotebooks method.
|
|
18875
|
-
*/
|
|
18876
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse {
|
|
18877
|
-
/**
|
|
18878
|
-
* The page token, provide this to retrieve the subsequent page.
|
|
18879
|
-
*/
|
|
18880
|
-
nextPageToken?: string | null;
|
|
18881
|
-
/**
|
|
18882
|
-
* The list of recently viewed notebooks.
|
|
18883
|
-
*/
|
|
18884
|
-
notebooks?: Schema$GoogleCloudNotebooklmV1alphaNotebook[];
|
|
18885
|
-
}
|
|
18886
|
-
/**
|
|
18887
|
-
* Notebook is a resource where users can store their content (as sources) and interacts with the content.
|
|
18888
|
-
*/
|
|
18889
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaNotebook {
|
|
18890
|
-
/**
|
|
18891
|
-
* Output only. CMEK-related information for the Notebook.
|
|
18892
|
-
*/
|
|
18893
|
-
cmekConfig?: Schema$GoogleCloudNotebooklmV1alphaCmekConfig;
|
|
18894
|
-
/**
|
|
18895
|
-
* Output only. The emoji of the notebook.
|
|
18896
|
-
*/
|
|
18897
|
-
emoji?: string | null;
|
|
18898
|
-
/**
|
|
18899
|
-
* Output only. The metadata of the notebook.
|
|
18900
|
-
*/
|
|
18901
|
-
metadata?: Schema$GoogleCloudNotebooklmV1alphaNotebookMetadata;
|
|
18902
|
-
/**
|
|
18903
|
-
* Identifier. The identifier of the notebook. Format: `projects/{project\}/locations/{location\}/notebooks/{notebook_id\}`. This field must be a UTF-8 encoded string.
|
|
18904
|
-
*/
|
|
18905
|
-
name?: string | null;
|
|
18906
|
-
/**
|
|
18907
|
-
* Output only. Notebook id, which is the last segment of the notebook's resource name.
|
|
18908
|
-
*/
|
|
18909
|
-
notebookId?: string | null;
|
|
18910
|
-
/**
|
|
18911
|
-
* Output only. List of sources in the notebook. This is an output only field.
|
|
18912
|
-
*/
|
|
18913
|
-
sources?: Schema$GoogleCloudNotebooklmV1alphaSource[];
|
|
18914
|
-
/**
|
|
18915
|
-
* Optional. The title of the notebook.
|
|
18916
|
-
*/
|
|
18917
|
-
title?: string | null;
|
|
18918
|
-
}
|
|
18919
|
-
/**
|
|
18920
|
-
* Metadata for a notebook.
|
|
18921
|
-
*/
|
|
18922
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaNotebookMetadata {
|
|
18923
|
-
/**
|
|
18924
|
-
* The time at which this project was created.
|
|
18925
|
-
*/
|
|
18926
|
-
createTime?: string | null;
|
|
18927
|
-
/**
|
|
18928
|
-
* True if the project is shareable.
|
|
18929
|
-
*/
|
|
18930
|
-
isShareable?: boolean | null;
|
|
18931
|
-
/**
|
|
18932
|
-
* True if this project is currently shared with other people, false otherwise.
|
|
18933
|
-
*/
|
|
18934
|
-
isShared?: boolean | null;
|
|
18935
|
-
/**
|
|
18936
|
-
* A timestamp indicating the time that the current in session user has last viewed the project.
|
|
18937
|
-
*/
|
|
18938
|
-
lastViewed?: string | null;
|
|
18939
|
-
}
|
|
18940
|
-
/**
|
|
18941
|
-
* Request for NotebookService.ShareNotebook method.
|
|
18942
|
-
*/
|
|
18943
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaShareNotebookRequest {
|
|
18944
|
-
/**
|
|
18945
|
-
* Required. The list of accounts and roles to share the notebook with.
|
|
18946
|
-
*/
|
|
18947
|
-
accountAndRoles?: Schema$GoogleCloudNotebooklmV1alphaAccountAndRole[];
|
|
18948
|
-
/**
|
|
18949
|
-
* Required. Whether to notify the shared users via email.
|
|
18950
|
-
*/
|
|
18951
|
-
notifyViaEmail?: boolean | null;
|
|
18952
|
-
}
|
|
18953
|
-
/**
|
|
18954
|
-
* Response for NotebookService.ShareNotebook method.
|
|
18955
|
-
*/
|
|
18956
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaShareNotebookResponse {
|
|
18957
|
-
}
|
|
18958
|
-
/**
|
|
18959
|
-
* Source represents a single source of content.
|
|
18960
|
-
*/
|
|
18961
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaSource {
|
|
18962
|
-
/**
|
|
18963
|
-
* Output only. Metadata about the source.
|
|
18964
|
-
*/
|
|
18965
|
-
metadata?: Schema$GoogleCloudNotebooklmV1alphaSourceMetadata;
|
|
18966
|
-
/**
|
|
18967
|
-
* Identifier. The full resource name of the source. Format: `projects/{project\}/locations/{location\}/notebooks/{notebook\}/sources/{source_id\}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
|
|
18968
|
-
*/
|
|
18969
|
-
name?: string | null;
|
|
18970
|
-
/**
|
|
18971
|
-
* Output only. Status of the source, and any failure reasons.
|
|
18972
|
-
*/
|
|
18973
|
-
settings?: Schema$GoogleCloudNotebooklmV1alphaSourceSettings;
|
|
18974
|
-
/**
|
|
18975
|
-
* Optional. Output only. Source id, which is the last segment of the source's resource name.
|
|
18976
|
-
*/
|
|
18977
|
-
sourceId?: Schema$GoogleCloudNotebooklmV1alphaSourceId;
|
|
18978
|
-
/**
|
|
18979
|
-
* Optional. Title of the source.
|
|
18980
|
-
*/
|
|
18981
|
-
title?: string | null;
|
|
18982
|
-
}
|
|
18983
18756
|
/**
|
|
18984
18757
|
* SourceId is the last segment of the source's resource name.
|
|
18985
18758
|
*/
|
|
@@ -18989,155 +18762,6 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
18989
18762
|
*/
|
|
18990
18763
|
id?: string | null;
|
|
18991
18764
|
}
|
|
18992
|
-
/**
|
|
18993
|
-
* Represents the metadata of a source and some additional information.
|
|
18994
|
-
*/
|
|
18995
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaSourceMetadata {
|
|
18996
|
-
/**
|
|
18997
|
-
* Metadata for an agentspace source.
|
|
18998
|
-
*/
|
|
18999
|
-
agentspaceMetadata?: Schema$GoogleCloudNotebooklmV1alphaAgentspaceMetadata;
|
|
19000
|
-
/**
|
|
19001
|
-
* Metadata for a google doc source.
|
|
19002
|
-
*/
|
|
19003
|
-
googleDocsMetadata?: Schema$GoogleCloudNotebooklmV1alphaGoogleDocsSourceMetadata;
|
|
19004
|
-
/**
|
|
19005
|
-
* The timestamp the source was added.
|
|
19006
|
-
*/
|
|
19007
|
-
sourceAddedTimestamp?: string | null;
|
|
19008
|
-
/**
|
|
19009
|
-
* The number of tokens in the source.
|
|
19010
|
-
*/
|
|
19011
|
-
tokenCount?: number | null;
|
|
19012
|
-
/**
|
|
19013
|
-
* The word count of the source.
|
|
19014
|
-
*/
|
|
19015
|
-
wordCount?: number | null;
|
|
19016
|
-
/**
|
|
19017
|
-
* Metadata for a youtube video source.
|
|
19018
|
-
*/
|
|
19019
|
-
youtubeMetadata?: Schema$GoogleCloudNotebooklmV1alphaYoutubeMetadata;
|
|
19020
|
-
}
|
|
19021
|
-
/**
|
|
19022
|
-
* Allows extension of Source Settings in the BatchCreateSources (Formerly AddSource request).
|
|
19023
|
-
*/
|
|
19024
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaSourceSettings {
|
|
19025
|
-
/**
|
|
19026
|
-
* Failure reason containing details about why a source failed to ingest.
|
|
19027
|
-
*/
|
|
19028
|
-
failureReason?: Schema$GoogleCloudNotebooklmV1alphaFailureReason;
|
|
19029
|
-
/**
|
|
19030
|
-
* Status of the source.
|
|
19031
|
-
*/
|
|
19032
|
-
status?: string | null;
|
|
19033
|
-
}
|
|
19034
|
-
/**
|
|
19035
|
-
* The "Content" messages refer to data the user wants to upload.
|
|
19036
|
-
*/
|
|
19037
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaUserContent {
|
|
19038
|
-
/**
|
|
19039
|
-
* Agentspace content uploaded as source.
|
|
19040
|
-
*/
|
|
19041
|
-
agentspaceContent?: Schema$GoogleCloudNotebooklmV1alphaUserContentAgentspaceContent;
|
|
19042
|
-
/**
|
|
19043
|
-
* The content from Google Drive.
|
|
19044
|
-
*/
|
|
19045
|
-
googleDriveContent?: Schema$GoogleCloudNotebooklmV1alphaUserContentGoogleDriveContent;
|
|
19046
|
-
/**
|
|
19047
|
-
* The text content uploaded as source.
|
|
19048
|
-
*/
|
|
19049
|
-
textContent?: Schema$GoogleCloudNotebooklmV1alphaUserContentTextContent;
|
|
19050
|
-
/**
|
|
19051
|
-
* The video content uploaded as source.
|
|
19052
|
-
*/
|
|
19053
|
-
videoContent?: Schema$GoogleCloudNotebooklmV1alphaUserContentVideoContent;
|
|
19054
|
-
/**
|
|
19055
|
-
* The web content uploaded as source.
|
|
19056
|
-
*/
|
|
19057
|
-
webContent?: Schema$GoogleCloudNotebooklmV1alphaUserContentWebContent;
|
|
19058
|
-
}
|
|
19059
|
-
/**
|
|
19060
|
-
* Agentspace content uploaded as source.
|
|
19061
|
-
*/
|
|
19062
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaUserContentAgentspaceContent {
|
|
19063
|
-
/**
|
|
19064
|
-
* Optional. The full resource name of the Agentspace document. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/dataStores/{data_store\}/branches/{branch\}/documents/{document_id\}`.
|
|
19065
|
-
*/
|
|
19066
|
-
documentName?: string | null;
|
|
19067
|
-
/**
|
|
19068
|
-
* Optional. Engine to verify the permission of the document. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}`.
|
|
19069
|
-
*/
|
|
19070
|
-
engineName?: string | null;
|
|
19071
|
-
/**
|
|
19072
|
-
* Optional. Resource name of the idea forge instance. Format: `projects/{project\}/locations/{location\}/collections/{collection\}/engines/{engine\}/sessions/{session\}/ideaForgeInstances/{instance\}`
|
|
19073
|
-
*/
|
|
19074
|
-
ideaforgeIdeaName?: string | null;
|
|
19075
|
-
}
|
|
19076
|
-
/**
|
|
19077
|
-
* The content from Google Drive.
|
|
19078
|
-
*/
|
|
19079
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaUserContentGoogleDriveContent {
|
|
19080
|
-
/**
|
|
19081
|
-
* The document id of the selected document.
|
|
19082
|
-
*/
|
|
19083
|
-
documentId?: string | null;
|
|
19084
|
-
/**
|
|
19085
|
-
* The mime type of the selected document. This can be used to differentiate type of content selected in the drive picker. Use application/vnd.google-apps.document for Google Docs or application/vnd.google-apps.presentation for Google Slides.
|
|
19086
|
-
*/
|
|
19087
|
-
mimeType?: string | null;
|
|
19088
|
-
/**
|
|
19089
|
-
* The name to be displayed for the source.
|
|
19090
|
-
*/
|
|
19091
|
-
sourceName?: string | null;
|
|
19092
|
-
}
|
|
19093
|
-
/**
|
|
19094
|
-
* The text content uploaded as source.
|
|
19095
|
-
*/
|
|
19096
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaUserContentTextContent {
|
|
19097
|
-
/**
|
|
19098
|
-
* The name to be displayed for the source.
|
|
19099
|
-
*/
|
|
19100
|
-
content?: string | null;
|
|
19101
|
-
/**
|
|
19102
|
-
* The display name of the text source.
|
|
19103
|
-
*/
|
|
19104
|
-
sourceName?: string | null;
|
|
19105
|
-
}
|
|
19106
|
-
/**
|
|
19107
|
-
* Video content uploaded as source.
|
|
19108
|
-
*/
|
|
19109
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaUserContentVideoContent {
|
|
19110
|
-
/**
|
|
19111
|
-
* The youtube url of the video content.
|
|
19112
|
-
*/
|
|
19113
|
-
youtubeUrl?: string | null;
|
|
19114
|
-
}
|
|
19115
|
-
/**
|
|
19116
|
-
* The web content uploaded as source.
|
|
19117
|
-
*/
|
|
19118
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaUserContentWebContent {
|
|
19119
|
-
/**
|
|
19120
|
-
* The name to be displayed for the source.
|
|
19121
|
-
*/
|
|
19122
|
-
sourceName?: string | null;
|
|
19123
|
-
/**
|
|
19124
|
-
* If URL is supplied, will fetch the webpage in the backend.
|
|
19125
|
-
*/
|
|
19126
|
-
url?: string | null;
|
|
19127
|
-
}
|
|
19128
|
-
/**
|
|
19129
|
-
* Metadata about a youtube video source.
|
|
19130
|
-
*/
|
|
19131
|
-
export interface Schema$GoogleCloudNotebooklmV1alphaYoutubeMetadata {
|
|
19132
|
-
/**
|
|
19133
|
-
* Output only. The channel name of the youtube video.
|
|
19134
|
-
*/
|
|
19135
|
-
channelName?: string | null;
|
|
19136
|
-
/**
|
|
19137
|
-
* Output only. The id of the youtube video.
|
|
19138
|
-
*/
|
|
19139
|
-
videoId?: string | null;
|
|
19140
|
-
}
|
|
19141
18765
|
/**
|
|
19142
18766
|
* Associates `members`, or principals, with a `role`.
|
|
19143
18767
|
*/
|
|
@@ -33455,7 +33079,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
33455
33079
|
* 'placeholder-value',
|
|
33456
33080
|
* // Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable strings in the response, such as the model selector `display_name` / `description` on `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the default language (English).
|
|
33457
33081
|
* languageCode: 'placeholder-value',
|
|
33458
|
-
* // Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `
|
|
33082
|
+
* // Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `ADMIN` is set by the Cloud Console admin "Feature Management" page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with `ResolvedModel.admin_view` populated; `END_USER_MOBILE` is set by the Gemini Enterprise mobile app to receive the mobile model set; unset / `END_USER_WEB` returns the end-user web selector.
|
|
33459
33083
|
* modelInfoView: 'placeholder-value',
|
|
33460
33084
|
* // Required. Full WidgetConfig resource name. Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}/widgetConfigs/{widget_config_id\}`
|
|
33461
33085
|
* name: 'projects/my-project/locations/my-location/collections/my-collection/dataStores/my-dataStore/widgetConfigs/my-widgetConfig',
|
|
@@ -33691,7 +33315,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
33691
33315
|
*/
|
|
33692
33316
|
languageCode?: string;
|
|
33693
33317
|
/**
|
|
33694
|
-
* Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `
|
|
33318
|
+
* Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `ADMIN` is set by the Cloud Console admin "Feature Management" page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with `ResolvedModel.admin_view` populated; `END_USER_MOBILE` is set by the Gemini Enterprise mobile app to receive the mobile model set; unset / `END_USER_WEB` returns the end-user web selector.
|
|
33695
33319
|
*/
|
|
33696
33320
|
modelInfoView?: string;
|
|
33697
33321
|
/**
|
|
@@ -33795,6 +33419,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
33795
33419
|
* // "procurementContactEmails": [],
|
|
33796
33420
|
* // "recommendationMetadata": {},
|
|
33797
33421
|
* // "searchEngineConfig": {},
|
|
33422
|
+
* // "sessionConfig": {},
|
|
33798
33423
|
* // "similarDocumentsConfig": {},
|
|
33799
33424
|
* // "solutionType": "my_solutionType",
|
|
33800
33425
|
* // "updateTime": "my_updateTime"
|
|
@@ -33966,6 +33591,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
33966
33591
|
* // "procurementContactEmails": [],
|
|
33967
33592
|
* // "recommendationMetadata": {},
|
|
33968
33593
|
* // "searchEngineConfig": {},
|
|
33594
|
+
* // "sessionConfig": {},
|
|
33969
33595
|
* // "similarDocumentsConfig": {},
|
|
33970
33596
|
* // "solutionType": "my_solutionType",
|
|
33971
33597
|
* // "updateTime": "my_updateTime"
|
|
@@ -34347,6 +33973,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
34347
33973
|
* // "procurementContactEmails": [],
|
|
34348
33974
|
* // "recommendationMetadata": {},
|
|
34349
33975
|
* // "searchEngineConfig": {},
|
|
33976
|
+
* // "sessionConfig": {},
|
|
34350
33977
|
* // "similarDocumentsConfig": {},
|
|
34351
33978
|
* // "solutionType": "my_solutionType",
|
|
34352
33979
|
* // "updateTime": "my_updateTime"
|
|
@@ -34381,6 +34008,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
34381
34008
|
* // "procurementContactEmails": [],
|
|
34382
34009
|
* // "recommendationMetadata": {},
|
|
34383
34010
|
* // "searchEngineConfig": {},
|
|
34011
|
+
* // "sessionConfig": {},
|
|
34384
34012
|
* // "similarDocumentsConfig": {},
|
|
34385
34013
|
* // "solutionType": "my_solutionType",
|
|
34386
34014
|
* // "updateTime": "my_updateTime"
|
|
@@ -34478,6 +34106,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
34478
34106
|
* // "procurementContactEmails": [],
|
|
34479
34107
|
* // "recommendationMetadata": {},
|
|
34480
34108
|
* // "searchEngineConfig": {},
|
|
34109
|
+
* // "sessionConfig": {},
|
|
34481
34110
|
* // "similarDocumentsConfig": {},
|
|
34482
34111
|
* // "solutionType": "my_solutionType",
|
|
34483
34112
|
* // "updateTime": "my_updateTime"
|
|
@@ -34575,6 +34204,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
34575
34204
|
* // "procurementContactEmails": [],
|
|
34576
34205
|
* // "recommendationMetadata": {},
|
|
34577
34206
|
* // "searchEngineConfig": {},
|
|
34207
|
+
* // "sessionConfig": {},
|
|
34578
34208
|
* // "similarDocumentsConfig": {},
|
|
34579
34209
|
* // "solutionType": "my_solutionType",
|
|
34580
34210
|
* // "updateTime": "my_updateTime"
|
|
@@ -35303,6 +34933,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
35303
34933
|
* // "displayName": "my_displayName",
|
|
35304
34934
|
* // "enabledTools": {},
|
|
35305
34935
|
* // "generationConfig": {},
|
|
34936
|
+
* // "knowledgeCatalogEnabled": false,
|
|
35306
34937
|
* // "name": "my_name",
|
|
35307
34938
|
* // "updateTime": "my_updateTime",
|
|
35308
34939
|
* // "webGroundingType": "my_webGroundingType"
|
|
@@ -35322,6 +34953,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
35322
34953
|
* // "displayName": "my_displayName",
|
|
35323
34954
|
* // "enabledTools": {},
|
|
35324
34955
|
* // "generationConfig": {},
|
|
34956
|
+
* // "knowledgeCatalogEnabled": false,
|
|
35325
34957
|
* // "name": "my_name",
|
|
35326
34958
|
* // "updateTime": "my_updateTime",
|
|
35327
34959
|
* // "webGroundingType": "my_webGroundingType"
|
|
@@ -35466,6 +35098,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
35466
35098
|
* // "displayName": "my_displayName",
|
|
35467
35099
|
* // "enabledTools": {},
|
|
35468
35100
|
* // "generationConfig": {},
|
|
35101
|
+
* // "knowledgeCatalogEnabled": false,
|
|
35469
35102
|
* // "name": "my_name",
|
|
35470
35103
|
* // "updateTime": "my_updateTime",
|
|
35471
35104
|
* // "webGroundingType": "my_webGroundingType"
|
|
@@ -35619,6 +35252,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
35619
35252
|
* // "displayName": "my_displayName",
|
|
35620
35253
|
* // "enabledTools": {},
|
|
35621
35254
|
* // "generationConfig": {},
|
|
35255
|
+
* // "knowledgeCatalogEnabled": false,
|
|
35622
35256
|
* // "name": "my_name",
|
|
35623
35257
|
* // "updateTime": "my_updateTime",
|
|
35624
35258
|
* // "webGroundingType": "my_webGroundingType"
|
|
@@ -35638,6 +35272,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
35638
35272
|
* // "displayName": "my_displayName",
|
|
35639
35273
|
* // "enabledTools": {},
|
|
35640
35274
|
* // "generationConfig": {},
|
|
35275
|
+
* // "knowledgeCatalogEnabled": false,
|
|
35641
35276
|
* // "name": "my_name",
|
|
35642
35277
|
* // "updateTime": "my_updateTime",
|
|
35643
35278
|
* // "webGroundingType": "my_webGroundingType"
|
|
@@ -41346,7 +40981,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
41346
40981
|
* 'placeholder-value',
|
|
41347
40982
|
* // Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable strings in the response, such as the model selector `display_name` / `description` on `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the default language (English).
|
|
41348
40983
|
* languageCode: 'placeholder-value',
|
|
41349
|
-
* // Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `
|
|
40984
|
+
* // Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `ADMIN` is set by the Cloud Console admin "Feature Management" page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with `ResolvedModel.admin_view` populated; `END_USER_MOBILE` is set by the Gemini Enterprise mobile app to receive the mobile model set; unset / `END_USER_WEB` returns the end-user web selector.
|
|
41350
40985
|
* modelInfoView: 'placeholder-value',
|
|
41351
40986
|
* // Required. Full WidgetConfig resource name. Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}/widgetConfigs/{widget_config_id\}`
|
|
41352
40987
|
* name: 'projects/my-project/locations/my-location/collections/my-collection/engines/my-engine/widgetConfigs/my-widgetConfig',
|
|
@@ -41582,7 +41217,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
41582
41217
|
*/
|
|
41583
41218
|
languageCode?: string;
|
|
41584
41219
|
/**
|
|
41585
|
-
* Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `
|
|
41220
|
+
* Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `ADMIN` is set by the Cloud Console admin "Feature Management" page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with `ResolvedModel.admin_view` populated; `END_USER_MOBILE` is set by the Gemini Enterprise mobile app to receive the mobile model set; unset / `END_USER_WEB` returns the end-user web selector.
|
|
41586
41221
|
*/
|
|
41587
41222
|
modelInfoView?: string;
|
|
41588
41223
|
/**
|
|
@@ -50309,7 +49944,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
50309
49944
|
* 'placeholder-value',
|
|
50310
49945
|
* // Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable strings in the response, such as the model selector `display_name` / `description` on `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the default language (English).
|
|
50311
49946
|
* languageCode: 'placeholder-value',
|
|
50312
|
-
* // Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `
|
|
49947
|
+
* // Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `ADMIN` is set by the Cloud Console admin "Feature Management" page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with `ResolvedModel.admin_view` populated; `END_USER_MOBILE` is set by the Gemini Enterprise mobile app to receive the mobile model set; unset / `END_USER_WEB` returns the end-user web selector.
|
|
50313
49948
|
* modelInfoView: 'placeholder-value',
|
|
50314
49949
|
* // Required. Full WidgetConfig resource name. Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}/dataStores/{data_store_id\}/widgetConfigs/{widget_config_id\}`
|
|
50315
49950
|
* name: 'projects/my-project/locations/my-location/dataStores/my-dataStore/widgetConfigs/my-widgetConfig',
|
|
@@ -50542,7 +50177,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
50542
50177
|
*/
|
|
50543
50178
|
languageCode?: string;
|
|
50544
50179
|
/**
|
|
50545
|
-
* Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `
|
|
50180
|
+
* Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `ADMIN` is set by the Cloud Console admin "Feature Management" page (screen/4Vn9gQKbN8tb7gm) to receive the admin-surfaced model set with `ResolvedModel.admin_view` populated; `END_USER_MOBILE` is set by the Gemini Enterprise mobile app to receive the mobile model set; unset / `END_USER_WEB` returns the end-user web selector.
|
|
50546
50181
|
*/
|
|
50547
50182
|
modelInfoView?: string;
|
|
50548
50183
|
/**
|
|
@@ -52280,423 +51915,7 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
52280
51915
|
export class Resource$Projects$Locations$Notebooks {
|
|
52281
51916
|
context: APIRequestContext;
|
|
52282
51917
|
audioOverviews: Resource$Projects$Locations$Notebooks$Audiooverviews;
|
|
52283
|
-
sources: Resource$Projects$Locations$Notebooks$Sources;
|
|
52284
51918
|
constructor(context: APIRequestContext);
|
|
52285
|
-
/**
|
|
52286
|
-
* Batch deletes Notebooks.
|
|
52287
|
-
* @example
|
|
52288
|
-
* ```js
|
|
52289
|
-
* // Before running the sample:
|
|
52290
|
-
* // - Enable the API at:
|
|
52291
|
-
* // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
|
|
52292
|
-
* // - Login into gcloud by running:
|
|
52293
|
-
* // ```sh
|
|
52294
|
-
* // $ gcloud auth application-default login
|
|
52295
|
-
* // ```
|
|
52296
|
-
* // - Install the npm module by running:
|
|
52297
|
-
* // ```sh
|
|
52298
|
-
* // $ npm install googleapis
|
|
52299
|
-
* // ```
|
|
52300
|
-
*
|
|
52301
|
-
* const {google} = require('googleapis');
|
|
52302
|
-
* const discoveryengine = google.discoveryengine('v1alpha');
|
|
52303
|
-
*
|
|
52304
|
-
* async function main() {
|
|
52305
|
-
* const auth = new google.auth.GoogleAuth({
|
|
52306
|
-
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
52307
|
-
* scopes: [
|
|
52308
|
-
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
52309
|
-
* 'https://www.googleapis.com/auth/discoveryengine.readwrite',
|
|
52310
|
-
* 'https://www.googleapis.com/auth/discoveryengine.serving.readwrite',
|
|
52311
|
-
* ],
|
|
52312
|
-
* });
|
|
52313
|
-
*
|
|
52314
|
-
* // Acquire an auth client, and bind it to all future calls
|
|
52315
|
-
* const authClient = await auth.getClient();
|
|
52316
|
-
* google.options({auth: authClient});
|
|
52317
|
-
*
|
|
52318
|
-
* // Do the magic
|
|
52319
|
-
* const res = await discoveryengine.projects.locations.notebooks.batchDelete({
|
|
52320
|
-
* // Required. The parent branch resource name, such as `projects/{project\}/locations/{location\}`.
|
|
52321
|
-
* parent: 'projects/my-project/locations/my-location',
|
|
52322
|
-
*
|
|
52323
|
-
* // Request body metadata
|
|
52324
|
-
* requestBody: {
|
|
52325
|
-
* // request body parameters
|
|
52326
|
-
* // {
|
|
52327
|
-
* // "names": []
|
|
52328
|
-
* // }
|
|
52329
|
-
* },
|
|
52330
|
-
* });
|
|
52331
|
-
* console.log(res.data);
|
|
52332
|
-
*
|
|
52333
|
-
* // Example response
|
|
52334
|
-
* // {}
|
|
52335
|
-
* }
|
|
52336
|
-
*
|
|
52337
|
-
* main().catch(e => {
|
|
52338
|
-
* console.error(e);
|
|
52339
|
-
* throw e;
|
|
52340
|
-
* });
|
|
52341
|
-
*
|
|
52342
|
-
* ```
|
|
52343
|
-
*
|
|
52344
|
-
* @param params - Parameters for request
|
|
52345
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
52346
|
-
* @param callback - Optional callback that handles the response.
|
|
52347
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
52348
|
-
*/
|
|
52349
|
-
batchDelete(params: Params$Resource$Projects$Locations$Notebooks$Batchdelete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
52350
|
-
batchDelete(params?: Params$Resource$Projects$Locations$Notebooks$Batchdelete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleProtobufEmpty>>;
|
|
52351
|
-
batchDelete(params: Params$Resource$Projects$Locations$Notebooks$Batchdelete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
52352
|
-
batchDelete(params: Params$Resource$Projects$Locations$Notebooks$Batchdelete, options: MethodOptions | BodyResponseCallback<Schema$GoogleProtobufEmpty>, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
|
|
52353
|
-
batchDelete(params: Params$Resource$Projects$Locations$Notebooks$Batchdelete, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
|
|
52354
|
-
batchDelete(callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
|
|
52355
|
-
/**
|
|
52356
|
-
* Creates a notebook.
|
|
52357
|
-
* @example
|
|
52358
|
-
* ```js
|
|
52359
|
-
* // Before running the sample:
|
|
52360
|
-
* // - Enable the API at:
|
|
52361
|
-
* // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
|
|
52362
|
-
* // - Login into gcloud by running:
|
|
52363
|
-
* // ```sh
|
|
52364
|
-
* // $ gcloud auth application-default login
|
|
52365
|
-
* // ```
|
|
52366
|
-
* // - Install the npm module by running:
|
|
52367
|
-
* // ```sh
|
|
52368
|
-
* // $ npm install googleapis
|
|
52369
|
-
* // ```
|
|
52370
|
-
*
|
|
52371
|
-
* const {google} = require('googleapis');
|
|
52372
|
-
* const discoveryengine = google.discoveryengine('v1alpha');
|
|
52373
|
-
*
|
|
52374
|
-
* async function main() {
|
|
52375
|
-
* const auth = new google.auth.GoogleAuth({
|
|
52376
|
-
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
52377
|
-
* scopes: [
|
|
52378
|
-
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
52379
|
-
* 'https://www.googleapis.com/auth/discoveryengine.readwrite',
|
|
52380
|
-
* 'https://www.googleapis.com/auth/discoveryengine.serving.readwrite',
|
|
52381
|
-
* ],
|
|
52382
|
-
* });
|
|
52383
|
-
*
|
|
52384
|
-
* // Acquire an auth client, and bind it to all future calls
|
|
52385
|
-
* const authClient = await auth.getClient();
|
|
52386
|
-
* google.options({auth: authClient});
|
|
52387
|
-
*
|
|
52388
|
-
* // Do the magic
|
|
52389
|
-
* const res = await discoveryengine.projects.locations.notebooks.create({
|
|
52390
|
-
* // Required. The parent resource name, such as `projects/{project\}/locations/{location\}`.
|
|
52391
|
-
* parent: 'projects/my-project/locations/my-location',
|
|
52392
|
-
*
|
|
52393
|
-
* // Request body metadata
|
|
52394
|
-
* requestBody: {
|
|
52395
|
-
* // request body parameters
|
|
52396
|
-
* // {
|
|
52397
|
-
* // "cmekConfig": {},
|
|
52398
|
-
* // "emoji": "my_emoji",
|
|
52399
|
-
* // "metadata": {},
|
|
52400
|
-
* // "name": "my_name",
|
|
52401
|
-
* // "notebookId": "my_notebookId",
|
|
52402
|
-
* // "sources": [],
|
|
52403
|
-
* // "title": "my_title"
|
|
52404
|
-
* // }
|
|
52405
|
-
* },
|
|
52406
|
-
* });
|
|
52407
|
-
* console.log(res.data);
|
|
52408
|
-
*
|
|
52409
|
-
* // Example response
|
|
52410
|
-
* // {
|
|
52411
|
-
* // "cmekConfig": {},
|
|
52412
|
-
* // "emoji": "my_emoji",
|
|
52413
|
-
* // "metadata": {},
|
|
52414
|
-
* // "name": "my_name",
|
|
52415
|
-
* // "notebookId": "my_notebookId",
|
|
52416
|
-
* // "sources": [],
|
|
52417
|
-
* // "title": "my_title"
|
|
52418
|
-
* // }
|
|
52419
|
-
* }
|
|
52420
|
-
*
|
|
52421
|
-
* main().catch(e => {
|
|
52422
|
-
* console.error(e);
|
|
52423
|
-
* throw e;
|
|
52424
|
-
* });
|
|
52425
|
-
*
|
|
52426
|
-
* ```
|
|
52427
|
-
*
|
|
52428
|
-
* @param params - Parameters for request
|
|
52429
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
52430
|
-
* @param callback - Optional callback that handles the response.
|
|
52431
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
52432
|
-
*/
|
|
52433
|
-
create(params: Params$Resource$Projects$Locations$Notebooks$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
52434
|
-
create(params?: Params$Resource$Projects$Locations$Notebooks$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudNotebooklmV1alphaNotebook>>;
|
|
52435
|
-
create(params: Params$Resource$Projects$Locations$Notebooks$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
52436
|
-
create(params: Params$Resource$Projects$Locations$Notebooks$Create, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudNotebooklmV1alphaNotebook>, callback: BodyResponseCallback<Schema$GoogleCloudNotebooklmV1alphaNotebook>): void;
|
|
52437
|
-
create(params: Params$Resource$Projects$Locations$Notebooks$Create, callback: BodyResponseCallback<Schema$GoogleCloudNotebooklmV1alphaNotebook>): void;
|
|
52438
|
-
create(callback: BodyResponseCallback<Schema$GoogleCloudNotebooklmV1alphaNotebook>): void;
|
|
52439
|
-
/**
|
|
52440
|
-
* Gets a notebook.
|
|
52441
|
-
* @example
|
|
52442
|
-
* ```js
|
|
52443
|
-
* // Before running the sample:
|
|
52444
|
-
* // - Enable the API at:
|
|
52445
|
-
* // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
|
|
52446
|
-
* // - Login into gcloud by running:
|
|
52447
|
-
* // ```sh
|
|
52448
|
-
* // $ gcloud auth application-default login
|
|
52449
|
-
* // ```
|
|
52450
|
-
* // - Install the npm module by running:
|
|
52451
|
-
* // ```sh
|
|
52452
|
-
* // $ npm install googleapis
|
|
52453
|
-
* // ```
|
|
52454
|
-
*
|
|
52455
|
-
* const {google} = require('googleapis');
|
|
52456
|
-
* const discoveryengine = google.discoveryengine('v1alpha');
|
|
52457
|
-
*
|
|
52458
|
-
* async function main() {
|
|
52459
|
-
* const auth = new google.auth.GoogleAuth({
|
|
52460
|
-
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
52461
|
-
* scopes: [
|
|
52462
|
-
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
52463
|
-
* 'https://www.googleapis.com/auth/discoveryengine.readwrite',
|
|
52464
|
-
* 'https://www.googleapis.com/auth/discoveryengine.serving.readwrite',
|
|
52465
|
-
* ],
|
|
52466
|
-
* });
|
|
52467
|
-
*
|
|
52468
|
-
* // Acquire an auth client, and bind it to all future calls
|
|
52469
|
-
* const authClient = await auth.getClient();
|
|
52470
|
-
* google.options({auth: authClient});
|
|
52471
|
-
*
|
|
52472
|
-
* // Do the magic
|
|
52473
|
-
* const res = await discoveryengine.projects.locations.notebooks.get({
|
|
52474
|
-
* // Required. Full resource name of Notebook, such as `projects/{project\}/locations/{location\}/notebooks/{notebook_id\}`.
|
|
52475
|
-
* name: 'projects/my-project/locations/my-location/notebooks/my-notebook',
|
|
52476
|
-
* });
|
|
52477
|
-
* console.log(res.data);
|
|
52478
|
-
*
|
|
52479
|
-
* // Example response
|
|
52480
|
-
* // {
|
|
52481
|
-
* // "cmekConfig": {},
|
|
52482
|
-
* // "emoji": "my_emoji",
|
|
52483
|
-
* // "metadata": {},
|
|
52484
|
-
* // "name": "my_name",
|
|
52485
|
-
* // "notebookId": "my_notebookId",
|
|
52486
|
-
* // "sources": [],
|
|
52487
|
-
* // "title": "my_title"
|
|
52488
|
-
* // }
|
|
52489
|
-
* }
|
|
52490
|
-
*
|
|
52491
|
-
* main().catch(e => {
|
|
52492
|
-
* console.error(e);
|
|
52493
|
-
* throw e;
|
|
52494
|
-
* });
|
|
52495
|
-
*
|
|
52496
|
-
* ```
|
|
52497
|
-
*
|
|
52498
|
-
* @param params - Parameters for request
|
|
52499
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
52500
|
-
* @param callback - Optional callback that handles the response.
|
|
52501
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
52502
|
-
*/
|
|
52503
|
-
get(params: Params$Resource$Projects$Locations$Notebooks$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
52504
|
-
get(params?: Params$Resource$Projects$Locations$Notebooks$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudNotebooklmV1alphaNotebook>>;
|
|
52505
|
-
get(params: Params$Resource$Projects$Locations$Notebooks$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
52506
|
-
get(params: Params$Resource$Projects$Locations$Notebooks$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudNotebooklmV1alphaNotebook>, callback: BodyResponseCallback<Schema$GoogleCloudNotebooklmV1alphaNotebook>): void;
|
|
52507
|
-
get(params: Params$Resource$Projects$Locations$Notebooks$Get, callback: BodyResponseCallback<Schema$GoogleCloudNotebooklmV1alphaNotebook>): void;
|
|
52508
|
-
get(callback: BodyResponseCallback<Schema$GoogleCloudNotebooklmV1alphaNotebook>): void;
|
|
52509
|
-
/**
|
|
52510
|
-
* Lists the notebooks ordered by last view time.
|
|
52511
|
-
* @example
|
|
52512
|
-
* ```js
|
|
52513
|
-
* // Before running the sample:
|
|
52514
|
-
* // - Enable the API at:
|
|
52515
|
-
* // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
|
|
52516
|
-
* // - Login into gcloud by running:
|
|
52517
|
-
* // ```sh
|
|
52518
|
-
* // $ gcloud auth application-default login
|
|
52519
|
-
* // ```
|
|
52520
|
-
* // - Install the npm module by running:
|
|
52521
|
-
* // ```sh
|
|
52522
|
-
* // $ npm install googleapis
|
|
52523
|
-
* // ```
|
|
52524
|
-
*
|
|
52525
|
-
* const {google} = require('googleapis');
|
|
52526
|
-
* const discoveryengine = google.discoveryengine('v1alpha');
|
|
52527
|
-
*
|
|
52528
|
-
* async function main() {
|
|
52529
|
-
* const auth = new google.auth.GoogleAuth({
|
|
52530
|
-
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
52531
|
-
* scopes: [
|
|
52532
|
-
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
52533
|
-
* 'https://www.googleapis.com/auth/discoveryengine.readwrite',
|
|
52534
|
-
* 'https://www.googleapis.com/auth/discoveryengine.serving.readwrite',
|
|
52535
|
-
* ],
|
|
52536
|
-
* });
|
|
52537
|
-
*
|
|
52538
|
-
* // Acquire an auth client, and bind it to all future calls
|
|
52539
|
-
* const authClient = await auth.getClient();
|
|
52540
|
-
* google.options({auth: authClient});
|
|
52541
|
-
*
|
|
52542
|
-
* // Do the magic
|
|
52543
|
-
* const res =
|
|
52544
|
-
* await discoveryengine.projects.locations.notebooks.listRecentlyViewed({
|
|
52545
|
-
* // Optional. Maximum number of Notebooks to return. If unspecified, defaults to "500". The maximum allowed value is "500". If this field is negative, will use the default value.
|
|
52546
|
-
* pageSize: 'placeholder-value',
|
|
52547
|
-
* // Optional. The page token, provide this to retrieve the subsequent page.
|
|
52548
|
-
* pageToken: 'placeholder-value',
|
|
52549
|
-
* // Required. The parent branch resource name, such as `projects/{project\}/locations/{location\}`.
|
|
52550
|
-
* parent: 'projects/my-project/locations/my-location',
|
|
52551
|
-
* });
|
|
52552
|
-
* console.log(res.data);
|
|
52553
|
-
*
|
|
52554
|
-
* // Example response
|
|
52555
|
-
* // {
|
|
52556
|
-
* // "nextPageToken": "my_nextPageToken",
|
|
52557
|
-
* // "notebooks": []
|
|
52558
|
-
* // }
|
|
52559
|
-
* }
|
|
52560
|
-
*
|
|
52561
|
-
* main().catch(e => {
|
|
52562
|
-
* console.error(e);
|
|
52563
|
-
* throw e;
|
|
52564
|
-
* });
|
|
52565
|
-
*
|
|
52566
|
-
* ```
|
|
52567
|
-
*
|
|
52568
|
-
* @param params - Parameters for request
|
|
52569
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
52570
|
-
* @param callback - Optional callback that handles the response.
|
|
52571
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
52572
|
-
*/
|
|
52573
|
-
listRecentlyViewed(params: Params$Resource$Projects$Locations$Notebooks$Listrecentlyviewed, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
52574
|
-
listRecentlyViewed(params?: Params$Resource$Projects$Locations$Notebooks$Listrecentlyviewed, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse>>;
|
|
52575
|
-
listRecentlyViewed(params: Params$Resource$Projects$Locations$Notebooks$Listrecentlyviewed, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
52576
|
-
listRecentlyViewed(params: Params$Resource$Projects$Locations$Notebooks$Listrecentlyviewed, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse>, callback: BodyResponseCallback<Schema$GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse>): void;
|
|
52577
|
-
listRecentlyViewed(params: Params$Resource$Projects$Locations$Notebooks$Listrecentlyviewed, callback: BodyResponseCallback<Schema$GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse>): void;
|
|
52578
|
-
listRecentlyViewed(callback: BodyResponseCallback<Schema$GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse>): void;
|
|
52579
|
-
/**
|
|
52580
|
-
* Shares a notebook to other accounts.
|
|
52581
|
-
* @example
|
|
52582
|
-
* ```js
|
|
52583
|
-
* // Before running the sample:
|
|
52584
|
-
* // - Enable the API at:
|
|
52585
|
-
* // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
|
|
52586
|
-
* // - Login into gcloud by running:
|
|
52587
|
-
* // ```sh
|
|
52588
|
-
* // $ gcloud auth application-default login
|
|
52589
|
-
* // ```
|
|
52590
|
-
* // - Install the npm module by running:
|
|
52591
|
-
* // ```sh
|
|
52592
|
-
* // $ npm install googleapis
|
|
52593
|
-
* // ```
|
|
52594
|
-
*
|
|
52595
|
-
* const {google} = require('googleapis');
|
|
52596
|
-
* const discoveryengine = google.discoveryengine('v1alpha');
|
|
52597
|
-
*
|
|
52598
|
-
* async function main() {
|
|
52599
|
-
* const auth = new google.auth.GoogleAuth({
|
|
52600
|
-
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
52601
|
-
* scopes: [
|
|
52602
|
-
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
52603
|
-
* 'https://www.googleapis.com/auth/discoveryengine.readwrite',
|
|
52604
|
-
* 'https://www.googleapis.com/auth/discoveryengine.serving.readwrite',
|
|
52605
|
-
* ],
|
|
52606
|
-
* });
|
|
52607
|
-
*
|
|
52608
|
-
* // Acquire an auth client, and bind it to all future calls
|
|
52609
|
-
* const authClient = await auth.getClient();
|
|
52610
|
-
* google.options({auth: authClient});
|
|
52611
|
-
*
|
|
52612
|
-
* // Do the magic
|
|
52613
|
-
* const res = await discoveryengine.projects.locations.notebooks.share({
|
|
52614
|
-
* // Required. Full resource name of Notebook, such as `projects/{project\}/locations/{location\}/notebooks/{notebook_id\}`.
|
|
52615
|
-
* name: 'projects/my-project/locations/my-location/notebooks/my-notebook',
|
|
52616
|
-
*
|
|
52617
|
-
* // Request body metadata
|
|
52618
|
-
* requestBody: {
|
|
52619
|
-
* // request body parameters
|
|
52620
|
-
* // {
|
|
52621
|
-
* // "accountAndRoles": [],
|
|
52622
|
-
* // "notifyViaEmail": false
|
|
52623
|
-
* // }
|
|
52624
|
-
* },
|
|
52625
|
-
* });
|
|
52626
|
-
* console.log(res.data);
|
|
52627
|
-
*
|
|
52628
|
-
* // Example response
|
|
52629
|
-
* // {}
|
|
52630
|
-
* }
|
|
52631
|
-
*
|
|
52632
|
-
* main().catch(e => {
|
|
52633
|
-
* console.error(e);
|
|
52634
|
-
* throw e;
|
|
52635
|
-
* });
|
|
52636
|
-
*
|
|
52637
|
-
* ```
|
|
52638
|
-
*
|
|
52639
|
-
* @param params - Parameters for request
|
|
52640
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
52641
|
-
* @param callback - Optional callback that handles the response.
|
|
52642
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
52643
|
-
*/
|
|
52644
|
-
share(params: Params$Resource$Projects$Locations$Notebooks$Share, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
52645
|
-
share(params?: Params$Resource$Projects$Locations$Notebooks$Share, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudNotebooklmV1alphaShareNotebookResponse>>;
|
|
52646
|
-
share(params: Params$Resource$Projects$Locations$Notebooks$Share, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
52647
|
-
share(params: Params$Resource$Projects$Locations$Notebooks$Share, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudNotebooklmV1alphaShareNotebookResponse>, callback: BodyResponseCallback<Schema$GoogleCloudNotebooklmV1alphaShareNotebookResponse>): void;
|
|
52648
|
-
share(params: Params$Resource$Projects$Locations$Notebooks$Share, callback: BodyResponseCallback<Schema$GoogleCloudNotebooklmV1alphaShareNotebookResponse>): void;
|
|
52649
|
-
share(callback: BodyResponseCallback<Schema$GoogleCloudNotebooklmV1alphaShareNotebookResponse>): void;
|
|
52650
|
-
}
|
|
52651
|
-
export interface Params$Resource$Projects$Locations$Notebooks$Batchdelete extends StandardParameters {
|
|
52652
|
-
/**
|
|
52653
|
-
* Required. The parent branch resource name, such as `projects/{project\}/locations/{location\}`.
|
|
52654
|
-
*/
|
|
52655
|
-
parent?: string;
|
|
52656
|
-
/**
|
|
52657
|
-
* Request body metadata
|
|
52658
|
-
*/
|
|
52659
|
-
requestBody?: Schema$GoogleCloudNotebooklmV1alphaBatchDeleteNotebooksRequest;
|
|
52660
|
-
}
|
|
52661
|
-
export interface Params$Resource$Projects$Locations$Notebooks$Create extends StandardParameters {
|
|
52662
|
-
/**
|
|
52663
|
-
* Required. The parent resource name, such as `projects/{project\}/locations/{location\}`.
|
|
52664
|
-
*/
|
|
52665
|
-
parent?: string;
|
|
52666
|
-
/**
|
|
52667
|
-
* Request body metadata
|
|
52668
|
-
*/
|
|
52669
|
-
requestBody?: Schema$GoogleCloudNotebooklmV1alphaNotebook;
|
|
52670
|
-
}
|
|
52671
|
-
export interface Params$Resource$Projects$Locations$Notebooks$Get extends StandardParameters {
|
|
52672
|
-
/**
|
|
52673
|
-
* Required. Full resource name of Notebook, such as `projects/{project\}/locations/{location\}/notebooks/{notebook_id\}`.
|
|
52674
|
-
*/
|
|
52675
|
-
name?: string;
|
|
52676
|
-
}
|
|
52677
|
-
export interface Params$Resource$Projects$Locations$Notebooks$Listrecentlyviewed extends StandardParameters {
|
|
52678
|
-
/**
|
|
52679
|
-
* Optional. Maximum number of Notebooks to return. If unspecified, defaults to "500". The maximum allowed value is "500". If this field is negative, will use the default value.
|
|
52680
|
-
*/
|
|
52681
|
-
pageSize?: number;
|
|
52682
|
-
/**
|
|
52683
|
-
* Optional. The page token, provide this to retrieve the subsequent page.
|
|
52684
|
-
*/
|
|
52685
|
-
pageToken?: string;
|
|
52686
|
-
/**
|
|
52687
|
-
* Required. The parent branch resource name, such as `projects/{project\}/locations/{location\}`.
|
|
52688
|
-
*/
|
|
52689
|
-
parent?: string;
|
|
52690
|
-
}
|
|
52691
|
-
export interface Params$Resource$Projects$Locations$Notebooks$Share extends StandardParameters {
|
|
52692
|
-
/**
|
|
52693
|
-
* Required. Full resource name of Notebook, such as `projects/{project\}/locations/{location\}/notebooks/{notebook_id\}`.
|
|
52694
|
-
*/
|
|
52695
|
-
name?: string;
|
|
52696
|
-
/**
|
|
52697
|
-
* Request body metadata
|
|
52698
|
-
*/
|
|
52699
|
-
requestBody?: Schema$GoogleCloudNotebooklmV1alphaShareNotebookRequest;
|
|
52700
51919
|
}
|
|
52701
51920
|
export class Resource$Projects$Locations$Notebooks$Audiooverviews {
|
|
52702
51921
|
context: APIRequestContext;
|
|
@@ -52854,249 +52073,6 @@ export declare namespace discoveryengine_v1alpha {
|
|
|
52854
52073
|
*/
|
|
52855
52074
|
name?: string;
|
|
52856
52075
|
}
|
|
52857
|
-
export class Resource$Projects$Locations$Notebooks$Sources {
|
|
52858
|
-
context: APIRequestContext;
|
|
52859
|
-
constructor(context: APIRequestContext);
|
|
52860
|
-
/**
|
|
52861
|
-
* Creates a list of Sources.
|
|
52862
|
-
* @example
|
|
52863
|
-
* ```js
|
|
52864
|
-
* // Before running the sample:
|
|
52865
|
-
* // - Enable the API at:
|
|
52866
|
-
* // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
|
|
52867
|
-
* // - Login into gcloud by running:
|
|
52868
|
-
* // ```sh
|
|
52869
|
-
* // $ gcloud auth application-default login
|
|
52870
|
-
* // ```
|
|
52871
|
-
* // - Install the npm module by running:
|
|
52872
|
-
* // ```sh
|
|
52873
|
-
* // $ npm install googleapis
|
|
52874
|
-
* // ```
|
|
52875
|
-
*
|
|
52876
|
-
* const {google} = require('googleapis');
|
|
52877
|
-
* const discoveryengine = google.discoveryengine('v1alpha');
|
|
52878
|
-
*
|
|
52879
|
-
* async function main() {
|
|
52880
|
-
* const auth = new google.auth.GoogleAuth({
|
|
52881
|
-
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
52882
|
-
* scopes: [
|
|
52883
|
-
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
52884
|
-
* 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite',
|
|
52885
|
-
* 'https://www.googleapis.com/auth/discoveryengine.readwrite',
|
|
52886
|
-
* 'https://www.googleapis.com/auth/discoveryengine.serving.readwrite',
|
|
52887
|
-
* ],
|
|
52888
|
-
* });
|
|
52889
|
-
*
|
|
52890
|
-
* // Acquire an auth client, and bind it to all future calls
|
|
52891
|
-
* const authClient = await auth.getClient();
|
|
52892
|
-
* google.options({auth: authClient});
|
|
52893
|
-
*
|
|
52894
|
-
* // Do the magic
|
|
52895
|
-
* const res =
|
|
52896
|
-
* await discoveryengine.projects.locations.notebooks.sources.batchCreate({
|
|
52897
|
-
* // Required. The parent resource where the sources will be created. Format: projects/{project\}/locations/{location\}/notebooks/{notebook\}
|
|
52898
|
-
* parent: 'projects/my-project/locations/my-location/notebooks/my-notebook',
|
|
52899
|
-
*
|
|
52900
|
-
* // Request body metadata
|
|
52901
|
-
* requestBody: {
|
|
52902
|
-
* // request body parameters
|
|
52903
|
-
* // {
|
|
52904
|
-
* // "userContents": []
|
|
52905
|
-
* // }
|
|
52906
|
-
* },
|
|
52907
|
-
* });
|
|
52908
|
-
* console.log(res.data);
|
|
52909
|
-
*
|
|
52910
|
-
* // Example response
|
|
52911
|
-
* // {
|
|
52912
|
-
* // "sources": []
|
|
52913
|
-
* // }
|
|
52914
|
-
* }
|
|
52915
|
-
*
|
|
52916
|
-
* main().catch(e => {
|
|
52917
|
-
* console.error(e);
|
|
52918
|
-
* throw e;
|
|
52919
|
-
* });
|
|
52920
|
-
*
|
|
52921
|
-
* ```
|
|
52922
|
-
*
|
|
52923
|
-
* @param params - Parameters for request
|
|
52924
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
52925
|
-
* @param callback - Optional callback that handles the response.
|
|
52926
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
52927
|
-
*/
|
|
52928
|
-
batchCreate(params: Params$Resource$Projects$Locations$Notebooks$Sources$Batchcreate, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
52929
|
-
batchCreate(params?: Params$Resource$Projects$Locations$Notebooks$Sources$Batchcreate, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse>>;
|
|
52930
|
-
batchCreate(params: Params$Resource$Projects$Locations$Notebooks$Sources$Batchcreate, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
52931
|
-
batchCreate(params: Params$Resource$Projects$Locations$Notebooks$Sources$Batchcreate, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse>, callback: BodyResponseCallback<Schema$GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse>): void;
|
|
52932
|
-
batchCreate(params: Params$Resource$Projects$Locations$Notebooks$Sources$Batchcreate, callback: BodyResponseCallback<Schema$GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse>): void;
|
|
52933
|
-
batchCreate(callback: BodyResponseCallback<Schema$GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse>): void;
|
|
52934
|
-
/**
|
|
52935
|
-
* Deletes multiple sources
|
|
52936
|
-
* @example
|
|
52937
|
-
* ```js
|
|
52938
|
-
* // Before running the sample:
|
|
52939
|
-
* // - Enable the API at:
|
|
52940
|
-
* // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
|
|
52941
|
-
* // - Login into gcloud by running:
|
|
52942
|
-
* // ```sh
|
|
52943
|
-
* // $ gcloud auth application-default login
|
|
52944
|
-
* // ```
|
|
52945
|
-
* // - Install the npm module by running:
|
|
52946
|
-
* // ```sh
|
|
52947
|
-
* // $ npm install googleapis
|
|
52948
|
-
* // ```
|
|
52949
|
-
*
|
|
52950
|
-
* const {google} = require('googleapis');
|
|
52951
|
-
* const discoveryengine = google.discoveryengine('v1alpha');
|
|
52952
|
-
*
|
|
52953
|
-
* async function main() {
|
|
52954
|
-
* const auth = new google.auth.GoogleAuth({
|
|
52955
|
-
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
52956
|
-
* scopes: [
|
|
52957
|
-
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
52958
|
-
* 'https://www.googleapis.com/auth/discoveryengine.readwrite',
|
|
52959
|
-
* 'https://www.googleapis.com/auth/discoveryengine.serving.readwrite',
|
|
52960
|
-
* ],
|
|
52961
|
-
* });
|
|
52962
|
-
*
|
|
52963
|
-
* // Acquire an auth client, and bind it to all future calls
|
|
52964
|
-
* const authClient = await auth.getClient();
|
|
52965
|
-
* google.options({auth: authClient});
|
|
52966
|
-
*
|
|
52967
|
-
* // Do the magic
|
|
52968
|
-
* const res =
|
|
52969
|
-
* await discoveryengine.projects.locations.notebooks.sources.batchDelete({
|
|
52970
|
-
* // Required. The parent resource where the sources will be deleted. Format: projects/{project\}/locations/{location\}/notebooks/{notebook\}
|
|
52971
|
-
* parent: 'projects/my-project/locations/my-location/notebooks/my-notebook',
|
|
52972
|
-
*
|
|
52973
|
-
* // Request body metadata
|
|
52974
|
-
* requestBody: {
|
|
52975
|
-
* // request body parameters
|
|
52976
|
-
* // {
|
|
52977
|
-
* // "names": []
|
|
52978
|
-
* // }
|
|
52979
|
-
* },
|
|
52980
|
-
* });
|
|
52981
|
-
* console.log(res.data);
|
|
52982
|
-
*
|
|
52983
|
-
* // Example response
|
|
52984
|
-
* // {}
|
|
52985
|
-
* }
|
|
52986
|
-
*
|
|
52987
|
-
* main().catch(e => {
|
|
52988
|
-
* console.error(e);
|
|
52989
|
-
* throw e;
|
|
52990
|
-
* });
|
|
52991
|
-
*
|
|
52992
|
-
* ```
|
|
52993
|
-
*
|
|
52994
|
-
* @param params - Parameters for request
|
|
52995
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
52996
|
-
* @param callback - Optional callback that handles the response.
|
|
52997
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
52998
|
-
*/
|
|
52999
|
-
batchDelete(params: Params$Resource$Projects$Locations$Notebooks$Sources$Batchdelete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
53000
|
-
batchDelete(params?: Params$Resource$Projects$Locations$Notebooks$Sources$Batchdelete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleProtobufEmpty>>;
|
|
53001
|
-
batchDelete(params: Params$Resource$Projects$Locations$Notebooks$Sources$Batchdelete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
53002
|
-
batchDelete(params: Params$Resource$Projects$Locations$Notebooks$Sources$Batchdelete, options: MethodOptions | BodyResponseCallback<Schema$GoogleProtobufEmpty>, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
|
|
53003
|
-
batchDelete(params: Params$Resource$Projects$Locations$Notebooks$Sources$Batchdelete, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
|
|
53004
|
-
batchDelete(callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
|
|
53005
|
-
/**
|
|
53006
|
-
* Gets a Source.
|
|
53007
|
-
* @example
|
|
53008
|
-
* ```js
|
|
53009
|
-
* // Before running the sample:
|
|
53010
|
-
* // - Enable the API at:
|
|
53011
|
-
* // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
|
|
53012
|
-
* // - Login into gcloud by running:
|
|
53013
|
-
* // ```sh
|
|
53014
|
-
* // $ gcloud auth application-default login
|
|
53015
|
-
* // ```
|
|
53016
|
-
* // - Install the npm module by running:
|
|
53017
|
-
* // ```sh
|
|
53018
|
-
* // $ npm install googleapis
|
|
53019
|
-
* // ```
|
|
53020
|
-
*
|
|
53021
|
-
* const {google} = require('googleapis');
|
|
53022
|
-
* const discoveryengine = google.discoveryengine('v1alpha');
|
|
53023
|
-
*
|
|
53024
|
-
* async function main() {
|
|
53025
|
-
* const auth = new google.auth.GoogleAuth({
|
|
53026
|
-
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
53027
|
-
* scopes: [
|
|
53028
|
-
* 'https://www.googleapis.com/auth/cloud-platform',
|
|
53029
|
-
* 'https://www.googleapis.com/auth/discoveryengine.readwrite',
|
|
53030
|
-
* 'https://www.googleapis.com/auth/discoveryengine.serving.readwrite',
|
|
53031
|
-
* ],
|
|
53032
|
-
* });
|
|
53033
|
-
*
|
|
53034
|
-
* // Acquire an auth client, and bind it to all future calls
|
|
53035
|
-
* const authClient = await auth.getClient();
|
|
53036
|
-
* google.options({auth: authClient});
|
|
53037
|
-
*
|
|
53038
|
-
* // Do the magic
|
|
53039
|
-
* const res = await discoveryengine.projects.locations.notebooks.sources.get({
|
|
53040
|
-
* // Required. The resource name for source Format: projects/{project\}/locations/{location\}/notebooks/{notebook\}/sources/{source\}
|
|
53041
|
-
* name: 'projects/my-project/locations/my-location/notebooks/my-notebook/sources/my-source',
|
|
53042
|
-
* });
|
|
53043
|
-
* console.log(res.data);
|
|
53044
|
-
*
|
|
53045
|
-
* // Example response
|
|
53046
|
-
* // {
|
|
53047
|
-
* // "metadata": {},
|
|
53048
|
-
* // "name": "my_name",
|
|
53049
|
-
* // "settings": {},
|
|
53050
|
-
* // "sourceId": {},
|
|
53051
|
-
* // "title": "my_title"
|
|
53052
|
-
* // }
|
|
53053
|
-
* }
|
|
53054
|
-
*
|
|
53055
|
-
* main().catch(e => {
|
|
53056
|
-
* console.error(e);
|
|
53057
|
-
* throw e;
|
|
53058
|
-
* });
|
|
53059
|
-
*
|
|
53060
|
-
* ```
|
|
53061
|
-
*
|
|
53062
|
-
* @param params - Parameters for request
|
|
53063
|
-
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
53064
|
-
* @param callback - Optional callback that handles the response.
|
|
53065
|
-
* @returns A promise if used with async/await, or void if used with a callback.
|
|
53066
|
-
*/
|
|
53067
|
-
get(params: Params$Resource$Projects$Locations$Notebooks$Sources$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
53068
|
-
get(params?: Params$Resource$Projects$Locations$Notebooks$Sources$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleCloudNotebooklmV1alphaSource>>;
|
|
53069
|
-
get(params: Params$Resource$Projects$Locations$Notebooks$Sources$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
53070
|
-
get(params: Params$Resource$Projects$Locations$Notebooks$Sources$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleCloudNotebooklmV1alphaSource>, callback: BodyResponseCallback<Schema$GoogleCloudNotebooklmV1alphaSource>): void;
|
|
53071
|
-
get(params: Params$Resource$Projects$Locations$Notebooks$Sources$Get, callback: BodyResponseCallback<Schema$GoogleCloudNotebooklmV1alphaSource>): void;
|
|
53072
|
-
get(callback: BodyResponseCallback<Schema$GoogleCloudNotebooklmV1alphaSource>): void;
|
|
53073
|
-
}
|
|
53074
|
-
export interface Params$Resource$Projects$Locations$Notebooks$Sources$Batchcreate extends StandardParameters {
|
|
53075
|
-
/**
|
|
53076
|
-
* Required. The parent resource where the sources will be created. Format: projects/{project\}/locations/{location\}/notebooks/{notebook\}
|
|
53077
|
-
*/
|
|
53078
|
-
parent?: string;
|
|
53079
|
-
/**
|
|
53080
|
-
* Request body metadata
|
|
53081
|
-
*/
|
|
53082
|
-
requestBody?: Schema$GoogleCloudNotebooklmV1alphaBatchCreateSourcesRequest;
|
|
53083
|
-
}
|
|
53084
|
-
export interface Params$Resource$Projects$Locations$Notebooks$Sources$Batchdelete extends StandardParameters {
|
|
53085
|
-
/**
|
|
53086
|
-
* Required. The parent resource where the sources will be deleted. Format: projects/{project\}/locations/{location\}/notebooks/{notebook\}
|
|
53087
|
-
*/
|
|
53088
|
-
parent?: string;
|
|
53089
|
-
/**
|
|
53090
|
-
* Request body metadata
|
|
53091
|
-
*/
|
|
53092
|
-
requestBody?: Schema$GoogleCloudNotebooklmV1alphaBatchDeleteSourcesRequest;
|
|
53093
|
-
}
|
|
53094
|
-
export interface Params$Resource$Projects$Locations$Notebooks$Sources$Get extends StandardParameters {
|
|
53095
|
-
/**
|
|
53096
|
-
* Required. The resource name for source Format: projects/{project\}/locations/{location\}/notebooks/{notebook\}/sources/{source\}
|
|
53097
|
-
*/
|
|
53098
|
-
name?: string;
|
|
53099
|
-
}
|
|
53100
52076
|
export class Resource$Projects$Locations$Operations {
|
|
53101
52077
|
context: APIRequestContext;
|
|
53102
52078
|
constructor(context: APIRequestContext);
|