@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.3.20260908 → 0.3.20260914

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.
Files changed (2) hide show
  1. package/index.d.ts +624 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://discoveryengine.googleapis.com/$discovery/rest?version=v1alpha
12
- // Revision: 20260908
12
+ // Revision: 20260914
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -9798,6 +9798,23 @@ declare namespace gapi.client {
9798
9798
  | 'GOOGLE_PEOPLE'
9799
9799
  | 'GOOGLE_WORKSPACE';
9800
9800
  }
9801
+ interface GoogleCloudNotebooklmV1alphaAccountAndRole {
9802
+ /** Required. The email address associated with the account. */
9803
+ email?: string;
9804
+ /** Required. The role in the notebook. */
9805
+ role?:
9806
+ | 'PROJECT_ROLE_UNKNOWN'
9807
+ | 'PROJECT_ROLE_OWNER'
9808
+ | 'PROJECT_ROLE_WRITER'
9809
+ | 'PROJECT_ROLE_READER'
9810
+ | 'PROJECT_ROLE_NOT_SHARED';
9811
+ }
9812
+ interface GoogleCloudNotebooklmV1alphaAgentspaceMetadata {
9813
+ /** Output only. The full document name in Agentspace. */
9814
+ documentName?: string;
9815
+ /** Output only. The title of the document. */
9816
+ documentTitle?: string;
9817
+ }
9801
9818
  interface GoogleCloudNotebooklmV1alphaAudioOverview {
9802
9819
  /** Output only. Unique ID of the audio overview. */
9803
9820
  audioOverviewId?: string;
@@ -9825,6 +9842,26 @@ declare namespace gapi.client {
9825
9842
  /** Optional. The sources in which the audio overview is grounded. */
9826
9843
  sourceIds?: GoogleCloudNotebooklmV1alphaSourceId[];
9827
9844
  }
9845
+ interface GoogleCloudNotebooklmV1alphaBatchCreateSourcesRequest {
9846
+ /** Required. The UserContents to be uploaded. */
9847
+ userContents?: GoogleCloudNotebooklmV1alphaUserContent[];
9848
+ }
9849
+ interface GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse {
9850
+ /** The Sources. */
9851
+ sources?: GoogleCloudNotebooklmV1alphaSource[];
9852
+ }
9853
+ interface GoogleCloudNotebooklmV1alphaBatchDeleteNotebooksRequest {
9854
+ /** Required. Full resource names of Notebook, such as `projects/{project}/locations/{location}/notebooks/{notebook_id}`. */
9855
+ names?: string[];
9856
+ }
9857
+ interface GoogleCloudNotebooklmV1alphaBatchDeleteSourcesRequest {
9858
+ /** Required. Names of sources to be deleted. Format: projects/{project}/locations/{location}/notebooks/{notebook}/sources/{source} */
9859
+ names?: string[];
9860
+ }
9861
+ interface GoogleCloudNotebooklmV1alphaCmekConfig {
9862
+ /** Required. KMS key resource name which will be used to encrypt resources `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`. */
9863
+ kmsKey?: string;
9864
+ }
9828
9865
  interface GoogleCloudNotebooklmV1alphaCreateAudioOverviewRequest {
9829
9866
  /** Options for the audio overview generation. */
9830
9867
  generationOptions?: GoogleCloudNotebooklmV1alphaAudioOverviewGenerationOptions;
@@ -9833,10 +9870,218 @@ declare namespace gapi.client {
9833
9870
  /** The generated audio overview. */
9834
9871
  audioOverview?: GoogleCloudNotebooklmV1alphaAudioOverview;
9835
9872
  }
9873
+ interface GoogleCloudNotebooklmV1alphaFailureReason {
9874
+ /** An audio file transcription specific error. */
9875
+ audioTranscriptionError?: GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionError;
9876
+ /** Error if the user tries to add a source from a blocked domain. */
9877
+ domainBlocked?: any;
9878
+ /** A google drive specific error. */
9879
+ googleDriveError?: GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveError;
9880
+ /** Indicates an error occurred while ingesting the source. */
9881
+ ingestionError?: any;
9882
+ /** Indicates that the source MIME type is blocked. */
9883
+ mimeTypeBlocked?: any;
9884
+ /** Indicates that the source is paywalled and cannot be ingested. */
9885
+ paywallError?: any;
9886
+ /** Indicates that the policy check failed. */
9887
+ policyCheckFailed?: any;
9888
+ /** Indicates that the source is empty. */
9889
+ sourceEmpty?: any;
9890
+ /** Error if the user tries to update beyond their limits. */
9891
+ sourceLimitExceeded?: any;
9892
+ /** Indicates source word count exceeded the user's limit. */
9893
+ sourceTooLong?: GoogleCloudNotebooklmV1alphaFailureReasonSourceTooLong;
9894
+ /** Indicates that the source is unreachable. */
9895
+ sourceUnreachable?: GoogleCloudNotebooklmV1alphaFailureReasonSourceUnreachable;
9896
+ /** Indicates an unknown error occurred. */
9897
+ unknown?: any;
9898
+ /** Indicates an error occurred while uploading the source. */
9899
+ uploadError?: any;
9900
+ /** A youtube specific error. */
9901
+ youtubeError?: GoogleCloudNotebooklmV1alphaFailureReasonYoutubeError;
9902
+ }
9903
+ interface GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionError {
9904
+ /** Could not detect language of the file (it may not be speech). */
9905
+ languageDetectionFailed?: any;
9906
+ /** No audio was detected in the input file (it may have been a video). */
9907
+ noAudioDetected?: any;
9908
+ }
9909
+ interface GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionErrorLanguageDetectionFailed {}
9910
+ interface GoogleCloudNotebooklmV1alphaFailureReasonAudioTranscriptionErrorNoAudioDetected {}
9911
+ interface GoogleCloudNotebooklmV1alphaFailureReasonDomainBlocked {}
9912
+ interface GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveError {
9913
+ /** The user was prevented from downloading the file. */
9914
+ downloadPrevented?: any;
9915
+ }
9916
+ interface GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveErrorDownloadPrevented {}
9917
+ interface GoogleCloudNotebooklmV1alphaFailureReasonIngestionError {}
9918
+ interface GoogleCloudNotebooklmV1alphaFailureReasonMimeTypeBlocked {}
9919
+ interface GoogleCloudNotebooklmV1alphaFailureReasonPaywallError {}
9920
+ interface GoogleCloudNotebooklmV1alphaFailureReasonPolicyCheckFailed {}
9921
+ interface GoogleCloudNotebooklmV1alphaFailureReasonSourceEmpty {}
9922
+ interface GoogleCloudNotebooklmV1alphaFailureReasonSourceLimitExceeded {}
9923
+ interface GoogleCloudNotebooklmV1alphaFailureReasonSourceTooLong {
9924
+ /** The number of words in the source. */
9925
+ wordCount?: number;
9926
+ /** The word count limit for the current user at the time of the upload. */
9927
+ wordLimit?: number;
9928
+ }
9929
+ interface GoogleCloudNotebooklmV1alphaFailureReasonSourceUnreachable {
9930
+ /** Describes why the source is unreachable. */
9931
+ errorDetails?:
9932
+ | 'ERROR_REASON_UNSPECIFIED'
9933
+ | 'ERROR_REASON_INVALID_URL'
9934
+ | 'ERROR_REASON_NOT_ACCESSIBLE'
9935
+ | 'ERROR_REASON_NOT_REACHABLE'
9936
+ | 'ERROR_REASON_URL_NOT_FOUND'
9937
+ | 'ERROR_REASON_TRANSIENT_ERROR'
9938
+ | 'ERROR_REASON_FETCH_FAILED'
9939
+ | 'ERROR_REASON_NOT_SUPPORTED';
9940
+ }
9941
+ interface GoogleCloudNotebooklmV1alphaFailureReasonUnknown {}
9942
+ interface GoogleCloudNotebooklmV1alphaFailureReasonUploadError {}
9943
+ interface GoogleCloudNotebooklmV1alphaFailureReasonYoutubeError {
9944
+ /** Error to indicate that the source was removed because the video was deleted. */
9945
+ videoDeleted?: any;
9946
+ }
9947
+ interface GoogleCloudNotebooklmV1alphaFailureReasonYoutubeErrorVideoDeleted {}
9948
+ interface GoogleCloudNotebooklmV1alphaGoogleDocsSourceMetadata {
9949
+ /** Output only. The document id of the google doc. */
9950
+ documentId?: string;
9951
+ /** Output only. Revision id for the doc. */
9952
+ revisionId?: string;
9953
+ }
9954
+ interface GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse {
9955
+ /** The page token, provide this to retrieve the subsequent page. */
9956
+ nextPageToken?: string;
9957
+ /** The list of recently viewed notebooks. */
9958
+ notebooks?: GoogleCloudNotebooklmV1alphaNotebook[];
9959
+ }
9960
+ interface GoogleCloudNotebooklmV1alphaNotebook {
9961
+ /** Output only. CMEK-related information for the Notebook. */
9962
+ cmekConfig?: GoogleCloudNotebooklmV1alphaCmekConfig;
9963
+ /** Output only. The emoji of the notebook. */
9964
+ emoji?: string;
9965
+ /** Output only. The metadata of the notebook. */
9966
+ metadata?: GoogleCloudNotebooklmV1alphaNotebookMetadata;
9967
+ /** Identifier. The identifier of the notebook. Format: `projects/{project}/locations/{location}/notebooks/{notebook_id}`. This field must be a UTF-8 encoded string. */
9968
+ name?: string;
9969
+ /** Output only. Notebook id, which is the last segment of the notebook's resource name. */
9970
+ notebookId?: string;
9971
+ /** Output only. List of sources in the notebook. This is an output only field. */
9972
+ sources?: GoogleCloudNotebooklmV1alphaSource[];
9973
+ /** Optional. The title of the notebook. */
9974
+ title?: string;
9975
+ }
9976
+ interface GoogleCloudNotebooklmV1alphaNotebookMetadata {
9977
+ /** The time at which this project was created. */
9978
+ createTime?: string;
9979
+ /** True if the project is shareable. */
9980
+ isShareable?: boolean;
9981
+ /** True if this project is currently shared with other people, false otherwise. */
9982
+ isShared?: boolean;
9983
+ /** A timestamp indicating the time that the current in session user has last viewed the project. */
9984
+ lastViewed?: string;
9985
+ }
9986
+ interface GoogleCloudNotebooklmV1alphaShareNotebookRequest {
9987
+ /** Required. The list of accounts and roles to share the notebook with. */
9988
+ accountAndRoles?: GoogleCloudNotebooklmV1alphaAccountAndRole[];
9989
+ /** Required. Whether to notify the shared users via email. */
9990
+ notifyViaEmail?: boolean;
9991
+ }
9992
+ interface GoogleCloudNotebooklmV1alphaShareNotebookResponse {}
9993
+ interface GoogleCloudNotebooklmV1alphaSource {
9994
+ /** Output only. Metadata about the source. */
9995
+ metadata?: GoogleCloudNotebooklmV1alphaSourceMetadata;
9996
+ /** 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. */
9997
+ name?: string;
9998
+ /** Output only. Status of the source, and any failure reasons. */
9999
+ settings?: GoogleCloudNotebooklmV1alphaSourceSettings;
10000
+ /** Optional. Output only. Source id, which is the last segment of the source's resource name. */
10001
+ sourceId?: GoogleCloudNotebooklmV1alphaSourceId;
10002
+ /** Optional. Title of the source. */
10003
+ title?: string;
10004
+ }
9836
10005
  interface GoogleCloudNotebooklmV1alphaSourceId {
9837
10006
  /** The id of the source. */
9838
10007
  id?: string;
9839
10008
  }
10009
+ interface GoogleCloudNotebooklmV1alphaSourceMetadata {
10010
+ /** Metadata for an agentspace source. */
10011
+ agentspaceMetadata?: GoogleCloudNotebooklmV1alphaAgentspaceMetadata;
10012
+ /** Metadata for a google doc source. */
10013
+ googleDocsMetadata?: GoogleCloudNotebooklmV1alphaGoogleDocsSourceMetadata;
10014
+ /** The timestamp the source was added. */
10015
+ sourceAddedTimestamp?: string;
10016
+ /** The number of tokens in the source. */
10017
+ tokenCount?: number;
10018
+ /** The word count of the source. */
10019
+ wordCount?: number;
10020
+ /** Metadata for a youtube video source. */
10021
+ youtubeMetadata?: GoogleCloudNotebooklmV1alphaYoutubeMetadata;
10022
+ }
10023
+ interface GoogleCloudNotebooklmV1alphaSourceSettings {
10024
+ /** Failure reason containing details about why a source failed to ingest. */
10025
+ failureReason?: GoogleCloudNotebooklmV1alphaFailureReason;
10026
+ /** Status of the source. */
10027
+ status?:
10028
+ | 'SOURCE_STATUS_UNSPECIFIED'
10029
+ | 'SOURCE_STATUS_PENDING'
10030
+ | 'SOURCE_STATUS_COMPLETE'
10031
+ | 'SOURCE_STATUS_ERROR'
10032
+ | 'SOURCE_STATUS_PENDING_DELETION'
10033
+ | 'SOURCE_STATUS_TENTATIVE';
10034
+ }
10035
+ interface GoogleCloudNotebooklmV1alphaUserContent {
10036
+ /** Agentspace content uploaded as source. */
10037
+ agentspaceContent?: GoogleCloudNotebooklmV1alphaUserContentAgentspaceContent;
10038
+ /** The content from Google Drive. */
10039
+ googleDriveContent?: GoogleCloudNotebooklmV1alphaUserContentGoogleDriveContent;
10040
+ /** The text content uploaded as source. */
10041
+ textContent?: GoogleCloudNotebooklmV1alphaUserContentTextContent;
10042
+ /** The video content uploaded as source. */
10043
+ videoContent?: GoogleCloudNotebooklmV1alphaUserContentVideoContent;
10044
+ /** The web content uploaded as source. */
10045
+ webContent?: GoogleCloudNotebooklmV1alphaUserContentWebContent;
10046
+ }
10047
+ interface GoogleCloudNotebooklmV1alphaUserContentAgentspaceContent {
10048
+ /** Optional. The full resource name of the Agentspace document. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}`. */
10049
+ documentName?: string;
10050
+ /** Optional. Engine to verify the permission of the document. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}`. */
10051
+ engineName?: string;
10052
+ /** Optional. Resource name of the idea forge instance. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/ideaForgeInstances/{instance}` */
10053
+ ideaforgeIdeaName?: string;
10054
+ }
10055
+ interface GoogleCloudNotebooklmV1alphaUserContentGoogleDriveContent {
10056
+ /** The document id of the selected document. */
10057
+ documentId?: string;
10058
+ /** 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. */
10059
+ mimeType?: string;
10060
+ /** The name to be displayed for the source. */
10061
+ sourceName?: string;
10062
+ }
10063
+ interface GoogleCloudNotebooklmV1alphaUserContentTextContent {
10064
+ /** The name to be displayed for the source. */
10065
+ content?: string;
10066
+ /** The display name of the text source. */
10067
+ sourceName?: string;
10068
+ }
10069
+ interface GoogleCloudNotebooklmV1alphaUserContentVideoContent {
10070
+ /** The youtube url of the video content. */
10071
+ youtubeUrl?: string;
10072
+ }
10073
+ interface GoogleCloudNotebooklmV1alphaUserContentWebContent {
10074
+ /** The name to be displayed for the source. */
10075
+ sourceName?: string;
10076
+ /** If URL is supplied, will fetch the webpage in the backend. */
10077
+ url?: string;
10078
+ }
10079
+ interface GoogleCloudNotebooklmV1alphaYoutubeMetadata {
10080
+ /** Output only. The channel name of the youtube video. */
10081
+ channelName?: string;
10082
+ /** Output only. The id of the youtube video. */
10083
+ videoId?: string;
10084
+ }
9840
10085
  interface GoogleIamV1Binding {
9841
10086
  /** 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). */
9842
10087
  condition?: GoogleTypeExpr;
@@ -24556,8 +24801,386 @@ declare namespace gapi.client {
24556
24801
  uploadType?: string;
24557
24802
  }): Request<{}>;
24558
24803
  }
24804
+ interface SourcesResource {
24805
+ /** Creates a list of Sources. */
24806
+ batchCreate(request: {
24807
+ /** V1 error format. */
24808
+ '$.xgafv'?: '1' | '2';
24809
+ /** OAuth access token. */
24810
+ access_token?: string;
24811
+ /** Data format for response. */
24812
+ alt?: 'json' | 'media' | 'proto';
24813
+ /** JSONP */
24814
+ callback?: string;
24815
+ /** Selector specifying which fields to include in a partial response. */
24816
+ fields?: string;
24817
+ /** 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. */
24818
+ key?: string;
24819
+ /** OAuth 2.0 token for the current user. */
24820
+ oauth_token?: string;
24821
+ /** Required. The parent resource where the sources will be created. Format: projects/{project}/locations/{location}/notebooks/{notebook} */
24822
+ parent: string;
24823
+ /** Returns response with indentations and line breaks. */
24824
+ prettyPrint?: boolean;
24825
+ /** 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. */
24826
+ quotaUser?: string;
24827
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
24828
+ upload_protocol?: string;
24829
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
24830
+ uploadType?: string;
24831
+ /** Request body */
24832
+ resource: GoogleCloudNotebooklmV1alphaBatchCreateSourcesRequest;
24833
+ }): Request<GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse>;
24834
+ batchCreate(
24835
+ request: {
24836
+ /** V1 error format. */
24837
+ '$.xgafv'?: '1' | '2';
24838
+ /** OAuth access token. */
24839
+ access_token?: string;
24840
+ /** Data format for response. */
24841
+ alt?: 'json' | 'media' | 'proto';
24842
+ /** JSONP */
24843
+ callback?: string;
24844
+ /** Selector specifying which fields to include in a partial response. */
24845
+ fields?: string;
24846
+ /** 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. */
24847
+ key?: string;
24848
+ /** OAuth 2.0 token for the current user. */
24849
+ oauth_token?: string;
24850
+ /** Required. The parent resource where the sources will be created. Format: projects/{project}/locations/{location}/notebooks/{notebook} */
24851
+ parent: string;
24852
+ /** Returns response with indentations and line breaks. */
24853
+ prettyPrint?: boolean;
24854
+ /** 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. */
24855
+ quotaUser?: string;
24856
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
24857
+ upload_protocol?: string;
24858
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
24859
+ uploadType?: string;
24860
+ },
24861
+ body: GoogleCloudNotebooklmV1alphaBatchCreateSourcesRequest,
24862
+ ): Request<GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse>;
24863
+ /** Deletes multiple sources */
24864
+ batchDelete(request: {
24865
+ /** V1 error format. */
24866
+ '$.xgafv'?: '1' | '2';
24867
+ /** OAuth access token. */
24868
+ access_token?: string;
24869
+ /** Data format for response. */
24870
+ alt?: 'json' | 'media' | 'proto';
24871
+ /** JSONP */
24872
+ callback?: string;
24873
+ /** Selector specifying which fields to include in a partial response. */
24874
+ fields?: string;
24875
+ /** 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. */
24876
+ key?: string;
24877
+ /** OAuth 2.0 token for the current user. */
24878
+ oauth_token?: string;
24879
+ /** Required. The parent resource where the sources will be deleted. Format: projects/{project}/locations/{location}/notebooks/{notebook} */
24880
+ parent: string;
24881
+ /** Returns response with indentations and line breaks. */
24882
+ prettyPrint?: boolean;
24883
+ /** 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. */
24884
+ quotaUser?: string;
24885
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
24886
+ upload_protocol?: string;
24887
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
24888
+ uploadType?: string;
24889
+ /** Request body */
24890
+ resource: GoogleCloudNotebooklmV1alphaBatchDeleteSourcesRequest;
24891
+ }): Request<{}>;
24892
+ batchDelete(
24893
+ request: {
24894
+ /** V1 error format. */
24895
+ '$.xgafv'?: '1' | '2';
24896
+ /** OAuth access token. */
24897
+ access_token?: string;
24898
+ /** Data format for response. */
24899
+ alt?: 'json' | 'media' | 'proto';
24900
+ /** JSONP */
24901
+ callback?: string;
24902
+ /** Selector specifying which fields to include in a partial response. */
24903
+ fields?: string;
24904
+ /** 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. */
24905
+ key?: string;
24906
+ /** OAuth 2.0 token for the current user. */
24907
+ oauth_token?: string;
24908
+ /** Required. The parent resource where the sources will be deleted. Format: projects/{project}/locations/{location}/notebooks/{notebook} */
24909
+ parent: string;
24910
+ /** Returns response with indentations and line breaks. */
24911
+ prettyPrint?: boolean;
24912
+ /** 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. */
24913
+ quotaUser?: string;
24914
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
24915
+ upload_protocol?: string;
24916
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
24917
+ uploadType?: string;
24918
+ },
24919
+ body: GoogleCloudNotebooklmV1alphaBatchDeleteSourcesRequest,
24920
+ ): Request<{}>;
24921
+ /** Gets a Source. */
24922
+ get(request?: {
24923
+ /** V1 error format. */
24924
+ '$.xgafv'?: '1' | '2';
24925
+ /** OAuth access token. */
24926
+ access_token?: string;
24927
+ /** Data format for response. */
24928
+ alt?: 'json' | 'media' | 'proto';
24929
+ /** JSONP */
24930
+ callback?: string;
24931
+ /** Selector specifying which fields to include in a partial response. */
24932
+ fields?: string;
24933
+ /** 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. */
24934
+ key?: string;
24935
+ /** Required. The resource name for source Format: projects/{project}/locations/{location}/notebooks/{notebook}/sources/{source} */
24936
+ name: string;
24937
+ /** OAuth 2.0 token for the current user. */
24938
+ oauth_token?: string;
24939
+ /** Returns response with indentations and line breaks. */
24940
+ prettyPrint?: boolean;
24941
+ /** 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. */
24942
+ quotaUser?: string;
24943
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
24944
+ upload_protocol?: string;
24945
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
24946
+ uploadType?: string;
24947
+ }): Request<GoogleCloudNotebooklmV1alphaSource>;
24948
+ }
24559
24949
  interface NotebooksResource {
24950
+ /** Batch deletes Notebooks. */
24951
+ batchDelete(request: {
24952
+ /** V1 error format. */
24953
+ '$.xgafv'?: '1' | '2';
24954
+ /** OAuth access token. */
24955
+ access_token?: string;
24956
+ /** Data format for response. */
24957
+ alt?: 'json' | 'media' | 'proto';
24958
+ /** JSONP */
24959
+ callback?: string;
24960
+ /** Selector specifying which fields to include in a partial response. */
24961
+ fields?: string;
24962
+ /** 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. */
24963
+ key?: string;
24964
+ /** OAuth 2.0 token for the current user. */
24965
+ oauth_token?: string;
24966
+ /** Required. The parent branch resource name, such as `projects/{project}/locations/{location}`. */
24967
+ parent: string;
24968
+ /** Returns response with indentations and line breaks. */
24969
+ prettyPrint?: boolean;
24970
+ /** 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. */
24971
+ quotaUser?: string;
24972
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
24973
+ upload_protocol?: string;
24974
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
24975
+ uploadType?: string;
24976
+ /** Request body */
24977
+ resource: GoogleCloudNotebooklmV1alphaBatchDeleteNotebooksRequest;
24978
+ }): Request<{}>;
24979
+ batchDelete(
24980
+ request: {
24981
+ /** V1 error format. */
24982
+ '$.xgafv'?: '1' | '2';
24983
+ /** OAuth access token. */
24984
+ access_token?: string;
24985
+ /** Data format for response. */
24986
+ alt?: 'json' | 'media' | 'proto';
24987
+ /** JSONP */
24988
+ callback?: string;
24989
+ /** Selector specifying which fields to include in a partial response. */
24990
+ fields?: string;
24991
+ /** 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. */
24992
+ key?: string;
24993
+ /** OAuth 2.0 token for the current user. */
24994
+ oauth_token?: string;
24995
+ /** Required. The parent branch resource name, such as `projects/{project}/locations/{location}`. */
24996
+ parent: string;
24997
+ /** Returns response with indentations and line breaks. */
24998
+ prettyPrint?: boolean;
24999
+ /** 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. */
25000
+ quotaUser?: string;
25001
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
25002
+ upload_protocol?: string;
25003
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25004
+ uploadType?: string;
25005
+ },
25006
+ body: GoogleCloudNotebooklmV1alphaBatchDeleteNotebooksRequest,
25007
+ ): Request<{}>;
25008
+ /** Creates a notebook. */
25009
+ create(request: {
25010
+ /** V1 error format. */
25011
+ '$.xgafv'?: '1' | '2';
25012
+ /** OAuth access token. */
25013
+ access_token?: string;
25014
+ /** Data format for response. */
25015
+ alt?: 'json' | 'media' | 'proto';
25016
+ /** JSONP */
25017
+ callback?: string;
25018
+ /** Selector specifying which fields to include in a partial response. */
25019
+ fields?: string;
25020
+ /** 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. */
25021
+ key?: string;
25022
+ /** OAuth 2.0 token for the current user. */
25023
+ oauth_token?: string;
25024
+ /** Required. The parent resource name, such as `projects/{project}/locations/{location}`. */
25025
+ parent: string;
25026
+ /** Returns response with indentations and line breaks. */
25027
+ prettyPrint?: boolean;
25028
+ /** 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. */
25029
+ quotaUser?: string;
25030
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
25031
+ upload_protocol?: string;
25032
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25033
+ uploadType?: string;
25034
+ /** Request body */
25035
+ resource: GoogleCloudNotebooklmV1alphaNotebook;
25036
+ }): Request<GoogleCloudNotebooklmV1alphaNotebook>;
25037
+ create(
25038
+ request: {
25039
+ /** V1 error format. */
25040
+ '$.xgafv'?: '1' | '2';
25041
+ /** OAuth access token. */
25042
+ access_token?: string;
25043
+ /** Data format for response. */
25044
+ alt?: 'json' | 'media' | 'proto';
25045
+ /** JSONP */
25046
+ callback?: string;
25047
+ /** Selector specifying which fields to include in a partial response. */
25048
+ fields?: string;
25049
+ /** 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. */
25050
+ key?: string;
25051
+ /** OAuth 2.0 token for the current user. */
25052
+ oauth_token?: string;
25053
+ /** Required. The parent resource name, such as `projects/{project}/locations/{location}`. */
25054
+ parent: string;
25055
+ /** Returns response with indentations and line breaks. */
25056
+ prettyPrint?: boolean;
25057
+ /** 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. */
25058
+ quotaUser?: string;
25059
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
25060
+ upload_protocol?: string;
25061
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25062
+ uploadType?: string;
25063
+ },
25064
+ body: GoogleCloudNotebooklmV1alphaNotebook,
25065
+ ): Request<GoogleCloudNotebooklmV1alphaNotebook>;
25066
+ /** Gets a notebook. */
25067
+ get(request?: {
25068
+ /** V1 error format. */
25069
+ '$.xgafv'?: '1' | '2';
25070
+ /** OAuth access token. */
25071
+ access_token?: string;
25072
+ /** Data format for response. */
25073
+ alt?: 'json' | 'media' | 'proto';
25074
+ /** JSONP */
25075
+ callback?: string;
25076
+ /** Selector specifying which fields to include in a partial response. */
25077
+ fields?: string;
25078
+ /** 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. */
25079
+ key?: string;
25080
+ /** Required. Full resource name of Notebook, such as `projects/{project}/locations/{location}/notebooks/{notebook_id}`. */
25081
+ name: string;
25082
+ /** OAuth 2.0 token for the current user. */
25083
+ oauth_token?: string;
25084
+ /** Returns response with indentations and line breaks. */
25085
+ prettyPrint?: boolean;
25086
+ /** 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. */
25087
+ quotaUser?: string;
25088
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
25089
+ upload_protocol?: string;
25090
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25091
+ uploadType?: string;
25092
+ }): Request<GoogleCloudNotebooklmV1alphaNotebook>;
25093
+ /** Lists the notebooks ordered by last view time. */
25094
+ listRecentlyViewed(request?: {
25095
+ /** V1 error format. */
25096
+ '$.xgafv'?: '1' | '2';
25097
+ /** OAuth access token. */
25098
+ access_token?: string;
25099
+ /** Data format for response. */
25100
+ alt?: 'json' | 'media' | 'proto';
25101
+ /** JSONP */
25102
+ callback?: string;
25103
+ /** Selector specifying which fields to include in a partial response. */
25104
+ fields?: string;
25105
+ /** 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. */
25106
+ key?: string;
25107
+ /** OAuth 2.0 token for the current user. */
25108
+ oauth_token?: string;
25109
+ /** 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. */
25110
+ pageSize?: number;
25111
+ /** Optional. The page token, provide this to retrieve the subsequent page. */
25112
+ pageToken?: string;
25113
+ /** Required. The parent branch resource name, such as `projects/{project}/locations/{location}`. */
25114
+ parent: string;
25115
+ /** Returns response with indentations and line breaks. */
25116
+ prettyPrint?: boolean;
25117
+ /** 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. */
25118
+ quotaUser?: string;
25119
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
25120
+ upload_protocol?: string;
25121
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25122
+ uploadType?: string;
25123
+ }): Request<GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse>;
25124
+ /** Shares a notebook to other accounts. */
25125
+ share(request: {
25126
+ /** V1 error format. */
25127
+ '$.xgafv'?: '1' | '2';
25128
+ /** OAuth access token. */
25129
+ access_token?: string;
25130
+ /** Data format for response. */
25131
+ alt?: 'json' | 'media' | 'proto';
25132
+ /** JSONP */
25133
+ callback?: string;
25134
+ /** Selector specifying which fields to include in a partial response. */
25135
+ fields?: string;
25136
+ /** 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. */
25137
+ key?: string;
25138
+ /** Required. Full resource name of Notebook, such as `projects/{project}/locations/{location}/notebooks/{notebook_id}`. */
25139
+ name: string;
25140
+ /** OAuth 2.0 token for the current user. */
25141
+ oauth_token?: string;
25142
+ /** Returns response with indentations and line breaks. */
25143
+ prettyPrint?: boolean;
25144
+ /** 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. */
25145
+ quotaUser?: string;
25146
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
25147
+ upload_protocol?: string;
25148
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25149
+ uploadType?: string;
25150
+ /** Request body */
25151
+ resource: GoogleCloudNotebooklmV1alphaShareNotebookRequest;
25152
+ }): Request<{}>;
25153
+ share(
25154
+ request: {
25155
+ /** V1 error format. */
25156
+ '$.xgafv'?: '1' | '2';
25157
+ /** OAuth access token. */
25158
+ access_token?: string;
25159
+ /** Data format for response. */
25160
+ alt?: 'json' | 'media' | 'proto';
25161
+ /** JSONP */
25162
+ callback?: string;
25163
+ /** Selector specifying which fields to include in a partial response. */
25164
+ fields?: string;
25165
+ /** 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. */
25166
+ key?: string;
25167
+ /** Required. Full resource name of Notebook, such as `projects/{project}/locations/{location}/notebooks/{notebook_id}`. */
25168
+ name: string;
25169
+ /** OAuth 2.0 token for the current user. */
25170
+ oauth_token?: string;
25171
+ /** Returns response with indentations and line breaks. */
25172
+ prettyPrint?: boolean;
25173
+ /** 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. */
25174
+ quotaUser?: string;
25175
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
25176
+ upload_protocol?: string;
25177
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25178
+ uploadType?: string;
25179
+ },
25180
+ body: GoogleCloudNotebooklmV1alphaShareNotebookRequest,
25181
+ ): Request<{}>;
24560
25182
  audioOverviews: AudioOverviewsResource;
25183
+ sources: SourcesResource;
24561
25184
  }
24562
25185
  interface OperationsResource {
24563
25186
  /** 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. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1alpha",
3
- "version": "0.3.20260908",
3
+ "version": "0.3.20260914",
4
4
  "description": "TypeScript typings for Discovery Engine API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",