@googleapis/discoveryengine 24.0.0 → 25.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/v1beta.ts CHANGED
@@ -771,6 +771,44 @@ export namespace discoveryengine_v1beta {
771
771
  */
772
772
  functionName?: string | null;
773
773
  }
774
+ /**
775
+ * Access Control Configuration.
776
+ */
777
+ export interface Schema$GoogleCloudDiscoveryengineV1AclConfig {
778
+ /**
779
+ * Identity provider config.
780
+ */
781
+ idpConfig?: Schema$GoogleCloudDiscoveryengineV1IdpConfig;
782
+ /**
783
+ * Immutable. The full resource name of the acl configuration. Format: `projects/{project\}/locations/{location\}/aclConfig`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
784
+ */
785
+ name?: string | null;
786
+ }
787
+ /**
788
+ * Informations to support actions on the connector.
789
+ */
790
+ export interface Schema$GoogleCloudDiscoveryengineV1ActionConfig {
791
+ /**
792
+ * Optional. Action parameters in structured json format.
793
+ */
794
+ actionParams?: {[key: string]: any} | null;
795
+ /**
796
+ * Output only. The connector contains the necessary parameters and is configured to support actions.
797
+ */
798
+ isActionConfigured?: boolean | null;
799
+ /**
800
+ * Optional. Action parameters in json string format.
801
+ */
802
+ jsonActionParams?: string | null;
803
+ /**
804
+ * Optional. The Service Directory resource name (projects/x/locations/x/namespaces/x/services/x) representing a VPC network endpoint used to connect to the data source's `instance_uri`, defined in DataConnector.params. Required when VPC Service Controls are enabled.
805
+ */
806
+ serviceName?: string | null;
807
+ /**
808
+ * Optional. Whether to use static secrets for the connector. If true, the secrets provided in the action_params will be ignored.
809
+ */
810
+ useStaticSecrets?: boolean | null;
811
+ }
774
812
  /**
775
813
  * Configuration data for advance site search.
776
814
  */
@@ -784,6 +822,70 @@ export namespace discoveryengine_v1beta {
784
822
  */
785
823
  disableInitialIndex?: boolean | null;
786
824
  }
825
+ /**
826
+ * The connector level alert config.
827
+ */
828
+ export interface Schema$GoogleCloudDiscoveryengineV1AlertPolicyConfig {
829
+ /**
830
+ * Optional. The enrollment states of each alert.
831
+ */
832
+ alertEnrollments?: Schema$GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment[];
833
+ /**
834
+ * Immutable. The fully qualified resource name of the AlertPolicy.
835
+ */
836
+ alertPolicyName?: string | null;
837
+ }
838
+ /**
839
+ * The alert enrollment status.
840
+ */
841
+ export interface Schema$GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment {
842
+ /**
843
+ * Immutable. The id of an alert.
844
+ */
845
+ alertId?: string | null;
846
+ /**
847
+ * Required. The enrollment status of a customer.
848
+ */
849
+ enrollState?: string | null;
850
+ }
851
+ /**
852
+ * The resource level alert config. Used in: * UserLicense * EngineUserData The AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
853
+ */
854
+ export interface Schema$GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig {
855
+ /**
856
+ * Optional. The enrollment state of each alert.
857
+ */
858
+ alertEnrollments?: Schema$GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment[];
859
+ /**
860
+ * Immutable. The fully qualified resource name of the AlertPolicy.
861
+ */
862
+ alertPolicy?: string | null;
863
+ /**
864
+ * Optional. The contact details for each alert policy.
865
+ */
866
+ contactDetails?: Schema$GoogleCloudDiscoveryengineV1ContactDetails[];
867
+ /**
868
+ * Optional. The language code used for notifications
869
+ */
870
+ languageCode?: string | null;
871
+ }
872
+ /**
873
+ * The alert enrollment status.
874
+ */
875
+ export interface Schema$GoogleCloudDiscoveryengineV1AlertPolicyResourceConfigAlertEnrollment {
876
+ /**
877
+ * Immutable. The id of an alert.
878
+ */
879
+ alertId?: string | null;
880
+ /**
881
+ * Required. The enrollment status of a customer.
882
+ */
883
+ enrollState?: string | null;
884
+ /**
885
+ * 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.
886
+ */
887
+ notificationParams?: {[key: string]: string} | null;
888
+ }
787
889
  /**
788
890
  * Access Control Configuration.
789
891
  */
@@ -802,13 +904,17 @@ export namespace discoveryengine_v1beta {
802
904
  */
803
905
  export interface Schema$GoogleCloudDiscoveryengineV1alphaActionConfig {
804
906
  /**
805
- * Required. Params needed to support actions in the format of (Key, Value) pairs. Required parameters for sources that support OAUTH, i.e. `gmail`, `google_calendar`, `jira`, `workday`, `salesforce`, `confluence`: * Key: `client_id` * Value: type STRING. The client ID for the service provider to identify your application. * Key: `client_secret` * Value:type STRING. The client secret generated by the application's authorization server.
907
+ * Optional. Action parameters in structured json format.
806
908
  */
807
909
  actionParams?: {[key: string]: any} | null;
808
910
  /**
809
911
  * Output only. The connector contains the necessary parameters and is configured to support actions.
810
912
  */
811
913
  isActionConfigured?: boolean | null;
914
+ /**
915
+ * Optional. Action parameters in json string format.
916
+ */
917
+ jsonActionParams?: string | null;
812
918
  /**
813
919
  * Optional. The Service Directory resource name (projects/x/locations/x/namespaces/x/services/x) representing a VPC network endpoint used to connect to the data source's `instance_uri`, defined in DataConnector.params. Required when VPC Service Controls are enabled.
814
920
  */
@@ -857,6 +963,44 @@ export namespace discoveryengine_v1beta {
857
963
  */
858
964
  enrollState?: string | null;
859
965
  }
966
+ /**
967
+ * The resource level alert config. Used in: * UserLicense * EngineUserData The AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
968
+ */
969
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig {
970
+ /**
971
+ * Optional. The enrollment state of each alert.
972
+ */
973
+ alertEnrollments?: Schema$GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment[];
974
+ /**
975
+ * Immutable. The fully qualified resource name of the AlertPolicy.
976
+ */
977
+ alertPolicy?: string | null;
978
+ /**
979
+ * Optional. The contact details for each alert policy.
980
+ */
981
+ contactDetails?: Schema$GoogleCloudDiscoveryengineV1alphaContactDetails[];
982
+ /**
983
+ * Optional. The language code used for notifications
984
+ */
985
+ languageCode?: string | null;
986
+ }
987
+ /**
988
+ * The alert enrollment status.
989
+ */
990
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment {
991
+ /**
992
+ * Immutable. The id of an alert.
993
+ */
994
+ alertId?: string | null;
995
+ /**
996
+ * Required. The enrollment status of a customer.
997
+ */
998
+ enrollState?: string | null;
999
+ /**
1000
+ * 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.
1001
+ */
1002
+ notificationParams?: {[key: string]: string} | null;
1003
+ }
860
1004
  /**
861
1005
  * Defines an answer.
862
1006
  */
@@ -1263,10 +1407,274 @@ export namespace discoveryengine_v1beta {
1263
1407
  */
1264
1408
  query?: string | null;
1265
1409
  }
1410
+ /**
1411
+ * AssistAnswer resource, main part of AssistResponse.
1412
+ */
1413
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaAssistAnswer {
1414
+ /**
1415
+ * Reasons for not answering the assist call.
1416
+ */
1417
+ assistSkippedReasons?: string[] | null;
1418
+ /**
1419
+ * 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.
1420
+ */
1421
+ customerPolicyEnforcementResult?: Schema$GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult;
1422
+ /**
1423
+ * 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.
1424
+ */
1425
+ name?: string | null;
1426
+ /**
1427
+ * Replies of the assistant.
1428
+ */
1429
+ replies?: Schema$GoogleCloudDiscoveryengineV1alphaAssistAnswerReply[];
1430
+ /**
1431
+ * State of the answer generation.
1432
+ */
1433
+ state?: string | null;
1434
+ }
1435
+ /**
1436
+ * Customer policy enforcement results. Contains the results of the various policy checks, like the banned phrases or the Model Armor checks.
1437
+ */
1438
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult {
1439
+ /**
1440
+ * 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.
1441
+ */
1442
+ policyResults?: Schema$GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult[];
1443
+ /**
1444
+ * Final verdict of the customer policy enforcement. If only one policy blocked the processing, the verdict is BLOCK.
1445
+ */
1446
+ verdict?: string | null;
1447
+ }
1448
+ /**
1449
+ * Customer policy enforcement result for the banned phrase policy.
1450
+ */
1451
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult {
1452
+ /**
1453
+ * The banned phrases that were found in the query or the answer.
1454
+ */
1455
+ bannedPhrases?: string[] | null;
1456
+ }
1457
+ /**
1458
+ * Customer policy enforcement result for the Model Armor policy.
1459
+ */
1460
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult {
1461
+ /**
1462
+ * The error returned by Model Armor if the policy enforcement failed for some reason.
1463
+ */
1464
+ error?: Schema$GoogleRpcStatus;
1465
+ /**
1466
+ * The Model Armor violation that was found.
1467
+ */
1468
+ modelArmorViolation?: string | null;
1469
+ }
1470
+ /**
1471
+ * Customer policy enforcement result for a single policy type.
1472
+ */
1473
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult {
1474
+ /**
1475
+ * The policy enforcement result for the banned phrase policy.
1476
+ */
1477
+ bannedPhraseEnforcementResult?: Schema$GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult;
1478
+ /**
1479
+ * The policy enforcement result for the Model Armor policy.
1480
+ */
1481
+ modelArmorEnforcementResult?: Schema$GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult;
1482
+ }
1483
+ /**
1484
+ * One part of the multi-part response of the assist call.
1485
+ */
1486
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaAssistAnswerReply {
1487
+ /**
1488
+ * Possibly grounded response text or media from the assistant.
1489
+ */
1490
+ groundedContent?: Schema$GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent;
1491
+ /**
1492
+ * 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.
1493
+ */
1494
+ replyId?: string | null;
1495
+ }
1496
+ /**
1497
+ * Multi-modal content.
1498
+ */
1499
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaAssistantContent {
1500
+ /**
1501
+ * Result of executing an ExecutableCode.
1502
+ */
1503
+ codeExecutionResult?: Schema$GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult;
1504
+ /**
1505
+ * Code generated by the model that is meant to be executed.
1506
+ */
1507
+ executableCode?: Schema$GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode;
1508
+ /**
1509
+ * A file, e.g., an audio summary.
1510
+ */
1511
+ file?: Schema$GoogleCloudDiscoveryengineV1alphaAssistantContentFile;
1512
+ /**
1513
+ * Inline binary data.
1514
+ */
1515
+ inlineData?: Schema$GoogleCloudDiscoveryengineV1alphaAssistantContentBlob;
1516
+ /**
1517
+ * The producer of the content. Can be "model" or "user".
1518
+ */
1519
+ role?: string | null;
1520
+ /**
1521
+ * Inline text.
1522
+ */
1523
+ text?: string | null;
1524
+ /**
1525
+ * Optional. Indicates if the part is thought from the model.
1526
+ */
1527
+ thought?: boolean | null;
1528
+ }
1529
+ /**
1530
+ * Inline blob.
1531
+ */
1532
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaAssistantContentBlob {
1533
+ /**
1534
+ * Required. Raw bytes.
1535
+ */
1536
+ data?: string | null;
1537
+ /**
1538
+ * Required. The media type (MIME type) of the generated data.
1539
+ */
1540
+ mimeType?: string | null;
1541
+ }
1542
+ /**
1543
+ * Result of executing ExecutableCode.
1544
+ */
1545
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult {
1546
+ /**
1547
+ * Required. Outcome of the code execution.
1548
+ */
1549
+ outcome?: string | null;
1550
+ /**
1551
+ * Optional. Contains stdout when code execution is successful, stderr or other description otherwise.
1552
+ */
1553
+ output?: string | null;
1554
+ }
1555
+ /**
1556
+ * Code generated by the model that is meant to be executed by the model.
1557
+ */
1558
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaAssistantContentExecutableCode {
1559
+ /**
1560
+ * Required. The code content. Currently only supports Python.
1561
+ */
1562
+ code?: string | null;
1563
+ }
1564
+ /**
1565
+ * A file, e.g., an audio summary.
1566
+ */
1567
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaAssistantContentFile {
1568
+ /**
1569
+ * Required. The file ID.
1570
+ */
1571
+ fileId?: string | null;
1572
+ /**
1573
+ * Required. The media type (MIME type) of the file.
1574
+ */
1575
+ mimeType?: string | null;
1576
+ }
1577
+ /**
1578
+ * A piece of content and possibly its grounding information. Not all content needs grounding. Phrases like "Of course, I will gladly search it for you." do not need grounding.
1579
+ */
1580
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaAssistantGroundedContent {
1581
+ /**
1582
+ * The content.
1583
+ */
1584
+ content?: Schema$GoogleCloudDiscoveryengineV1alphaAssistantContent;
1585
+ /**
1586
+ * Metadata for grounding based on text sources.
1587
+ */
1588
+ textGroundingMetadata?: Schema$GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata;
1589
+ }
1590
+ /**
1591
+ * Grounding details for text sources.
1592
+ */
1593
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadata {
1594
+ /**
1595
+ * References for the grounded text.
1596
+ */
1597
+ references?: Schema$GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference[];
1598
+ /**
1599
+ * Grounding information for parts of the text.
1600
+ */
1601
+ segments?: Schema$GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment[];
1602
+ }
1603
+ /**
1604
+ * Referenced content and related document metadata.
1605
+ */
1606
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference {
1607
+ /**
1608
+ * Referenced text content.
1609
+ */
1610
+ content?: string | null;
1611
+ /**
1612
+ * Document metadata.
1613
+ */
1614
+ documentMetadata?: Schema$GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata;
1615
+ }
1616
+ /**
1617
+ * Document metadata.
1618
+ */
1619
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata {
1620
+ /**
1621
+ * Document resource name.
1622
+ */
1623
+ document?: string | null;
1624
+ /**
1625
+ * 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.
1626
+ */
1627
+ domain?: string | null;
1628
+ /**
1629
+ * The mime type of the document. https://www.iana.org/assignments/media-types/media-types.xhtml.
1630
+ */
1631
+ mimeType?: string | null;
1632
+ /**
1633
+ * Page identifier.
1634
+ */
1635
+ pageIdentifier?: string | null;
1636
+ /**
1637
+ * Title.
1638
+ */
1639
+ title?: string | null;
1640
+ /**
1641
+ * URI for the document. It may contain a URL that redirects to the actual website.
1642
+ */
1643
+ uri?: string | null;
1644
+ }
1645
+ /**
1646
+ * Grounding information for a segment of the text.
1647
+ */
1648
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataSegment {
1649
+ /**
1650
+ * End of the segment, exclusive.
1651
+ */
1652
+ endIndex?: string | null;
1653
+ /**
1654
+ * Score for the segment.
1655
+ */
1656
+ groundingScore?: number | null;
1657
+ /**
1658
+ * References for the segment.
1659
+ */
1660
+ referenceIndices?: number[] | null;
1661
+ /**
1662
+ * 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).
1663
+ */
1664
+ startIndex?: string | null;
1665
+ /**
1666
+ * The text segment itself.
1667
+ */
1668
+ text?: string | null;
1669
+ }
1266
1670
  /**
1267
1671
  * The configuration for the BAP connector.
1268
1672
  */
1269
1673
  export interface Schema$GoogleCloudDiscoveryengineV1alphaBAPConfig {
1674
+ /**
1675
+ * Optional. The actions enabled on the associated BAP connection.
1676
+ */
1677
+ enabledActions?: string[] | null;
1270
1678
  /**
1271
1679
  * Required. The supported connector modes for the associated BAP connection.
1272
1680
  */
@@ -1544,6 +1952,15 @@ export namespace discoveryengine_v1beta {
1544
1952
  */
1545
1953
  totalCount?: string | null;
1546
1954
  }
1955
+ /**
1956
+ * The contact info stored in resource level. If both project level and resource level is populated, the resource level contact info will override the project level contact info.
1957
+ */
1958
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaContactDetails {
1959
+ /**
1960
+ * Optional. The email address of the contact.
1961
+ */
1962
+ emailAddress?: string | null;
1963
+ }
1547
1964
  /**
1548
1965
  * Defines a conditioned behavior to employ during serving. Must be attached to a ServingConfig to be considered at serving time. Permitted actions dependent on `SolutionType`.
1549
1966
  */
@@ -1851,6 +2268,10 @@ export namespace discoveryengine_v1beta {
1851
2268
  * Output only. The errors from initialization or from the latest connector run.
1852
2269
  */
1853
2270
  errors?: Schema$GoogleRpcStatus[];
2271
+ /**
2272
+ * Optional. Any params and credentials used specifically for hybrid connectors supporting FEDERATED mode. This field should only be set if the connector is a hybrid connector and we want to enable FEDERATED mode.
2273
+ */
2274
+ federatedConfig?: Schema$GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig;
1854
2275
  /**
1855
2276
  * Optional. If the connector is a hybrid connector, determines whether ingestion is enabled and appropriate resources are provisioned during connector creation. If the connector is not a hybrid connector, this field is ignored.
1856
2277
  */
@@ -1871,6 +2292,10 @@ export namespace discoveryengine_v1beta {
1871
2292
  * Optional. Indicates whether incremental syncs are paused for this connector. This is independent of auto_run_disabled. Applicable to only 3P connectors. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled, i.e. set to true.
1872
2293
  */
1873
2294
  incrementalSyncDisabled?: boolean | null;
2295
+ /**
2296
+ * Required data connector parameters in json string format.
2297
+ */
2298
+ jsonParams?: string | null;
1874
2299
  /**
1875
2300
  * Input only. The KMS key to be used to protect the DataStores managed by this connector. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStores created by this connector will be protected by the KMS key.
1876
2301
  */
@@ -1892,7 +2317,7 @@ export namespace discoveryengine_v1beta {
1892
2317
  */
1893
2318
  nextSyncTime?: Schema$GoogleTypeDateTime;
1894
2319
  /**
1895
- * Required. Params needed to access the source in the format of (Key, Value) pairs. Required parameters for all data sources: * Key: `instance_uri` * Value: type STRING. The uri to access the data source. Required parameters for sources that support OAUTH, i.e. `salesforce`: * Key: `client_id` * Value: type STRING. The client ID for the third party service provider to identify your application. * Key: `client_secret` * Value:type STRING. The client secret generated by the third party authorization server. * Key: `access_token` * Value: type STRING. OAuth token for UCS to access to the protected resource. * Key: `refresh_token` * Value: type STRING. OAuth refresh token for UCS to obtain a new access token without user interaction. Required parameters for sources that support basic API token auth, i.e. `jira`, `confluence`: * Key: `user_account` * Value: type STRING. The username or email with the source. * Key: `api_token` * Value: type STRING. The API token generated for the source account, that is used for authenticating anywhere where you would have used a password. Example: ```json { "instance_uri": "https://xxx.atlassian.net", "user_account": "xxxx.xxx@xxx.com", "api_token": "test-token" \} ``` Optional parameter to specify the authorization type to use for multiple authorization types support: * Key: `auth_type` * Value: type STRING. The authorization type for the data source. Supported values: `BASIC_AUTH`, `OAUTH`, `OAUTH_ACCESS_TOKEN`, `OAUTH_TWO_LEGGED`, `OAUTH_JWT_BEARER`, `OAUTH_PASSWORD_GRANT`, `JWT`, `API_TOKEN`, `FEDERATED_CREDENTIAL`.
2320
+ * Required data connector parameters in structured json format.
1896
2321
  */
1897
2322
  params?: {[key: string]: any} | null;
1898
2323
  /**
@@ -1911,6 +2336,10 @@ export namespace discoveryengine_v1beta {
1911
2336
  * Required. The refresh interval for data sync. If duration is set to 0, the data will be synced in real time. The streaming feature is not supported yet. The minimum is 30 minutes and maximum is 7 days. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled.
1912
2337
  */
1913
2338
  refreshInterval?: string | null;
2339
+ /**
2340
+ * Optional. Specifies keys to be removed from the 'params' field. This is only active when 'params' is included in the 'update_mask' in an UpdateDataConnectorRequest. Deletion takes precedence if a key is both in 'remove_param_keys' and present in the 'params' field of the request.
2341
+ */
2342
+ removeParamKeys?: string[] | null;
1914
2343
  /**
1915
2344
  * Output only. State of the connector.
1916
2345
  */
@@ -1944,11 +2373,32 @@ export namespace discoveryengine_v1beta {
1944
2373
  * Optional. Any authentication parameters specific to EUA connectors.
1945
2374
  */
1946
2375
  authParams?: {[key: string]: any} | null;
2376
+ /**
2377
+ * Optional. Any authentication parameters specific to EUA connectors in json string format.
2378
+ */
2379
+ jsonAuthParams?: string | null;
1947
2380
  /**
1948
2381
  * Optional. The tenant project the connector is connected to.
1949
2382
  */
1950
2383
  tenant?: Schema$GoogleCloudDiscoveryengineV1alphaTenant;
1951
2384
  }
2385
+ /**
2386
+ * Any params and credentials used specifically for hybrid connectors supporting FEDERATED mode.
2387
+ */
2388
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaDataConnectorFederatedConfig {
2389
+ /**
2390
+ * Optional. Any additional parameters needed for FEDERATED.
2391
+ */
2392
+ additionalParams?: {[key: string]: any} | null;
2393
+ /**
2394
+ * Optional. Any authentication parameters specific to FEDERATED connectors.
2395
+ */
2396
+ authParams?: {[key: string]: any} | null;
2397
+ /**
2398
+ * Optional. Any authentication parameters specific to FEDERATED connectors in json string format.
2399
+ */
2400
+ jsonAuthParams?: string | null;
2401
+ }
1952
2402
  /**
1953
2403
  * The configuration for realtime sync to store additional params for realtime sync.
1954
2404
  */
@@ -1995,12 +2445,16 @@ export namespace discoveryengine_v1beta {
1995
2445
  * Optional. Configuration for `HEALTHCARE_FHIR` vertical.
1996
2446
  */
1997
2447
  healthcareFhirConfig?: Schema$GoogleCloudDiscoveryengineV1alphaHealthcareFhirConfig;
2448
+ /**
2449
+ * The parameters for the entity to facilitate data ingestion in json string format.
2450
+ */
2451
+ jsonParams?: string | null;
1998
2452
  /**
1999
2453
  * Attributes for indexing. Key: Field name. Value: The key property to map a field to, such as `title`, and `description`. Supported key properties: * `title`: The title for data record. This would be displayed on search results. * `description`: The description for data record. This would be displayed on search results.
2000
2454
  */
2001
2455
  keyPropertyMappings?: {[key: string]: string} | null;
2002
2456
  /**
2003
- * The parameters for the entity to facilitate data ingestion. E.g. for BigQuery connectors: * Key: `document_id_column` * Value: type STRING. The value of the column ID.
2457
+ * The parameters for the entity to facilitate data ingestion in structured json format.
2004
2458
  */
2005
2459
  params?: {[key: string]: any} | null;
2006
2460
  /**
@@ -2028,6 +2482,10 @@ export namespace discoveryengine_v1beta {
2028
2482
  * Output only. CMEK-related information for the DataStore.
2029
2483
  */
2030
2484
  cmekConfig?: Schema$GoogleCloudDiscoveryengineV1alphaCmekConfig;
2485
+ /**
2486
+ * Optional. Configuration for configurable billing approach. See
2487
+ */
2488
+ configurableBillingApproach?: string | null;
2031
2489
  /**
2032
2490
  * Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.
2033
2491
  */
@@ -2281,12 +2739,16 @@ export namespace discoveryengine_v1beta {
2281
2739
  * Optional. The destinations for the corresponding key.
2282
2740
  */
2283
2741
  destinations?: Schema$GoogleCloudDiscoveryengineV1alphaDestinationConfigDestination[];
2742
+ /**
2743
+ * Additional parameters for this destination config in json string format.
2744
+ */
2745
+ jsonParams?: string | null;
2284
2746
  /**
2285
2747
  * Optional. Unique destination identifier that is supported by the connector.
2286
2748
  */
2287
2749
  key?: string | null;
2288
2750
  /**
2289
- * Optional. Additional parameters for this destination config.
2751
+ * Optional. Additional parameters for this destination config in structured json format.
2290
2752
  */
2291
2753
  params?: {[key: string]: any} | null;
2292
2754
  }
@@ -2455,6 +2917,10 @@ export namespace discoveryengine_v1beta {
2455
2917
  * Metadata that describes the training and serving parameters of an Engine.
2456
2918
  */
2457
2919
  export interface Schema$GoogleCloudDiscoveryengineV1alphaEngine {
2920
+ /**
2921
+ * Optional. Immutable. This the application type which this engine resource represents. NOTE: this is a new concept independ of existing industry vertical or solution type.
2922
+ */
2923
+ appType?: string | null;
2458
2924
  /**
2459
2925
  * Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.
2460
2926
  */
@@ -2467,6 +2933,10 @@ export namespace discoveryengine_v1beta {
2467
2933
  * Common config spec that specifies the metadata of the engine.
2468
2934
  */
2469
2935
  commonConfig?: Schema$GoogleCloudDiscoveryengineV1alphaEngineCommonConfig;
2936
+ /**
2937
+ * Optional. Configuration for configurable billing approach.
2938
+ */
2939
+ configurableBillingApproach?: string | null;
2470
2940
  /**
2471
2941
  * Output only. Timestamp the Recommendation Engine was created at.
2472
2942
  */
@@ -2484,7 +2954,7 @@ export namespace discoveryengine_v1beta {
2484
2954
  */
2485
2955
  displayName?: string | null;
2486
2956
  /**
2487
- * 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` - Enables personalization based on user preferences.
2957
+ * 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`
2488
2958
  */
2489
2959
  features?: {[key: string]: string} | null;
2490
2960
  /**
@@ -3167,6 +3637,51 @@ export namespace discoveryengine_v1beta {
3167
3637
  */
3168
3638
  region?: string | null;
3169
3639
  }
3640
+ /**
3641
+ * Information about users' licenses.
3642
+ */
3643
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaLicenseConfig {
3644
+ /**
3645
+ * Optional. The alert policy config for this license config.
3646
+ */
3647
+ alertPolicyResourceConfig?: Schema$GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfig;
3648
+ /**
3649
+ * Optional. Whether the license config should be auto renewed when it reaches the end date.
3650
+ */
3651
+ autoRenew?: boolean | null;
3652
+ /**
3653
+ * Optional. The planed end date.
3654
+ */
3655
+ endDate?: Schema$GoogleTypeDate;
3656
+ /**
3657
+ * Optional. Whether the license config is for free trial.
3658
+ */
3659
+ freeTrial?: boolean | null;
3660
+ /**
3661
+ * Required. Number of licenses purchased.
3662
+ */
3663
+ licenseCount?: string | null;
3664
+ /**
3665
+ * Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project\}/locations/{location\}/licenseConfigs/{license_config\}`
3666
+ */
3667
+ name?: string | null;
3668
+ /**
3669
+ * Required. The start date.
3670
+ */
3671
+ startDate?: Schema$GoogleTypeDate;
3672
+ /**
3673
+ * Output only. The state of the license config.
3674
+ */
3675
+ state?: string | null;
3676
+ /**
3677
+ * Required. Subscription term.
3678
+ */
3679
+ subscriptionTerm?: string | null;
3680
+ /**
3681
+ * Required. Subscription tier information for the license config.
3682
+ */
3683
+ subscriptionTier?: string | null;
3684
+ }
3170
3685
  /**
3171
3686
  * Request for ListSessions method.
3172
3687
  */
@@ -3256,6 +3771,10 @@ export namespace discoveryengine_v1beta {
3256
3771
  * Output only. The timestamp when this project is created.
3257
3772
  */
3258
3773
  createTime?: string | null;
3774
+ /**
3775
+ * Optional. Customer provided configurations.
3776
+ */
3777
+ customerProvidedConfig?: Schema$GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig;
3259
3778
  /**
3260
3779
  * Output only. Full resource name of the project, for example `projects/{project\}`. Note that when making requests, project number and project id are both acceptable, but the server will always respond in project number.
3261
3780
  */
@@ -3273,6 +3792,37 @@ export namespace discoveryengine_v1beta {
3273
3792
  ]: Schema$GoogleCloudDiscoveryengineV1alphaProjectServiceTerms;
3274
3793
  } | null;
3275
3794
  }
3795
+ /**
3796
+ * Customer provided configurations.
3797
+ */
3798
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig {
3799
+ /**
3800
+ * Optional. Configuration for NotebookLM settings.
3801
+ */
3802
+ notebooklmConfig?: Schema$GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig;
3803
+ }
3804
+ /**
3805
+ * Configuration for NotebookLM.
3806
+ */
3807
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfig {
3808
+ /**
3809
+ * Model Armor configuration to be used for sanitizing user prompts and LLM responses.
3810
+ */
3811
+ modelArmorConfig?: Schema$GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
3812
+ }
3813
+ /**
3814
+ * Configuration for customer defined Model Armor templates to be used for sanitizing user prompts and LLM responses.
3815
+ */
3816
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig {
3817
+ /**
3818
+ * 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.
3819
+ */
3820
+ responseTemplate?: string | null;
3821
+ /**
3822
+ * Optional. The resource name of the Model Armor Template for sanitizing user prompts. Format: projects/{project\}/locations/{location\}/templates/{template_id\} If not specified, no sanitization will be applied to the user prompt.
3823
+ */
3824
+ userPromptTemplate?: string | null;
3825
+ }
3276
3826
  /**
3277
3827
  * Metadata about the terms of service.
3278
3828
  */
@@ -3731,11 +4281,11 @@ export namespace discoveryengine_v1beta {
3731
4281
  */
3732
4282
  languageCode?: string | null;
3733
4283
  /**
3734
- * Config for natural language query understanding capabilities, such as extracting structured field filters from the query. Refer to [this documentation](https://cloud.google.com/generative-ai-app-builder/docs/natural-language-queries) for more information. If `naturalLanguageQueryUnderstandingSpec` is not specified, no additional natural language query understanding will be done.
4284
+ * Optional. Config for natural language query understanding capabilities, such as extracting structured field filters from the query. Refer to [this documentation](https://cloud.google.com/generative-ai-app-builder/docs/natural-language-queries) for more information. If `naturalLanguageQueryUnderstandingSpec` is not specified, no additional natural language query understanding will be done.
3735
4285
  */
3736
4286
  naturalLanguageQueryUnderstandingSpec?: Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec;
3737
4287
  /**
3738
- * A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned.
4288
+ * A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. A large offset may be capped to a reasonable threshold.
3739
4289
  */
3740
4290
  offset?: number | null;
3741
4291
  /**
@@ -3794,6 +4344,10 @@ export namespace discoveryengine_v1beta {
3794
4344
  * Whether to turn on safe search. This is only supported for website search.
3795
4345
  */
3796
4346
  safeSearch?: boolean | null;
4347
+ /**
4348
+ * Optional. SearchAddonSpec is used to disable add-ons for search as per new repricing model. This field is only supported for search requests.
4349
+ */
4350
+ searchAddonSpec?: Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec;
3797
4351
  /**
3798
4352
  * Search as you type configuration. Only supported for the IndustryVertical.MEDIA vertical.
3799
4353
  */
@@ -4166,6 +4720,10 @@ export namespace discoveryengine_v1beta {
4166
4720
  * Specification to enable natural language understanding capabilities for search requests.
4167
4721
  */
4168
4722
  export interface Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec {
4723
+ /**
4724
+ * Optional. Allowlist of fields that can be used for natural language filter extraction. By default, if this is unspecified, all indexable fields are eligible for natural language filter extraction (but are not guaranteed to be used). If any fields are specified in allowed_field_names, only the fields that are both marked as indexable in the schema and specified in the allowlist will be eligible for natural language filter extraction. Note: for multi-datastore search, this is not yet supported, and will be ignored.
4725
+ */
4726
+ allowedFieldNames?: string[] | null;
4169
4727
  /**
4170
4728
  * Optional. Controls behavior of how extracted filters are applied to the search. The default behavior depends on the request. For single datastore structured search, the default is `HARD_FILTER`. For multi-datastore search, the default behavior is `SOFT_BOOST`. Location-based filters are always applied as hard filters, and the `SOFT_BOOST` setting will not affect them. This field is only used if SearchRequest.natural_language_query_understanding_spec.filter_extraction_condition is set to FilterExtractionCondition.ENABLED.
4171
4729
  */
@@ -4210,6 +4768,23 @@ export namespace discoveryengine_v1beta {
4210
4768
  */
4211
4769
  returnRelevanceScore?: boolean | null;
4212
4770
  }
4771
+ /**
4772
+ * SearchAddonSpec is used to disable add-ons for search as per new repricing model. By default if the SearchAddonSpec is not specified, we consider that the customer wants to enable them wherever applicable.
4773
+ */
4774
+ export interface Schema$GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAddonSpec {
4775
+ /**
4776
+ * Optional. If true, generative answer add-on is disabled. Generative answer add-on includes natural language to filters and simple answers.
4777
+ */
4778
+ disableGenerativeAnswerAddOn?: boolean | null;
4779
+ /**
4780
+ * Optional. If true, disables event re-ranking and personalization to optimize KPIs & personalize results.
4781
+ */
4782
+ disableKpiPersonalizationAddOn?: boolean | null;
4783
+ /**
4784
+ * Optional. If true, semantic add-on is disabled. Semantic add-on includes embeddings and jetstream.
4785
+ */
4786
+ disableSemanticAddOn?: boolean | null;
4787
+ }
4213
4788
  /**
4214
4789
  * Specification for search as you type in search requests.
4215
4790
  */
@@ -4290,6 +4865,10 @@ export namespace discoveryengine_v1beta {
4290
4865
  * 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.
4291
4866
  */
4292
4867
  detailedAnswer?: Schema$GoogleCloudDiscoveryengineV1alphaAnswer;
4868
+ /**
4869
+ * Output only. In ConversationalSearchService.GetSession API, if GetSessionRequest.include_answer_details is set to true, this field will be populated when getting assistant session.
4870
+ */
4871
+ detailedAssistAnswer?: Schema$GoogleCloudDiscoveryengineV1alphaAssistAnswer;
4293
4872
  /**
4294
4873
  * Optional. The user query. May not be set if this turn is merely regenerating an answer to a different turn
4295
4874
  */
@@ -4733,6 +5312,10 @@ export namespace discoveryengine_v1beta {
4733
5312
  * Optional. List of banned phrases.
4734
5313
  */
4735
5314
  bannedPhrases?: Schema$GoogleCloudDiscoveryengineV1AssistantCustomerPolicyBannedPhrase[];
5315
+ /**
5316
+ * Optional. Model Armor configuration to be used for sanitizing user prompts and assistant responses.
5317
+ */
5318
+ modelArmorConfig?: Schema$GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig;
4736
5319
  }
4737
5320
  /**
4738
5321
  * Definition of a customer-defined banned phrase. A banned phrase is not allowed to appear in the user query or the LLM response, or else the answer will be refused.
@@ -4751,6 +5334,23 @@ export namespace discoveryengine_v1beta {
4751
5334
  */
4752
5335
  phrase?: string | null;
4753
5336
  }
5337
+ /**
5338
+ * Configuration for customer defined Model Armor templates to be used for sanitizing user prompts and assistant responses.
5339
+ */
5340
+ export interface Schema$GoogleCloudDiscoveryengineV1AssistantCustomerPolicyModelArmorConfig {
5341
+ /**
5342
+ * Optional. Defines the failure mode for Model Armor sanitization.
5343
+ */
5344
+ failureMode?: string | null;
5345
+ /**
5346
+ * Optional. The resource name of the Model Armor template for sanitizing assistant responses. Format: `projects/{project\}/locations/{location\}/templates/{template_id\}` If not specified, no sanitization will be applied to the assistant response.
5347
+ */
5348
+ responseTemplate?: string | null;
5349
+ /**
5350
+ * Optional. The resource name of the Model Armor template for sanitizing user prompts. Format: `projects/{project\}/locations/{location\}/templates/{template_id\}` If not specified, no sanitization will be applied to the user prompt.
5351
+ */
5352
+ userPromptTemplate?: string | null;
5353
+ }
4754
5354
  /**
4755
5355
  * Configuration for the generation of the assistant response.
4756
5356
  */
@@ -4795,6 +5395,19 @@ export namespace discoveryengine_v1beta {
4795
5395
  */
4796
5396
  toolInfo?: Schema$GoogleCloudDiscoveryengineV1AssistantToolInfo[];
4797
5397
  }
5398
+ /**
5399
+ * The configuration for the BAP connector.
5400
+ */
5401
+ export interface Schema$GoogleCloudDiscoveryengineV1BAPConfig {
5402
+ /**
5403
+ * Optional. The actions enabled on the associated BAP connection.
5404
+ */
5405
+ enabledActions?: string[] | null;
5406
+ /**
5407
+ * Required. The supported connector modes for the associated BAP connection.
5408
+ */
5409
+ supportedConnectorModes?: string[] | null;
5410
+ }
4798
5411
  /**
4799
5412
  * Metadata related to the progress of the SiteSearchEngineService.BatchCreateTargetSites operation. This will be returned by the google.longrunning.Operation.metadata field.
4800
5413
  */
@@ -4851,6 +5464,19 @@ export namespace discoveryengine_v1beta {
4851
5464
  */
4852
5465
  userLicenses?: Schema$GoogleCloudDiscoveryengineV1UserLicense[];
4853
5466
  }
5467
+ /**
5468
+ * Access Control Configuration.
5469
+ */
5470
+ export interface Schema$GoogleCloudDiscoveryengineV1betaAclConfig {
5471
+ /**
5472
+ * Identity provider config.
5473
+ */
5474
+ idpConfig?: Schema$GoogleCloudDiscoveryengineV1betaIdpConfig;
5475
+ /**
5476
+ * Immutable. The full resource name of the acl configuration. Format: `projects/{project\}/locations/{location\}/aclConfig`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
5477
+ */
5478
+ name?: string | null;
5479
+ }
4854
5480
  /**
4855
5481
  * Request message for CompletionService.AdvancedCompleteQuery method. .
4856
5482
  */
@@ -5069,6 +5695,44 @@ export namespace discoveryengine_v1beta {
5069
5695
  */
5070
5696
  disableInitialIndex?: boolean | null;
5071
5697
  }
5698
+ /**
5699
+ * The resource level alert config. Used in: * UserLicense * EngineUserData The AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
5700
+ */
5701
+ export interface Schema$GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig {
5702
+ /**
5703
+ * Optional. The enrollment state of each alert.
5704
+ */
5705
+ alertEnrollments?: Schema$GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment[];
5706
+ /**
5707
+ * Immutable. The fully qualified resource name of the AlertPolicy.
5708
+ */
5709
+ alertPolicy?: string | null;
5710
+ /**
5711
+ * Optional. The contact details for each alert policy.
5712
+ */
5713
+ contactDetails?: Schema$GoogleCloudDiscoveryengineV1betaContactDetails[];
5714
+ /**
5715
+ * Optional. The language code used for notifications
5716
+ */
5717
+ languageCode?: string | null;
5718
+ }
5719
+ /**
5720
+ * The alert enrollment status.
5721
+ */
5722
+ export interface Schema$GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfigAlertEnrollment {
5723
+ /**
5724
+ * Immutable. The id of an alert.
5725
+ */
5726
+ alertId?: string | null;
5727
+ /**
5728
+ * Required. The enrollment status of a customer.
5729
+ */
5730
+ enrollState?: string | null;
5731
+ /**
5732
+ * 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.
5733
+ */
5734
+ notificationParams?: {[key: string]: string} | null;
5735
+ }
5072
5736
  /**
5073
5737
  * AlloyDB source import data from.
5074
5738
  */
@@ -6002,6 +6666,10 @@ export namespace discoveryengine_v1beta {
6002
6666
  * Reasons for not answering the assist call.
6003
6667
  */
6004
6668
  assistSkippedReasons?: string[] | null;
6669
+ /**
6670
+ * 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.
6671
+ */
6672
+ customerPolicyEnforcementResult?: Schema$GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResult;
6005
6673
  /**
6006
6674
  * 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.
6007
6675
  */
@@ -6015,6 +6683,54 @@ export namespace discoveryengine_v1beta {
6015
6683
  */
6016
6684
  state?: string | null;
6017
6685
  }
6686
+ /**
6687
+ * Customer policy enforcement results. Contains the results of the various policy checks, like the banned phrases or the Model Armor checks.
6688
+ */
6689
+ export interface Schema$GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResult {
6690
+ /**
6691
+ * 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.
6692
+ */
6693
+ policyResults?: Schema$GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult[];
6694
+ /**
6695
+ * Final verdict of the customer policy enforcement. If only one policy blocked the processing, the verdict is BLOCK.
6696
+ */
6697
+ verdict?: string | null;
6698
+ }
6699
+ /**
6700
+ * Customer policy enforcement result for the banned phrase policy.
6701
+ */
6702
+ export interface Schema$GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult {
6703
+ /**
6704
+ * The banned phrases that were found in the query or the answer.
6705
+ */
6706
+ bannedPhrases?: string[] | null;
6707
+ }
6708
+ /**
6709
+ * Customer policy enforcement result for the Model Armor policy.
6710
+ */
6711
+ export interface Schema$GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult {
6712
+ /**
6713
+ * The error returned by Model Armor if the policy enforcement failed for some reason.
6714
+ */
6715
+ error?: Schema$GoogleRpcStatus;
6716
+ /**
6717
+ * The Model Armor violation that was found.
6718
+ */
6719
+ modelArmorViolation?: string | null;
6720
+ }
6721
+ /**
6722
+ * Customer policy enforcement result for a single policy type.
6723
+ */
6724
+ export interface Schema$GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult {
6725
+ /**
6726
+ * The policy enforcement result for the banned phrase policy.
6727
+ */
6728
+ bannedPhraseEnforcementResult?: Schema$GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultBannedPhraseEnforcementResult;
6729
+ /**
6730
+ * The policy enforcement result for the Model Armor policy.
6731
+ */
6732
+ modelArmorEnforcementResult?: Schema$GoogleCloudDiscoveryengineV1betaAssistAnswerCustomerPolicyEnforcementResultModelArmorEnforcementResult;
6733
+ }
6018
6734
  /**
6019
6735
  * One part of the multi-part response of the assist call.
6020
6736
  */
@@ -6140,6 +6856,10 @@ export namespace discoveryengine_v1beta {
6140
6856
  * Optional. List of banned phrases.
6141
6857
  */
6142
6858
  bannedPhrases?: Schema$GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyBannedPhrase[];
6859
+ /**
6860
+ * Optional. Model Armor configuration to be used for sanitizing user prompts and assistant responses.
6861
+ */
6862
+ modelArmorConfig?: Schema$GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyModelArmorConfig;
6143
6863
  }
6144
6864
  /**
6145
6865
  * Definition of a customer-defined banned phrase. A banned phrase is not allowed to appear in the user query or the LLM response, or else the answer will be refused.
@@ -6158,6 +6878,23 @@ export namespace discoveryengine_v1beta {
6158
6878
  */
6159
6879
  phrase?: string | null;
6160
6880
  }
6881
+ /**
6882
+ * Configuration for customer defined Model Armor templates to be used for sanitizing user prompts and assistant responses.
6883
+ */
6884
+ export interface Schema$GoogleCloudDiscoveryengineV1betaAssistantCustomerPolicyModelArmorConfig {
6885
+ /**
6886
+ * Optional. Defines the failure mode for Model Armor sanitization.
6887
+ */
6888
+ failureMode?: string | null;
6889
+ /**
6890
+ * Optional. The resource name of the Model Armor template for sanitizing assistant responses. Format: `projects/{project\}/locations/{location\}/templates/{template_id\}` If not specified, no sanitization will be applied to the assistant response.
6891
+ */
6892
+ responseTemplate?: string | null;
6893
+ /**
6894
+ * Optional. The resource name of the Model Armor template for sanitizing user prompts. Format: `projects/{project\}/locations/{location\}/templates/{template_id\}` If not specified, no sanitization will be applied to the user prompt.
6895
+ */
6896
+ userPromptTemplate?: string | null;
6897
+ }
6161
6898
  /**
6162
6899
  * Configuration for the generation of the assistant response.
6163
6900
  */
@@ -6231,6 +6968,10 @@ export namespace discoveryengine_v1beta {
6231
6968
  * 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.
6232
6969
  */
6233
6970
  domain?: string | null;
6971
+ /**
6972
+ * The mime type of the document. https://www.iana.org/assignments/media-types/media-types.xhtml.
6973
+ */
6974
+ mimeType?: string | null;
6234
6975
  /**
6235
6976
  * Page identifier.
6236
6977
  */
@@ -6947,6 +7688,15 @@ export namespace discoveryengine_v1beta {
6947
7688
  */
6948
7689
  startTime?: string | null;
6949
7690
  }
7691
+ /**
7692
+ * The contact info stored in resource level. If both project level and resource level is populated, the resource level contact info will override the project level contact info.
7693
+ */
7694
+ export interface Schema$GoogleCloudDiscoveryengineV1betaContactDetails {
7695
+ /**
7696
+ * Optional. The email address of the contact.
7697
+ */
7698
+ emailAddress?: string | null;
7699
+ }
6950
7700
  /**
6951
7701
  * Defines a conditioned behavior to employ during serving. Must be attached to a ServingConfig to be considered at serving time. Permitted actions dependent on `SolutionType`.
6952
7702
  */
@@ -7377,6 +8127,10 @@ export namespace discoveryengine_v1beta {
7377
8127
  * Output only. CMEK-related information for the DataStore.
7378
8128
  */
7379
8129
  cmekConfig?: Schema$GoogleCloudDiscoveryengineV1betaCmekConfig;
8130
+ /**
8131
+ * Optional. Configuration for configurable billing approach. See
8132
+ */
8133
+ configurableBillingApproach?: string | null;
7380
8134
  /**
7381
8135
  * Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.
7382
8136
  */
@@ -7899,6 +8653,10 @@ export namespace discoveryengine_v1beta {
7899
8653
  * Metadata that describes the training and serving parameters of an Engine.
7900
8654
  */
7901
8655
  export interface Schema$GoogleCloudDiscoveryengineV1betaEngine {
8656
+ /**
8657
+ * Optional. Immutable. This the application type which this engine resource represents. NOTE: this is a new concept independ of existing industry vertical or solution type.
8658
+ */
8659
+ appType?: string | null;
7902
8660
  /**
7903
8661
  * Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.
7904
8662
  */
@@ -7911,6 +8669,10 @@ export namespace discoveryengine_v1beta {
7911
8669
  * Common config spec that specifies the metadata of the engine.
7912
8670
  */
7913
8671
  commonConfig?: Schema$GoogleCloudDiscoveryengineV1betaEngineCommonConfig;
8672
+ /**
8673
+ * Optional. Configuration for configurable billing approach.
8674
+ */
8675
+ configurableBillingApproach?: string | null;
7914
8676
  /**
7915
8677
  * Output only. Timestamp the Recommendation Engine was created at.
7916
8678
  */
@@ -7928,7 +8690,7 @@ export namespace discoveryengine_v1beta {
7928
8690
  */
7929
8691
  displayName?: string | null;
7930
8692
  /**
7931
- * 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` - Enables personalization based on user preferences.
8693
+ * 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`
7932
8694
  */
7933
8695
  features?: {[key: string]: string} | null;
7934
8696
  /**
@@ -8353,6 +9115,28 @@ export namespace discoveryengine_v1beta {
8353
9115
  */
8354
9116
  name?: string | null;
8355
9117
  }
9118
+ /**
9119
+ * Identity Provider Config.
9120
+ */
9121
+ export interface Schema$GoogleCloudDiscoveryengineV1betaIdpConfig {
9122
+ /**
9123
+ * External Identity provider config.
9124
+ */
9125
+ externalIdpConfig?: Schema$GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig;
9126
+ /**
9127
+ * Identity provider type configured.
9128
+ */
9129
+ idpType?: string | null;
9130
+ }
9131
+ /**
9132
+ * Third party IDP Config.
9133
+ */
9134
+ export interface Schema$GoogleCloudDiscoveryengineV1betaIdpConfigExternalIdpConfig {
9135
+ /**
9136
+ * Workforce pool name. Example: "locations/global/workforcePools/pool_id"
9137
+ */
9138
+ workforcePoolName?: string | null;
9139
+ }
8356
9140
  /**
8357
9141
  * Metadata related to the progress of the ImportCompletionSuggestions operation. This will be returned by the google.longrunning.Operation.metadata field.
8358
9142
  */
@@ -8799,6 +9583,51 @@ export namespace discoveryengine_v1beta {
8799
9583
  */
8800
9584
  region?: string | null;
8801
9585
  }
9586
+ /**
9587
+ * Information about users' licenses.
9588
+ */
9589
+ export interface Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig {
9590
+ /**
9591
+ * Optional. The alert policy config for this license config.
9592
+ */
9593
+ alertPolicyResourceConfig?: Schema$GoogleCloudDiscoveryengineV1betaAlertPolicyResourceConfig;
9594
+ /**
9595
+ * Optional. Whether the license config should be auto renewed when it reaches the end date.
9596
+ */
9597
+ autoRenew?: boolean | null;
9598
+ /**
9599
+ * Optional. The planed end date.
9600
+ */
9601
+ endDate?: Schema$GoogleTypeDate;
9602
+ /**
9603
+ * Optional. Whether the license config is for free trial.
9604
+ */
9605
+ freeTrial?: boolean | null;
9606
+ /**
9607
+ * Required. Number of licenses purchased.
9608
+ */
9609
+ licenseCount?: string | null;
9610
+ /**
9611
+ * Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project\}/locations/{location\}/licenseConfigs/{license_config\}`
9612
+ */
9613
+ name?: string | null;
9614
+ /**
9615
+ * Required. The start date.
9616
+ */
9617
+ startDate?: Schema$GoogleTypeDate;
9618
+ /**
9619
+ * Output only. The state of the license config.
9620
+ */
9621
+ state?: string | null;
9622
+ /**
9623
+ * Required. Subscription term.
9624
+ */
9625
+ subscriptionTerm?: string | null;
9626
+ /**
9627
+ * Required. Subscription tier information for the license config.
9628
+ */
9629
+ subscriptionTier?: string | null;
9630
+ }
8802
9631
  /**
8803
9632
  * Response message for CmekConfigService.ListCmekConfigs method.
8804
9633
  */
@@ -9182,6 +10011,10 @@ export namespace discoveryengine_v1beta {
9182
10011
  * Output only. The timestamp when this project is created.
9183
10012
  */
9184
10013
  createTime?: string | null;
10014
+ /**
10015
+ * Optional. Customer provided configurations.
10016
+ */
10017
+ customerProvidedConfig?: Schema$GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig;
9185
10018
  /**
9186
10019
  * Output only. Full resource name of the project, for example `projects/{project\}`. Note that when making requests, project number and project id are both acceptable, but the server will always respond in project number.
9187
10020
  */
@@ -9197,6 +10030,37 @@ export namespace discoveryengine_v1beta {
9197
10030
  [key: string]: Schema$GoogleCloudDiscoveryengineV1betaProjectServiceTerms;
9198
10031
  } | null;
9199
10032
  }
10033
+ /**
10034
+ * Customer provided configurations.
10035
+ */
10036
+ export interface Schema$GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig {
10037
+ /**
10038
+ * Optional. Configuration for NotebookLM settings.
10039
+ */
10040
+ notebooklmConfig?: Schema$GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig;
10041
+ }
10042
+ /**
10043
+ * Configuration for NotebookLM.
10044
+ */
10045
+ export interface Schema$GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfig {
10046
+ /**
10047
+ * Model Armor configuration to be used for sanitizing user prompts and LLM responses.
10048
+ */
10049
+ modelArmorConfig?: Schema$GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
10050
+ }
10051
+ /**
10052
+ * Configuration for customer defined Model Armor templates to be used for sanitizing user prompts and LLM responses.
10053
+ */
10054
+ export interface Schema$GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig {
10055
+ /**
10056
+ * 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.
10057
+ */
10058
+ responseTemplate?: string | null;
10059
+ /**
10060
+ * Optional. The resource name of the Model Armor Template for sanitizing user prompts. Format: projects/{project\}/locations/{location\}/templates/{template_id\} If not specified, no sanitization will be applied to the user prompt.
10061
+ */
10062
+ userPromptTemplate?: string | null;
10063
+ }
9200
10064
  /**
9201
10065
  * Metadata about the terms of service.
9202
10066
  */
@@ -9251,6 +10115,10 @@ export namespace discoveryengine_v1beta {
9251
10115
  * Optional. Set to `true` to specify that caller has read and would like to give consent to the [Terms for Agent Space quality of service].
9252
10116
  */
9253
10117
  acceptBizQos?: boolean | null;
10118
+ /**
10119
+ * Optional. Indicates if the current request is for Biz edition (= true) or not (= false).
10120
+ */
10121
+ isBiz?: boolean | null;
9254
10122
  }
9255
10123
  /**
9256
10124
  * Request message for CompletionService.PurgeCompletionSuggestions method.
@@ -9919,11 +10787,11 @@ export namespace discoveryengine_v1beta {
9919
10787
  */
9920
10788
  languageCode?: string | null;
9921
10789
  /**
9922
- * Config for natural language query understanding capabilities, such as extracting structured field filters from the query. Refer to [this documentation](https://cloud.google.com/generative-ai-app-builder/docs/natural-language-queries) for more information. If `naturalLanguageQueryUnderstandingSpec` is not specified, no additional natural language query understanding will be done.
10790
+ * Optional. Config for natural language query understanding capabilities, such as extracting structured field filters from the query. Refer to [this documentation](https://cloud.google.com/generative-ai-app-builder/docs/natural-language-queries) for more information. If `naturalLanguageQueryUnderstandingSpec` is not specified, no additional natural language query understanding will be done.
9923
10791
  */
9924
10792
  naturalLanguageQueryUnderstandingSpec?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec;
9925
10793
  /**
9926
- * A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned.
10794
+ * A 0-indexed integer that specifies the current offset (that is, starting result location, amongst the Documents deemed by the API as relevant) in search results. This field is only considered if page_token is unset. If this field is negative, an `INVALID_ARGUMENT` is returned. A large offset may be capped to a reasonable threshold.
9927
10795
  */
9928
10796
  offset?: number | null;
9929
10797
  /**
@@ -9982,6 +10850,10 @@ export namespace discoveryengine_v1beta {
9982
10850
  * Whether to turn on safe search. This is only supported for website search.
9983
10851
  */
9984
10852
  safeSearch?: boolean | null;
10853
+ /**
10854
+ * Optional. SearchAddonSpec is used to disable add-ons for search as per new repricing model. This field is only supported for search requests.
10855
+ */
10856
+ searchAddonSpec?: Schema$GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec;
9985
10857
  /**
9986
10858
  * Search as you type configuration. Only supported for the IndustryVertical.MEDIA vertical.
9987
10859
  */
@@ -10350,6 +11222,10 @@ export namespace discoveryengine_v1beta {
10350
11222
  * Specification to enable natural language understanding capabilities for search requests.
10351
11223
  */
10352
11224
  export interface Schema$GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec {
11225
+ /**
11226
+ * Optional. Allowlist of fields that can be used for natural language filter extraction. By default, if this is unspecified, all indexable fields are eligible for natural language filter extraction (but are not guaranteed to be used). If any fields are specified in allowed_field_names, only the fields that are both marked as indexable in the schema and specified in the allowlist will be eligible for natural language filter extraction. Note: for multi-datastore search, this is not yet supported, and will be ignored.
11227
+ */
11228
+ allowedFieldNames?: string[] | null;
10353
11229
  /**
10354
11230
  * Optional. Controls behavior of how extracted filters are applied to the search. The default behavior depends on the request. For single datastore structured search, the default is `HARD_FILTER`. For multi-datastore search, the default behavior is `SOFT_BOOST`. Location-based filters are always applied as hard filters, and the `SOFT_BOOST` setting will not affect them. This field is only used if SearchRequest.natural_language_query_understanding_spec.filter_extraction_condition is set to FilterExtractionCondition.ENABLED.
10355
11231
  */
@@ -10394,6 +11270,23 @@ export namespace discoveryengine_v1beta {
10394
11270
  */
10395
11271
  returnRelevanceScore?: boolean | null;
10396
11272
  }
11273
+ /**
11274
+ * SearchAddonSpec is used to disable add-ons for search as per new repricing model. By default if the SearchAddonSpec is not specified, we consider that the customer wants to enable them wherever applicable.
11275
+ */
11276
+ export interface Schema$GoogleCloudDiscoveryengineV1betaSearchRequestSearchAddonSpec {
11277
+ /**
11278
+ * Optional. If true, generative answer add-on is disabled. Generative answer add-on includes natural language to filters and simple answers.
11279
+ */
11280
+ disableGenerativeAnswerAddOn?: boolean | null;
11281
+ /**
11282
+ * Optional. If true, disables event re-ranking and personalization to optimize KPIs & personalize results.
11283
+ */
11284
+ disableKpiPersonalizationAddOn?: boolean | null;
11285
+ /**
11286
+ * Optional. If true, semantic add-on is disabled. Semantic add-on includes embeddings and jetstream.
11287
+ */
11288
+ disableSemanticAddOn?: boolean | null;
11289
+ }
10397
11290
  /**
10398
11291
  * Specification for search as you type in search requests.
10399
11292
  */
@@ -11154,6 +12047,10 @@ export namespace discoveryengine_v1beta {
11154
12047
  * 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.
11155
12048
  */
11156
12049
  detailedAnswer?: Schema$GoogleCloudDiscoveryengineV1betaAnswer;
12050
+ /**
12051
+ * Output only. In ConversationalSearchService.GetSession API, if GetSessionRequest.include_answer_details is set to true, this field will be populated when getting assistant session.
12052
+ */
12053
+ detailedAssistAnswer?: Schema$GoogleCloudDiscoveryengineV1betaAssistAnswer;
11157
12054
  /**
11158
12055
  * Optional. The user query. May not be set if this turn is merely regenerating an answer to a different turn
11159
12056
  */
@@ -11673,7 +12570,7 @@ export namespace discoveryengine_v1beta {
11673
12570
  */
11674
12571
  eventTime?: string | null;
11675
12572
  /**
11676
- * Required. User event type. Allowed values are: Generic values: * `search`: Search for Documents. * `view-item`: Detailed page view of a Document. * `view-item-list`: View of a panel or ordered list of Documents. * `view-home-page`: View of the home page. * `view-category-page`: View of a category page, e.g. Home \> Men \> Jeans * `add-feedback`: Add a user feedback. Retail-related values: * `add-to-cart`: Add an item(s) to cart, e.g. in Retail online shopping * `purchase`: Purchase an item(s) Media-related values: * `media-play`: Start/resume watching a video, playing a song, etc. * `media-complete`: Finished or stopped midway through a video, song, etc. Custom conversion value: * `conversion`: Customer defined conversion event.
12573
+ * Required. User event type. Allowed values are: Generic values: * `search`: Search for Documents. * `view-item`: Detailed page view of a Document. * `view-item-list`: View of a panel or ordered list of Documents. * `view-home-page`: View of the home page. * `view-category-page`: View of a category page, e.g. Home \> Men \> Jeans Retail-related values: * `add-to-cart`: Add an item(s) to cart, e.g. in Retail online shopping * `purchase`: Purchase an item(s) Media-related values: * `media-play`: Start/resume watching a video, playing a song, etc. * `media-complete`: Finished or stopped midway through a video, song, etc. Custom conversion value: * `conversion`: Customer defined conversion event.
11677
12574
  */
11678
12575
  eventType?: string | null;
11679
12576
  /**
@@ -11833,6 +12730,23 @@ export namespace discoveryengine_v1beta {
11833
12730
  */
11834
12731
  state?: string | null;
11835
12732
  }
12733
+ /**
12734
+ * Collection is a container for configuring resources and access to a set of DataStores.
12735
+ */
12736
+ export interface Schema$GoogleCloudDiscoveryengineV1Collection {
12737
+ /**
12738
+ * Output only. Timestamp the Collection was created at.
12739
+ */
12740
+ createTime?: string | null;
12741
+ /**
12742
+ * Required. The Collection display name. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.
12743
+ */
12744
+ displayName?: string | null;
12745
+ /**
12746
+ * Immutable. The full resource name of the Collection. Format: `projects/{project\}/locations/{location\}/collections/{collection_id\}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
12747
+ */
12748
+ name?: string | null;
12749
+ }
11836
12750
  /**
11837
12751
  * Defines circumstances to be checked before allowing a behavior
11838
12752
  */
@@ -11876,6 +12790,15 @@ export namespace discoveryengine_v1beta {
11876
12790
  */
11877
12791
  startTime?: string | null;
11878
12792
  }
12793
+ /**
12794
+ * The contact info stored in resource level. If both project level and resource level is populated, the resource level contact info will override the project level contact info.
12795
+ */
12796
+ export interface Schema$GoogleCloudDiscoveryengineV1ContactDetails {
12797
+ /**
12798
+ * Optional. The email address of the contact.
12799
+ */
12800
+ emailAddress?: string | null;
12801
+ }
11879
12802
  /**
11880
12803
  * Defines a conditioned behavior to employ during serving. Must be attached to a ServingConfig to be considered at serving time. Permitted actions dependent on `SolutionType`.
11881
12804
  */
@@ -12093,6 +13016,268 @@ export namespace discoveryengine_v1beta {
12093
13016
  */
12094
13017
  updateTime?: string | null;
12095
13018
  }
13019
+ /**
13020
+ * Manages the connection to external data sources for all data stores grouped under a Collection. It's a singleton resource of Collection. The initialization is only supported through DataConnectorService.SetUpDataConnector method, which will create a new Collection and initialize its DataConnector.
13021
+ */
13022
+ export interface Schema$GoogleCloudDiscoveryengineV1DataConnector {
13023
+ /**
13024
+ * Optional. Whether the connector will be created with an ACL config. Currently this field only affects Cloud Storage and BigQuery connectors.
13025
+ */
13026
+ aclEnabled?: boolean | null;
13027
+ /**
13028
+ * Optional. Action configurations to make the connector support actions.
13029
+ */
13030
+ actionConfig?: Schema$GoogleCloudDiscoveryengineV1ActionConfig;
13031
+ /**
13032
+ * Output only. State of the action connector. This reflects whether the action connector is initializing, active or has encountered errors.
13033
+ */
13034
+ actionState?: string | null;
13035
+ /**
13036
+ * Optional. The connector level alert config.
13037
+ */
13038
+ alertPolicyConfigs?: Schema$GoogleCloudDiscoveryengineV1AlertPolicyConfig[];
13039
+ /**
13040
+ * Optional. Indicates whether the connector is disabled for auto run. It can be used to pause periodical and real time sync. Update: with the introduction of incremental_sync_disabled, auto_run_disabled is used to pause/disable only full syncs
13041
+ */
13042
+ autoRunDisabled?: boolean | null;
13043
+ /**
13044
+ * Optional. The configuration for establishing a BAP connection.
13045
+ */
13046
+ bapConfig?: Schema$GoogleCloudDiscoveryengineV1BAPConfig;
13047
+ /**
13048
+ * Output only. User actions that must be completed before the connector can start syncing data.
13049
+ */
13050
+ blockingReasons?: string[] | null;
13051
+ /**
13052
+ * Optional. The modes enabled for this connector. Default state is CONNECTOR_MODE_UNSPECIFIED.
13053
+ */
13054
+ connectorModes?: string[] | null;
13055
+ /**
13056
+ * Output only. The type of connector. Each source can only map to one type. For example, salesforce, confluence and jira have THIRD_PARTY connector type. It is not mutable once set by system.
13057
+ */
13058
+ connectorType?: string | null;
13059
+ /**
13060
+ * Optional. Whether the END USER AUTHENTICATION connector is created in SaaS.
13061
+ */
13062
+ createEuaSaas?: boolean | null;
13063
+ /**
13064
+ * Output only. Timestamp the DataConnector was created at.
13065
+ */
13066
+ createTime?: string | null;
13067
+ /**
13068
+ * Required. The name of the data source. Supported values: `salesforce`, `jira`, `confluence`, `bigquery`.
13069
+ */
13070
+ dataSource?: string | null;
13071
+ /**
13072
+ * Optional. Any target destinations used to connect to third-party services.
13073
+ */
13074
+ destinationConfigs?: Schema$GoogleCloudDiscoveryengineV1DestinationConfig[];
13075
+ /**
13076
+ * Optional. Any params and credentials used specifically for EUA connectors.
13077
+ */
13078
+ endUserConfig?: Schema$GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig;
13079
+ /**
13080
+ * List of entities from the connected data source to ingest.
13081
+ */
13082
+ entities?: Schema$GoogleCloudDiscoveryengineV1DataConnectorSourceEntity[];
13083
+ /**
13084
+ * Output only. The errors from initialization or from the latest connector run.
13085
+ */
13086
+ errors?: Schema$GoogleRpcStatus[];
13087
+ /**
13088
+ * Optional. Any params and credentials used specifically for hybrid connectors supporting FEDERATED mode. This field should only be set if the connector is a hybrid connector and we want to enable FEDERATED mode.
13089
+ */
13090
+ federatedConfig?: Schema$GoogleCloudDiscoveryengineV1DataConnectorFederatedConfig;
13091
+ /**
13092
+ * Optional. If the connector is a hybrid connector, determines whether ingestion is enabled and appropriate resources are provisioned during connector creation. If the connector is not a hybrid connector, this field is ignored.
13093
+ */
13094
+ hybridIngestionDisabled?: boolean | null;
13095
+ /**
13096
+ * The refresh interval to sync the Access Control List information for the documents ingested by this connector. If not set, the access control list will be refreshed at the default interval of 30 minutes. The identity refresh interval can be at least 30 minutes and at most 7 days.
13097
+ */
13098
+ identityRefreshInterval?: string | null;
13099
+ /**
13100
+ * The configuration for the identity data synchronization runs. This contains the refresh interval to sync the Access Control List information for the documents ingested by this connector.
13101
+ */
13102
+ identityScheduleConfig?: Schema$GoogleCloudDiscoveryengineV1IdentityScheduleConfig;
13103
+ /**
13104
+ * Optional. The refresh interval specifically for incremental data syncs. If unset, incremental syncs will use the default from env, set to 3hrs. The minimum is 30 minutes and maximum is 7 days. Applicable to only 3P connectors. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled.
13105
+ */
13106
+ incrementalRefreshInterval?: string | null;
13107
+ /**
13108
+ * Optional. Indicates whether incremental syncs are paused for this connector. This is independent of auto_run_disabled. Applicable to only 3P connectors. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled, i.e. set to true.
13109
+ */
13110
+ incrementalSyncDisabled?: boolean | null;
13111
+ /**
13112
+ * Required data connector parameters in json string format.
13113
+ */
13114
+ jsonParams?: string | null;
13115
+ /**
13116
+ * Input only. The KMS key to be used to protect the DataStores managed by this connector. Must be set for requests that need to comply with CMEK Org Policy protections. If this field is set and processed successfully, the DataStores created by this connector will be protected by the KMS key.
13117
+ */
13118
+ kmsKeyName?: string | null;
13119
+ /**
13120
+ * Output only. For periodic connectors only, the last time a data sync was completed.
13121
+ */
13122
+ lastSyncTime?: string | null;
13123
+ /**
13124
+ * Output only. The most recent timestamp when this DataConnector was paused, affecting all functionalities such as data synchronization. Pausing a connector has the following effects: - All functionalities, including data synchronization, are halted. - Any ongoing data synchronization job will be canceled. - No future data synchronization runs will be scheduled nor can be triggered.
13125
+ */
13126
+ latestPauseTime?: string | null;
13127
+ /**
13128
+ * Output only. The full resource name of the Data Connector. Format: `projects/x/locations/x/collections/x/dataConnector`.
13129
+ */
13130
+ name?: string | null;
13131
+ /**
13132
+ * Defines the scheduled time for the next data synchronization. This field requires hour , minute, and time_zone from the [IANA Time Zone Database](https://www.iana.org/time-zones). This is utilized when the data connector has a refresh interval greater than 1 day. When the hours or minutes are not specified, we will assume a sync time of 0:00. The user must provide a time zone to avoid ambiguity.
13133
+ */
13134
+ nextSyncTime?: Schema$GoogleTypeDateTime;
13135
+ /**
13136
+ * Required data connector parameters in structured json format.
13137
+ */
13138
+ params?: {[key: string]: any} | null;
13139
+ /**
13140
+ * Output only. The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function.
13141
+ */
13142
+ privateConnectivityProjectId?: string | null;
13143
+ /**
13144
+ * Output only. real-time sync state
13145
+ */
13146
+ realtimeState?: string | null;
13147
+ /**
13148
+ * Optional. The configuration for realtime sync.
13149
+ */
13150
+ realtimeSyncConfig?: Schema$GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfig;
13151
+ /**
13152
+ * Required. The refresh interval for data sync. If duration is set to 0, the data will be synced in real time. The streaming feature is not supported yet. The minimum is 30 minutes and maximum is 7 days. When the refresh interval is set to the same value as the incremental refresh interval, incremental sync will be disabled.
13153
+ */
13154
+ refreshInterval?: string | null;
13155
+ /**
13156
+ * Optional. Specifies keys to be removed from the 'params' field. This is only active when 'params' is included in the 'update_mask' in an UpdateDataConnectorRequest. Deletion takes precedence if a key is both in 'remove_param_keys' and present in the 'params' field of the request.
13157
+ */
13158
+ removeParamKeys?: string[] | null;
13159
+ /**
13160
+ * Output only. State of the connector.
13161
+ */
13162
+ state?: string | null;
13163
+ /**
13164
+ * Output only. The static IP addresses used by this connector.
13165
+ */
13166
+ staticIpAddresses?: string[] | null;
13167
+ /**
13168
+ * Optional. Whether customer has enabled static IP addresses for this connector.
13169
+ */
13170
+ staticIpEnabled?: boolean | null;
13171
+ /**
13172
+ * The data synchronization mode supported by the data connector.
13173
+ */
13174
+ syncMode?: string | null;
13175
+ /**
13176
+ * Output only. Timestamp the DataConnector was last updated.
13177
+ */
13178
+ updateTime?: string | null;
13179
+ }
13180
+ /**
13181
+ * Any params and credentials used specifically for EUA connectors.
13182
+ */
13183
+ export interface Schema$GoogleCloudDiscoveryengineV1DataConnectorEndUserConfig {
13184
+ /**
13185
+ * Optional. Any additional parameters needed for EUA.
13186
+ */
13187
+ additionalParams?: {[key: string]: any} | null;
13188
+ /**
13189
+ * Optional. Any authentication parameters specific to EUA connectors.
13190
+ */
13191
+ authParams?: {[key: string]: any} | null;
13192
+ /**
13193
+ * Optional. Any authentication parameters specific to EUA connectors in json string format.
13194
+ */
13195
+ jsonAuthParams?: string | null;
13196
+ /**
13197
+ * Optional. The tenant project the connector is connected to.
13198
+ */
13199
+ tenant?: Schema$GoogleCloudDiscoveryengineV1Tenant;
13200
+ }
13201
+ /**
13202
+ * Any params and credentials used specifically for hybrid connectors supporting FEDERATED mode.
13203
+ */
13204
+ export interface Schema$GoogleCloudDiscoveryengineV1DataConnectorFederatedConfig {
13205
+ /**
13206
+ * Optional. Any additional parameters needed for FEDERATED.
13207
+ */
13208
+ additionalParams?: {[key: string]: any} | null;
13209
+ /**
13210
+ * Optional. Any authentication parameters specific to FEDERATED connectors.
13211
+ */
13212
+ authParams?: {[key: string]: any} | null;
13213
+ /**
13214
+ * Optional. Any authentication parameters specific to FEDERATED connectors in json string format.
13215
+ */
13216
+ jsonAuthParams?: string | null;
13217
+ }
13218
+ /**
13219
+ * The configuration for realtime sync to store additional params for realtime sync.
13220
+ */
13221
+ export interface Schema$GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfig {
13222
+ /**
13223
+ * Optional. The ID of the Secret Manager secret used for webhook secret.
13224
+ */
13225
+ realtimeSyncSecret?: string | null;
13226
+ /**
13227
+ * Optional. Streaming error details.
13228
+ */
13229
+ streamingError?: Schema$GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfigStreamingError;
13230
+ /**
13231
+ * Optional. Webhook url for the connector to specify additional params for realtime sync.
13232
+ */
13233
+ webhookUri?: string | null;
13234
+ }
13235
+ /**
13236
+ * Streaming error details.
13237
+ */
13238
+ export interface Schema$GoogleCloudDiscoveryengineV1DataConnectorRealtimeSyncConfigStreamingError {
13239
+ /**
13240
+ * Optional. Error details.
13241
+ */
13242
+ error?: Schema$GoogleRpcStatus;
13243
+ /**
13244
+ * Optional. Streaming error.
13245
+ */
13246
+ streamingErrorReason?: string | null;
13247
+ }
13248
+ /**
13249
+ * Represents an entity in the data source. For example, the `Account` object in Salesforce.
13250
+ */
13251
+ export interface Schema$GoogleCloudDiscoveryengineV1DataConnectorSourceEntity {
13252
+ /**
13253
+ * Output only. The full resource name of the associated data store for the source entity. Format: `projects/x/locations/x/collections/x/dataStores/x`. When the connector is initialized by the DataConnectorService.SetUpDataConnector method, a DataStore is automatically created for each source entity.
13254
+ */
13255
+ dataStore?: string | null;
13256
+ /**
13257
+ * The name of the entity. Supported values by data source: * Salesforce: `Lead`, `Opportunity`, `Contact`, `Account`, `Case`, `Contract`, `Campaign` * Jira: `Issue` * Confluence: `Content`, `Space`
13258
+ */
13259
+ entityName?: string | null;
13260
+ /**
13261
+ * Optional. Configuration for `HEALTHCARE_FHIR` vertical.
13262
+ */
13263
+ healthcareFhirConfig?: Schema$GoogleCloudDiscoveryengineV1HealthcareFhirConfig;
13264
+ /**
13265
+ * The parameters for the entity to facilitate data ingestion in json string format.
13266
+ */
13267
+ jsonParams?: string | null;
13268
+ /**
13269
+ * Attributes for indexing. Key: Field name. Value: The key property to map a field to, such as `title`, and `description`. Supported key properties: * `title`: The title for data record. This would be displayed on search results. * `description`: The description for data record. This would be displayed on search results.
13270
+ */
13271
+ keyPropertyMappings?: {[key: string]: string} | null;
13272
+ /**
13273
+ * The parameters for the entity to facilitate data ingestion in structured json format.
13274
+ */
13275
+ params?: {[key: string]: any} | null;
13276
+ /**
13277
+ * Optional. The start schema to use for the DataStore created from this SourceEntity. If unset, a default vertical specialized schema will be used. This field is only used by SetUpDataConnector API, and will be ignored if used in other APIs. This field will be omitted from all API responses including GetDataConnector API. To retrieve a schema of a DataStore, use SchemaService.GetSchema API instead. The provided schema will be validated against certain rules on schema. Learn more from [this doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema).
13278
+ */
13279
+ startingSchema?: Schema$GoogleCloudDiscoveryengineV1Schema;
13280
+ }
12096
13281
  /**
12097
13282
  * DataStore captures global settings and configs at the DataStore level.
12098
13283
  */
@@ -12113,6 +13298,10 @@ export namespace discoveryengine_v1beta {
12113
13298
  * Output only. CMEK-related information for the DataStore.
12114
13299
  */
12115
13300
  cmekConfig?: Schema$GoogleCloudDiscoveryengineV1CmekConfig;
13301
+ /**
13302
+ * Optional. Configuration for configurable billing approach. See
13303
+ */
13304
+ configurableBillingApproach?: string | null;
12116
13305
  /**
12117
13306
  * Immutable. The content config of the data store. If this field is unset, the server behavior defaults to ContentConfig.NO_CONTENT.
12118
13307
  */
@@ -12225,6 +13414,19 @@ export namespace discoveryengine_v1beta {
12225
13414
  */
12226
13415
  updateTime?: string | null;
12227
13416
  }
13417
+ /**
13418
+ * Metadata related to the progress of the CollectionService.UpdateCollection operation. This will be returned by the google.longrunning.Operation.metadata field.
13419
+ */
13420
+ export interface Schema$GoogleCloudDiscoveryengineV1DeleteCollectionMetadata {
13421
+ /**
13422
+ * Operation create time.
13423
+ */
13424
+ createTime?: string | null;
13425
+ /**
13426
+ * Operation last update time. If the operation is done, this is also the finish time.
13427
+ */
13428
+ updateTime?: string | null;
13429
+ }
12228
13430
  /**
12229
13431
  * Metadata related to the progress of the DataStoreService.DeleteDataStore operation. This will be returned by the google.longrunning.Operation.metadata field.
12230
13432
  */
@@ -12303,6 +13505,40 @@ export namespace discoveryengine_v1beta {
12303
13505
  */
12304
13506
  updateTime?: string | null;
12305
13507
  }
13508
+ /**
13509
+ * Defines target endpoints used to connect to third-party sources.
13510
+ */
13511
+ export interface Schema$GoogleCloudDiscoveryengineV1DestinationConfig {
13512
+ /**
13513
+ * Optional. The destinations for the corresponding key.
13514
+ */
13515
+ destinations?: Schema$GoogleCloudDiscoveryengineV1DestinationConfigDestination[];
13516
+ /**
13517
+ * Additional parameters for this destination config in json string format.
13518
+ */
13519
+ jsonParams?: string | null;
13520
+ /**
13521
+ * Optional. Unique destination identifier that is supported by the connector.
13522
+ */
13523
+ key?: string | null;
13524
+ /**
13525
+ * Optional. Additional parameters for this destination config in structured json format.
13526
+ */
13527
+ params?: {[key: string]: any} | null;
13528
+ }
13529
+ /**
13530
+ * Defines a target endpoint
13531
+ */
13532
+ export interface Schema$GoogleCloudDiscoveryengineV1DestinationConfigDestination {
13533
+ /**
13534
+ * Publicly routable host.
13535
+ */
13536
+ host?: string | null;
13537
+ /**
13538
+ * Optional. Target port number accepted by the destination.
13539
+ */
13540
+ port?: number | null;
13541
+ }
12306
13542
  /**
12307
13543
  * Metadata related to the progress of the SiteSearchEngineService.DisableAdvancedSiteSearch operation. This will be returned by the google.longrunning.Operation.metadata field.
12308
13544
  */
@@ -12455,6 +13691,10 @@ export namespace discoveryengine_v1beta {
12455
13691
  * Metadata that describes the training and serving parameters of an Engine.
12456
13692
  */
12457
13693
  export interface Schema$GoogleCloudDiscoveryengineV1Engine {
13694
+ /**
13695
+ * Optional. Immutable. This the application type which this engine resource represents. NOTE: this is a new concept independ of existing industry vertical or solution type.
13696
+ */
13697
+ appType?: string | null;
12458
13698
  /**
12459
13699
  * Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT.
12460
13700
  */
@@ -12467,6 +13707,10 @@ export namespace discoveryengine_v1beta {
12467
13707
  * Common config spec that specifies the metadata of the engine.
12468
13708
  */
12469
13709
  commonConfig?: Schema$GoogleCloudDiscoveryengineV1EngineCommonConfig;
13710
+ /**
13711
+ * Optional. Configuration for configurable billing approach.
13712
+ */
13713
+ configurableBillingApproach?: string | null;
12470
13714
  /**
12471
13715
  * Output only. Timestamp the Recommendation Engine was created at.
12472
13716
  */
@@ -12484,7 +13728,7 @@ export namespace discoveryengine_v1beta {
12484
13728
  */
12485
13729
  displayName?: string | null;
12486
13730
  /**
12487
- * 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` - Enables personalization based on user preferences.
13731
+ * 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`
12488
13732
  */
12489
13733
  features?: {[key: string]: string} | null;
12490
13734
  /**
@@ -12680,6 +13924,41 @@ export namespace discoveryengine_v1beta {
12680
13924
  */
12681
13925
  totalCount?: string | null;
12682
13926
  }
13927
+ /**
13928
+ * The configuration for the identity data synchronization runs.
13929
+ */
13930
+ export interface Schema$GoogleCloudDiscoveryengineV1IdentityScheduleConfig {
13931
+ /**
13932
+ * Optional. The UTC time when the next data sync is expected to start for the Data Connector. Customers are only able to specify the hour and minute to schedule the data sync. This is utilized when the data connector has a refresh interval greater than 1 day.
13933
+ */
13934
+ nextSyncTime?: Schema$GoogleTypeDateTime;
13935
+ /**
13936
+ * Optional. The refresh interval to sync the Access Control List information for the documents ingested by this connector. If not set, the access control list will be refreshed at the default interval of 30 minutes. The identity refresh interval can be at least 30 minutes and at most 7 days.
13937
+ */
13938
+ refreshInterval?: string | null;
13939
+ }
13940
+ /**
13941
+ * Identity Provider Config.
13942
+ */
13943
+ export interface Schema$GoogleCloudDiscoveryengineV1IdpConfig {
13944
+ /**
13945
+ * External Identity provider config.
13946
+ */
13947
+ externalIdpConfig?: Schema$GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig;
13948
+ /**
13949
+ * Identity provider type configured.
13950
+ */
13951
+ idpType?: string | null;
13952
+ }
13953
+ /**
13954
+ * Third party IDP Config.
13955
+ */
13956
+ export interface Schema$GoogleCloudDiscoveryengineV1IdpConfigExternalIdpConfig {
13957
+ /**
13958
+ * Workforce pool name. Example: "locations/global/workforcePools/pool_id"
13959
+ */
13960
+ workforcePoolName?: string | null;
13961
+ }
12683
13962
  /**
12684
13963
  * Metadata related to the progress of the ImportCompletionSuggestions operation. This will be returned by the google.longrunning.Operation.metadata field.
12685
13964
  */
@@ -12842,6 +14121,51 @@ export namespace discoveryengine_v1beta {
12842
14121
  */
12843
14122
  unjoinedEventsCount?: string | null;
12844
14123
  }
14124
+ /**
14125
+ * Information about users' licenses.
14126
+ */
14127
+ export interface Schema$GoogleCloudDiscoveryengineV1LicenseConfig {
14128
+ /**
14129
+ * Optional. The alert policy config for this license config.
14130
+ */
14131
+ alertPolicyResourceConfig?: Schema$GoogleCloudDiscoveryengineV1AlertPolicyResourceConfig;
14132
+ /**
14133
+ * Optional. Whether the license config should be auto renewed when it reaches the end date.
14134
+ */
14135
+ autoRenew?: boolean | null;
14136
+ /**
14137
+ * Optional. The planed end date.
14138
+ */
14139
+ endDate?: Schema$GoogleTypeDate;
14140
+ /**
14141
+ * Optional. Whether the license config is for free trial.
14142
+ */
14143
+ freeTrial?: boolean | null;
14144
+ /**
14145
+ * Required. Number of licenses purchased.
14146
+ */
14147
+ licenseCount?: string | null;
14148
+ /**
14149
+ * Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project\}/locations/{location\}/licenseConfigs/{license_config\}`
14150
+ */
14151
+ name?: string | null;
14152
+ /**
14153
+ * Required. The start date.
14154
+ */
14155
+ startDate?: Schema$GoogleTypeDate;
14156
+ /**
14157
+ * Output only. The state of the license config.
14158
+ */
14159
+ state?: string | null;
14160
+ /**
14161
+ * Required. Subscription term.
14162
+ */
14163
+ subscriptionTerm?: string | null;
14164
+ /**
14165
+ * Required. Subscription tier information for the license config.
14166
+ */
14167
+ subscriptionTier?: string | null;
14168
+ }
12845
14169
  /**
12846
14170
  * Metadata and configurations for a Google Cloud project in the service.
12847
14171
  */
@@ -12850,6 +14174,10 @@ export namespace discoveryengine_v1beta {
12850
14174
  * Output only. The timestamp when this project is created.
12851
14175
  */
12852
14176
  createTime?: string | null;
14177
+ /**
14178
+ * Optional. Customer provided configurations.
14179
+ */
14180
+ customerProvidedConfig?: Schema$GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig;
12853
14181
  /**
12854
14182
  * Output only. Full resource name of the project, for example `projects/{project\}`. Note that when making requests, project number and project id are both acceptable, but the server will always respond in project number.
12855
14183
  */
@@ -12865,6 +14193,37 @@ export namespace discoveryengine_v1beta {
12865
14193
  [key: string]: Schema$GoogleCloudDiscoveryengineV1ProjectServiceTerms;
12866
14194
  } | null;
12867
14195
  }
14196
+ /**
14197
+ * Customer provided configurations.
14198
+ */
14199
+ export interface Schema$GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig {
14200
+ /**
14201
+ * Optional. Configuration for NotebookLM settings.
14202
+ */
14203
+ notebooklmConfig?: Schema$GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig;
14204
+ }
14205
+ /**
14206
+ * Configuration for NotebookLM.
14207
+ */
14208
+ export interface Schema$GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfig {
14209
+ /**
14210
+ * Model Armor configuration to be used for sanitizing user prompts and LLM responses.
14211
+ */
14212
+ modelArmorConfig?: Schema$GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig;
14213
+ }
14214
+ /**
14215
+ * Configuration for customer defined Model Armor templates to be used for sanitizing user prompts and LLM responses.
14216
+ */
14217
+ export interface Schema$GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfigNotebooklmConfigModelArmorConfig {
14218
+ /**
14219
+ * 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.
14220
+ */
14221
+ responseTemplate?: string | null;
14222
+ /**
14223
+ * Optional. The resource name of the Model Armor Template for sanitizing user prompts. Format: projects/{project\}/locations/{location\}/templates/{template_id\} If not specified, no sanitization will be applied to the user prompt.
14224
+ */
14225
+ userPromptTemplate?: string | null;
14226
+ }
12868
14227
  /**
12869
14228
  * Metadata about the terms of service.
12870
14229
  */
@@ -13292,6 +14651,10 @@ export namespace discoveryengine_v1beta {
13292
14651
  */
13293
14652
  demotionEventType?: string | null;
13294
14653
  }
14654
+ /**
14655
+ * Metadata for DataConnectorService.SetUpDataConnector method.
14656
+ */
14657
+ export interface Schema$GoogleCloudDiscoveryengineV1SetUpDataConnectorMetadata {}
13295
14658
  /**
13296
14659
  * Metadata for single-regional CMEKs.
13297
14660
  */
@@ -13394,6 +14757,23 @@ export namespace discoveryengine_v1beta {
13394
14757
  */
13395
14758
  totalRequiredQuota?: string | null;
13396
14759
  }
14760
+ /**
14761
+ * Tenant information for a connector source. This includes some of the same information stored in the Credential message, but is limited to only what is needed to provide a list of accessible tenants to the user.
14762
+ */
14763
+ export interface Schema$GoogleCloudDiscoveryengineV1Tenant {
14764
+ /**
14765
+ * Optional display name for the tenant, e.g. "My Slack Team".
14766
+ */
14767
+ displayName?: string | null;
14768
+ /**
14769
+ * The tenant's instance ID. Examples: Jira ("8594f221-9797-5f78-1fa4-485e198d7cd0"), Slack ("T123456").
14770
+ */
14771
+ id?: string | null;
14772
+ /**
14773
+ * The URI of the tenant, if applicable. For example, the URI of a Jira instance is https://my-jira-instance.atlassian.net, and a Slack tenant does not have a URI.
14774
+ */
14775
+ uri?: string | null;
14776
+ }
13397
14777
  /**
13398
14778
  * Metadata related to the progress of the TrainCustomModel operation. This is returned by the google.longrunning.Operation.metadata field.
13399
14779
  */
@@ -13541,6 +14921,10 @@ export namespace discoveryengine_v1beta {
13541
14921
  * A list of operations that matches the specified filter in the request.
13542
14922
  */
13543
14923
  operations?: Schema$GoogleLongrunningOperation[];
14924
+ /**
14925
+ * Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
14926
+ */
14927
+ unreachable?: string[] | null;
13544
14928
  }
13545
14929
  /**
13546
14930
  * This resource represents a long-running operation that is the result of a network API call.
@@ -14128,6 +15512,7 @@ export namespace discoveryengine_v1beta {
14128
15512
  evaluations: Resource$Projects$Locations$Evaluations;
14129
15513
  groundingConfigs: Resource$Projects$Locations$Groundingconfigs;
14130
15514
  identityMappingStores: Resource$Projects$Locations$Identitymappingstores;
15515
+ licenseConfigs: Resource$Projects$Locations$Licenseconfigs;
14131
15516
  operations: Resource$Projects$Locations$Operations;
14132
15517
  podcasts: Resource$Projects$Locations$Podcasts;
14133
15518
  rankingConfigs: Resource$Projects$Locations$Rankingconfigs;
@@ -14153,6 +15538,9 @@ export namespace discoveryengine_v1beta {
14153
15538
  );
14154
15539
  this.identityMappingStores =
14155
15540
  new Resource$Projects$Locations$Identitymappingstores(this.context);
15541
+ this.licenseConfigs = new Resource$Projects$Locations$Licenseconfigs(
15542
+ this.context
15543
+ );
14156
15544
  this.operations = new Resource$Projects$Locations$Operations(
14157
15545
  this.context
14158
15546
  );
@@ -14171,6 +15559,152 @@ export namespace discoveryengine_v1beta {
14171
15559
  );
14172
15560
  }
14173
15561
 
15562
+ /**
15563
+ * Gets the AclConfig.
15564
+ * @example
15565
+ * ```js
15566
+ * // Before running the sample:
15567
+ * // - Enable the API at:
15568
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
15569
+ * // - Login into gcloud by running:
15570
+ * // ```sh
15571
+ * // $ gcloud auth application-default login
15572
+ * // ```
15573
+ * // - Install the npm module by running:
15574
+ * // ```sh
15575
+ * // $ npm install googleapis
15576
+ * // ```
15577
+ *
15578
+ * const {google} = require('googleapis');
15579
+ * const discoveryengine = google.discoveryengine('v1beta');
15580
+ *
15581
+ * async function main() {
15582
+ * const auth = new google.auth.GoogleAuth({
15583
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
15584
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
15585
+ * });
15586
+ *
15587
+ * // Acquire an auth client, and bind it to all future calls
15588
+ * const authClient = await auth.getClient();
15589
+ * google.options({auth: authClient});
15590
+ *
15591
+ * // Do the magic
15592
+ * const res = await discoveryengine.projects.locations.getAclConfig({
15593
+ * // Required. Resource name of AclConfig, such as `projects/x/locations/x/aclConfig`. If the caller does not have permission to access the AclConfig, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
15594
+ * name: 'projects/my-project/locations/my-location/aclConfig',
15595
+ * });
15596
+ * console.log(res.data);
15597
+ *
15598
+ * // Example response
15599
+ * // {
15600
+ * // "idpConfig": {},
15601
+ * // "name": "my_name"
15602
+ * // }
15603
+ * }
15604
+ *
15605
+ * main().catch(e => {
15606
+ * console.error(e);
15607
+ * throw e;
15608
+ * });
15609
+ *
15610
+ * ```
15611
+ *
15612
+ * @param params - Parameters for request
15613
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
15614
+ * @param callback - Optional callback that handles the response.
15615
+ * @returns A promise if used with async/await, or void if used with a callback.
15616
+ */
15617
+ getAclConfig(
15618
+ params: Params$Resource$Projects$Locations$Getaclconfig,
15619
+ options: StreamMethodOptions
15620
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
15621
+ getAclConfig(
15622
+ params?: Params$Resource$Projects$Locations$Getaclconfig,
15623
+ options?: MethodOptions
15624
+ ): Promise<
15625
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1betaAclConfig>
15626
+ >;
15627
+ getAclConfig(
15628
+ params: Params$Resource$Projects$Locations$Getaclconfig,
15629
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
15630
+ callback: BodyResponseCallback<Readable>
15631
+ ): void;
15632
+ getAclConfig(
15633
+ params: Params$Resource$Projects$Locations$Getaclconfig,
15634
+ options:
15635
+ | MethodOptions
15636
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaAclConfig>,
15637
+ callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaAclConfig>
15638
+ ): void;
15639
+ getAclConfig(
15640
+ params: Params$Resource$Projects$Locations$Getaclconfig,
15641
+ callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaAclConfig>
15642
+ ): void;
15643
+ getAclConfig(
15644
+ callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaAclConfig>
15645
+ ): void;
15646
+ getAclConfig(
15647
+ paramsOrCallback?:
15648
+ | Params$Resource$Projects$Locations$Getaclconfig
15649
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaAclConfig>
15650
+ | BodyResponseCallback<Readable>,
15651
+ optionsOrCallback?:
15652
+ | MethodOptions
15653
+ | StreamMethodOptions
15654
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaAclConfig>
15655
+ | BodyResponseCallback<Readable>,
15656
+ callback?:
15657
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaAclConfig>
15658
+ | BodyResponseCallback<Readable>
15659
+ ):
15660
+ | void
15661
+ | Promise<
15662
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1betaAclConfig>
15663
+ >
15664
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
15665
+ let params = (paramsOrCallback ||
15666
+ {}) as Params$Resource$Projects$Locations$Getaclconfig;
15667
+ let options = (optionsOrCallback || {}) as MethodOptions;
15668
+
15669
+ if (typeof paramsOrCallback === 'function') {
15670
+ callback = paramsOrCallback;
15671
+ params = {} as Params$Resource$Projects$Locations$Getaclconfig;
15672
+ options = {};
15673
+ }
15674
+
15675
+ if (typeof optionsOrCallback === 'function') {
15676
+ callback = optionsOrCallback;
15677
+ options = {};
15678
+ }
15679
+
15680
+ const rootUrl =
15681
+ options.rootUrl || 'https://discoveryengine.googleapis.com/';
15682
+ const parameters = {
15683
+ options: Object.assign(
15684
+ {
15685
+ url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'),
15686
+ method: 'GET',
15687
+ apiVersion: '',
15688
+ },
15689
+ options
15690
+ ),
15691
+ params,
15692
+ requiredParams: ['name'],
15693
+ pathParams: ['name'],
15694
+ context: this.context,
15695
+ };
15696
+ if (callback) {
15697
+ createAPIRequest<Schema$GoogleCloudDiscoveryengineV1betaAclConfig>(
15698
+ parameters,
15699
+ callback as BodyResponseCallback<unknown>
15700
+ );
15701
+ } else {
15702
+ return createAPIRequest<Schema$GoogleCloudDiscoveryengineV1betaAclConfig>(
15703
+ parameters
15704
+ );
15705
+ }
15706
+ }
15707
+
14174
15708
  /**
14175
15709
  * Gets the CmekConfig.
14176
15710
  * @example
@@ -14794,6 +16328,161 @@ export namespace discoveryengine_v1beta {
14794
16328
  }
14795
16329
  }
14796
16330
 
16331
+ /**
16332
+ * Default ACL configuration for use in a location of a customer's project. Updates will only reflect to new data stores. Existing data stores will still use the old value.
16333
+ * @example
16334
+ * ```js
16335
+ * // Before running the sample:
16336
+ * // - Enable the API at:
16337
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
16338
+ * // - Login into gcloud by running:
16339
+ * // ```sh
16340
+ * // $ gcloud auth application-default login
16341
+ * // ```
16342
+ * // - Install the npm module by running:
16343
+ * // ```sh
16344
+ * // $ npm install googleapis
16345
+ * // ```
16346
+ *
16347
+ * const {google} = require('googleapis');
16348
+ * const discoveryengine = google.discoveryengine('v1beta');
16349
+ *
16350
+ * async function main() {
16351
+ * const auth = new google.auth.GoogleAuth({
16352
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
16353
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
16354
+ * });
16355
+ *
16356
+ * // Acquire an auth client, and bind it to all future calls
16357
+ * const authClient = await auth.getClient();
16358
+ * google.options({auth: authClient});
16359
+ *
16360
+ * // Do the magic
16361
+ * const res = await discoveryengine.projects.locations.updateAclConfig({
16362
+ * // Immutable. The full resource name of the acl configuration. Format: `projects/{project\}/locations/{location\}/aclConfig`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
16363
+ * name: 'projects/my-project/locations/my-location/aclConfig',
16364
+ *
16365
+ * // Request body metadata
16366
+ * requestBody: {
16367
+ * // request body parameters
16368
+ * // {
16369
+ * // "idpConfig": {},
16370
+ * // "name": "my_name"
16371
+ * // }
16372
+ * },
16373
+ * });
16374
+ * console.log(res.data);
16375
+ *
16376
+ * // Example response
16377
+ * // {
16378
+ * // "idpConfig": {},
16379
+ * // "name": "my_name"
16380
+ * // }
16381
+ * }
16382
+ *
16383
+ * main().catch(e => {
16384
+ * console.error(e);
16385
+ * throw e;
16386
+ * });
16387
+ *
16388
+ * ```
16389
+ *
16390
+ * @param params - Parameters for request
16391
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
16392
+ * @param callback - Optional callback that handles the response.
16393
+ * @returns A promise if used with async/await, or void if used with a callback.
16394
+ */
16395
+ updateAclConfig(
16396
+ params: Params$Resource$Projects$Locations$Updateaclconfig,
16397
+ options: StreamMethodOptions
16398
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
16399
+ updateAclConfig(
16400
+ params?: Params$Resource$Projects$Locations$Updateaclconfig,
16401
+ options?: MethodOptions
16402
+ ): Promise<
16403
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1betaAclConfig>
16404
+ >;
16405
+ updateAclConfig(
16406
+ params: Params$Resource$Projects$Locations$Updateaclconfig,
16407
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
16408
+ callback: BodyResponseCallback<Readable>
16409
+ ): void;
16410
+ updateAclConfig(
16411
+ params: Params$Resource$Projects$Locations$Updateaclconfig,
16412
+ options:
16413
+ | MethodOptions
16414
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaAclConfig>,
16415
+ callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaAclConfig>
16416
+ ): void;
16417
+ updateAclConfig(
16418
+ params: Params$Resource$Projects$Locations$Updateaclconfig,
16419
+ callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaAclConfig>
16420
+ ): void;
16421
+ updateAclConfig(
16422
+ callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaAclConfig>
16423
+ ): void;
16424
+ updateAclConfig(
16425
+ paramsOrCallback?:
16426
+ | Params$Resource$Projects$Locations$Updateaclconfig
16427
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaAclConfig>
16428
+ | BodyResponseCallback<Readable>,
16429
+ optionsOrCallback?:
16430
+ | MethodOptions
16431
+ | StreamMethodOptions
16432
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaAclConfig>
16433
+ | BodyResponseCallback<Readable>,
16434
+ callback?:
16435
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaAclConfig>
16436
+ | BodyResponseCallback<Readable>
16437
+ ):
16438
+ | void
16439
+ | Promise<
16440
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1betaAclConfig>
16441
+ >
16442
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
16443
+ let params = (paramsOrCallback ||
16444
+ {}) as Params$Resource$Projects$Locations$Updateaclconfig;
16445
+ let options = (optionsOrCallback || {}) as MethodOptions;
16446
+
16447
+ if (typeof paramsOrCallback === 'function') {
16448
+ callback = paramsOrCallback;
16449
+ params = {} as Params$Resource$Projects$Locations$Updateaclconfig;
16450
+ options = {};
16451
+ }
16452
+
16453
+ if (typeof optionsOrCallback === 'function') {
16454
+ callback = optionsOrCallback;
16455
+ options = {};
16456
+ }
16457
+
16458
+ const rootUrl =
16459
+ options.rootUrl || 'https://discoveryengine.googleapis.com/';
16460
+ const parameters = {
16461
+ options: Object.assign(
16462
+ {
16463
+ url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'),
16464
+ method: 'PATCH',
16465
+ apiVersion: '',
16466
+ },
16467
+ options
16468
+ ),
16469
+ params,
16470
+ requiredParams: ['name'],
16471
+ pathParams: ['name'],
16472
+ context: this.context,
16473
+ };
16474
+ if (callback) {
16475
+ createAPIRequest<Schema$GoogleCloudDiscoveryengineV1betaAclConfig>(
16476
+ parameters,
16477
+ callback as BodyResponseCallback<unknown>
16478
+ );
16479
+ } else {
16480
+ return createAPIRequest<Schema$GoogleCloudDiscoveryengineV1betaAclConfig>(
16481
+ parameters
16482
+ );
16483
+ }
16484
+ }
16485
+
14797
16486
  /**
14798
16487
  * Provisions a CMEK key for use in a location of a customer's project. This method will also conduct location validation on the provided cmekConfig to make sure the key is valid and can be used in the selected location.
14799
16488
  * @example
@@ -14955,6 +16644,13 @@ export namespace discoveryengine_v1beta {
14955
16644
  }
14956
16645
  }
14957
16646
 
16647
+ export interface Params$Resource$Projects$Locations$Getaclconfig
16648
+ extends StandardParameters {
16649
+ /**
16650
+ * Required. Resource name of AclConfig, such as `projects/x/locations/x/aclConfig`. If the caller does not have permission to access the AclConfig, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.
16651
+ */
16652
+ name?: string;
16653
+ }
14958
16654
  export interface Params$Resource$Projects$Locations$Getcmekconfig
14959
16655
  extends StandardParameters {
14960
16656
  /**
@@ -14998,6 +16694,18 @@ export namespace discoveryengine_v1beta {
14998
16694
  */
14999
16695
  requestBody?: Schema$GoogleCloudDiscoveryengineV1betaSetDedicatedCrawlRateRequest;
15000
16696
  }
16697
+ export interface Params$Resource$Projects$Locations$Updateaclconfig
16698
+ extends StandardParameters {
16699
+ /**
16700
+ * Immutable. The full resource name of the acl configuration. Format: `projects/{project\}/locations/{location\}/aclConfig`. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
16701
+ */
16702
+ name?: string;
16703
+
16704
+ /**
16705
+ * Request body metadata
16706
+ */
16707
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1betaAclConfig;
16708
+ }
15001
16709
  export interface Params$Resource$Projects$Locations$Updatecmekconfig
15002
16710
  extends StandardParameters {
15003
16711
  /**
@@ -15891,6 +17599,8 @@ export namespace discoveryengine_v1beta {
15891
17599
  * pageSize: 'placeholder-value',
15892
17600
  * // The standard list page token.
15893
17601
  * pageToken: 'placeholder-value',
17602
+ * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
17603
+ * returnPartialSuccess: 'placeholder-value',
15894
17604
  * },
15895
17605
  * );
15896
17606
  * console.log(res.data);
@@ -15898,7 +17608,8 @@ export namespace discoveryengine_v1beta {
15898
17608
  * // Example response
15899
17609
  * // {
15900
17610
  * // "nextPageToken": "my_nextPageToken",
15901
- * // "operations": []
17611
+ * // "operations": [],
17612
+ * // "unreachable": []
15902
17613
  * // }
15903
17614
  * }
15904
17615
  *
@@ -16035,6 +17746,10 @@ export namespace discoveryengine_v1beta {
16035
17746
  * The standard list page token.
16036
17747
  */
16037
17748
  pageToken?: string;
17749
+ /**
17750
+ * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
17751
+ */
17752
+ returnPartialSuccess?: boolean;
16038
17753
  }
16039
17754
 
16040
17755
  export class Resource$Projects$Locations$Collections$Datastores {
@@ -16329,6 +18044,7 @@ export namespace discoveryengine_v1beta {
16329
18044
  * // "advancedSiteSearchConfig": {},
16330
18045
  * // "billingEstimation": {},
16331
18046
  * // "cmekConfig": {},
18047
+ * // "configurableBillingApproach": "my_configurableBillingApproach",
16332
18048
  * // "contentConfig": "my_contentConfig",
16333
18049
  * // "createTime": "my_createTime",
16334
18050
  * // "defaultSchemaId": "my_defaultSchemaId",
@@ -16650,6 +18366,7 @@ export namespace discoveryengine_v1beta {
16650
18366
  * // "advancedSiteSearchConfig": {},
16651
18367
  * // "billingEstimation": {},
16652
18368
  * // "cmekConfig": {},
18369
+ * // "configurableBillingApproach": "my_configurableBillingApproach",
16653
18370
  * // "contentConfig": "my_contentConfig",
16654
18371
  * // "createTime": "my_createTime",
16655
18372
  * // "defaultSchemaId": "my_defaultSchemaId",
@@ -17126,6 +18843,7 @@ export namespace discoveryengine_v1beta {
17126
18843
  * // "advancedSiteSearchConfig": {},
17127
18844
  * // "billingEstimation": {},
17128
18845
  * // "cmekConfig": {},
18846
+ * // "configurableBillingApproach": "my_configurableBillingApproach",
17129
18847
  * // "contentConfig": "my_contentConfig",
17130
18848
  * // "createTime": "my_createTime",
17131
18849
  * // "defaultSchemaId": "my_defaultSchemaId",
@@ -17154,6 +18872,7 @@ export namespace discoveryengine_v1beta {
17154
18872
  * // "advancedSiteSearchConfig": {},
17155
18873
  * // "billingEstimation": {},
17156
18874
  * // "cmekConfig": {},
18875
+ * // "configurableBillingApproach": "my_configurableBillingApproach",
17157
18876
  * // "contentConfig": "my_contentConfig",
17158
18877
  * // "createTime": "my_createTime",
17159
18878
  * // "defaultSchemaId": "my_defaultSchemaId",
@@ -19345,6 +21064,8 @@ export namespace discoveryengine_v1beta {
19345
21064
  * pageSize: 'placeholder-value',
19346
21065
  * // The standard list page token.
19347
21066
  * pageToken: 'placeholder-value',
21067
+ * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
21068
+ * returnPartialSuccess: 'placeholder-value',
19348
21069
  * },
19349
21070
  * );
19350
21071
  * console.log(res.data);
@@ -19352,7 +21073,8 @@ export namespace discoveryengine_v1beta {
19352
21073
  * // Example response
19353
21074
  * // {
19354
21075
  * // "nextPageToken": "my_nextPageToken",
19355
- * // "operations": []
21076
+ * // "operations": [],
21077
+ * // "unreachable": []
19356
21078
  * // }
19357
21079
  * }
19358
21080
  *
@@ -19501,6 +21223,10 @@ export namespace discoveryengine_v1beta {
19501
21223
  * The standard list page token.
19502
21224
  */
19503
21225
  pageToken?: string;
21226
+ /**
21227
+ * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
21228
+ */
21229
+ returnPartialSuccess?: boolean;
19504
21230
  }
19505
21231
 
19506
21232
  export class Resource$Projects$Locations$Collections$Datastores$Completionconfig {
@@ -22360,6 +24086,8 @@ export namespace discoveryengine_v1beta {
22360
24086
  * pageSize: 'placeholder-value',
22361
24087
  * // The standard list page token.
22362
24088
  * pageToken: 'placeholder-value',
24089
+ * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
24090
+ * returnPartialSuccess: 'placeholder-value',
22363
24091
  * },
22364
24092
  * );
22365
24093
  * console.log(res.data);
@@ -22367,7 +24095,8 @@ export namespace discoveryengine_v1beta {
22367
24095
  * // Example response
22368
24096
  * // {
22369
24097
  * // "nextPageToken": "my_nextPageToken",
22370
- * // "operations": []
24098
+ * // "operations": [],
24099
+ * // "unreachable": []
22371
24100
  * // }
22372
24101
  * }
22373
24102
  *
@@ -22504,6 +24233,10 @@ export namespace discoveryengine_v1beta {
22504
24233
  * The standard list page token.
22505
24234
  */
22506
24235
  pageToken?: string;
24236
+ /**
24237
+ * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
24238
+ */
24239
+ returnPartialSuccess?: boolean;
22507
24240
  }
22508
24241
 
22509
24242
  export class Resource$Projects$Locations$Collections$Datastores$Operations {
@@ -22700,6 +24433,8 @@ export namespace discoveryengine_v1beta {
22700
24433
  * pageSize: 'placeholder-value',
22701
24434
  * // The standard list page token.
22702
24435
  * pageToken: 'placeholder-value',
24436
+ * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
24437
+ * returnPartialSuccess: 'placeholder-value',
22703
24438
  * },
22704
24439
  * );
22705
24440
  * console.log(res.data);
@@ -22707,7 +24442,8 @@ export namespace discoveryengine_v1beta {
22707
24442
  * // Example response
22708
24443
  * // {
22709
24444
  * // "nextPageToken": "my_nextPageToken",
22710
- * // "operations": []
24445
+ * // "operations": [],
24446
+ * // "unreachable": []
22711
24447
  * // }
22712
24448
  * }
22713
24449
  *
@@ -22844,6 +24580,10 @@ export namespace discoveryengine_v1beta {
22844
24580
  * The standard list page token.
22845
24581
  */
22846
24582
  pageToken?: string;
24583
+ /**
24584
+ * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
24585
+ */
24586
+ returnPartialSuccess?: boolean;
22847
24587
  }
22848
24588
 
22849
24589
  export class Resource$Projects$Locations$Collections$Datastores$Schemas {
@@ -23892,6 +25632,8 @@ export namespace discoveryengine_v1beta {
23892
25632
  * pageSize: 'placeholder-value',
23893
25633
  * // The standard list page token.
23894
25634
  * pageToken: 'placeholder-value',
25635
+ * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
25636
+ * returnPartialSuccess: 'placeholder-value',
23895
25637
  * },
23896
25638
  * );
23897
25639
  * console.log(res.data);
@@ -23899,7 +25641,8 @@ export namespace discoveryengine_v1beta {
23899
25641
  * // Example response
23900
25642
  * // {
23901
25643
  * // "nextPageToken": "my_nextPageToken",
23902
- * // "operations": []
25644
+ * // "operations": [],
25645
+ * // "unreachable": []
23903
25646
  * // }
23904
25647
  * }
23905
25648
  *
@@ -24036,6 +25779,10 @@ export namespace discoveryengine_v1beta {
24036
25779
  * The standard list page token.
24037
25780
  */
24038
25781
  pageToken?: string;
25782
+ /**
25783
+ * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
25784
+ */
25785
+ returnPartialSuccess?: boolean;
24039
25786
  }
24040
25787
 
24041
25788
  export class Resource$Projects$Locations$Collections$Datastores$Servingconfigs {
@@ -24984,6 +26731,7 @@ export namespace discoveryengine_v1beta {
24984
26731
  * // "relevanceScoreSpec": {},
24985
26732
  * // "relevanceThreshold": "my_relevanceThreshold",
24986
26733
  * // "safeSearch": false,
26734
+ * // "searchAddonSpec": {},
24987
26735
  * // "searchAsYouTypeSpec": {},
24988
26736
  * // "servingConfig": "my_servingConfig",
24989
26737
  * // "session": "my_session",
@@ -25195,6 +26943,7 @@ export namespace discoveryengine_v1beta {
25195
26943
  * // "relevanceScoreSpec": {},
25196
26944
  * // "relevanceThreshold": "my_relevanceThreshold",
25197
26945
  * // "safeSearch": false,
26946
+ * // "searchAddonSpec": {},
25198
26947
  * // "searchAsYouTypeSpec": {},
25199
26948
  * // "servingConfig": "my_servingConfig",
25200
26949
  * // "session": "my_session",
@@ -27745,6 +29494,8 @@ export namespace discoveryengine_v1beta {
27745
29494
  * pageSize: 'placeholder-value',
27746
29495
  * // The standard list page token.
27747
29496
  * pageToken: 'placeholder-value',
29497
+ * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
29498
+ * returnPartialSuccess: 'placeholder-value',
27748
29499
  * },
27749
29500
  * );
27750
29501
  * console.log(res.data);
@@ -27752,7 +29503,8 @@ export namespace discoveryengine_v1beta {
27752
29503
  * // Example response
27753
29504
  * // {
27754
29505
  * // "nextPageToken": "my_nextPageToken",
27755
- * // "operations": []
29506
+ * // "operations": [],
29507
+ * // "unreachable": []
27756
29508
  * // }
27757
29509
  * }
27758
29510
  *
@@ -27889,6 +29641,10 @@ export namespace discoveryengine_v1beta {
27889
29641
  * The standard list page token.
27890
29642
  */
27891
29643
  pageToken?: string;
29644
+ /**
29645
+ * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
29646
+ */
29647
+ returnPartialSuccess?: boolean;
27892
29648
  }
27893
29649
 
27894
29650
  export class Resource$Projects$Locations$Collections$Datastores$Sitesearchengine$Sitemaps {
@@ -29618,6 +31374,8 @@ export namespace discoveryengine_v1beta {
29618
31374
  * pageSize: 'placeholder-value',
29619
31375
  * // The standard list page token.
29620
31376
  * pageToken: 'placeholder-value',
31377
+ * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
31378
+ * returnPartialSuccess: 'placeholder-value',
29621
31379
  * },
29622
31380
  * );
29623
31381
  * console.log(res.data);
@@ -29625,7 +31383,8 @@ export namespace discoveryengine_v1beta {
29625
31383
  * // Example response
29626
31384
  * // {
29627
31385
  * // "nextPageToken": "my_nextPageToken",
29628
- * // "operations": []
31386
+ * // "operations": [],
31387
+ * // "unreachable": []
29629
31388
  * // }
29630
31389
  * }
29631
31390
  *
@@ -29762,6 +31521,10 @@ export namespace discoveryengine_v1beta {
29762
31521
  * The standard list page token.
29763
31522
  */
29764
31523
  pageToken?: string;
31524
+ /**
31525
+ * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
31526
+ */
31527
+ returnPartialSuccess?: boolean;
29765
31528
  }
29766
31529
 
29767
31530
  export class Resource$Projects$Locations$Collections$Datastores$Suggestiondenylistentries {
@@ -30939,9 +32702,11 @@ export namespace discoveryengine_v1beta {
30939
32702
  * requestBody: {
30940
32703
  * // request body parameters
30941
32704
  * // {
32705
+ * // "appType": "my_appType",
30942
32706
  * // "chatEngineConfig": {},
30943
32707
  * // "chatEngineMetadata": {},
30944
32708
  * // "commonConfig": {},
32709
+ * // "configurableBillingApproach": "my_configurableBillingApproach",
30945
32710
  * // "createTime": "my_createTime",
30946
32711
  * // "dataStoreIds": [],
30947
32712
  * // "disableAnalytics": false,
@@ -31252,9 +33017,11 @@ export namespace discoveryengine_v1beta {
31252
33017
  *
31253
33018
  * // Example response
31254
33019
  * // {
33020
+ * // "appType": "my_appType",
31255
33021
  * // "chatEngineConfig": {},
31256
33022
  * // "chatEngineMetadata": {},
31257
33023
  * // "commonConfig": {},
33024
+ * // "configurableBillingApproach": "my_configurableBillingApproach",
31258
33025
  * // "createTime": "my_createTime",
31259
33026
  * // "dataStoreIds": [],
31260
33027
  * // "disableAnalytics": false,
@@ -31573,9 +33340,11 @@ export namespace discoveryengine_v1beta {
31573
33340
  * requestBody: {
31574
33341
  * // request body parameters
31575
33342
  * // {
33343
+ * // "appType": "my_appType",
31576
33344
  * // "chatEngineConfig": {},
31577
33345
  * // "chatEngineMetadata": {},
31578
33346
  * // "commonConfig": {},
33347
+ * // "configurableBillingApproach": "my_configurableBillingApproach",
31579
33348
  * // "createTime": "my_createTime",
31580
33349
  * // "dataStoreIds": [],
31581
33350
  * // "disableAnalytics": false,
@@ -31594,9 +33363,11 @@ export namespace discoveryengine_v1beta {
31594
33363
  *
31595
33364
  * // Example response
31596
33365
  * // {
33366
+ * // "appType": "my_appType",
31597
33367
  * // "chatEngineConfig": {},
31598
33368
  * // "chatEngineMetadata": {},
31599
33369
  * // "commonConfig": {},
33370
+ * // "configurableBillingApproach": "my_configurableBillingApproach",
31600
33371
  * // "createTime": "my_createTime",
31601
33372
  * // "dataStoreIds": [],
31602
33373
  * // "disableAnalytics": false,
@@ -31760,9 +33531,11 @@ export namespace discoveryengine_v1beta {
31760
33531
  *
31761
33532
  * // Example response
31762
33533
  * // {
33534
+ * // "appType": "my_appType",
31763
33535
  * // "chatEngineConfig": {},
31764
33536
  * // "chatEngineMetadata": {},
31765
33537
  * // "commonConfig": {},
33538
+ * // "configurableBillingApproach": "my_configurableBillingApproach",
31766
33539
  * // "createTime": "my_createTime",
31767
33540
  * // "dataStoreIds": [],
31768
33541
  * // "disableAnalytics": false,
@@ -31929,9 +33702,11 @@ export namespace discoveryengine_v1beta {
31929
33702
  *
31930
33703
  * // Example response
31931
33704
  * // {
33705
+ * // "appType": "my_appType",
31932
33706
  * // "chatEngineConfig": {},
31933
33707
  * // "chatEngineMetadata": {},
31934
33708
  * // "commonConfig": {},
33709
+ * // "configurableBillingApproach": "my_configurableBillingApproach",
31935
33710
  * // "createTime": "my_createTime",
31936
33711
  * // "dataStoreIds": [],
31937
33712
  * // "disableAnalytics": false,
@@ -35338,6 +37113,8 @@ export namespace discoveryengine_v1beta {
35338
37113
  * pageSize: 'placeholder-value',
35339
37114
  * // The standard list page token.
35340
37115
  * pageToken: 'placeholder-value',
37116
+ * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
37117
+ * returnPartialSuccess: 'placeholder-value',
35341
37118
  * },
35342
37119
  * );
35343
37120
  * console.log(res.data);
@@ -35345,7 +37122,8 @@ export namespace discoveryengine_v1beta {
35345
37122
  * // Example response
35346
37123
  * // {
35347
37124
  * // "nextPageToken": "my_nextPageToken",
35348
- * // "operations": []
37125
+ * // "operations": [],
37126
+ * // "unreachable": []
35349
37127
  * // }
35350
37128
  * }
35351
37129
  *
@@ -35482,6 +37260,10 @@ export namespace discoveryengine_v1beta {
35482
37260
  * The standard list page token.
35483
37261
  */
35484
37262
  pageToken?: string;
37263
+ /**
37264
+ * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
37265
+ */
37266
+ returnPartialSuccess?: boolean;
35485
37267
  }
35486
37268
 
35487
37269
  export class Resource$Projects$Locations$Collections$Engines$Servingconfigs {
@@ -36430,6 +38212,7 @@ export namespace discoveryengine_v1beta {
36430
38212
  * // "relevanceScoreSpec": {},
36431
38213
  * // "relevanceThreshold": "my_relevanceThreshold",
36432
38214
  * // "safeSearch": false,
38215
+ * // "searchAddonSpec": {},
36433
38216
  * // "searchAsYouTypeSpec": {},
36434
38217
  * // "servingConfig": "my_servingConfig",
36435
38218
  * // "session": "my_session",
@@ -36641,6 +38424,7 @@ export namespace discoveryengine_v1beta {
36641
38424
  * // "relevanceScoreSpec": {},
36642
38425
  * // "relevanceThreshold": "my_relevanceThreshold",
36643
38426
  * // "safeSearch": false,
38427
+ * // "searchAddonSpec": {},
36644
38428
  * // "searchAsYouTypeSpec": {},
36645
38429
  * // "servingConfig": "my_servingConfig",
36646
38430
  * // "session": "my_session",
@@ -38310,13 +40094,16 @@ export namespace discoveryengine_v1beta {
38310
40094
  * pageSize: 'placeholder-value',
38311
40095
  * // The standard list page token.
38312
40096
  * pageToken: 'placeholder-value',
40097
+ * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
40098
+ * returnPartialSuccess: 'placeholder-value',
38313
40099
  * });
38314
40100
  * console.log(res.data);
38315
40101
  *
38316
40102
  * // Example response
38317
40103
  * // {
38318
40104
  * // "nextPageToken": "my_nextPageToken",
38319
- * // "operations": []
40105
+ * // "operations": [],
40106
+ * // "unreachable": []
38320
40107
  * // }
38321
40108
  * }
38322
40109
  *
@@ -38453,6 +40240,10 @@ export namespace discoveryengine_v1beta {
38453
40240
  * The standard list page token.
38454
40241
  */
38455
40242
  pageToken?: string;
40243
+ /**
40244
+ * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
40245
+ */
40246
+ returnPartialSuccess?: boolean;
38456
40247
  }
38457
40248
 
38458
40249
  export class Resource$Projects$Locations$Datastores {
@@ -38728,6 +40519,7 @@ export namespace discoveryengine_v1beta {
38728
40519
  * // "advancedSiteSearchConfig": {},
38729
40520
  * // "billingEstimation": {},
38730
40521
  * // "cmekConfig": {},
40522
+ * // "configurableBillingApproach": "my_configurableBillingApproach",
38731
40523
  * // "contentConfig": "my_contentConfig",
38732
40524
  * // "createTime": "my_createTime",
38733
40525
  * // "defaultSchemaId": "my_defaultSchemaId",
@@ -39045,6 +40837,7 @@ export namespace discoveryengine_v1beta {
39045
40837
  * // "advancedSiteSearchConfig": {},
39046
40838
  * // "billingEstimation": {},
39047
40839
  * // "cmekConfig": {},
40840
+ * // "configurableBillingApproach": "my_configurableBillingApproach",
39048
40841
  * // "contentConfig": "my_contentConfig",
39049
40842
  * // "createTime": "my_createTime",
39050
40843
  * // "defaultSchemaId": "my_defaultSchemaId",
@@ -39514,6 +41307,7 @@ export namespace discoveryengine_v1beta {
39514
41307
  * // "advancedSiteSearchConfig": {},
39515
41308
  * // "billingEstimation": {},
39516
41309
  * // "cmekConfig": {},
41310
+ * // "configurableBillingApproach": "my_configurableBillingApproach",
39517
41311
  * // "contentConfig": "my_contentConfig",
39518
41312
  * // "createTime": "my_createTime",
39519
41313
  * // "defaultSchemaId": "my_defaultSchemaId",
@@ -39542,6 +41336,7 @@ export namespace discoveryengine_v1beta {
39542
41336
  * // "advancedSiteSearchConfig": {},
39543
41337
  * // "billingEstimation": {},
39544
41338
  * // "cmekConfig": {},
41339
+ * // "configurableBillingApproach": "my_configurableBillingApproach",
39545
41340
  * // "contentConfig": "my_contentConfig",
39546
41341
  * // "createTime": "my_createTime",
39547
41342
  * // "defaultSchemaId": "my_defaultSchemaId",
@@ -41556,6 +43351,8 @@ export namespace discoveryengine_v1beta {
41556
43351
  * pageSize: 'placeholder-value',
41557
43352
  * // The standard list page token.
41558
43353
  * pageToken: 'placeholder-value',
43354
+ * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
43355
+ * returnPartialSuccess: 'placeholder-value',
41559
43356
  * },
41560
43357
  * );
41561
43358
  * console.log(res.data);
@@ -41563,7 +43360,8 @@ export namespace discoveryengine_v1beta {
41563
43360
  * // Example response
41564
43361
  * // {
41565
43362
  * // "nextPageToken": "my_nextPageToken",
41566
- * // "operations": []
43363
+ * // "operations": [],
43364
+ * // "unreachable": []
41567
43365
  * // }
41568
43366
  * }
41569
43367
  *
@@ -41712,6 +43510,10 @@ export namespace discoveryengine_v1beta {
41712
43510
  * The standard list page token.
41713
43511
  */
41714
43512
  pageToken?: string;
43513
+ /**
43514
+ * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
43515
+ */
43516
+ returnPartialSuccess?: boolean;
41715
43517
  }
41716
43518
 
41717
43519
  export class Resource$Projects$Locations$Datastores$Completionconfig {
@@ -44378,13 +46180,16 @@ export namespace discoveryengine_v1beta {
44378
46180
  * pageSize: 'placeholder-value',
44379
46181
  * // The standard list page token.
44380
46182
  * pageToken: 'placeholder-value',
46183
+ * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
46184
+ * returnPartialSuccess: 'placeholder-value',
44381
46185
  * });
44382
46186
  * console.log(res.data);
44383
46187
  *
44384
46188
  * // Example response
44385
46189
  * // {
44386
46190
  * // "nextPageToken": "my_nextPageToken",
44387
- * // "operations": []
46191
+ * // "operations": [],
46192
+ * // "unreachable": []
44388
46193
  * // }
44389
46194
  * }
44390
46195
  *
@@ -44521,6 +46326,10 @@ export namespace discoveryengine_v1beta {
44521
46326
  * The standard list page token.
44522
46327
  */
44523
46328
  pageToken?: string;
46329
+ /**
46330
+ * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
46331
+ */
46332
+ returnPartialSuccess?: boolean;
44524
46333
  }
44525
46334
 
44526
46335
  export class Resource$Projects$Locations$Datastores$Operations {
@@ -44714,13 +46523,16 @@ export namespace discoveryengine_v1beta {
44714
46523
  * pageSize: 'placeholder-value',
44715
46524
  * // The standard list page token.
44716
46525
  * pageToken: 'placeholder-value',
46526
+ * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
46527
+ * returnPartialSuccess: 'placeholder-value',
44717
46528
  * });
44718
46529
  * console.log(res.data);
44719
46530
  *
44720
46531
  * // Example response
44721
46532
  * // {
44722
46533
  * // "nextPageToken": "my_nextPageToken",
44723
- * // "operations": []
46534
+ * // "operations": [],
46535
+ * // "unreachable": []
44724
46536
  * // }
44725
46537
  * }
44726
46538
  *
@@ -44857,6 +46669,10 @@ export namespace discoveryengine_v1beta {
44857
46669
  * The standard list page token.
44858
46670
  */
44859
46671
  pageToken?: string;
46672
+ /**
46673
+ * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
46674
+ */
46675
+ returnPartialSuccess?: boolean;
44860
46676
  }
44861
46677
 
44862
46678
  export class Resource$Projects$Locations$Datastores$Schemas {
@@ -46631,6 +48447,7 @@ export namespace discoveryengine_v1beta {
46631
48447
  * // "relevanceScoreSpec": {},
46632
48448
  * // "relevanceThreshold": "my_relevanceThreshold",
46633
48449
  * // "safeSearch": false,
48450
+ * // "searchAddonSpec": {},
46634
48451
  * // "searchAsYouTypeSpec": {},
46635
48452
  * // "servingConfig": "my_servingConfig",
46636
48453
  * // "session": "my_session",
@@ -46841,6 +48658,7 @@ export namespace discoveryengine_v1beta {
46841
48658
  * // "relevanceScoreSpec": {},
46842
48659
  * // "relevanceThreshold": "my_relevanceThreshold",
46843
48660
  * // "safeSearch": false,
48661
+ * // "searchAddonSpec": {},
46844
48662
  * // "searchAsYouTypeSpec": {},
46845
48663
  * // "servingConfig": "my_servingConfig",
46846
48664
  * // "session": "my_session",
@@ -53447,33 +55265,650 @@ export namespace discoveryengine_v1beta {
53447
55265
  * google.options({auth: authClient});
53448
55266
  *
53449
55267
  * // Do the magic
53450
- * const res =
53451
- * await discoveryengine.projects.locations.identityMappingStores.purgeIdentityMappings(
53452
- * {
53453
- * // Required. The name of the Identity Mapping Store to purge Identity Mapping Entries from. Format: `projects/{project\}/locations/{location\}/identityMappingStores/{identityMappingStore\}`
53454
- * identityMappingStore:
53455
- * 'projects/my-project/locations/my-location/identityMappingStores/my-identityMappingStore',
55268
+ * const res =
55269
+ * await discoveryengine.projects.locations.identityMappingStores.purgeIdentityMappings(
55270
+ * {
55271
+ * // Required. The name of the Identity Mapping Store to purge Identity Mapping Entries from. Format: `projects/{project\}/locations/{location\}/identityMappingStores/{identityMappingStore\}`
55272
+ * identityMappingStore:
55273
+ * 'projects/my-project/locations/my-location/identityMappingStores/my-identityMappingStore',
55274
+ *
55275
+ * // Request body metadata
55276
+ * requestBody: {
55277
+ * // request body parameters
55278
+ * // {
55279
+ * // "filter": "my_filter",
55280
+ * // "force": false,
55281
+ * // "inlineSource": {}
55282
+ * // }
55283
+ * },
55284
+ * },
55285
+ * );
55286
+ * console.log(res.data);
55287
+ *
55288
+ * // Example response
55289
+ * // {
55290
+ * // "done": false,
55291
+ * // "error": {},
55292
+ * // "metadata": {},
55293
+ * // "name": "my_name",
55294
+ * // "response": {}
55295
+ * // }
55296
+ * }
55297
+ *
55298
+ * main().catch(e => {
55299
+ * console.error(e);
55300
+ * throw e;
55301
+ * });
55302
+ *
55303
+ * ```
55304
+ *
55305
+ * @param params - Parameters for request
55306
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
55307
+ * @param callback - Optional callback that handles the response.
55308
+ * @returns A promise if used with async/await, or void if used with a callback.
55309
+ */
55310
+ purgeIdentityMappings(
55311
+ params: Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings,
55312
+ options: StreamMethodOptions
55313
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
55314
+ purgeIdentityMappings(
55315
+ params?: Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings,
55316
+ options?: MethodOptions
55317
+ ): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
55318
+ purgeIdentityMappings(
55319
+ params: Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings,
55320
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
55321
+ callback: BodyResponseCallback<Readable>
55322
+ ): void;
55323
+ purgeIdentityMappings(
55324
+ params: Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings,
55325
+ options:
55326
+ | MethodOptions
55327
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>,
55328
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
55329
+ ): void;
55330
+ purgeIdentityMappings(
55331
+ params: Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings,
55332
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
55333
+ ): void;
55334
+ purgeIdentityMappings(
55335
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
55336
+ ): void;
55337
+ purgeIdentityMappings(
55338
+ paramsOrCallback?:
55339
+ | Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings
55340
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
55341
+ | BodyResponseCallback<Readable>,
55342
+ optionsOrCallback?:
55343
+ | MethodOptions
55344
+ | StreamMethodOptions
55345
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
55346
+ | BodyResponseCallback<Readable>,
55347
+ callback?:
55348
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
55349
+ | BodyResponseCallback<Readable>
55350
+ ):
55351
+ | void
55352
+ | Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>
55353
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
55354
+ let params = (paramsOrCallback ||
55355
+ {}) as Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings;
55356
+ let options = (optionsOrCallback || {}) as MethodOptions;
55357
+
55358
+ if (typeof paramsOrCallback === 'function') {
55359
+ callback = paramsOrCallback;
55360
+ params =
55361
+ {} as Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings;
55362
+ options = {};
55363
+ }
55364
+
55365
+ if (typeof optionsOrCallback === 'function') {
55366
+ callback = optionsOrCallback;
55367
+ options = {};
55368
+ }
55369
+
55370
+ const rootUrl =
55371
+ options.rootUrl || 'https://discoveryengine.googleapis.com/';
55372
+ const parameters = {
55373
+ options: Object.assign(
55374
+ {
55375
+ url: (
55376
+ rootUrl + '/v1beta/{+identityMappingStore}:purgeIdentityMappings'
55377
+ ).replace(/([^:]\/)\/+/g, '$1'),
55378
+ method: 'POST',
55379
+ apiVersion: '',
55380
+ },
55381
+ options
55382
+ ),
55383
+ params,
55384
+ requiredParams: ['identityMappingStore'],
55385
+ pathParams: ['identityMappingStore'],
55386
+ context: this.context,
55387
+ };
55388
+ if (callback) {
55389
+ createAPIRequest<Schema$GoogleLongrunningOperation>(
55390
+ parameters,
55391
+ callback as BodyResponseCallback<unknown>
55392
+ );
55393
+ } else {
55394
+ return createAPIRequest<Schema$GoogleLongrunningOperation>(parameters);
55395
+ }
55396
+ }
55397
+ }
55398
+
55399
+ export interface Params$Resource$Projects$Locations$Identitymappingstores$Create
55400
+ extends StandardParameters {
55401
+ /**
55402
+ * Resource name of the CmekConfig to use for protecting this Identity Mapping Store.
55403
+ */
55404
+ cmekConfigName?: string;
55405
+ /**
55406
+ * Identity Mapping Store without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well.
55407
+ */
55408
+ disableCmek?: boolean;
55409
+ /**
55410
+ * Required. The ID of the Identity Mapping 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.
55411
+ */
55412
+ identityMappingStoreId?: string;
55413
+ /**
55414
+ * Required. The parent collection resource name, such as `projects/{project\}/locations/{location\}`.
55415
+ */
55416
+ parent?: string;
55417
+
55418
+ /**
55419
+ * Request body metadata
55420
+ */
55421
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1betaIdentityMappingStore;
55422
+ }
55423
+ export interface Params$Resource$Projects$Locations$Identitymappingstores$Delete
55424
+ extends StandardParameters {
55425
+ /**
55426
+ * Required. The name of the Identity Mapping Store to delete. Format: `projects/{project\}/locations/{location\}/identityMappingStores/{identityMappingStore\}`
55427
+ */
55428
+ name?: string;
55429
+ }
55430
+ export interface Params$Resource$Projects$Locations$Identitymappingstores$Get
55431
+ extends StandardParameters {
55432
+ /**
55433
+ * Required. The name of the Identity Mapping Store to get. Format: `projects/{project\}/locations/{location\}/identityMappingStores/{identityMappingStore\}`
55434
+ */
55435
+ name?: string;
55436
+ }
55437
+ export interface Params$Resource$Projects$Locations$Identitymappingstores$Importidentitymappings
55438
+ extends StandardParameters {
55439
+ /**
55440
+ * Required. The name of the Identity Mapping Store to import Identity Mapping Entries to. Format: `projects/{project\}/locations/{location\}/identityMappingStores/{identityMappingStore\}`
55441
+ */
55442
+ identityMappingStore?: string;
55443
+
55444
+ /**
55445
+ * Request body metadata
55446
+ */
55447
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1betaImportIdentityMappingsRequest;
55448
+ }
55449
+ export interface Params$Resource$Projects$Locations$Identitymappingstores$List
55450
+ extends StandardParameters {
55451
+ /**
55452
+ * Maximum number of IdentityMappingStores to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000.
55453
+ */
55454
+ pageSize?: number;
55455
+ /**
55456
+ * A page token, received from a previous `ListIdentityMappingStores` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListIdentityMappingStores` must match the call that provided the page token.
55457
+ */
55458
+ pageToken?: string;
55459
+ /**
55460
+ * Required. The parent of the Identity Mapping Stores to list. Format: `projects/{project\}/locations/{location\}`.
55461
+ */
55462
+ parent?: string;
55463
+ }
55464
+ export interface Params$Resource$Projects$Locations$Identitymappingstores$Listidentitymappings
55465
+ extends StandardParameters {
55466
+ /**
55467
+ * Required. The name of the Identity Mapping Store to list Identity Mapping Entries in. Format: `projects/{project\}/locations/{location\}/identityMappingStores/{identityMappingStore\}`
55468
+ */
55469
+ identityMappingStore?: string;
55470
+ /**
55471
+ * Maximum number of IdentityMappings to return. If unspecified, defaults to 2000. The maximum allowed value is 10000. Values above 10000 will be coerced to 10000.
55472
+ */
55473
+ pageSize?: number;
55474
+ /**
55475
+ * A page token, received from a previous `ListIdentityMappings` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListIdentityMappings` must match the call that provided the page token.
55476
+ */
55477
+ pageToken?: string;
55478
+ }
55479
+ export interface Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings
55480
+ extends StandardParameters {
55481
+ /**
55482
+ * Required. The name of the Identity Mapping Store to purge Identity Mapping Entries from. Format: `projects/{project\}/locations/{location\}/identityMappingStores/{identityMappingStore\}`
55483
+ */
55484
+ identityMappingStore?: string;
55485
+
55486
+ /**
55487
+ * Request body metadata
55488
+ */
55489
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1betaPurgeIdentityMappingsRequest;
55490
+ }
55491
+
55492
+ export class Resource$Projects$Locations$Identitymappingstores$Operations {
55493
+ context: APIRequestContext;
55494
+ constructor(context: APIRequestContext) {
55495
+ this.context = context;
55496
+ }
55497
+
55498
+ /**
55499
+ * 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.
55500
+ * @example
55501
+ * ```js
55502
+ * // Before running the sample:
55503
+ * // - Enable the API at:
55504
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
55505
+ * // - Login into gcloud by running:
55506
+ * // ```sh
55507
+ * // $ gcloud auth application-default login
55508
+ * // ```
55509
+ * // - Install the npm module by running:
55510
+ * // ```sh
55511
+ * // $ npm install googleapis
55512
+ * // ```
55513
+ *
55514
+ * const {google} = require('googleapis');
55515
+ * const discoveryengine = google.discoveryengine('v1beta');
55516
+ *
55517
+ * async function main() {
55518
+ * const auth = new google.auth.GoogleAuth({
55519
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
55520
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
55521
+ * });
55522
+ *
55523
+ * // Acquire an auth client, and bind it to all future calls
55524
+ * const authClient = await auth.getClient();
55525
+ * google.options({auth: authClient});
55526
+ *
55527
+ * // Do the magic
55528
+ * const res =
55529
+ * await discoveryengine.projects.locations.identityMappingStores.operations.get(
55530
+ * {
55531
+ * // The name of the operation resource.
55532
+ * name: 'projects/my-project/locations/my-location/identityMappingStores/my-identityMappingStore/operations/my-operation',
55533
+ * },
55534
+ * );
55535
+ * console.log(res.data);
55536
+ *
55537
+ * // Example response
55538
+ * // {
55539
+ * // "done": false,
55540
+ * // "error": {},
55541
+ * // "metadata": {},
55542
+ * // "name": "my_name",
55543
+ * // "response": {}
55544
+ * // }
55545
+ * }
55546
+ *
55547
+ * main().catch(e => {
55548
+ * console.error(e);
55549
+ * throw e;
55550
+ * });
55551
+ *
55552
+ * ```
55553
+ *
55554
+ * @param params - Parameters for request
55555
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
55556
+ * @param callback - Optional callback that handles the response.
55557
+ * @returns A promise if used with async/await, or void if used with a callback.
55558
+ */
55559
+ get(
55560
+ params: Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get,
55561
+ options: StreamMethodOptions
55562
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
55563
+ get(
55564
+ params?: Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get,
55565
+ options?: MethodOptions
55566
+ ): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
55567
+ get(
55568
+ params: Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get,
55569
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
55570
+ callback: BodyResponseCallback<Readable>
55571
+ ): void;
55572
+ get(
55573
+ params: Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get,
55574
+ options:
55575
+ | MethodOptions
55576
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>,
55577
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
55578
+ ): void;
55579
+ get(
55580
+ params: Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get,
55581
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
55582
+ ): void;
55583
+ get(
55584
+ callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
55585
+ ): void;
55586
+ get(
55587
+ paramsOrCallback?:
55588
+ | Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get
55589
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
55590
+ | BodyResponseCallback<Readable>,
55591
+ optionsOrCallback?:
55592
+ | MethodOptions
55593
+ | StreamMethodOptions
55594
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
55595
+ | BodyResponseCallback<Readable>,
55596
+ callback?:
55597
+ | BodyResponseCallback<Schema$GoogleLongrunningOperation>
55598
+ | BodyResponseCallback<Readable>
55599
+ ):
55600
+ | void
55601
+ | Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>
55602
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
55603
+ let params = (paramsOrCallback ||
55604
+ {}) as Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get;
55605
+ let options = (optionsOrCallback || {}) as MethodOptions;
55606
+
55607
+ if (typeof paramsOrCallback === 'function') {
55608
+ callback = paramsOrCallback;
55609
+ params =
55610
+ {} as Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get;
55611
+ options = {};
55612
+ }
55613
+
55614
+ if (typeof optionsOrCallback === 'function') {
55615
+ callback = optionsOrCallback;
55616
+ options = {};
55617
+ }
55618
+
55619
+ const rootUrl =
55620
+ options.rootUrl || 'https://discoveryengine.googleapis.com/';
55621
+ const parameters = {
55622
+ options: Object.assign(
55623
+ {
55624
+ url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'),
55625
+ method: 'GET',
55626
+ apiVersion: '',
55627
+ },
55628
+ options
55629
+ ),
55630
+ params,
55631
+ requiredParams: ['name'],
55632
+ pathParams: ['name'],
55633
+ context: this.context,
55634
+ };
55635
+ if (callback) {
55636
+ createAPIRequest<Schema$GoogleLongrunningOperation>(
55637
+ parameters,
55638
+ callback as BodyResponseCallback<unknown>
55639
+ );
55640
+ } else {
55641
+ return createAPIRequest<Schema$GoogleLongrunningOperation>(parameters);
55642
+ }
55643
+ }
55644
+
55645
+ /**
55646
+ * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
55647
+ * @example
55648
+ * ```js
55649
+ * // Before running the sample:
55650
+ * // - Enable the API at:
55651
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
55652
+ * // - Login into gcloud by running:
55653
+ * // ```sh
55654
+ * // $ gcloud auth application-default login
55655
+ * // ```
55656
+ * // - Install the npm module by running:
55657
+ * // ```sh
55658
+ * // $ npm install googleapis
55659
+ * // ```
55660
+ *
55661
+ * const {google} = require('googleapis');
55662
+ * const discoveryengine = google.discoveryengine('v1beta');
55663
+ *
55664
+ * async function main() {
55665
+ * const auth = new google.auth.GoogleAuth({
55666
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
55667
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
55668
+ * });
55669
+ *
55670
+ * // Acquire an auth client, and bind it to all future calls
55671
+ * const authClient = await auth.getClient();
55672
+ * google.options({auth: authClient});
55673
+ *
55674
+ * // Do the magic
55675
+ * const res =
55676
+ * await discoveryengine.projects.locations.identityMappingStores.operations.list(
55677
+ * {
55678
+ * // The standard list filter.
55679
+ * filter: 'placeholder-value',
55680
+ * // The name of the operation's parent resource.
55681
+ * name: 'projects/my-project/locations/my-location/identityMappingStores/my-identityMappingStore',
55682
+ * // The standard list page size.
55683
+ * pageSize: 'placeholder-value',
55684
+ * // The standard list page token.
55685
+ * pageToken: 'placeholder-value',
55686
+ * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
55687
+ * returnPartialSuccess: 'placeholder-value',
55688
+ * },
55689
+ * );
55690
+ * console.log(res.data);
55691
+ *
55692
+ * // Example response
55693
+ * // {
55694
+ * // "nextPageToken": "my_nextPageToken",
55695
+ * // "operations": [],
55696
+ * // "unreachable": []
55697
+ * // }
55698
+ * }
55699
+ *
55700
+ * main().catch(e => {
55701
+ * console.error(e);
55702
+ * throw e;
55703
+ * });
55704
+ *
55705
+ * ```
55706
+ *
55707
+ * @param params - Parameters for request
55708
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
55709
+ * @param callback - Optional callback that handles the response.
55710
+ * @returns A promise if used with async/await, or void if used with a callback.
55711
+ */
55712
+ list(
55713
+ params: Params$Resource$Projects$Locations$Identitymappingstores$Operations$List,
55714
+ options: StreamMethodOptions
55715
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
55716
+ list(
55717
+ params?: Params$Resource$Projects$Locations$Identitymappingstores$Operations$List,
55718
+ options?: MethodOptions
55719
+ ): Promise<
55720
+ GaxiosResponseWithHTTP2<Schema$GoogleLongrunningListOperationsResponse>
55721
+ >;
55722
+ list(
55723
+ params: Params$Resource$Projects$Locations$Identitymappingstores$Operations$List,
55724
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
55725
+ callback: BodyResponseCallback<Readable>
55726
+ ): void;
55727
+ list(
55728
+ params: Params$Resource$Projects$Locations$Identitymappingstores$Operations$List,
55729
+ options:
55730
+ | MethodOptions
55731
+ | BodyResponseCallback<Schema$GoogleLongrunningListOperationsResponse>,
55732
+ callback: BodyResponseCallback<Schema$GoogleLongrunningListOperationsResponse>
55733
+ ): void;
55734
+ list(
55735
+ params: Params$Resource$Projects$Locations$Identitymappingstores$Operations$List,
55736
+ callback: BodyResponseCallback<Schema$GoogleLongrunningListOperationsResponse>
55737
+ ): void;
55738
+ list(
55739
+ callback: BodyResponseCallback<Schema$GoogleLongrunningListOperationsResponse>
55740
+ ): void;
55741
+ list(
55742
+ paramsOrCallback?:
55743
+ | Params$Resource$Projects$Locations$Identitymappingstores$Operations$List
55744
+ | BodyResponseCallback<Schema$GoogleLongrunningListOperationsResponse>
55745
+ | BodyResponseCallback<Readable>,
55746
+ optionsOrCallback?:
55747
+ | MethodOptions
55748
+ | StreamMethodOptions
55749
+ | BodyResponseCallback<Schema$GoogleLongrunningListOperationsResponse>
55750
+ | BodyResponseCallback<Readable>,
55751
+ callback?:
55752
+ | BodyResponseCallback<Schema$GoogleLongrunningListOperationsResponse>
55753
+ | BodyResponseCallback<Readable>
55754
+ ):
55755
+ | void
55756
+ | Promise<
55757
+ GaxiosResponseWithHTTP2<Schema$GoogleLongrunningListOperationsResponse>
55758
+ >
55759
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
55760
+ let params = (paramsOrCallback ||
55761
+ {}) as Params$Resource$Projects$Locations$Identitymappingstores$Operations$List;
55762
+ let options = (optionsOrCallback || {}) as MethodOptions;
55763
+
55764
+ if (typeof paramsOrCallback === 'function') {
55765
+ callback = paramsOrCallback;
55766
+ params =
55767
+ {} as Params$Resource$Projects$Locations$Identitymappingstores$Operations$List;
55768
+ options = {};
55769
+ }
55770
+
55771
+ if (typeof optionsOrCallback === 'function') {
55772
+ callback = optionsOrCallback;
55773
+ options = {};
55774
+ }
55775
+
55776
+ const rootUrl =
55777
+ options.rootUrl || 'https://discoveryengine.googleapis.com/';
55778
+ const parameters = {
55779
+ options: Object.assign(
55780
+ {
55781
+ url: (rootUrl + '/v1beta/{+name}/operations').replace(
55782
+ /([^:]\/)\/+/g,
55783
+ '$1'
55784
+ ),
55785
+ method: 'GET',
55786
+ apiVersion: '',
55787
+ },
55788
+ options
55789
+ ),
55790
+ params,
55791
+ requiredParams: ['name'],
55792
+ pathParams: ['name'],
55793
+ context: this.context,
55794
+ };
55795
+ if (callback) {
55796
+ createAPIRequest<Schema$GoogleLongrunningListOperationsResponse>(
55797
+ parameters,
55798
+ callback as BodyResponseCallback<unknown>
55799
+ );
55800
+ } else {
55801
+ return createAPIRequest<Schema$GoogleLongrunningListOperationsResponse>(
55802
+ parameters
55803
+ );
55804
+ }
55805
+ }
55806
+ }
55807
+
55808
+ export interface Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get
55809
+ extends StandardParameters {
55810
+ /**
55811
+ * The name of the operation resource.
55812
+ */
55813
+ name?: string;
55814
+ }
55815
+ export interface Params$Resource$Projects$Locations$Identitymappingstores$Operations$List
55816
+ extends StandardParameters {
55817
+ /**
55818
+ * The standard list filter.
55819
+ */
55820
+ filter?: string;
55821
+ /**
55822
+ * The name of the operation's parent resource.
55823
+ */
55824
+ name?: string;
55825
+ /**
55826
+ * The standard list page size.
55827
+ */
55828
+ pageSize?: number;
55829
+ /**
55830
+ * The standard list page token.
55831
+ */
55832
+ pageToken?: string;
55833
+ /**
55834
+ * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
55835
+ */
55836
+ returnPartialSuccess?: boolean;
55837
+ }
55838
+
55839
+ export class Resource$Projects$Locations$Licenseconfigs {
55840
+ context: APIRequestContext;
55841
+ constructor(context: APIRequestContext) {
55842
+ this.context = context;
55843
+ }
55844
+
55845
+ /**
55846
+ * Creates a LicenseConfig
55847
+ * @example
55848
+ * ```js
55849
+ * // Before running the sample:
55850
+ * // - Enable the API at:
55851
+ * // https://console.developers.google.com/apis/api/discoveryengine.googleapis.com
55852
+ * // - Login into gcloud by running:
55853
+ * // ```sh
55854
+ * // $ gcloud auth application-default login
55855
+ * // ```
55856
+ * // - Install the npm module by running:
55857
+ * // ```sh
55858
+ * // $ npm install googleapis
55859
+ * // ```
55860
+ *
55861
+ * const {google} = require('googleapis');
55862
+ * const discoveryengine = google.discoveryengine('v1beta');
55863
+ *
55864
+ * async function main() {
55865
+ * const auth = new google.auth.GoogleAuth({
55866
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
55867
+ * scopes: ['https://www.googleapis.com/auth/cloud-platform'],
55868
+ * });
55869
+ *
55870
+ * // Acquire an auth client, and bind it to all future calls
55871
+ * const authClient = await auth.getClient();
55872
+ * google.options({auth: authClient});
55873
+ *
55874
+ * // Do the magic
55875
+ * const res = await discoveryengine.projects.locations.licenseConfigs.create({
55876
+ * // 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`.
55877
+ * licenseConfigId: 'placeholder-value',
55878
+ * // Required. The parent resource name, such as `projects/{project\}/locations/{location\}`.
55879
+ * parent: 'projects/my-project/locations/my-location',
53456
55880
  *
53457
- * // Request body metadata
53458
- * requestBody: {
53459
- * // request body parameters
53460
- * // {
53461
- * // "filter": "my_filter",
53462
- * // "force": false,
53463
- * // "inlineSource": {}
53464
- * // }
53465
- * },
53466
- * },
53467
- * );
55881
+ * // Request body metadata
55882
+ * requestBody: {
55883
+ * // request body parameters
55884
+ * // {
55885
+ * // "alertPolicyResourceConfig": {},
55886
+ * // "autoRenew": false,
55887
+ * // "endDate": {},
55888
+ * // "freeTrial": false,
55889
+ * // "licenseCount": "my_licenseCount",
55890
+ * // "name": "my_name",
55891
+ * // "startDate": {},
55892
+ * // "state": "my_state",
55893
+ * // "subscriptionTerm": "my_subscriptionTerm",
55894
+ * // "subscriptionTier": "my_subscriptionTier"
55895
+ * // }
55896
+ * },
55897
+ * });
53468
55898
  * console.log(res.data);
53469
55899
  *
53470
55900
  * // Example response
53471
55901
  * // {
53472
- * // "done": false,
53473
- * // "error": {},
53474
- * // "metadata": {},
55902
+ * // "alertPolicyResourceConfig": {},
55903
+ * // "autoRenew": false,
55904
+ * // "endDate": {},
55905
+ * // "freeTrial": false,
55906
+ * // "licenseCount": "my_licenseCount",
53475
55907
  * // "name": "my_name",
53476
- * // "response": {}
55908
+ * // "startDate": {},
55909
+ * // "state": "my_state",
55910
+ * // "subscriptionTerm": "my_subscriptionTerm",
55911
+ * // "subscriptionTier": "my_subscriptionTier"
53477
55912
  * // }
53478
55913
  * }
53479
55914
  *
@@ -53489,58 +55924,61 @@ export namespace discoveryengine_v1beta {
53489
55924
  * @param callback - Optional callback that handles the response.
53490
55925
  * @returns A promise if used with async/await, or void if used with a callback.
53491
55926
  */
53492
- purgeIdentityMappings(
53493
- params: Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings,
55927
+ create(
55928
+ params: Params$Resource$Projects$Locations$Licenseconfigs$Create,
53494
55929
  options: StreamMethodOptions
53495
55930
  ): Promise<GaxiosResponseWithHTTP2<Readable>>;
53496
- purgeIdentityMappings(
53497
- params?: Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings,
55931
+ create(
55932
+ params?: Params$Resource$Projects$Locations$Licenseconfigs$Create,
53498
55933
  options?: MethodOptions
53499
- ): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
53500
- purgeIdentityMappings(
53501
- params: Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings,
55934
+ ): Promise<
55935
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>
55936
+ >;
55937
+ create(
55938
+ params: Params$Resource$Projects$Locations$Licenseconfigs$Create,
53502
55939
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
53503
55940
  callback: BodyResponseCallback<Readable>
53504
55941
  ): void;
53505
- purgeIdentityMappings(
53506
- params: Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings,
55942
+ create(
55943
+ params: Params$Resource$Projects$Locations$Licenseconfigs$Create,
53507
55944
  options:
53508
55945
  | MethodOptions
53509
- | BodyResponseCallback<Schema$GoogleLongrunningOperation>,
53510
- callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
55946
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>,
55947
+ callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>
53511
55948
  ): void;
53512
- purgeIdentityMappings(
53513
- params: Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings,
53514
- callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
55949
+ create(
55950
+ params: Params$Resource$Projects$Locations$Licenseconfigs$Create,
55951
+ callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>
53515
55952
  ): void;
53516
- purgeIdentityMappings(
53517
- callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
55953
+ create(
55954
+ callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>
53518
55955
  ): void;
53519
- purgeIdentityMappings(
55956
+ create(
53520
55957
  paramsOrCallback?:
53521
- | Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings
53522
- | BodyResponseCallback<Schema$GoogleLongrunningOperation>
55958
+ | Params$Resource$Projects$Locations$Licenseconfigs$Create
55959
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>
53523
55960
  | BodyResponseCallback<Readable>,
53524
55961
  optionsOrCallback?:
53525
55962
  | MethodOptions
53526
55963
  | StreamMethodOptions
53527
- | BodyResponseCallback<Schema$GoogleLongrunningOperation>
55964
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>
53528
55965
  | BodyResponseCallback<Readable>,
53529
55966
  callback?:
53530
- | BodyResponseCallback<Schema$GoogleLongrunningOperation>
55967
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>
53531
55968
  | BodyResponseCallback<Readable>
53532
55969
  ):
53533
55970
  | void
53534
- | Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>
55971
+ | Promise<
55972
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>
55973
+ >
53535
55974
  | Promise<GaxiosResponseWithHTTP2<Readable>> {
53536
55975
  let params = (paramsOrCallback ||
53537
- {}) as Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings;
55976
+ {}) as Params$Resource$Projects$Locations$Licenseconfigs$Create;
53538
55977
  let options = (optionsOrCallback || {}) as MethodOptions;
53539
55978
 
53540
55979
  if (typeof paramsOrCallback === 'function') {
53541
55980
  callback = paramsOrCallback;
53542
- params =
53543
- {} as Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings;
55981
+ params = {} as Params$Resource$Projects$Locations$Licenseconfigs$Create;
53544
55982
  options = {};
53545
55983
  }
53546
55984
 
@@ -53554,131 +55992,34 @@ export namespace discoveryengine_v1beta {
53554
55992
  const parameters = {
53555
55993
  options: Object.assign(
53556
55994
  {
53557
- url: (
53558
- rootUrl + '/v1beta/{+identityMappingStore}:purgeIdentityMappings'
53559
- ).replace(/([^:]\/)\/+/g, '$1'),
55995
+ url: (rootUrl + '/v1beta/{+parent}/licenseConfigs').replace(
55996
+ /([^:]\/)\/+/g,
55997
+ '$1'
55998
+ ),
53560
55999
  method: 'POST',
53561
56000
  apiVersion: '',
53562
56001
  },
53563
56002
  options
53564
56003
  ),
53565
56004
  params,
53566
- requiredParams: ['identityMappingStore'],
53567
- pathParams: ['identityMappingStore'],
56005
+ requiredParams: ['parent'],
56006
+ pathParams: ['parent'],
53568
56007
  context: this.context,
53569
56008
  };
53570
56009
  if (callback) {
53571
- createAPIRequest<Schema$GoogleLongrunningOperation>(
56010
+ createAPIRequest<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>(
53572
56011
  parameters,
53573
56012
  callback as BodyResponseCallback<unknown>
53574
56013
  );
53575
56014
  } else {
53576
- return createAPIRequest<Schema$GoogleLongrunningOperation>(parameters);
56015
+ return createAPIRequest<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>(
56016
+ parameters
56017
+ );
53577
56018
  }
53578
56019
  }
53579
- }
53580
-
53581
- export interface Params$Resource$Projects$Locations$Identitymappingstores$Create
53582
- extends StandardParameters {
53583
- /**
53584
- * Resource name of the CmekConfig to use for protecting this Identity Mapping Store.
53585
- */
53586
- cmekConfigName?: string;
53587
- /**
53588
- * Identity Mapping Store without CMEK protections. If a default CmekConfig is set for the project, setting this field will override the default CmekConfig as well.
53589
- */
53590
- disableCmek?: boolean;
53591
- /**
53592
- * Required. The ID of the Identity Mapping 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.
53593
- */
53594
- identityMappingStoreId?: string;
53595
- /**
53596
- * Required. The parent collection resource name, such as `projects/{project\}/locations/{location\}`.
53597
- */
53598
- parent?: string;
53599
-
53600
- /**
53601
- * Request body metadata
53602
- */
53603
- requestBody?: Schema$GoogleCloudDiscoveryengineV1betaIdentityMappingStore;
53604
- }
53605
- export interface Params$Resource$Projects$Locations$Identitymappingstores$Delete
53606
- extends StandardParameters {
53607
- /**
53608
- * Required. The name of the Identity Mapping Store to delete. Format: `projects/{project\}/locations/{location\}/identityMappingStores/{identityMappingStore\}`
53609
- */
53610
- name?: string;
53611
- }
53612
- export interface Params$Resource$Projects$Locations$Identitymappingstores$Get
53613
- extends StandardParameters {
53614
- /**
53615
- * Required. The name of the Identity Mapping Store to get. Format: `projects/{project\}/locations/{location\}/identityMappingStores/{identityMappingStore\}`
53616
- */
53617
- name?: string;
53618
- }
53619
- export interface Params$Resource$Projects$Locations$Identitymappingstores$Importidentitymappings
53620
- extends StandardParameters {
53621
- /**
53622
- * Required. The name of the Identity Mapping Store to import Identity Mapping Entries to. Format: `projects/{project\}/locations/{location\}/identityMappingStores/{identityMappingStore\}`
53623
- */
53624
- identityMappingStore?: string;
53625
56020
 
53626
56021
  /**
53627
- * Request body metadata
53628
- */
53629
- requestBody?: Schema$GoogleCloudDiscoveryengineV1betaImportIdentityMappingsRequest;
53630
- }
53631
- export interface Params$Resource$Projects$Locations$Identitymappingstores$List
53632
- extends StandardParameters {
53633
- /**
53634
- * Maximum number of IdentityMappingStores to return. If unspecified, defaults to 100. The maximum allowed value is 1000. Values above 1000 will be coerced to 1000.
53635
- */
53636
- pageSize?: number;
53637
- /**
53638
- * A page token, received from a previous `ListIdentityMappingStores` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListIdentityMappingStores` must match the call that provided the page token.
53639
- */
53640
- pageToken?: string;
53641
- /**
53642
- * Required. The parent of the Identity Mapping Stores to list. Format: `projects/{project\}/locations/{location\}`.
53643
- */
53644
- parent?: string;
53645
- }
53646
- export interface Params$Resource$Projects$Locations$Identitymappingstores$Listidentitymappings
53647
- extends StandardParameters {
53648
- /**
53649
- * Required. The name of the Identity Mapping Store to list Identity Mapping Entries in. Format: `projects/{project\}/locations/{location\}/identityMappingStores/{identityMappingStore\}`
53650
- */
53651
- identityMappingStore?: string;
53652
- /**
53653
- * Maximum number of IdentityMappings to return. If unspecified, defaults to 2000. The maximum allowed value is 10000. Values above 10000 will be coerced to 10000.
53654
- */
53655
- pageSize?: number;
53656
- /**
53657
- * A page token, received from a previous `ListIdentityMappings` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListIdentityMappings` must match the call that provided the page token.
53658
- */
53659
- pageToken?: string;
53660
- }
53661
- export interface Params$Resource$Projects$Locations$Identitymappingstores$Purgeidentitymappings
53662
- extends StandardParameters {
53663
- /**
53664
- * Required. The name of the Identity Mapping Store to purge Identity Mapping Entries from. Format: `projects/{project\}/locations/{location\}/identityMappingStores/{identityMappingStore\}`
53665
- */
53666
- identityMappingStore?: string;
53667
-
53668
- /**
53669
- * Request body metadata
53670
- */
53671
- requestBody?: Schema$GoogleCloudDiscoveryengineV1betaPurgeIdentityMappingsRequest;
53672
- }
53673
-
53674
- export class Resource$Projects$Locations$Identitymappingstores$Operations {
53675
- context: APIRequestContext;
53676
- constructor(context: APIRequestContext) {
53677
- this.context = context;
53678
- }
53679
-
53680
- /**
53681
- * 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.
56022
+ * Gets a LicenseConfig.
53682
56023
  * @example
53683
56024
  * ```js
53684
56025
  * // Before running the sample:
@@ -53707,22 +56048,24 @@ export namespace discoveryengine_v1beta {
53707
56048
  * google.options({auth: authClient});
53708
56049
  *
53709
56050
  * // Do the magic
53710
- * const res =
53711
- * await discoveryengine.projects.locations.identityMappingStores.operations.get(
53712
- * {
53713
- * // The name of the operation resource.
53714
- * name: 'projects/my-project/locations/my-location/identityMappingStores/my-identityMappingStore/operations/my-operation',
53715
- * },
53716
- * );
56051
+ * const res = await discoveryengine.projects.locations.licenseConfigs.get({
56052
+ * // Required. Full resource name of LicenseConfig, such as `projects/{project\}/locations/{location\}/licenseConfigs/x`. 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.
56053
+ * name: 'projects/my-project/locations/my-location/licenseConfigs/my-licenseConfig',
56054
+ * });
53717
56055
  * console.log(res.data);
53718
56056
  *
53719
56057
  * // Example response
53720
56058
  * // {
53721
- * // "done": false,
53722
- * // "error": {},
53723
- * // "metadata": {},
56059
+ * // "alertPolicyResourceConfig": {},
56060
+ * // "autoRenew": false,
56061
+ * // "endDate": {},
56062
+ * // "freeTrial": false,
56063
+ * // "licenseCount": "my_licenseCount",
53724
56064
  * // "name": "my_name",
53725
- * // "response": {}
56065
+ * // "startDate": {},
56066
+ * // "state": "my_state",
56067
+ * // "subscriptionTerm": "my_subscriptionTerm",
56068
+ * // "subscriptionTier": "my_subscriptionTier"
53726
56069
  * // }
53727
56070
  * }
53728
56071
  *
@@ -53739,57 +56082,60 @@ export namespace discoveryengine_v1beta {
53739
56082
  * @returns A promise if used with async/await, or void if used with a callback.
53740
56083
  */
53741
56084
  get(
53742
- params: Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get,
56085
+ params: Params$Resource$Projects$Locations$Licenseconfigs$Get,
53743
56086
  options: StreamMethodOptions
53744
56087
  ): Promise<GaxiosResponseWithHTTP2<Readable>>;
53745
56088
  get(
53746
- params?: Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get,
56089
+ params?: Params$Resource$Projects$Locations$Licenseconfigs$Get,
53747
56090
  options?: MethodOptions
53748
- ): Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>;
56091
+ ): Promise<
56092
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>
56093
+ >;
53749
56094
  get(
53750
- params: Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get,
56095
+ params: Params$Resource$Projects$Locations$Licenseconfigs$Get,
53751
56096
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
53752
56097
  callback: BodyResponseCallback<Readable>
53753
56098
  ): void;
53754
56099
  get(
53755
- params: Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get,
56100
+ params: Params$Resource$Projects$Locations$Licenseconfigs$Get,
53756
56101
  options:
53757
56102
  | MethodOptions
53758
- | BodyResponseCallback<Schema$GoogleLongrunningOperation>,
53759
- callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
56103
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>,
56104
+ callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>
53760
56105
  ): void;
53761
56106
  get(
53762
- params: Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get,
53763
- callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
56107
+ params: Params$Resource$Projects$Locations$Licenseconfigs$Get,
56108
+ callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>
53764
56109
  ): void;
53765
56110
  get(
53766
- callback: BodyResponseCallback<Schema$GoogleLongrunningOperation>
56111
+ callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>
53767
56112
  ): void;
53768
56113
  get(
53769
56114
  paramsOrCallback?:
53770
- | Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get
53771
- | BodyResponseCallback<Schema$GoogleLongrunningOperation>
56115
+ | Params$Resource$Projects$Locations$Licenseconfigs$Get
56116
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>
53772
56117
  | BodyResponseCallback<Readable>,
53773
56118
  optionsOrCallback?:
53774
56119
  | MethodOptions
53775
56120
  | StreamMethodOptions
53776
- | BodyResponseCallback<Schema$GoogleLongrunningOperation>
56121
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>
53777
56122
  | BodyResponseCallback<Readable>,
53778
56123
  callback?:
53779
- | BodyResponseCallback<Schema$GoogleLongrunningOperation>
56124
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>
53780
56125
  | BodyResponseCallback<Readable>
53781
56126
  ):
53782
56127
  | void
53783
- | Promise<GaxiosResponseWithHTTP2<Schema$GoogleLongrunningOperation>>
56128
+ | Promise<
56129
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>
56130
+ >
53784
56131
  | Promise<GaxiosResponseWithHTTP2<Readable>> {
53785
56132
  let params = (paramsOrCallback ||
53786
- {}) as Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get;
56133
+ {}) as Params$Resource$Projects$Locations$Licenseconfigs$Get;
53787
56134
  let options = (optionsOrCallback || {}) as MethodOptions;
53788
56135
 
53789
56136
  if (typeof paramsOrCallback === 'function') {
53790
56137
  callback = paramsOrCallback;
53791
- params =
53792
- {} as Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get;
56138
+ params = {} as Params$Resource$Projects$Locations$Licenseconfigs$Get;
53793
56139
  options = {};
53794
56140
  }
53795
56141
 
@@ -53815,17 +56161,19 @@ export namespace discoveryengine_v1beta {
53815
56161
  context: this.context,
53816
56162
  };
53817
56163
  if (callback) {
53818
- createAPIRequest<Schema$GoogleLongrunningOperation>(
56164
+ createAPIRequest<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>(
53819
56165
  parameters,
53820
56166
  callback as BodyResponseCallback<unknown>
53821
56167
  );
53822
56168
  } else {
53823
- return createAPIRequest<Schema$GoogleLongrunningOperation>(parameters);
56169
+ return createAPIRequest<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>(
56170
+ parameters
56171
+ );
53824
56172
  }
53825
56173
  }
53826
56174
 
53827
56175
  /**
53828
- * Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
56176
+ * Updates the LicenseConfig
53829
56177
  * @example
53830
56178
  * ```js
53831
56179
  * // Before running the sample:
@@ -53854,25 +56202,43 @@ export namespace discoveryengine_v1beta {
53854
56202
  * google.options({auth: authClient});
53855
56203
  *
53856
56204
  * // Do the magic
53857
- * const res =
53858
- * await discoveryengine.projects.locations.identityMappingStores.operations.list(
53859
- * {
53860
- * // The standard list filter.
53861
- * filter: 'placeholder-value',
53862
- * // The name of the operation's parent resource.
53863
- * name: 'projects/my-project/locations/my-location/identityMappingStores/my-identityMappingStore',
53864
- * // The standard list page size.
53865
- * pageSize: 'placeholder-value',
53866
- * // The standard list page token.
53867
- * pageToken: 'placeholder-value',
53868
- * },
53869
- * );
56205
+ * const res = await discoveryengine.projects.locations.licenseConfigs.patch({
56206
+ * // Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project\}/locations/{location\}/licenseConfigs/{license_config\}`
56207
+ * name: 'projects/my-project/locations/my-location/licenseConfigs/my-licenseConfig',
56208
+ * // Optional. Indicates which fields in the provided LicenseConfig to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
56209
+ * updateMask: 'placeholder-value',
56210
+ *
56211
+ * // Request body metadata
56212
+ * requestBody: {
56213
+ * // request body parameters
56214
+ * // {
56215
+ * // "alertPolicyResourceConfig": {},
56216
+ * // "autoRenew": false,
56217
+ * // "endDate": {},
56218
+ * // "freeTrial": false,
56219
+ * // "licenseCount": "my_licenseCount",
56220
+ * // "name": "my_name",
56221
+ * // "startDate": {},
56222
+ * // "state": "my_state",
56223
+ * // "subscriptionTerm": "my_subscriptionTerm",
56224
+ * // "subscriptionTier": "my_subscriptionTier"
56225
+ * // }
56226
+ * },
56227
+ * });
53870
56228
  * console.log(res.data);
53871
56229
  *
53872
56230
  * // Example response
53873
56231
  * // {
53874
- * // "nextPageToken": "my_nextPageToken",
53875
- * // "operations": []
56232
+ * // "alertPolicyResourceConfig": {},
56233
+ * // "autoRenew": false,
56234
+ * // "endDate": {},
56235
+ * // "freeTrial": false,
56236
+ * // "licenseCount": "my_licenseCount",
56237
+ * // "name": "my_name",
56238
+ * // "startDate": {},
56239
+ * // "state": "my_state",
56240
+ * // "subscriptionTerm": "my_subscriptionTerm",
56241
+ * // "subscriptionTier": "my_subscriptionTier"
53876
56242
  * // }
53877
56243
  * }
53878
56244
  *
@@ -53888,62 +56254,61 @@ export namespace discoveryengine_v1beta {
53888
56254
  * @param callback - Optional callback that handles the response.
53889
56255
  * @returns A promise if used with async/await, or void if used with a callback.
53890
56256
  */
53891
- list(
53892
- params: Params$Resource$Projects$Locations$Identitymappingstores$Operations$List,
56257
+ patch(
56258
+ params: Params$Resource$Projects$Locations$Licenseconfigs$Patch,
53893
56259
  options: StreamMethodOptions
53894
56260
  ): Promise<GaxiosResponseWithHTTP2<Readable>>;
53895
- list(
53896
- params?: Params$Resource$Projects$Locations$Identitymappingstores$Operations$List,
56261
+ patch(
56262
+ params?: Params$Resource$Projects$Locations$Licenseconfigs$Patch,
53897
56263
  options?: MethodOptions
53898
56264
  ): Promise<
53899
- GaxiosResponseWithHTTP2<Schema$GoogleLongrunningListOperationsResponse>
56265
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>
53900
56266
  >;
53901
- list(
53902
- params: Params$Resource$Projects$Locations$Identitymappingstores$Operations$List,
56267
+ patch(
56268
+ params: Params$Resource$Projects$Locations$Licenseconfigs$Patch,
53903
56269
  options: StreamMethodOptions | BodyResponseCallback<Readable>,
53904
56270
  callback: BodyResponseCallback<Readable>
53905
56271
  ): void;
53906
- list(
53907
- params: Params$Resource$Projects$Locations$Identitymappingstores$Operations$List,
56272
+ patch(
56273
+ params: Params$Resource$Projects$Locations$Licenseconfigs$Patch,
53908
56274
  options:
53909
56275
  | MethodOptions
53910
- | BodyResponseCallback<Schema$GoogleLongrunningListOperationsResponse>,
53911
- callback: BodyResponseCallback<Schema$GoogleLongrunningListOperationsResponse>
56276
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>,
56277
+ callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>
53912
56278
  ): void;
53913
- list(
53914
- params: Params$Resource$Projects$Locations$Identitymappingstores$Operations$List,
53915
- callback: BodyResponseCallback<Schema$GoogleLongrunningListOperationsResponse>
56279
+ patch(
56280
+ params: Params$Resource$Projects$Locations$Licenseconfigs$Patch,
56281
+ callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>
53916
56282
  ): void;
53917
- list(
53918
- callback: BodyResponseCallback<Schema$GoogleLongrunningListOperationsResponse>
56283
+ patch(
56284
+ callback: BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>
53919
56285
  ): void;
53920
- list(
56286
+ patch(
53921
56287
  paramsOrCallback?:
53922
- | Params$Resource$Projects$Locations$Identitymappingstores$Operations$List
53923
- | BodyResponseCallback<Schema$GoogleLongrunningListOperationsResponse>
56288
+ | Params$Resource$Projects$Locations$Licenseconfigs$Patch
56289
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>
53924
56290
  | BodyResponseCallback<Readable>,
53925
56291
  optionsOrCallback?:
53926
56292
  | MethodOptions
53927
56293
  | StreamMethodOptions
53928
- | BodyResponseCallback<Schema$GoogleLongrunningListOperationsResponse>
56294
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>
53929
56295
  | BodyResponseCallback<Readable>,
53930
56296
  callback?:
53931
- | BodyResponseCallback<Schema$GoogleLongrunningListOperationsResponse>
56297
+ | BodyResponseCallback<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>
53932
56298
  | BodyResponseCallback<Readable>
53933
56299
  ):
53934
56300
  | void
53935
56301
  | Promise<
53936
- GaxiosResponseWithHTTP2<Schema$GoogleLongrunningListOperationsResponse>
56302
+ GaxiosResponseWithHTTP2<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>
53937
56303
  >
53938
56304
  | Promise<GaxiosResponseWithHTTP2<Readable>> {
53939
56305
  let params = (paramsOrCallback ||
53940
- {}) as Params$Resource$Projects$Locations$Identitymappingstores$Operations$List;
56306
+ {}) as Params$Resource$Projects$Locations$Licenseconfigs$Patch;
53941
56307
  let options = (optionsOrCallback || {}) as MethodOptions;
53942
56308
 
53943
56309
  if (typeof paramsOrCallback === 'function') {
53944
56310
  callback = paramsOrCallback;
53945
- params =
53946
- {} as Params$Resource$Projects$Locations$Identitymappingstores$Operations$List;
56311
+ params = {} as Params$Resource$Projects$Locations$Licenseconfigs$Patch;
53947
56312
  options = {};
53948
56313
  }
53949
56314
 
@@ -53957,11 +56322,8 @@ export namespace discoveryengine_v1beta {
53957
56322
  const parameters = {
53958
56323
  options: Object.assign(
53959
56324
  {
53960
- url: (rootUrl + '/v1beta/{+name}/operations').replace(
53961
- /([^:]\/)\/+/g,
53962
- '$1'
53963
- ),
53964
- method: 'GET',
56325
+ url: (rootUrl + '/v1beta/{+name}').replace(/([^:]\/)\/+/g, '$1'),
56326
+ method: 'PATCH',
53965
56327
  apiVersion: '',
53966
56328
  },
53967
56329
  options
@@ -53972,43 +56334,56 @@ export namespace discoveryengine_v1beta {
53972
56334
  context: this.context,
53973
56335
  };
53974
56336
  if (callback) {
53975
- createAPIRequest<Schema$GoogleLongrunningListOperationsResponse>(
56337
+ createAPIRequest<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>(
53976
56338
  parameters,
53977
56339
  callback as BodyResponseCallback<unknown>
53978
56340
  );
53979
56341
  } else {
53980
- return createAPIRequest<Schema$GoogleLongrunningListOperationsResponse>(
56342
+ return createAPIRequest<Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig>(
53981
56343
  parameters
53982
56344
  );
53983
56345
  }
53984
56346
  }
53985
56347
  }
53986
56348
 
53987
- export interface Params$Resource$Projects$Locations$Identitymappingstores$Operations$Get
56349
+ export interface Params$Resource$Projects$Locations$Licenseconfigs$Create
53988
56350
  extends StandardParameters {
53989
56351
  /**
53990
- * The name of the operation resource.
56352
+ * 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`.
53991
56353
  */
53992
- name?: string;
56354
+ licenseConfigId?: string;
56355
+ /**
56356
+ * Required. The parent resource name, such as `projects/{project\}/locations/{location\}`.
56357
+ */
56358
+ parent?: string;
56359
+
56360
+ /**
56361
+ * Request body metadata
56362
+ */
56363
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig;
53993
56364
  }
53994
- export interface Params$Resource$Projects$Locations$Identitymappingstores$Operations$List
56365
+ export interface Params$Resource$Projects$Locations$Licenseconfigs$Get
53995
56366
  extends StandardParameters {
53996
56367
  /**
53997
- * The standard list filter.
56368
+ * Required. Full resource name of LicenseConfig, such as `projects/{project\}/locations/{location\}/licenseConfigs/x`. 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.
53998
56369
  */
53999
- filter?: string;
56370
+ name?: string;
56371
+ }
56372
+ export interface Params$Resource$Projects$Locations$Licenseconfigs$Patch
56373
+ extends StandardParameters {
54000
56374
  /**
54001
- * The name of the operation's parent resource.
56375
+ * Immutable. Identifier. The fully qualified resource name of the license config. Format: `projects/{project\}/locations/{location\}/licenseConfigs/{license_config\}`
54002
56376
  */
54003
56377
  name?: string;
54004
56378
  /**
54005
- * The standard list page size.
56379
+ * Optional. Indicates which fields in the provided LicenseConfig to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.
54006
56380
  */
54007
- pageSize?: number;
56381
+ updateMask?: string;
56382
+
54008
56383
  /**
54009
- * The standard list page token.
56384
+ * Request body metadata
54010
56385
  */
54011
- pageToken?: string;
56386
+ requestBody?: Schema$GoogleCloudDiscoveryengineV1betaLicenseConfig;
54012
56387
  }
54013
56388
 
54014
56389
  export class Resource$Projects$Locations$Operations {
@@ -54199,13 +56574,16 @@ export namespace discoveryengine_v1beta {
54199
56574
  * pageSize: 'placeholder-value',
54200
56575
  * // The standard list page token.
54201
56576
  * pageToken: 'placeholder-value',
56577
+ * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
56578
+ * returnPartialSuccess: 'placeholder-value',
54202
56579
  * });
54203
56580
  * console.log(res.data);
54204
56581
  *
54205
56582
  * // Example response
54206
56583
  * // {
54207
56584
  * // "nextPageToken": "my_nextPageToken",
54208
- * // "operations": []
56585
+ * // "operations": [],
56586
+ * // "unreachable": []
54209
56587
  * // }
54210
56588
  * }
54211
56589
  *
@@ -54341,6 +56719,10 @@ export namespace discoveryengine_v1beta {
54341
56719
  * The standard list page token.
54342
56720
  */
54343
56721
  pageToken?: string;
56722
+ /**
56723
+ * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
56724
+ */
56725
+ returnPartialSuccess?: boolean;
54344
56726
  }
54345
56727
 
54346
56728
  export class Resource$Projects$Locations$Podcasts {
@@ -57825,13 +60207,16 @@ export namespace discoveryengine_v1beta {
57825
60207
  * pageSize: 'placeholder-value',
57826
60208
  * // The standard list page token.
57827
60209
  * pageToken: 'placeholder-value',
60210
+ * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
60211
+ * returnPartialSuccess: 'placeholder-value',
57828
60212
  * });
57829
60213
  * console.log(res.data);
57830
60214
  *
57831
60215
  * // Example response
57832
60216
  * // {
57833
60217
  * // "nextPageToken": "my_nextPageToken",
57834
- * // "operations": []
60218
+ * // "operations": [],
60219
+ * // "unreachable": []
57835
60220
  * // }
57836
60221
  * }
57837
60222
  *
@@ -57967,5 +60352,9 @@ export namespace discoveryengine_v1beta {
57967
60352
  * The standard list page token.
57968
60353
  */
57969
60354
  pageToken?: string;
60355
+ /**
60356
+ * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
60357
+ */
60358
+ returnPartialSuccess?: boolean;
57970
60359
  }
57971
60360
  }