@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.1.20260122 → 0.1.20260129

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 +136 -3
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://discoveryengine.googleapis.com/$discovery/rest?version=v1alpha
12
- // Revision: 20260122
12
+ // Revision: 20260129
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -448,8 +448,6 @@ declare namespace gapi.client {
448
448
  icon?: GoogleCloudDiscoveryengineV1alphaAgentImage;
449
449
  /** Resource name of the agent. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}/agents/{agent}` */
450
450
  name?: string;
451
- /** Output only. The display name of the agent owner. */
452
- ownerDisplayName?: string;
453
451
  /** The reason why the agent was rejected. Only set if the state is PRIVATE, and got there via rejection. */
454
452
  rejectionReason?: string;
455
453
  /** Output only. The state of the Agent. */
@@ -529,6 +527,12 @@ declare namespace gapi.client {
529
527
  /** Required. The AlloyDB table to copy the data from with a length limit of 256 characters. */
530
528
  tableId?: string;
531
529
  }
530
+ interface GoogleCloudDiscoveryengineV1alphaAnalyticsConfig {
531
+ /** Required. The resource name of the analytics customer config. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/analytics/config` */
532
+ name?: string;
533
+ /** Whether user-level metrics are enabled. */
534
+ userLevelMetricsEnabled?: boolean;
535
+ }
532
536
  interface GoogleCloudDiscoveryengineV1alphaAnswer {
533
537
  /** Additional answer-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set. */
534
538
  answerSkippedReasons?: string[];
@@ -3345,8 +3349,14 @@ declare namespace gapi.client {
3345
3349
  effectiveIndexingCoreThreshold?: string;
3346
3350
  /** Optional. The currently effective Search QPM threshold in queries per minute. This is the threshold against which QPM usage is compared for overage calculations. */
3347
3351
  effectiveSearchQpmThreshold?: string;
3352
+ /** Output only. The earliest next update time for the indexing core subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update indexing core subscription threshold request is succeeded. */
3353
+ indexingCoreThresholdNextUpdateTime?: string;
3354
+ /** Output only. The earliest next update time for the search QPM subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update QPM subscription threshold request is succeeded. */
3355
+ searchQpmThresholdNextUpdateTime?: string;
3348
3356
  /** Optional. The start time of the currently active billing subscription. */
3349
3357
  startTime?: string;
3358
+ /** Output only. The latest terminate effective time of search qpm and indexing core subscriptions. */
3359
+ terminateTime?: string;
3350
3360
  }
3351
3361
  interface GoogleCloudDiscoveryengineV1alphaProjectCustomerProvidedConfig {
3352
3362
  /** Optional. Configuration for NotebookLM settings. */
@@ -4980,6 +4990,8 @@ declare namespace gapi.client {
4980
4990
  minimumDataTermAccepted?: boolean;
4981
4991
  /** Immutable. The full resource name of the widget config. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. */
4982
4992
  name?: string;
4993
+ /** Output only. The nodes associated with the Widget Config. */
4994
+ nodes?: GoogleCloudDiscoveryengineV1alphaWidgetConfigNode[];
4983
4995
  /** The type of snippet to display in UCS widget. - RESULT_DISPLAY_TYPE_UNSPECIFIED for existing users. - SNIPPET for new non-enterprise search users. - EXTRACTIVE_ANSWER for new enterprise search users. */
4984
4996
  resultDisplayType?: string;
4985
4997
  /** Required. Immutable. Specifies the solution type that this WidgetConfig can be used for. */
@@ -5083,6 +5095,20 @@ declare namespace gapi.client {
5083
5095
  /** Image URL. */
5084
5096
  url?: string;
5085
5097
  }
5098
+ interface GoogleCloudDiscoveryengineV1alphaWidgetConfigNode {
5099
+ /** Output only. A detailed description of what the node does. */
5100
+ description?: string;
5101
+ /** Output only. A human readable name for the node. */
5102
+ displayName?: string;
5103
+ /** Output only. An identifier or URL pointing to an icon representing this node type. */
5104
+ iconUrl?: string;
5105
+ /** Output only. The output schema of the tool. This schema is expected to conform to the OpenAPI Schema standard (see https://spec.openapis.org/oas/v3.0.3.html/ and AIP-146). It describes the structure of the output produced by this node. */
5106
+ outputSchema?: {[P in string]: any};
5107
+ /** Output only. The parameter schema of the tool. This schema is expected to conform to the OpenAPI Schema standard (see https://spec.openapis.org/oas/v3.0.3.html and AIP-146). It describes the expected structure of the parameters that this node accepts. */
5108
+ parameterSchema?: {[P in string]: any};
5109
+ /** Output only. The type of the node. */
5110
+ type?: string;
5111
+ }
5086
5112
  interface GoogleCloudDiscoveryengineV1alphaWidgetConfigUiBrandingSettings {
5087
5113
  /** Logo image. */
5088
5114
  logo?: GoogleCloudDiscoveryengineV1alphaWidgetConfigImage;
@@ -6016,8 +6042,14 @@ declare namespace gapi.client {
6016
6042
  effectiveIndexingCoreThreshold?: string;
6017
6043
  /** Optional. The currently effective Search QPM threshold in queries per minute. This is the threshold against which QPM usage is compared for overage calculations. */
6018
6044
  effectiveSearchQpmThreshold?: string;
6045
+ /** Output only. The earliest next update time for the indexing core subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update indexing core subscription threshold request is succeeded. */
6046
+ indexingCoreThresholdNextUpdateTime?: string;
6047
+ /** Output only. The earliest next update time for the search QPM subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update QPM subscription threshold request is succeeded. */
6048
+ searchQpmThresholdNextUpdateTime?: string;
6019
6049
  /** Optional. The start time of the currently active billing subscription. */
6020
6050
  startTime?: string;
6051
+ /** Output only. The latest terminate effective time of search qpm and indexing core subscriptions. */
6052
+ terminateTime?: string;
6021
6053
  }
6022
6054
  interface GoogleCloudDiscoveryengineV1betaProjectCustomerProvidedConfig {
6023
6055
  /** Optional. Configuration for NotebookLM settings. */
@@ -7333,8 +7365,14 @@ declare namespace gapi.client {
7333
7365
  effectiveIndexingCoreThreshold?: string;
7334
7366
  /** Optional. The currently effective Search QPM threshold in queries per minute. This is the threshold against which QPM usage is compared for overage calculations. */
7335
7367
  effectiveSearchQpmThreshold?: string;
7368
+ /** Output only. The earliest next update time for the indexing core subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update indexing core subscription threshold request is succeeded. */
7369
+ indexingCoreThresholdNextUpdateTime?: string;
7370
+ /** Output only. The earliest next update time for the search QPM subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update QPM subscription threshold request is succeeded. */
7371
+ searchQpmThresholdNextUpdateTime?: string;
7336
7372
  /** Optional. The start time of the currently active billing subscription. */
7337
7373
  startTime?: string;
7374
+ /** Output only. The latest terminate effective time of search qpm and indexing core subscriptions. */
7375
+ terminateTime?: string;
7338
7376
  }
7339
7377
  interface GoogleCloudDiscoveryengineV1ProjectCustomerProvidedConfig {
7340
7378
  /** Optional. Configuration for NotebookLM settings. */
@@ -7757,8 +7795,12 @@ declare namespace gapi.client {
7757
7795
  googleDriveError?: GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveError;
7758
7796
  /** Indicates an error occurred while ingesting the source. */
7759
7797
  ingestionError?: any;
7798
+ /** Indicates that the source MIME type is blocked. */
7799
+ mimeTypeBlocked?: any;
7760
7800
  /** Indicates that the source is paywalled and cannot be ingested. */
7761
7801
  paywallError?: any;
7802
+ /** Indicates that the policy check failed. */
7803
+ policyCheckFailed?: any;
7762
7804
  /** Indicates that the source is empty. */
7763
7805
  sourceEmpty?: any;
7764
7806
  /** Error if the user tries to update beyond their limits. */
@@ -7789,7 +7831,9 @@ declare namespace gapi.client {
7789
7831
  }
7790
7832
  interface GoogleCloudNotebooklmV1alphaFailureReasonGoogleDriveErrorDownloadPrevented {}
7791
7833
  interface GoogleCloudNotebooklmV1alphaFailureReasonIngestionError {}
7834
+ interface GoogleCloudNotebooklmV1alphaFailureReasonMimeTypeBlocked {}
7792
7835
  interface GoogleCloudNotebooklmV1alphaFailureReasonPaywallError {}
7836
+ interface GoogleCloudNotebooklmV1alphaFailureReasonPolicyCheckFailed {}
7793
7837
  interface GoogleCloudNotebooklmV1alphaFailureReasonSourceEmpty {}
7794
7838
  interface GoogleCloudNotebooklmV1alphaFailureReasonSourceLimitExceeded {}
7795
7839
  interface GoogleCloudNotebooklmV1alphaFailureReasonSourceTooLong {
@@ -13391,6 +13435,95 @@ declare namespace gapi.client {
13391
13435
  },
13392
13436
  body: GoogleCloudDiscoveryengineV1alphaExportMetricsRequest,
13393
13437
  ): Request<GoogleLongrunningOperation>;
13438
+ /** Gets the AnalyticsConfig. */
13439
+ getConfig(request?: {
13440
+ /** V1 error format. */
13441
+ '$.xgafv'?: string;
13442
+ /** OAuth access token. */
13443
+ access_token?: string;
13444
+ /** Data format for response. */
13445
+ alt?: string;
13446
+ /** JSONP */
13447
+ callback?: string;
13448
+ /** Selector specifying which fields to include in a partial response. */
13449
+ fields?: string;
13450
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
13451
+ key?: string;
13452
+ /** Required. The resource name of the analytics customer config. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/analytics/config` */
13453
+ name: string;
13454
+ /** OAuth 2.0 token for the current user. */
13455
+ oauth_token?: string;
13456
+ /** Returns response with indentations and line breaks. */
13457
+ prettyPrint?: boolean;
13458
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
13459
+ quotaUser?: string;
13460
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13461
+ upload_protocol?: string;
13462
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13463
+ uploadType?: string;
13464
+ }): Request<GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>;
13465
+ /** Updates the AnalyticsConfig for analytics. */
13466
+ updateConfig(request: {
13467
+ /** V1 error format. */
13468
+ '$.xgafv'?: string;
13469
+ /** OAuth access token. */
13470
+ access_token?: string;
13471
+ /** Data format for response. */
13472
+ alt?: string;
13473
+ /** JSONP */
13474
+ callback?: string;
13475
+ /** Selector specifying which fields to include in a partial response. */
13476
+ fields?: string;
13477
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
13478
+ key?: string;
13479
+ /** Required. The resource name of the analytics customer config. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/analytics/config` */
13480
+ name: string;
13481
+ /** OAuth 2.0 token for the current user. */
13482
+ oauth_token?: string;
13483
+ /** Returns response with indentations and line breaks. */
13484
+ prettyPrint?: boolean;
13485
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
13486
+ quotaUser?: string;
13487
+ /** The list of fields of AnalyticsConfig to update. If not specified, the method will perform a full replacement. */
13488
+ updateMask?: string;
13489
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13490
+ upload_protocol?: string;
13491
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13492
+ uploadType?: string;
13493
+ /** Request body */
13494
+ resource: GoogleCloudDiscoveryengineV1alphaAnalyticsConfig;
13495
+ }): Request<GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>;
13496
+ updateConfig(
13497
+ request: {
13498
+ /** V1 error format. */
13499
+ '$.xgafv'?: string;
13500
+ /** OAuth access token. */
13501
+ access_token?: string;
13502
+ /** Data format for response. */
13503
+ alt?: string;
13504
+ /** JSONP */
13505
+ callback?: string;
13506
+ /** Selector specifying which fields to include in a partial response. */
13507
+ fields?: string;
13508
+ /** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
13509
+ key?: string;
13510
+ /** Required. The resource name of the analytics customer config. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/analytics/config` */
13511
+ name: string;
13512
+ /** OAuth 2.0 token for the current user. */
13513
+ oauth_token?: string;
13514
+ /** Returns response with indentations and line breaks. */
13515
+ prettyPrint?: boolean;
13516
+ /** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
13517
+ quotaUser?: string;
13518
+ /** The list of fields of AnalyticsConfig to update. If not specified, the method will perform a full replacement. */
13519
+ updateMask?: string;
13520
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
13521
+ upload_protocol?: string;
13522
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
13523
+ uploadType?: string;
13524
+ },
13525
+ body: GoogleCloudDiscoveryengineV1alphaAnalyticsConfig,
13526
+ ): Request<GoogleCloudDiscoveryengineV1alphaAnalyticsConfig>;
13394
13527
  }
13395
13528
  interface FilesResource {
13396
13529
  /** Imports a file to an Agent. Currently only No-Code agents are supported. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.discoveryengine-v1alpha",
3
- "version": "0.1.20260122",
3
+ "version": "0.1.20260129",
4
4
  "description": "TypeScript typings for Discovery Engine API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",