@maxim_mazurok/gapi.client.discoveryengine-v1beta 0.3.20260629 → 0.3.20260706
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 +164 -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=v1beta
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260706
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -310,6 +310,147 @@ declare namespace gapi.client {
|
|
|
310
310
|
/** 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. */
|
|
311
311
|
notificationParams?: {[P in string]: string};
|
|
312
312
|
}
|
|
313
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsights {
|
|
314
|
+
/** Optional. List of evaluation insights. */
|
|
315
|
+
insights?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsightsAlphaEvolveEvaluationInsight[];
|
|
316
|
+
}
|
|
317
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsightsAlphaEvolveEvaluationInsight {
|
|
318
|
+
/** Optional. Label of the insight. */
|
|
319
|
+
label?: string;
|
|
320
|
+
/** Optional. Text of the insight. */
|
|
321
|
+
text?: string;
|
|
322
|
+
}
|
|
323
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScores {
|
|
324
|
+
/** Required. List of evaluation scores. */
|
|
325
|
+
scores?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScoresAlphaEvolveEvaluationScore[];
|
|
326
|
+
}
|
|
327
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScoresAlphaEvolveEvaluationScore {
|
|
328
|
+
/** Required. Name of the metric. */
|
|
329
|
+
metric?: string;
|
|
330
|
+
/** Required. Score of a program for this metric. */
|
|
331
|
+
score?: number;
|
|
332
|
+
}
|
|
333
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperiment {
|
|
334
|
+
/** Required. Experiment configuration. */
|
|
335
|
+
config?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfig;
|
|
336
|
+
/** Output only. Time when the experiment was created. */
|
|
337
|
+
createTime?: string;
|
|
338
|
+
/** Output only. Specifies the name of the seed program used to start the experiment. */
|
|
339
|
+
initialAlphaEvolveProgram?: string;
|
|
340
|
+
/** Identifier. The full resource name of the experiment. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}` */
|
|
341
|
+
name?: string;
|
|
342
|
+
/** Output only. The state of the experiment. */
|
|
343
|
+
state?:
|
|
344
|
+
| 'STATE_UNSPECIFIED'
|
|
345
|
+
| 'CREATED'
|
|
346
|
+
| 'RUNNING'
|
|
347
|
+
| 'PAUSED'
|
|
348
|
+
| 'COMPLETED'
|
|
349
|
+
| 'FAILED';
|
|
350
|
+
/** Output only. Experiment stats. */
|
|
351
|
+
stats?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentStats;
|
|
352
|
+
}
|
|
353
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfig {
|
|
354
|
+
/** Optional. Evolution settings for the experiment. */
|
|
355
|
+
evolutionSettings?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettings;
|
|
356
|
+
/** Optional. Generation settings for the experiment, controlling how new program candidates are generated, including things LLM parameters and user-provided context and prompts. */
|
|
357
|
+
generationSettings?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings;
|
|
358
|
+
/** Required. Description of the problem to be solved by the experiment. */
|
|
359
|
+
problemDescription?: string;
|
|
360
|
+
/** Required. Primary programming language of the code being optimized. */
|
|
361
|
+
programLanguage?: string;
|
|
362
|
+
/** Required. Run settings for the experiment, controlling the overall behavior of the experiment run. */
|
|
363
|
+
runSettings?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigRunSettings;
|
|
364
|
+
/** Required. Title of the experiment. */
|
|
365
|
+
title?: string;
|
|
366
|
+
}
|
|
367
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettings {
|
|
368
|
+
/** Optional. Parent sampling configuration. */
|
|
369
|
+
parentSamplingConfig?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfig;
|
|
370
|
+
}
|
|
371
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfig {
|
|
372
|
+
/** Optional. Pareto sampling configuration. */
|
|
373
|
+
paretoSamplingConfig?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfigParetoSamplingConfig;
|
|
374
|
+
}
|
|
375
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfigParetoSamplingConfig {
|
|
376
|
+
/** 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. */
|
|
377
|
+
paretoSamplingProbability?: number;
|
|
378
|
+
}
|
|
379
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings {
|
|
380
|
+
/** Optional. Additional user-provided context to be used during generation. */
|
|
381
|
+
context?: string;
|
|
382
|
+
/** 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. */
|
|
383
|
+
includeFullProgramInPrompt?: boolean;
|
|
384
|
+
/** Optional. Per-model configuration. See `ModelConfig` for details. If left unset, the server selects a default model. */
|
|
385
|
+
models?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig[];
|
|
386
|
+
}
|
|
387
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig {
|
|
388
|
+
/** Required. Model name (e.g. `gemini-2.5-flash`, `gemini-3.1-pro-preview`). See `model_mixture` for the list of allowed models. */
|
|
389
|
+
name?: string;
|
|
390
|
+
/** 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. */
|
|
391
|
+
weight?: number;
|
|
392
|
+
}
|
|
393
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigRunSettings {
|
|
394
|
+
/** Required. Maximum number of programs that can be generated in parallel. Must be positive. */
|
|
395
|
+
concurrency?: number;
|
|
396
|
+
/** Optional. Maximum duration of the experiment. If unset, defaults to 24 hours. */
|
|
397
|
+
maxDuration?: string;
|
|
398
|
+
/** Required. Maximum number of programs to generate during the experiment run. The initial program counts towards this limit. Must be greater than 1. */
|
|
399
|
+
maxPrograms?: number;
|
|
400
|
+
}
|
|
401
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentStats {
|
|
402
|
+
/** Output only. Number of candidates generated. */
|
|
403
|
+
candidatesCount?: number;
|
|
404
|
+
/** Output only. Number of candidates evaluated. */
|
|
405
|
+
evaluatedCandidatesCount?: number;
|
|
406
|
+
/** Output only. Number of billed input tokens consumed by the experiment. */
|
|
407
|
+
inputTokenCount?: string;
|
|
408
|
+
/** Output only. Number of billed output tokens consumed by the experiment. */
|
|
409
|
+
outputTokenCount?: string;
|
|
410
|
+
}
|
|
411
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram {
|
|
412
|
+
/** Optional. Content of the program. */
|
|
413
|
+
content?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramContent;
|
|
414
|
+
/** Output only. Time when the program was created. */
|
|
415
|
+
createTime?: string;
|
|
416
|
+
/** Optional. Evaluation results for the program. */
|
|
417
|
+
evaluation?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation;
|
|
418
|
+
/** Optional. Lock token for the program. */
|
|
419
|
+
lockToken?: string;
|
|
420
|
+
/** 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}` */
|
|
421
|
+
name?: string;
|
|
422
|
+
/** 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}` */
|
|
423
|
+
parentPrograms?: string[];
|
|
424
|
+
/** Output only. State of the program. */
|
|
425
|
+
state?:
|
|
426
|
+
| 'PROGRAM_STATE_UNSPECIFIED'
|
|
427
|
+
| 'INITIALIZED'
|
|
428
|
+
| 'GENERATING'
|
|
429
|
+
| 'EVALUATING'
|
|
430
|
+
| 'COMPLETED';
|
|
431
|
+
}
|
|
432
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramContent {
|
|
433
|
+
/** Optional. Description of the program. */
|
|
434
|
+
description?: string;
|
|
435
|
+
/** Required. A list of source files that make up the overall program. */
|
|
436
|
+
files?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveSourceFile[];
|
|
437
|
+
}
|
|
438
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation {
|
|
439
|
+
/** 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. */
|
|
440
|
+
insights?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsights;
|
|
441
|
+
/** Optional. Contains the evaluation scores for the target metrics to optimize. */
|
|
442
|
+
scores?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScores;
|
|
443
|
+
}
|
|
444
|
+
interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveSourceFile {
|
|
445
|
+
/** 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. */
|
|
446
|
+
content?: string;
|
|
447
|
+
/** Optional. Additional description of the file. */
|
|
448
|
+
description?: string;
|
|
449
|
+
/** Required. The relative path of the file, including the filename. e.g., "src/main.py", "utils/helpers.js", "README.md" */
|
|
450
|
+
path?: string;
|
|
451
|
+
/** Optional. The programming language of the file. */
|
|
452
|
+
programLanguage?: string;
|
|
453
|
+
}
|
|
313
454
|
interface GoogleCloudDiscoveryengineV1alphaAnswer {
|
|
314
455
|
/** Additional answer-skipped reasons. This provides the reason for ignored cases. If nothing is skipped, this field is not set. */
|
|
315
456
|
answerSkippedReasons?:
|
|
@@ -1114,6 +1255,8 @@ declare namespace gapi.client {
|
|
|
1114
1255
|
name?: string;
|
|
1115
1256
|
/** 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. */
|
|
1116
1257
|
nextSyncTime?: GoogleTypeDateTime;
|
|
1258
|
+
/** 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. */
|
|
1259
|
+
oauthStaticIpAddresses?: string[];
|
|
1117
1260
|
/** Required data connector parameters in structured json format. */
|
|
1118
1261
|
params?: {[P in string]: any};
|
|
1119
1262
|
/** Output only. The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function. */
|
|
@@ -1429,6 +1572,8 @@ declare namespace gapi.client {
|
|
|
1429
1572
|
failureCount?: string;
|
|
1430
1573
|
/** The number of end users under the user store that were successfully deleted. */
|
|
1431
1574
|
successCount?: string;
|
|
1575
|
+
/** Operation last update time. If the operation is done, this is also the finish time. */
|
|
1576
|
+
updateTime?: string;
|
|
1432
1577
|
}
|
|
1433
1578
|
interface GoogleCloudDiscoveryengineV1alphaDestinationConfig {
|
|
1434
1579
|
/** Optional. The destinations for the corresponding key. */
|
|
@@ -2420,6 +2565,12 @@ declare namespace gapi.client {
|
|
|
2420
2565
|
/** 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. */
|
|
2421
2566
|
filterGroups?: string[];
|
|
2422
2567
|
}
|
|
2568
|
+
interface GoogleCloudDiscoveryengineV1alphaResumeExperimentMetadata {
|
|
2569
|
+
/** Output only. The time the operation was created. */
|
|
2570
|
+
createTime?: string;
|
|
2571
|
+
/** Output only. The time the operation was last updated. */
|
|
2572
|
+
updateTime?: string;
|
|
2573
|
+
}
|
|
2423
2574
|
interface GoogleCloudDiscoveryengineV1alphaSafetyRating {
|
|
2424
2575
|
/** Output only. Indicates whether the content was filtered out because of this rating. */
|
|
2425
2576
|
blocked?: boolean;
|
|
@@ -2898,6 +3049,16 @@ declare namespace gapi.client {
|
|
|
2898
3049
|
/** Latest site verification time. */
|
|
2899
3050
|
verifyTime?: string;
|
|
2900
3051
|
}
|
|
3052
|
+
interface GoogleCloudDiscoveryengineV1alphaStartExperimentMetadata {
|
|
3053
|
+
/** Output only. The time the operation was created. */
|
|
3054
|
+
createTime?: string;
|
|
3055
|
+
/** Output only. The time the operation was last updated. */
|
|
3056
|
+
updateTime?: string;
|
|
3057
|
+
}
|
|
3058
|
+
interface GoogleCloudDiscoveryengineV1alphaStartExperimentRequest {
|
|
3059
|
+
/** Required. Experiment to start. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}` */
|
|
3060
|
+
name?: string;
|
|
3061
|
+
}
|
|
2901
3062
|
interface GoogleCloudDiscoveryengineV1alphaTargetSite {
|
|
2902
3063
|
/** 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. */
|
|
2903
3064
|
exactMatch?: boolean;
|
|
@@ -7590,6 +7751,8 @@ declare namespace gapi.client {
|
|
|
7590
7751
|
name?: string;
|
|
7591
7752
|
/** 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. */
|
|
7592
7753
|
nextSyncTime?: GoogleTypeDateTime;
|
|
7754
|
+
/** 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. */
|
|
7755
|
+
oauthStaticIpAddresses?: string[];
|
|
7593
7756
|
/** Required data connector parameters in structured json format. */
|
|
7594
7757
|
params?: {[P in string]: any};
|
|
7595
7758
|
/** Output only. The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function. */
|