@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20250318 → 0.0.20250322

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 +1546 -8
  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://aiplatform.googleapis.com/$discovery/rest?version=v1beta1
12
- // Revision: 20250318
12
+ // Revision: 20250322
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -162,6 +162,10 @@ declare namespace gapi.client {
162
162
  /** Application specific response metadata. Must be set in the first response for streaming APIs. */
163
163
  extensions?: Array<{[P in string]: any}>;
164
164
  }
165
+ interface GoogleCloudAiplatformV1beta1AcceptPublisherModelEulaRequest {
166
+ /** Required. The name of the PublisherModel resource. Format: `publishers/{publisher}/models/{publisher_model}`, or `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}` */
167
+ publisherModel?: string;
168
+ }
165
169
  interface GoogleCloudAiplatformV1beta1ActiveLearningConfig {
166
170
  /** Max number of human labeled DataItems. */
167
171
  maxDataItemCount?: string;
@@ -231,6 +235,7 @@ declare namespace gapi.client {
231
235
  /** Required. The SecretManager secret version resource name storing API key. e.g. projects/{project}/secrets/{secret}/versions/{version} */
232
236
  apiKeySecretVersion?: string;
233
237
  }
238
+ interface GoogleCloudAiplatformV1beta1AppendEventResponse {}
234
239
  interface GoogleCloudAiplatformV1beta1Artifact {
235
240
  /** Output only. Timestamp when this Artifact was created. */
236
241
  createTime?: string;
@@ -270,15 +275,31 @@ declare namespace gapi.client {
270
275
  interface GoogleCloudAiplatformV1beta1AssembleDataRequest {
271
276
  /** Optional. Config for assembling templates with a Gemini API structure. */
272
277
  geminiTemplateConfig?: GoogleCloudAiplatformV1beta1GeminiTemplateConfig;
278
+ /** Optional. The column name in the underlying table that contains already fully assembled requests. If this field is set, the original request will be copied to the output table. */
279
+ requestColumnName?: string;
273
280
  }
274
281
  interface GoogleCloudAiplatformV1beta1AssessDataRequest {
282
+ /** Optional. Configuration for the batch prediction resource usage assessment. */
283
+ batchPredictionResourceUsageAssessmentConfig?: GoogleCloudAiplatformV1beta1AssessDataRequestBatchPredictionResourceUsageAssessmentConfig;
284
+ /** Optional. Configuration for the batch prediction validation assessment. */
285
+ batchPredictionValidationAssessmentConfig?: GoogleCloudAiplatformV1beta1AssessDataRequestBatchPredictionValidationAssessmentConfig;
275
286
  /** Optional. Config for assembling templates with a Gemini API structure to assess assembled data. */
276
287
  geminiTemplateConfig?: GoogleCloudAiplatformV1beta1GeminiTemplateConfig;
288
+ /** Optional. The column name in the underlying table that contains already fully assembled requests. */
289
+ requestColumnName?: string;
277
290
  /** Optional. Configuration for the tuning resource usage assessment. */
278
291
  tuningResourceUsageAssessmentConfig?: GoogleCloudAiplatformV1beta1AssessDataRequestTuningResourceUsageAssessmentConfig;
279
292
  /** Optional. Configuration for the tuning validation assessment. */
280
293
  tuningValidationAssessmentConfig?: GoogleCloudAiplatformV1beta1AssessDataRequestTuningValidationAssessmentConfig;
281
294
  }
295
+ interface GoogleCloudAiplatformV1beta1AssessDataRequestBatchPredictionResourceUsageAssessmentConfig {
296
+ /** Required. The name of the model used for batch prediction. */
297
+ modelName?: string;
298
+ }
299
+ interface GoogleCloudAiplatformV1beta1AssessDataRequestBatchPredictionValidationAssessmentConfig {
300
+ /** Required. The name of the model used for batch prediction. */
301
+ modelName?: string;
302
+ }
282
303
  interface GoogleCloudAiplatformV1beta1AssessDataRequestTuningResourceUsageAssessmentConfig {
283
304
  /** Required. The name of the model used for tuning. */
284
305
  modelName?: string;
@@ -754,6 +775,10 @@ declare namespace gapi.client {
754
775
  /** Output only. List of ratings for the safety of a response candidate. There is at most one rating per category. */
755
776
  safetyRatings?: GoogleCloudAiplatformV1beta1SafetyRating[];
756
777
  }
778
+ interface GoogleCloudAiplatformV1beta1CheckPublisherModelEulaAcceptanceRequest {
779
+ /** Required. The name of the PublisherModel resource. Format: `publishers/{publisher}/models/{publisher_model}`, or `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}` */
780
+ publisherModel?: string;
781
+ }
757
782
  interface GoogleCloudAiplatformV1beta1CheckTrialEarlyStoppingStateMetatdata {
758
783
  /** Operation metadata for suggesting Trials. */
759
784
  genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
@@ -903,6 +928,24 @@ declare namespace gapi.client {
903
928
  /** Optional. The producer of the content. Must be either 'user' or 'model'. Useful to set for multi-turn conversations, otherwise can be left blank or unset. */
904
929
  role?: string;
905
930
  }
931
+ interface GoogleCloudAiplatformV1beta1ContentMap {
932
+ /** Optional. Map of placeholder to contents. */
933
+ values?: {[P in string]: GoogleCloudAiplatformV1beta1ContentMapContents};
934
+ }
935
+ interface GoogleCloudAiplatformV1beta1ContentMapContents {
936
+ /** Optional. Repeated contents. */
937
+ contents?: GoogleCloudAiplatformV1beta1Content[];
938
+ }
939
+ interface GoogleCloudAiplatformV1beta1ContentsExample {
940
+ /** Required. The content of the conversation with the model that resulted in the expected output. */
941
+ contents?: GoogleCloudAiplatformV1beta1Content[];
942
+ /** Required. The expected output for the given `contents`. To represent multi-step reasoning, this is a repeated field that contains the iterative steps of the expected output. */
943
+ expectedContents?: GoogleCloudAiplatformV1beta1ContentsExampleExpectedContent[];
944
+ }
945
+ interface GoogleCloudAiplatformV1beta1ContentsExampleExpectedContent {
946
+ /** Required. A single step's content. */
947
+ content?: GoogleCloudAiplatformV1beta1Content;
948
+ }
906
949
  interface GoogleCloudAiplatformV1beta1Context {
907
950
  /** Output only. Timestamp when this Context was created. */
908
951
  createTime?: string;
@@ -1211,6 +1254,14 @@ declare namespace gapi.client {
1211
1254
  /** Required. The spec of the worker pools including machine type and Docker image. All worker pools except the first one are optional and can be skipped by providing an empty value. */
1212
1255
  workerPoolSpecs?: GoogleCloudAiplatformV1beta1WorkerPoolSpec[];
1213
1256
  }
1257
+ interface GoogleCloudAiplatformV1beta1CustomOutput {
1258
+ /** Output only. List of raw output strings. */
1259
+ rawOutputs?: GoogleCloudAiplatformV1beta1RawOutput;
1260
+ }
1261
+ interface GoogleCloudAiplatformV1beta1CustomOutputFormatConfig {
1262
+ /** Optional. Whether to return raw output. */
1263
+ returnRawOutput?: boolean;
1264
+ }
1214
1265
  interface GoogleCloudAiplatformV1beta1DataItem {
1215
1266
  /** Output only. Timestamp when this DataItem was created. */
1216
1267
  createTime?: string;
@@ -1721,7 +1772,7 @@ declare namespace gapi.client {
1721
1772
  clientConnectionConfig?: GoogleCloudAiplatformV1beta1ClientConnectionConfig;
1722
1773
  /** Output only. Timestamp when this Endpoint was created. */
1723
1774
  createTime?: string;
1724
- /** Output only. DNS of the dedicated endpoint. Will only be populated if dedicated_endpoint_enabled is true. Format: `https://{endpoint_id}.{region}-{project_number}.prediction.vertexai.goog`. */
1775
+ /** Output only. DNS of the dedicated endpoint. Will only be populated if dedicated_endpoint_enabled is true. Depending on the features enabled, uid might be a random number or a string. For example, if fast_tryout is enabled, uid will be fasttryout. Format: `https://{endpoint_id}.{region}-{uid}.prediction.vertexai.goog`. */
1725
1776
  dedicatedEndpointDns?: string;
1726
1777
  /** If true, the endpoint will be exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be isolated from other users' traffic and will have better performance and reliability. Note: Once you enabled dedicated endpoint, you won't be able to send request to the shared DNS {region}-aiplatform.googleapis.com. The limitation will be removed soon. */
1727
1778
  dedicatedEndpointEnabled?: boolean;
@@ -1834,7 +1885,7 @@ declare namespace gapi.client {
1834
1885
  explanationType?: string;
1835
1886
  }
1836
1887
  interface GoogleCloudAiplatformV1beta1EvaluateDatasetRequest {
1837
- /** Optional. Autorater config used for evaluation. */
1888
+ /** Optional. Autorater config used for evaluation. Currently only publisher Gemini models are supported. Format: `projects/{PROJECT}/locations/{LOCATION}/publishers/google/models/{MODEL}.` */
1838
1889
  autoraterConfig?: GoogleCloudAiplatformV1beta1AutoraterConfig;
1839
1890
  /** Required. The dataset used for evaluation. */
1840
1891
  dataset?: GoogleCloudAiplatformV1beta1EvaluationDataset;
@@ -1880,6 +1931,8 @@ declare namespace gapi.client {
1880
1931
  questionAnsweringRelevanceInput?: GoogleCloudAiplatformV1beta1QuestionAnsweringRelevanceInput;
1881
1932
  /** Instances and metric spec for rouge metric. */
1882
1933
  rougeInput?: GoogleCloudAiplatformV1beta1RougeInput;
1934
+ /** Rubric Based Instruction Following metric. */
1935
+ rubricBasedInstructionFollowingInput?: GoogleCloudAiplatformV1beta1RubricBasedInstructionFollowingInput;
1883
1936
  /** Input for safety metric. */
1884
1937
  safetyInput?: GoogleCloudAiplatformV1beta1SafetyInput;
1885
1938
  /** Input for summarization helpfulness metric. */
@@ -1944,6 +1997,8 @@ declare namespace gapi.client {
1944
1997
  questionAnsweringRelevanceResult?: GoogleCloudAiplatformV1beta1QuestionAnsweringRelevanceResult;
1945
1998
  /** Results for rouge metric. */
1946
1999
  rougeResults?: GoogleCloudAiplatformV1beta1RougeResults;
2000
+ /** Result for rubric based instruction following metric. */
2001
+ rubricBasedInstructionFollowingResult?: GoogleCloudAiplatformV1beta1RubricBasedInstructionFollowingResult;
1947
2002
  /** Result for safety metric. */
1948
2003
  safetyResult?: GoogleCloudAiplatformV1beta1SafetyResult;
1949
2004
  /** Result for summarization helpfulness metric. */
@@ -1976,7 +2031,7 @@ declare namespace gapi.client {
1976
2031
  interface GoogleCloudAiplatformV1beta1EvaluationDataset {
1977
2032
  /** BigQuery source holds the dataset. */
1978
2033
  bigquerySource?: GoogleCloudAiplatformV1beta1BigQuerySource;
1979
- /** Cloud storage source holds the dataset. */
2034
+ /** Cloud storage source holds the dataset. Currently only one Cloud Storage file path is supported. */
1980
2035
  gcsSource?: GoogleCloudAiplatformV1beta1GcsSource;
1981
2036
  }
1982
2037
  interface GoogleCloudAiplatformV1beta1Event {
@@ -1991,6 +2046,34 @@ declare namespace gapi.client {
1991
2046
  /** Required. The type of the Event. */
1992
2047
  type?: string;
1993
2048
  }
2049
+ interface GoogleCloudAiplatformV1beta1EventActions {
2050
+ /** Optional. Indicates that the event is updating an artifact. key is the filename, value is the version. */
2051
+ artifactDelta?: {[P in string]: number};
2052
+ /** Optional. The agent is escalating to a higher level agent. */
2053
+ escalate?: boolean;
2054
+ /** Optional. Will only be set by a tool response indicating tool request euc. Struct key is the function call id since one function call response (from model) could correspond to multiple function calls. Struct value is the required auth config, which can be another struct. */
2055
+ requestedAuthConfigs?: {[P in string]: any};
2056
+ /** Optional. If true, it won't call model to summarize function response. Only used for function_response event. */
2057
+ skipSummarization?: boolean;
2058
+ /** Optional. Indicates that the event is updating the state with the given delta. */
2059
+ stateDelta?: {[P in string]: any};
2060
+ /** Optional. If set, the event transfers to the specified agent. */
2061
+ transferToAgent?: boolean;
2062
+ }
2063
+ interface GoogleCloudAiplatformV1beta1EventMetadata {
2064
+ /** Optional. The branch of the event. The format is like agent_1.agent_2.agent_3, where agent_1 is the parent of agent_2, and agent_2 is the parent of agent_3. Branch is used when multiple child agents shouldn't see their siblings' conversation history. */
2065
+ branch?: string;
2066
+ /** Optional. Metadata returned to client when grounding is enabled. */
2067
+ groundingMetadata?: GoogleCloudAiplatformV1beta1GroundingMetadata;
2068
+ /** Optional. Flag indicating that LLM was interrupted when generating the content. Usually it's due to user interruption during a bidi streaming. */
2069
+ interrupted?: boolean;
2070
+ /** Optional. Set of ids of the long running function calls. Agent client will know from this field about which function call is long running. Only valid for function call event. */
2071
+ longRunningToolIds?: string[];
2072
+ /** Optional. Indicates whether the text content is part of a unfinished text stream. Only used for streaming mode and when the content is plain text. */
2073
+ partial?: boolean;
2074
+ /** Optional. Indicates whether the response from the model is complete. Only used for streaming mode. */
2075
+ turnComplete?: boolean;
2076
+ }
1994
2077
  interface GoogleCloudAiplatformV1beta1ExactMatchInput {
1995
2078
  /** Required. Repeated exact match instances. */
1996
2079
  instances?: GoogleCloudAiplatformV1beta1ExactMatchInstance[];
@@ -2012,6 +2095,16 @@ declare namespace gapi.client {
2012
2095
  exactMatchMetricValues?: GoogleCloudAiplatformV1beta1ExactMatchMetricValue[];
2013
2096
  }
2014
2097
  interface GoogleCloudAiplatformV1beta1ExactMatchSpec {}
2098
+ interface GoogleCloudAiplatformV1beta1Example {
2099
+ /** Output only. Timestamp when this Example was created. */
2100
+ createTime?: string;
2101
+ /** Optional. The display name for Example. */
2102
+ displayName?: string;
2103
+ /** Optional. Immutable. Unique identifier of an example. If not specified when upserting new examples, the example_id will be generated. */
2104
+ exampleId?: string;
2105
+ /** An example of chat history and its expected outcome to be used with GenerateContent. */
2106
+ storedContentsExample?: GoogleCloudAiplatformV1beta1StoredContentsExample;
2107
+ }
2015
2108
  interface GoogleCloudAiplatformV1beta1Examples {
2016
2109
  /** The Cloud Storage input instances. */
2017
2110
  exampleGcsSource?: GoogleCloudAiplatformV1beta1ExamplesExampleGcsSource;
@@ -2024,6 +2117,12 @@ declare namespace gapi.client {
2024
2117
  /** Simplified preset configuration, which automatically sets configuration values based on the desired query speed-precision trade-off and modality. */
2025
2118
  presets?: GoogleCloudAiplatformV1beta1Presets;
2026
2119
  }
2120
+ interface GoogleCloudAiplatformV1beta1ExamplesArrayFilter {
2121
+ /** Required. The operator logic to use for filtering. */
2122
+ arrayOperator?: string;
2123
+ /** Required. The values by which to filter examples. */
2124
+ values?: string[];
2125
+ }
2027
2126
  interface GoogleCloudAiplatformV1beta1ExamplesExampleGcsSource {
2028
2127
  /** The format in which instances are given, if not specified, assume it's JSONL format. Currently only JSONL format is supported. */
2029
2128
  dataFormat?: string;
@@ -2050,6 +2149,24 @@ declare namespace gapi.client {
2050
2149
  /** The namespace name. */
2051
2150
  namespaceName?: string;
2052
2151
  }
2152
+ interface GoogleCloudAiplatformV1beta1ExampleStore {
2153
+ /** Output only. Timestamp when this ExampleStore was created. */
2154
+ createTime?: string;
2155
+ /** Optional. Description of the ExampleStore. */
2156
+ description?: string;
2157
+ /** Required. Display name of the ExampleStore. */
2158
+ displayName?: string;
2159
+ /** Required. Example Store config. */
2160
+ exampleStoreConfig?: GoogleCloudAiplatformV1beta1ExampleStoreConfig;
2161
+ /** Identifier. The resource name of the ExampleStore. This is a unique identifier. Format: projects/{project}/locations/{location}/exampleStores/{example_store} */
2162
+ name?: string;
2163
+ /** Output only. Timestamp when this ExampleStore was most recently updated. */
2164
+ updateTime?: string;
2165
+ }
2166
+ interface GoogleCloudAiplatformV1beta1ExampleStoreConfig {
2167
+ /** Required. The embedding model to be used for vector embedding. Immutable. Supported models: * "textembedding-gecko@003" * "text-embedding-004" * "text-embedding-005" * "text-multilingual-embedding-002" */
2168
+ vertexEmbeddingModel?: string;
2169
+ }
2053
2170
  interface GoogleCloudAiplatformV1beta1ExecutableCode {
2054
2171
  /** Required. The code to be executed. */
2055
2172
  code?: string;
@@ -2326,6 +2443,10 @@ declare namespace gapi.client {
2326
2443
  /** The operation generic information. */
2327
2444
  genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
2328
2445
  }
2446
+ interface GoogleCloudAiplatformV1beta1ExportPublisherModelRequest {
2447
+ /** Required. The target where we are exporting the model weights to */
2448
+ destination?: GoogleCloudAiplatformV1beta1GcsDestination;
2449
+ }
2329
2450
  interface GoogleCloudAiplatformV1beta1ExportPublisherModelResponse {
2330
2451
  /** The destination uri of the model weights. */
2331
2452
  destinationUri?: string;
@@ -2807,6 +2928,40 @@ declare namespace gapi.client {
2807
2928
  /** Parts to construct Entity ID. Should match with the same ID columns as defined in FeatureView in the same order. */
2808
2929
  parts?: string[];
2809
2930
  }
2931
+ interface GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequest {
2932
+ /** Required. The data keys and associated feature values. */
2933
+ dataKeyAndFeatureValues?: GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequestDataKeyAndFeatureValues[];
2934
+ }
2935
+ interface GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequestDataKeyAndFeatureValues {
2936
+ /** The data key. */
2937
+ dataKey?: GoogleCloudAiplatformV1beta1FeatureViewDataKey;
2938
+ /** List of features to write. */
2939
+ features?: GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequestDataKeyAndFeatureValuesFeature[];
2940
+ }
2941
+ interface GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequestDataKeyAndFeatureValuesFeature {
2942
+ /** Feature short name. */
2943
+ name?: string;
2944
+ /** Feature value and timestamp. */
2945
+ valueAndTimestamp?: GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequestDataKeyAndFeatureValuesFeatureFeatureValueAndTimestamp;
2946
+ }
2947
+ interface GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequestDataKeyAndFeatureValuesFeatureFeatureValueAndTimestamp {
2948
+ /** The feature timestamp to store with this value. If not set, then the Feature Store server will generate a timestamp when it receives the write request. */
2949
+ timestamp?: string;
2950
+ /** The feature value. */
2951
+ value?: GoogleCloudAiplatformV1beta1FeatureValue;
2952
+ }
2953
+ interface GoogleCloudAiplatformV1beta1FeatureViewDirectWriteResponse {
2954
+ /** Response status for the keys listed in FeatureViewDirectWriteResponse.write_responses. The error only applies to the listed data keys - the stream will remain open for further FeatureOnlineStoreService.FeatureViewDirectWriteRequest requests. Partial failures (e.g. if the first 10 keys of a request fail, but the rest succeed) from a single request may result in multiple responses - there will be one response for the successful request keys and one response for the failing request keys. */
2955
+ status?: GoogleRpcStatus;
2956
+ /** Details about write for each key. If status is not OK, WriteResponse.data_key will have the key with error, but WriteResponse.online_store_write_time will not be present. */
2957
+ writeResponses?: GoogleCloudAiplatformV1beta1FeatureViewDirectWriteResponseWriteResponse[];
2958
+ }
2959
+ interface GoogleCloudAiplatformV1beta1FeatureViewDirectWriteResponseWriteResponse {
2960
+ /** What key is this write response associated with. */
2961
+ dataKey?: GoogleCloudAiplatformV1beta1FeatureViewDataKey;
2962
+ /** When the feature values were written to the online store. If FeatureViewDirectWriteResponse.status is not OK, this field is not populated. */
2963
+ onlineStoreWriteTime?: string;
2964
+ }
2810
2965
  interface GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySource {
2811
2966
  /** Required. List of features that need to be synced to Online Store. */
2812
2967
  featureGroups?: GoogleCloudAiplatformV1beta1FeatureViewFeatureRegistrySourceFeatureGroup[];
@@ -2901,6 +3056,22 @@ declare namespace gapi.client {
2901
3056
  /** Required. The BigQuery view/table URI that will be materialized on each manual sync trigger. The table/view is expected to have the following columns and types at least: - `corpus_id` (STRING, NULLABLE/REQUIRED) - `file_id` (STRING, NULLABLE/REQUIRED) - `chunk_id` (STRING, NULLABLE/REQUIRED) - `chunk_data_type` (STRING, NULLABLE/REQUIRED) - `chunk_data` (STRING, NULLABLE/REQUIRED) - `embeddings` (FLOAT, REPEATED) - `file_original_uri` (STRING, NULLABLE/REQUIRED) */
2902
3057
  uri?: string;
2903
3058
  }
3059
+ interface GoogleCloudAiplatformV1beta1FetchExamplesRequest {
3060
+ /** Optional. Example IDs to fetch. If both metadata filters and Example IDs are specified, then both ID and metadata filtering will be applied. */
3061
+ exampleIds?: string[];
3062
+ /** Optional. The maximum number of examples to return. The service may return fewer than this value. If unspecified, at most 100 examples will be returned. */
3063
+ pageSize?: number;
3064
+ /** Optional. The next_page_token value returned from a previous list ExampleStoreService.FetchExamplesResponse call. */
3065
+ pageToken?: string;
3066
+ /** The metadata filters for StoredContentsExamples. */
3067
+ storedContentsExampleFilter?: GoogleCloudAiplatformV1beta1StoredContentsExampleFilter;
3068
+ }
3069
+ interface GoogleCloudAiplatformV1beta1FetchExamplesResponse {
3070
+ /** The examples in the Example Store that satisfy the metadata filters. */
3071
+ examples?: GoogleCloudAiplatformV1beta1Example[];
3072
+ /** A token, which can be sent as ListExamplesRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages. */
3073
+ nextPageToken?: string;
3074
+ }
2904
3075
  interface GoogleCloudAiplatformV1beta1FetchFeatureValuesRequest {
2905
3076
  /** Optional. Response data format. If not set, FeatureViewDataFormat.KEY_VALUE will be used. */
2906
3077
  dataFormat?: string;
@@ -3056,6 +3227,8 @@ declare namespace gapi.client {
3056
3227
  interface GoogleCloudAiplatformV1beta1FunctionCall {
3057
3228
  /** Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details. */
3058
3229
  args?: {[P in string]: any};
3230
+ /** Optional. The unique id of the function call. If populated, the client to execute the `function_call` and return the response with the matching `id`. */
3231
+ id?: string;
3059
3232
  /** Required. The name of the function to call. Matches [FunctionDeclaration.name]. */
3060
3233
  name?: string;
3061
3234
  }
@@ -3076,6 +3249,8 @@ declare namespace gapi.client {
3076
3249
  response?: GoogleCloudAiplatformV1beta1Schema;
3077
3250
  }
3078
3251
  interface GoogleCloudAiplatformV1beta1FunctionResponse {
3252
+ /** Optional. The id of the function call this response is for. Populated by the client to match the corresponding function call `id`. */
3253
+ id?: string;
3079
3254
  /** Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name]. */
3080
3255
  name?: string;
3081
3256
  /** Required. The function response in JSON object format. Use "output" key to specify function output and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as function output. */
@@ -3198,6 +3373,8 @@ declare namespace gapi.client {
3198
3373
  toolUsePromptTokensDetails?: GoogleCloudAiplatformV1beta1ModalityTokenCount[];
3199
3374
  /** Total token count for prompt, response candidates, and tool-use prompts (if present). */
3200
3375
  totalTokenCount?: number;
3376
+ /** Output only. Traffic type. This shows whether a request consumes Pay-As-You-Go or Provisioned Throughput quota. */
3377
+ trafficType?: string;
3201
3378
  }
3202
3379
  interface GoogleCloudAiplatformV1beta1GenerateVideoResponse {
3203
3380
  /** The cloud storage uris of the generated videos. */
@@ -3334,6 +3511,8 @@ declare namespace gapi.client {
3334
3511
  uri?: string;
3335
3512
  }
3336
3513
  interface GoogleCloudAiplatformV1beta1GroundingChunkWeb {
3514
+ /** Domain of the (original) URI. */
3515
+ domain?: string;
3337
3516
  /** Title of the chunk. */
3338
3517
  title?: string;
3339
3518
  /** URI reference of the chunk. */
@@ -3484,6 +3663,8 @@ declare namespace gapi.client {
3484
3663
  interface GoogleCloudAiplatformV1beta1ImportRagFilesConfig {
3485
3664
  /** Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats: - `gs://bucket_name/my_directory/object_name/my_file.txt` - `gs://bucket_name/my_directory` */
3486
3665
  gcsSource?: GoogleCloudAiplatformV1beta1GcsSource;
3666
+ /** Optional. The max number of queries per minute that the indexing pipeline job is allowed to make to the embedding model specified in the project. Please follow the quota usage guideline of the embedding model you use to set the value properly.If this value is not specified, max_embedding_requests_per_min will be used by indexing pipeline job as the global limit. */
3667
+ globalMaxEmbeddingRequestsPerMin?: number;
3487
3668
  /** Google Drive location. Supports importing individual files as well as Google Drive folders. */
3488
3669
  googleDriveSource?: GoogleCloudAiplatformV1beta1GoogleDriveSource;
3489
3670
  /** The BigQuery destination to write import result to. It should be a bigquery table resource name (e.g. "bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the table does not exist, it will be created with the expected schema. If the table exists, the schema will be validated and data will be added to this existing table. */
@@ -3789,6 +3970,18 @@ declare namespace gapi.client {
3789
3970
  /** A token, which can be sent as ListEntityTypesRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. */
3790
3971
  nextPageToken?: string;
3791
3972
  }
3973
+ interface GoogleCloudAiplatformV1beta1ListEventsResponse {
3974
+ /** A token, which can be sent as ListEventsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages. */
3975
+ nextPageToken?: string;
3976
+ /** A list of events matching the request. */
3977
+ sessionEvents?: GoogleCloudAiplatformV1beta1SessionEvent[];
3978
+ }
3979
+ interface GoogleCloudAiplatformV1beta1ListExampleStoresResponse {
3980
+ /** List of ExampleStore in the requested page. */
3981
+ exampleStores?: GoogleCloudAiplatformV1beta1ExampleStore[];
3982
+ /** A token to retrieve the next page of results. Pass to ListExampleStoresRequest.page_token to obtain that page. */
3983
+ nextPageToken?: string;
3984
+ }
3792
3985
  interface GoogleCloudAiplatformV1beta1ListExecutionsResponse {
3793
3986
  /** The Executions retrieved from the MetadataStore. */
3794
3987
  executions?: GoogleCloudAiplatformV1beta1Execution[];
@@ -4009,6 +4202,12 @@ declare namespace gapi.client {
4009
4202
  /** List of Schedules in the requested page. */
4010
4203
  schedules?: GoogleCloudAiplatformV1beta1Schedule[];
4011
4204
  }
4205
+ interface GoogleCloudAiplatformV1beta1ListSessionsResponse {
4206
+ /** A token, which can be sent as ListSessionsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages. */
4207
+ nextPageToken?: string;
4208
+ /** A list of sessions matching the request. */
4209
+ sessions?: GoogleCloudAiplatformV1beta1Session[];
4210
+ }
4012
4211
  interface GoogleCloudAiplatformV1beta1ListSpecialistPoolsResponse {
4013
4212
  /** The standard List next-page token. */
4014
4213
  nextPageToken?: string;
@@ -5431,10 +5630,14 @@ declare namespace gapi.client {
5431
5630
  metricSpec?: GoogleCloudAiplatformV1beta1PairwiseMetricSpec;
5432
5631
  }
5433
5632
  interface GoogleCloudAiplatformV1beta1PairwiseMetricInstance {
5633
+ /** Key-value contents for the mutlimodality input, including text, image, video, audio, and pdf, etc. The key is placeholder in metric prompt template, and the value is the multimodal content. */
5634
+ contentMapInstance?: GoogleCloudAiplatformV1beta1ContentMap;
5434
5635
  /** Instance specified as a json string. String key-value pairs are expected in the json_instance to render PairwiseMetricSpec.instance_prompt_template. */
5435
5636
  jsonInstance?: string;
5436
5637
  }
5437
5638
  interface GoogleCloudAiplatformV1beta1PairwiseMetricResult {
5639
+ /** Output only. Spec for custom output. */
5640
+ customOutput?: GoogleCloudAiplatformV1beta1CustomOutput;
5438
5641
  /** Output only. Explanation for pairwise metric score. */
5439
5642
  explanation?: string;
5440
5643
  /** Output only. Pairwise metric choice. */
@@ -5445,6 +5648,8 @@ declare namespace gapi.client {
5445
5648
  baselineResponseFieldName?: string;
5446
5649
  /** Optional. The field name of the candidate response. */
5447
5650
  candidateResponseFieldName?: string;
5651
+ /** Optional. CustomOutputFormatConfig allows customization of metric output. When this config is set, the default output is replaced with the raw output string. If a custom format is chosen, the `pairwise_choice` and `explanation` fields in the corresponding metric result will be empty. */
5652
+ customOutputFormatConfig?: GoogleCloudAiplatformV1beta1CustomOutputFormatConfig;
5448
5653
  /** Required. Metric prompt template for pairwise metric. */
5449
5654
  metricPromptTemplate?: string;
5450
5655
  /** Optional. System instructions for pairwise metric. */
@@ -5779,16 +5984,22 @@ declare namespace gapi.client {
5779
5984
  metricSpec?: GoogleCloudAiplatformV1beta1PointwiseMetricSpec;
5780
5985
  }
5781
5986
  interface GoogleCloudAiplatformV1beta1PointwiseMetricInstance {
5987
+ /** Key-value contents for the mutlimodality input, including text, image, video, audio, and pdf, etc. The key is placeholder in metric prompt template, and the value is the multimodal content. */
5988
+ contentMapInstance?: GoogleCloudAiplatformV1beta1ContentMap;
5782
5989
  /** Instance specified as a json string. String key-value pairs are expected in the json_instance to render PointwiseMetricSpec.instance_prompt_template. */
5783
5990
  jsonInstance?: string;
5784
5991
  }
5785
5992
  interface GoogleCloudAiplatformV1beta1PointwiseMetricResult {
5993
+ /** Output only. Spec for custom output. */
5994
+ customOutput?: GoogleCloudAiplatformV1beta1CustomOutput;
5786
5995
  /** Output only. Explanation for pointwise metric score. */
5787
5996
  explanation?: string;
5788
5997
  /** Output only. Pointwise metric score. */
5789
5998
  score?: number;
5790
5999
  }
5791
6000
  interface GoogleCloudAiplatformV1beta1PointwiseMetricSpec {
6001
+ /** Optional. CustomOutputFormatConfig allows customization of metric output. By default, metrics return a score and explanation. When this config is set, the default output is replaced with either: - The raw output string. - A parsed output based on a user-defined schema. If a custom format is chosen, the `score` and `explanation` fields in the corresponding metric result will be empty. */
6002
+ customOutputFormatConfig?: GoogleCloudAiplatformV1beta1CustomOutputFormatConfig;
5792
6003
  /** Required. Metric prompt template for pointwise metric. */
5793
6004
  metricPromptTemplate?: string;
5794
6005
  /** Optional. System instructions for pointwise metric. */
@@ -6083,6 +6294,14 @@ declare namespace gapi.client {
6083
6294
  /** Required. E.g., OVERVIEW, USE CASES, DOCUMENTATION, SDK & SAMPLES, JAVA, NODE.JS, etc.. */
6084
6295
  title?: string;
6085
6296
  }
6297
+ interface GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptance {
6298
+ /** The project number requesting access for named model. */
6299
+ projectNumber?: string;
6300
+ /** The publisher model resource name. */
6301
+ publisherModel?: string;
6302
+ /** The EULA content acceptance status. */
6303
+ publisherModelEulaAcked?: boolean;
6304
+ }
6086
6305
  interface GoogleCloudAiplatformV1beta1PublisherModelParent {
6087
6306
  /** Required. The display name of the parent. E.g., LaMDA, T5, Vision API, Natural Language API. */
6088
6307
  displayName?: string;
@@ -6444,6 +6663,8 @@ declare namespace gapi.client {
6444
6663
  useAdvancedPdfParsing?: boolean;
6445
6664
  }
6446
6665
  interface GoogleCloudAiplatformV1beta1RagFileParsingConfigLayoutParser {
6666
+ /** The maximum number of requests the job is allowed to make to the Document AI processor per minute in this project. Consult https://cloud.google.com/document-ai/quotas and the Quota page for your project to set an appropriate value here. If this value is not specified, max_parsing_requests_per_min will be used by indexing pipeline as the global limit. */
6667
+ globalMaxParsingRequestsPerMin?: number;
6447
6668
  /** The maximum number of requests the job is allowed to make to the Document AI processor per minute. Consult https://cloud.google.com/document-ai/quotas and the Quota page for your project to set an appropriate value here. If unspecified, a default value of 120 QPM would be used. */
6448
6669
  maxParsingRequestsPerMin?: number;
6449
6670
  /** The full resource name of a Document AI processor or processor version. The processor must have type `LAYOUT_PARSER_PROCESSOR`. If specified, the `additional_config.parse_as_scanned_pdf` field must be false. Format: * `projects/{project_id}/locations/{location}/processors/{processor_id}` * `projects/{project_id}/locations/{location}/processors/{processor_id}/processorVersions/{processor_version_id}` */
@@ -6452,6 +6673,8 @@ declare namespace gapi.client {
6452
6673
  interface GoogleCloudAiplatformV1beta1RagFileParsingConfigLlmParser {
6453
6674
  /** The prompt to use for parsing. If not specified, a default prompt will be used. */
6454
6675
  customParsingPrompt?: string;
6676
+ /** The maximum number of requests the job is allowed to make to the LLM model per minute in this project. Consult https://cloud.google.com/vertex-ai/generative-ai/docs/quotas and your document size to set an appropriate value here. If this value is not specified, max_parsing_requests_per_min will be used by indexing pipeline job as the global limit. */
6677
+ globalMaxParsingRequestsPerMin?: number;
6455
6678
  /** The maximum number of requests the job is allowed to make to the LLM model per minute. Consult https://cloud.google.com/vertex-ai/generative-ai/docs/quotas and your document size to set an appropriate value here. If unspecified, a default value of 5000 QPM would be used. */
6456
6679
  maxParsingRequestsPerMin?: number;
6457
6680
  /** The name of a LLM model used for parsing. Format: * `projects/{project_id}/locations/{location}/publishers/{publisher}/models/{model}` */
@@ -6548,6 +6771,10 @@ declare namespace gapi.client {
6548
6771
  /** Weaviate DB instance HTTP endpoint. e.g. 34.56.78.90:8080 Vertex RAG only supports HTTP connection to Weaviate. This value cannot be changed after it's set. */
6549
6772
  httpEndpoint?: string;
6550
6773
  }
6774
+ interface GoogleCloudAiplatformV1beta1RawOutput {
6775
+ /** Output only. Raw output string. */
6776
+ rawOutput?: string[];
6777
+ }
6551
6778
  interface GoogleCloudAiplatformV1beta1RawPredictRequest {
6552
6779
  /** The prediction input. Supports HTTP headers and arbitrary data payload. A DeployedModel may have an upper limit on the number of instances it supports per request. When this limit it is exceeded for an AutoML model, the RawPredict method returns an error. When this limit is exceeded for a custom-trained model, the behavior varies depending on the model. You can specify the schema for each instance in the predict_schemata.instance_schema_uri field when you create a Model. This schema applies when you deploy the `Model` as a `DeployedModel` to an Endpoint and use the `RawPredict` method. */
6553
6780
  httpBody?: GoogleApiHttpBody;
@@ -6657,7 +6884,7 @@ declare namespace gapi.client {
6657
6884
  etag?: string;
6658
6885
  /** Identifier. The resource name of the ReasoningEngine. */
6659
6886
  name?: string;
6660
- /** Required. Configurations of the ReasoningEngine */
6887
+ /** Optional. Configurations of the ReasoningEngine */
6661
6888
  spec?: GoogleCloudAiplatformV1beta1ReasoningEngineSpec;
6662
6889
  /** Output only. Timestamp when this ReasoningEngine was most recently updated. */
6663
6890
  updateTime?: string;
@@ -6669,7 +6896,7 @@ declare namespace gapi.client {
6669
6896
  classMethods?: Array<{[P in string]: any}>;
6670
6897
  /** Optional. The specification of a Reasoning Engine deployment. */
6671
6898
  deploymentSpec?: GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec;
6672
- /** Required. User provided package spec of the ReasoningEngine. Ignored when users directly specify a deployment image through `deployment_spec.first_party_image_override`, but keeping the field_behavior to avoid introducing breaking changes. */
6899
+ /** Optional. User provided package spec of the ReasoningEngine. Ignored when users directly specify a deployment image through `deployment_spec.first_party_image_override`, but keeping the field_behavior to avoid introducing breaking changes. */
6673
6900
  packageSpec?: GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec;
6674
6901
  }
6675
6902
  interface GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec {
@@ -6715,6 +6942,16 @@ declare namespace gapi.client {
6715
6942
  datapointIds?: string[];
6716
6943
  }
6717
6944
  interface GoogleCloudAiplatformV1beta1RemoveDatapointsResponse {}
6945
+ interface GoogleCloudAiplatformV1beta1RemoveExamplesRequest {
6946
+ /** Optional. Example IDs to remove. If both metadata filters and Example IDs are specified, the metadata filters will be applied to the specified examples in order to identify which should be removed. */
6947
+ exampleIds?: string[];
6948
+ /** The metadata filters for StoredContentsExamples. */
6949
+ storedContentsExampleFilter?: GoogleCloudAiplatformV1beta1StoredContentsExampleFilter;
6950
+ }
6951
+ interface GoogleCloudAiplatformV1beta1RemoveExamplesResponse {
6952
+ /** The IDs for the removed examples. */
6953
+ exampleIds?: string[];
6954
+ }
6718
6955
  interface GoogleCloudAiplatformV1beta1ReportExecutionEventRequest {
6719
6956
  /** Required. The type of the event. */
6720
6957
  eventType?: string;
@@ -6877,6 +7114,29 @@ declare namespace gapi.client {
6877
7114
  /** Optional. Whether to use stemmer to compute rouge score. */
6878
7115
  useStemmer?: boolean;
6879
7116
  }
7117
+ interface GoogleCloudAiplatformV1beta1RubricBasedInstructionFollowingInput {
7118
+ /** Required. Instance for RubricBasedInstructionFollowing metric. */
7119
+ instance?: GoogleCloudAiplatformV1beta1RubricBasedInstructionFollowingInstance;
7120
+ /** Required. Spec for RubricBasedInstructionFollowing metric. */
7121
+ metricSpec?: any;
7122
+ }
7123
+ interface GoogleCloudAiplatformV1beta1RubricBasedInstructionFollowingInstance {
7124
+ /** Required. Instance specified as a json string. String key-value pairs are expected in the json_instance to render RubricBasedInstructionFollowing prompt templates. */
7125
+ jsonInstance?: string;
7126
+ }
7127
+ interface GoogleCloudAiplatformV1beta1RubricBasedInstructionFollowingResult {
7128
+ /** Output only. List of per rubric critique results. */
7129
+ rubricCritiqueResults?: GoogleCloudAiplatformV1beta1RubricCritiqueResult[];
7130
+ /** Output only. Overall score for the instruction following. */
7131
+ score?: number;
7132
+ }
7133
+ interface GoogleCloudAiplatformV1beta1RubricBasedInstructionFollowingSpec {}
7134
+ interface GoogleCloudAiplatformV1beta1RubricCritiqueResult {
7135
+ /** Output only. Rubric to be evaluated. */
7136
+ rubric?: string;
7137
+ /** Output only. Verdict for the rubric - true if the rubric is met, false otherwise. */
7138
+ verdict?: boolean;
7139
+ }
6880
7140
  interface GoogleCloudAiplatformV1beta1RuntimeArtifact {
6881
7141
  /** The custom properties of the artifact. Deprecated. Use RuntimeArtifact.metadata instead. */
6882
7142
  customProperties?: {[P in string]: GoogleCloudAiplatformV1beta1Value};
@@ -8556,6 +8816,22 @@ declare namespace gapi.client {
8556
8816
  /** Optional. Base64 encoded JSON representing array of tuple. */
8557
8817
  sdkBlob?: string;
8558
8818
  }
8819
+ interface GoogleCloudAiplatformV1beta1SearchExamplesRequest {
8820
+ /** The parameters of StoredContentsExamples to be searched. */
8821
+ storedContentsExampleParameters?: GoogleCloudAiplatformV1beta1StoredContentsExampleParameters;
8822
+ /** Optional. The number of similar examples to return. */
8823
+ topK?: string;
8824
+ }
8825
+ interface GoogleCloudAiplatformV1beta1SearchExamplesResponse {
8826
+ /** The results of searching for similar examples. */
8827
+ results?: GoogleCloudAiplatformV1beta1SearchExamplesResponseSimilarExample[];
8828
+ }
8829
+ interface GoogleCloudAiplatformV1beta1SearchExamplesResponseSimilarExample {
8830
+ /** The example that is similar to the searched query. */
8831
+ example?: GoogleCloudAiplatformV1beta1Example;
8832
+ /** The similarity score of this example. */
8833
+ similarityScore?: number;
8834
+ }
8559
8835
  interface GoogleCloudAiplatformV1beta1SearchFeaturesResponse {
8560
8836
  /** The Features matching the request. Fields returned: * `name` * `description` * `labels` * `create_time` * `update_time` */
8561
8837
  features?: GoogleCloudAiplatformV1beta1Feature[];
@@ -8674,7 +8950,7 @@ declare namespace gapi.client {
8674
8950
  secretRef?: GoogleCloudAiplatformV1beta1SecretRef;
8675
8951
  }
8676
8952
  interface GoogleCloudAiplatformV1beta1SecretRef {
8677
- /** Required. The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project. */
8953
+ /** Required. The name of the secret in Cloud Secret Manager. Format: {secret_name}. */
8678
8954
  secret?: string;
8679
8955
  /** The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias. */
8680
8956
  version?: string;
@@ -8695,6 +8971,40 @@ declare namespace gapi.client {
8695
8971
  /** Optional. Required when all below conditions are met * `enable_custom_service_account` is true; * any runtime is specified via `ResourceRuntimeSpec` on creation time, for example, Ray The users must have `iam.serviceAccounts.actAs` permission on this service account and then the specified runtime containers will run as it. Do not set this field if you want to submit jobs using custom service account to this PersistentResource after creation, but only specify the `service_account` inside the job. */
8696
8972
  serviceAccount?: string;
8697
8973
  }
8974
+ interface GoogleCloudAiplatformV1beta1Session {
8975
+ /** Output only. Timestamp when the session was created. */
8976
+ createTime?: string;
8977
+ /** Optional. The display name of the session. */
8978
+ displayName?: string;
8979
+ /** Required. Identifier. The resource name of the session. Format: 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'. */
8980
+ name?: string;
8981
+ /** Optional. Session specific memory which stores key conversation points. */
8982
+ sessionState?: {[P in string]: any};
8983
+ /** Output only. Timestamp when the session was updated. */
8984
+ updateTime?: string;
8985
+ /** Required. Immutable. String id provided by the user */
8986
+ userId?: string;
8987
+ }
8988
+ interface GoogleCloudAiplatformV1beta1SessionEvent {
8989
+ /** Optional. Actions executed by the agent. */
8990
+ actions?: GoogleCloudAiplatformV1beta1EventActions;
8991
+ /** Required. The name of the agent that sent the event, or user. */
8992
+ author?: string;
8993
+ /** Optional. Content of the event provided by the author. */
8994
+ content?: GoogleCloudAiplatformV1beta1Content;
8995
+ /** Optional. Error code if the response is an error. Code varies by model. */
8996
+ errorCode?: string;
8997
+ /** Optional. Error message if the response is an error. */
8998
+ errorMessage?: string;
8999
+ /** Optional. Metadata relating to this event. */
9000
+ eventMetadata?: GoogleCloudAiplatformV1beta1EventMetadata;
9001
+ /** Required. The invocation id of the event, multiple events can have the same invocation id. */
9002
+ invocationId?: string;
9003
+ /** Required. Identifier. The resource name of the event. Format:`projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}`. */
9004
+ name?: string;
9005
+ /** Required. Timestamp when the event was created on client side. */
9006
+ timestamp?: string;
9007
+ }
8698
9008
  interface GoogleCloudAiplatformV1beta1SharePointSources {
8699
9009
  /** The SharePoint sources. */
8700
9010
  sharePointSources?: GoogleCloudAiplatformV1beta1SharePointSourcesSharePointSource[];
@@ -8792,6 +9102,39 @@ declare namespace gapi.client {
8792
9102
  interface GoogleCloudAiplatformV1beta1StartNotebookRuntimeRequest {}
8793
9103
  interface GoogleCloudAiplatformV1beta1StopNotebookRuntimeRequest {}
8794
9104
  interface GoogleCloudAiplatformV1beta1StopTrialRequest {}
9105
+ interface GoogleCloudAiplatformV1beta1StoredContentsExample {
9106
+ /** Required. The example to be used with GenerateContent. */
9107
+ contentsExample?: GoogleCloudAiplatformV1beta1ContentsExample;
9108
+ /** Optional. (Optional) the search key used for retrieval. If not provided at upload-time, the search key will be generated from `contents_example.contents` using the method provided by `search_key_generation_method`. The generated search key will be included in retrieved examples. */
9109
+ searchKey?: string;
9110
+ /** Optional. The method used to generate the search key from `contents_example.contents`. This is ignored when uploading an example if `search_key` is provided. */
9111
+ searchKeyGenerationMethod?: GoogleCloudAiplatformV1beta1StoredContentsExampleSearchKeyGenerationMethod;
9112
+ }
9113
+ interface GoogleCloudAiplatformV1beta1StoredContentsExampleFilter {
9114
+ /** Optional. The function names for filtering. */
9115
+ functionNames?: GoogleCloudAiplatformV1beta1ExamplesArrayFilter;
9116
+ /** Optional. The search keys for filtering. Only examples with one of the specified search keys (StoredContentsExample.search_key) are eligible to be returned. */
9117
+ searchKeys?: string[];
9118
+ }
9119
+ interface GoogleCloudAiplatformV1beta1StoredContentsExampleParameters {
9120
+ /** The chat history to use to generate the search key for retrieval. */
9121
+ contentSearchKey?: GoogleCloudAiplatformV1beta1StoredContentsExampleParametersContentSearchKey;
9122
+ /** Optional. The function names for filtering. */
9123
+ functionNames?: GoogleCloudAiplatformV1beta1ExamplesArrayFilter;
9124
+ /** The exact search key to use for retrieval. */
9125
+ searchKey?: string;
9126
+ }
9127
+ interface GoogleCloudAiplatformV1beta1StoredContentsExampleParametersContentSearchKey {
9128
+ /** Required. The conversation for generating a search key. */
9129
+ contents?: GoogleCloudAiplatformV1beta1Content[];
9130
+ /** Required. The method of generating a search key. */
9131
+ searchKeyGenerationMethod?: GoogleCloudAiplatformV1beta1StoredContentsExampleSearchKeyGenerationMethod;
9132
+ }
9133
+ interface GoogleCloudAiplatformV1beta1StoredContentsExampleSearchKeyGenerationMethod {
9134
+ /** Use only the last entry of the conversation history (`contents_example.contents`) as the search key. */
9135
+ lastEntry?: any;
9136
+ }
9137
+ interface GoogleCloudAiplatformV1beta1StoredContentsExampleSearchKeyGenerationMethodLastEntry {}
8795
9138
  interface GoogleCloudAiplatformV1beta1StratifiedSplit {
8796
9139
  /** Required. The key is a name of one of the Dataset's data columns. The key provided must be for a categorical column. */
8797
9140
  key?: string;
@@ -9967,6 +10310,22 @@ declare namespace gapi.client {
9967
10310
  updateMask?: string;
9968
10311
  }
9969
10312
  interface GoogleCloudAiplatformV1beta1UpsertDatapointsResponse {}
10313
+ interface GoogleCloudAiplatformV1beta1UpsertExamplesRequest {
10314
+ /** Required. A list of examples to be created/updated. */
10315
+ examples?: GoogleCloudAiplatformV1beta1Example[];
10316
+ /** Optional. A flag indicating whether an example can be overwritten if it already exists. If False (default) and the example already exists, the example will not be updated. This does not affect behavior if the example does not exist already. */
10317
+ overwrite?: boolean;
10318
+ }
10319
+ interface GoogleCloudAiplatformV1beta1UpsertExamplesResponse {
10320
+ /** A list of results for creating/updating. It's either a successfully created/updated example or a status with an error message. */
10321
+ results?: GoogleCloudAiplatformV1beta1UpsertExamplesResponseUpsertResult[];
10322
+ }
10323
+ interface GoogleCloudAiplatformV1beta1UpsertExamplesResponseUpsertResult {
10324
+ /** The example created/updated successfully. */
10325
+ example?: GoogleCloudAiplatformV1beta1Example;
10326
+ /** The error message of the example that was not created/updated successfully. */
10327
+ status?: GoogleRpcStatus;
10328
+ }
9970
10329
  interface GoogleCloudAiplatformV1beta1UserActionReference {
9971
10330
  /** For API calls that start a LabelingJob. Resource name of the LabelingJob. Format: `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` */
9972
10331
  dataLabelingJob?: string;
@@ -12746,7 +13105,7 @@ declare namespace gapi.client {
12746
13105
  }): Request<GoogleLongrunningOperation>;
12747
13106
  }
12748
13107
  interface AnnotationsResource {
12749
- /** Lists Annotations belongs to a dataitem This RPC is only available in InternalDatasetService. It is only used for exporting conversation data to CCAI Insights. */
13108
+ /** Lists Annotations belongs to a dataitem. */
12750
13109
  list(request?: {
12751
13110
  /** V1 error format. */
12752
13111
  '$.xgafv'?: string;
@@ -16369,6 +16728,426 @@ declare namespace gapi.client {
16369
16728
  }): Request<GoogleLongrunningOperation>;
16370
16729
  }
16371
16730
  interface ExampleStoresResource {
16731
+ /** Create an ExampleStore. */
16732
+ create(request?: {
16733
+ /** V1 error format. */
16734
+ '$.xgafv'?: string;
16735
+ /** OAuth access token. */
16736
+ access_token?: string;
16737
+ /** Data format for response. */
16738
+ alt?: string;
16739
+ /** JSONP */
16740
+ callback?: string;
16741
+ /** Output only. Timestamp when this ExampleStore was created. */
16742
+ 'exampleStore.createTime'?: string;
16743
+ /** Optional. Description of the ExampleStore. */
16744
+ 'exampleStore.description'?: string;
16745
+ /** Required. Display name of the ExampleStore. */
16746
+ 'exampleStore.displayName'?: string;
16747
+ /** Required. The embedding model to be used for vector embedding. Immutable. Supported models: * "textembedding-gecko@003" * "text-embedding-004" * "text-embedding-005" * "text-multilingual-embedding-002" */
16748
+ 'exampleStore.exampleStoreConfig.vertexEmbeddingModel'?: string;
16749
+ /** Identifier. The resource name of the ExampleStore. This is a unique identifier. Format: projects/{project}/locations/{location}/exampleStores/{example_store} */
16750
+ 'exampleStore.name'?: string;
16751
+ /** Output only. Timestamp when this ExampleStore was most recently updated. */
16752
+ 'exampleStore.updateTime'?: string;
16753
+ /** Selector specifying which fields to include in a partial response. */
16754
+ fields?: string;
16755
+ /** 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. */
16756
+ key?: string;
16757
+ /** OAuth 2.0 token for the current user. */
16758
+ oauth_token?: string;
16759
+ /** Required. The resource name of the Location to create the ExampleStore in. Format: `projects/{project}/locations/{location}` */
16760
+ parent: string;
16761
+ /** Returns response with indentations and line breaks. */
16762
+ prettyPrint?: boolean;
16763
+ /** 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. */
16764
+ quotaUser?: string;
16765
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16766
+ upload_protocol?: string;
16767
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16768
+ uploadType?: string;
16769
+ }): Request<GoogleLongrunningOperation>;
16770
+ /** Delete an ExampleStore. */
16771
+ delete(request?: {
16772
+ /** V1 error format. */
16773
+ '$.xgafv'?: string;
16774
+ /** OAuth access token. */
16775
+ access_token?: string;
16776
+ /** Data format for response. */
16777
+ alt?: string;
16778
+ /** JSONP */
16779
+ callback?: string;
16780
+ /** Selector specifying which fields to include in a partial response. */
16781
+ fields?: string;
16782
+ /** 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. */
16783
+ key?: string;
16784
+ /** Required. The resource name of the ExampleStore to be deleted. Format: `projects/{project}/locations/{location}/exampleStores/{example_store}` */
16785
+ name: string;
16786
+ /** OAuth 2.0 token for the current user. */
16787
+ oauth_token?: string;
16788
+ /** Returns response with indentations and line breaks. */
16789
+ prettyPrint?: boolean;
16790
+ /** 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. */
16791
+ quotaUser?: string;
16792
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16793
+ upload_protocol?: string;
16794
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16795
+ uploadType?: string;
16796
+ }): Request<GoogleLongrunningOperation>;
16797
+ /** Get Examples from the Example Store. */
16798
+ fetchExamples(request: {
16799
+ /** V1 error format. */
16800
+ '$.xgafv'?: string;
16801
+ /** OAuth access token. */
16802
+ access_token?: string;
16803
+ /** Data format for response. */
16804
+ alt?: string;
16805
+ /** JSONP */
16806
+ callback?: string;
16807
+ /** Required. The name of the ExampleStore resource that the examples should be fetched from. Format: `projects/{project}/locations/{location}/exampleStores/{example_store}` */
16808
+ exampleStore: string;
16809
+ /** Selector specifying which fields to include in a partial response. */
16810
+ fields?: string;
16811
+ /** 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. */
16812
+ key?: string;
16813
+ /** OAuth 2.0 token for the current user. */
16814
+ oauth_token?: string;
16815
+ /** Returns response with indentations and line breaks. */
16816
+ prettyPrint?: boolean;
16817
+ /** 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. */
16818
+ quotaUser?: string;
16819
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16820
+ upload_protocol?: string;
16821
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16822
+ uploadType?: string;
16823
+ /** Request body */
16824
+ resource: GoogleCloudAiplatformV1beta1FetchExamplesRequest;
16825
+ }): Request<GoogleCloudAiplatformV1beta1FetchExamplesResponse>;
16826
+ fetchExamples(
16827
+ request: {
16828
+ /** V1 error format. */
16829
+ '$.xgafv'?: string;
16830
+ /** OAuth access token. */
16831
+ access_token?: string;
16832
+ /** Data format for response. */
16833
+ alt?: string;
16834
+ /** JSONP */
16835
+ callback?: string;
16836
+ /** Required. The name of the ExampleStore resource that the examples should be fetched from. Format: `projects/{project}/locations/{location}/exampleStores/{example_store}` */
16837
+ exampleStore: string;
16838
+ /** Selector specifying which fields to include in a partial response. */
16839
+ fields?: string;
16840
+ /** 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. */
16841
+ key?: string;
16842
+ /** OAuth 2.0 token for the current user. */
16843
+ oauth_token?: string;
16844
+ /** Returns response with indentations and line breaks. */
16845
+ prettyPrint?: boolean;
16846
+ /** 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. */
16847
+ quotaUser?: string;
16848
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16849
+ upload_protocol?: string;
16850
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16851
+ uploadType?: string;
16852
+ },
16853
+ body: GoogleCloudAiplatformV1beta1FetchExamplesRequest,
16854
+ ): Request<GoogleCloudAiplatformV1beta1FetchExamplesResponse>;
16855
+ /** Get an ExampleStore. */
16856
+ get(request?: {
16857
+ /** V1 error format. */
16858
+ '$.xgafv'?: string;
16859
+ /** OAuth access token. */
16860
+ access_token?: string;
16861
+ /** Data format for response. */
16862
+ alt?: string;
16863
+ /** JSONP */
16864
+ callback?: string;
16865
+ /** Selector specifying which fields to include in a partial response. */
16866
+ fields?: string;
16867
+ /** 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. */
16868
+ key?: string;
16869
+ /** Required. The resource name of the ExampleStore. Format: `projects/{project}/locations/{location}/exampleStores/{example_store}` */
16870
+ name: string;
16871
+ /** OAuth 2.0 token for the current user. */
16872
+ oauth_token?: string;
16873
+ /** Returns response with indentations and line breaks. */
16874
+ prettyPrint?: boolean;
16875
+ /** 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. */
16876
+ quotaUser?: string;
16877
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16878
+ upload_protocol?: string;
16879
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16880
+ uploadType?: string;
16881
+ }): Request<GoogleCloudAiplatformV1beta1ExampleStore>;
16882
+ /** List ExampleStores in a Location. */
16883
+ list(request?: {
16884
+ /** V1 error format. */
16885
+ '$.xgafv'?: string;
16886
+ /** OAuth access token. */
16887
+ access_token?: string;
16888
+ /** Data format for response. */
16889
+ alt?: string;
16890
+ /** JSONP */
16891
+ callback?: string;
16892
+ /** Selector specifying which fields to include in a partial response. */
16893
+ fields?: string;
16894
+ /** Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). */
16895
+ filter?: string;
16896
+ /** 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. */
16897
+ key?: string;
16898
+ /** OAuth 2.0 token for the current user. */
16899
+ oauth_token?: string;
16900
+ /** Optional. The standard list page size. */
16901
+ pageSize?: number;
16902
+ /** Optional. The standard list page token. */
16903
+ pageToken?: string;
16904
+ /** Required. The resource name of the Location to list the ExampleStores from. Format: `projects/{project}/locations/{location}` */
16905
+ parent: string;
16906
+ /** Returns response with indentations and line breaks. */
16907
+ prettyPrint?: boolean;
16908
+ /** 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. */
16909
+ quotaUser?: string;
16910
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16911
+ upload_protocol?: string;
16912
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16913
+ uploadType?: string;
16914
+ }): Request<GoogleCloudAiplatformV1beta1ListExampleStoresResponse>;
16915
+ /** Update an ExampleStore. */
16916
+ patch(request: {
16917
+ /** V1 error format. */
16918
+ '$.xgafv'?: string;
16919
+ /** OAuth access token. */
16920
+ access_token?: string;
16921
+ /** Data format for response. */
16922
+ alt?: string;
16923
+ /** JSONP */
16924
+ callback?: string;
16925
+ /** Selector specifying which fields to include in a partial response. */
16926
+ fields?: string;
16927
+ /** 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. */
16928
+ key?: string;
16929
+ /** Identifier. The resource name of the ExampleStore. This is a unique identifier. Format: projects/{project}/locations/{location}/exampleStores/{example_store} */
16930
+ name: string;
16931
+ /** OAuth 2.0 token for the current user. */
16932
+ oauth_token?: string;
16933
+ /** Returns response with indentations and line breaks. */
16934
+ prettyPrint?: boolean;
16935
+ /** 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. */
16936
+ quotaUser?: string;
16937
+ /** Optional. Mask specifying which fields to update. Supported fields: * `display_name` * `description` */
16938
+ updateMask?: string;
16939
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16940
+ upload_protocol?: string;
16941
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16942
+ uploadType?: string;
16943
+ /** Request body */
16944
+ resource: GoogleCloudAiplatformV1beta1ExampleStore;
16945
+ }): Request<GoogleLongrunningOperation>;
16946
+ patch(
16947
+ request: {
16948
+ /** V1 error format. */
16949
+ '$.xgafv'?: string;
16950
+ /** OAuth access token. */
16951
+ access_token?: string;
16952
+ /** Data format for response. */
16953
+ alt?: string;
16954
+ /** JSONP */
16955
+ callback?: string;
16956
+ /** Selector specifying which fields to include in a partial response. */
16957
+ fields?: string;
16958
+ /** 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. */
16959
+ key?: string;
16960
+ /** Identifier. The resource name of the ExampleStore. This is a unique identifier. Format: projects/{project}/locations/{location}/exampleStores/{example_store} */
16961
+ name: string;
16962
+ /** OAuth 2.0 token for the current user. */
16963
+ oauth_token?: string;
16964
+ /** Returns response with indentations and line breaks. */
16965
+ prettyPrint?: boolean;
16966
+ /** 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. */
16967
+ quotaUser?: string;
16968
+ /** Optional. Mask specifying which fields to update. Supported fields: * `display_name` * `description` */
16969
+ updateMask?: string;
16970
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
16971
+ upload_protocol?: string;
16972
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
16973
+ uploadType?: string;
16974
+ },
16975
+ body: GoogleCloudAiplatformV1beta1ExampleStore,
16976
+ ): Request<GoogleLongrunningOperation>;
16977
+ /** Remove Examples from the Example Store. */
16978
+ removeExamples(request: {
16979
+ /** V1 error format. */
16980
+ '$.xgafv'?: string;
16981
+ /** OAuth access token. */
16982
+ access_token?: string;
16983
+ /** Data format for response. */
16984
+ alt?: string;
16985
+ /** JSONP */
16986
+ callback?: string;
16987
+ /** Required. The name of the ExampleStore resource that the examples should be removed from. Format: `projects/{project}/locations/{location}/exampleStores/{example_store}` */
16988
+ exampleStore: string;
16989
+ /** Selector specifying which fields to include in a partial response. */
16990
+ fields?: string;
16991
+ /** 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. */
16992
+ key?: string;
16993
+ /** OAuth 2.0 token for the current user. */
16994
+ oauth_token?: string;
16995
+ /** Returns response with indentations and line breaks. */
16996
+ prettyPrint?: boolean;
16997
+ /** 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. */
16998
+ quotaUser?: string;
16999
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
17000
+ upload_protocol?: string;
17001
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17002
+ uploadType?: string;
17003
+ /** Request body */
17004
+ resource: GoogleCloudAiplatformV1beta1RemoveExamplesRequest;
17005
+ }): Request<GoogleCloudAiplatformV1beta1RemoveExamplesResponse>;
17006
+ removeExamples(
17007
+ request: {
17008
+ /** V1 error format. */
17009
+ '$.xgafv'?: string;
17010
+ /** OAuth access token. */
17011
+ access_token?: string;
17012
+ /** Data format for response. */
17013
+ alt?: string;
17014
+ /** JSONP */
17015
+ callback?: string;
17016
+ /** Required. The name of the ExampleStore resource that the examples should be removed from. Format: `projects/{project}/locations/{location}/exampleStores/{example_store}` */
17017
+ exampleStore: string;
17018
+ /** Selector specifying which fields to include in a partial response. */
17019
+ fields?: string;
17020
+ /** 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. */
17021
+ key?: string;
17022
+ /** OAuth 2.0 token for the current user. */
17023
+ oauth_token?: string;
17024
+ /** Returns response with indentations and line breaks. */
17025
+ prettyPrint?: boolean;
17026
+ /** 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. */
17027
+ quotaUser?: string;
17028
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
17029
+ upload_protocol?: string;
17030
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17031
+ uploadType?: string;
17032
+ },
17033
+ body: GoogleCloudAiplatformV1beta1RemoveExamplesRequest,
17034
+ ): Request<GoogleCloudAiplatformV1beta1RemoveExamplesResponse>;
17035
+ /** Search for similar Examples for given selection criteria. */
17036
+ searchExamples(request: {
17037
+ /** V1 error format. */
17038
+ '$.xgafv'?: string;
17039
+ /** OAuth access token. */
17040
+ access_token?: string;
17041
+ /** Data format for response. */
17042
+ alt?: string;
17043
+ /** JSONP */
17044
+ callback?: string;
17045
+ /** Required. The name of the ExampleStore resource that examples are retrieved from. Format: `projects/{project}/locations/{location}/exampleStores/{example_store}` */
17046
+ exampleStore: string;
17047
+ /** Selector specifying which fields to include in a partial response. */
17048
+ fields?: string;
17049
+ /** 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. */
17050
+ key?: string;
17051
+ /** OAuth 2.0 token for the current user. */
17052
+ oauth_token?: string;
17053
+ /** Returns response with indentations and line breaks. */
17054
+ prettyPrint?: boolean;
17055
+ /** 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. */
17056
+ quotaUser?: string;
17057
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
17058
+ upload_protocol?: string;
17059
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17060
+ uploadType?: string;
17061
+ /** Request body */
17062
+ resource: GoogleCloudAiplatformV1beta1SearchExamplesRequest;
17063
+ }): Request<GoogleCloudAiplatformV1beta1SearchExamplesResponse>;
17064
+ searchExamples(
17065
+ request: {
17066
+ /** V1 error format. */
17067
+ '$.xgafv'?: string;
17068
+ /** OAuth access token. */
17069
+ access_token?: string;
17070
+ /** Data format for response. */
17071
+ alt?: string;
17072
+ /** JSONP */
17073
+ callback?: string;
17074
+ /** Required. The name of the ExampleStore resource that examples are retrieved from. Format: `projects/{project}/locations/{location}/exampleStores/{example_store}` */
17075
+ exampleStore: string;
17076
+ /** Selector specifying which fields to include in a partial response. */
17077
+ fields?: string;
17078
+ /** 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. */
17079
+ key?: string;
17080
+ /** OAuth 2.0 token for the current user. */
17081
+ oauth_token?: string;
17082
+ /** Returns response with indentations and line breaks. */
17083
+ prettyPrint?: boolean;
17084
+ /** 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. */
17085
+ quotaUser?: string;
17086
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
17087
+ upload_protocol?: string;
17088
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17089
+ uploadType?: string;
17090
+ },
17091
+ body: GoogleCloudAiplatformV1beta1SearchExamplesRequest,
17092
+ ): Request<GoogleCloudAiplatformV1beta1SearchExamplesResponse>;
17093
+ /** Create or update Examples in the Example Store. */
17094
+ upsertExamples(request: {
17095
+ /** V1 error format. */
17096
+ '$.xgafv'?: string;
17097
+ /** OAuth access token. */
17098
+ access_token?: string;
17099
+ /** Data format for response. */
17100
+ alt?: string;
17101
+ /** JSONP */
17102
+ callback?: string;
17103
+ /** Required. The name of the ExampleStore resource that examples are added to or updated in. Format: `projects/{project}/locations/{location}/exampleStores/{example_store}` */
17104
+ exampleStore: string;
17105
+ /** Selector specifying which fields to include in a partial response. */
17106
+ fields?: string;
17107
+ /** 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. */
17108
+ key?: string;
17109
+ /** OAuth 2.0 token for the current user. */
17110
+ oauth_token?: string;
17111
+ /** Returns response with indentations and line breaks. */
17112
+ prettyPrint?: boolean;
17113
+ /** 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. */
17114
+ quotaUser?: string;
17115
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
17116
+ upload_protocol?: string;
17117
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17118
+ uploadType?: string;
17119
+ /** Request body */
17120
+ resource: GoogleCloudAiplatformV1beta1UpsertExamplesRequest;
17121
+ }): Request<GoogleCloudAiplatformV1beta1UpsertExamplesResponse>;
17122
+ upsertExamples(
17123
+ request: {
17124
+ /** V1 error format. */
17125
+ '$.xgafv'?: string;
17126
+ /** OAuth access token. */
17127
+ access_token?: string;
17128
+ /** Data format for response. */
17129
+ alt?: string;
17130
+ /** JSONP */
17131
+ callback?: string;
17132
+ /** Required. The name of the ExampleStore resource that examples are added to or updated in. Format: `projects/{project}/locations/{location}/exampleStores/{example_store}` */
17133
+ exampleStore: string;
17134
+ /** Selector specifying which fields to include in a partial response. */
17135
+ fields?: string;
17136
+ /** 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. */
17137
+ key?: string;
17138
+ /** OAuth 2.0 token for the current user. */
17139
+ oauth_token?: string;
17140
+ /** Returns response with indentations and line breaks. */
17141
+ prettyPrint?: boolean;
17142
+ /** 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. */
17143
+ quotaUser?: string;
17144
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
17145
+ upload_protocol?: string;
17146
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
17147
+ uploadType?: string;
17148
+ },
17149
+ body: GoogleCloudAiplatformV1beta1UpsertExamplesRequest,
17150
+ ): Request<GoogleCloudAiplatformV1beta1UpsertExamplesResponse>;
16372
17151
  operations: OperationsResource;
16373
17152
  }
16374
17153
  interface OperationsResource {
@@ -18557,6 +19336,64 @@ declare namespace gapi.client {
18557
19336
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
18558
19337
  uploadType?: string;
18559
19338
  }): Request<GoogleLongrunningOperation>;
19339
+ /** Bidirectional streaming RPC to directly write to feature values in a feature view. Requests may not have a one-to-one mapping to responses and responses may be returned out-of-order to reduce latency. */
19340
+ directWrite(request: {
19341
+ /** V1 error format. */
19342
+ '$.xgafv'?: string;
19343
+ /** OAuth access token. */
19344
+ access_token?: string;
19345
+ /** Data format for response. */
19346
+ alt?: string;
19347
+ /** JSONP */
19348
+ callback?: string;
19349
+ /** FeatureView resource format `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}` */
19350
+ featureView: string;
19351
+ /** Selector specifying which fields to include in a partial response. */
19352
+ fields?: string;
19353
+ /** 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. */
19354
+ key?: string;
19355
+ /** OAuth 2.0 token for the current user. */
19356
+ oauth_token?: string;
19357
+ /** Returns response with indentations and line breaks. */
19358
+ prettyPrint?: boolean;
19359
+ /** 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. */
19360
+ quotaUser?: string;
19361
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
19362
+ upload_protocol?: string;
19363
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
19364
+ uploadType?: string;
19365
+ /** Request body */
19366
+ resource: GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequest;
19367
+ }): Request<GoogleCloudAiplatformV1beta1FeatureViewDirectWriteResponse>;
19368
+ directWrite(
19369
+ request: {
19370
+ /** V1 error format. */
19371
+ '$.xgafv'?: string;
19372
+ /** OAuth access token. */
19373
+ access_token?: string;
19374
+ /** Data format for response. */
19375
+ alt?: string;
19376
+ /** JSONP */
19377
+ callback?: string;
19378
+ /** FeatureView resource format `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}` */
19379
+ featureView: string;
19380
+ /** Selector specifying which fields to include in a partial response. */
19381
+ fields?: string;
19382
+ /** 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. */
19383
+ key?: string;
19384
+ /** OAuth 2.0 token for the current user. */
19385
+ oauth_token?: string;
19386
+ /** Returns response with indentations and line breaks. */
19387
+ prettyPrint?: boolean;
19388
+ /** 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. */
19389
+ quotaUser?: string;
19390
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
19391
+ upload_protocol?: string;
19392
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
19393
+ uploadType?: string;
19394
+ },
19395
+ body: GoogleCloudAiplatformV1beta1FeatureViewDirectWriteRequest,
19396
+ ): Request<GoogleCloudAiplatformV1beta1FeatureViewDirectWriteResponse>;
18560
19397
  /** Fetch feature values under a FeatureView. */
18561
19398
  fetchFeatureValues(request: {
18562
19399
  /** V1 error format. */
@@ -30166,6 +31003,68 @@ declare namespace gapi.client {
30166
31003
  },
30167
31004
  body: GoogleCloudAiplatformV1beta1CountTokensRequest,
30168
31005
  ): Request<GoogleCloudAiplatformV1beta1CountTokensResponse>;
31006
+ /** Exports a publisher model to a user provided Google Cloud Storage bucket. */
31007
+ export(request: {
31008
+ /** V1 error format. */
31009
+ '$.xgafv'?: string;
31010
+ /** OAuth access token. */
31011
+ access_token?: string;
31012
+ /** Data format for response. */
31013
+ alt?: string;
31014
+ /** JSONP */
31015
+ callback?: string;
31016
+ /** Selector specifying which fields to include in a partial response. */
31017
+ fields?: string;
31018
+ /** 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. */
31019
+ key?: string;
31020
+ /** Required. The name of the PublisherModel resource. Format: `publishers/{publisher}/models/{publisher_model}@{version_id}`, or `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001` */
31021
+ name: string;
31022
+ /** OAuth 2.0 token for the current user. */
31023
+ oauth_token?: string;
31024
+ /** Required. The Location to export the model weights from Format: `projects/{project}/locations/{location}` */
31025
+ parent: string;
31026
+ /** Returns response with indentations and line breaks. */
31027
+ prettyPrint?: boolean;
31028
+ /** 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. */
31029
+ quotaUser?: string;
31030
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
31031
+ upload_protocol?: string;
31032
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
31033
+ uploadType?: string;
31034
+ /** Request body */
31035
+ resource: GoogleCloudAiplatformV1beta1ExportPublisherModelRequest;
31036
+ }): Request<GoogleLongrunningOperation>;
31037
+ export(
31038
+ request: {
31039
+ /** V1 error format. */
31040
+ '$.xgafv'?: string;
31041
+ /** OAuth access token. */
31042
+ access_token?: string;
31043
+ /** Data format for response. */
31044
+ alt?: string;
31045
+ /** JSONP */
31046
+ callback?: string;
31047
+ /** Selector specifying which fields to include in a partial response. */
31048
+ fields?: string;
31049
+ /** 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. */
31050
+ key?: string;
31051
+ /** Required. The name of the PublisherModel resource. Format: `publishers/{publisher}/models/{publisher_model}@{version_id}`, or `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001` */
31052
+ name: string;
31053
+ /** OAuth 2.0 token for the current user. */
31054
+ oauth_token?: string;
31055
+ /** Required. The Location to export the model weights from Format: `projects/{project}/locations/{location}` */
31056
+ parent: string;
31057
+ /** Returns response with indentations and line breaks. */
31058
+ prettyPrint?: boolean;
31059
+ /** 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. */
31060
+ quotaUser?: string;
31061
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
31062
+ upload_protocol?: string;
31063
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
31064
+ uploadType?: string;
31065
+ },
31066
+ body: GoogleCloudAiplatformV1beta1ExportPublisherModelRequest,
31067
+ ): Request<GoogleLongrunningOperation>;
30169
31068
  /** Fetch an asynchronous online prediction operation. */
30170
31069
  fetchPredictOperation(request: {
30171
31070
  /** V1 error format. */
@@ -31450,6 +32349,309 @@ declare namespace gapi.client {
31450
32349
  uploadType?: string;
31451
32350
  }): Request<GoogleLongrunningOperation>;
31452
32351
  }
32352
+ interface EventsResource {
32353
+ /** Lists Events in a given session. */
32354
+ list(request?: {
32355
+ /** V1 error format. */
32356
+ '$.xgafv'?: string;
32357
+ /** OAuth access token. */
32358
+ access_token?: string;
32359
+ /** Data format for response. */
32360
+ alt?: string;
32361
+ /** JSONP */
32362
+ callback?: string;
32363
+ /** Selector specifying which fields to include in a partial response. */
32364
+ fields?: string;
32365
+ /** 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. */
32366
+ key?: string;
32367
+ /** OAuth 2.0 token for the current user. */
32368
+ oauth_token?: string;
32369
+ /** Optional. The maximum number of events to return. The service may return fewer than this value. If unspecified, at most 100 events will be returned. */
32370
+ pageSize?: number;
32371
+ /** Optional. The next_page_token value returned from a previous list SessionService.ListEvents call. */
32372
+ pageToken?: string;
32373
+ /** Required. The resource name of the session to list events from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` */
32374
+ parent: string;
32375
+ /** Returns response with indentations and line breaks. */
32376
+ prettyPrint?: boolean;
32377
+ /** 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. */
32378
+ quotaUser?: string;
32379
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32380
+ upload_protocol?: string;
32381
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32382
+ uploadType?: string;
32383
+ }): Request<GoogleCloudAiplatformV1beta1ListEventsResponse>;
32384
+ }
32385
+ interface SessionsResource {
32386
+ /** Appends an event to a given session. */
32387
+ appendEvent(request: {
32388
+ /** V1 error format. */
32389
+ '$.xgafv'?: string;
32390
+ /** OAuth access token. */
32391
+ access_token?: string;
32392
+ /** Data format for response. */
32393
+ alt?: string;
32394
+ /** JSONP */
32395
+ callback?: string;
32396
+ /** Selector specifying which fields to include in a partial response. */
32397
+ fields?: string;
32398
+ /** 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. */
32399
+ key?: string;
32400
+ /** Required. The resource name of the session to append event to. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` */
32401
+ name: string;
32402
+ /** OAuth 2.0 token for the current user. */
32403
+ oauth_token?: string;
32404
+ /** Returns response with indentations and line breaks. */
32405
+ prettyPrint?: boolean;
32406
+ /** 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. */
32407
+ quotaUser?: string;
32408
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32409
+ upload_protocol?: string;
32410
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32411
+ uploadType?: string;
32412
+ /** Request body */
32413
+ resource: GoogleCloudAiplatformV1beta1SessionEvent;
32414
+ }): Request<{}>;
32415
+ appendEvent(
32416
+ request: {
32417
+ /** V1 error format. */
32418
+ '$.xgafv'?: string;
32419
+ /** OAuth access token. */
32420
+ access_token?: string;
32421
+ /** Data format for response. */
32422
+ alt?: string;
32423
+ /** JSONP */
32424
+ callback?: string;
32425
+ /** Selector specifying which fields to include in a partial response. */
32426
+ fields?: string;
32427
+ /** 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. */
32428
+ key?: string;
32429
+ /** Required. The resource name of the session to append event to. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` */
32430
+ name: string;
32431
+ /** OAuth 2.0 token for the current user. */
32432
+ oauth_token?: string;
32433
+ /** Returns response with indentations and line breaks. */
32434
+ prettyPrint?: boolean;
32435
+ /** 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. */
32436
+ quotaUser?: string;
32437
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32438
+ upload_protocol?: string;
32439
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32440
+ uploadType?: string;
32441
+ },
32442
+ body: GoogleCloudAiplatformV1beta1SessionEvent,
32443
+ ): Request<{}>;
32444
+ /** Creates a new Session in a given project and location. */
32445
+ create(request: {
32446
+ /** V1 error format. */
32447
+ '$.xgafv'?: string;
32448
+ /** OAuth access token. */
32449
+ access_token?: string;
32450
+ /** Data format for response. */
32451
+ alt?: string;
32452
+ /** JSONP */
32453
+ callback?: string;
32454
+ /** Selector specifying which fields to include in a partial response. */
32455
+ fields?: string;
32456
+ /** 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. */
32457
+ key?: string;
32458
+ /** OAuth 2.0 token for the current user. */
32459
+ oauth_token?: string;
32460
+ /** Required. The resource name of the location to create the session in. Format: `projects/{project}/locations/{location}` or `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
32461
+ parent: string;
32462
+ /** Returns response with indentations and line breaks. */
32463
+ prettyPrint?: boolean;
32464
+ /** 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. */
32465
+ quotaUser?: string;
32466
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32467
+ upload_protocol?: string;
32468
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32469
+ uploadType?: string;
32470
+ /** Request body */
32471
+ resource: GoogleCloudAiplatformV1beta1Session;
32472
+ }): Request<GoogleLongrunningOperation>;
32473
+ create(
32474
+ request: {
32475
+ /** V1 error format. */
32476
+ '$.xgafv'?: string;
32477
+ /** OAuth access token. */
32478
+ access_token?: string;
32479
+ /** Data format for response. */
32480
+ alt?: string;
32481
+ /** JSONP */
32482
+ callback?: string;
32483
+ /** Selector specifying which fields to include in a partial response. */
32484
+ fields?: string;
32485
+ /** 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. */
32486
+ key?: string;
32487
+ /** OAuth 2.0 token for the current user. */
32488
+ oauth_token?: string;
32489
+ /** Required. The resource name of the location to create the session in. Format: `projects/{project}/locations/{location}` or `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
32490
+ parent: string;
32491
+ /** Returns response with indentations and line breaks. */
32492
+ prettyPrint?: boolean;
32493
+ /** 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. */
32494
+ quotaUser?: string;
32495
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32496
+ upload_protocol?: string;
32497
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32498
+ uploadType?: string;
32499
+ },
32500
+ body: GoogleCloudAiplatformV1beta1Session,
32501
+ ): Request<GoogleLongrunningOperation>;
32502
+ /** Deletes details of the specific Session. */
32503
+ delete(request?: {
32504
+ /** V1 error format. */
32505
+ '$.xgafv'?: string;
32506
+ /** OAuth access token. */
32507
+ access_token?: string;
32508
+ /** Data format for response. */
32509
+ alt?: string;
32510
+ /** JSONP */
32511
+ callback?: string;
32512
+ /** Selector specifying which fields to include in a partial response. */
32513
+ fields?: string;
32514
+ /** 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. */
32515
+ key?: string;
32516
+ /** Required. The resource name of the session. Format: `projects/{project}/locations/{location}/sessions/{session}` or `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` */
32517
+ name: string;
32518
+ /** OAuth 2.0 token for the current user. */
32519
+ oauth_token?: string;
32520
+ /** Returns response with indentations and line breaks. */
32521
+ prettyPrint?: boolean;
32522
+ /** 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. */
32523
+ quotaUser?: string;
32524
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32525
+ upload_protocol?: string;
32526
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32527
+ uploadType?: string;
32528
+ }): Request<GoogleLongrunningOperation>;
32529
+ /** Gets details of the specific Session. */
32530
+ get(request?: {
32531
+ /** V1 error format. */
32532
+ '$.xgafv'?: string;
32533
+ /** OAuth access token. */
32534
+ access_token?: string;
32535
+ /** Data format for response. */
32536
+ alt?: string;
32537
+ /** JSONP */
32538
+ callback?: string;
32539
+ /** Selector specifying which fields to include in a partial response. */
32540
+ fields?: string;
32541
+ /** 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. */
32542
+ key?: string;
32543
+ /** Required. The resource name of the session. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` */
32544
+ name: string;
32545
+ /** OAuth 2.0 token for the current user. */
32546
+ oauth_token?: string;
32547
+ /** Returns response with indentations and line breaks. */
32548
+ prettyPrint?: boolean;
32549
+ /** 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. */
32550
+ quotaUser?: string;
32551
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32552
+ upload_protocol?: string;
32553
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32554
+ uploadType?: string;
32555
+ }): Request<GoogleCloudAiplatformV1beta1Session>;
32556
+ /** Lists Sessions in a given project and location. */
32557
+ list(request?: {
32558
+ /** V1 error format. */
32559
+ '$.xgafv'?: string;
32560
+ /** OAuth access token. */
32561
+ access_token?: string;
32562
+ /** Data format for response. */
32563
+ alt?: string;
32564
+ /** JSONP */
32565
+ callback?: string;
32566
+ /** Selector specifying which fields to include in a partial response. */
32567
+ fields?: string;
32568
+ /** Optional. The standard list filter. Supported fields: * `display_name` Example: `display_name=abc`. */
32569
+ filter?: string;
32570
+ /** 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. */
32571
+ key?: string;
32572
+ /** OAuth 2.0 token for the current user. */
32573
+ oauth_token?: string;
32574
+ /** Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `create_time` * `update_time` Example: `create_time desc`. */
32575
+ orderBy?: string;
32576
+ /** Optional. The maximum number of sessions to return. The service may return fewer than this value. If unspecified, at most 100 sessions will be returned. */
32577
+ pageSize?: number;
32578
+ /** Optional. The next_page_token value returned from a previous list SessionService.ListSessions call. */
32579
+ pageToken?: string;
32580
+ /** Required. The resource name of the location to list sessions from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
32581
+ parent: string;
32582
+ /** Returns response with indentations and line breaks. */
32583
+ prettyPrint?: boolean;
32584
+ /** 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. */
32585
+ quotaUser?: string;
32586
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32587
+ upload_protocol?: string;
32588
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32589
+ uploadType?: string;
32590
+ }): Request<GoogleCloudAiplatformV1beta1ListSessionsResponse>;
32591
+ /** Updates the specific Session. */
32592
+ patch(request: {
32593
+ /** V1 error format. */
32594
+ '$.xgafv'?: string;
32595
+ /** OAuth access token. */
32596
+ access_token?: string;
32597
+ /** Data format for response. */
32598
+ alt?: string;
32599
+ /** JSONP */
32600
+ callback?: string;
32601
+ /** Selector specifying which fields to include in a partial response. */
32602
+ fields?: string;
32603
+ /** 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. */
32604
+ key?: string;
32605
+ /** Required. Identifier. The resource name of the session. Format: 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'. */
32606
+ name: string;
32607
+ /** OAuth 2.0 token for the current user. */
32608
+ oauth_token?: string;
32609
+ /** Returns response with indentations and line breaks. */
32610
+ prettyPrint?: boolean;
32611
+ /** 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. */
32612
+ quotaUser?: string;
32613
+ /** Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated. */
32614
+ updateMask?: string;
32615
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32616
+ upload_protocol?: string;
32617
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32618
+ uploadType?: string;
32619
+ /** Request body */
32620
+ resource: GoogleCloudAiplatformV1beta1Session;
32621
+ }): Request<GoogleCloudAiplatformV1beta1Session>;
32622
+ patch(
32623
+ request: {
32624
+ /** V1 error format. */
32625
+ '$.xgafv'?: string;
32626
+ /** OAuth access token. */
32627
+ access_token?: string;
32628
+ /** Data format for response. */
32629
+ alt?: string;
32630
+ /** JSONP */
32631
+ callback?: string;
32632
+ /** Selector specifying which fields to include in a partial response. */
32633
+ fields?: string;
32634
+ /** 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. */
32635
+ key?: string;
32636
+ /** Required. Identifier. The resource name of the session. Format: 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'. */
32637
+ name: string;
32638
+ /** OAuth 2.0 token for the current user. */
32639
+ oauth_token?: string;
32640
+ /** Returns response with indentations and line breaks. */
32641
+ prettyPrint?: boolean;
32642
+ /** 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. */
32643
+ quotaUser?: string;
32644
+ /** Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated. */
32645
+ updateMask?: string;
32646
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
32647
+ upload_protocol?: string;
32648
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
32649
+ uploadType?: string;
32650
+ },
32651
+ body: GoogleCloudAiplatformV1beta1Session,
32652
+ ): Request<GoogleCloudAiplatformV1beta1Session>;
32653
+ events: EventsResource;
32654
+ }
31453
32655
  interface ReasoningEnginesResource {
31454
32656
  /** Creates a reasoning engine. */
31455
32657
  create(request: {
@@ -31521,6 +32723,8 @@ declare namespace gapi.client {
31521
32723
  callback?: string;
31522
32724
  /** Selector specifying which fields to include in a partial response. */
31523
32725
  fields?: string;
32726
+ /** Optional. If set to true, child resources of this reasoning engine will also be deleted. Otherwise, the request will fail with FAILED_PRECONDITION error when the reasoning engine has undeleted child resources. */
32727
+ force?: boolean;
31524
32728
  /** 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. */
31525
32729
  key?: string;
31526
32730
  /** Required. The name of the ReasoningEngine resource to be deleted. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
@@ -31775,6 +32979,7 @@ declare namespace gapi.client {
31775
32979
  body: GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest,
31776
32980
  ): Request<GoogleApiHttpBody>;
31777
32981
  operations: OperationsResource;
32982
+ sessions: SessionsResource;
31778
32983
  }
31779
32984
  interface OperationsResource {
31780
32985
  /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
@@ -32249,6 +33454,217 @@ declare namespace gapi.client {
32249
33454
  ): Request<{}>;
32250
33455
  operations: OperationsResource;
32251
33456
  }
33457
+ interface SessionsResource {
33458
+ /** Creates a new Session in a given project and location. */
33459
+ create(request: {
33460
+ /** V1 error format. */
33461
+ '$.xgafv'?: string;
33462
+ /** OAuth access token. */
33463
+ access_token?: string;
33464
+ /** Data format for response. */
33465
+ alt?: string;
33466
+ /** JSONP */
33467
+ callback?: string;
33468
+ /** Selector specifying which fields to include in a partial response. */
33469
+ fields?: string;
33470
+ /** 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. */
33471
+ key?: string;
33472
+ /** OAuth 2.0 token for the current user. */
33473
+ oauth_token?: string;
33474
+ /** Required. The resource name of the location to create the session in. Format: `projects/{project}/locations/{location}` or `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
33475
+ parent: string;
33476
+ /** Returns response with indentations and line breaks. */
33477
+ prettyPrint?: boolean;
33478
+ /** 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. */
33479
+ quotaUser?: string;
33480
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33481
+ upload_protocol?: string;
33482
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33483
+ uploadType?: string;
33484
+ /** Request body */
33485
+ resource: GoogleCloudAiplatformV1beta1Session;
33486
+ }): Request<GoogleLongrunningOperation>;
33487
+ create(
33488
+ request: {
33489
+ /** V1 error format. */
33490
+ '$.xgafv'?: string;
33491
+ /** OAuth access token. */
33492
+ access_token?: string;
33493
+ /** Data format for response. */
33494
+ alt?: string;
33495
+ /** JSONP */
33496
+ callback?: string;
33497
+ /** Selector specifying which fields to include in a partial response. */
33498
+ fields?: string;
33499
+ /** 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. */
33500
+ key?: string;
33501
+ /** OAuth 2.0 token for the current user. */
33502
+ oauth_token?: string;
33503
+ /** Required. The resource name of the location to create the session in. Format: `projects/{project}/locations/{location}` or `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
33504
+ parent: string;
33505
+ /** Returns response with indentations and line breaks. */
33506
+ prettyPrint?: boolean;
33507
+ /** 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. */
33508
+ quotaUser?: string;
33509
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33510
+ upload_protocol?: string;
33511
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33512
+ uploadType?: string;
33513
+ },
33514
+ body: GoogleCloudAiplatformV1beta1Session,
33515
+ ): Request<GoogleLongrunningOperation>;
33516
+ /** Deletes details of the specific Session. */
33517
+ delete(request?: {
33518
+ /** V1 error format. */
33519
+ '$.xgafv'?: string;
33520
+ /** OAuth access token. */
33521
+ access_token?: string;
33522
+ /** Data format for response. */
33523
+ alt?: string;
33524
+ /** JSONP */
33525
+ callback?: string;
33526
+ /** Selector specifying which fields to include in a partial response. */
33527
+ fields?: string;
33528
+ /** 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. */
33529
+ key?: string;
33530
+ /** Required. The resource name of the session. Format: `projects/{project}/locations/{location}/sessions/{session}` or `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` */
33531
+ name: string;
33532
+ /** OAuth 2.0 token for the current user. */
33533
+ oauth_token?: string;
33534
+ /** Returns response with indentations and line breaks. */
33535
+ prettyPrint?: boolean;
33536
+ /** 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. */
33537
+ quotaUser?: string;
33538
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33539
+ upload_protocol?: string;
33540
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33541
+ uploadType?: string;
33542
+ }): Request<GoogleLongrunningOperation>;
33543
+ /** Gets details of the specific Session. */
33544
+ get(request?: {
33545
+ /** V1 error format. */
33546
+ '$.xgafv'?: string;
33547
+ /** OAuth access token. */
33548
+ access_token?: string;
33549
+ /** Data format for response. */
33550
+ alt?: string;
33551
+ /** JSONP */
33552
+ callback?: string;
33553
+ /** Selector specifying which fields to include in a partial response. */
33554
+ fields?: string;
33555
+ /** 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. */
33556
+ key?: string;
33557
+ /** Required. The resource name of the session. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` */
33558
+ name: string;
33559
+ /** OAuth 2.0 token for the current user. */
33560
+ oauth_token?: string;
33561
+ /** Returns response with indentations and line breaks. */
33562
+ prettyPrint?: boolean;
33563
+ /** 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. */
33564
+ quotaUser?: string;
33565
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33566
+ upload_protocol?: string;
33567
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33568
+ uploadType?: string;
33569
+ }): Request<GoogleCloudAiplatformV1beta1Session>;
33570
+ /** Lists Sessions in a given project and location. */
33571
+ list(request?: {
33572
+ /** V1 error format. */
33573
+ '$.xgafv'?: string;
33574
+ /** OAuth access token. */
33575
+ access_token?: string;
33576
+ /** Data format for response. */
33577
+ alt?: string;
33578
+ /** JSONP */
33579
+ callback?: string;
33580
+ /** Selector specifying which fields to include in a partial response. */
33581
+ fields?: string;
33582
+ /** Optional. The standard list filter. Supported fields: * `display_name` Example: `display_name=abc`. */
33583
+ filter?: string;
33584
+ /** 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. */
33585
+ key?: string;
33586
+ /** OAuth 2.0 token for the current user. */
33587
+ oauth_token?: string;
33588
+ /** Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `create_time` * `update_time` Example: `create_time desc`. */
33589
+ orderBy?: string;
33590
+ /** Optional. The maximum number of sessions to return. The service may return fewer than this value. If unspecified, at most 100 sessions will be returned. */
33591
+ pageSize?: number;
33592
+ /** Optional. The next_page_token value returned from a previous list SessionService.ListSessions call. */
33593
+ pageToken?: string;
33594
+ /** Required. The resource name of the location to list sessions from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
33595
+ parent: string;
33596
+ /** Returns response with indentations and line breaks. */
33597
+ prettyPrint?: boolean;
33598
+ /** 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. */
33599
+ quotaUser?: string;
33600
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33601
+ upload_protocol?: string;
33602
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33603
+ uploadType?: string;
33604
+ }): Request<GoogleCloudAiplatformV1beta1ListSessionsResponse>;
33605
+ /** Updates the specific Session. */
33606
+ patch(request: {
33607
+ /** V1 error format. */
33608
+ '$.xgafv'?: string;
33609
+ /** OAuth access token. */
33610
+ access_token?: string;
33611
+ /** Data format for response. */
33612
+ alt?: string;
33613
+ /** JSONP */
33614
+ callback?: string;
33615
+ /** Selector specifying which fields to include in a partial response. */
33616
+ fields?: string;
33617
+ /** 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. */
33618
+ key?: string;
33619
+ /** Required. Identifier. The resource name of the session. Format: 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'. */
33620
+ name: string;
33621
+ /** OAuth 2.0 token for the current user. */
33622
+ oauth_token?: string;
33623
+ /** Returns response with indentations and line breaks. */
33624
+ prettyPrint?: boolean;
33625
+ /** 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. */
33626
+ quotaUser?: string;
33627
+ /** Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated. */
33628
+ updateMask?: string;
33629
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33630
+ upload_protocol?: string;
33631
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33632
+ uploadType?: string;
33633
+ /** Request body */
33634
+ resource: GoogleCloudAiplatformV1beta1Session;
33635
+ }): Request<GoogleCloudAiplatformV1beta1Session>;
33636
+ patch(
33637
+ request: {
33638
+ /** V1 error format. */
33639
+ '$.xgafv'?: string;
33640
+ /** OAuth access token. */
33641
+ access_token?: string;
33642
+ /** Data format for response. */
33643
+ alt?: string;
33644
+ /** JSONP */
33645
+ callback?: string;
33646
+ /** Selector specifying which fields to include in a partial response. */
33647
+ fields?: string;
33648
+ /** 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. */
33649
+ key?: string;
33650
+ /** Required. Identifier. The resource name of the session. Format: 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'. */
33651
+ name: string;
33652
+ /** OAuth 2.0 token for the current user. */
33653
+ oauth_token?: string;
33654
+ /** Returns response with indentations and line breaks. */
33655
+ prettyPrint?: boolean;
33656
+ /** 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. */
33657
+ quotaUser?: string;
33658
+ /** Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated. */
33659
+ updateMask?: string;
33660
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33661
+ upload_protocol?: string;
33662
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33663
+ uploadType?: string;
33664
+ },
33665
+ body: GoogleCloudAiplatformV1beta1Session,
33666
+ ): Request<GoogleCloudAiplatformV1beta1Session>;
33667
+ }
32252
33668
  interface OperationsResource {
32253
33669
  /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
32254
33670
  delete(request?: {
@@ -36576,6 +37992,8 @@ declare namespace gapi.client {
36576
37992
  alt?: string;
36577
37993
  /** JSONP */
36578
37994
  callback?: string;
37995
+ /** Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations. */
37996
+ extraLocationTypes?: string | string[];
36579
37997
  /** Selector specifying which fields to include in a partial response. */
36580
37998
  fields?: string;
36581
37999
  /** A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160). */
@@ -36693,6 +38111,7 @@ declare namespace gapi.client {
36693
38111
  ragCorpora: RagCorporaResource;
36694
38112
  reasoningEngines: ReasoningEnginesResource;
36695
38113
  schedules: SchedulesResource;
38114
+ sessions: SessionsResource;
36696
38115
  solvers: SolversResource;
36697
38116
  specialistPools: SpecialistPoolsResource;
36698
38117
  studies: StudiesResource;
@@ -36700,6 +38119,124 @@ declare namespace gapi.client {
36700
38119
  trainingPipelines: TrainingPipelinesResource;
36701
38120
  tuningJobs: TuningJobsResource;
36702
38121
  }
38122
+ interface ModelGardenEulaResource {
38123
+ /** Accepts the EULA acceptance status of a publisher model. */
38124
+ accept(request: {
38125
+ /** V1 error format. */
38126
+ '$.xgafv'?: string;
38127
+ /** OAuth access token. */
38128
+ access_token?: string;
38129
+ /** Data format for response. */
38130
+ alt?: string;
38131
+ /** JSONP */
38132
+ callback?: string;
38133
+ /** Selector specifying which fields to include in a partial response. */
38134
+ fields?: string;
38135
+ /** 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. */
38136
+ key?: string;
38137
+ /** OAuth 2.0 token for the current user. */
38138
+ oauth_token?: string;
38139
+ /** Required. The project requesting access for named model. The format is `projects/{project}`. */
38140
+ parent: string;
38141
+ /** Returns response with indentations and line breaks. */
38142
+ prettyPrint?: boolean;
38143
+ /** 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. */
38144
+ quotaUser?: string;
38145
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
38146
+ upload_protocol?: string;
38147
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
38148
+ uploadType?: string;
38149
+ /** Request body */
38150
+ resource: GoogleCloudAiplatformV1beta1AcceptPublisherModelEulaRequest;
38151
+ }): Request<GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptance>;
38152
+ accept(
38153
+ request: {
38154
+ /** V1 error format. */
38155
+ '$.xgafv'?: string;
38156
+ /** OAuth access token. */
38157
+ access_token?: string;
38158
+ /** Data format for response. */
38159
+ alt?: string;
38160
+ /** JSONP */
38161
+ callback?: string;
38162
+ /** Selector specifying which fields to include in a partial response. */
38163
+ fields?: string;
38164
+ /** 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. */
38165
+ key?: string;
38166
+ /** OAuth 2.0 token for the current user. */
38167
+ oauth_token?: string;
38168
+ /** Required. The project requesting access for named model. The format is `projects/{project}`. */
38169
+ parent: string;
38170
+ /** Returns response with indentations and line breaks. */
38171
+ prettyPrint?: boolean;
38172
+ /** 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. */
38173
+ quotaUser?: string;
38174
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
38175
+ upload_protocol?: string;
38176
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
38177
+ uploadType?: string;
38178
+ },
38179
+ body: GoogleCloudAiplatformV1beta1AcceptPublisherModelEulaRequest,
38180
+ ): Request<GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptance>;
38181
+ /** Checks the EULA acceptance status of a publisher model. */
38182
+ check(request: {
38183
+ /** V1 error format. */
38184
+ '$.xgafv'?: string;
38185
+ /** OAuth access token. */
38186
+ access_token?: string;
38187
+ /** Data format for response. */
38188
+ alt?: string;
38189
+ /** JSONP */
38190
+ callback?: string;
38191
+ /** Selector specifying which fields to include in a partial response. */
38192
+ fields?: string;
38193
+ /** 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. */
38194
+ key?: string;
38195
+ /** OAuth 2.0 token for the current user. */
38196
+ oauth_token?: string;
38197
+ /** Required. The project requesting access for named model. The format is `projects/{project}`. */
38198
+ parent: string;
38199
+ /** Returns response with indentations and line breaks. */
38200
+ prettyPrint?: boolean;
38201
+ /** 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. */
38202
+ quotaUser?: string;
38203
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
38204
+ upload_protocol?: string;
38205
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
38206
+ uploadType?: string;
38207
+ /** Request body */
38208
+ resource: GoogleCloudAiplatformV1beta1CheckPublisherModelEulaAcceptanceRequest;
38209
+ }): Request<GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptance>;
38210
+ check(
38211
+ request: {
38212
+ /** V1 error format. */
38213
+ '$.xgafv'?: string;
38214
+ /** OAuth access token. */
38215
+ access_token?: string;
38216
+ /** Data format for response. */
38217
+ alt?: string;
38218
+ /** JSONP */
38219
+ callback?: string;
38220
+ /** Selector specifying which fields to include in a partial response. */
38221
+ fields?: string;
38222
+ /** 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. */
38223
+ key?: string;
38224
+ /** OAuth 2.0 token for the current user. */
38225
+ oauth_token?: string;
38226
+ /** Required. The project requesting access for named model. The format is `projects/{project}`. */
38227
+ parent: string;
38228
+ /** Returns response with indentations and line breaks. */
38229
+ prettyPrint?: boolean;
38230
+ /** 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. */
38231
+ quotaUser?: string;
38232
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
38233
+ upload_protocol?: string;
38234
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
38235
+ uploadType?: string;
38236
+ },
38237
+ body: GoogleCloudAiplatformV1beta1CheckPublisherModelEulaAcceptanceRequest,
38238
+ ): Request<GoogleCloudAiplatformV1beta1PublisherModelEulaAcceptance>;
38239
+ }
36703
38240
  interface ProjectsResource {
36704
38241
  /** Gets a GenAI cache config. */
36705
38242
  getCacheConfig(request?: {
@@ -36787,6 +38324,7 @@ declare namespace gapi.client {
36787
38324
  body: GoogleCloudAiplatformV1beta1CacheConfig,
36788
38325
  ): Request<GoogleLongrunningOperation>;
36789
38326
  locations: LocationsResource;
38327
+ modelGardenEula: ModelGardenEulaResource;
36790
38328
  }
36791
38329
  interface ModelsResource {
36792
38330
  /** Return a list of tokens based on the input text. */