@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.1.20250925 → 0.1.20251007

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 +422 -10
  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=v1beta
12
- // Revision: 20250925
12
+ // Revision: 20251007
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -372,6 +372,24 @@ declare namespace gapi.client {
372
372
  /** Required. The enrollment status of a customer. */
373
373
  enrollState?: string;
374
374
  }
375
+ interface GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig {
376
+ /** Optional. The enrollment state of each alert. */
377
+ alertEnrollments?: GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment[];
378
+ /** Immutable. The fully qualified resource name of the AlertPolicy. */
379
+ alertPolicy?: string;
380
+ /** Optional. The contact details for each alert policy. */
381
+ contactDetails?: GoogleCloudDiscoveryengineV1ContactDetails[];
382
+ /** Optional. The language code used for notifications */
383
+ languageCode?: string;
384
+ }
385
+ interface GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment {
386
+ /** Immutable. The id of an alert. */
387
+ alertId?: string;
388
+ /** Required. The enrollment status of a customer. */
389
+ enrollState?: string;
390
+ /** 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. */
391
+ notificationParams?: {[P in string]: string};
392
+ }
375
393
  interface GoogleCloudDiscoveryengineV1alphaAclConfig {
376
394
  /** Identity provider config. */
377
395
  idpConfig?: GoogleCloudDiscoveryengineV1alphaIdpConfig;
@@ -408,6 +426,24 @@ declare namespace gapi.client {
408
426
  /** Required. The enrollment status of a customer. */
409
427
  enrollState?: string;
410
428
  }
429
+ interface GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig {
430
+ /** Optional. The enrollment state of each alert. */
431
+ alertEnrollments?: GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment[];
432
+ /** Immutable. The fully qualified resource name of the AlertPolicy. */
433
+ alertPolicy?: string;
434
+ /** Optional. The contact details for each alert policy. */
435
+ contactDetails?: GoogleCloudDiscoveryengineV1alphaContactDetails[];
436
+ /** Optional. The language code used for notifications */
437
+ languageCode?: string;
438
+ }
439
+ interface GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment {
440
+ /** Immutable. The id of an alert. */
441
+ alertId?: string;
442
+ /** Required. The enrollment status of a customer. */
443
+ enrollState?: string;
444
+ /** 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. */
445
+ notificationParams?: {[P in string]: string};
446
+ }
411
447
  interface GoogleCloudDiscoveryengineV1alphaAnswer {
412
448
  /** Additional answer-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set. */
413
449
  answerSkippedReasons?: string[];
@@ -602,6 +638,128 @@ declare namespace gapi.client {
602
638
  /** The query to search. */
603
639
  query?: string;
604
640
  }
641
+ interface GoogleCloudDiscoveryengineV1alphaAssistAnswer {
642
+ /** Reasons for not answering the assist call. */
643
+ assistSkippedReasons?: string[];
644
+ /** Optional. The field contains information about the various policy checks' results like the banned phrases or the Model Armor checks. This field is populated only if the assist call was skipped due to a policy violation. */
645
+ customerPolicyEnforcementResult?: GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult;
646
+ /** Immutable. Identifier. Resource name of the `AssistAnswer`. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}` This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
647
+ name?: string;
648
+ /** Replies of the assistant. */
649
+ replies?: GoogleCloudDiscoveryengineV1alphaAssistAnswerReply[];
650
+ /** State of the answer generation. */
651
+ state?: string;
652
+ }
653
+ interface GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult {
654
+ /** Customer policy enforcement results. Populated only if the assist call was skipped due to a policy violation. It contains results from those filters that blocked the processing of the query. */
655
+ policyResults?: GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult[];
656
+ /** Final verdict of the customer policy enforcement. If only one policy blocked the processing, the verdict is BLOCK. */
657
+ verdict?: string;
658
+ }
659
+ interface GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult {
660
+ /** The banned phrases that were found in the query or the answer. */
661
+ bannedPhrases?: string[];
662
+ }
663
+ interface GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult {
664
+ /** The error returned by Model Armor if the policy enforcement failed for some reason. */
665
+ error?: GoogleRpcStatus;
666
+ /** The Model Armor violation that was found. */
667
+ modelArmorViolation?: string;
668
+ }
669
+ interface GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult {
670
+ /** The policy enforcement result for the banned phrase policy. */
671
+ bannedPhraseEnforcementResult?: GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult;
672
+ /** The policy enforcement result for the Model Armor policy. */
673
+ modelArmorEnforcementResult?: GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult;
674
+ }
675
+ interface GoogleCloudDiscoveryengineV1alphaAssistAnswerReply {
676
+ /** Possibly grounded response text or media from the assistant. */
677
+ groundedContent?: GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent;
678
+ /** Output only. When set, uniquely identifies a reply within the `AssistAnswer` resource. During an AssistantService.StreamAssist call, multiple `Reply` messages with the same ID can occur within the response stream (across multiple AssistantService.StreamAssistResponse messages). These represent parts of a single `Reply` message in the final `AssistAnswer` resource. */
679
+ replyId?: string;
680
+ }
681
+ interface GoogleCloudDiscoveryengineV1alphaAssistantContent {
682
+ /** Result of executing an ExecutableCode. */
683
+ codeExecutionResult?: GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult;
684
+ /** Code generated by the model that is meant to be executed. */
685
+ executableCode?: GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode;
686
+ /** A file, e.g., an audio summary. */
687
+ file?: GoogleCloudDiscoveryengineV1alphaAssistantContentFile;
688
+ /** Inline binary data. */
689
+ inlineData?: GoogleCloudDiscoveryengineV1alphaAssistantContentBlob;
690
+ /** The producer of the content. Can be "model" or "user". */
691
+ role?: string;
692
+ /** Inline text. */
693
+ text?: string;
694
+ /** Optional. Indicates if the part is thought from the model. */
695
+ thought?: boolean;
696
+ }
697
+ interface GoogleCloudDiscoveryengineV1alphaAssistantContentBlob {
698
+ /** Required. Raw bytes. */
699
+ data?: string;
700
+ /** Required. The media type (MIME type) of the generated data. */
701
+ mimeType?: string;
702
+ }
703
+ interface GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult {
704
+ /** Required. Outcome of the code execution. */
705
+ outcome?: string;
706
+ /** Optional. Contains stdout when code execution is successful, stderr or other description otherwise. */
707
+ output?: string;
708
+ }
709
+ interface GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode {
710
+ /** Required. The code content. Currently only supports Python. */
711
+ code?: string;
712
+ }
713
+ interface GoogleCloudDiscoveryengineV1alphaAssistantContentFile {
714
+ /** Required. The file ID. */
715
+ fileId?: string;
716
+ /** Required. The media type (MIME type) of the file. */
717
+ mimeType?: string;
718
+ }
719
+ interface GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent {
720
+ /** The content. */
721
+ content?: GoogleCloudDiscoveryengineV1alphaAssistantContent;
722
+ /** Metadata for grounding based on text sources. */
723
+ textGroundingMetadata?: GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata;
724
+ }
725
+ interface GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata {
726
+ /** References for the grounded text. */
727
+ references?: GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference[];
728
+ /** Grounding information for parts of the text. */
729
+ segments?: GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment[];
730
+ }
731
+ interface GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference {
732
+ /** Referenced text content. */
733
+ content?: string;
734
+ /** Document metadata. */
735
+ documentMetadata?: GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata;
736
+ }
737
+ interface GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata {
738
+ /** Document resource name. */
739
+ document?: string;
740
+ /** Domain name from the document URI. Note that the `uri` field may contain a URL that redirects to the actual website, in which case this will contain the domain name of the target site. */
741
+ domain?: string;
742
+ /** The mime type of the document. https://www.iana.org/assignments/media-types/media-types.xhtml. */
743
+ mimeType?: string;
744
+ /** Page identifier. */
745
+ pageIdentifier?: string;
746
+ /** Title. */
747
+ title?: string;
748
+ /** URI for the document. It may contain a URL that redirects to the actual website. */
749
+ uri?: string;
750
+ }
751
+ interface GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment {
752
+ /** End of the segment, exclusive. */
753
+ endIndex?: string;
754
+ /** Score for the segment. */
755
+ groundingScore?: number;
756
+ /** References for the segment. */
757
+ referenceIndices?: number[];
758
+ /** Zero-based index indicating the start of the segment, measured in bytes of a UTF-8 string (i.e. characters encoded on multiple bytes have a length of more than one). */
759
+ startIndex?: string;
760
+ /** The text segment itself. */
761
+ text?: string;
762
+ }
605
763
  interface GoogleCloudDiscoveryengineV1alphaBAPConfig {
606
764
  /** Optional. The actions enabled on the associated BAP connection. */
607
765
  enabledActions?: string[];
@@ -738,6 +896,10 @@ declare namespace gapi.client {
738
896
  /** The total. */
739
897
  totalCount?: string;
740
898
  }
899
+ interface GoogleCloudDiscoveryengineV1alphaContactDetails {
900
+ /** Optional. The email address of the contact. */
901
+ emailAddress?: string;
902
+ }
741
903
  interface GoogleCloudDiscoveryengineV1alphaControl {
742
904
  /** Output only. List of all ServingConfig IDs this control is attached to. May take up to 10 minutes to update after changes. */
743
905
  associatedServingConfigIds?: string[];
@@ -986,7 +1148,7 @@ declare namespace gapi.client {
986
1148
  billingEstimation?: GoogleCloudDiscoveryengineV1alphaDataStoreBillingEstimation;
987
1149
  /** Output only. CMEK-related information for the DataStore. */
988
1150
  cmekConfig?: GoogleCloudDiscoveryengineV1alphaCmekConfig;
989
- /** Optional. Configuration for configurable billing approach. See go/vais-repricing-billing-dd for more details, only apply to non-Spark UCS Search. */
1151
+ /** Optional. Configuration for configurable billing approach. See */
990
1152
  configurableBillingApproach?: string;
991
1153
  /** Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT. */
992
1154
  contentConfig?: string;
@@ -1197,7 +1359,7 @@ declare namespace gapi.client {
1197
1359
  chatEngineMetadata?: GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata;
1198
1360
  /** Common config spec that specifies the metadata of the engine. */
1199
1361
  commonConfig?: GoogleCloudDiscoveryengineV1alphaEngineCommonConfig;
1200
- /** Optional. Configuration for configurable billing approach. See go/vais-repricing-billing-dd for more details. */
1362
+ /** Optional. Configuration for configurable billing approach. */
1201
1363
  configurableBillingApproach?: string;
1202
1364
  /** Output only. Timestamp the Recommendation Engine was created at. */
1203
1365
  createTime?: string;
@@ -1207,7 +1369,7 @@ declare namespace gapi.client {
1207
1369
  disableAnalytics?: boolean;
1208
1370
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
1209
1371
  displayName?: string;
1210
- /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` */
1372
+ /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` */
1211
1373
  features?: {[P in string]: string};
1212
1374
  /** Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. */
1213
1375
  industryVertical?: string;
@@ -1528,6 +1690,28 @@ declare namespace gapi.client {
1528
1690
  /** Output only. Region part of normalized_language_code, if present. E.g.: `en-US` -> `US`, `zh-Hans-HK` -> `HK`, `en` -> ``. */
1529
1691
  region?: string;
1530
1692
  }
1693
+ interface GoogleCloudDiscoveryengineV1alphaLicenseConfig {
1694
+ /** Optional. The alert policy config for this license config. */
1695
+ alertPolicyResourceConfig?: GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig;
1696
+ /** Optional. Whether the license config should be auto renewed when it reaches the end date. */
1697
+ autoRenew?: boolean;
1698
+ /** Optional. The planed end date. */
1699
+ endDate?: GoogleTypeDate;
1700
+ /** Optional. Whether the license config is for free trial. */
1701
+ freeTrial?: boolean;
1702
+ /** Required. Number of licenses purchased. */
1703
+ licenseCount?: string;
1704
+ /** Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}` */
1705
+ name?: string;
1706
+ /** Required. The start date. */
1707
+ startDate?: GoogleTypeDate;
1708
+ /** Output only. The state of the license config. */
1709
+ state?: string;
1710
+ /** Required. Subscription term. */
1711
+ subscriptionTerm?: string;
1712
+ /** Required. Subscription tier information for the license config. */
1713
+ subscriptionTier?: string;
1714
+ }
1531
1715
  interface GoogleCloudDiscoveryengineV1alphaListSessionsRequest {
1532
1716
  /** A comma-separated list of fields to filter by, in EBNF grammar. The supported fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `is_pinned` * `labels` * `create_time` * `update_time` Examples: * `user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = true` * `is_pinned=true AND (NOT labels:hidden)` * `create_time > "1970-01-01T12:00:00Z"` */
1533
1717
  filter?: string;
@@ -2088,6 +2272,8 @@ declare namespace gapi.client {
2088
2272
  answer?: string;
2089
2273
  /** Output only. In ConversationalSearchService.GetSession API, if GetSessionRequest.include_answer_details is set to true, this field will be populated when getting answer query session. */
2090
2274
  detailedAnswer?: GoogleCloudDiscoveryengineV1alphaAnswer;
2275
+ /** Output only. In ConversationalSearchService.GetSession API, if GetSessionRequest.include_answer_details is set to true, this field will be populated when getting assistant session. */
2276
+ detailedAssistAnswer?: GoogleCloudDiscoveryengineV1alphaAssistAnswer;
2091
2277
  /** Optional. The user query. May not be set if this turn is merely regenerating an answer to a different turn */
2092
2278
  query?: GoogleCloudDiscoveryengineV1alphaQuery;
2093
2279
  /** Optional. Represents metadata related to the query config, for example LLM model and version used, model parameters (temperature, grounding parameters, etc.). The prefix "google." is reserved for Google-developed functionality. */
@@ -2476,6 +2662,24 @@ declare namespace gapi.client {
2476
2662
  /** If set true, initial indexing is disabled for the DataStore. */
2477
2663
  disableInitialIndex?: boolean;
2478
2664
  }
2665
+ interface GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig {
2666
+ /** Optional. The enrollment state of each alert. */
2667
+ alertEnrollments?: GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment[];
2668
+ /** Immutable. The fully qualified resource name of the AlertPolicy. */
2669
+ alertPolicy?: string;
2670
+ /** Optional. The contact details for each alert policy. */
2671
+ contactDetails?: GoogleCloudDiscoveryengineV1betaContactDetails[];
2672
+ /** Optional. The language code used for notifications */
2673
+ languageCode?: string;
2674
+ }
2675
+ interface GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment {
2676
+ /** Immutable. The id of an alert. */
2677
+ alertId?: string;
2678
+ /** Required. The enrollment status of a customer. */
2679
+ enrollState?: string;
2680
+ /** 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. */
2681
+ notificationParams?: {[P in string]: string};
2682
+ }
2479
2683
  interface GoogleCloudDiscoveryengineV1betaAlloyDbSource {
2480
2684
  /** Required. The AlloyDB cluster to copy the data from with a length limit of 256 characters. */
2481
2685
  clusterId?: string;
@@ -3399,6 +3603,10 @@ declare namespace gapi.client {
3399
3603
  /** Start of time range. Range is inclusive. */
3400
3604
  startTime?: string;
3401
3605
  }
3606
+ interface GoogleCloudDiscoveryengineV1betaContactDetails {
3607
+ /** Optional. The email address of the contact. */
3608
+ emailAddress?: string;
3609
+ }
3402
3610
  interface GoogleCloudDiscoveryengineV1betaControl {
3403
3611
  /** Output only. List of all ServingConfig IDs this control is attached to. May take up to 10 minutes to update after changes. */
3404
3612
  associatedServingConfigIds?: string[];
@@ -3601,7 +3809,7 @@ declare namespace gapi.client {
3601
3809
  billingEstimation?: GoogleCloudDiscoveryengineV1betaDataStoreBillingEstimation;
3602
3810
  /** Output only. CMEK-related information for the DataStore. */
3603
3811
  cmekConfig?: GoogleCloudDiscoveryengineV1betaCmekConfig;
3604
- /** Optional. Configuration for configurable billing approach. See go/vais-repricing-billing-dd for more details, only apply to non-Spark UCS Search. */
3812
+ /** Optional. Configuration for configurable billing approach. See */
3605
3813
  configurableBillingApproach?: string;
3606
3814
  /** Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT. */
3607
3815
  contentConfig?: string;
@@ -3854,7 +4062,7 @@ declare namespace gapi.client {
3854
4062
  chatEngineMetadata?: GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata;
3855
4063
  /** Common config spec that specifies the metadata of the engine. */
3856
4064
  commonConfig?: GoogleCloudDiscoveryengineV1betaEngineCommonConfig;
3857
- /** Optional. Configuration for configurable billing approach. See go/vais-repricing-billing-dd for more details. */
4065
+ /** Optional. Configuration for configurable billing approach. */
3858
4066
  configurableBillingApproach?: string;
3859
4067
  /** Output only. Timestamp the Recommendation Engine was created at. */
3860
4068
  createTime?: string;
@@ -3864,7 +4072,7 @@ declare namespace gapi.client {
3864
4072
  disableAnalytics?: boolean;
3865
4073
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
3866
4074
  displayName?: string;
3867
- /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` */
4075
+ /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` */
3868
4076
  features?: {[P in string]: string};
3869
4077
  /** Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. */
3870
4078
  industryVertical?: string;
@@ -4285,6 +4493,28 @@ declare namespace gapi.client {
4285
4493
  /** Output only. Region part of normalized_language_code, if present. E.g.: `en-US` -> `US`, `zh-Hans-HK` -> `HK`, `en` -> ``. */
4286
4494
  region?: string;
4287
4495
  }
4496
+ interface GoogleCloudDiscoveryengineV1betaLicenseConfig {
4497
+ /** Optional. The alert policy config for this license config. */
4498
+ alertPolicyResourceConfig?: GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig;
4499
+ /** Optional. Whether the license config should be auto renewed when it reaches the end date. */
4500
+ autoRenew?: boolean;
4501
+ /** Optional. The planed end date. */
4502
+ endDate?: GoogleTypeDate;
4503
+ /** Optional. Whether the license config is for free trial. */
4504
+ freeTrial?: boolean;
4505
+ /** Required. Number of licenses purchased. */
4506
+ licenseCount?: string;
4507
+ /** Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}` */
4508
+ name?: string;
4509
+ /** Required. The start date. */
4510
+ startDate?: GoogleTypeDate;
4511
+ /** Output only. The state of the license config. */
4512
+ state?: string;
4513
+ /** Required. Subscription term. */
4514
+ subscriptionTerm?: string;
4515
+ /** Required. Subscription tier information for the license config. */
4516
+ subscriptionTier?: string;
4517
+ }
4288
4518
  interface GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse {
4289
4519
  /** All the customer's CmekConfigs. */
4290
4520
  cmekConfigs?: GoogleCloudDiscoveryengineV1betaCmekConfig[];
@@ -5423,6 +5653,8 @@ declare namespace gapi.client {
5423
5653
  answer?: string;
5424
5654
  /** Output only. In ConversationalSearchService.GetSession API, if GetSessionRequest.include_answer_details is set to true, this field will be populated when getting answer query session. */
5425
5655
  detailedAnswer?: GoogleCloudDiscoveryengineV1betaAnswer;
5656
+ /** Output only. In ConversationalSearchService.GetSession API, if GetSessionRequest.include_answer_details is set to true, this field will be populated when getting assistant session. */
5657
+ detailedAssistAnswer?: GoogleCloudDiscoveryengineV1betaAssistAnswer;
5426
5658
  /** Optional. The user query. May not be set if this turn is merely regenerating an answer to a different turn */
5427
5659
  query?: GoogleCloudDiscoveryengineV1betaQuery;
5428
5660
  /** Optional. Represents metadata related to the query config, for example LLM model and version used, model parameters (temperature, grounding parameters, etc.). The prefix "google." is reserved for Google-developed functionality. */
@@ -5771,6 +6003,10 @@ declare namespace gapi.client {
5771
6003
  /** Start of time range. Range is inclusive. */
5772
6004
  startTime?: string;
5773
6005
  }
6006
+ interface GoogleCloudDiscoveryengineV1ContactDetails {
6007
+ /** Optional. The email address of the contact. */
6008
+ emailAddress?: string;
6009
+ }
5774
6010
  interface GoogleCloudDiscoveryengineV1Control {
5775
6011
  /** Output only. List of all ServingConfig IDs this control is attached to. May take up to 10 minutes to update after changes. */
5776
6012
  associatedServingConfigIds?: string[];
@@ -6010,7 +6246,7 @@ declare namespace gapi.client {
6010
6246
  billingEstimation?: GoogleCloudDiscoveryengineV1DataStoreBillingEstimation;
6011
6247
  /** Output only. CMEK-related information for the DataStore. */
6012
6248
  cmekConfig?: GoogleCloudDiscoveryengineV1CmekConfig;
6013
- /** Optional. Configuration for configurable billing approach. See go/vais-repricing-billing-dd for more details, only apply to non-Spark UCS Search. */
6249
+ /** Optional. Configuration for configurable billing approach. See */
6014
6250
  configurableBillingApproach?: string;
6015
6251
  /** Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT. */
6016
6252
  contentConfig?: string;
@@ -6201,7 +6437,7 @@ declare namespace gapi.client {
6201
6437
  chatEngineMetadata?: GoogleCloudDiscoveryengineV1EngineChatEngineMetadata;
6202
6438
  /** Common config spec that specifies the metadata of the engine. */
6203
6439
  commonConfig?: GoogleCloudDiscoveryengineV1EngineCommonConfig;
6204
- /** Optional. Configuration for configurable billing approach. See go/vais-repricing-billing-dd for more details. */
6440
+ /** Optional. Configuration for configurable billing approach. */
6205
6441
  configurableBillingApproach?: string;
6206
6442
  /** Output only. Timestamp the Recommendation Engine was created at. */
6207
6443
  createTime?: string;
@@ -6211,7 +6447,7 @@ declare namespace gapi.client {
6211
6447
  disableAnalytics?: boolean;
6212
6448
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
6213
6449
  displayName?: string;
6214
- /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` */
6450
+ /** Optional. Feature config for the engine to opt in or opt out of features. Supported keys: * `*`: all features, if it's present, all other feature state settings are ignored. * `agent-gallery` * `no-code-agent-builder` * `prompt-gallery` * `model-selector` * `notebook-lm` * `people-search` * `people-search-org-chart` * `bi-directional-audio` * `feedback` * `session-sharing` * `personalization-memory` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` */
6215
6451
  features?: {[P in string]: string};
6216
6452
  /** Optional. The industry vertical that the engine registers. The restriction of the Engine industry vertical is based on DataStore: Vertical on Engine has to match vertical of the DataStore linked to the engine. */
6217
6453
  industryVertical?: string;
@@ -6396,6 +6632,28 @@ declare namespace gapi.client {
6396
6632
  /** Count of user events imported, but with Document information not found in the existing Branch. */
6397
6633
  unjoinedEventsCount?: string;
6398
6634
  }
6635
+ interface GoogleCloudDiscoveryengineV1LicenseConfig {
6636
+ /** Optional. The alert policy config for this license config. */
6637
+ alertPolicyResourceConfig?: GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig;
6638
+ /** Optional. Whether the license config should be auto renewed when it reaches the end date. */
6639
+ autoRenew?: boolean;
6640
+ /** Optional. The planed end date. */
6641
+ endDate?: GoogleTypeDate;
6642
+ /** Optional. Whether the license config is for free trial. */
6643
+ freeTrial?: boolean;
6644
+ /** Required. Number of licenses purchased. */
6645
+ licenseCount?: string;
6646
+ /** Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}` */
6647
+ name?: string;
6648
+ /** Required. The start date. */
6649
+ startDate?: GoogleTypeDate;
6650
+ /** Output only. The state of the license config. */
6651
+ state?: string;
6652
+ /** Required. Subscription term. */
6653
+ subscriptionTerm?: string;
6654
+ /** Required. Subscription tier information for the license config. */
6655
+ subscriptionTier?: string;
6656
+ }
6399
6657
  interface GoogleCloudDiscoveryengineV1Project {
6400
6658
  /** Output only. The timestamp when this project is created. */
6401
6659
  createTime?: string;
@@ -16679,6 +16937,159 @@ declare namespace gapi.client {
16679
16937
  ): Request<GoogleLongrunningOperation>;
16680
16938
  operations: OperationsResource;
16681
16939
  }
16940
+ interface LicenseConfigsResource {
16941
+ /** Creates a LicenseConfig */
16942
+ create(request: {
16943
+ /** V1 error format. */
16944
+ '$.xgafv'?: string;
16945
+ /** OAuth access token. */
16946
+ access_token?: string;
16947
+ /** Data format for response. */
16948
+ alt?: string;
16949
+ /** JSONP */
16950
+ callback?: string;
16951
+ /** Selector specifying which fields to include in a partial response. */
16952
+ fields?: string;
16953
+ /** 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. */
16954
+ key?: string;
16955
+ /** Optional. The ID to use for the LicenseConfig, which will become the final component of the LicenseConfig's resource name. We are using the tier (product edition) name as the license config id such as `search` or `search_and_assistant`. */
16956
+ licenseConfigId?: string;
16957
+ /** OAuth 2.0 token for the current user. */
16958
+ oauth_token?: string;
16959
+ /** Required. The parent resource name, such as `projects/{project}/locations/{location}`. */
16960
+ parent: string;
16961
+ /** Returns response with indentations and line breaks. */
16962
+ prettyPrint?: boolean;
16963
+ /** 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. */
16964
+ quotaUser?: string;
16965
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16966
+ upload_protocol?: string;
16967
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16968
+ uploadType?: string;
16969
+ /** Request body */
16970
+ resource: GoogleCloudDiscoveryengineV1betaLicenseConfig;
16971
+ }): Request<GoogleCloudDiscoveryengineV1betaLicenseConfig>;
16972
+ create(
16973
+ request: {
16974
+ /** V1 error format. */
16975
+ '$.xgafv'?: string;
16976
+ /** OAuth access token. */
16977
+ access_token?: string;
16978
+ /** Data format for response. */
16979
+ alt?: string;
16980
+ /** JSONP */
16981
+ callback?: string;
16982
+ /** Selector specifying which fields to include in a partial response. */
16983
+ fields?: string;
16984
+ /** 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. */
16985
+ key?: string;
16986
+ /** Optional. The ID to use for the LicenseConfig, which will become the final component of the LicenseConfig's resource name. We are using the tier (product edition) name as the license config id such as `search` or `search_and_assistant`. */
16987
+ licenseConfigId?: string;
16988
+ /** OAuth 2.0 token for the current user. */
16989
+ oauth_token?: string;
16990
+ /** Required. The parent resource name, such as `projects/{project}/locations/{location}`. */
16991
+ parent: string;
16992
+ /** Returns response with indentations and line breaks. */
16993
+ prettyPrint?: boolean;
16994
+ /** 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. */
16995
+ quotaUser?: string;
16996
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16997
+ upload_protocol?: string;
16998
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16999
+ uploadType?: string;
17000
+ },
17001
+ body: GoogleCloudDiscoveryengineV1betaLicenseConfig,
17002
+ ): Request<GoogleCloudDiscoveryengineV1betaLicenseConfig>;
17003
+ /** Gets a LicenseConfig. */
17004
+ get(request?: {
17005
+ /** V1 error format. */
17006
+ '$.xgafv'?: string;
17007
+ /** OAuth access token. */
17008
+ access_token?: string;
17009
+ /** Data format for response. */
17010
+ alt?: string;
17011
+ /** JSONP */
17012
+ callback?: string;
17013
+ /** Selector specifying which fields to include in a partial response. */
17014
+ fields?: string;
17015
+ /** 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. */
17016
+ key?: string;
17017
+ /** Required. Full resource name of LicenseConfig, such as `projects/{project}/locations/{location}/licenseConfigs/*`. If the caller does not have permission to access the LicenseConfig, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested LicenseConfig does not exist, a NOT_FOUND error is returned. */
17018
+ name: string;
17019
+ /** OAuth 2.0 token for the current user. */
17020
+ oauth_token?: string;
17021
+ /** Returns response with indentations and line breaks. */
17022
+ prettyPrint?: boolean;
17023
+ /** 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. */
17024
+ quotaUser?: string;
17025
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
17026
+ upload_protocol?: string;
17027
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17028
+ uploadType?: string;
17029
+ }): Request<GoogleCloudDiscoveryengineV1betaLicenseConfig>;
17030
+ /** Updates the LicenseConfig */
17031
+ patch(request: {
17032
+ /** V1 error format. */
17033
+ '$.xgafv'?: string;
17034
+ /** OAuth access token. */
17035
+ access_token?: string;
17036
+ /** Data format for response. */
17037
+ alt?: string;
17038
+ /** JSONP */
17039
+ callback?: string;
17040
+ /** Selector specifying which fields to include in a partial response. */
17041
+ fields?: string;
17042
+ /** 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. */
17043
+ key?: string;
17044
+ /** Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}` */
17045
+ name: string;
17046
+ /** OAuth 2.0 token for the current user. */
17047
+ oauth_token?: string;
17048
+ /** Returns response with indentations and line breaks. */
17049
+ prettyPrint?: boolean;
17050
+ /** 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. */
17051
+ quotaUser?: string;
17052
+ /** Optional. Indicates which fields in the provided LicenseConfig to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned. */
17053
+ updateMask?: string;
17054
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
17055
+ upload_protocol?: string;
17056
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17057
+ uploadType?: string;
17058
+ /** Request body */
17059
+ resource: GoogleCloudDiscoveryengineV1betaLicenseConfig;
17060
+ }): Request<GoogleCloudDiscoveryengineV1betaLicenseConfig>;
17061
+ patch(
17062
+ request: {
17063
+ /** V1 error format. */
17064
+ '$.xgafv'?: string;
17065
+ /** OAuth access token. */
17066
+ access_token?: string;
17067
+ /** Data format for response. */
17068
+ alt?: string;
17069
+ /** JSONP */
17070
+ callback?: string;
17071
+ /** Selector specifying which fields to include in a partial response. */
17072
+ fields?: string;
17073
+ /** 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. */
17074
+ key?: string;
17075
+ /** Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project}/locations/{location}/licenseConfigs/{license_config}` */
17076
+ name: string;
17077
+ /** OAuth 2.0 token for the current user. */
17078
+ oauth_token?: string;
17079
+ /** Returns response with indentations and line breaks. */
17080
+ prettyPrint?: boolean;
17081
+ /** 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. */
17082
+ quotaUser?: string;
17083
+ /** Optional. Indicates which fields in the provided LicenseConfig to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned. */
17084
+ updateMask?: string;
17085
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
17086
+ upload_protocol?: string;
17087
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17088
+ uploadType?: string;
17089
+ },
17090
+ body: GoogleCloudDiscoveryengineV1betaLicenseConfig,
17091
+ ): Request<GoogleCloudDiscoveryengineV1betaLicenseConfig>;
17092
+ }
16682
17093
  interface OperationsResource {
16683
17094
  /** 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. */
16684
17095
  get(request?: {
@@ -17952,6 +18363,7 @@ declare namespace gapi.client {
17952
18363
  evaluations: EvaluationsResource;
17953
18364
  groundingConfigs: GroundingConfigsResource;
17954
18365
  identityMappingStores: IdentityMappingStoresResource;
18366
+ licenseConfigs: LicenseConfigsResource;
17955
18367
  operations: OperationsResource;
17956
18368
  podcasts: PodcastsResource;
17957
18369
  rankingConfigs: RankingConfigsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1beta",
3
- "version": "0.1.20250925",
3
+ "version": "0.1.20251007",
4
4
  "description": "TypeScript typings for Discovery Engine API v1beta",
5
5
  "repository": {
6
6
  "type": "git",