@maxim_mazurok/gapi.client.discoveryengine-v1 0.3.20260629 → 0.3.20260705
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/index.d.ts +174 -1
- 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=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260705
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -779,6 +779,147 @@ declare namespace gapi.client {
|
|
|
779
779
|
/** 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. */
|
|
780
780
|
notificationParams?: {[P in string]: string};
|
|
781
781
|
}
|
|
782
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsights {
|
|
783
|
+
/** Optional. List of evaluation insights. */
|
|
784
|
+
insights?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsightsAlphaEvolveEvaluationInsight[];
|
|
785
|
+
}
|
|
786
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsightsAlphaEvolveEvaluationInsight {
|
|
787
|
+
/** Optional. Label of the insight. */
|
|
788
|
+
label?: string;
|
|
789
|
+
/** Optional. Text of the insight. */
|
|
790
|
+
text?: string;
|
|
791
|
+
}
|
|
792
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScores {
|
|
793
|
+
/** Required. List of evaluation scores. */
|
|
794
|
+
scores?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScoresAlphaEvolveEvaluationScore[];
|
|
795
|
+
}
|
|
796
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScoresAlphaEvolveEvaluationScore {
|
|
797
|
+
/** Required. Name of the metric. */
|
|
798
|
+
metric?: string;
|
|
799
|
+
/** Required. Score of a program for this metric. */
|
|
800
|
+
score?: number;
|
|
801
|
+
}
|
|
802
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperiment {
|
|
803
|
+
/** Required. Experiment configuration. */
|
|
804
|
+
config?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfig;
|
|
805
|
+
/** Output only. Time when the experiment was created. */
|
|
806
|
+
createTime?: string;
|
|
807
|
+
/** Output only. Specifies the name of the seed program used to start the experiment. */
|
|
808
|
+
initialAlphaEvolveProgram?: string;
|
|
809
|
+
/** Identifier. The full resource name of the experiment. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}` */
|
|
810
|
+
name?: string;
|
|
811
|
+
/** Output only. The state of the experiment. */
|
|
812
|
+
state?:
|
|
813
|
+
| 'STATE_UNSPECIFIED'
|
|
814
|
+
| 'CREATED'
|
|
815
|
+
| 'RUNNING'
|
|
816
|
+
| 'PAUSED'
|
|
817
|
+
| 'COMPLETED'
|
|
818
|
+
| 'FAILED';
|
|
819
|
+
/** Output only. Experiment stats. */
|
|
820
|
+
stats?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentStats;
|
|
821
|
+
}
|
|
822
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfig {
|
|
823
|
+
/** Optional. Evolution settings for the experiment. */
|
|
824
|
+
evolutionSettings?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettings;
|
|
825
|
+
/** Optional. Generation settings for the experiment, controlling how new program candidates are generated, including things LLM parameters and user-provided context and prompts. */
|
|
826
|
+
generationSettings?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings;
|
|
827
|
+
/** Required. Description of the problem to be solved by the experiment. */
|
|
828
|
+
problemDescription?: string;
|
|
829
|
+
/** Required. Primary programming language of the code being optimized. */
|
|
830
|
+
programLanguage?: string;
|
|
831
|
+
/** Required. Run settings for the experiment, controlling the overall behavior of the experiment run. */
|
|
832
|
+
runSettings?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigRunSettings;
|
|
833
|
+
/** Required. Title of the experiment. */
|
|
834
|
+
title?: string;
|
|
835
|
+
}
|
|
836
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettings {
|
|
837
|
+
/** Optional. Parent sampling configuration. */
|
|
838
|
+
parentSamplingConfig?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfig;
|
|
839
|
+
}
|
|
840
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfig {
|
|
841
|
+
/** Optional. Pareto sampling configuration. */
|
|
842
|
+
paretoSamplingConfig?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfigParetoSamplingConfig;
|
|
843
|
+
}
|
|
844
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfigParetoSamplingConfig {
|
|
845
|
+
/** Optional. Probability [0.0, 1.0] of sampling parent programs from the Pareto frontier instead of normal fitness-based sampling during candidate generation. Useful when optimizing multiple metrics simultaneously. Default 0.0 (disabled). Only effective when evaluation returns multiple metrics in scores_to_optimize. */
|
|
846
|
+
paretoSamplingProbability?: number;
|
|
847
|
+
}
|
|
848
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings {
|
|
849
|
+
/** Optional. Additional user-provided context to be used during generation. */
|
|
850
|
+
context?: string;
|
|
851
|
+
/** Optional. When true, the LLM prompt includes the full program text (both mutable EVOLVE-BLOCK regions and immutable boilerplate). When false (default), only the mutable EVOLVE-BLOCK regions are shown, saving context window. */
|
|
852
|
+
includeFullProgramInPrompt?: boolean;
|
|
853
|
+
/** Optional. Per-model configuration. See `ModelConfig` for details. If left unset, the server selects a default model. */
|
|
854
|
+
models?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig[];
|
|
855
|
+
}
|
|
856
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig {
|
|
857
|
+
/** Required. Model name (e.g. `gemini-2.5-flash`, `gemini-3.1-pro-preview`). See `model_mixture` for the list of allowed models. */
|
|
858
|
+
name?: string;
|
|
859
|
+
/** Optional. Relative weight for this model in the mixture. Must be a finite, strictly positive value. Weights across all entries are normalized server-side, so they need not sum to 1.0. Defaults to 1.0 when unset, which is convenient when configuring a single model or an even mixture. Some Pro-tier models are capped at most 50% of the total weight; requests violating that cap are rejected with INVALID_ARGUMENT. */
|
|
860
|
+
weight?: number;
|
|
861
|
+
}
|
|
862
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigRunSettings {
|
|
863
|
+
/** Required. Maximum number of programs that can be generated in parallel. Must be positive. */
|
|
864
|
+
concurrency?: number;
|
|
865
|
+
/** Optional. Maximum duration of the experiment. If unset, defaults to 24 hours. */
|
|
866
|
+
maxDuration?: string;
|
|
867
|
+
/** Required. Maximum number of programs to generate during the experiment run. The initial program counts towards this limit. Must be greater than 1. */
|
|
868
|
+
maxPrograms?: number;
|
|
869
|
+
}
|
|
870
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentStats {
|
|
871
|
+
/** Output only. Number of candidates generated. */
|
|
872
|
+
candidatesCount?: number;
|
|
873
|
+
/** Output only. Number of candidates evaluated. */
|
|
874
|
+
evaluatedCandidatesCount?: number;
|
|
875
|
+
/** Output only. Number of billed input tokens consumed by the experiment. */
|
|
876
|
+
inputTokenCount?: string;
|
|
877
|
+
/** Output only. Number of billed output tokens consumed by the experiment. */
|
|
878
|
+
outputTokenCount?: string;
|
|
879
|
+
}
|
|
880
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram {
|
|
881
|
+
/** Optional. Content of the program. */
|
|
882
|
+
content?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramContent;
|
|
883
|
+
/** Output only. Time when the program was created. */
|
|
884
|
+
createTime?: string;
|
|
885
|
+
/** Optional. Evaluation results for the program. */
|
|
886
|
+
evaluation?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation;
|
|
887
|
+
/** Optional. Lock token for the program. */
|
|
888
|
+
lockToken?: string;
|
|
889
|
+
/** Identifier. Unique identifier for the program. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}/alphaEvolvePrograms/{alpha_evolve_program}` */
|
|
890
|
+
name?: string;
|
|
891
|
+
/** Output only. Optionally specifies which parent programs this program was evolved from. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}/alphaEvolvePrograms/{alpha_evolve_program}` */
|
|
892
|
+
parentPrograms?: string[];
|
|
893
|
+
/** Output only. State of the program. */
|
|
894
|
+
state?:
|
|
895
|
+
| 'PROGRAM_STATE_UNSPECIFIED'
|
|
896
|
+
| 'INITIALIZED'
|
|
897
|
+
| 'GENERATING'
|
|
898
|
+
| 'EVALUATING'
|
|
899
|
+
| 'COMPLETED';
|
|
900
|
+
}
|
|
901
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramContent {
|
|
902
|
+
/** Optional. Description of the program. */
|
|
903
|
+
description?: string;
|
|
904
|
+
/** Required. A list of source files that make up the overall program. */
|
|
905
|
+
files?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveSourceFile[];
|
|
906
|
+
}
|
|
907
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation {
|
|
908
|
+
/** Optional. Represents various insights about the candidate, which are not directly used as optimization target, but that can be used to improve subsequent generations, and as such can be used to construct the evolution prompt. */
|
|
909
|
+
insights?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsights;
|
|
910
|
+
/** Optional. Contains the evaluation scores for the target metrics to optimize. */
|
|
911
|
+
scores?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScores;
|
|
912
|
+
}
|
|
913
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveSourceFile {
|
|
914
|
+
/** Required. The raw content of the file. This is a string and not bytes, because it should be ultimately processed by the LLM as text. */
|
|
915
|
+
content?: string;
|
|
916
|
+
/** Optional. Additional description of the file. */
|
|
917
|
+
description?: string;
|
|
918
|
+
/** Required. The relative path of the file, including the filename. e.g., "src/main.py", "utils/helpers.js", "README.md" */
|
|
919
|
+
path?: string;
|
|
920
|
+
/** Optional. The programming language of the file. */
|
|
921
|
+
programLanguage?: string;
|
|
922
|
+
}
|
|
782
923
|
interface GoogleCloudDiscoveryengineV1alphaAnswer {
|
|
783
924
|
/** Additional answer-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set. */
|
|
784
925
|
answerSkippedReasons?:
|
|
@@ -1583,6 +1724,8 @@ declare namespace gapi.client {
|
|
|
1583
1724
|
name?: string;
|
|
1584
1725
|
/** 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. */
|
|
1585
1726
|
nextSyncTime?: GoogleTypeDateTime;
|
|
1727
|
+
/** Output only. The static IP addresses used by this connector for OAuth APIs (e.g. end user authentication). These are surfaced separately from `static_ip_addresses` so that customers can apply granular firewall settings for OAuth endpoints. Only populated for connectors that have static IP enabled and are used for actions and/or federated search. */
|
|
1728
|
+
oauthStaticIpAddresses?: string[];
|
|
1586
1729
|
/** Required data connector parameters in structured json format. */
|
|
1587
1730
|
params?: {[P in string]: any};
|
|
1588
1731
|
/** Output only. The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function. */
|
|
@@ -1898,6 +2041,8 @@ declare namespace gapi.client {
|
|
|
1898
2041
|
failureCount?: string;
|
|
1899
2042
|
/** The number of end users under the user store that were successfully deleted. */
|
|
1900
2043
|
successCount?: string;
|
|
2044
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
2045
|
+
updateTime?: string;
|
|
1901
2046
|
}
|
|
1902
2047
|
interface GoogleCloudDiscoveryengineV1alphaDestinationConfig {
|
|
1903
2048
|
/** Optional. The destinations for the corresponding key. */
|
|
@@ -2889,6 +3034,12 @@ declare namespace gapi.client {
|
|
|
2889
3034
|
/** Required. Names of the Group resources to use as a basis for the list of patients for the new patient filter, in format `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Group/{group_id}`. if the caller does not have permission to access the FHIR store, regardless of whether it exists, PERMISSION_DENIED error is returned. If the discovery engine service account does not have permission to access the FHIR store, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the group is not found at the location, a RESOURCE_NOT_FOUND error will be returned. The filter group must be a FHIR resource name of type Group, and the new filter will be constructed from the direct members of the group which are Patient resources. */
|
|
2890
3035
|
filterGroups?: string[];
|
|
2891
3036
|
}
|
|
3037
|
+
interface GoogleCloudDiscoveryengineV1alphaResumeExperimentMetadata {
|
|
3038
|
+
/** Output only. The time the operation was created. */
|
|
3039
|
+
createTime?: string;
|
|
3040
|
+
/** Output only. The time the operation was last updated. */
|
|
3041
|
+
updateTime?: string;
|
|
3042
|
+
}
|
|
2892
3043
|
interface GoogleCloudDiscoveryengineV1alphaSafetyRating {
|
|
2893
3044
|
/** Output only. Indicates whether the content was filtered out because of this rating. */
|
|
2894
3045
|
blocked?: boolean;
|
|
@@ -3367,6 +3518,16 @@ declare namespace gapi.client {
|
|
|
3367
3518
|
/** Latest site verification time. */
|
|
3368
3519
|
verifyTime?: string;
|
|
3369
3520
|
}
|
|
3521
|
+
interface GoogleCloudDiscoveryengineV1alphaStartExperimentMetadata {
|
|
3522
|
+
/** Output only. The time the operation was created. */
|
|
3523
|
+
createTime?: string;
|
|
3524
|
+
/** Output only. The time the operation was last updated. */
|
|
3525
|
+
updateTime?: string;
|
|
3526
|
+
}
|
|
3527
|
+
interface GoogleCloudDiscoveryengineV1alphaStartExperimentRequest {
|
|
3528
|
+
/** Required. Experiment to start. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}` */
|
|
3529
|
+
name?: string;
|
|
3530
|
+
}
|
|
3370
3531
|
interface GoogleCloudDiscoveryengineV1alphaTargetSite {
|
|
3371
3532
|
/** Immutable. If set to false, a uri_pattern is generated to include all pages whose address contains the provided_uri_pattern. If set to true, an uri_pattern is generated to try to be an exact match of the provided_uri_pattern or just the specific page if the provided_uri_pattern is a specific one. provided_uri_pattern is always normalized to generate the URI pattern to be used by the search engine. */
|
|
3372
3533
|
exactMatch?: boolean;
|
|
@@ -6488,6 +6649,8 @@ declare namespace gapi.client {
|
|
|
6488
6649
|
name?: string;
|
|
6489
6650
|
/** 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. */
|
|
6490
6651
|
nextSyncTime?: GoogleTypeDateTime;
|
|
6652
|
+
/** Output only. The static IP addresses used by this connector for OAuth APIs (e.g. end user authentication). These are surfaced separately from `static_ip_addresses` so that customers can apply granular firewall settings for OAuth endpoints. Only populated for connectors that have static IP enabled and are used for actions and/or federated search. */
|
|
6653
|
+
oauthStaticIpAddresses?: string[];
|
|
6491
6654
|
/** Required data connector parameters in structured json format. */
|
|
6492
6655
|
params?: {[P in string]: any};
|
|
6493
6656
|
/** Output only. The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function. */
|
|
@@ -9272,6 +9435,8 @@ declare namespace gapi.client {
|
|
|
9272
9435
|
resolvedModels?: GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsModelConfigInfoResolvedModel[];
|
|
9273
9436
|
}
|
|
9274
9437
|
interface GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsModelConfigInfoResolvedModel {
|
|
9438
|
+
/** Output only. Admin-surface metadata; populated only for the Console admin Feature Control page (see `AdminView`). Unset for end-user surfaces. */
|
|
9439
|
+
adminView?: GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsModelConfigInfoResolvedModelAdminView;
|
|
9275
9440
|
/** Output only. Localized description text (e.g. `State-of-the-art reasoning`). Localized using the same locale as `display_name`. */
|
|
9276
9441
|
description?: string;
|
|
9277
9442
|
/** Output only. Localized display name of the model (e.g. `Gemini 3.1 Pro`). Localized server-side based on the LookupWidgetConfigRequest.language_code and LookupWidgetConfigRequest.region_code of the request. */
|
|
@@ -9283,6 +9448,14 @@ declare namespace gapi.client {
|
|
|
9283
9448
|
/** Output only. Unique identifier of the model (e.g. `gemini-2.5-flash`, `gemini-3.1-pro-preview`). This is the same identifier that clients pass back to the assistant service to select this model. Virtual / "pseudo" models (e.g. `gemini-fast`) are also valid values here; they are resolved to the underlying concrete model on the backend. */
|
|
9284
9449
|
modelId?: string;
|
|
9285
9450
|
}
|
|
9451
|
+
interface GoogleCloudDiscoveryengineV1WidgetConfigUiSettingsModelConfigInfoResolvedModelAdminView {
|
|
9452
|
+
/** Output only. Whether the admin can toggle this model's enabled/disabled state via `UiSettings.model_configs`. Derived from `MODEL_TAG_ADMIN_OVERRIDABLE`. When false, the model is "forced" and its state is governed by `enabled_by_default`. */
|
|
9453
|
+
adminOverridable?: boolean;
|
|
9454
|
+
/** Output only. Whether the model is enabled when the admin has set no explicit override in `UiSettings.model_configs`. Derived from `MODEL_TAG_ENABLED_BY_DEFAULT`. */
|
|
9455
|
+
enabledByDefault?: boolean;
|
|
9456
|
+
/** Output only. Regions where this model is launched. */
|
|
9457
|
+
regions?: string[];
|
|
9458
|
+
}
|
|
9286
9459
|
interface GoogleCloudDiscoveryengineV1WorkspaceConfig {
|
|
9287
9460
|
/** Output only. Obfuscated Dasher customer ID. Derived by the server from the project's GCP organization at data store creation time; any value supplied in the request payload is ignored. */
|
|
9288
9461
|
dasherCustomerId?: string;
|