@maxim_mazurok/gapi.client.discoveryengine-v1 0.1.20251007 → 0.1.20251023

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 (3) hide show
  1. package/index.d.ts +266 -50
  2. package/package.json +1 -1
  3. package/readme.md +6 -0
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=v1
12
- // Revision: 20251007
12
+ // Revision: 20251023
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -470,24 +470,6 @@ declare namespace gapi.client {
470
470
  /** Required. The enrollment status of a customer. */
471
471
  enrollState?: string;
472
472
  }
473
- interface GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig {
474
- /** Optional. The enrollment state of each alert. */
475
- alertEnrollments?: GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment[];
476
- /** Immutable. The fully qualified resource name of the AlertPolicy. */
477
- alertPolicy?: string;
478
- /** Optional. The contact details for each alert policy. */
479
- contactDetails?: GoogleCloudDiscoveryengineV1ContactDetails[];
480
- /** Optional. The language code used for notifications */
481
- languageCode?: string;
482
- }
483
- interface GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment {
484
- /** Immutable. The id of an alert. */
485
- alertId?: string;
486
- /** Required. The enrollment status of a customer. */
487
- enrollState?: string;
488
- /** Optional. Parameters used to instantiate a notification. Used for notifications that are triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user invitation emails. */
489
- notificationParams?: {[P in string]: string};
490
- }
491
473
  interface GoogleCloudDiscoveryengineV1AlloyDbSource {
492
474
  /** Required. The AlloyDB cluster to copy the data from with a length limit of 256 characters. */
493
475
  clusterId?: string;
@@ -829,6 +811,8 @@ declare namespace gapi.client {
829
811
  mimeType?: string;
830
812
  }
831
813
  interface GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent {
814
+ /** Source attribution of the generated content. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/overview#citation_check */
815
+ citationMetadata?: GoogleCloudDiscoveryengineV1alphaCitationMetadata;
832
816
  /** The content. */
833
817
  content?: GoogleCloudDiscoveryengineV1alphaAssistantContent;
834
818
  /** Metadata for grounding based on text sources. */
@@ -904,6 +888,24 @@ declare namespace gapi.client {
904
888
  /** UserLicenses successfully updated. */
905
889
  userLicenses?: GoogleCloudDiscoveryengineV1alphaUserLicense[];
906
890
  }
891
+ interface GoogleCloudDiscoveryengineV1alphaCitation {
892
+ /** Output only. End index into the content. */
893
+ endIndex?: number;
894
+ /** Output only. License of the attribution. */
895
+ license?: string;
896
+ /** Output only. Publication date of the attribution. */
897
+ publicationDate?: GoogleTypeDate;
898
+ /** Output only. Start index into the content. */
899
+ startIndex?: number;
900
+ /** Output only. Title of the attribution. */
901
+ title?: string;
902
+ /** Output only. Url reference of the attribution. */
903
+ uri?: string;
904
+ }
905
+ interface GoogleCloudDiscoveryengineV1alphaCitationMetadata {
906
+ /** Output only. List of citations. */
907
+ citations?: GoogleCloudDiscoveryengineV1alphaCitation[];
908
+ }
907
909
  interface GoogleCloudDiscoveryengineV1alphaCmekConfig {
908
910
  /** Output only. The default CmekConfig for the Customer. */
909
911
  isDefault?: boolean;
@@ -1379,6 +1381,12 @@ declare namespace gapi.client {
1379
1381
  /** Operation last update time. If the operation is done, this is also the finish time. */
1380
1382
  updateTime?: string;
1381
1383
  }
1384
+ interface GoogleCloudDiscoveryengineV1alphaDeleteUserStoreMetadata {
1385
+ /** The number of end users under the user store that failed to be deleted. */
1386
+ failureCount?: string;
1387
+ /** The number of end users under the user store that were successfully deleted. */
1388
+ successCount?: string;
1389
+ }
1382
1390
  interface GoogleCloudDiscoveryengineV1alphaDestinationConfig {
1383
1391
  /** Optional. The destinations for the corresponding key. */
1384
1392
  destinations?: GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination[];
@@ -1811,6 +1819,8 @@ declare namespace gapi.client {
1811
1819
  endDate?: GoogleTypeDate;
1812
1820
  /** Optional. Whether the license config is for free trial. */
1813
1821
  freeTrial?: boolean;
1822
+ /** Output only. Whether the license config is for Gemini bundle. */
1823
+ geminiBundle?: boolean;
1814
1824
  /** Required. Number of licenses purchased. */
1815
1825
  licenseCount?: string;
1816
1826
  /** Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}` */
@@ -1883,6 +1893,8 @@ declare namespace gapi.client {
1883
1893
  interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig {
1884
1894
  /** Model Armor configuration to be used for sanitizing user prompts and LLM responses. */
1885
1895
  modelArmorConfig?: GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
1896
+ /** Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified. */
1897
+ optOutNotebookSharing?: boolean;
1886
1898
  }
1887
1899
  interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig {
1888
1900
  /** Optional. The resource name of the Model Armor Template for sanitizing LLM responses. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the LLM response. */
@@ -2368,6 +2380,8 @@ declare namespace gapi.client {
2368
2380
  endTime?: string;
2369
2381
  /** Optional. Whether the session is pinned, pinned session will be displayed on the top of the session list. */
2370
2382
  isPinned?: boolean;
2383
+ /** Optional. The labels for the session. Can be set as filter in ListSessionsRequest. */
2384
+ labels?: string[];
2371
2385
  /** Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*` */
2372
2386
  name?: string;
2373
2387
  /** Output only. The time the session started. */
@@ -3075,6 +3089,8 @@ declare namespace gapi.client {
3075
3089
  additionalSystemInstruction?: string;
3076
3090
  }
3077
3091
  interface GoogleCloudDiscoveryengineV1AssistantGroundedContent {
3092
+ /** Source attribution of the generated content. See also https://cloud.google.com/vertex-ai/generative-ai/docs/learn/overview#citation_check */
3093
+ citationMetadata?: GoogleCloudDiscoveryengineV1CitationMetadata;
3078
3094
  /** The content. */
3079
3095
  content?: GoogleCloudDiscoveryengineV1AssistantContent;
3080
3096
  /** Metadata for grounding based on text sources. */
@@ -3215,24 +3231,6 @@ declare namespace gapi.client {
3215
3231
  /** If set true, initial indexing is disabled for the DataStore. */
3216
3232
  disableInitialIndex?: boolean;
3217
3233
  }
3218
- interface GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig {
3219
- /** Optional. The enrollment state of each alert. */
3220
- alertEnrollments?: GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment[];
3221
- /** Immutable. The fully qualified resource name of the AlertPolicy. */
3222
- alertPolicy?: string;
3223
- /** Optional. The contact details for each alert policy. */
3224
- contactDetails?: GoogleCloudDiscoveryengineV1betaContactDetails[];
3225
- /** Optional. The language code used for notifications */
3226
- languageCode?: string;
3227
- }
3228
- interface GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment {
3229
- /** Immutable. The id of an alert. */
3230
- alertId?: string;
3231
- /** Required. The enrollment status of a customer. */
3232
- enrollState?: string;
3233
- /** Optional. Parameters used to instantiate a notification. Used for notifications that are triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user invitation emails. */
3234
- notificationParams?: {[P in string]: string};
3235
- }
3236
3234
  interface GoogleCloudDiscoveryengineV1betaBatchCreateTargetSiteMetadata {
3237
3235
  /** Operation create time. */
3238
3236
  createTime?: string;
@@ -3297,10 +3295,6 @@ declare namespace gapi.client {
3297
3295
  /** Start of time range. Range is inclusive. */
3298
3296
  startTime?: string;
3299
3297
  }
3300
- interface GoogleCloudDiscoveryengineV1betaContactDetails {
3301
- /** Optional. The email address of the contact. */
3302
- emailAddress?: string;
3303
- }
3304
3298
  interface GoogleCloudDiscoveryengineV1betaControl {
3305
3299
  /** Output only. List of all ServingConfig IDs this control is attached to. May take up to 10 minutes to update after changes. */
3306
3300
  associatedServingConfigIds?: string[];
@@ -3850,14 +3844,14 @@ declare namespace gapi.client {
3850
3844
  region?: string;
3851
3845
  }
3852
3846
  interface GoogleCloudDiscoveryengineV1betaLicenseConfig {
3853
- /** Optional. The alert policy config for this license config. */
3854
- alertPolicyResourceConfig?: GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig;
3855
3847
  /** Optional. Whether the license config should be auto renewed when it reaches the end date. */
3856
3848
  autoRenew?: boolean;
3857
3849
  /** Optional. The planed end date. */
3858
3850
  endDate?: GoogleTypeDate;
3859
3851
  /** Optional. Whether the license config is for free trial. */
3860
3852
  freeTrial?: boolean;
3853
+ /** Output only. Whether the license config is for Gemini bundle. */
3854
+ geminiBundle?: boolean;
3861
3855
  /** Required. Number of licenses purchased. */
3862
3856
  licenseCount?: string;
3863
3857
  /** Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}` */
@@ -3912,6 +3906,8 @@ declare namespace gapi.client {
3912
3906
  interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig {
3913
3907
  /** Model Armor configuration to be used for sanitizing user prompts and LLM responses. */
3914
3908
  modelArmorConfig?: GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
3909
+ /** Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified. */
3910
+ optOutNotebookSharing?: boolean;
3915
3911
  }
3916
3912
  interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig {
3917
3913
  /** Optional. The resource name of the Model Armor Template for sanitizing LLM responses. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the LLM response. */
@@ -4413,6 +4409,18 @@ declare namespace gapi.client {
4413
4409
  /** Optional. The user profile. We user user full name(First name + Last name) as user profile. */
4414
4410
  userProfile?: string;
4415
4411
  }
4412
+ interface GoogleCloudDiscoveryengineV1betaUserStore {
4413
+ /** Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be assigned with license and will be blocked for Vertex AI Search features. This is used if `license_assignment_tier_rules` is not configured. */
4414
+ defaultLicenseConfig?: string;
4415
+ /** The display name of the User Store. */
4416
+ displayName?: string;
4417
+ /** Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left. */
4418
+ enableExpiredLicenseAutoUpdate?: boolean;
4419
+ /** Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left. */
4420
+ enableLicenseAutoRegister?: boolean;
4421
+ /** Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
4422
+ name?: string;
4423
+ }
4416
4424
  interface GoogleCloudDiscoveryengineV1betaWorkspaceConfig {
4417
4425
  /** Obfuscated Dasher customer ID. */
4418
4426
  dasherCustomerId?: string;
@@ -4577,6 +4585,24 @@ declare namespace gapi.client {
4577
4585
  /** Output only. The structure type of the structured content. */
4578
4586
  structureType?: string;
4579
4587
  }
4588
+ interface GoogleCloudDiscoveryengineV1Citation {
4589
+ /** Output only. End index into the content. */
4590
+ endIndex?: number;
4591
+ /** Output only. License of the attribution. */
4592
+ license?: string;
4593
+ /** Output only. Publication date of the attribution. */
4594
+ publicationDate?: GoogleTypeDate;
4595
+ /** Output only. Start index into the content. */
4596
+ startIndex?: number;
4597
+ /** Output only. Title of the attribution. */
4598
+ title?: string;
4599
+ /** Output only. Url reference of the attribution. */
4600
+ uri?: string;
4601
+ }
4602
+ interface GoogleCloudDiscoveryengineV1CitationMetadata {
4603
+ /** Output only. List of citations. */
4604
+ citations?: GoogleCloudDiscoveryengineV1Citation[];
4605
+ }
4580
4606
  interface GoogleCloudDiscoveryengineV1CloudSqlSource {
4581
4607
  /** Required. The Cloud SQL database to copy the data from with a length limit of 256 characters. */
4582
4608
  databaseId?: string;
@@ -4671,10 +4697,6 @@ declare namespace gapi.client {
4671
4697
  /** Start of time range. Range is inclusive. */
4672
4698
  startTime?: string;
4673
4699
  }
4674
- interface GoogleCloudDiscoveryengineV1ContactDetails {
4675
- /** Optional. The email address of the contact. */
4676
- emailAddress?: string;
4677
- }
4678
4700
  interface GoogleCloudDiscoveryengineV1Control {
4679
4701
  /** Output only. List of all ServingConfig IDs this control is attached to. May take up to 10 minutes to update after changes. */
4680
4702
  associatedServingConfigIds?: string[];
@@ -5629,14 +5651,14 @@ declare namespace gapi.client {
5629
5651
  minimum?: number;
5630
5652
  }
5631
5653
  interface GoogleCloudDiscoveryengineV1LicenseConfig {
5632
- /** Optional. The alert policy config for this license config. */
5633
- alertPolicyResourceConfig?: GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig;
5634
5654
  /** Optional. Whether the license config should be auto renewed when it reaches the end date. */
5635
5655
  autoRenew?: boolean;
5636
5656
  /** Optional. The planed end date. */
5637
5657
  endDate?: GoogleTypeDate;
5638
5658
  /** Optional. Whether the license config is for free trial. */
5639
5659
  freeTrial?: boolean;
5660
+ /** Output only. Whether the license config is for Gemini bundle. */
5661
+ geminiBundle?: boolean;
5640
5662
  /** Required. Number of licenses purchased. */
5641
5663
  licenseCount?: string;
5642
5664
  /** Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}` */
@@ -5783,6 +5805,8 @@ declare namespace gapi.client {
5783
5805
  interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig {
5784
5806
  /** Model Armor configuration to be used for sanitizing user prompts and LLM responses. */
5785
5807
  modelArmorConfig?: GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
5808
+ /** Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified. */
5809
+ optOutNotebookSharing?: boolean;
5786
5810
  }
5787
5811
  interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig {
5788
5812
  /** Optional. The resource name of the Model Armor Template for sanitizing LLM responses. Format: projects/{project}/locations/{location}/templates/{template_id} If not specified, no sanitization will be applied to the LLM response. */
@@ -6468,6 +6492,8 @@ declare namespace gapi.client {
6468
6492
  endTime?: string;
6469
6493
  /** Optional. Whether the session is pinned, pinned session will be displayed on the top of the session list. */
6470
6494
  isPinned?: boolean;
6495
+ /** Optional. The labels for the session. Can be set as filter in ListSessionsRequest. */
6496
+ labels?: string[];
6471
6497
  /** Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*` */
6472
6498
  name?: string;
6473
6499
  /** Output only. The time the session started. */
@@ -6574,7 +6600,7 @@ declare namespace gapi.client {
6574
6600
  answer?: GoogleCloudDiscoveryengineV1AssistAnswer;
6575
6601
  /** A global unique ID that identifies the current pair of request and stream of responses. Used for feedback and support. */
6576
6602
  assistToken?: string;
6577
- /** Session information. */
6603
+ /** Session information. Only included in the final StreamAssistResponse of the response stream. */
6578
6604
  sessionInfo?: GoogleCloudDiscoveryengineV1StreamAssistResponseSessionInfo;
6579
6605
  }
6580
6606
  interface GoogleCloudDiscoveryengineV1StreamAssistResponseSessionInfo {
@@ -6771,6 +6797,18 @@ declare namespace gapi.client {
6771
6797
  /** Optional. The user profile. We user user full name(First name + Last name) as user profile. */
6772
6798
  userProfile?: string;
6773
6799
  }
6800
+ interface GoogleCloudDiscoveryengineV1UserStore {
6801
+ /** Optional. The default subscription LicenseConfig for the UserStore, if UserStore.enable_license_auto_register is true, new users will automatically register under the default subscription. If default LicenseConfig doesn't have remaining license seats left, new users will not be assigned with license and will be blocked for Vertex AI Search features. This is used if `license_assignment_tier_rules` is not configured. */
6802
+ defaultLicenseConfig?: string;
6803
+ /** The display name of the User Store. */
6804
+ displayName?: string;
6805
+ /** Optional. Whether to enable license auto update for users in this User Store. If true, users with expired licenses will automatically be updated to use the default license config as long as the default license config has seats left. */
6806
+ enableExpiredLicenseAutoUpdate?: boolean;
6807
+ /** Optional. Whether to enable license auto register for users in this User Store. If true, new users will automatically register under the default license config as long as the default license config has seats left. */
6808
+ enableLicenseAutoRegister?: boolean;
6809
+ /** Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
6810
+ name?: string;
6811
+ }
6774
6812
  interface GoogleCloudDiscoveryengineV1WorkspaceConfig {
6775
6813
  /** Obfuscated Dasher customer ID. */
6776
6814
  dasherCustomerId?: string;
@@ -16861,6 +16899,184 @@ declare namespace gapi.client {
16861
16899
  },
16862
16900
  body: GoogleCloudDiscoveryengineV1BatchUpdateUserLicensesRequest,
16863
16901
  ): Request<GoogleLongrunningOperation>;
16902
+ /** Creates a new User Store. */
16903
+ create(request: {
16904
+ /** V1 error format. */
16905
+ '$.xgafv'?: string;
16906
+ /** OAuth access token. */
16907
+ access_token?: string;
16908
+ /** Data format for response. */
16909
+ alt?: string;
16910
+ /** JSONP */
16911
+ callback?: string;
16912
+ /** Selector specifying which fields to include in a partial response. */
16913
+ fields?: string;
16914
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
16915
+ key?: string;
16916
+ /** OAuth 2.0 token for the current user. */
16917
+ oauth_token?: string;
16918
+ /** Required. The parent collection resource name, such as `projects/{project}/locations/{location}`. */
16919
+ parent: string;
16920
+ /** Returns response with indentations and line breaks. */
16921
+ prettyPrint?: boolean;
16922
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
16923
+ quotaUser?: string;
16924
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16925
+ upload_protocol?: string;
16926
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16927
+ uploadType?: string;
16928
+ /** Required. The ID of the User Store to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters. */
16929
+ userStoreId?: string;
16930
+ /** Request body */
16931
+ resource: GoogleCloudDiscoveryengineV1UserStore;
16932
+ }): Request<GoogleCloudDiscoveryengineV1UserStore>;
16933
+ create(
16934
+ request: {
16935
+ /** V1 error format. */
16936
+ '$.xgafv'?: string;
16937
+ /** OAuth access token. */
16938
+ access_token?: string;
16939
+ /** Data format for response. */
16940
+ alt?: string;
16941
+ /** JSONP */
16942
+ callback?: string;
16943
+ /** Selector specifying which fields to include in a partial response. */
16944
+ fields?: string;
16945
+ /** 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. */
16946
+ key?: string;
16947
+ /** OAuth 2.0 token for the current user. */
16948
+ oauth_token?: string;
16949
+ /** Required. The parent collection resource name, such as `projects/{project}/locations/{location}`. */
16950
+ parent: string;
16951
+ /** Returns response with indentations and line breaks. */
16952
+ prettyPrint?: boolean;
16953
+ /** 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. */
16954
+ quotaUser?: string;
16955
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16956
+ upload_protocol?: string;
16957
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16958
+ uploadType?: string;
16959
+ /** Required. The ID of the User Store to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 63 characters. */
16960
+ userStoreId?: string;
16961
+ },
16962
+ body: GoogleCloudDiscoveryengineV1UserStore,
16963
+ ): Request<GoogleCloudDiscoveryengineV1UserStore>;
16964
+ /** Deletes the User Store. */
16965
+ delete(request?: {
16966
+ /** V1 error format. */
16967
+ '$.xgafv'?: string;
16968
+ /** OAuth access token. */
16969
+ access_token?: string;
16970
+ /** Data format for response. */
16971
+ alt?: string;
16972
+ /** JSONP */
16973
+ callback?: string;
16974
+ /** Selector specifying which fields to include in a partial response. */
16975
+ fields?: string;
16976
+ /** 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. */
16977
+ key?: string;
16978
+ /** Required. The name of the User Store to delete. Format: `projects/{project}/locations/{location}/userStores/{user_store_id}` */
16979
+ name: string;
16980
+ /** OAuth 2.0 token for the current user. */
16981
+ oauth_token?: string;
16982
+ /** Returns response with indentations and line breaks. */
16983
+ prettyPrint?: boolean;
16984
+ /** 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. */
16985
+ quotaUser?: string;
16986
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16987
+ upload_protocol?: string;
16988
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16989
+ uploadType?: string;
16990
+ }): Request<GoogleLongrunningOperation>;
16991
+ /** Gets the User Store. */
16992
+ get(request?: {
16993
+ /** V1 error format. */
16994
+ '$.xgafv'?: string;
16995
+ /** OAuth access token. */
16996
+ access_token?: string;
16997
+ /** Data format for response. */
16998
+ alt?: string;
16999
+ /** JSONP */
17000
+ callback?: string;
17001
+ /** Selector specifying which fields to include in a partial response. */
17002
+ fields?: string;
17003
+ /** 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. */
17004
+ key?: string;
17005
+ /** Required. The name of the User Store to get. Format: `projects/{project}/locations/{location}/userStores/{user_store_id}` */
17006
+ name: string;
17007
+ /** OAuth 2.0 token for the current user. */
17008
+ oauth_token?: string;
17009
+ /** Returns response with indentations and line breaks. */
17010
+ prettyPrint?: boolean;
17011
+ /** 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. */
17012
+ quotaUser?: string;
17013
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
17014
+ upload_protocol?: string;
17015
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17016
+ uploadType?: string;
17017
+ }): Request<GoogleCloudDiscoveryengineV1UserStore>;
17018
+ /** Updates the User Store. */
17019
+ patch(request: {
17020
+ /** V1 error format. */
17021
+ '$.xgafv'?: string;
17022
+ /** OAuth access token. */
17023
+ access_token?: string;
17024
+ /** Data format for response. */
17025
+ alt?: string;
17026
+ /** JSONP */
17027
+ callback?: string;
17028
+ /** Selector specifying which fields to include in a partial response. */
17029
+ fields?: string;
17030
+ /** 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. */
17031
+ key?: string;
17032
+ /** Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
17033
+ name: string;
17034
+ /** OAuth 2.0 token for the current user. */
17035
+ oauth_token?: string;
17036
+ /** Returns response with indentations and line breaks. */
17037
+ prettyPrint?: boolean;
17038
+ /** 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. */
17039
+ quotaUser?: string;
17040
+ /** Optional. The list of fields to update. */
17041
+ updateMask?: string;
17042
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
17043
+ upload_protocol?: string;
17044
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17045
+ uploadType?: string;
17046
+ /** Request body */
17047
+ resource: GoogleCloudDiscoveryengineV1UserStore;
17048
+ }): Request<GoogleCloudDiscoveryengineV1UserStore>;
17049
+ patch(
17050
+ request: {
17051
+ /** V1 error format. */
17052
+ '$.xgafv'?: string;
17053
+ /** OAuth access token. */
17054
+ access_token?: string;
17055
+ /** Data format for response. */
17056
+ alt?: string;
17057
+ /** JSONP */
17058
+ callback?: string;
17059
+ /** Selector specifying which fields to include in a partial response. */
17060
+ fields?: string;
17061
+ /** 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. */
17062
+ key?: string;
17063
+ /** Immutable. The full resource name of the User Store, in the format of `projects/{project}/locations/{location}/userStores/{user_store}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
17064
+ name: string;
17065
+ /** OAuth 2.0 token for the current user. */
17066
+ oauth_token?: string;
17067
+ /** Returns response with indentations and line breaks. */
17068
+ prettyPrint?: boolean;
17069
+ /** 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. */
17070
+ quotaUser?: string;
17071
+ /** Optional. The list of fields to update. */
17072
+ updateMask?: string;
17073
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
17074
+ upload_protocol?: string;
17075
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17076
+ uploadType?: string;
17077
+ },
17078
+ body: GoogleCloudDiscoveryengineV1UserStore,
17079
+ ): Request<GoogleCloudDiscoveryengineV1UserStore>;
16864
17080
  userLicenses: UserLicensesResource;
16865
17081
  }
16866
17082
  interface LocationsResource {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1",
3
- "version": "0.1.20251007",
3
+ "version": "0.1.20251023",
4
4
  "description": "TypeScript typings for Discovery Engine API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -53,6 +53,12 @@ var client_id = '',
53
53
 
54
54
  // See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
55
55
  'https://www.googleapis.com/auth/cloud-platform',
56
+
57
+ // View your Agentspace chat history, including uploaded files and generated reports and visualizations, and interact with the Agentspace assistant on your behalf.
58
+ 'https://www.googleapis.com/auth/discoveryengine.assist.readwrite',
59
+
60
+ // View, edit, create, and delete all your data associated with any Discovery Engine API product, such as Agentspace, Vertex AI Search, or NotebookLM Enterprise, including both end user data and administration or configuration data.
61
+ 'https://www.googleapis.com/auth/discoveryengine.readwrite',
56
62
  ],
57
63
  immediate = true;
58
64
  // ...