@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.3.20260831 → 0.3.20260908
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +90 -630
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://discoveryengine.googleapis.com/$discovery/rest?version=v1alpha
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260908
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -632,6 +632,9 @@ declare namespace gapi.client {
|
|
|
632
632
|
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig {
|
|
633
633
|
/** Required. Model name (e.g. `gemini-2.5-flash`, `gemini-3.1-pro-preview`). See `model_mixture` for the list of allowed models. */
|
|
634
634
|
name?: string;
|
|
635
|
+
/** Optional. Sent as Vertex `ThinkingConfig.thinking_level`. */
|
|
636
|
+
thinkingLevel?:
|
|
637
|
+
'THINKING_LEVEL_UNSPECIFIED' | 'MINIMAL' | 'LOW' | 'MEDIUM' | 'HIGH';
|
|
635
638
|
/** 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. */
|
|
636
639
|
weight?: number;
|
|
637
640
|
}
|
|
@@ -3023,6 +3026,8 @@ declare namespace gapi.client {
|
|
|
3023
3026
|
recommendationMetadata?: GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata;
|
|
3024
3027
|
/** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
|
|
3025
3028
|
searchEngineConfig?: GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig;
|
|
3029
|
+
/** Optional. Non-empty default. Session config for the engine. */
|
|
3030
|
+
sessionConfig?: GoogleCloudDiscoveryengineV1alphaSessionConfig;
|
|
3026
3031
|
/** Additional config specs for a `similar-items` engine. */
|
|
3027
3032
|
similarDocumentsConfig?: any;
|
|
3028
3033
|
/** Required. The solutions of the engine. */
|
|
@@ -5603,6 +5608,19 @@ declare namespace gapi.client {
|
|
|
5603
5608
|
/** A unique identifier for tracking users. */
|
|
5604
5609
|
userPseudoId?: string;
|
|
5605
5610
|
}
|
|
5611
|
+
interface GoogleCloudDiscoveryengineV1alphaSessionConfig {
|
|
5612
|
+
/** Optional. Session management policy that defines who will manage the session. */
|
|
5613
|
+
sessionManagementPolicy?:
|
|
5614
|
+
| 'SESSION_MANAGEMENT_POLICY_UNSPECIFIED'
|
|
5615
|
+
| 'NOT_MANAGED'
|
|
5616
|
+
| 'VERTEX_AI_MANAGED';
|
|
5617
|
+
/** Optional. The TTL for the session. If unset, the default value is 60 days. */
|
|
5618
|
+
sessionTtl?: GoogleCloudDiscoveryengineV1alphaSessionConfigSessionTtl;
|
|
5619
|
+
}
|
|
5620
|
+
interface GoogleCloudDiscoveryengineV1alphaSessionConfigSessionTtl {
|
|
5621
|
+
/** Defines the number of days for session TTL. */
|
|
5622
|
+
days?: number;
|
|
5623
|
+
}
|
|
5606
5624
|
interface GoogleCloudDiscoveryengineV1alphaSessionTurn {
|
|
5607
5625
|
/** Optional. The resource name of the answer to the user query. Only set if the answer generation (/answer API call) happened in this turn. */
|
|
5608
5626
|
answer?: string;
|
|
@@ -6449,6 +6467,8 @@ declare namespace gapi.client {
|
|
|
6449
6467
|
displayName?: string;
|
|
6450
6468
|
/** Output only. GM3-compatible icon token associated with the model (e.g. `rocket_launch`, `bolt`, `graph_5`). */
|
|
6451
6469
|
icon?: string;
|
|
6470
|
+
/** 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. */
|
|
6471
|
+
iconUrl?: string;
|
|
6452
6472
|
/** Output only. Whether the model is currently in preview. Clients should surface this via a "Preview" badge in the selector UI. */
|
|
6453
6473
|
isPreview?: boolean;
|
|
6454
6474
|
/** Output only. Short label shown in the compact selector bar chip (e.g. `3.x Flash`) as opposed to the full `display_name` (`Gemini 3.x Flash`). Falls back to `display_name` when the backend registry does not specify a distinct short label. */
|
|
@@ -6553,6 +6573,8 @@ declare namespace gapi.client {
|
|
|
6553
6573
|
interface GoogleCloudDiscoveryengineV1AssistantCustomerPolicy {
|
|
6554
6574
|
/** Optional. List of banned phrases. */
|
|
6555
6575
|
bannedPhrases?: GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase[];
|
|
6576
|
+
/** Optional. Data protection policy to be used for sanitizing file uploads. */
|
|
6577
|
+
dataProtectionPolicy?: GoogleCloudDiscoveryengineV1DataProtectionPolicy;
|
|
6556
6578
|
/** Optional. Model Armor configuration to be used for sanitizing user prompts and assistant responses. */
|
|
6557
6579
|
modelArmorConfig?: GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig;
|
|
6558
6580
|
}
|
|
@@ -6857,6 +6879,14 @@ declare namespace gapi.client {
|
|
|
6857
6879
|
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
6858
6880
|
updateTime?: string;
|
|
6859
6881
|
}
|
|
6882
|
+
interface GoogleCloudDiscoveryengineV1betaDataProtectionPolicy {
|
|
6883
|
+
/** Optional. Specifies the sensitive data protection policy for the connector source. */
|
|
6884
|
+
sensitiveDataProtectionPolicy?: GoogleCloudDiscoveryengineV1betaDataProtectionPolicySensitiveDataProtectionPolicy;
|
|
6885
|
+
}
|
|
6886
|
+
interface GoogleCloudDiscoveryengineV1betaDataProtectionPolicySensitiveDataProtectionPolicy {
|
|
6887
|
+
/** Optional. Specifies the resource name of the Sensitive Data Protection content policy. */
|
|
6888
|
+
policy?: string;
|
|
6889
|
+
}
|
|
6860
6890
|
interface GoogleCloudDiscoveryengineV1betaDataStore {
|
|
6861
6891
|
/** Immutable. Whether data in the DataStore has ACL information. If set to `true`, the source data must have ACL. ACL will be ingested when data is ingested by DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore, Document can't be accessed by calling DocumentService.GetDocument or DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` content config. */
|
|
6862
6892
|
aclEnabled?: boolean;
|
|
@@ -6882,6 +6912,8 @@ declare namespace gapi.client {
|
|
|
6882
6912
|
| 'GOOGLE_WORKSPACE';
|
|
6883
6913
|
/** Output only. Timestamp the DataStore was created at. */
|
|
6884
6914
|
createTime?: string;
|
|
6915
|
+
/** Optional. Specifies the data protection policy for the data store. */
|
|
6916
|
+
dataProtectionPolicy?: GoogleCloudDiscoveryengineV1betaDataProtectionPolicy;
|
|
6885
6917
|
/** Output only. The id of the default Schema associated to this data store. */
|
|
6886
6918
|
defaultSchemaId?: string;
|
|
6887
6919
|
/** Required. The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
@@ -7173,6 +7205,8 @@ declare namespace gapi.client {
|
|
|
7173
7205
|
procurementContactEmails?: string[];
|
|
7174
7206
|
/** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
|
|
7175
7207
|
searchEngineConfig?: GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig;
|
|
7208
|
+
/** Optional. Non-empty default. Session config for the engine. */
|
|
7209
|
+
sessionConfig?: GoogleCloudDiscoveryengineV1betaSessionConfig;
|
|
7176
7210
|
/** Required. The solutions of the engine. */
|
|
7177
7211
|
solutionType?:
|
|
7178
7212
|
| 'SOLUTION_TYPE_UNSPECIFIED'
|
|
@@ -8072,6 +8106,19 @@ declare namespace gapi.client {
|
|
|
8072
8106
|
/** The mode under which spell correction replaces the original search query. Defaults to Mode.AUTO. */
|
|
8073
8107
|
mode?: 'MODE_UNSPECIFIED' | 'SUGGESTION_ONLY' | 'AUTO';
|
|
8074
8108
|
}
|
|
8109
|
+
interface GoogleCloudDiscoveryengineV1betaSessionConfig {
|
|
8110
|
+
/** Optional. Session management policy that defines who will manage the session. */
|
|
8111
|
+
sessionManagementPolicy?:
|
|
8112
|
+
| 'SESSION_MANAGEMENT_POLICY_UNSPECIFIED'
|
|
8113
|
+
| 'NOT_MANAGED'
|
|
8114
|
+
| 'VERTEX_AI_MANAGED';
|
|
8115
|
+
/** Optional. The TTL for the session. If unset, the default value is 60 days. */
|
|
8116
|
+
sessionTtl?: GoogleCloudDiscoveryengineV1betaSessionConfigSessionTtl;
|
|
8117
|
+
}
|
|
8118
|
+
interface GoogleCloudDiscoveryengineV1betaSessionConfigSessionTtl {
|
|
8119
|
+
/** Defines the number of days for session TTL. */
|
|
8120
|
+
days?: number;
|
|
8121
|
+
}
|
|
8075
8122
|
interface GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateMetadata {
|
|
8076
8123
|
/** Operation create time. */
|
|
8077
8124
|
createTime?: string;
|
|
@@ -8484,6 +8531,8 @@ declare namespace gapi.client {
|
|
|
8484
8531
|
createEuaSaas?: boolean;
|
|
8485
8532
|
/** Output only. Timestamp the DataConnector was created at. */
|
|
8486
8533
|
createTime?: string;
|
|
8534
|
+
/** Optional. Specifies the data protection policy for the connector. */
|
|
8535
|
+
dataProtectionPolicy?: GoogleCloudDiscoveryengineV1DataProtectionPolicy;
|
|
8487
8536
|
/** 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). */
|
|
8488
8537
|
dataSource?: string;
|
|
8489
8538
|
/** Optional. Any target destinations used to connect to third-party services. */
|
|
@@ -8633,6 +8682,14 @@ declare namespace gapi.client {
|
|
|
8633
8682
|
/** Optional. The start schema to use for the DataStore created from this SourceEntity. If unset, a default vertical specialized schema will be used. This field is only used by SetUpDataConnector API, and will be ignored if used in other APIs. This field will be omitted from all API responses including GetDataConnector API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema). */
|
|
8634
8683
|
startingSchema?: GoogleCloudDiscoveryengineV1Schema;
|
|
8635
8684
|
}
|
|
8685
|
+
interface GoogleCloudDiscoveryengineV1DataProtectionPolicy {
|
|
8686
|
+
/** Optional. Specifies the sensitive data protection policy for the connector source. */
|
|
8687
|
+
sensitiveDataProtectionPolicy?: GoogleCloudDiscoveryengineV1DataProtectionPolicySensitiveDataProtectionPolicy;
|
|
8688
|
+
}
|
|
8689
|
+
interface GoogleCloudDiscoveryengineV1DataProtectionPolicySensitiveDataProtectionPolicy {
|
|
8690
|
+
/** Optional. Specifies the resource name of the Sensitive Data Protection content policy. */
|
|
8691
|
+
policy?: string;
|
|
8692
|
+
}
|
|
8636
8693
|
interface GoogleCloudDiscoveryengineV1DataStore {
|
|
8637
8694
|
/** Immutable. Whether data in the DataStore has ACL information. If set to `true`, the source data must have ACL. ACL will be ingested when data is ingested by DocumentService.ImportDocuments methods. When ACL is enabled for the DataStore, Document can't be accessed by calling DocumentService.GetDocument or DocumentService.ListDocuments. Currently ACL is only supported in `GENERIC` industry vertical with non-`PUBLIC_WEBSITE` content config. */
|
|
8638
8695
|
aclEnabled?: boolean;
|
|
@@ -8658,6 +8715,8 @@ declare namespace gapi.client {
|
|
|
8658
8715
|
| 'GOOGLE_WORKSPACE';
|
|
8659
8716
|
/** Output only. Timestamp the DataStore was created at. */
|
|
8660
8717
|
createTime?: string;
|
|
8718
|
+
/** Optional. Specifies the data protection policy for the data store. */
|
|
8719
|
+
dataProtectionPolicy?: GoogleCloudDiscoveryengineV1DataProtectionPolicy;
|
|
8661
8720
|
/** Output only. The id of the default Schema associated to this data store. */
|
|
8662
8721
|
defaultSchemaId?: string;
|
|
8663
8722
|
/** Required. The data store display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned. */
|
|
@@ -8975,6 +9034,8 @@ declare namespace gapi.client {
|
|
|
8975
9034
|
procurementContactEmails?: string[];
|
|
8976
9035
|
/** Configurations for the Search Engine. Only applicable if solution_type is SOLUTION_TYPE_SEARCH. */
|
|
8977
9036
|
searchEngineConfig?: GoogleCloudDiscoveryengineV1EngineSearchEngineConfig;
|
|
9037
|
+
/** Optional. Non-empty default. Session config for the engine. */
|
|
9038
|
+
sessionConfig?: GoogleCloudDiscoveryengineV1SessionConfig;
|
|
8978
9039
|
/** Required. The solutions of the engine. */
|
|
8979
9040
|
solutionType?:
|
|
8980
9041
|
| 'SOLUTION_TYPE_UNSPECIFIED'
|
|
@@ -9566,6 +9627,19 @@ declare namespace gapi.client {
|
|
|
9566
9627
|
/** Specifies the event type used for demoting recommendation result. Currently supported values: * `view-item`: Item viewed. * `media-play`: Start/resume watching a video, playing a song, etc. * `media-complete`: Finished or stopped midway through a video, song, etc. If unset, watch history demotion will not be applied. Content freshness demotion will still be applied. */
|
|
9567
9628
|
demotionEventType?: string;
|
|
9568
9629
|
}
|
|
9630
|
+
interface GoogleCloudDiscoveryengineV1SessionConfig {
|
|
9631
|
+
/** Optional. Session management policy that defines who will manage the session. */
|
|
9632
|
+
sessionManagementPolicy?:
|
|
9633
|
+
| 'SESSION_MANAGEMENT_POLICY_UNSPECIFIED'
|
|
9634
|
+
| 'NOT_MANAGED'
|
|
9635
|
+
| 'VERTEX_AI_MANAGED';
|
|
9636
|
+
/** Optional. The TTL for the session. If unset, the default value is 60 days. */
|
|
9637
|
+
sessionTtl?: GoogleCloudDiscoveryengineV1SessionConfigSessionTtl;
|
|
9638
|
+
}
|
|
9639
|
+
interface GoogleCloudDiscoveryengineV1SessionConfigSessionTtl {
|
|
9640
|
+
/** Defines the number of days for session TTL. */
|
|
9641
|
+
days?: number;
|
|
9642
|
+
}
|
|
9569
9643
|
interface GoogleCloudDiscoveryengineV1SetUpDataConnectorMetadata {}
|
|
9570
9644
|
interface GoogleCloudDiscoveryengineV1SingleRegionKey {
|
|
9571
9645
|
/** Required. Single-regional kms key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
|
|
@@ -9724,23 +9798,6 @@ declare namespace gapi.client {
|
|
|
9724
9798
|
| 'GOOGLE_PEOPLE'
|
|
9725
9799
|
| 'GOOGLE_WORKSPACE';
|
|
9726
9800
|
}
|
|
9727
|
-
interface GoogleCloudNotebooklmV1alphaAccountAndRole {
|
|
9728
|
-
/** Required. The email address associated with the account. */
|
|
9729
|
-
email?: string;
|
|
9730
|
-
/** Required. The role in the notebook. */
|
|
9731
|
-
role?:
|
|
9732
|
-
| 'PROJECT_ROLE_UNKNOWN'
|
|
9733
|
-
| 'PROJECT_ROLE_OWNER'
|
|
9734
|
-
| 'PROJECT_ROLE_WRITER'
|
|
9735
|
-
| 'PROJECT_ROLE_READER'
|
|
9736
|
-
| 'PROJECT_ROLE_NOT_SHARED';
|
|
9737
|
-
}
|
|
9738
|
-
interface GoogleCloudNotebooklmV1alphaAgentspaceMetadata {
|
|
9739
|
-
/** Output only. The full document name in Agentspace. */
|
|
9740
|
-
documentName?: string;
|
|
9741
|
-
/** Output only. The title of the document. */
|
|
9742
|
-
documentTitle?: string;
|
|
9743
|
-
}
|
|
9744
9801
|
interface GoogleCloudNotebooklmV1alphaAudioOverview {
|
|
9745
9802
|
/** Output only. Unique ID of the audio overview. */
|
|
9746
9803
|
audioOverviewId?: string;
|
|
@@ -9768,26 +9825,6 @@ declare namespace gapi.client {
|
|
|
9768
9825
|
/** Optional. The sources in which the audio overview is grounded. */
|
|
9769
9826
|
sourceIds?: GoogleCloudNotebooklmV1alphaSourceId[];
|
|
9770
9827
|
}
|
|
9771
|
-
interface GoogleCloudNotebooklmV1alphaBatchCreateSourcesRequest {
|
|
9772
|
-
/** Required. The UserContents to be uploaded. */
|
|
9773
|
-
userContents?: GoogleCloudNotebooklmV1alphaUserContent[];
|
|
9774
|
-
}
|
|
9775
|
-
interface GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse {
|
|
9776
|
-
/** The Sources. */
|
|
9777
|
-
sources?: GoogleCloudNotebooklmV1alphaSource[];
|
|
9778
|
-
}
|
|
9779
|
-
interface GoogleCloudNotebooklmV1alphaBatchDeleteNotebooksRequest {
|
|
9780
|
-
/** Required. Full resource names of Notebook, such as `projects/{project}/locations/{location}/notebooks/{notebook_id}`. */
|
|
9781
|
-
names?: string[];
|
|
9782
|
-
}
|
|
9783
|
-
interface GoogleCloudNotebooklmV1alphaBatchDeleteSourcesRequest {
|
|
9784
|
-
/** Required. Names of sources to be deleted. Format: projects/{project}/locations/{location}/notebooks/{notebook}/sources/{source} */
|
|
9785
|
-
names?: string[];
|
|
9786
|
-
}
|
|
9787
|
-
interface GoogleCloudNotebooklmV1alphaCmekConfig {
|
|
9788
|
-
/** Required. KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
|
|
9789
|
-
kmsKey?: string;
|
|
9790
|
-
}
|
|
9791
9828
|
interface GoogleCloudNotebooklmV1alphaCreateAudioOverviewRequest {
|
|
9792
9829
|
/** Options for the audio overview generation. */
|
|
9793
9830
|
generationOptions?: GoogleCloudNotebooklmV1alphaAudioOverviewGenerationOptions;
|
|
@@ -9796,218 +9833,10 @@ declare namespace gapi.client {
|
|
|
9796
9833
|
/** The generated audio overview. */
|
|
9797
9834
|
audioOverview?: GoogleCloudNotebooklmV1alphaAudioOverview;
|
|
9798
9835
|
}
|
|
9799
|
-
interface GoogleCloudNotebooklmV1alphaFailureReason {
|
|
9800
|
-
/** An audio file transcription specific error. */
|
|
9801
|
-
audioTranscriptionError?: GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionError;
|
|
9802
|
-
/** Error if the user tries to add a source from a blocked domain. */
|
|
9803
|
-
domainBlocked?: any;
|
|
9804
|
-
/** A google drive specific error. */
|
|
9805
|
-
googleDriveError?: GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveError;
|
|
9806
|
-
/** Indicates an error occurred while ingesting the source. */
|
|
9807
|
-
ingestionError?: any;
|
|
9808
|
-
/** Indicates that the source MIME type is blocked. */
|
|
9809
|
-
mimeTypeBlocked?: any;
|
|
9810
|
-
/** Indicates that the source is paywalled and cannot be ingested. */
|
|
9811
|
-
paywallError?: any;
|
|
9812
|
-
/** Indicates that the policy check failed. */
|
|
9813
|
-
policyCheckFailed?: any;
|
|
9814
|
-
/** Indicates that the source is empty. */
|
|
9815
|
-
sourceEmpty?: any;
|
|
9816
|
-
/** Error if the user tries to update beyond their limits. */
|
|
9817
|
-
sourceLimitExceeded?: any;
|
|
9818
|
-
/** Indicates source word count exceeded the user's limit. */
|
|
9819
|
-
sourceTooLong?: GoogleCloudNotebooklmV1alphaFailureReasonSourceTooLong;
|
|
9820
|
-
/** Indicates that the source is unreachable. */
|
|
9821
|
-
sourceUnreachable?: GoogleCloudNotebooklmV1alphaFailureReasonSourceUnreachable;
|
|
9822
|
-
/** Indicates an unknown error occurred. */
|
|
9823
|
-
unknown?: any;
|
|
9824
|
-
/** Indicates an error occurred while uploading the source. */
|
|
9825
|
-
uploadError?: any;
|
|
9826
|
-
/** A youtube specific error. */
|
|
9827
|
-
youtubeError?: GoogleCloudNotebooklmV1alphaFailureReasonYoutubeError;
|
|
9828
|
-
}
|
|
9829
|
-
interface GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionError {
|
|
9830
|
-
/** Could not detect language of the file (it may not be speech). */
|
|
9831
|
-
languageDetectionFailed?: any;
|
|
9832
|
-
/** No audio was detected in the input file (it may have been a video). */
|
|
9833
|
-
noAudioDetected?: any;
|
|
9834
|
-
}
|
|
9835
|
-
interface GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionErrorLanguageDetectionFailed {}
|
|
9836
|
-
interface GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionErrorNoAudioDetected {}
|
|
9837
|
-
interface GoogleCloudNotebooklmV1alphaFailureReasonDomainBlocked {}
|
|
9838
|
-
interface GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveError {
|
|
9839
|
-
/** The user was prevented from downloading the file. */
|
|
9840
|
-
downloadPrevented?: any;
|
|
9841
|
-
}
|
|
9842
|
-
interface GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveErrorDownloadPrevented {}
|
|
9843
|
-
interface GoogleCloudNotebooklmV1alphaFailureReasonIngestionError {}
|
|
9844
|
-
interface GoogleCloudNotebooklmV1alphaFailureReasonMimeTypeBlocked {}
|
|
9845
|
-
interface GoogleCloudNotebooklmV1alphaFailureReasonPaywallError {}
|
|
9846
|
-
interface GoogleCloudNotebooklmV1alphaFailureReasonPolicyCheckFailed {}
|
|
9847
|
-
interface GoogleCloudNotebooklmV1alphaFailureReasonSourceEmpty {}
|
|
9848
|
-
interface GoogleCloudNotebooklmV1alphaFailureReasonSourceLimitExceeded {}
|
|
9849
|
-
interface GoogleCloudNotebooklmV1alphaFailureReasonSourceTooLong {
|
|
9850
|
-
/** The number of words in the source. */
|
|
9851
|
-
wordCount?: number;
|
|
9852
|
-
/** The word count limit for the current user at the time of the upload. */
|
|
9853
|
-
wordLimit?: number;
|
|
9854
|
-
}
|
|
9855
|
-
interface GoogleCloudNotebooklmV1alphaFailureReasonSourceUnreachable {
|
|
9856
|
-
/** Describes why the source is unreachable. */
|
|
9857
|
-
errorDetails?:
|
|
9858
|
-
| 'ERROR_REASON_UNSPECIFIED'
|
|
9859
|
-
| 'ERROR_REASON_INVALID_URL'
|
|
9860
|
-
| 'ERROR_REASON_NOT_ACCESSIBLE'
|
|
9861
|
-
| 'ERROR_REASON_NOT_REACHABLE'
|
|
9862
|
-
| 'ERROR_REASON_URL_NOT_FOUND'
|
|
9863
|
-
| 'ERROR_REASON_TRANSIENT_ERROR'
|
|
9864
|
-
| 'ERROR_REASON_FETCH_FAILED'
|
|
9865
|
-
| 'ERROR_REASON_NOT_SUPPORTED';
|
|
9866
|
-
}
|
|
9867
|
-
interface GoogleCloudNotebooklmV1alphaFailureReasonUnknown {}
|
|
9868
|
-
interface GoogleCloudNotebooklmV1alphaFailureReasonUploadError {}
|
|
9869
|
-
interface GoogleCloudNotebooklmV1alphaFailureReasonYoutubeError {
|
|
9870
|
-
/** Error to indicate that the source was removed because the video was deleted. */
|
|
9871
|
-
videoDeleted?: any;
|
|
9872
|
-
}
|
|
9873
|
-
interface GoogleCloudNotebooklmV1alphaFailureReasonYoutubeErrorVideoDeleted {}
|
|
9874
|
-
interface GoogleCloudNotebooklmV1alphaGoogleDocsSourceMetadata {
|
|
9875
|
-
/** Output only. The document id of the google doc. */
|
|
9876
|
-
documentId?: string;
|
|
9877
|
-
/** Output only. Revision id for the doc. */
|
|
9878
|
-
revisionId?: string;
|
|
9879
|
-
}
|
|
9880
|
-
interface GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse {
|
|
9881
|
-
/** The page token, provide this to retrieve the subsequent page. */
|
|
9882
|
-
nextPageToken?: string;
|
|
9883
|
-
/** The list of recently viewed notebooks. */
|
|
9884
|
-
notebooks?: GoogleCloudNotebooklmV1alphaNotebook[];
|
|
9885
|
-
}
|
|
9886
|
-
interface GoogleCloudNotebooklmV1alphaNotebook {
|
|
9887
|
-
/** Output only. CMEK-related information for the Notebook. */
|
|
9888
|
-
cmekConfig?: GoogleCloudNotebooklmV1alphaCmekConfig;
|
|
9889
|
-
/** Output only. The emoji of the notebook. */
|
|
9890
|
-
emoji?: string;
|
|
9891
|
-
/** Output only. The metadata of the notebook. */
|
|
9892
|
-
metadata?: GoogleCloudNotebooklmV1alphaNotebookMetadata;
|
|
9893
|
-
/** Identifier. The identifier of the notebook. Format: `projects/{project}/locations/{location}/notebooks/{notebook_id}`. This field must be a UTF-8 encoded string. */
|
|
9894
|
-
name?: string;
|
|
9895
|
-
/** Output only. Notebook id, which is the last segment of the notebook's resource name. */
|
|
9896
|
-
notebookId?: string;
|
|
9897
|
-
/** Output only. List of sources in the notebook. This is an output only field. */
|
|
9898
|
-
sources?: GoogleCloudNotebooklmV1alphaSource[];
|
|
9899
|
-
/** Optional. The title of the notebook. */
|
|
9900
|
-
title?: string;
|
|
9901
|
-
}
|
|
9902
|
-
interface GoogleCloudNotebooklmV1alphaNotebookMetadata {
|
|
9903
|
-
/** The time at which this project was created. */
|
|
9904
|
-
createTime?: string;
|
|
9905
|
-
/** True if the project is shareable. */
|
|
9906
|
-
isShareable?: boolean;
|
|
9907
|
-
/** True if this project is currently shared with other people, false otherwise. */
|
|
9908
|
-
isShared?: boolean;
|
|
9909
|
-
/** A timestamp indicating the time that the current in session user has last viewed the project. */
|
|
9910
|
-
lastViewed?: string;
|
|
9911
|
-
}
|
|
9912
|
-
interface GoogleCloudNotebooklmV1alphaShareNotebookRequest {
|
|
9913
|
-
/** Required. The list of accounts and roles to share the notebook with. */
|
|
9914
|
-
accountAndRoles?: GoogleCloudNotebooklmV1alphaAccountAndRole[];
|
|
9915
|
-
/** Required. Whether to notify the shared users via email. */
|
|
9916
|
-
notifyViaEmail?: boolean;
|
|
9917
|
-
}
|
|
9918
|
-
interface GoogleCloudNotebooklmV1alphaShareNotebookResponse {}
|
|
9919
|
-
interface GoogleCloudNotebooklmV1alphaSource {
|
|
9920
|
-
/** Output only. Metadata about the source. */
|
|
9921
|
-
metadata?: GoogleCloudNotebooklmV1alphaSourceMetadata;
|
|
9922
|
-
/** 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. */
|
|
9923
|
-
name?: string;
|
|
9924
|
-
/** Output only. Status of the source, and any failure reasons. */
|
|
9925
|
-
settings?: GoogleCloudNotebooklmV1alphaSourceSettings;
|
|
9926
|
-
/** Optional. Output only. Source id, which is the last segment of the source's resource name. */
|
|
9927
|
-
sourceId?: GoogleCloudNotebooklmV1alphaSourceId;
|
|
9928
|
-
/** Optional. Title of the source. */
|
|
9929
|
-
title?: string;
|
|
9930
|
-
}
|
|
9931
9836
|
interface GoogleCloudNotebooklmV1alphaSourceId {
|
|
9932
9837
|
/** The id of the source. */
|
|
9933
9838
|
id?: string;
|
|
9934
9839
|
}
|
|
9935
|
-
interface GoogleCloudNotebooklmV1alphaSourceMetadata {
|
|
9936
|
-
/** Metadata for an agentspace source. */
|
|
9937
|
-
agentspaceMetadata?: GoogleCloudNotebooklmV1alphaAgentspaceMetadata;
|
|
9938
|
-
/** Metadata for a google doc source. */
|
|
9939
|
-
googleDocsMetadata?: GoogleCloudNotebooklmV1alphaGoogleDocsSourceMetadata;
|
|
9940
|
-
/** The timestamp the source was added. */
|
|
9941
|
-
sourceAddedTimestamp?: string;
|
|
9942
|
-
/** The number of tokens in the source. */
|
|
9943
|
-
tokenCount?: number;
|
|
9944
|
-
/** The word count of the source. */
|
|
9945
|
-
wordCount?: number;
|
|
9946
|
-
/** Metadata for a youtube video source. */
|
|
9947
|
-
youtubeMetadata?: GoogleCloudNotebooklmV1alphaYoutubeMetadata;
|
|
9948
|
-
}
|
|
9949
|
-
interface GoogleCloudNotebooklmV1alphaSourceSettings {
|
|
9950
|
-
/** Failure reason containing details about why a source failed to ingest. */
|
|
9951
|
-
failureReason?: GoogleCloudNotebooklmV1alphaFailureReason;
|
|
9952
|
-
/** Status of the source. */
|
|
9953
|
-
status?:
|
|
9954
|
-
| 'SOURCE_STATUS_UNSPECIFIED'
|
|
9955
|
-
| 'SOURCE_STATUS_PENDING'
|
|
9956
|
-
| 'SOURCE_STATUS_COMPLETE'
|
|
9957
|
-
| 'SOURCE_STATUS_ERROR'
|
|
9958
|
-
| 'SOURCE_STATUS_PENDING_DELETION'
|
|
9959
|
-
| 'SOURCE_STATUS_TENTATIVE';
|
|
9960
|
-
}
|
|
9961
|
-
interface GoogleCloudNotebooklmV1alphaUserContent {
|
|
9962
|
-
/** Agentspace content uploaded as source. */
|
|
9963
|
-
agentspaceContent?: GoogleCloudNotebooklmV1alphaUserContentAgentspaceContent;
|
|
9964
|
-
/** The content from Google Drive. */
|
|
9965
|
-
googleDriveContent?: GoogleCloudNotebooklmV1alphaUserContentGoogleDriveContent;
|
|
9966
|
-
/** The text content uploaded as source. */
|
|
9967
|
-
textContent?: GoogleCloudNotebooklmV1alphaUserContentTextContent;
|
|
9968
|
-
/** The video content uploaded as source. */
|
|
9969
|
-
videoContent?: GoogleCloudNotebooklmV1alphaUserContentVideoContent;
|
|
9970
|
-
/** The web content uploaded as source. */
|
|
9971
|
-
webContent?: GoogleCloudNotebooklmV1alphaUserContentWebContent;
|
|
9972
|
-
}
|
|
9973
|
-
interface GoogleCloudNotebooklmV1alphaUserContentAgentspaceContent {
|
|
9974
|
-
/** Optional. The full resource name of the Agentspace document. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`. */
|
|
9975
|
-
documentName?: string;
|
|
9976
|
-
/** Optional. Engine to verify the permission of the document. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`. */
|
|
9977
|
-
engineName?: string;
|
|
9978
|
-
/** Optional. Resource name of the idea forge instance. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/ideaForgeInstances/{instance}` */
|
|
9979
|
-
ideaforgeIdeaName?: string;
|
|
9980
|
-
}
|
|
9981
|
-
interface GoogleCloudNotebooklmV1alphaUserContentGoogleDriveContent {
|
|
9982
|
-
/** The document id of the selected document. */
|
|
9983
|
-
documentId?: string;
|
|
9984
|
-
/** 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. */
|
|
9985
|
-
mimeType?: string;
|
|
9986
|
-
/** The name to be displayed for the source. */
|
|
9987
|
-
sourceName?: string;
|
|
9988
|
-
}
|
|
9989
|
-
interface GoogleCloudNotebooklmV1alphaUserContentTextContent {
|
|
9990
|
-
/** The name to be displayed for the source. */
|
|
9991
|
-
content?: string;
|
|
9992
|
-
/** The display name of the text source. */
|
|
9993
|
-
sourceName?: string;
|
|
9994
|
-
}
|
|
9995
|
-
interface GoogleCloudNotebooklmV1alphaUserContentVideoContent {
|
|
9996
|
-
/** The youtube url of the video content. */
|
|
9997
|
-
youtubeUrl?: string;
|
|
9998
|
-
}
|
|
9999
|
-
interface GoogleCloudNotebooklmV1alphaUserContentWebContent {
|
|
10000
|
-
/** The name to be displayed for the source. */
|
|
10001
|
-
sourceName?: string;
|
|
10002
|
-
/** If URL is supplied, will fetch the webpage in the backend. */
|
|
10003
|
-
url?: string;
|
|
10004
|
-
}
|
|
10005
|
-
interface GoogleCloudNotebooklmV1alphaYoutubeMetadata {
|
|
10006
|
-
/** Output only. The channel name of the youtube video. */
|
|
10007
|
-
channelName?: string;
|
|
10008
|
-
/** Output only. The id of the youtube video. */
|
|
10009
|
-
videoId?: string;
|
|
10010
|
-
}
|
|
10011
9840
|
interface GoogleIamV1Binding {
|
|
10012
9841
|
/** The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
10013
9842
|
condition?: GoogleTypeExpr;
|
|
@@ -14758,9 +14587,12 @@ declare namespace gapi.client {
|
|
|
14758
14587
|
key?: string;
|
|
14759
14588
|
/** 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). */
|
|
14760
14589
|
languageCode?: string;
|
|
14761
|
-
/** Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `
|
|
14590
|
+
/** 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. */
|
|
14762
14591
|
modelInfoView?:
|
|
14763
|
-
|
|
14592
|
+
| 'MODEL_INFO_VIEW_UNSPECIFIED'
|
|
14593
|
+
| 'END_USER_WEB'
|
|
14594
|
+
| 'ADMIN'
|
|
14595
|
+
| 'END_USER_MOBILE';
|
|
14764
14596
|
/** Required. Full WidgetConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}` */
|
|
14765
14597
|
name: string;
|
|
14766
14598
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -18652,9 +18484,12 @@ declare namespace gapi.client {
|
|
|
18652
18484
|
key?: string;
|
|
18653
18485
|
/** 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). */
|
|
18654
18486
|
languageCode?: string;
|
|
18655
|
-
/** Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `
|
|
18487
|
+
/** 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. */
|
|
18656
18488
|
modelInfoView?:
|
|
18657
|
-
|
|
18489
|
+
| 'MODEL_INFO_VIEW_UNSPECIFIED'
|
|
18490
|
+
| 'END_USER_WEB'
|
|
18491
|
+
| 'ADMIN'
|
|
18492
|
+
| 'END_USER_MOBILE';
|
|
18658
18493
|
/** Required. Full WidgetConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}` */
|
|
18659
18494
|
name: string;
|
|
18660
18495
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -22974,9 +22809,12 @@ declare namespace gapi.client {
|
|
|
22974
22809
|
key?: string;
|
|
22975
22810
|
/** 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). */
|
|
22976
22811
|
languageCode?: string;
|
|
22977
|
-
/** Optional. Selects which view of `WidgetConfig.UiSettings.ModelConfigInfo` the backend computes. `
|
|
22812
|
+
/** 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. */
|
|
22978
22813
|
modelInfoView?:
|
|
22979
|
-
|
|
22814
|
+
| 'MODEL_INFO_VIEW_UNSPECIFIED'
|
|
22815
|
+
| 'END_USER_WEB'
|
|
22816
|
+
| 'ADMIN'
|
|
22817
|
+
| 'END_USER_MOBILE';
|
|
22980
22818
|
/** Required. Full WidgetConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}` */
|
|
22981
22819
|
name: string;
|
|
22982
22820
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -24718,386 +24556,8 @@ declare namespace gapi.client {
|
|
|
24718
24556
|
uploadType?: string;
|
|
24719
24557
|
}): Request<{}>;
|
|
24720
24558
|
}
|
|
24721
|
-
interface SourcesResource {
|
|
24722
|
-
/** Creates a list of Sources. */
|
|
24723
|
-
batchCreate(request: {
|
|
24724
|
-
/** V1 error format. */
|
|
24725
|
-
'$.xgafv'?: '1' | '2';
|
|
24726
|
-
/** OAuth access token. */
|
|
24727
|
-
access_token?: string;
|
|
24728
|
-
/** Data format for response. */
|
|
24729
|
-
alt?: 'json' | 'media' | 'proto';
|
|
24730
|
-
/** JSONP */
|
|
24731
|
-
callback?: string;
|
|
24732
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
24733
|
-
fields?: string;
|
|
24734
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
24735
|
-
key?: string;
|
|
24736
|
-
/** OAuth 2.0 token for the current user. */
|
|
24737
|
-
oauth_token?: string;
|
|
24738
|
-
/** Required. The parent resource where the sources will be created. Format: projects/{project}/locations/{location}/notebooks/{notebook} */
|
|
24739
|
-
parent: string;
|
|
24740
|
-
/** Returns response with indentations and line breaks. */
|
|
24741
|
-
prettyPrint?: boolean;
|
|
24742
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
24743
|
-
quotaUser?: string;
|
|
24744
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24745
|
-
upload_protocol?: string;
|
|
24746
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24747
|
-
uploadType?: string;
|
|
24748
|
-
/** Request body */
|
|
24749
|
-
resource: GoogleCloudNotebooklmV1alphaBatchCreateSourcesRequest;
|
|
24750
|
-
}): Request<GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse>;
|
|
24751
|
-
batchCreate(
|
|
24752
|
-
request: {
|
|
24753
|
-
/** V1 error format. */
|
|
24754
|
-
'$.xgafv'?: '1' | '2';
|
|
24755
|
-
/** OAuth access token. */
|
|
24756
|
-
access_token?: string;
|
|
24757
|
-
/** Data format for response. */
|
|
24758
|
-
alt?: 'json' | 'media' | 'proto';
|
|
24759
|
-
/** JSONP */
|
|
24760
|
-
callback?: string;
|
|
24761
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
24762
|
-
fields?: string;
|
|
24763
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
24764
|
-
key?: string;
|
|
24765
|
-
/** OAuth 2.0 token for the current user. */
|
|
24766
|
-
oauth_token?: string;
|
|
24767
|
-
/** Required. The parent resource where the sources will be created. Format: projects/{project}/locations/{location}/notebooks/{notebook} */
|
|
24768
|
-
parent: string;
|
|
24769
|
-
/** Returns response with indentations and line breaks. */
|
|
24770
|
-
prettyPrint?: boolean;
|
|
24771
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
24772
|
-
quotaUser?: string;
|
|
24773
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24774
|
-
upload_protocol?: string;
|
|
24775
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24776
|
-
uploadType?: string;
|
|
24777
|
-
},
|
|
24778
|
-
body: GoogleCloudNotebooklmV1alphaBatchCreateSourcesRequest,
|
|
24779
|
-
): Request<GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse>;
|
|
24780
|
-
/** Deletes multiple sources */
|
|
24781
|
-
batchDelete(request: {
|
|
24782
|
-
/** V1 error format. */
|
|
24783
|
-
'$.xgafv'?: '1' | '2';
|
|
24784
|
-
/** OAuth access token. */
|
|
24785
|
-
access_token?: string;
|
|
24786
|
-
/** Data format for response. */
|
|
24787
|
-
alt?: 'json' | 'media' | 'proto';
|
|
24788
|
-
/** JSONP */
|
|
24789
|
-
callback?: string;
|
|
24790
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
24791
|
-
fields?: string;
|
|
24792
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
24793
|
-
key?: string;
|
|
24794
|
-
/** OAuth 2.0 token for the current user. */
|
|
24795
|
-
oauth_token?: string;
|
|
24796
|
-
/** Required. The parent resource where the sources will be deleted. Format: projects/{project}/locations/{location}/notebooks/{notebook} */
|
|
24797
|
-
parent: string;
|
|
24798
|
-
/** Returns response with indentations and line breaks. */
|
|
24799
|
-
prettyPrint?: boolean;
|
|
24800
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
24801
|
-
quotaUser?: string;
|
|
24802
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24803
|
-
upload_protocol?: string;
|
|
24804
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24805
|
-
uploadType?: string;
|
|
24806
|
-
/** Request body */
|
|
24807
|
-
resource: GoogleCloudNotebooklmV1alphaBatchDeleteSourcesRequest;
|
|
24808
|
-
}): Request<{}>;
|
|
24809
|
-
batchDelete(
|
|
24810
|
-
request: {
|
|
24811
|
-
/** V1 error format. */
|
|
24812
|
-
'$.xgafv'?: '1' | '2';
|
|
24813
|
-
/** OAuth access token. */
|
|
24814
|
-
access_token?: string;
|
|
24815
|
-
/** Data format for response. */
|
|
24816
|
-
alt?: 'json' | 'media' | 'proto';
|
|
24817
|
-
/** JSONP */
|
|
24818
|
-
callback?: string;
|
|
24819
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
24820
|
-
fields?: string;
|
|
24821
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
24822
|
-
key?: string;
|
|
24823
|
-
/** OAuth 2.0 token for the current user. */
|
|
24824
|
-
oauth_token?: string;
|
|
24825
|
-
/** Required. The parent resource where the sources will be deleted. Format: projects/{project}/locations/{location}/notebooks/{notebook} */
|
|
24826
|
-
parent: string;
|
|
24827
|
-
/** Returns response with indentations and line breaks. */
|
|
24828
|
-
prettyPrint?: boolean;
|
|
24829
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
24830
|
-
quotaUser?: string;
|
|
24831
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24832
|
-
upload_protocol?: string;
|
|
24833
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24834
|
-
uploadType?: string;
|
|
24835
|
-
},
|
|
24836
|
-
body: GoogleCloudNotebooklmV1alphaBatchDeleteSourcesRequest,
|
|
24837
|
-
): Request<{}>;
|
|
24838
|
-
/** Gets a Source. */
|
|
24839
|
-
get(request?: {
|
|
24840
|
-
/** V1 error format. */
|
|
24841
|
-
'$.xgafv'?: '1' | '2';
|
|
24842
|
-
/** OAuth access token. */
|
|
24843
|
-
access_token?: string;
|
|
24844
|
-
/** Data format for response. */
|
|
24845
|
-
alt?: 'json' | 'media' | 'proto';
|
|
24846
|
-
/** JSONP */
|
|
24847
|
-
callback?: string;
|
|
24848
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
24849
|
-
fields?: string;
|
|
24850
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
24851
|
-
key?: string;
|
|
24852
|
-
/** Required. The resource name for source Format: projects/{project}/locations/{location}/notebooks/{notebook}/sources/{source} */
|
|
24853
|
-
name: string;
|
|
24854
|
-
/** OAuth 2.0 token for the current user. */
|
|
24855
|
-
oauth_token?: string;
|
|
24856
|
-
/** Returns response with indentations and line breaks. */
|
|
24857
|
-
prettyPrint?: boolean;
|
|
24858
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
24859
|
-
quotaUser?: string;
|
|
24860
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24861
|
-
upload_protocol?: string;
|
|
24862
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24863
|
-
uploadType?: string;
|
|
24864
|
-
}): Request<GoogleCloudNotebooklmV1alphaSource>;
|
|
24865
|
-
}
|
|
24866
24559
|
interface NotebooksResource {
|
|
24867
|
-
/** Batch deletes Notebooks. */
|
|
24868
|
-
batchDelete(request: {
|
|
24869
|
-
/** V1 error format. */
|
|
24870
|
-
'$.xgafv'?: '1' | '2';
|
|
24871
|
-
/** OAuth access token. */
|
|
24872
|
-
access_token?: string;
|
|
24873
|
-
/** Data format for response. */
|
|
24874
|
-
alt?: 'json' | 'media' | 'proto';
|
|
24875
|
-
/** JSONP */
|
|
24876
|
-
callback?: string;
|
|
24877
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
24878
|
-
fields?: string;
|
|
24879
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
24880
|
-
key?: string;
|
|
24881
|
-
/** OAuth 2.0 token for the current user. */
|
|
24882
|
-
oauth_token?: string;
|
|
24883
|
-
/** Required. The parent branch resource name, such as `projects/{project}/locations/{location}`. */
|
|
24884
|
-
parent: string;
|
|
24885
|
-
/** Returns response with indentations and line breaks. */
|
|
24886
|
-
prettyPrint?: boolean;
|
|
24887
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
24888
|
-
quotaUser?: string;
|
|
24889
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24890
|
-
upload_protocol?: string;
|
|
24891
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24892
|
-
uploadType?: string;
|
|
24893
|
-
/** Request body */
|
|
24894
|
-
resource: GoogleCloudNotebooklmV1alphaBatchDeleteNotebooksRequest;
|
|
24895
|
-
}): Request<{}>;
|
|
24896
|
-
batchDelete(
|
|
24897
|
-
request: {
|
|
24898
|
-
/** V1 error format. */
|
|
24899
|
-
'$.xgafv'?: '1' | '2';
|
|
24900
|
-
/** OAuth access token. */
|
|
24901
|
-
access_token?: string;
|
|
24902
|
-
/** Data format for response. */
|
|
24903
|
-
alt?: 'json' | 'media' | 'proto';
|
|
24904
|
-
/** JSONP */
|
|
24905
|
-
callback?: string;
|
|
24906
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
24907
|
-
fields?: string;
|
|
24908
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
24909
|
-
key?: string;
|
|
24910
|
-
/** OAuth 2.0 token for the current user. */
|
|
24911
|
-
oauth_token?: string;
|
|
24912
|
-
/** Required. The parent branch resource name, such as `projects/{project}/locations/{location}`. */
|
|
24913
|
-
parent: string;
|
|
24914
|
-
/** Returns response with indentations and line breaks. */
|
|
24915
|
-
prettyPrint?: boolean;
|
|
24916
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
24917
|
-
quotaUser?: string;
|
|
24918
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24919
|
-
upload_protocol?: string;
|
|
24920
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24921
|
-
uploadType?: string;
|
|
24922
|
-
},
|
|
24923
|
-
body: GoogleCloudNotebooklmV1alphaBatchDeleteNotebooksRequest,
|
|
24924
|
-
): Request<{}>;
|
|
24925
|
-
/** Creates a notebook. */
|
|
24926
|
-
create(request: {
|
|
24927
|
-
/** V1 error format. */
|
|
24928
|
-
'$.xgafv'?: '1' | '2';
|
|
24929
|
-
/** OAuth access token. */
|
|
24930
|
-
access_token?: string;
|
|
24931
|
-
/** Data format for response. */
|
|
24932
|
-
alt?: 'json' | 'media' | 'proto';
|
|
24933
|
-
/** JSONP */
|
|
24934
|
-
callback?: string;
|
|
24935
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
24936
|
-
fields?: string;
|
|
24937
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
24938
|
-
key?: string;
|
|
24939
|
-
/** OAuth 2.0 token for the current user. */
|
|
24940
|
-
oauth_token?: string;
|
|
24941
|
-
/** Required. The parent resource name, such as `projects/{project}/locations/{location}`. */
|
|
24942
|
-
parent: string;
|
|
24943
|
-
/** Returns response with indentations and line breaks. */
|
|
24944
|
-
prettyPrint?: boolean;
|
|
24945
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
24946
|
-
quotaUser?: string;
|
|
24947
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24948
|
-
upload_protocol?: string;
|
|
24949
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24950
|
-
uploadType?: string;
|
|
24951
|
-
/** Request body */
|
|
24952
|
-
resource: GoogleCloudNotebooklmV1alphaNotebook;
|
|
24953
|
-
}): Request<GoogleCloudNotebooklmV1alphaNotebook>;
|
|
24954
|
-
create(
|
|
24955
|
-
request: {
|
|
24956
|
-
/** V1 error format. */
|
|
24957
|
-
'$.xgafv'?: '1' | '2';
|
|
24958
|
-
/** OAuth access token. */
|
|
24959
|
-
access_token?: string;
|
|
24960
|
-
/** Data format for response. */
|
|
24961
|
-
alt?: 'json' | 'media' | 'proto';
|
|
24962
|
-
/** JSONP */
|
|
24963
|
-
callback?: string;
|
|
24964
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
24965
|
-
fields?: string;
|
|
24966
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
24967
|
-
key?: string;
|
|
24968
|
-
/** OAuth 2.0 token for the current user. */
|
|
24969
|
-
oauth_token?: string;
|
|
24970
|
-
/** Required. The parent resource name, such as `projects/{project}/locations/{location}`. */
|
|
24971
|
-
parent: string;
|
|
24972
|
-
/** Returns response with indentations and line breaks. */
|
|
24973
|
-
prettyPrint?: boolean;
|
|
24974
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
24975
|
-
quotaUser?: string;
|
|
24976
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
24977
|
-
upload_protocol?: string;
|
|
24978
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
24979
|
-
uploadType?: string;
|
|
24980
|
-
},
|
|
24981
|
-
body: GoogleCloudNotebooklmV1alphaNotebook,
|
|
24982
|
-
): Request<GoogleCloudNotebooklmV1alphaNotebook>;
|
|
24983
|
-
/** Gets a notebook. */
|
|
24984
|
-
get(request?: {
|
|
24985
|
-
/** V1 error format. */
|
|
24986
|
-
'$.xgafv'?: '1' | '2';
|
|
24987
|
-
/** OAuth access token. */
|
|
24988
|
-
access_token?: string;
|
|
24989
|
-
/** Data format for response. */
|
|
24990
|
-
alt?: 'json' | 'media' | 'proto';
|
|
24991
|
-
/** JSONP */
|
|
24992
|
-
callback?: string;
|
|
24993
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
24994
|
-
fields?: string;
|
|
24995
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
24996
|
-
key?: string;
|
|
24997
|
-
/** Required. Full resource name of Notebook, such as `projects/{project}/locations/{location}/notebooks/{notebook_id}`. */
|
|
24998
|
-
name: string;
|
|
24999
|
-
/** OAuth 2.0 token for the current user. */
|
|
25000
|
-
oauth_token?: string;
|
|
25001
|
-
/** Returns response with indentations and line breaks. */
|
|
25002
|
-
prettyPrint?: boolean;
|
|
25003
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
25004
|
-
quotaUser?: string;
|
|
25005
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25006
|
-
upload_protocol?: string;
|
|
25007
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25008
|
-
uploadType?: string;
|
|
25009
|
-
}): Request<GoogleCloudNotebooklmV1alphaNotebook>;
|
|
25010
|
-
/** Lists the notebooks ordered by last view time. */
|
|
25011
|
-
listRecentlyViewed(request?: {
|
|
25012
|
-
/** V1 error format. */
|
|
25013
|
-
'$.xgafv'?: '1' | '2';
|
|
25014
|
-
/** OAuth access token. */
|
|
25015
|
-
access_token?: string;
|
|
25016
|
-
/** Data format for response. */
|
|
25017
|
-
alt?: 'json' | 'media' | 'proto';
|
|
25018
|
-
/** JSONP */
|
|
25019
|
-
callback?: string;
|
|
25020
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
25021
|
-
fields?: string;
|
|
25022
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
25023
|
-
key?: string;
|
|
25024
|
-
/** OAuth 2.0 token for the current user. */
|
|
25025
|
-
oauth_token?: string;
|
|
25026
|
-
/** 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. */
|
|
25027
|
-
pageSize?: number;
|
|
25028
|
-
/** Optional. The page token, provide this to retrieve the subsequent page. */
|
|
25029
|
-
pageToken?: string;
|
|
25030
|
-
/** Required. The parent branch resource name, such as `projects/{project}/locations/{location}`. */
|
|
25031
|
-
parent: string;
|
|
25032
|
-
/** Returns response with indentations and line breaks. */
|
|
25033
|
-
prettyPrint?: boolean;
|
|
25034
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
25035
|
-
quotaUser?: string;
|
|
25036
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25037
|
-
upload_protocol?: string;
|
|
25038
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25039
|
-
uploadType?: string;
|
|
25040
|
-
}): Request<GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse>;
|
|
25041
|
-
/** Shares a notebook to other accounts. */
|
|
25042
|
-
share(request: {
|
|
25043
|
-
/** V1 error format. */
|
|
25044
|
-
'$.xgafv'?: '1' | '2';
|
|
25045
|
-
/** OAuth access token. */
|
|
25046
|
-
access_token?: string;
|
|
25047
|
-
/** Data format for response. */
|
|
25048
|
-
alt?: 'json' | 'media' | 'proto';
|
|
25049
|
-
/** JSONP */
|
|
25050
|
-
callback?: string;
|
|
25051
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
25052
|
-
fields?: string;
|
|
25053
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
25054
|
-
key?: string;
|
|
25055
|
-
/** Required. Full resource name of Notebook, such as `projects/{project}/locations/{location}/notebooks/{notebook_id}`. */
|
|
25056
|
-
name: string;
|
|
25057
|
-
/** OAuth 2.0 token for the current user. */
|
|
25058
|
-
oauth_token?: string;
|
|
25059
|
-
/** Returns response with indentations and line breaks. */
|
|
25060
|
-
prettyPrint?: boolean;
|
|
25061
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
25062
|
-
quotaUser?: string;
|
|
25063
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25064
|
-
upload_protocol?: string;
|
|
25065
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25066
|
-
uploadType?: string;
|
|
25067
|
-
/** Request body */
|
|
25068
|
-
resource: GoogleCloudNotebooklmV1alphaShareNotebookRequest;
|
|
25069
|
-
}): Request<{}>;
|
|
25070
|
-
share(
|
|
25071
|
-
request: {
|
|
25072
|
-
/** V1 error format. */
|
|
25073
|
-
'$.xgafv'?: '1' | '2';
|
|
25074
|
-
/** OAuth access token. */
|
|
25075
|
-
access_token?: string;
|
|
25076
|
-
/** Data format for response. */
|
|
25077
|
-
alt?: 'json' | 'media' | 'proto';
|
|
25078
|
-
/** JSONP */
|
|
25079
|
-
callback?: string;
|
|
25080
|
-
/** Selector specifying which fields to include in a partial response. */
|
|
25081
|
-
fields?: string;
|
|
25082
|
-
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
25083
|
-
key?: string;
|
|
25084
|
-
/** Required. Full resource name of Notebook, such as `projects/{project}/locations/{location}/notebooks/{notebook_id}`. */
|
|
25085
|
-
name: string;
|
|
25086
|
-
/** OAuth 2.0 token for the current user. */
|
|
25087
|
-
oauth_token?: string;
|
|
25088
|
-
/** Returns response with indentations and line breaks. */
|
|
25089
|
-
prettyPrint?: boolean;
|
|
25090
|
-
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
25091
|
-
quotaUser?: string;
|
|
25092
|
-
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
25093
|
-
upload_protocol?: string;
|
|
25094
|
-
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
25095
|
-
uploadType?: string;
|
|
25096
|
-
},
|
|
25097
|
-
body: GoogleCloudNotebooklmV1alphaShareNotebookRequest,
|
|
25098
|
-
): Request<{}>;
|
|
25099
24560
|
audioOverviews: AudioOverviewsResource;
|
|
25100
|
-
sources: SourcesResource;
|
|
25101
24561
|
}
|
|
25102
24562
|
interface OperationsResource {
|
|
25103
24563
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|