@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.3.20251028 → 0.4.20251101

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 (3) hide show
  1. package/index.d.ts +579 -126
  2. package/package.json +1 -1
  3. package/readme.md +5 -0
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: 20251028
12
+ // Revision: 20251101
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -208,6 +208,8 @@ declare namespace gapi.client {
208
208
  aggregationMetric?: string;
209
209
  /** Results for bleu metric. */
210
210
  bleuMetricValue?: GoogleCloudAiplatformV1beta1BleuMetricValue;
211
+ /** Result for code execution metric. */
212
+ customCodeExecutionResult?: GoogleCloudAiplatformV1beta1CustomCodeExecutionResult;
211
213
  /** Results for exact match metric. */
212
214
  exactMatchMetricValue?: GoogleCloudAiplatformV1beta1ExactMatchMetricValue;
213
215
  /** Result for pairwise metric. */
@@ -734,9 +736,9 @@ declare namespace gapi.client {
734
736
  useEffectiveOrder?: boolean;
735
737
  }
736
738
  interface GoogleCloudAiplatformV1beta1Blob {
737
- /** Required. Raw bytes. */
739
+ /** Required. The raw bytes of the data. */
738
740
  data?: string;
739
- /** Optional. Display name of the blob. Used to provide a label or filename to distinguish blobs. This field is only returned in PromptMessage for prompt management. It is currently used in the Gemini GenerateContent calls only when server side tools (code_execution, google_search, and url_context) are enabled. */
741
+ /** Optional. The display name of the blob. Used to provide a label or filename to distinguish blobs. This field is only returned in `PromptMessage` for prompt management. It is used in the Gemini calls only when server-side tools (`code_execution`, `google_search`, and `url_context`) are enabled. */
740
742
  displayName?: string;
741
743
  /** Required. The IANA standard MIME type of the source data. */
742
744
  mimeType?: string;
@@ -805,25 +807,25 @@ declare namespace gapi.client {
805
807
  interface GoogleCloudAiplatformV1beta1CancelTrainingPipelineRequest {}
806
808
  interface GoogleCloudAiplatformV1beta1CancelTuningJobRequest {}
807
809
  interface GoogleCloudAiplatformV1beta1Candidate {
808
- /** Output only. Average log probability score of the candidate. */
810
+ /** Output only. The average log probability of the tokens in this candidate. This is a length-normalized score that can be used to compare the quality of candidates of different lengths. A higher average log probability suggests a more confident and coherent response. */
809
811
  avgLogprobs?: number;
810
- /** Output only. Source attribution of the generated content. */
812
+ /** Output only. A collection of citations that apply to the generated content. */
811
813
  citationMetadata?: GoogleCloudAiplatformV1beta1CitationMetadata;
812
- /** Output only. Content parts of the candidate. */
814
+ /** Output only. The content of the candidate. */
813
815
  content?: GoogleCloudAiplatformV1beta1Content;
814
- /** Output only. Describes the reason the mode stopped generating tokens in more detail. This is only filled when `finish_reason` is set. */
816
+ /** Output only. Describes the reason the model stopped generating tokens in more detail. This field is returned only when `finish_reason` is set. */
815
817
  finishMessage?: string;
816
- /** Output only. The reason why the model stopped generating tokens. If empty, the model has not stopped generating the tokens. */
818
+ /** Output only. The reason why the model stopped generating tokens. If empty, the model has not stopped generating. */
817
819
  finishReason?: string;
818
- /** Output only. Metadata specifies sources used to ground generated content. */
820
+ /** Output only. Metadata returned when grounding is enabled. It contains the sources used to ground the generated content. */
819
821
  groundingMetadata?: GoogleCloudAiplatformV1beta1GroundingMetadata;
820
- /** Output only. Index of the candidate. */
822
+ /** Output only. The 0-based index of this candidate in the list of generated responses. This is useful for distinguishing between multiple candidates when `candidate_count` > 1. */
821
823
  index?: number;
822
- /** Output only. Log-likelihood scores for the response tokens and top tokens */
824
+ /** Output only. The detailed log probability information for the tokens in this candidate. This is useful for debugging, understanding model uncertainty, and identifying potential "hallucinations". */
823
825
  logprobsResult?: GoogleCloudAiplatformV1beta1LogprobsResult;
824
- /** Output only. List of ratings for the safety of a response candidate. There is at most one rating per category. */
826
+ /** Output only. A list of ratings for the safety of a response candidate. There is at most one rating per category. */
825
827
  safetyRatings?: GoogleCloudAiplatformV1beta1SafetyRating[];
826
- /** Output only. Metadata related to url context retrieval tool. */
828
+ /** Output only. Metadata returned when the model uses the `url_context` tool to get information from a user-provided URL. */
827
829
  urlContextMetadata?: GoogleCloudAiplatformV1beta1UrlContextMetadata;
828
830
  }
829
831
  interface GoogleCloudAiplatformV1beta1CandidateResponse {
@@ -884,21 +886,21 @@ declare namespace gapi.client {
884
886
  mimeType?: string;
885
887
  }
886
888
  interface GoogleCloudAiplatformV1beta1Citation {
887
- /** Output only. End index into the content. */
889
+ /** Output only. The end index of the citation in the content. */
888
890
  endIndex?: number;
889
- /** Output only. License of the attribution. */
891
+ /** Output only. The license of the source of the citation. */
890
892
  license?: string;
891
- /** Output only. Publication date of the attribution. */
893
+ /** Output only. The publication date of the source of the citation. */
892
894
  publicationDate?: GoogleTypeDate;
893
- /** Output only. Start index into the content. */
895
+ /** Output only. The start index of the citation in the content. */
894
896
  startIndex?: number;
895
- /** Output only. Title of the attribution. */
897
+ /** Output only. The title of the source of the citation. */
896
898
  title?: string;
897
- /** Output only. Url reference of the attribution. */
899
+ /** Output only. The URI of the source of the citation. */
898
900
  uri?: string;
899
901
  }
900
902
  interface GoogleCloudAiplatformV1beta1CitationMetadata {
901
- /** Output only. List of citations. */
903
+ /** Output only. A list of citations for the content. */
902
904
  citations?: GoogleCloudAiplatformV1beta1Citation[];
903
905
  }
904
906
  interface GoogleCloudAiplatformV1beta1Claim {
@@ -1020,9 +1022,9 @@ declare namespace gapi.client {
1020
1022
  imageUri?: string;
1021
1023
  }
1022
1024
  interface GoogleCloudAiplatformV1beta1Content {
1023
- /** Required. Ordered `Parts` that constitute a single message. Parts may have different IANA MIME types. */
1025
+ /** Required. A list of Part objects that make up a single message. Parts of a message can have different MIME types. A Content message must have at least one Part. */
1024
1026
  parts?: GoogleCloudAiplatformV1beta1Part[];
1025
- /** 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. */
1027
+ /** Optional. The producer of the content. Must be either 'user' or 'model'. If not set, the service will default to 'user'. */
1026
1028
  role?: string;
1027
1029
  }
1028
1030
  interface GoogleCloudAiplatformV1beta1ContentMap {
@@ -1291,6 +1293,14 @@ declare namespace gapi.client {
1291
1293
  /** Required. Google Cloud Storage location. */
1292
1294
  gcsSource?: GoogleCloudAiplatformV1beta1GcsSource;
1293
1295
  }
1296
+ interface GoogleCloudAiplatformV1beta1CustomCodeExecutionResult {
1297
+ /** Output only. Custom code execution score. */
1298
+ score?: number;
1299
+ }
1300
+ interface GoogleCloudAiplatformV1beta1CustomCodeExecutionSpec {
1301
+ /** Required. Python function. Expected user to define the following function, e.g.: def evaluate(instance: dict[str, Any]) -> float: Please include this function signature in the code snippet. Instance is the evaluation instance, any fields populated in the instance are available to the function as instance[field_name]. Example: Example input: ``` instance= EvaluationInstance( response=EvaluationInstance.InstanceData(text="The answer is 4."), reference=EvaluationInstance.InstanceData(text="4") ) ``` Example converted input: ``` { 'response': {'text': 'The answer is 4.'}, 'reference': {'text': '4'} } ``` Example python function: ``` def evaluate(instance: dict[str, Any]) -> float: if instance'response' == instance'reference': return 1.0 return 0.0 ``` CustomCodeExecutionSpec is also supported in Batch Evaluation (EvalDataset RPC) and Tuning Evaluation. Each line in the input jsonl file will be converted to dict[str, Any] and passed to the evaluation function. */
1302
+ evaluationFunction?: string;
1303
+ }
1294
1304
  interface GoogleCloudAiplatformV1beta1CustomJob {
1295
1305
  /** Output only. Time when the CustomJob was created. */
1296
1306
  createTime?: string;
@@ -2295,8 +2305,6 @@ declare namespace gapi.client {
2295
2305
  developerInstruction?: GoogleCloudAiplatformV1beta1EvaluationInstanceInstanceData;
2296
2306
  /** A list of events. */
2297
2307
  events?: GoogleCloudAiplatformV1beta1EvaluationInstanceAgentDataEvents;
2298
- /** A JSON string containing a sequence of events. */
2299
- eventsText?: string;
2300
2308
  /** List of tools. */
2301
2309
  tools?: GoogleCloudAiplatformV1beta1EvaluationInstanceAgentDataTools;
2302
2310
  /** A JSON string containing a list of tools available to an agent with info such as name, description, parameters and required parameters. Example: [ { "name": "search_actors", "description": "Search for actors in a movie. Returns a list of actors, their roles, their birthdate, and their place of birth.", "parameters": [ { "name": "movie_name", "description": "The name of the movie." }, { "name": "character_name", "description": "The name of the character." } ], "required": ["movie_name", "character_name"] } ] */
@@ -2695,6 +2703,14 @@ declare namespace gapi.client {
2695
2703
  /** Required. Programming language of the `code`. */
2696
2704
  language?: string;
2697
2705
  }
2706
+ interface GoogleCloudAiplatformV1beta1ExecuteCodeRequest {
2707
+ /** Required. The inputs used for the stateless code execution. */
2708
+ inputs?: GoogleCloudAiplatformV1beta1Chunk[];
2709
+ }
2710
+ interface GoogleCloudAiplatformV1beta1ExecuteCodeResponse {
2711
+ /** The outputs from the sandbox environment. */
2712
+ outputs?: GoogleCloudAiplatformV1beta1Chunk[];
2713
+ }
2698
2714
  interface GoogleCloudAiplatformV1beta1ExecuteExtensionRequest {
2699
2715
  /** Required. The desired ID of the operation to be executed in this extension as defined in ExtensionOperation.operation_id. */
2700
2716
  operationId?: string;
@@ -3680,9 +3696,9 @@ declare namespace gapi.client {
3680
3696
  operationName?: string;
3681
3697
  }
3682
3698
  interface GoogleCloudAiplatformV1beta1FileData {
3683
- /** Optional. Display name of the file data. Used to provide a label or filename to distinguish file datas. This field is only returned in PromptMessage for prompt management. It is currently used in the Gemini GenerateContent calls only when server side tools (code_execution, google_search, and url_context) are enabled. */
3699
+ /** Optional. The display name of the file. Used to provide a label or filename to distinguish files. This field is only returned in `PromptMessage` for prompt management. It is used in the Gemini calls only when server side tools (`code_execution`, `google_search`, and `url_context`) are enabled. */
3684
3700
  displayName?: string;
3685
- /** Required. URI. */
3701
+ /** Required. The URI of the file in Google Cloud Storage. */
3686
3702
  fileUri?: string;
3687
3703
  /** Required. The IANA standard MIME type of the source data. */
3688
3704
  mimeType?: string;
@@ -4115,51 +4131,51 @@ declare namespace gapi.client {
4115
4131
  mimeType?: string;
4116
4132
  }
4117
4133
  interface GoogleCloudAiplatformV1beta1GenerationConfig {
4118
- /** Optional. If enabled, audio timestamp will be included in the request to the model. */
4134
+ /** Optional. If enabled, audio timestamps will be included in the request to the model. This can be useful for synchronizing audio with other modalities in the response. */
4119
4135
  audioTimestamp?: boolean;
4120
- /** Optional. Number of candidates to generate. */
4136
+ /** Optional. The number of candidate responses to generate. A higher `candidate_count` can provide more options to choose from, but it also consumes more resources. This can be useful for generating a variety of responses and selecting the best one. */
4121
4137
  candidateCount?: number;
4122
- /** Optional. If enabled, the model will detect emotions and adapt its responses accordingly. */
4138
+ /** Optional. If enabled, the model will detect emotions and adapt its responses accordingly. For example, if the model detects that the user is frustrated, it may provide a more empathetic response. */
4123
4139
  enableAffectiveDialog?: boolean;
4124
- /** Optional. Frequency penalties. */
4140
+ /** Optional. Penalizes tokens based on their frequency in the generated text. A positive value helps to reduce the repetition of words and phrases. Valid values can range from [-2.0, 2.0]. */
4125
4141
  frequencyPenalty?: number;
4126
4142
  /** Optional. Config for image generation features. */
4127
4143
  imageConfig?: GoogleCloudAiplatformV1beta1ImageConfig;
4128
- /** Optional. Logit probabilities. */
4144
+ /** Optional. The number of top log probabilities to return for each token. This can be used to see which other tokens were considered likely candidates for a given position. A higher value will return more options, but it will also increase the size of the response. */
4129
4145
  logprobs?: number;
4130
- /** Optional. The maximum number of output tokens to generate per message. */
4146
+ /** Optional. The maximum number of tokens to generate in the response. A token is approximately four characters. The default value varies by model. This parameter can be used to control the length of the generated text and prevent overly long responses. */
4131
4147
  maxOutputTokens?: number;
4132
- /** Optional. If specified, the media resolution specified will be used. */
4148
+ /** Optional. The token resolution at which input media content is sampled. This is used to control the trade-off between the quality of the response and the number of tokens used to represent the media. A higher resolution allows the model to perceive more detail, which can lead to a more nuanced response, but it will also use more tokens. This does not affect the image dimensions sent to the model. */
4133
4149
  mediaResolution?: string;
4134
4150
  /** Optional. Config for model selection. */
4135
4151
  modelConfig?: GoogleCloudAiplatformV1beta1GenerationConfigModelConfig;
4136
- /** Optional. Positive penalties. */
4152
+ /** Optional. Penalizes tokens that have already appeared in the generated text. A positive value encourages the model to generate more diverse and less repetitive text. Valid values can range from [-2.0, 2.0]. */
4137
4153
  presencePenalty?: number;
4138
- /** Optional. Output schema of the generated response. This is an alternative to `response_schema` that accepts [JSON Schema](https://json-schema.org/). If set, `response_schema` must be omitted, but `response_mime_type` is required. While the full JSON Schema may be sent, not all features are supported. Specifically, only the following properties are supported: - `$id` - `$defs` - `$ref` - `$anchor` - `type` - `format` - `title` - `description` - `enum` (for strings and numbers) - `items` - `prefixItems` - `minItems` - `maxItems` - `minimum` - `maximum` - `anyOf` - `oneOf` (interpreted the same as `anyOf`) - `properties` - `additionalProperties` - `required` The non-standard `propertyOrdering` property may also be set. Cyclic references are unrolled to a limited degree and, as such, may only be used within non-required properties. (Nullable properties are not sufficient.) If `$ref` is set on a sub-schema, no other properties, except for than those starting as a `$`, may be set. */
4154
+ /** Optional. When this field is set, response_schema must be omitted and response_mime_type must be set to `application/json`. */
4139
4155
  responseJsonSchema?: any;
4140
- /** Optional. If true, export the logprobs results in response. */
4156
+ /** Optional. If set to true, the log probabilities of the output tokens are returned. Log probabilities are the logarithm of the probability of a token appearing in the output. A higher log probability means the token is more likely to be generated. This can be useful for analyzing the model's confidence in its own output and for debugging. */
4141
4157
  responseLogprobs?: boolean;
4142
- /** Optional. Output response mimetype of the generated candidate text. Supported mimetype: - `text/plain`: (default) Text output. - `application/json`: JSON response in the candidates. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. */
4158
+ /** Optional. The IANA standard MIME type of the response. The model will generate output that conforms to this MIME type. Supported values include 'text/plain' (default) and 'application/json'. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. */
4143
4159
  responseMimeType?: string;
4144
- /** Optional. The modalities of the response. */
4160
+ /** Optional. The modalities of the response. The model will generate a response that includes all the specified modalities. For example, if this is set to `[TEXT, IMAGE]`, the response will include both text and an image. */
4145
4161
  responseModalities?: string[];
4146
- /** Optional. The `Schema` object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema). If set, a compatible response_mime_type must also be set. Compatible mimetypes: `application/json`: Schema for JSON response. */
4162
+ /** Optional. Lets you to specify a schema for the model's response, ensuring that the output conforms to a particular structure. This is useful for generating structured data such as JSON. The schema is a subset of the [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema) object. When this field is set, you must also set the `response_mime_type` to `application/json`. */
4147
4163
  responseSchema?: GoogleCloudAiplatformV1beta1Schema;
4148
4164
  /** Optional. Routing configuration. */
4149
4165
  routingConfig?: GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig;
4150
- /** Optional. Seed. */
4166
+ /** Optional. A seed for the random number generator. By setting a seed, you can make the model's output mostly deterministic. For a given prompt and parameters (like temperature, top_p, etc.), the model will produce the same response every time. However, it's not a guaranteed absolute deterministic behavior. This is different from parameters like `temperature`, which control the *level* of randomness. `seed` ensures that the "random" choices the model makes are the same on every run, making it essential for testing and ensuring reproducible results. */
4151
4167
  seed?: number;
4152
4168
  /** Optional. The speech generation config. */
4153
4169
  speechConfig?: GoogleCloudAiplatformV1beta1SpeechConfig;
4154
- /** Optional. Stop sequences. */
4170
+ /** Optional. A list of character sequences that will stop the model from generating further tokens. If a stop sequence is generated, the output will end at that point. This is useful for controlling the length and structure of the output. For example, you can use ["\n", "###"] to stop generation at a new line or a specific marker. */
4155
4171
  stopSequences?: string[];
4156
- /** Optional. Controls the randomness of predictions. */
4172
+ /** Optional. Controls the randomness of the output. A higher temperature results in more creative and diverse responses, while a lower temperature makes the output more predictable and focused. The valid range is (0.0, 2.0]. */
4157
4173
  temperature?: number;
4158
- /** Optional. Config for thinking features. An error will be returned if this field is set for models that don't support thinking. */
4174
+ /** Optional. Configuration for thinking features. An error will be returned if this field is set for models that don't support thinking. */
4159
4175
  thinkingConfig?: GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig;
4160
- /** Optional. If specified, top-k sampling will be used. */
4176
+ /** Optional. Specifies the top-k sampling threshold. The model considers only the top k most probable tokens for the next token. This can be useful for generating more coherent and less random text. For example, a `top_k` of 40 means the model will choose the next word from the 40 most likely words. */
4161
4177
  topK?: number;
4162
- /** Optional. If specified, nucleus sampling will be used. */
4178
+ /** Optional. Specifies the nucleus sampling threshold. The model considers only the smallest set of tokens whose cumulative probability is at least `top_p`. This helps generate more diverse and less repetitive responses. For example, a `top_p` of 0.9 means the model considers tokens until the cumulative probability of the tokens to select from reaches 0.9. It's recommended to adjust either temperature or `top_p`, but not both. */
4163
4179
  topP?: number;
4164
4180
  }
4165
4181
  interface GoogleCloudAiplatformV1beta1GenerationConfigModelConfig {
@@ -4167,9 +4183,9 @@ declare namespace gapi.client {
4167
4183
  featureSelectionPreference?: string;
4168
4184
  }
4169
4185
  interface GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig {
4170
- /** Automated routing. */
4186
+ /** In this mode, the model is selected automatically based on the content of the request. */
4171
4187
  autoMode?: GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode;
4172
- /** Manual routing. */
4188
+ /** In this mode, the model is specified manually. */
4173
4189
  manualMode?: GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode;
4174
4190
  }
4175
4191
  interface GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode {
@@ -4177,13 +4193,13 @@ declare namespace gapi.client {
4177
4193
  modelRoutingPreference?: string;
4178
4194
  }
4179
4195
  interface GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode {
4180
- /** The model name to use. Only the public LLM models are accepted. See [Supported models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#supported-models). */
4196
+ /** The name of the model to use. Only public LLM models are accepted. */
4181
4197
  modelName?: string;
4182
4198
  }
4183
4199
  interface GoogleCloudAiplatformV1beta1GenerationConfigThinkingConfig {
4184
- /** Optional. Indicates whether to include thoughts in the response. If true, thoughts are returned only when available. */
4200
+ /** Optional. If true, the model will include its thoughts in the response. "Thoughts" are the intermediate steps the model takes to arrive at the final response. They can provide insights into the model's reasoning process and help with debugging. If this is true, thoughts are returned only when available. */
4185
4201
  includeThoughts?: boolean;
4186
- /** Optional. Indicates the thinking budget in tokens. */
4202
+ /** Optional. The token budget for the model's thinking process. The model will make a best effort to stay within this budget. This can be used to control the trade-off between response quality and latency. */
4187
4203
  thinkingBudget?: number;
4188
4204
  }
4189
4205
  interface GoogleCloudAiplatformV1beta1GenericOperationMetadata {
@@ -4241,87 +4257,87 @@ declare namespace gapi.client {
4241
4257
  version?: number;
4242
4258
  }
4243
4259
  interface GoogleCloudAiplatformV1beta1GroundingChunk {
4244
- /** Grounding chunk from Google Maps. */
4260
+ /** A grounding chunk from Google Maps. See the `Maps` message for details. */
4245
4261
  maps?: GoogleCloudAiplatformV1beta1GroundingChunkMaps;
4246
- /** Grounding chunk from context retrieved by the retrieval tools. */
4262
+ /** A grounding chunk from a data source retrieved by a retrieval tool, such as Vertex AI Search. See the `RetrievedContext` message for details */
4247
4263
  retrievedContext?: GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext;
4248
- /** Grounding chunk from the web. */
4264
+ /** A grounding chunk from a web page, typically from Google Search. See the `Web` message for details. */
4249
4265
  web?: GoogleCloudAiplatformV1beta1GroundingChunkWeb;
4250
4266
  }
4251
4267
  interface GoogleCloudAiplatformV1beta1GroundingChunkMaps {
4252
- /** Sources used to generate the place answer. This includes review snippets and photos that were used to generate the answer, as well as uris to flag content. */
4268
+ /** The sources that were used to generate the place answer. This includes review snippets and photos that were used to generate the answer, as well as URIs to flag content. */
4253
4269
  placeAnswerSources?: GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources;
4254
- /** This Place's resource name, in `places/{place_id}` format. Can be used to look up the Place. */
4270
+ /** This Place's resource name, in `places/{place_id}` format. This can be used to look up the place in the Google Maps API. */
4255
4271
  placeId?: string;
4256
- /** Text of the place answer. */
4272
+ /** The text of the place answer. */
4257
4273
  text?: string;
4258
- /** Title of the place. */
4274
+ /** The title of the place. */
4259
4275
  title?: string;
4260
- /** URI reference of the place. */
4276
+ /** The URI of the place. */
4261
4277
  uri?: string;
4262
4278
  }
4263
4279
  interface GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSources {
4264
- /** Snippets of reviews that are used to generate the answer. */
4280
+ /** Snippets of reviews that were used to generate the answer. */
4265
4281
  reviewSnippets?: GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet[];
4266
4282
  }
4267
4283
  interface GoogleCloudAiplatformV1beta1GroundingChunkMapsPlaceAnswerSourcesReviewSnippet {
4268
4284
  /** A link to show the review on Google Maps. */
4269
4285
  googleMapsUri?: string;
4270
- /** Id of the review referencing the place. */
4286
+ /** The ID of the review that is being referenced. */
4271
4287
  reviewId?: string;
4272
- /** Title of the review. */
4288
+ /** The title of the review. */
4273
4289
  title?: string;
4274
4290
  }
4275
4291
  interface GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext {
4276
- /** Output only. The full document name for the referenced Vertex AI Search document. */
4292
+ /** Output only. The full resource name of the referenced Vertex AI Search document. This is used to identify the specific document that was retrieved. The format is `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}`. */
4277
4293
  documentName?: string;
4278
- /** Additional context for the RAG retrieval result. This is only populated when using the RAG retrieval tool. */
4294
+ /** Additional context for a Retrieval-Augmented Generation (RAG) retrieval result. This is populated only when the RAG retrieval tool is used. */
4279
4295
  ragChunk?: GoogleCloudAiplatformV1beta1RagChunk;
4280
- /** Text of the attribution. */
4296
+ /** The content of the retrieved data source. */
4281
4297
  text?: string;
4282
- /** Title of the attribution. */
4298
+ /** The title of the retrieved data source. */
4283
4299
  title?: string;
4284
- /** URI reference of the attribution. */
4300
+ /** The URI of the retrieved data source. */
4285
4301
  uri?: string;
4286
4302
  }
4287
4303
  interface GoogleCloudAiplatformV1beta1GroundingChunkWeb {
4288
- /** Domain of the (original) URI. */
4304
+ /** The domain of the web page that contains the evidence. This can be used to filter out low-quality sources. */
4289
4305
  domain?: string;
4290
- /** Title of the chunk. */
4306
+ /** The title of the web page that contains the evidence. */
4291
4307
  title?: string;
4292
- /** URI reference of the chunk. */
4308
+ /** The URI of the web page that contains the evidence. */
4293
4309
  uri?: string;
4294
4310
  }
4295
4311
  interface GoogleCloudAiplatformV1beta1GroundingMetadata {
4296
- /** Optional. Output only. Resource name of the Google Maps widget context token to be used with the PlacesContextElement widget to render contextual data. This is populated only for Google Maps grounding. */
4312
+ /** Optional. Output only. A token that can be used to render a Google Maps widget with the contextual data. This field is populated only when the grounding source is Google Maps. */
4297
4313
  googleMapsWidgetContextToken?: string;
4298
- /** List of supporting references retrieved from specified grounding source. */
4314
+ /** A list of supporting references retrieved from the grounding source. This field is populated when the grounding source is Google Search, Vertex AI Search, or Google Maps. */
4299
4315
  groundingChunks?: GoogleCloudAiplatformV1beta1GroundingChunk[];
4300
- /** Optional. List of grounding support. */
4316
+ /** Optional. A list of grounding supports that connect the generated content to the grounding chunks. This field is populated when the grounding source is Google Search or Vertex AI Search. */
4301
4317
  groundingSupports?: GoogleCloudAiplatformV1beta1GroundingSupport[];
4302
- /** Optional. Output only. Retrieval metadata. */
4318
+ /** Optional. Output only. Metadata related to the retrieval grounding source. */
4303
4319
  retrievalMetadata?: GoogleCloudAiplatformV1beta1RetrievalMetadata;
4304
- /** Optional. Queries executed by the retrieval tools. */
4320
+ /** Optional. The queries that were executed by the retrieval tools. This field is populated only when the grounding source is a retrieval tool, such as Vertex AI Search. */
4305
4321
  retrievalQueries?: string[];
4306
- /** Optional. Google search entry for the following-up web searches. */
4322
+ /** Optional. A web search entry point that can be used to display search results. This field is populated only when the grounding source is Google Search. */
4307
4323
  searchEntryPoint?: GoogleCloudAiplatformV1beta1SearchEntryPoint;
4308
- /** Optional. Output only. List of source flagging uris. This is currently populated only for Google Maps grounding. */
4324
+ /** Optional. Output only. A list of URIs that can be used to flag a place or review for inappropriate content. This field is populated only when the grounding source is Google Maps. */
4309
4325
  sourceFlaggingUris?: GoogleCloudAiplatformV1beta1GroundingMetadataSourceFlaggingUri[];
4310
- /** Optional. Web search queries for the following-up web search. */
4326
+ /** Optional. The web search queries that were used to generate the content. This field is populated only when the grounding source is Google Search. */
4311
4327
  webSearchQueries?: string[];
4312
4328
  }
4313
4329
  interface GoogleCloudAiplatformV1beta1GroundingMetadataSourceFlaggingUri {
4314
- /** A link where users can flag a problem with the source (place or review). */
4330
+ /** The URI that can be used to flag the content. */
4315
4331
  flagContentUri?: string;
4316
- /** Id of the place or review. */
4332
+ /** The ID of the place or review. */
4317
4333
  sourceId?: string;
4318
4334
  }
4319
4335
  interface GoogleCloudAiplatformV1beta1GroundingSupport {
4320
- /** Confidence score of the support references. Ranges from 0 to 1. 1 is the most confident. For Gemini 2.0 and before, this list must have the same size as the grounding_chunk_indices. For Gemini 2.5 and after, this list will be empty and should be ignored. */
4336
+ /** The confidence scores for the support references. This list is parallel to the `grounding_chunk_indices` list. A score is a value between 0.0 and 1.0, with a higher score indicating a higher confidence that the reference supports the claim. For Gemini 2.0 and before, this list has the same size as `grounding_chunk_indices`. For Gemini 2.5 and later, this list is empty and should be ignored. */
4321
4337
  confidenceScores?: number[];
4322
- /** A list of indices (into 'grounding_chunk') specifying the citations associated with the claim. For instance [1,3,4] means that grounding_chunk[1], grounding_chunk[3], grounding_chunk[4] are the retrieved content attributed to the claim. */
4338
+ /** A list of indices into the `grounding_chunks` field of the `GroundingMetadata` message. These indices specify which grounding chunks support the claim made in the content segment. For example, if this field has the values `[1, 3]`, it means that `grounding_chunks[1]` and `grounding_chunks[3]` are the sources for the claim in the content segment. */
4323
4339
  groundingChunkIndices?: number[];
4324
- /** Segment of the content this support belongs to. */
4340
+ /** The content segment that this support message applies to. */
4325
4341
  segment?: GoogleCloudAiplatformV1beta1Segment;
4326
4342
  }
4327
4343
  interface GoogleCloudAiplatformV1beta1HyperparameterTuningJob {
@@ -5173,21 +5189,21 @@ declare namespace gapi.client {
5173
5189
  systemInstruction?: string;
5174
5190
  }
5175
5191
  interface GoogleCloudAiplatformV1beta1LogprobsResult {
5176
- /** Length = total number of decoding steps. The chosen candidates may or may not be in top_candidates. */
5192
+ /** A list of the chosen candidate tokens at each decoding step. The length of this list is equal to the total number of decoding steps. Note that the chosen candidate might not be in `top_candidates`. */
5177
5193
  chosenCandidates?: GoogleCloudAiplatformV1beta1LogprobsResultCandidate[];
5178
- /** Length = total number of decoding steps. */
5194
+ /** A list of the top candidate tokens at each decoding step. The length of this list is equal to the total number of decoding steps. */
5179
5195
  topCandidates?: GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates[];
5180
5196
  }
5181
5197
  interface GoogleCloudAiplatformV1beta1LogprobsResultCandidate {
5182
- /** The candidate's log probability. */
5198
+ /** The log probability of this token. A higher value indicates that the model was more confident in this token. The log probability can be used to assess the relative likelihood of different tokens and to identify when the model is uncertain. */
5183
5199
  logProbability?: number;
5184
- /** The candidate's token string value. */
5200
+ /** The token's string representation. */
5185
5201
  token?: string;
5186
- /** The candidate's token id value. */
5202
+ /** The token's numerical ID. While the `token` field provides the string representation of the token, the `token_id` is the numerical representation that the model uses internally. This can be useful for developers who want to build custom logic based on the model's vocabulary. */
5187
5203
  tokenId?: number;
5188
5204
  }
5189
5205
  interface GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates {
5190
- /** Sorted by log probability in descending order. */
5206
+ /** The list of candidate tokens, sorted by log probability in descending order. */
5191
5207
  candidates?: GoogleCloudAiplatformV1beta1LogprobsResultCandidate[];
5192
5208
  }
5193
5209
  interface GoogleCloudAiplatformV1beta1LookupStudyRequest {
@@ -5255,6 +5271,8 @@ declare namespace gapi.client {
5255
5271
  name?: string;
5256
5272
  /** Optional. Input only. Timestamp of when the revision is considered expired. If not set, the memory revision will be kept until manually deleted. */
5257
5273
  revisionExpireTime?: string;
5274
+ /** Optional. Input only. The labels to apply to the Memory Revision created as a result of this request. */
5275
+ revisionLabels?: {[P in string]: string};
5258
5276
  /** Optional. Input only. The TTL for the revision. The expiration time is computed: now + TTL. */
5259
5277
  revisionTtl?: string;
5260
5278
  /** Required. Immutable. The scope of the Memory. Memories are isolated within their scope. The scope is defined when creating or generating memories. Scope values cannot contain the wildcard character '*'. */
@@ -5381,6 +5399,8 @@ declare namespace gapi.client {
5381
5399
  aggregationMetrics?: string[];
5382
5400
  /** Spec for bleu metric. */
5383
5401
  bleuSpec?: GoogleCloudAiplatformV1beta1BleuSpec;
5402
+ /** Spec for Custom Code Execution metric. */
5403
+ customCodeExecutionSpec?: GoogleCloudAiplatformV1beta1CustomCodeExecutionSpec;
5384
5404
  /** Spec for exact match metric. */
5385
5405
  exactMatchSpec?: any;
5386
5406
  /** Spec for an LLM based metric. */
@@ -5527,9 +5547,9 @@ declare namespace gapi.client {
5527
5547
  model?: string;
5528
5548
  }
5529
5549
  interface GoogleCloudAiplatformV1beta1ModalityTokenCount {
5530
- /** The modality associated with this token count. */
5550
+ /** The modality that this token count applies to. */
5531
5551
  modality?: string;
5532
- /** Number of tokens. */
5552
+ /** The number of tokens counted for this modality. */
5533
5553
  tokenCount?: number;
5534
5554
  }
5535
5555
  interface GoogleCloudAiplatformV1beta1Model {
@@ -5601,9 +5621,9 @@ declare namespace gapi.client {
5601
5621
  versionUpdateTime?: string;
5602
5622
  }
5603
5623
  interface GoogleCloudAiplatformV1beta1ModelArmorConfig {
5604
- /** Optional. The name of the Model Armor template to use for prompt sanitization. */
5624
+ /** Optional. The resource name of the Model Armor template to use for prompt screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the user's prompt for safety and security risks before it is sent to the model. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. */
5605
5625
  promptTemplateName?: string;
5606
- /** Optional. The name of the Model Armor template to use for response sanitization. */
5626
+ /** Optional. The resource name of the Model Armor template to use for response screening. A Model Armor template is a set of customized filters and thresholds that define how Model Armor screens content. If specified, Model Armor will use this template to check the model's response for safety and security risks before it is returned to the user. The name must be in the format `projects/{project}/locations/{location}/templates/{template}`. */
5607
5627
  responseTemplateName?: string;
5608
5628
  }
5609
5629
  interface GoogleCloudAiplatformV1beta1ModelBaseModelSource {
@@ -6802,21 +6822,21 @@ declare namespace gapi.client {
6802
6822
  version?: number;
6803
6823
  }
6804
6824
  interface GoogleCloudAiplatformV1beta1Part {
6805
- /** Optional. Result of executing the [ExecutableCode]. */
6825
+ /** Optional. The result of executing the ExecutableCode. */
6806
6826
  codeExecutionResult?: GoogleCloudAiplatformV1beta1CodeExecutionResult;
6807
- /** Optional. Code generated by the model that is meant to be executed. */
6827
+ /** Optional. Code generated by the model that is intended to be executed. */
6808
6828
  executableCode?: GoogleCloudAiplatformV1beta1ExecutableCode;
6809
- /** Optional. URI based data. */
6829
+ /** Optional. The URI-based data of the part. This can be used to include files from Google Cloud Storage. */
6810
6830
  fileData?: GoogleCloudAiplatformV1beta1FileData;
6811
- /** Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values. */
6831
+ /** Optional. A predicted function call returned from the model. This contains the name of the function to call and the arguments to pass to the function. */
6812
6832
  functionCall?: GoogleCloudAiplatformV1beta1FunctionCall;
6813
- /** Optional. The result output of a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function call. It is used as context to the model. */
6833
+ /** Optional. The result of a function call. This is used to provide the model with the result of a function call that it predicted. */
6814
6834
  functionResponse?: GoogleCloudAiplatformV1beta1FunctionResponse;
6815
- /** Optional. Inlined bytes data. */
6835
+ /** Optional. The inline data content of the part. This can be used to include images, audio, or video in a request. */
6816
6836
  inlineData?: GoogleCloudAiplatformV1beta1Blob;
6817
- /** Optional. Text part (can be code). */
6837
+ /** Optional. The text content of the part. */
6818
6838
  text?: string;
6819
- /** Optional. Indicates if the part is thought from the model. */
6839
+ /** Optional. Indicates whether the `part` represents the model's thought process or reasoning. */
6820
6840
  thought?: boolean;
6821
6841
  /** Optional. An opaque signature for the thought so it can be reused in subsequent requests. */
6822
6842
  thoughtSignature?: string;
@@ -7104,7 +7124,7 @@ declare namespace gapi.client {
7104
7124
  postStartupScriptUrl?: string;
7105
7125
  }
7106
7126
  interface GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig {
7107
- /** The name of the preset voice to use. */
7127
+ /** The name of the prebuilt voice to use. */
7108
7128
  voiceName?: string;
7109
7129
  }
7110
7130
  interface GoogleCloudAiplatformV1beta1PredefinedMetricSpec {
@@ -7751,6 +7771,10 @@ declare namespace gapi.client {
7751
7771
  ragFilesCount?: number;
7752
7772
  /** Optional. Immutable. The Vector DB config of the RagCorpus. */
7753
7773
  ragVectorDbConfig?: GoogleCloudAiplatformV1beta1RagVectorDbConfig;
7774
+ /** Output only. Reserved for future use. */
7775
+ satisfiesPzi?: boolean;
7776
+ /** Output only. Reserved for future use. */
7777
+ satisfiesPzs?: boolean;
7754
7778
  /** Output only. Timestamp when this RagCorpus was last updated. */
7755
7779
  updateTime?: string;
7756
7780
  /** Optional. Immutable. The config for the Vector DBs. */
@@ -8181,12 +8205,18 @@ declare namespace gapi.client {
8181
8205
  generateUpdatedTtl?: string;
8182
8206
  }
8183
8207
  interface GoogleCloudAiplatformV1beta1ReasoningEngineSpec {
8208
+ /** Optional. The A2A Agent Card for the agent (if available). It follows the specification at https://a2a-protocol.org/latest/specification/#5-agent-discovery-the-agent-card. */
8209
+ agentCard?: {[P in string]: any};
8184
8210
  /** Optional. The OSS agent framework used to develop the agent. Currently supported values: "google-adk", "langchain", "langgraph", "ag2", "llama-index", "custom". */
8185
8211
  agentFramework?: string;
8186
8212
  /** Optional. Declarations for object class methods in OpenAPI specification format. */
8187
8213
  classMethods?: Array<{[P in string]: any}>;
8188
8214
  /** Optional. The specification of a Reasoning Engine deployment. */
8189
8215
  deploymentSpec?: GoogleCloudAiplatformV1beta1ReasoningEngineSpecDeploymentSpec;
8216
+ /** Output only. The identity to use for the Reasoning Engine. It can contain one of the following values: * service-{project}@gcp-sa-aiplatform-re.googleapis.com (for SERVICE_AGENT identity type) * {name}@{project}.gserviceaccount.com (for SERVICE_ACCOUNT identity type) * agents.global.{org}.system.id.goog/resources/aiplatform/projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine} (for AGENT_IDENTITY identity type) */
8217
+ effectiveIdentity?: string;
8218
+ /** Optional. The identity type to use for the Reasoning Engine. If not specified, the `service_account` field will be used if set, otherwise the default Vertex AI Reasoning Engine Service Agent in the project will be used. */
8219
+ identityType?: string;
8190
8220
  /** 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. The `deployment_source` field should not be set if `package_spec` is specified. */
8191
8221
  packageSpec?: GoogleCloudAiplatformV1beta1ReasoningEngineSpecPackageSpec;
8192
8222
  /** Optional. The service account that the Reasoning Engine artifact runs as. It should have "roles/storage.objectViewer" for reading the user project's Cloud Storage and "roles/aiplatform.user" for using Vertex extensions. If not specified, the Vertex AI Reasoning Engine Service Agent in the project will be used. */
@@ -8217,7 +8247,7 @@ declare namespace gapi.client {
8217
8247
  dependencyFilesGcsUri?: string;
8218
8248
  /** Optional. The Cloud Storage URI of the pickled python object. */
8219
8249
  pickleObjectGcsUri?: string;
8220
- /** Optional. The Python version. Currently support 3.8, 3.9, 3.10, 3.11. If not specified, default value is 3.10. */
8250
+ /** Optional. The Python version. Supported values are 3.9, 3.10, 3.11, 3.12, 3.13. If not specified, the default value is 3.10. */
8221
8251
  pythonVersion?: string;
8222
8252
  /** Optional. The Cloud Storage URI of the `requirements.txt` file */
8223
8253
  requirementsGcsUri?: string;
@@ -8404,7 +8434,7 @@ declare namespace gapi.client {
8404
8434
  latLng?: GoogleTypeLatLng;
8405
8435
  }
8406
8436
  interface GoogleCloudAiplatformV1beta1RetrievalMetadata {
8407
- /** Optional. Score indicating how likely information from Google Search could help answer the prompt. The score is in the range `[0, 1]`, where 0 is the least likely and 1 is the most likely. This score is only populated when Google Search grounding and dynamic retrieval is enabled. It will be compared to the threshold to determine whether to trigger Google Search. */
8437
+ /** Optional. A score indicating how likely it is that a Google Search query could help answer the prompt. The score is in the range of `[0, 1]`. A score of 1 means the model is confident that a search will be helpful, and 0 means it is not. This score is populated only when Google Search grounding and dynamic retrieval are enabled. The score is used to determine whether to trigger a search. */
8408
8438
  googleSearchDynamicRetrievalScore?: number;
8409
8439
  }
8410
8440
  interface GoogleCloudAiplatformV1beta1RetrieveContextsRequest {
@@ -8623,19 +8653,19 @@ declare namespace gapi.client {
8623
8653
  prediction?: string;
8624
8654
  }
8625
8655
  interface GoogleCloudAiplatformV1beta1SafetyRating {
8626
- /** Output only. Indicates whether the content was filtered out because of this rating. */
8656
+ /** Output only. Indicates whether the content was blocked because of this rating. */
8627
8657
  blocked?: boolean;
8628
- /** Output only. Harm category. */
8658
+ /** Output only. The harm category of this rating. */
8629
8659
  category?: string;
8630
8660
  /** Output only. The overwritten threshold for the safety category of Gemini 2.0 image out. If minors are detected in the output image, the threshold of each safety category will be overwritten if user sets a lower threshold. */
8631
8661
  overwrittenThreshold?: string;
8632
- /** Output only. Harm probability levels in the content. */
8662
+ /** Output only. The probability of harm for this category. */
8633
8663
  probability?: string;
8634
- /** Output only. Harm probability score. */
8664
+ /** Output only. The probability score of harm for this category. */
8635
8665
  probabilityScore?: number;
8636
- /** Output only. Harm severity levels in the content. */
8666
+ /** Output only. The severity of harm for this category. */
8637
8667
  severity?: string;
8638
- /** Output only. Harm severity score. */
8668
+ /** Output only. The severity score of harm for this category. */
8639
8669
  severityScore?: number;
8640
8670
  }
8641
8671
  interface GoogleCloudAiplatformV1beta1SafetyResult {
@@ -8647,11 +8677,11 @@ declare namespace gapi.client {
8647
8677
  score?: number;
8648
8678
  }
8649
8679
  interface GoogleCloudAiplatformV1beta1SafetySetting {
8650
- /** Required. Harm category. */
8680
+ /** Required. The harm category to be blocked. */
8651
8681
  category?: string;
8652
- /** Optional. Specify if the threshold is used for probability or severity score. If not specified, the threshold is used for probability score. */
8682
+ /** Optional. The method for blocking content. If not specified, the default behavior is to use the probability score. */
8653
8683
  method?: string;
8654
- /** Required. The harm block threshold. */
8684
+ /** Required. The threshold for blocking content. If the harm probability exceeds this threshold, the content will be blocked. */
8655
8685
  threshold?: string;
8656
8686
  }
8657
8687
  interface GoogleCloudAiplatformV1beta1SafetySpec {
@@ -10301,9 +10331,9 @@ declare namespace gapi.client {
10301
10331
  nextPageToken?: string;
10302
10332
  }
10303
10333
  interface GoogleCloudAiplatformV1beta1SearchEntryPoint {
10304
- /** Optional. Web content snippet that can be embedded in a web page or an app webview. */
10334
+ /** Optional. An HTML snippet that can be embedded in a web page or an application's webview. This snippet displays a search result, including the title, URL, and a brief description of the search result. */
10305
10335
  renderedContent?: string;
10306
- /** Optional. Base64 encoded JSON representing array of tuple. */
10336
+ /** Optional. A base64-encoded JSON object that contains a list of search queries and their corresponding search URLs. This information can be used to build a custom search UI. */
10307
10337
  sdkBlob?: string;
10308
10338
  }
10309
10339
  interface GoogleCloudAiplatformV1beta1SearchExamplesRequest {
@@ -10446,13 +10476,13 @@ declare namespace gapi.client {
10446
10476
  version?: string;
10447
10477
  }
10448
10478
  interface GoogleCloudAiplatformV1beta1Segment {
10449
- /** Output only. End index in the given Part, measured in bytes. Offset from the start of the Part, exclusive, starting at zero. */
10479
+ /** Output only. The end index of the segment in the `Part`, measured in bytes. This marks the end of the segment and is exclusive, meaning the segment includes content up to, but not including, the byte at this index. */
10450
10480
  endIndex?: number;
10451
- /** Output only. The index of a Part object within its parent Content object. */
10481
+ /** Output only. The index of the `Part` object that this segment belongs to. This is useful for associating the segment with a specific part of the content. */
10452
10482
  partIndex?: number;
10453
- /** Output only. Start index in the given Part, measured in bytes. Offset from the start of the Part, inclusive, starting at zero. */
10483
+ /** Output only. The start index of the segment in the `Part`, measured in bytes. This marks the beginning of the segment and is inclusive, meaning the byte at this index is the first byte of the segment. */
10454
10484
  startIndex?: number;
10455
- /** Output only. The text corresponding to the segment from the response. */
10485
+ /** Output only. The text of the segment. */
10456
10486
  text?: string;
10457
10487
  }
10458
10488
  interface GoogleCloudAiplatformV1beta1ServiceAccountSpec {
@@ -10468,6 +10498,8 @@ declare namespace gapi.client {
10468
10498
  displayName?: string;
10469
10499
  /** Optional. Timestamp of when this session is considered expired. This is *always* provided on output, regardless of what was sent on input. */
10470
10500
  expireTime?: string;
10501
+ /** The labels with user-defined metadata to organize your Sessions. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. */
10502
+ labels?: {[P in string]: string};
10471
10503
  /** Identifier. The resource name of the session. Format: 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'. */
10472
10504
  name?: string;
10473
10505
  /** Optional. Session specific memory which stores key conversation points. */
@@ -10594,11 +10626,11 @@ declare namespace gapi.client {
10594
10626
  ngramSize?: number;
10595
10627
  }
10596
10628
  interface GoogleCloudAiplatformV1beta1SpeechConfig {
10597
- /** Optional. Language code (ISO 639. e.g. en-US) for the speech synthesization. */
10629
+ /** Optional. The language code (ISO 639-1) for the speech synthesis. */
10598
10630
  languageCode?: string;
10599
10631
  /** The configuration for a multi-speaker text-to-speech request. This field is mutually exclusive with `voice_config`. */
10600
10632
  multiSpeakerVoiceConfig?: GoogleCloudAiplatformV1beta1MultiSpeakerVoiceConfig;
10601
- /** The configuration for the speaker to use. */
10633
+ /** The configuration for the voice to use. */
10602
10634
  voiceConfig?: GoogleCloudAiplatformV1beta1VoiceConfig;
10603
10635
  }
10604
10636
  interface GoogleCloudAiplatformV1beta1StartNotebookRuntimeOperationMetadata {
@@ -11923,13 +11955,13 @@ declare namespace gapi.client {
11923
11955
  }
11924
11956
  interface GoogleCloudAiplatformV1beta1UrlContext {}
11925
11957
  interface GoogleCloudAiplatformV1beta1UrlContextMetadata {
11926
- /** Output only. List of url context. */
11958
+ /** Output only. A list of URL metadata, with one entry for each URL retrieved by the tool. */
11927
11959
  urlMetadata?: GoogleCloudAiplatformV1beta1UrlMetadata[];
11928
11960
  }
11929
11961
  interface GoogleCloudAiplatformV1beta1UrlMetadata {
11930
- /** Retrieved url by the tool. */
11962
+ /** The URL retrieved by the tool. */
11931
11963
  retrievedUrl?: string;
11932
- /** Status of the url retrieval. */
11964
+ /** The status of the URL retrieval. */
11933
11965
  urlRetrievalStatus?: string;
11934
11966
  }
11935
11967
  interface GoogleCloudAiplatformV1beta1UsageMetadata {
@@ -12033,13 +12065,13 @@ declare namespace gapi.client {
12033
12065
  interface GoogleCloudAiplatformV1beta1VideoMetadata {
12034
12066
  /** Optional. The end offset of the video. */
12035
12067
  endOffset?: string;
12036
- /** Optional. The frame rate of the video sent to the model. If not specified, the default value will be 1.0. The fps range is (0.0, 24.0]. */
12068
+ /** Optional. The frame rate of the video sent to the model. If not specified, the default value is 1.0. The valid range is (0.0, 24.0]. */
12037
12069
  fps?: number;
12038
12070
  /** Optional. The start offset of the video. */
12039
12071
  startOffset?: string;
12040
12072
  }
12041
12073
  interface GoogleCloudAiplatformV1beta1VoiceConfig {
12042
- /** The configuration for the prebuilt voice to use. */
12074
+ /** The configuration for a prebuilt voice. */
12043
12075
  prebuiltVoiceConfig?: GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig;
12044
12076
  }
12045
12077
  interface GoogleCloudAiplatformV1beta1WorkerPoolSpec {
@@ -19841,6 +19873,43 @@ declare namespace gapi.client {
19841
19873
  interface PipelineJobsResource {
19842
19874
  operations: OperationsResource;
19843
19875
  }
19876
+ interface DatasetsResource {
19877
+ /** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
19878
+ getIamPolicy(request?: {
19879
+ /** V1 error format. */
19880
+ '$.xgafv'?: string;
19881
+ /** OAuth access token. */
19882
+ access_token?: string;
19883
+ /** Data format for response. */
19884
+ alt?: string;
19885
+ /** JSONP */
19886
+ callback?: string;
19887
+ /** Selector specifying which fields to include in a partial response. */
19888
+ fields?: string;
19889
+ /** 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. */
19890
+ key?: string;
19891
+ /** OAuth 2.0 token for the current user. */
19892
+ oauth_token?: string;
19893
+ /** Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
19894
+ 'options.requestedPolicyVersion'?: number;
19895
+ /** Returns response with indentations and line breaks. */
19896
+ prettyPrint?: boolean;
19897
+ /** 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. */
19898
+ quotaUser?: string;
19899
+ /** REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
19900
+ resource: string;
19901
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
19902
+ upload_protocol?: string;
19903
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
19904
+ uploadType?: string;
19905
+ }): Request<GoogleIamV1Policy>;
19906
+ }
19907
+ interface LocationsResource {
19908
+ datasets: DatasetsResource;
19909
+ }
19910
+ interface ProjectResource {
19911
+ locations: LocationsResource;
19912
+ }
19844
19913
  interface OperationsResource {
19845
19914
  /** 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`. */
19846
19915
  cancel(request?: {
@@ -22923,6 +22992,65 @@ declare namespace gapi.client {
22923
22992
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
22924
22993
  uploadType?: string;
22925
22994
  }): Request<GoogleCloudAiplatformV1beta1SearchDataItemsResponse>;
22995
+ /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
22996
+ setIamPolicy(
22997
+ request: {
22998
+ /** V1 error format. */
22999
+ '$.xgafv'?: string;
23000
+ /** OAuth access token. */
23001
+ access_token?: string;
23002
+ /** Data format for response. */
23003
+ alt?: string;
23004
+ /** JSONP */
23005
+ callback?: string;
23006
+ /** Selector specifying which fields to include in a partial response. */
23007
+ fields?: string;
23008
+ /** 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. */
23009
+ key?: string;
23010
+ /** OAuth 2.0 token for the current user. */
23011
+ oauth_token?: string;
23012
+ /** Returns response with indentations and line breaks. */
23013
+ prettyPrint?: boolean;
23014
+ /** 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. */
23015
+ quotaUser?: string;
23016
+ /** REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
23017
+ resource: string;
23018
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
23019
+ upload_protocol?: string;
23020
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
23021
+ uploadType?: string;
23022
+ },
23023
+ body: GoogleIamV1SetIamPolicyRequest,
23024
+ ): Request<GoogleIamV1Policy>;
23025
+ /** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
23026
+ testIamPermissions(request?: {
23027
+ /** V1 error format. */
23028
+ '$.xgafv'?: string;
23029
+ /** OAuth access token. */
23030
+ access_token?: string;
23031
+ /** Data format for response. */
23032
+ alt?: string;
23033
+ /** JSONP */
23034
+ callback?: string;
23035
+ /** Selector specifying which fields to include in a partial response. */
23036
+ fields?: string;
23037
+ /** 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. */
23038
+ key?: string;
23039
+ /** OAuth 2.0 token for the current user. */
23040
+ oauth_token?: string;
23041
+ /** The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions). */
23042
+ permissions?: string | string[];
23043
+ /** Returns response with indentations and line breaks. */
23044
+ prettyPrint?: boolean;
23045
+ /** 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. */
23046
+ quotaUser?: string;
23047
+ /** REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. */
23048
+ resource: string;
23049
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
23050
+ upload_protocol?: string;
23051
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
23052
+ uploadType?: string;
23053
+ }): Request<GoogleIamV1TestIamPermissionsResponse>;
22926
23054
  annotationSpecs: AnnotationSpecsResource;
22927
23055
  dataItems: DataItemsResource;
22928
23056
  datasetVersions: DatasetVersionsResource;
@@ -43763,6 +43891,8 @@ declare namespace gapi.client {
43763
43891
  key?: string;
43764
43892
  /** OAuth 2.0 token for the current user. */
43765
43893
  oauth_token?: string;
43894
+ /** Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `timestamp` Example: `timestamp desc`. */
43895
+ orderBy?: string;
43766
43896
  /** 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. These events are ordered by timestamp in ascending order. */
43767
43897
  pageSize?: number;
43768
43898
  /** Optional. The next_page_token value returned from a previous list SessionService.ListEvents call. */
@@ -44285,6 +44415,64 @@ declare namespace gapi.client {
44285
44415
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
44286
44416
  uploadType?: string;
44287
44417
  }): Request<GoogleLongrunningOperation>;
44418
+ /** Executes code statelessly. */
44419
+ executeCode(request: {
44420
+ /** V1 error format. */
44421
+ '$.xgafv'?: string;
44422
+ /** OAuth access token. */
44423
+ access_token?: string;
44424
+ /** Data format for response. */
44425
+ alt?: string;
44426
+ /** JSONP */
44427
+ callback?: string;
44428
+ /** Selector specifying which fields to include in a partial response. */
44429
+ fields?: string;
44430
+ /** 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. */
44431
+ key?: string;
44432
+ /** Required. The resource name of the sandbox environment to execute. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
44433
+ name: string;
44434
+ /** OAuth 2.0 token for the current user. */
44435
+ oauth_token?: string;
44436
+ /** Returns response with indentations and line breaks. */
44437
+ prettyPrint?: boolean;
44438
+ /** 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. */
44439
+ quotaUser?: string;
44440
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
44441
+ upload_protocol?: string;
44442
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
44443
+ uploadType?: string;
44444
+ /** Request body */
44445
+ resource: GoogleCloudAiplatformV1beta1ExecuteCodeRequest;
44446
+ }): Request<GoogleCloudAiplatformV1beta1ExecuteCodeResponse>;
44447
+ executeCode(
44448
+ request: {
44449
+ /** V1 error format. */
44450
+ '$.xgafv'?: string;
44451
+ /** OAuth access token. */
44452
+ access_token?: string;
44453
+ /** Data format for response. */
44454
+ alt?: string;
44455
+ /** JSONP */
44456
+ callback?: string;
44457
+ /** Selector specifying which fields to include in a partial response. */
44458
+ fields?: string;
44459
+ /** 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. */
44460
+ key?: string;
44461
+ /** Required. The resource name of the sandbox environment to execute. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
44462
+ name: string;
44463
+ /** OAuth 2.0 token for the current user. */
44464
+ oauth_token?: string;
44465
+ /** Returns response with indentations and line breaks. */
44466
+ prettyPrint?: boolean;
44467
+ /** 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. */
44468
+ quotaUser?: string;
44469
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
44470
+ upload_protocol?: string;
44471
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
44472
+ uploadType?: string;
44473
+ },
44474
+ body: GoogleCloudAiplatformV1beta1ExecuteCodeRequest,
44475
+ ): Request<GoogleCloudAiplatformV1beta1ExecuteCodeResponse>;
44288
44476
  /** Gets a reasoning engine. */
44289
44477
  get(request?: {
44290
44478
  /** V1 error format. */
@@ -49551,7 +49739,7 @@ declare namespace gapi.client {
49551
49739
  alt?: string;
49552
49740
  /** JSONP */
49553
49741
  callback?: string;
49554
- /** Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage. */
49742
+ /** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. */
49555
49743
  extraLocationTypes?: string | string[];
49556
49744
  /** Selector specifying which fields to include in a partial response. */
49557
49745
  fields?: string;
@@ -52325,6 +52513,209 @@ declare namespace gapi.client {
52325
52513
  }): Request<GoogleLongrunningOperation>;
52326
52514
  }
52327
52515
  interface SandboxEnvironmentsResource {
52516
+ /** Creates a SandboxEnvironment in a given reasoning engine. */
52517
+ create(request: {
52518
+ /** V1 error format. */
52519
+ '$.xgafv'?: string;
52520
+ /** OAuth access token. */
52521
+ access_token?: string;
52522
+ /** Data format for response. */
52523
+ alt?: string;
52524
+ /** JSONP */
52525
+ callback?: string;
52526
+ /** Selector specifying which fields to include in a partial response. */
52527
+ fields?: string;
52528
+ /** 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. */
52529
+ key?: string;
52530
+ /** OAuth 2.0 token for the current user. */
52531
+ oauth_token?: string;
52532
+ /** Required. The resource name of the reasoning engine to create the SandboxEnvironment in. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`. */
52533
+ parent: string;
52534
+ /** Returns response with indentations and line breaks. */
52535
+ prettyPrint?: boolean;
52536
+ /** 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. */
52537
+ quotaUser?: string;
52538
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
52539
+ upload_protocol?: string;
52540
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
52541
+ uploadType?: string;
52542
+ /** Request body */
52543
+ resource: GoogleCloudAiplatformV1beta1SandboxEnvironment;
52544
+ }): Request<GoogleLongrunningOperation>;
52545
+ create(
52546
+ request: {
52547
+ /** V1 error format. */
52548
+ '$.xgafv'?: string;
52549
+ /** OAuth access token. */
52550
+ access_token?: string;
52551
+ /** Data format for response. */
52552
+ alt?: string;
52553
+ /** JSONP */
52554
+ callback?: string;
52555
+ /** Selector specifying which fields to include in a partial response. */
52556
+ fields?: string;
52557
+ /** 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. */
52558
+ key?: string;
52559
+ /** OAuth 2.0 token for the current user. */
52560
+ oauth_token?: string;
52561
+ /** Required. The resource name of the reasoning engine to create the SandboxEnvironment in. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`. */
52562
+ parent: string;
52563
+ /** Returns response with indentations and line breaks. */
52564
+ prettyPrint?: boolean;
52565
+ /** 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. */
52566
+ quotaUser?: string;
52567
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
52568
+ upload_protocol?: string;
52569
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
52570
+ uploadType?: string;
52571
+ },
52572
+ body: GoogleCloudAiplatformV1beta1SandboxEnvironment,
52573
+ ): Request<GoogleLongrunningOperation>;
52574
+ /** Deletes the specific SandboxEnvironment. */
52575
+ delete(request?: {
52576
+ /** V1 error format. */
52577
+ '$.xgafv'?: string;
52578
+ /** OAuth access token. */
52579
+ access_token?: string;
52580
+ /** Data format for response. */
52581
+ alt?: string;
52582
+ /** JSONP */
52583
+ callback?: string;
52584
+ /** Selector specifying which fields to include in a partial response. */
52585
+ fields?: string;
52586
+ /** 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. */
52587
+ key?: string;
52588
+ /** Required. The resource name of the SandboxEnvironment to delete. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}` */
52589
+ name: string;
52590
+ /** OAuth 2.0 token for the current user. */
52591
+ oauth_token?: string;
52592
+ /** Returns response with indentations and line breaks. */
52593
+ prettyPrint?: boolean;
52594
+ /** 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. */
52595
+ quotaUser?: string;
52596
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
52597
+ upload_protocol?: string;
52598
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
52599
+ uploadType?: string;
52600
+ }): Request<GoogleLongrunningOperation>;
52601
+ /** Executes using a sandbox environment. */
52602
+ execute(request: {
52603
+ /** V1 error format. */
52604
+ '$.xgafv'?: string;
52605
+ /** OAuth access token. */
52606
+ access_token?: string;
52607
+ /** Data format for response. */
52608
+ alt?: string;
52609
+ /** JSONP */
52610
+ callback?: string;
52611
+ /** Selector specifying which fields to include in a partial response. */
52612
+ fields?: string;
52613
+ /** 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. */
52614
+ key?: string;
52615
+ /** Required. The resource name of the sandbox environment to execute. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}` */
52616
+ name: string;
52617
+ /** OAuth 2.0 token for the current user. */
52618
+ oauth_token?: string;
52619
+ /** Returns response with indentations and line breaks. */
52620
+ prettyPrint?: boolean;
52621
+ /** 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. */
52622
+ quotaUser?: string;
52623
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
52624
+ upload_protocol?: string;
52625
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
52626
+ uploadType?: string;
52627
+ /** Request body */
52628
+ resource: GoogleCloudAiplatformV1beta1ExecuteSandboxEnvironmentRequest;
52629
+ }): Request<GoogleCloudAiplatformV1beta1ExecuteSandboxEnvironmentResponse>;
52630
+ execute(
52631
+ request: {
52632
+ /** V1 error format. */
52633
+ '$.xgafv'?: string;
52634
+ /** OAuth access token. */
52635
+ access_token?: string;
52636
+ /** Data format for response. */
52637
+ alt?: string;
52638
+ /** JSONP */
52639
+ callback?: string;
52640
+ /** Selector specifying which fields to include in a partial response. */
52641
+ fields?: string;
52642
+ /** 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. */
52643
+ key?: string;
52644
+ /** Required. The resource name of the sandbox environment to execute. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}` */
52645
+ name: string;
52646
+ /** OAuth 2.0 token for the current user. */
52647
+ oauth_token?: string;
52648
+ /** Returns response with indentations and line breaks. */
52649
+ prettyPrint?: boolean;
52650
+ /** 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. */
52651
+ quotaUser?: string;
52652
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
52653
+ upload_protocol?: string;
52654
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
52655
+ uploadType?: string;
52656
+ },
52657
+ body: GoogleCloudAiplatformV1beta1ExecuteSandboxEnvironmentRequest,
52658
+ ): Request<GoogleCloudAiplatformV1beta1ExecuteSandboxEnvironmentResponse>;
52659
+ /** Gets details of the specific SandboxEnvironment. */
52660
+ get(request?: {
52661
+ /** V1 error format. */
52662
+ '$.xgafv'?: string;
52663
+ /** OAuth access token. */
52664
+ access_token?: string;
52665
+ /** Data format for response. */
52666
+ alt?: string;
52667
+ /** JSONP */
52668
+ callback?: string;
52669
+ /** Selector specifying which fields to include in a partial response. */
52670
+ fields?: string;
52671
+ /** 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. */
52672
+ key?: string;
52673
+ /** Required. The resource name of the sandbox environment. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}` */
52674
+ name: string;
52675
+ /** OAuth 2.0 token for the current user. */
52676
+ oauth_token?: string;
52677
+ /** Returns response with indentations and line breaks. */
52678
+ prettyPrint?: boolean;
52679
+ /** 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. */
52680
+ quotaUser?: string;
52681
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
52682
+ upload_protocol?: string;
52683
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
52684
+ uploadType?: string;
52685
+ }): Request<GoogleCloudAiplatformV1beta1SandboxEnvironment>;
52686
+ /** Lists SandboxEnvironments in a given reasoning engine. */
52687
+ list(request?: {
52688
+ /** V1 error format. */
52689
+ '$.xgafv'?: string;
52690
+ /** OAuth access token. */
52691
+ access_token?: string;
52692
+ /** Data format for response. */
52693
+ alt?: string;
52694
+ /** JSONP */
52695
+ callback?: string;
52696
+ /** Selector specifying which fields to include in a partial response. */
52697
+ fields?: string;
52698
+ /** Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). */
52699
+ filter?: string;
52700
+ /** 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. */
52701
+ key?: string;
52702
+ /** OAuth 2.0 token for the current user. */
52703
+ oauth_token?: string;
52704
+ /** Optional. The maximum number of SandboxEnvironments to return. The service may return fewer than this value. If unspecified, at most 100 SandboxEnvironments will be returned. */
52705
+ pageSize?: number;
52706
+ /** Optional. The standard list page token, received from a previous `ListSandboxEnvironments` call. Provide this to retrieve the subsequent page. */
52707
+ pageToken?: string;
52708
+ /** Required. The resource name of the reasoning engine to list sandbox environments from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
52709
+ parent: string;
52710
+ /** Returns response with indentations and line breaks. */
52711
+ prettyPrint?: boolean;
52712
+ /** 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. */
52713
+ quotaUser?: string;
52714
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
52715
+ upload_protocol?: string;
52716
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
52717
+ uploadType?: string;
52718
+ }): Request<GoogleCloudAiplatformV1beta1ListSandboxEnvironmentsResponse>;
52328
52719
  operations: OperationsResource;
52329
52720
  }
52330
52721
  interface EventsResource {
@@ -52346,6 +52737,8 @@ declare namespace gapi.client {
52346
52737
  key?: string;
52347
52738
  /** OAuth 2.0 token for the current user. */
52348
52739
  oauth_token?: string;
52740
+ /** Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `timestamp` Example: `timestamp desc`. */
52741
+ orderBy?: string;
52349
52742
  /** 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. These events are ordered by timestamp in ascending order. */
52350
52743
  pageSize?: number;
52351
52744
  /** Optional. The next_page_token value returned from a previous list SessionService.ListEvents call. */
@@ -52868,6 +53261,64 @@ declare namespace gapi.client {
52868
53261
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
52869
53262
  uploadType?: string;
52870
53263
  }): Request<GoogleLongrunningOperation>;
53264
+ /** Executes code statelessly. */
53265
+ executeCode(request: {
53266
+ /** V1 error format. */
53267
+ '$.xgafv'?: string;
53268
+ /** OAuth access token. */
53269
+ access_token?: string;
53270
+ /** Data format for response. */
53271
+ alt?: string;
53272
+ /** JSONP */
53273
+ callback?: string;
53274
+ /** Selector specifying which fields to include in a partial response. */
53275
+ fields?: string;
53276
+ /** 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. */
53277
+ key?: string;
53278
+ /** Required. The resource name of the sandbox environment to execute. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
53279
+ name: string;
53280
+ /** OAuth 2.0 token for the current user. */
53281
+ oauth_token?: string;
53282
+ /** Returns response with indentations and line breaks. */
53283
+ prettyPrint?: boolean;
53284
+ /** 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. */
53285
+ quotaUser?: string;
53286
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
53287
+ upload_protocol?: string;
53288
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
53289
+ uploadType?: string;
53290
+ /** Request body */
53291
+ resource: GoogleCloudAiplatformV1beta1ExecuteCodeRequest;
53292
+ }): Request<GoogleCloudAiplatformV1beta1ExecuteCodeResponse>;
53293
+ executeCode(
53294
+ request: {
53295
+ /** V1 error format. */
53296
+ '$.xgafv'?: string;
53297
+ /** OAuth access token. */
53298
+ access_token?: string;
53299
+ /** Data format for response. */
53300
+ alt?: string;
53301
+ /** JSONP */
53302
+ callback?: string;
53303
+ /** Selector specifying which fields to include in a partial response. */
53304
+ fields?: string;
53305
+ /** 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. */
53306
+ key?: string;
53307
+ /** Required. The resource name of the sandbox environment to execute. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
53308
+ name: string;
53309
+ /** OAuth 2.0 token for the current user. */
53310
+ oauth_token?: string;
53311
+ /** Returns response with indentations and line breaks. */
53312
+ prettyPrint?: boolean;
53313
+ /** 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. */
53314
+ quotaUser?: string;
53315
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
53316
+ upload_protocol?: string;
53317
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
53318
+ uploadType?: string;
53319
+ },
53320
+ body: GoogleCloudAiplatformV1beta1ExecuteCodeRequest,
53321
+ ): Request<GoogleCloudAiplatformV1beta1ExecuteCodeResponse>;
52871
53322
  /** Gets a reasoning engine. */
52872
53323
  get(request?: {
52873
53324
  /** V1 error format. */
@@ -54662,6 +55113,8 @@ declare namespace gapi.client {
54662
55113
 
54663
55114
  const pipelineJobs: PipelineJobsResource;
54664
55115
 
55116
+ const project: ProjectResource;
55117
+
54665
55118
  const projects: ProjectsResource;
54666
55119
 
54667
55120
  const publishers: PublishersResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1beta1",
3
- "version": "0.3.20251028",
3
+ "version": "0.4.20251101",
4
4
  "description": "TypeScript typings for Vertex AI API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -211,6 +211,11 @@ Deletes a reasoning engine.
211
211
  */
212
212
  await gapi.client.aiplatform.reasoningEngines.delete({name: 'name'});
213
213
 
214
+ /*
215
+ Executes code statelessly.
216
+ */
217
+ await gapi.client.aiplatform.reasoningEngines.executeCode({name: 'name'});
218
+
214
219
  /*
215
220
  Gets a reasoning engine.
216
221
  */