@maxim_mazurok/gapi.client.discoveryengine-v1alpha 0.3.20260620 → 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.
Files changed (2) hide show
  1. package/index.d.ts +891 -110
  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: 20260620
12
+ // Revision: 20260705
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -260,6 +260,14 @@ declare namespace gapi.client {
260
260
  /** Info about the stored refresh token used to create the access token. */
261
261
  refreshTokenInfo?: GoogleCloudDiscoveryengineV1alphaRefreshTokenInfo;
262
262
  }
263
+ interface GoogleCloudDiscoveryengineV1alphaAcquireProgramsRequest {
264
+ /** Optional. Number of evolved programs to acquire. If not set, the default value is 1. */
265
+ desiredProgramsCount?: number;
266
+ }
267
+ interface GoogleCloudDiscoveryengineV1alphaAcquireProgramsResponse {
268
+ /** Output only. List of acquired program candidates to be evaluated. Note: The number of programs acquired might be lower than requested. */
269
+ programs?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram[];
270
+ }
263
271
  interface GoogleCloudDiscoveryengineV1alphaActionConfig {
264
272
  /** Optional. Action parameters in structured json format. */
265
273
  actionParams?: {[P in string]: any};
@@ -541,6 +549,155 @@ declare namespace gapi.client {
541
549
  /** Required. The AlloyDB table to copy the data from with a length limit of 256 characters. */
542
550
  tableId?: string;
543
551
  }
552
+ interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsights {
553
+ /** Optional. List of evaluation insights. */
554
+ insights?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsightsAlphaEvolveEvaluationInsight[];
555
+ }
556
+ interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsightsAlphaEvolveEvaluationInsight {
557
+ /** Optional. Label of the insight. */
558
+ label?: string;
559
+ /** Optional. Text of the insight. */
560
+ text?: string;
561
+ }
562
+ interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScores {
563
+ /** Required. List of evaluation scores. */
564
+ scores?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScoresAlphaEvolveEvaluationScore[];
565
+ }
566
+ interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScoresAlphaEvolveEvaluationScore {
567
+ /** Required. Name of the metric. */
568
+ metric?: string;
569
+ /** Required. Score of a program for this metric. */
570
+ score?: number;
571
+ }
572
+ interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperiment {
573
+ /** Required. Experiment configuration. */
574
+ config?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfig;
575
+ /** Output only. Time when the experiment was created. */
576
+ createTime?: string;
577
+ /** Output only. Specifies the name of the seed program used to start the experiment. */
578
+ initialAlphaEvolveProgram?: string;
579
+ /** Identifier. The full resource name of the experiment. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}` */
580
+ name?: string;
581
+ /** Output only. The state of the experiment. */
582
+ state?:
583
+ | 'STATE_UNSPECIFIED'
584
+ | 'CREATED'
585
+ | 'RUNNING'
586
+ | 'PAUSED'
587
+ | 'COMPLETED'
588
+ | 'FAILED';
589
+ /** Output only. Experiment stats. */
590
+ stats?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentStats;
591
+ }
592
+ interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfig {
593
+ /** Optional. Evolution settings for the experiment. */
594
+ evolutionSettings?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettings;
595
+ /** Optional. Generation settings for the experiment, controlling how new program candidates are generated, including things LLM parameters and user-provided context and prompts. */
596
+ generationSettings?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings;
597
+ /** Required. Description of the problem to be solved by the experiment. */
598
+ problemDescription?: string;
599
+ /** Required. Primary programming language of the code being optimized. */
600
+ programLanguage?: string;
601
+ /** Required. Run settings for the experiment, controlling the overall behavior of the experiment run. */
602
+ runSettings?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigRunSettings;
603
+ /** Required. Title of the experiment. */
604
+ title?: string;
605
+ }
606
+ interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettings {
607
+ /** Optional. Parent sampling configuration. */
608
+ parentSamplingConfig?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfig;
609
+ }
610
+ interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfig {
611
+ /** Optional. Pareto sampling configuration. */
612
+ paretoSamplingConfig?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfigParetoSamplingConfig;
613
+ }
614
+ interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigEvolutionSettingsParentSamplingConfigParetoSamplingConfig {
615
+ /** 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. */
616
+ paretoSamplingProbability?: number;
617
+ }
618
+ interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings {
619
+ /** Optional. Additional user-provided context to be used during generation. */
620
+ context?: string;
621
+ /** 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. */
622
+ includeFullProgramInPrompt?: boolean;
623
+ /** Optional. Per-model configuration. See `ModelConfig` for details. If left unset, the server selects a default model. */
624
+ models?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig[];
625
+ }
626
+ interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig {
627
+ /** Required. Model name (e.g. `gemini-2.5-flash`, `gemini-3.1-pro-preview`). See `model_mixture` for the list of allowed models. */
628
+ name?: string;
629
+ /** 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. */
630
+ weight?: number;
631
+ }
632
+ interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigRunSettings {
633
+ /** Required. Maximum number of programs that can be generated in parallel. Must be positive. */
634
+ concurrency?: number;
635
+ /** Optional. Maximum duration of the experiment. If unset, defaults to 24 hours. */
636
+ maxDuration?: string;
637
+ /** Required. Maximum number of programs to generate during the experiment run. The initial program counts towards this limit. Must be greater than 1. */
638
+ maxPrograms?: number;
639
+ }
640
+ interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentStats {
641
+ /** Output only. Number of candidates generated. */
642
+ candidatesCount?: number;
643
+ /** Output only. Number of candidates evaluated. */
644
+ evaluatedCandidatesCount?: number;
645
+ /** Output only. Number of billed input tokens consumed by the experiment. */
646
+ inputTokenCount?: string;
647
+ /** Output only. Number of billed output tokens consumed by the experiment. */
648
+ outputTokenCount?: string;
649
+ }
650
+ interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram {
651
+ /** Optional. Content of the program. */
652
+ content?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramContent;
653
+ /** Output only. Time when the program was created. */
654
+ createTime?: string;
655
+ /** Optional. Evaluation results for the program. */
656
+ evaluation?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation;
657
+ /** Optional. Lock token for the program. */
658
+ lockToken?: string;
659
+ /** 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}` */
660
+ name?: string;
661
+ /** 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}` */
662
+ parentPrograms?: string[];
663
+ /** Output only. State of the program. */
664
+ state?:
665
+ | 'PROGRAM_STATE_UNSPECIFIED'
666
+ | 'INITIALIZED'
667
+ | 'GENERATING'
668
+ | 'EVALUATING'
669
+ | 'COMPLETED';
670
+ }
671
+ interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramContent {
672
+ /** Optional. Description of the program. */
673
+ description?: string;
674
+ /** Required. A list of source files that make up the overall program. */
675
+ files?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveSourceFile[];
676
+ }
677
+ interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation {
678
+ /** 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. */
679
+ insights?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsights;
680
+ /** Optional. Contains the evaluation scores for the target metrics to optimize. */
681
+ scores?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationScores;
682
+ }
683
+ interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluationSubmission {
684
+ /** Required. Evaluation results for the program candidate. */
685
+ evaluation?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluation;
686
+ /** Required. Lock token for the program obtained in the AcquireAlphaEvolvePrograms call. */
687
+ lockToken?: string;
688
+ /** Required. Unique identifier for the program. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}/alphaEvolvePrograms/{alpha_evolve_program}` */
689
+ program?: string;
690
+ }
691
+ interface GoogleCloudDiscoveryengineV1alphaAlphaEvolveSourceFile {
692
+ /** 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. */
693
+ content?: string;
694
+ /** Optional. Additional description of the file. */
695
+ description?: string;
696
+ /** Required. The relative path of the file, including the filename. e.g., "src/main.py", "utils/helpers.js", "README.md" */
697
+ path?: string;
698
+ /** Optional. The programming language of the file. */
699
+ programLanguage?: string;
700
+ }
544
701
  interface GoogleCloudDiscoveryengineV1alphaAnalyticsConfig {
545
702
  /** Required. The resource name of the analytics customer config. Format: `projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/analytics/config` */
546
703
  name?: string;
@@ -1803,7 +1960,7 @@ declare namespace gapi.client {
1803
1960
  name?: string;
1804
1961
  /** This field is only meaningful for suggestions generated from user events or search history, which may have user ids attached. If the number of unique users that have searched a query is less than this threshold, the query will not be generated as a suggestion. This is field can be helpful for preventing PII queries becoming suggestions, as those queries are usually uniquely searched. If not set, the default value is 3 used in the generation pipeline. */
1805
1962
  numUniqueUsersThreshold?: number;
1806
- /** This field is only meaningful for suggestions generated from user events or search history. If a query shows up less than this threshold, it may indicate that the query is rarely searched and thus will not be generated as a suggestion. This is field can be helpful for preventing PII queries becoming suggestions, as those queries are usually uniquely searched. If not set, the default value is 8 used in the generation pipeline. */
1963
+ /** This field is only meaningful for suggestions generated from user events or search history. If a query shows up less than this threshold, it may indicate that the query is rarely searched and thus will not be generated as a suggestion. This is field can be helpful for preventing PII queries becoming suggestions, as those queries are usually uniquely searched. If not set, the default value is 3 used in the generation pipeline. */
1807
1964
  queryFrequencyThreshold?: number;
1808
1965
  /** The data model of query suggestions for serving. Currently supported values: * `automatic` - autocomplete backend automatic selects or mixes suggestions from different models. * `document` - Using suggestions generated from user-imported documents. * `search-history` - Using suggestions generated from the past history of SearchService.Search API calls. Do not use it when there is no traffic for Search API. * `user-event` - Using suggestions generated from user-imported search events. * `document-completable` - Using suggestions taken directly from user-imported document fields marked as completable. If query model is empty, the serving applies the "automatic" model by default. */
1809
1966
  queryModel?: string;
@@ -2255,6 +2412,8 @@ declare namespace gapi.client {
2255
2412
  name?: string;
2256
2413
  /** 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. */
2257
2414
  nextSyncTime?: GoogleTypeDateTime;
2415
+ /** 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. */
2416
+ oauthStaticIpAddresses?: string[];
2258
2417
  /** Required data connector parameters in structured json format. */
2259
2418
  params?: {[P in string]: any};
2260
2419
  /** Output only. The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function. */
@@ -2570,6 +2729,8 @@ declare namespace gapi.client {
2570
2729
  failureCount?: string;
2571
2730
  /** The number of end users under the user store that were successfully deleted. */
2572
2731
  successCount?: string;
2732
+ /** Operation last update time. If the operation is done, this is also the finish time. */
2733
+ updateTime?: string;
2573
2734
  }
2574
2735
  interface GoogleCloudDiscoveryengineV1alphaDestinationConfig {
2575
2736
  /** Optional. The destinations for the corresponding key. */
@@ -2767,7 +2928,7 @@ declare namespace gapi.client {
2767
2928
  agentGatewaySetting?: GoogleCloudDiscoveryengineV1alphaAgentGatewaySetting;
2768
2929
  /** 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. */
2769
2930
  appType?: 'APP_TYPE_UNSPECIFIED' | 'APP_TYPE_INTRANET';
2770
- /** Optional. The Agent registry containing the agents, MCP servers and tools associated with this engine. Field is required if the engine has an Agent Gateway setting. */
2931
+ /** Output only. The Agent registry containing the agents, MCP servers and tools associated with this engine. Derived server-side from the linked Agent Gateway's registry. */
2771
2932
  associatedAgentRegistry?: string;
2772
2933
  /** Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
2773
2934
  chatEngineConfig?: GoogleCloudDiscoveryengineV1alphaEngineChatEngineConfig;
@@ -2791,7 +2952,7 @@ declare namespace gapi.client {
2791
2952
  disableAnalytics?: boolean;
2792
2953
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
2793
2954
  displayName?: string;
2794
- /** 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` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `deep-research` */
2955
+ /** 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` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `disable-projects` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `deep-research` */
2795
2956
  features?: {
2796
2957
  [P in string]:
2797
2958
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -2937,7 +3098,7 @@ declare namespace gapi.client {
2937
3098
  tuningOperation?: string;
2938
3099
  }
2939
3100
  interface GoogleCloudDiscoveryengineV1alphaEngineSearchEngineConfig {
2940
- /** Optional. The required subscription tier of this engine. They cannot be modified after engine creation. If the required subscription tier is search, user with higher license tier like assist can still access the standalone app associated with this engine. */
3101
+ /** Optional. The required subscription tier of this engine. If the required subscription tier is search, user with higher license tier like assist can still access the standalone app associated with this engine. Web grounding feature is only available on the app if it is set as SubscriptionTier.SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT. */
2941
3102
  requiredSubscriptionTier?:
2942
3103
  | 'SUBSCRIPTION_TIER_UNSPECIFIED'
2943
3104
  | 'SUBSCRIPTION_TIER_SEARCH'
@@ -3037,6 +3198,11 @@ declare namespace gapi.client {
3037
3198
  outputConfig?: GoogleCloudDiscoveryengineV1alphaOutputConfig;
3038
3199
  }
3039
3200
  interface GoogleCloudDiscoveryengineV1alphaExportMetricsResponse {}
3201
+ interface GoogleCloudDiscoveryengineV1alphaExportUserLicensesRequest {}
3202
+ interface GoogleCloudDiscoveryengineV1alphaExportUserLicensesResponse {
3203
+ /** The full CSV document as raw bytes: the header row followed by one row per UserLicense. Contains user license data (e.g. user emails). An export with no matching licenses contains only the header row. */
3204
+ csvData?: string;
3205
+ }
3040
3206
  interface GoogleCloudDiscoveryengineV1alphaExternalIdentity {
3041
3207
  /** The display name of the user or group. */
3042
3208
  displayName?: string;
@@ -3677,6 +3843,18 @@ declare namespace gapi.client {
3677
3843
  /** A token that can be sent as ListAgentsRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
3678
3844
  nextPageToken?: string;
3679
3845
  }
3846
+ interface GoogleCloudDiscoveryengineV1alphaListAlphaEvolveExperimentsResponse {
3847
+ /** Output only. List of experiments. */
3848
+ alphaEvolveExperiments?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperiment[];
3849
+ /** Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
3850
+ nextPageToken?: string;
3851
+ }
3852
+ interface GoogleCloudDiscoveryengineV1alphaListAlphaEvolveProgramsResponse {
3853
+ /** Output only. List of programs matching the criteria provided in the request. */
3854
+ alphaEvolvePrograms?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram[];
3855
+ /** Output only. A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
3856
+ nextPageToken?: string;
3857
+ }
3680
3858
  interface GoogleCloudDiscoveryengineV1alphaListAssistantsResponse {
3681
3859
  /** All the customer's Assistants. */
3682
3860
  assistants?: GoogleCloudDiscoveryengineV1alphaAssistant[];
@@ -4514,6 +4692,13 @@ declare namespace gapi.client {
4514
4692
  variableId?: string;
4515
4693
  }
4516
4694
  interface GoogleCloudDiscoveryengineV1alphaResumeEngineRequest {}
4695
+ interface GoogleCloudDiscoveryengineV1alphaResumeExperimentMetadata {
4696
+ /** Output only. The time the operation was created. */
4697
+ createTime?: string;
4698
+ /** Output only. The time the operation was last updated. */
4699
+ updateTime?: string;
4700
+ }
4701
+ interface GoogleCloudDiscoveryengineV1alphaResumeExperimentRequest {}
4517
4702
  interface GoogleCloudDiscoveryengineV1alphaRetractLicenseConfigRequest {
4518
4703
  /** Optional. If set to true, retract the entire license config. Otherwise, retract the specified license count. */
4519
4704
  fullRetract?: boolean;
@@ -5459,6 +5644,16 @@ declare namespace gapi.client {
5459
5644
  /** Timestamp to indicate the point in time from which data should be synced for Streaming/Batch Data Connectors. This field is only utilized for Healthcare Connectors. */
5460
5645
  syncSinceTimestamp?: string;
5461
5646
  }
5647
+ interface GoogleCloudDiscoveryengineV1alphaStartExperimentMetadata {
5648
+ /** Output only. The time the operation was created. */
5649
+ createTime?: string;
5650
+ /** Output only. The time the operation was last updated. */
5651
+ updateTime?: string;
5652
+ }
5653
+ interface GoogleCloudDiscoveryengineV1alphaStartExperimentRequest {
5654
+ /** Required. Experiment to start. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}` */
5655
+ name?: string;
5656
+ }
5462
5657
  interface GoogleCloudDiscoveryengineV1alphaStreamAssistRequest {
5463
5658
  /** Optional. Specification of actions for the request. */
5464
5659
  actionSpec?: GoogleCloudDiscoveryengineV1alphaStreamAssistRequestActionSpec;
@@ -5530,6 +5725,11 @@ declare namespace gapi.client {
5530
5725
  /** Name of the newly generated or continued session. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}`. */
5531
5726
  session?: string;
5532
5727
  }
5728
+ interface GoogleCloudDiscoveryengineV1alphaSubmitProgramsEvaluationsRequest {
5729
+ /** Required. List of program evaluations to submit. At this time, only one evaluation submission is supported. */
5730
+ evaluationSubmissions?: GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgramEvaluationSubmission[];
5731
+ }
5732
+ interface GoogleCloudDiscoveryengineV1alphaSubmitProgramsEvaluationsResponse {}
5533
5733
  interface GoogleCloudDiscoveryengineV1alphaSuggestionDenyListEntry {
5534
5734
  /** Required. Phrase to block from suggestions served. Can be maximum 125 characters. */
5535
5735
  blockPhrase?: string;
@@ -5984,7 +6184,8 @@ declare namespace gapi.client {
5984
6184
  | 'GOOGLE_CHAT'
5985
6185
  | 'GOOGLE_GROUPS'
5986
6186
  | 'GOOGLE_KEEP'
5987
- | 'GOOGLE_PEOPLE';
6187
+ | 'GOOGLE_PEOPLE'
6188
+ | 'GOOGLE_WORKSPACE';
5988
6189
  }
5989
6190
  interface GoogleCloudDiscoveryengineV1alphaWidgetConfigDataStoreUiConfig {
5990
6191
  /** Facet fields that store the mapping of fields to end user widget appearance. */
@@ -6070,7 +6271,7 @@ declare namespace gapi.client {
6070
6271
  enableSearchAsYouType?: boolean;
6071
6272
  /** If set to true, the widget will enable visual content summary on applicable search requests. Only used by healthcare search. */
6072
6273
  enableVisualContentSummary?: boolean;
6073
- /** Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `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` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `deep-research` */
6274
+ /** Output only. Feature config for the engine to opt in or opt out of features. Supported keys: * `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` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `disable-projects` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `deep-research` */
6074
6275
  features?: {
6075
6276
  [P in string]:
6076
6277
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -6079,6 +6280,8 @@ declare namespace gapi.client {
6079
6280
  };
6080
6281
  /** Describes generative answer configuration. */
6081
6282
  generativeAnswerConfig?: GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsGenerativeAnswerConfig;
6283
+ /** Output only. Whether the Google Drive file picker is available to end-users. Declared `optional` for the same field-presence reason as `onedrive_picker_enabled` above. */
6284
+ googleDrivePickerEnabled?: boolean;
6082
6285
  /** Describes widget (or web app) interaction type */
6083
6286
  interactionType?:
6084
6287
  | 'INTERACTION_TYPE_UNSPECIFIED'
@@ -6092,6 +6295,8 @@ declare namespace gapi.client {
6092
6295
  [P in string]:
6093
6296
  'MODEL_STATE_UNSPECIFIED' | 'MODEL_ENABLED' | 'MODEL_DISABLED';
6094
6297
  };
6298
+ /** Output only. Whether the OneDrive file picker is available to end-users. Computed by the backend from admin connector enablement (Business edition) or attached OneDrive connectors (Enterprise edition), combined with the existing `disable-onedrive-upload` admin feature. Declared `optional` so an explicitly-computed `false` is serialized with field presence. A plain proto3 `bool` drops a default `false` on the wire, which prevented clients from distinguishing "picker disabled" (`false`) from "field not populated" (unset). */
6299
+ onedrivePickerEnabled?: boolean;
6095
6300
  /** Controls whether result extract is display and how (snippet or extractive answer). Default to no result if unspecified. */
6096
6301
  resultDescriptionType?:
6097
6302
  'RESULT_DISPLAY_TYPE_UNSPECIFIED' | 'SNIPPET' | 'EXTRACTIVE_ANSWER';
@@ -6131,6 +6336,8 @@ declare namespace gapi.client {
6131
6336
  resolvedModels?: GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfoResolvedModel[];
6132
6337
  }
6133
6338
  interface GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfoResolvedModel {
6339
+ /** Output only. Admin-surface metadata; populated only for the Console admin Feature Control page (see `AdminView`). Unset for end-user surfaces. */
6340
+ adminView?: GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfoResolvedModelAdminView;
6134
6341
  /** Output only. Localized description text (e.g. `State-of-the-art reasoning`). Localized using the same locale as `display_name`. */
6135
6342
  description?: string;
6136
6343
  /** 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. */
@@ -6142,6 +6349,14 @@ declare namespace gapi.client {
6142
6349
  /** 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. */
6143
6350
  modelId?: string;
6144
6351
  }
6352
+ interface GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsModelConfigInfoResolvedModelAdminView {
6353
+ /** 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`. */
6354
+ adminOverridable?: boolean;
6355
+ /** 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`. */
6356
+ enabledByDefault?: boolean;
6357
+ /** Output only. Regions where this model is launched. */
6358
+ regions?: string[];
6359
+ }
6145
6360
  interface GoogleCloudDiscoveryengineV1alphaWidgetConfigUiSettingsSearchAddonSpec {
6146
6361
  /** Optional. If true, generative answer add-on is disabled. Generative answer add-on includes natural language to filters and simple answers. */
6147
6362
  generativeAnswerAddOnDisabled?: boolean;
@@ -6167,7 +6382,8 @@ declare namespace gapi.client {
6167
6382
  | 'GOOGLE_CHAT'
6168
6383
  | 'GOOGLE_GROUPS'
6169
6384
  | 'GOOGLE_KEEP'
6170
- | 'GOOGLE_PEOPLE';
6385
+ | 'GOOGLE_PEOPLE'
6386
+ | 'GOOGLE_WORKSPACE';
6171
6387
  }
6172
6388
  interface GoogleCloudDiscoveryengineV1alphaWorkspaceSettings {
6173
6389
  /** Whether the calling user's customer domain matches the workspace data stores under this engine. */
@@ -6787,7 +7003,7 @@ declare namespace gapi.client {
6787
7003
  agentGatewaySetting?: GoogleCloudDiscoveryengineV1betaAgentGatewaySetting;
6788
7004
  /** 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. */
6789
7005
  appType?: 'APP_TYPE_UNSPECIFIED' | 'APP_TYPE_INTRANET';
6790
- /** Optional. The Agent registry containing the agents, MCP servers and tools associated with this engine. Field is required if the engine has an Agent Gateway setting. */
7006
+ /** Output only. The Agent registry containing the agents, MCP servers and tools associated with this engine. Derived server-side from the linked Agent Gateway's registry. */
6791
7007
  associatedAgentRegistry?: string;
6792
7008
  /** Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
6793
7009
  chatEngineConfig?: GoogleCloudDiscoveryengineV1betaEngineChatEngineConfig;
@@ -6811,7 +7027,7 @@ declare namespace gapi.client {
6811
7027
  disableAnalytics?: boolean;
6812
7028
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
6813
7029
  displayName?: string;
6814
- /** 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` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `deep-research` */
7030
+ /** 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` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `disable-projects` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `deep-research` */
6815
7031
  features?: {
6816
7032
  [P in string]:
6817
7033
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -6940,7 +7156,7 @@ declare namespace gapi.client {
6940
7156
  contextEventType?: string;
6941
7157
  }
6942
7158
  interface GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig {
6943
- /** Optional. The required subscription tier of this engine. They cannot be modified after engine creation. If the required subscription tier is search, user with higher license tier like assist can still access the standalone app associated with this engine. */
7159
+ /** Optional. The required subscription tier of this engine. If the required subscription tier is search, user with higher license tier like assist can still access the standalone app associated with this engine. Web grounding feature is only available on the app if it is set as SubscriptionTier.SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT. */
6944
7160
  requiredSubscriptionTier?:
6945
7161
  | 'SUBSCRIPTION_TIER_UNSPECIFIED'
6946
7162
  | 'SUBSCRIPTION_TIER_SEARCH'
@@ -7916,7 +8132,8 @@ declare namespace gapi.client {
7916
8132
  | 'GOOGLE_CHAT'
7917
8133
  | 'GOOGLE_GROUPS'
7918
8134
  | 'GOOGLE_KEEP'
7919
- | 'GOOGLE_PEOPLE';
8135
+ | 'GOOGLE_PEOPLE'
8136
+ | 'GOOGLE_WORKSPACE';
7920
8137
  }
7921
8138
  interface GoogleCloudDiscoveryengineV1CliConfig {
7922
8139
  /** Optional. The actions enabled on the associated CLI connection. */
@@ -8192,6 +8409,8 @@ declare namespace gapi.client {
8192
8409
  name?: string;
8193
8410
  /** 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. */
8194
8411
  nextSyncTime?: GoogleTypeDateTime;
8412
+ /** 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. */
8413
+ oauthStaticIpAddresses?: string[];
8195
8414
  /** Required data connector parameters in structured json format. */
8196
8415
  params?: {[P in string]: any};
8197
8416
  /** Output only. The tenant project ID associated with private connectivity connectors. This project must be allowlisted by in order for the connector to function. */
@@ -8566,7 +8785,7 @@ declare namespace gapi.client {
8566
8785
  agentGatewaySetting?: GoogleCloudDiscoveryengineV1AgentGatewaySetting;
8567
8786
  /** 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. */
8568
8787
  appType?: 'APP_TYPE_UNSPECIFIED' | 'APP_TYPE_INTRANET';
8569
- /** Optional. The Agent registry containing the agents, MCP servers and tools associated with this engine. Field is required if the engine has an Agent Gateway setting. */
8788
+ /** Output only. The Agent registry containing the agents, MCP servers and tools associated with this engine. Derived server-side from the linked Agent Gateway's registry. */
8570
8789
  associatedAgentRegistry?: string;
8571
8790
  /** Configurations for the Chat Engine. Only applicable if solution_type is SOLUTION_TYPE_CHAT. */
8572
8791
  chatEngineConfig?: GoogleCloudDiscoveryengineV1EngineChatEngineConfig;
@@ -8590,7 +8809,7 @@ declare namespace gapi.client {
8590
8809
  disableAnalytics?: boolean;
8591
8810
  /** Required. The display name of the engine. Should be human readable. UTF-8 encoded string with limit of 1024 characters. */
8592
8811
  displayName?: string;
8593
- /** 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` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `deep-research` */
8812
+ /** 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` * `personalization-suggested-highlights` * `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-canvas` * `canvas-workspace` * `disable-skills` * `disable-projects` * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `multi-agent-orchestration` * `cross-product-intelligence` * `deep-research` */
8594
8813
  features?: {
8595
8814
  [P in string]:
8596
8815
  | 'FEATURE_STATE_UNSPECIFIED'
@@ -8719,7 +8938,7 @@ declare namespace gapi.client {
8719
8938
  contextEventType?: string;
8720
8939
  }
8721
8940
  interface GoogleCloudDiscoveryengineV1EngineSearchEngineConfig {
8722
- /** Optional. The required subscription tier of this engine. They cannot be modified after engine creation. If the required subscription tier is search, user with higher license tier like assist can still access the standalone app associated with this engine. */
8941
+ /** Optional. The required subscription tier of this engine. If the required subscription tier is search, user with higher license tier like assist can still access the standalone app associated with this engine. Web grounding feature is only available on the app if it is set as SubscriptionTier.SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT. */
8723
8942
  requiredSubscriptionTier?:
8724
8943
  | 'SUBSCRIPTION_TIER_UNSPECIFIED'
8725
8944
  | 'SUBSCRIPTION_TIER_SEARCH'
@@ -9369,7 +9588,8 @@ declare namespace gapi.client {
9369
9588
  | 'GOOGLE_CHAT'
9370
9589
  | 'GOOGLE_GROUPS'
9371
9590
  | 'GOOGLE_KEEP'
9372
- | 'GOOGLE_PEOPLE';
9591
+ | 'GOOGLE_PEOPLE'
9592
+ | 'GOOGLE_WORKSPACE';
9373
9593
  }
9374
9594
  interface GoogleCloudNotebooklmV1alphaAccountAndRole {
9375
9595
  /** Required. The email address associated with the account. */
@@ -17297,9 +17517,9 @@ declare namespace gapi.client {
17297
17517
  body: GoogleCloudDiscoveryengineV1alphaAnswerQueryRequest,
17298
17518
  ): Request<GoogleCloudDiscoveryengineV1alphaAnswerQueryResponse>;
17299
17519
  }
17300
- interface OperationsResource {
17301
- /** 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. */
17302
- get(request?: {
17520
+ interface AlphaEvolveProgramsResource {
17521
+ /** Creates a new AlphaEvolveProgram. */
17522
+ create(request: {
17303
17523
  /** V1 error format. */
17304
17524
  '$.xgafv'?: '1' | '2';
17305
17525
  /** OAuth access token. */
@@ -17312,10 +17532,10 @@ declare namespace gapi.client {
17312
17532
  fields?: string;
17313
17533
  /** 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. */
17314
17534
  key?: string;
17315
- /** The name of the operation resource. */
17316
- name: string;
17317
17535
  /** OAuth 2.0 token for the current user. */
17318
17536
  oauth_token?: string;
17537
+ /** Required. The parent resource name (AlphaEvolveExperiment) of the AlphaEvolveProgram. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}` */
17538
+ parent: string;
17319
17539
  /** Returns response with indentations and line breaks. */
17320
17540
  prettyPrint?: boolean;
17321
17541
  /** 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. */
@@ -17324,13 +17544,39 @@ declare namespace gapi.client {
17324
17544
  upload_protocol?: string;
17325
17545
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17326
17546
  uploadType?: string;
17327
- }): Request<GoogleLongrunningOperation>;
17328
- }
17329
- interface AlphaEvolveExperimentsResource {
17330
- operations: OperationsResource;
17331
- }
17332
- interface AnswersResource {
17333
- /** Gets a Answer. */
17547
+ /** Request body */
17548
+ resource: GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram;
17549
+ }): Request<GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram>;
17550
+ create(
17551
+ request: {
17552
+ /** V1 error format. */
17553
+ '$.xgafv'?: '1' | '2';
17554
+ /** OAuth access token. */
17555
+ access_token?: string;
17556
+ /** Data format for response. */
17557
+ alt?: 'json' | 'media' | 'proto';
17558
+ /** JSONP */
17559
+ callback?: string;
17560
+ /** Selector specifying which fields to include in a partial response. */
17561
+ fields?: string;
17562
+ /** 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. */
17563
+ key?: string;
17564
+ /** OAuth 2.0 token for the current user. */
17565
+ oauth_token?: string;
17566
+ /** Required. The parent resource name (AlphaEvolveExperiment) of the AlphaEvolveProgram. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}` */
17567
+ parent: string;
17568
+ /** Returns response with indentations and line breaks. */
17569
+ prettyPrint?: boolean;
17570
+ /** 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. */
17571
+ quotaUser?: string;
17572
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
17573
+ upload_protocol?: string;
17574
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17575
+ uploadType?: string;
17576
+ },
17577
+ body: GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram,
17578
+ ): Request<GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram>;
17579
+ /** Gets an existing AlphaEvolveProgram. */
17334
17580
  get(request?: {
17335
17581
  /** V1 error format. */
17336
17582
  '$.xgafv'?: '1' | '2';
@@ -17344,7 +17590,7 @@ declare namespace gapi.client {
17344
17590
  fields?: string;
17345
17591
  /** 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. */
17346
17592
  key?: string;
17347
- /** Required. The resource name of the Answer to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}` */
17593
+ /** Required. The full resource name of the program. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}/alphaEvolvePrograms/{alpha_evolve_program}` */
17348
17594
  name: string;
17349
17595
  /** OAuth 2.0 token for the current user. */
17350
17596
  oauth_token?: string;
@@ -17356,10 +17602,8 @@ declare namespace gapi.client {
17356
17602
  upload_protocol?: string;
17357
17603
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17358
17604
  uploadType?: string;
17359
- }): Request<GoogleCloudDiscoveryengineV1alphaAnswer>;
17360
- }
17361
- interface FilesResource {
17362
- /** Lists metadata for all files in the current session. */
17605
+ }): Request<GoogleCloudDiscoveryengineV1alphaAlphaEvolveProgram>;
17606
+ /** List all AlphaEvolvePrograms in a given experiment that follow the criteria provided in the request. */
17363
17607
  list(request?: {
17364
17608
  /** V1 error format. */
17365
17609
  '$.xgafv'?: '1' | '2';
@@ -17371,29 +17615,34 @@ declare namespace gapi.client {
17371
17615
  callback?: string;
17372
17616
  /** Selector specifying which fields to include in a partial response. */
17373
17617
  fields?: string;
17374
- /** Optional. The filter syntax consists of an expression language for constructing a predicate from one or more fields of the files being filtered. Filter expression is case-sensitive. Currently supported field names are: * upload_time * last_add_time * last_use_time * file_name * mime_type Some examples of filters would be: * "file_name = 'file_1'" * "file_name = 'file_1' AND mime_type = 'text/plain'" * "last_use_time > '2025-06-14T12:00:00Z'" For a full description of the filter format, please see https://google.aip.dev/160. */
17375
- filter?: string;
17376
17618
  /** 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. */
17377
17619
  key?: string;
17378
17620
  /** OAuth 2.0 token for the current user. */
17379
17621
  oauth_token?: string;
17380
- /** Optional. Specifies the order in which files are returned. The value is a comma-separated string of fields to sort by. For ascending order - just the field name is used. For descending order - the field name is suffixed with ` desc`. Sorting is stable and applied sequentially according to the order of fields provided in the string. Supported fields for ordering: * `upload_time`: The time the file was uploaded. * `file_name`: The name of the file. * `mime_type`: The MIME type of the file. * `session_name`: The name of the session the file belongs to. Default Behavior: If the `order_by` field is not specified, files will be returned sorted by creation time in descending order. Examples: 1. Sort by file name in ascending order: `file_name` 2. Sort by upload time in descending order: `upload_time desc` 3. Sort by file name (ascending), then by content type (MIME type) (descending), and finally by upload time (ascending): `file_name, mime_type desc, upload_time` */
17622
+ /** Optional. Sorting criterion for the programs. Comma separated list of metrics to sort by and optionally sort order, e.g. "score1 desc, score2". The criteria are applied in the order listed in the field. An implicit criterion of sorting by create_time descending is always applied as the final tie-breaker after all other specified criteria. */
17381
17623
  orderBy?: string;
17382
- /** Optional. The maximum number of files to return. The service may return fewer than this value. If unspecified, at most 100 files will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. If user specifies a value less than or equal to 0 - the request will be rejected with an INVALID_ARGUMENT error. */
17624
+ /** Optional. The maximum number of programs to return. The service may return fewer than this value. */
17383
17625
  pageSize?: number;
17384
- /** Optional. A page token received from a previous `ListFiles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListFiles` must match the call that provided the page token (except `page_size`, which may differ). */
17626
+ /** Optional. A page token, received from a previous `ListAlphaEvolvePrograms` call. Provide this to retrieve the subsequent page. */
17385
17627
  pageToken?: string;
17386
- /** Required. The resource name of the Session. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` Name of the session resource to which the file belong. */
17628
+ /** Required. The parent resource name (AlphaEvolveExperiment) of the experiment. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}` */
17387
17629
  parent: string;
17388
17630
  /** Returns response with indentations and line breaks. */
17389
17631
  prettyPrint?: boolean;
17390
17632
  /** 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. */
17391
17633
  quotaUser?: string;
17634
+ /** Optional. Filter to apply to the programs. Examples: "state_filter = \'COMPLETED\'" "state_filter = \'INITIALIZED\' OR "state_filter = \'EVALUATING\'" If empty, the behavior defaults to listing programs in REGISTRATION_COMPLETE state or processing state is NULL. */
17635
+ stateFilter?:
17636
+ | 'PROGRAM_STATE_UNSPECIFIED'
17637
+ | 'INITIALIZED'
17638
+ | 'GENERATING'
17639
+ | 'EVALUATING'
17640
+ | 'COMPLETED';
17392
17641
  /** Upload protocol for media (e.g. "raw", "multipart"). */
17393
17642
  upload_protocol?: string;
17394
17643
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17395
17644
  uploadType?: string;
17396
- }): Request<GoogleCloudDiscoveryengineV1alphaListFilesResponse>;
17645
+ }): Request<GoogleCloudDiscoveryengineV1alphaListAlphaEvolveProgramsResponse>;
17397
17646
  }
17398
17647
  interface OperationsResource {
17399
17648
  /** 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. */
@@ -17424,8 +17673,66 @@ declare namespace gapi.client {
17424
17673
  uploadType?: string;
17425
17674
  }): Request<GoogleLongrunningOperation>;
17426
17675
  }
17427
- interface SessionsResource {
17428
- /** Creates a Session. If the Session to create already exists, an ALREADY_EXISTS error is returned. */
17676
+ interface AlphaEvolveExperimentsResource {
17677
+ /** Acquires one or more AlphaEvolveProgram from the generated queue of programs for evaluation. */
17678
+ acquirePrograms(request: {
17679
+ /** V1 error format. */
17680
+ '$.xgafv'?: '1' | '2';
17681
+ /** OAuth access token. */
17682
+ access_token?: string;
17683
+ /** Data format for response. */
17684
+ alt?: 'json' | 'media' | 'proto';
17685
+ /** JSONP */
17686
+ callback?: string;
17687
+ /** Selector specifying which fields to include in a partial response. */
17688
+ fields?: string;
17689
+ /** 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. */
17690
+ key?: string;
17691
+ /** OAuth 2.0 token for the current user. */
17692
+ oauth_token?: string;
17693
+ /** Required. The parent resource name (AlphaEvolveExperiment) of the AlphaEvolveExperiment. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}` */
17694
+ parent: string;
17695
+ /** Returns response with indentations and line breaks. */
17696
+ prettyPrint?: boolean;
17697
+ /** 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. */
17698
+ quotaUser?: string;
17699
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
17700
+ upload_protocol?: string;
17701
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17702
+ uploadType?: string;
17703
+ /** Request body */
17704
+ resource: GoogleCloudDiscoveryengineV1alphaAcquireProgramsRequest;
17705
+ }): Request<GoogleCloudDiscoveryengineV1alphaAcquireProgramsResponse>;
17706
+ acquirePrograms(
17707
+ request: {
17708
+ /** V1 error format. */
17709
+ '$.xgafv'?: '1' | '2';
17710
+ /** OAuth access token. */
17711
+ access_token?: string;
17712
+ /** Data format for response. */
17713
+ alt?: 'json' | 'media' | 'proto';
17714
+ /** JSONP */
17715
+ callback?: string;
17716
+ /** Selector specifying which fields to include in a partial response. */
17717
+ fields?: string;
17718
+ /** 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. */
17719
+ key?: string;
17720
+ /** OAuth 2.0 token for the current user. */
17721
+ oauth_token?: string;
17722
+ /** Required. The parent resource name (AlphaEvolveExperiment) of the AlphaEvolveExperiment. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}` */
17723
+ parent: string;
17724
+ /** Returns response with indentations and line breaks. */
17725
+ prettyPrint?: boolean;
17726
+ /** 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. */
17727
+ quotaUser?: string;
17728
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
17729
+ upload_protocol?: string;
17730
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17731
+ uploadType?: string;
17732
+ },
17733
+ body: GoogleCloudDiscoveryengineV1alphaAcquireProgramsRequest,
17734
+ ): Request<GoogleCloudDiscoveryengineV1alphaAcquireProgramsResponse>;
17735
+ /** Creates a new AlphaEvolveExperiment. */
17429
17736
  create(request: {
17430
17737
  /** V1 error format. */
17431
17738
  '$.xgafv'?: '1' | '2';
@@ -17441,21 +17748,19 @@ declare namespace gapi.client {
17441
17748
  key?: string;
17442
17749
  /** OAuth 2.0 token for the current user. */
17443
17750
  oauth_token?: string;
17444
- /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
17751
+ /** Required. The parent resource name (Session) of the experiment. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` */
17445
17752
  parent: string;
17446
17753
  /** Returns response with indentations and line breaks. */
17447
17754
  prettyPrint?: boolean;
17448
17755
  /** 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. */
17449
17756
  quotaUser?: string;
17450
- /** Optional. The ID to use for the session, which will become the final component of the session's resource name. This value should be 1-63 characters, and valid characters are /a-z0-9{0,61}[a-z0-9]/. If not specified, a unique ID will be generated. */
17451
- sessionId?: string;
17452
17757
  /** Upload protocol for media (e.g. "raw", "multipart"). */
17453
17758
  upload_protocol?: string;
17454
17759
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17455
17760
  uploadType?: string;
17456
17761
  /** Request body */
17457
- resource: GoogleCloudDiscoveryengineV1alphaSession;
17458
- }): Request<GoogleCloudDiscoveryengineV1alphaSession>;
17762
+ resource: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperiment;
17763
+ }): Request<GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperiment>;
17459
17764
  create(
17460
17765
  request: {
17461
17766
  /** V1 error format. */
@@ -17472,22 +17777,20 @@ declare namespace gapi.client {
17472
17777
  key?: string;
17473
17778
  /** OAuth 2.0 token for the current user. */
17474
17779
  oauth_token?: string;
17475
- /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
17780
+ /** Required. The parent resource name (Session) of the experiment. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` */
17476
17781
  parent: string;
17477
17782
  /** Returns response with indentations and line breaks. */
17478
17783
  prettyPrint?: boolean;
17479
17784
  /** 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. */
17480
17785
  quotaUser?: string;
17481
- /** Optional. The ID to use for the session, which will become the final component of the session's resource name. This value should be 1-63 characters, and valid characters are /a-z0-9{0,61}[a-z0-9]/. If not specified, a unique ID will be generated. */
17482
- sessionId?: string;
17483
17786
  /** Upload protocol for media (e.g. "raw", "multipart"). */
17484
17787
  upload_protocol?: string;
17485
17788
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17486
17789
  uploadType?: string;
17487
17790
  },
17488
- body: GoogleCloudDiscoveryengineV1alphaSession,
17489
- ): Request<GoogleCloudDiscoveryengineV1alphaSession>;
17490
- /** Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned. */
17791
+ body: GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperiment,
17792
+ ): Request<GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperiment>;
17793
+ /** Deletes an experiment provided the experiment is in an end state (e.g. created, failed, succeeded). */
17491
17794
  delete(request?: {
17492
17795
  /** V1 error format. */
17493
17796
  '$.xgafv'?: '1' | '2';
@@ -17501,7 +17804,7 @@ declare namespace gapi.client {
17501
17804
  fields?: string;
17502
17805
  /** 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. */
17503
17806
  key?: string;
17504
- /** Required. The resource name of the Session to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
17807
+ /** Required. The full resource name of the experiment to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}` */
17505
17808
  name: string;
17506
17809
  /** OAuth 2.0 token for the current user. */
17507
17810
  oauth_token?: string;
@@ -17514,7 +17817,7 @@ declare namespace gapi.client {
17514
17817
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17515
17818
  uploadType?: string;
17516
17819
  }): Request<{}>;
17517
- /** Gets a Session. */
17820
+ /** Get an existing Experiment. */
17518
17821
  get(request?: {
17519
17822
  /** V1 error format. */
17520
17823
  '$.xgafv'?: '1' | '2';
@@ -17526,11 +17829,9 @@ declare namespace gapi.client {
17526
17829
  callback?: string;
17527
17830
  /** Selector specifying which fields to include in a partial response. */
17528
17831
  fields?: string;
17529
- /** Optional. If set to true, the full session including all answer details will be returned. */
17530
- includeAnswerDetails?: boolean;
17531
17832
  /** 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. */
17532
17833
  key?: string;
17533
- /** Required. The resource name of the Session to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
17834
+ /** Required. The full resource name of the experiment. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}` */
17534
17835
  name: string;
17535
17836
  /** OAuth 2.0 token for the current user. */
17536
17837
  oauth_token?: string;
@@ -17542,8 +17843,8 @@ declare namespace gapi.client {
17542
17843
  upload_protocol?: string;
17543
17844
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17544
17845
  uploadType?: string;
17545
- }): Request<GoogleCloudDiscoveryengineV1alphaSession>;
17546
- /** Lists all Sessions by their parent DataStore. */
17846
+ }): Request<GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperiment>;
17847
+ /** List all AlphaEvolveExperiments in a given session. */
17547
17848
  list(request?: {
17548
17849
  /** V1 error format. */
17549
17850
  '$.xgafv'?: '1' | '2';
@@ -17555,19 +17856,15 @@ declare namespace gapi.client {
17555
17856
  callback?: string;
17556
17857
  /** Selector specifying which fields to include in a partial response. */
17557
17858
  fields?: string;
17558
- /** A comma-separated list of fields to filter by, in EBNF grammar. The supported fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `is_pinned` * `labels` * `create_time` * `update_time` * `collaborative_project` Examples: * `user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = true` * `is_pinned=true AND (NOT labels:hidden)` * `create_time > "1970-01-01T12:00:00Z"` * `collaborative_project = "projects/123/locations/global/collections/default_collection/engines/" "default_engine/collaborative_projects/cp1"` */
17559
- filter?: string;
17560
17859
  /** 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. */
17561
17860
  key?: string;
17562
17861
  /** OAuth 2.0 token for the current user. */
17563
17862
  oauth_token?: string;
17564
- /** A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` * `is_pinned` * `display_name` Example: * `update_time desc` * `create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned first, then by update_time. */
17565
- orderBy?: string;
17566
- /** Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000. */
17863
+ /** Optional. The maximum number of experiments to return. The service may return fewer than this value. */
17567
17864
  pageSize?: number;
17568
- /** A page token, received from a previous `ListSessions` call. Provide this to retrieve the subsequent page. */
17865
+ /** Optional. A page token, received from a previous `ListAlphaEvolveExperiments` call. Provide this to retrieve the subsequent page. */
17569
17866
  pageToken?: string;
17570
- /** Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
17867
+ /** Required. The parent resource name (Session) of the Session. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` */
17571
17868
  parent: string;
17572
17869
  /** Returns response with indentations and line breaks. */
17573
17870
  prettyPrint?: boolean;
@@ -17577,9 +17874,9 @@ declare namespace gapi.client {
17577
17874
  upload_protocol?: string;
17578
17875
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17579
17876
  uploadType?: string;
17580
- }): Request<GoogleCloudDiscoveryengineV1alphaListSessionsResponse>;
17581
- /** Updates a Session. Session action type cannot be changed. If the Session to update does not exist, a NOT_FOUND error is returned. */
17582
- patch(request: {
17877
+ }): Request<GoogleCloudDiscoveryengineV1alphaListAlphaEvolveExperimentsResponse>;
17878
+ /** Resumes a workflow to process the AlphaEvolveExperiment. */
17879
+ resume(request: {
17583
17880
  /** V1 error format. */
17584
17881
  '$.xgafv'?: '1' | '2';
17585
17882
  /** OAuth access token. */
@@ -17592,7 +17889,7 @@ declare namespace gapi.client {
17592
17889
  fields?: string;
17593
17890
  /** 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. */
17594
17891
  key?: string;
17595
- /** Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*` */
17892
+ /** Required. Experiment to resume. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}` */
17596
17893
  name: string;
17597
17894
  /** OAuth 2.0 token for the current user. */
17598
17895
  oauth_token?: string;
@@ -17600,16 +17897,14 @@ declare namespace gapi.client {
17600
17897
  prettyPrint?: boolean;
17601
17898
  /** 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. */
17602
17899
  quotaUser?: string;
17603
- /** Indicates which fields in the provided Session to update. The following are NOT supported: * Session.name If not set or empty, all supported fields are updated. */
17604
- updateMask?: string;
17605
17900
  /** Upload protocol for media (e.g. "raw", "multipart"). */
17606
17901
  upload_protocol?: string;
17607
17902
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17608
17903
  uploadType?: string;
17609
17904
  /** Request body */
17610
- resource: GoogleCloudDiscoveryengineV1alphaSession;
17611
- }): Request<GoogleCloudDiscoveryengineV1alphaSession>;
17612
- patch(
17905
+ resource: GoogleCloudDiscoveryengineV1alphaResumeExperimentRequest;
17906
+ }): Request<GoogleLongrunningOperation>;
17907
+ resume(
17613
17908
  request: {
17614
17909
  /** V1 error format. */
17615
17910
  '$.xgafv'?: '1' | '2';
@@ -17623,7 +17918,7 @@ declare namespace gapi.client {
17623
17918
  fields?: string;
17624
17919
  /** 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. */
17625
17920
  key?: string;
17626
- /** Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*` */
17921
+ /** Required. Experiment to resume. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}` */
17627
17922
  name: string;
17628
17923
  /** OAuth 2.0 token for the current user. */
17629
17924
  oauth_token?: string;
@@ -17631,27 +17926,17 @@ declare namespace gapi.client {
17631
17926
  prettyPrint?: boolean;
17632
17927
  /** 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. */
17633
17928
  quotaUser?: string;
17634
- /** Indicates which fields in the provided Session to update. The following are NOT supported: * Session.name If not set or empty, all supported fields are updated. */
17635
- updateMask?: string;
17636
17929
  /** Upload protocol for media (e.g. "raw", "multipart"). */
17637
17930
  upload_protocol?: string;
17638
17931
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17639
17932
  uploadType?: string;
17640
17933
  },
17641
- body: GoogleCloudDiscoveryengineV1alphaSession,
17642
- ): Request<GoogleCloudDiscoveryengineV1alphaSession>;
17643
- alphaEvolveExperiments: AlphaEvolveExperimentsResource;
17644
- answers: AnswersResource;
17645
- files: FilesResource;
17646
- operations: OperationsResource;
17647
- }
17648
- interface WidgetConfigsResource {
17649
- /** Gets a WidgetConfig. */
17650
- get(request?: {
17934
+ body: GoogleCloudDiscoveryengineV1alphaResumeExperimentRequest,
17935
+ ): Request<GoogleLongrunningOperation>;
17936
+ /** Starts a workflow to process the AlphaEvolveExperiment. */
17937
+ start(request: {
17651
17938
  /** V1 error format. */
17652
17939
  '$.xgafv'?: '1' | '2';
17653
- /** Optional. Whether it's acceptable to load the widget config from cache. If set to true, recent changes on widget configs may take a few minutes to reflect on the end user's view. It's recommended to set to true for maturely developed widgets, as it improves widget performance. Set to false to see changes reflected in prod right away, if your widget is under development. */
17654
- acceptCache?: boolean;
17655
17940
  /** OAuth access token. */
17656
17941
  access_token?: string;
17657
17942
  /** Data format for response. */
@@ -17660,13 +17945,9 @@ declare namespace gapi.client {
17660
17945
  callback?: string;
17661
17946
  /** Selector specifying which fields to include in a partial response. */
17662
17947
  fields?: string;
17663
- /** Optional. Whether to turn off collection_components in WidgetConfig to reduce latency and data transmission. */
17664
- 'getWidgetConfigRequestOption.turnOffCollectionComponents'?: boolean;
17665
17948
  /** 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. */
17666
17949
  key?: string;
17667
- /** Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable strings in the response, such as the model selector `display_name` / `description` on `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the default language (English). */
17668
- languageCode?: string;
17669
- /** Required. Full WidgetConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}` */
17950
+ /** Required. Experiment to start. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}` */
17670
17951
  name: string;
17671
17952
  /** OAuth 2.0 token for the current user. */
17672
17953
  oauth_token?: string;
@@ -17678,9 +17959,40 @@ declare namespace gapi.client {
17678
17959
  upload_protocol?: string;
17679
17960
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17680
17961
  uploadType?: string;
17681
- }): Request<GoogleCloudDiscoveryengineV1alphaWidgetConfig>;
17682
- /** Update a WidgetConfig. */
17683
- patch(request: {
17962
+ /** Request body */
17963
+ resource: GoogleCloudDiscoveryengineV1alphaStartExperimentRequest;
17964
+ }): Request<GoogleLongrunningOperation>;
17965
+ start(
17966
+ request: {
17967
+ /** V1 error format. */
17968
+ '$.xgafv'?: '1' | '2';
17969
+ /** OAuth access token. */
17970
+ access_token?: string;
17971
+ /** Data format for response. */
17972
+ alt?: 'json' | 'media' | 'proto';
17973
+ /** JSONP */
17974
+ callback?: string;
17975
+ /** Selector specifying which fields to include in a partial response. */
17976
+ fields?: string;
17977
+ /** 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. */
17978
+ key?: string;
17979
+ /** Required. Experiment to start. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}` */
17980
+ name: string;
17981
+ /** OAuth 2.0 token for the current user. */
17982
+ oauth_token?: string;
17983
+ /** Returns response with indentations and line breaks. */
17984
+ prettyPrint?: boolean;
17985
+ /** 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. */
17986
+ quotaUser?: string;
17987
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
17988
+ upload_protocol?: string;
17989
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17990
+ uploadType?: string;
17991
+ },
17992
+ body: GoogleCloudDiscoveryengineV1alphaStartExperimentRequest,
17993
+ ): Request<GoogleLongrunningOperation>;
17994
+ /** Adds an AlphaEvolveProgramEvaluation to the experiment. */
17995
+ submitProgramsEvaluations(request: {
17684
17996
  /** V1 error format. */
17685
17997
  '$.xgafv'?: '1' | '2';
17686
17998
  /** OAuth access token. */
@@ -17693,24 +18005,22 @@ declare namespace gapi.client {
17693
18005
  fields?: string;
17694
18006
  /** 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. */
17695
18007
  key?: string;
17696
- /** 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. */
17697
- name: string;
17698
18008
  /** OAuth 2.0 token for the current user. */
17699
18009
  oauth_token?: string;
18010
+ /** Required. The parent resource name (AlphaEvolveExperiment) of the Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}` */
18011
+ parent: string;
17700
18012
  /** Returns response with indentations and line breaks. */
17701
18013
  prettyPrint?: boolean;
17702
18014
  /** 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. */
17703
18015
  quotaUser?: string;
17704
- /** Indicates which fields in the provided WidgetConfig to update. The following are the only supported fields: * WidgetConfig.enable_autocomplete If not set, all supported fields are updated. */
17705
- updateMask?: string;
17706
18016
  /** Upload protocol for media (e.g. "raw", "multipart"). */
17707
18017
  upload_protocol?: string;
17708
18018
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17709
18019
  uploadType?: string;
17710
18020
  /** Request body */
17711
- resource: GoogleCloudDiscoveryengineV1alphaWidgetConfig;
17712
- }): Request<GoogleCloudDiscoveryengineV1alphaWidgetConfig>;
17713
- patch(
18021
+ resource: GoogleCloudDiscoveryengineV1alphaSubmitProgramsEvaluationsRequest;
18022
+ }): Request<{}>;
18023
+ submitProgramsEvaluations(
17714
18024
  request: {
17715
18025
  /** V1 error format. */
17716
18026
  '$.xgafv'?: '1' | '2';
@@ -17724,16 +18034,429 @@ declare namespace gapi.client {
17724
18034
  fields?: string;
17725
18035
  /** 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. */
17726
18036
  key?: string;
17727
- /** 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. */
17728
- name: string;
17729
18037
  /** OAuth 2.0 token for the current user. */
17730
18038
  oauth_token?: string;
18039
+ /** Required. The parent resource name (AlphaEvolveExperiment) of the Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/alphaEvolveExperiments/{alpha_evolve_experiment}` */
18040
+ parent: string;
17731
18041
  /** Returns response with indentations and line breaks. */
17732
18042
  prettyPrint?: boolean;
17733
18043
  /** 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. */
17734
18044
  quotaUser?: string;
17735
- /** Indicates which fields in the provided WidgetConfig to update. The following are the only supported fields: * WidgetConfig.enable_autocomplete If not set, all supported fields are updated. */
17736
- updateMask?: string;
18045
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18046
+ upload_protocol?: string;
18047
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18048
+ uploadType?: string;
18049
+ },
18050
+ body: GoogleCloudDiscoveryengineV1alphaSubmitProgramsEvaluationsRequest,
18051
+ ): Request<{}>;
18052
+ alphaEvolvePrograms: AlphaEvolveProgramsResource;
18053
+ operations: OperationsResource;
18054
+ }
18055
+ interface AnswersResource {
18056
+ /** Gets a Answer. */
18057
+ get(request?: {
18058
+ /** V1 error format. */
18059
+ '$.xgafv'?: '1' | '2';
18060
+ /** OAuth access token. */
18061
+ access_token?: string;
18062
+ /** Data format for response. */
18063
+ alt?: 'json' | 'media' | 'proto';
18064
+ /** JSONP */
18065
+ callback?: string;
18066
+ /** Selector specifying which fields to include in a partial response. */
18067
+ fields?: string;
18068
+ /** 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. */
18069
+ key?: string;
18070
+ /** Required. The resource name of the Answer to get. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine_id}/sessions/{session_id}/answers/{answer_id}` */
18071
+ name: string;
18072
+ /** OAuth 2.0 token for the current user. */
18073
+ oauth_token?: string;
18074
+ /** Returns response with indentations and line breaks. */
18075
+ prettyPrint?: boolean;
18076
+ /** 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. */
18077
+ quotaUser?: string;
18078
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18079
+ upload_protocol?: string;
18080
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18081
+ uploadType?: string;
18082
+ }): Request<GoogleCloudDiscoveryengineV1alphaAnswer>;
18083
+ }
18084
+ interface FilesResource {
18085
+ /** Lists metadata for all files in the current session. */
18086
+ list(request?: {
18087
+ /** V1 error format. */
18088
+ '$.xgafv'?: '1' | '2';
18089
+ /** OAuth access token. */
18090
+ access_token?: string;
18091
+ /** Data format for response. */
18092
+ alt?: 'json' | 'media' | 'proto';
18093
+ /** JSONP */
18094
+ callback?: string;
18095
+ /** Selector specifying which fields to include in a partial response. */
18096
+ fields?: string;
18097
+ /** Optional. The filter syntax consists of an expression language for constructing a predicate from one or more fields of the files being filtered. Filter expression is case-sensitive. Currently supported field names are: * upload_time * last_add_time * last_use_time * file_name * mime_type Some examples of filters would be: * "file_name = 'file_1'" * "file_name = 'file_1' AND mime_type = 'text/plain'" * "last_use_time > '2025-06-14T12:00:00Z'" For a full description of the filter format, please see https://google.aip.dev/160. */
18098
+ filter?: string;
18099
+ /** 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. */
18100
+ key?: string;
18101
+ /** OAuth 2.0 token for the current user. */
18102
+ oauth_token?: string;
18103
+ /** Optional. Specifies the order in which files are returned. The value is a comma-separated string of fields to sort by. For ascending order - just the field name is used. For descending order - the field name is suffixed with ` desc`. Sorting is stable and applied sequentially according to the order of fields provided in the string. Supported fields for ordering: * `upload_time`: The time the file was uploaded. * `file_name`: The name of the file. * `mime_type`: The MIME type of the file. * `session_name`: The name of the session the file belongs to. Default Behavior: If the `order_by` field is not specified, files will be returned sorted by creation time in descending order. Examples: 1. Sort by file name in ascending order: `file_name` 2. Sort by upload time in descending order: `upload_time desc` 3. Sort by file name (ascending), then by content type (MIME type) (descending), and finally by upload time (ascending): `file_name, mime_type desc, upload_time` */
18104
+ orderBy?: string;
18105
+ /** Optional. The maximum number of files to return. The service may return fewer than this value. If unspecified, at most 100 files will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. If user specifies a value less than or equal to 0 - the request will be rejected with an INVALID_ARGUMENT error. */
18106
+ pageSize?: number;
18107
+ /** Optional. A page token received from a previous `ListFiles` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListFiles` must match the call that provided the page token (except `page_size`, which may differ). */
18108
+ pageToken?: string;
18109
+ /** Required. The resource name of the Session. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}` Name of the session resource to which the file belong. */
18110
+ parent: string;
18111
+ /** Returns response with indentations and line breaks. */
18112
+ prettyPrint?: boolean;
18113
+ /** 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. */
18114
+ quotaUser?: string;
18115
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18116
+ upload_protocol?: string;
18117
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18118
+ uploadType?: string;
18119
+ }): Request<GoogleCloudDiscoveryengineV1alphaListFilesResponse>;
18120
+ }
18121
+ interface OperationsResource {
18122
+ /** 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. */
18123
+ get(request?: {
18124
+ /** V1 error format. */
18125
+ '$.xgafv'?: '1' | '2';
18126
+ /** OAuth access token. */
18127
+ access_token?: string;
18128
+ /** Data format for response. */
18129
+ alt?: 'json' | 'media' | 'proto';
18130
+ /** JSONP */
18131
+ callback?: string;
18132
+ /** Selector specifying which fields to include in a partial response. */
18133
+ fields?: string;
18134
+ /** 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. */
18135
+ key?: string;
18136
+ /** The name of the operation resource. */
18137
+ name: string;
18138
+ /** OAuth 2.0 token for the current user. */
18139
+ oauth_token?: string;
18140
+ /** Returns response with indentations and line breaks. */
18141
+ prettyPrint?: boolean;
18142
+ /** 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. */
18143
+ quotaUser?: string;
18144
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18145
+ upload_protocol?: string;
18146
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18147
+ uploadType?: string;
18148
+ }): Request<GoogleLongrunningOperation>;
18149
+ }
18150
+ interface SessionsResource {
18151
+ /** Creates a Session. If the Session to create already exists, an ALREADY_EXISTS error is returned. */
18152
+ create(request: {
18153
+ /** V1 error format. */
18154
+ '$.xgafv'?: '1' | '2';
18155
+ /** OAuth access token. */
18156
+ access_token?: string;
18157
+ /** Data format for response. */
18158
+ alt?: 'json' | 'media' | 'proto';
18159
+ /** JSONP */
18160
+ callback?: string;
18161
+ /** Selector specifying which fields to include in a partial response. */
18162
+ fields?: string;
18163
+ /** 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. */
18164
+ key?: string;
18165
+ /** OAuth 2.0 token for the current user. */
18166
+ oauth_token?: string;
18167
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
18168
+ parent: string;
18169
+ /** Returns response with indentations and line breaks. */
18170
+ prettyPrint?: boolean;
18171
+ /** 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. */
18172
+ quotaUser?: string;
18173
+ /** Optional. The ID to use for the session, which will become the final component of the session's resource name. This value should be 1-63 characters, and valid characters are /a-z0-9{0,61}[a-z0-9]/. If not specified, a unique ID will be generated. */
18174
+ sessionId?: string;
18175
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18176
+ upload_protocol?: string;
18177
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18178
+ uploadType?: string;
18179
+ /** Request body */
18180
+ resource: GoogleCloudDiscoveryengineV1alphaSession;
18181
+ }): Request<GoogleCloudDiscoveryengineV1alphaSession>;
18182
+ create(
18183
+ request: {
18184
+ /** V1 error format. */
18185
+ '$.xgafv'?: '1' | '2';
18186
+ /** OAuth access token. */
18187
+ access_token?: string;
18188
+ /** Data format for response. */
18189
+ alt?: 'json' | 'media' | 'proto';
18190
+ /** JSONP */
18191
+ callback?: string;
18192
+ /** Selector specifying which fields to include in a partial response. */
18193
+ fields?: string;
18194
+ /** 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. */
18195
+ key?: string;
18196
+ /** OAuth 2.0 token for the current user. */
18197
+ oauth_token?: string;
18198
+ /** Required. Full resource name of parent data store. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
18199
+ parent: string;
18200
+ /** Returns response with indentations and line breaks. */
18201
+ prettyPrint?: boolean;
18202
+ /** 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. */
18203
+ quotaUser?: string;
18204
+ /** Optional. The ID to use for the session, which will become the final component of the session's resource name. This value should be 1-63 characters, and valid characters are /a-z0-9{0,61}[a-z0-9]/. If not specified, a unique ID will be generated. */
18205
+ sessionId?: string;
18206
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18207
+ upload_protocol?: string;
18208
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18209
+ uploadType?: string;
18210
+ },
18211
+ body: GoogleCloudDiscoveryengineV1alphaSession,
18212
+ ): Request<GoogleCloudDiscoveryengineV1alphaSession>;
18213
+ /** Deletes a Session. If the Session to delete does not exist, a NOT_FOUND error is returned. */
18214
+ delete(request?: {
18215
+ /** V1 error format. */
18216
+ '$.xgafv'?: '1' | '2';
18217
+ /** OAuth access token. */
18218
+ access_token?: string;
18219
+ /** Data format for response. */
18220
+ alt?: 'json' | 'media' | 'proto';
18221
+ /** JSONP */
18222
+ callback?: string;
18223
+ /** Selector specifying which fields to include in a partial response. */
18224
+ fields?: string;
18225
+ /** 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. */
18226
+ key?: string;
18227
+ /** Required. The resource name of the Session to delete. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
18228
+ name: string;
18229
+ /** OAuth 2.0 token for the current user. */
18230
+ oauth_token?: string;
18231
+ /** Returns response with indentations and line breaks. */
18232
+ prettyPrint?: boolean;
18233
+ /** 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. */
18234
+ quotaUser?: string;
18235
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18236
+ upload_protocol?: string;
18237
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18238
+ uploadType?: string;
18239
+ }): Request<{}>;
18240
+ /** Gets a Session. */
18241
+ get(request?: {
18242
+ /** V1 error format. */
18243
+ '$.xgafv'?: '1' | '2';
18244
+ /** OAuth access token. */
18245
+ access_token?: string;
18246
+ /** Data format for response. */
18247
+ alt?: 'json' | 'media' | 'proto';
18248
+ /** JSONP */
18249
+ callback?: string;
18250
+ /** Selector specifying which fields to include in a partial response. */
18251
+ fields?: string;
18252
+ /** Optional. If set to true, the full session including all answer details will be returned. */
18253
+ includeAnswerDetails?: boolean;
18254
+ /** 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. */
18255
+ key?: string;
18256
+ /** Required. The resource name of the Session to get. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}/sessions/{session_id}` */
18257
+ name: string;
18258
+ /** OAuth 2.0 token for the current user. */
18259
+ oauth_token?: string;
18260
+ /** Returns response with indentations and line breaks. */
18261
+ prettyPrint?: boolean;
18262
+ /** 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. */
18263
+ quotaUser?: string;
18264
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18265
+ upload_protocol?: string;
18266
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18267
+ uploadType?: string;
18268
+ }): Request<GoogleCloudDiscoveryengineV1alphaSession>;
18269
+ /** Lists all Sessions by their parent DataStore. */
18270
+ list(request?: {
18271
+ /** V1 error format. */
18272
+ '$.xgafv'?: '1' | '2';
18273
+ /** OAuth access token. */
18274
+ access_token?: string;
18275
+ /** Data format for response. */
18276
+ alt?: 'json' | 'media' | 'proto';
18277
+ /** JSONP */
18278
+ callback?: string;
18279
+ /** Selector specifying which fields to include in a partial response. */
18280
+ fields?: string;
18281
+ /** A comma-separated list of fields to filter by, in EBNF grammar. The supported fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `is_pinned` * `labels` * `create_time` * `update_time` * `collaborative_project` Examples: * `user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = true` * `is_pinned=true AND (NOT labels:hidden)` * `create_time > "1970-01-01T12:00:00Z"` * `collaborative_project = "projects/123/locations/global/collections/default_collection/engines/" "default_engine/collaborative_projects/cp1"` */
18282
+ filter?: string;
18283
+ /** 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. */
18284
+ key?: string;
18285
+ /** OAuth 2.0 token for the current user. */
18286
+ oauth_token?: string;
18287
+ /** A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `update_time` * `create_time` * `session_name` * `is_pinned` * `display_name` Example: * `update_time desc` * `create_time` * `is_pinned desc,update_time desc`: list sessions by is_pinned first, then by update_time. */
18288
+ orderBy?: string;
18289
+ /** Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000. */
18290
+ pageSize?: number;
18291
+ /** A page token, received from a previous `ListSessions` call. Provide this to retrieve the subsequent page. */
18292
+ pageToken?: string;
18293
+ /** Required. The data store resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}` */
18294
+ parent: string;
18295
+ /** Returns response with indentations and line breaks. */
18296
+ prettyPrint?: boolean;
18297
+ /** 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. */
18298
+ quotaUser?: string;
18299
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18300
+ upload_protocol?: string;
18301
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18302
+ uploadType?: string;
18303
+ }): Request<GoogleCloudDiscoveryengineV1alphaListSessionsResponse>;
18304
+ /** Updates a Session. Session action type cannot be changed. If the Session to update does not exist, a NOT_FOUND error is returned. */
18305
+ patch(request: {
18306
+ /** V1 error format. */
18307
+ '$.xgafv'?: '1' | '2';
18308
+ /** OAuth access token. */
18309
+ access_token?: string;
18310
+ /** Data format for response. */
18311
+ alt?: 'json' | 'media' | 'proto';
18312
+ /** JSONP */
18313
+ callback?: string;
18314
+ /** Selector specifying which fields to include in a partial response. */
18315
+ fields?: string;
18316
+ /** 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. */
18317
+ key?: string;
18318
+ /** Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*` */
18319
+ name: string;
18320
+ /** OAuth 2.0 token for the current user. */
18321
+ oauth_token?: string;
18322
+ /** Returns response with indentations and line breaks. */
18323
+ prettyPrint?: boolean;
18324
+ /** 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. */
18325
+ quotaUser?: string;
18326
+ /** Indicates which fields in the provided Session to update. The following are NOT supported: * Session.name If not set or empty, all supported fields are updated. */
18327
+ updateMask?: string;
18328
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18329
+ upload_protocol?: string;
18330
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18331
+ uploadType?: string;
18332
+ /** Request body */
18333
+ resource: GoogleCloudDiscoveryengineV1alphaSession;
18334
+ }): Request<GoogleCloudDiscoveryengineV1alphaSession>;
18335
+ patch(
18336
+ request: {
18337
+ /** V1 error format. */
18338
+ '$.xgafv'?: '1' | '2';
18339
+ /** OAuth access token. */
18340
+ access_token?: string;
18341
+ /** Data format for response. */
18342
+ alt?: 'json' | 'media' | 'proto';
18343
+ /** JSONP */
18344
+ callback?: string;
18345
+ /** Selector specifying which fields to include in a partial response. */
18346
+ fields?: string;
18347
+ /** 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. */
18348
+ key?: string;
18349
+ /** Immutable. Fully qualified name `projects/{project}/locations/global/collections/{collection}/engines/{engine}/sessions/*` */
18350
+ name: string;
18351
+ /** OAuth 2.0 token for the current user. */
18352
+ oauth_token?: string;
18353
+ /** Returns response with indentations and line breaks. */
18354
+ prettyPrint?: boolean;
18355
+ /** 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. */
18356
+ quotaUser?: string;
18357
+ /** Indicates which fields in the provided Session to update. The following are NOT supported: * Session.name If not set or empty, all supported fields are updated. */
18358
+ updateMask?: string;
18359
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18360
+ upload_protocol?: string;
18361
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18362
+ uploadType?: string;
18363
+ },
18364
+ body: GoogleCloudDiscoveryengineV1alphaSession,
18365
+ ): Request<GoogleCloudDiscoveryengineV1alphaSession>;
18366
+ alphaEvolveExperiments: AlphaEvolveExperimentsResource;
18367
+ answers: AnswersResource;
18368
+ files: FilesResource;
18369
+ operations: OperationsResource;
18370
+ }
18371
+ interface WidgetConfigsResource {
18372
+ /** Gets a WidgetConfig. */
18373
+ get(request?: {
18374
+ /** V1 error format. */
18375
+ '$.xgafv'?: '1' | '2';
18376
+ /** Optional. Whether it's acceptable to load the widget config from cache. If set to true, recent changes on widget configs may take a few minutes to reflect on the end user's view. It's recommended to set to true for maturely developed widgets, as it improves widget performance. Set to false to see changes reflected in prod right away, if your widget is under development. */
18377
+ acceptCache?: boolean;
18378
+ /** OAuth access token. */
18379
+ access_token?: string;
18380
+ /** Data format for response. */
18381
+ alt?: 'json' | 'media' | 'proto';
18382
+ /** JSONP */
18383
+ callback?: string;
18384
+ /** Selector specifying which fields to include in a partial response. */
18385
+ fields?: string;
18386
+ /** Optional. Whether to turn off collection_components in WidgetConfig to reduce latency and data transmission. */
18387
+ 'getWidgetConfigRequestOption.turnOffCollectionComponents'?: boolean;
18388
+ /** 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. */
18389
+ key?: string;
18390
+ /** Optional. BCP-47 language tag (e.g. "en", "fr-CA"). Used to localize human-readable strings in the response, such as the model selector `display_name` / `description` on `WidgetConfig.UiSettings.ModelConfigInfo`. Empty / unset falls back to the default language (English). */
18391
+ languageCode?: string;
18392
+ /** Required. Full WidgetConfig resource name. Format: `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}` */
18393
+ name: string;
18394
+ /** OAuth 2.0 token for the current user. */
18395
+ oauth_token?: string;
18396
+ /** Returns response with indentations and line breaks. */
18397
+ prettyPrint?: boolean;
18398
+ /** 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. */
18399
+ quotaUser?: string;
18400
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18401
+ upload_protocol?: string;
18402
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18403
+ uploadType?: string;
18404
+ }): Request<GoogleCloudDiscoveryengineV1alphaWidgetConfig>;
18405
+ /** Update a WidgetConfig. */
18406
+ patch(request: {
18407
+ /** V1 error format. */
18408
+ '$.xgafv'?: '1' | '2';
18409
+ /** OAuth access token. */
18410
+ access_token?: string;
18411
+ /** Data format for response. */
18412
+ alt?: 'json' | 'media' | 'proto';
18413
+ /** JSONP */
18414
+ callback?: string;
18415
+ /** Selector specifying which fields to include in a partial response. */
18416
+ fields?: string;
18417
+ /** 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. */
18418
+ key?: string;
18419
+ /** 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. */
18420
+ name: string;
18421
+ /** OAuth 2.0 token for the current user. */
18422
+ oauth_token?: string;
18423
+ /** Returns response with indentations and line breaks. */
18424
+ prettyPrint?: boolean;
18425
+ /** 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. */
18426
+ quotaUser?: string;
18427
+ /** Indicates which fields in the provided WidgetConfig to update. The following are the only supported fields: * WidgetConfig.enable_autocomplete If not set, all supported fields are updated. */
18428
+ updateMask?: string;
18429
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
18430
+ upload_protocol?: string;
18431
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18432
+ uploadType?: string;
18433
+ /** Request body */
18434
+ resource: GoogleCloudDiscoveryengineV1alphaWidgetConfig;
18435
+ }): Request<GoogleCloudDiscoveryengineV1alphaWidgetConfig>;
18436
+ patch(
18437
+ request: {
18438
+ /** V1 error format. */
18439
+ '$.xgafv'?: '1' | '2';
18440
+ /** OAuth access token. */
18441
+ access_token?: string;
18442
+ /** Data format for response. */
18443
+ alt?: 'json' | 'media' | 'proto';
18444
+ /** JSONP */
18445
+ callback?: string;
18446
+ /** Selector specifying which fields to include in a partial response. */
18447
+ fields?: string;
18448
+ /** 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. */
18449
+ key?: string;
18450
+ /** 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. */
18451
+ name: string;
18452
+ /** OAuth 2.0 token for the current user. */
18453
+ oauth_token?: string;
18454
+ /** Returns response with indentations and line breaks. */
18455
+ prettyPrint?: boolean;
18456
+ /** 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. */
18457
+ quotaUser?: string;
18458
+ /** Indicates which fields in the provided WidgetConfig to update. The following are the only supported fields: * WidgetConfig.enable_autocomplete If not set, all supported fields are updated. */
18459
+ updateMask?: string;
17737
18460
  /** Upload protocol for media (e.g. "raw", "multipart"). */
17738
18461
  upload_protocol?: string;
17739
18462
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
@@ -24955,6 +25678,64 @@ declare namespace gapi.client {
24955
25678
  }): Request<GoogleLongrunningListOperationsResponse>;
24956
25679
  }
24957
25680
  interface UserLicensesResource {
25681
+ /** Exports all the UserLicenses under the parent UserStore as a single CSV document. This is the backend for the admin console "Download as CSV" action: it reuses the ListUserLicenses read path so admins can sort/filter offline in Excel or Sheets. The response carries the full CSV (header row followed by data rows) inline in ExportUserLicensesResponse.csv_data. */
25682
+ export(request: {
25683
+ /** V1 error format. */
25684
+ '$.xgafv'?: '1' | '2';
25685
+ /** OAuth access token. */
25686
+ access_token?: string;
25687
+ /** Data format for response. */
25688
+ alt?: 'json' | 'media' | 'proto';
25689
+ /** JSONP */
25690
+ callback?: string;
25691
+ /** Selector specifying which fields to include in a partial response. */
25692
+ fields?: string;
25693
+ /** 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. */
25694
+ key?: string;
25695
+ /** OAuth 2.0 token for the current user. */
25696
+ oauth_token?: string;
25697
+ /** Required. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`. All UserLicenses under this UserStore are exported. */
25698
+ parent: string;
25699
+ /** Returns response with indentations and line breaks. */
25700
+ prettyPrint?: boolean;
25701
+ /** 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. */
25702
+ quotaUser?: string;
25703
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
25704
+ upload_protocol?: string;
25705
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25706
+ uploadType?: string;
25707
+ /** Request body */
25708
+ resource: GoogleCloudDiscoveryengineV1alphaExportUserLicensesRequest;
25709
+ }): Request<GoogleCloudDiscoveryengineV1alphaExportUserLicensesResponse>;
25710
+ export(
25711
+ request: {
25712
+ /** V1 error format. */
25713
+ '$.xgafv'?: '1' | '2';
25714
+ /** OAuth access token. */
25715
+ access_token?: string;
25716
+ /** Data format for response. */
25717
+ alt?: 'json' | 'media' | 'proto';
25718
+ /** JSONP */
25719
+ callback?: string;
25720
+ /** Selector specifying which fields to include in a partial response. */
25721
+ fields?: string;
25722
+ /** 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. */
25723
+ key?: string;
25724
+ /** OAuth 2.0 token for the current user. */
25725
+ oauth_token?: string;
25726
+ /** Required. The parent UserStore resource name, format: `projects/{project}/locations/{location}/userStores/{user_store_id}`. All UserLicenses under this UserStore are exported. */
25727
+ parent: string;
25728
+ /** Returns response with indentations and line breaks. */
25729
+ prettyPrint?: boolean;
25730
+ /** 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. */
25731
+ quotaUser?: string;
25732
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
25733
+ upload_protocol?: string;
25734
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25735
+ uploadType?: string;
25736
+ },
25737
+ body: GoogleCloudDiscoveryengineV1alphaExportUserLicensesRequest,
25738
+ ): Request<GoogleCloudDiscoveryengineV1alphaExportUserLicensesResponse>;
24958
25739
  /** Lists the User Licenses. */
24959
25740
  list(request?: {
24960
25741
  /** V1 error format. */