@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.0.20250322 → 0.0.20250331

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +27 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://discoveryengine.googleapis.com/$discovery/rest?version=v1beta
12
- // Revision: 20250322
12
+ // Revision: 20250331
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -678,6 +678,8 @@ declare namespace gapi.client {
678
678
  privateConnectivityProjectId?: string;
679
679
  /** Output only. real-time sync state */
680
680
  realtimeState?: string;
681
+ /** Optional. The configuration for realtime sync. */
682
+ realtimeSyncConfig?: GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig;
681
683
  /** 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. */
682
684
  refreshInterval?: string;
683
685
  /** Output only. State of the connector. */
@@ -691,6 +693,12 @@ declare namespace gapi.client {
691
693
  /** Output only. Timestamp the DataConnector was last updated. */
692
694
  updateTime?: string;
693
695
  }
696
+ interface GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig {
697
+ /** Optional. The ID of the Secret Manager secret used for webhook secret. */
698
+ realtimeSyncSecret?: string;
699
+ /** Optional. Webhook url for the connector to specify additional params for realtime sync. */
700
+ webhookUri?: string;
701
+ }
694
702
  interface GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity {
695
703
  /** Output only. The full resource name of the associated data store for the source entity. Format: `projects/*‍/locations/*‍/collections/*‍/dataStores/*`. When the connector is initialized by the DataConnectorService.SetUpDataConnector method, a DataStore is automatically created for each source entity. */
696
704
  dataStore?: string;
@@ -2966,6 +2974,8 @@ declare namespace gapi.client {
2966
2974
  interface GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchRequest {}
2967
2975
  interface GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchResponse {}
2968
2976
  interface GoogleCloudDiscoveryengineV1betaDocument {
2977
+ /** Access control information for the document. */
2978
+ aclInfo?: GoogleCloudDiscoveryengineV1betaDocumentAclInfo;
2969
2979
  /** The unstructured data linked to this document. Content must be set if this document is under a `CONTENT_REQUIRED` data store. */
2970
2980
  content?: GoogleCloudDiscoveryengineV1betaDocumentContent;
2971
2981
  /** Output only. This field is OUTPUT_ONLY. It contains derived data that are not in the original input document. */
@@ -2987,6 +2997,16 @@ declare namespace gapi.client {
2987
2997
  /** The structured JSON data for the document. It should conform to the registered Schema or an `INVALID_ARGUMENT` error is thrown. */
2988
2998
  structData?: {[P in string]: any};
2989
2999
  }
3000
+ interface GoogleCloudDiscoveryengineV1betaDocumentAclInfo {
3001
+ /** Readers of the document. */
3002
+ readers?: GoogleCloudDiscoveryengineV1betaDocumentAclInfoAccessRestriction[];
3003
+ }
3004
+ interface GoogleCloudDiscoveryengineV1betaDocumentAclInfoAccessRestriction {
3005
+ /** All users within the Identity Provider. */
3006
+ idpWide?: boolean;
3007
+ /** List of principals. */
3008
+ principals?: GoogleCloudDiscoveryengineV1betaPrincipal[];
3009
+ }
2990
3010
  interface GoogleCloudDiscoveryengineV1betaDocumentContent {
2991
3011
  /** The MIME type of the content. Supported types: * `application/pdf` (PDF, only native PDFs are supported for now) * `text/html` (HTML) * `application/vnd.openxmlformats-officedocument.wordprocessingml.document` (DOCX) * `application/vnd.openxmlformats-officedocument.presentationml.presentation` (PPTX) * `text/plain` (TXT) See https://www.iana.org/assignments/media-types/media-types.xhtml. */
2992
3012
  mimeType?: string;
@@ -3621,6 +3641,12 @@ declare namespace gapi.client {
3621
3641
  totalPanels?: number;
3622
3642
  }
3623
3643
  interface GoogleCloudDiscoveryengineV1betaPauseEngineRequest {}
3644
+ interface GoogleCloudDiscoveryengineV1betaPrincipal {
3645
+ /** Group identifier. For Google Workspace user account, group_id should be the google workspace group email. For non-google identity provider user account, group_id is the mapped group identifier configured during the workforcepool config. */
3646
+ groupId?: string;
3647
+ /** User identifier. For Google Workspace user account, user_id should be the google workspace user email. For non-google identity provider user account, user_id is the mapped user identifier configured during the workforcepool config. */
3648
+ userId?: string;
3649
+ }
3624
3650
  interface GoogleCloudDiscoveryengineV1betaProject {
3625
3651
  /** Output only. The timestamp when this project is created. */
3626
3652
  createTime?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1beta",
3
- "version": "0.0.20250322",
3
+ "version": "0.0.20250331",
4
4
  "description": "TypeScript typings for Discovery Engine API v1beta",
5
5
  "repository": {
6
6
  "type": "git",