@maxim_mazurok/gapi.client.aiplatform-v1 0.4.20251204 → 0.4.20260106

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 +1192 -72
  2. package/package.json +1 -1
  3. package/readme.md +20 -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=v1
12
- // Revision: 20251204
12
+ // Revision: 20260106
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -527,6 +527,8 @@ declare namespace gapi.client {
527
527
  gcsSource?: GoogleCloudAiplatformV1GcsSource;
528
528
  /** Required. The format in which instances are given, must be one of the Model's supported_input_storage_formats. */
529
529
  instancesFormat?: string;
530
+ /** A Vertex Managed Dataset. Currently, only datasets of type Multimodal are supported. */
531
+ vertexMultimodalDatasetSource?: GoogleCloudAiplatformV1VertexMultimodalDatasetSource;
530
532
  }
531
533
  interface GoogleCloudAiplatformV1BatchPredictionJobInstanceConfig {
532
534
  /** Fields that will be excluded in the prediction instance that is sent to the Model. Excluded will be attached to the batch prediction output if key_field is not specified. When excluded_fields is populated, included_fields must be empty. The input must be JSONL with objects at each line, BigQuery or TfRecord. */
@@ -545,6 +547,8 @@ declare namespace gapi.client {
545
547
  gcsDestination?: GoogleCloudAiplatformV1GcsDestination;
546
548
  /** Required. The format in which Vertex AI gives the predictions, must be one of the Model's supported_output_storage_formats. */
547
549
  predictionsFormat?: string;
550
+ /** The details for a Vertex Multimodal Dataset that will be created for the output. */
551
+ vertexMultimodalDatasetDestination?: GoogleCloudAiplatformV1VertexMultimodalDatasetDestination;
548
552
  }
549
553
  interface GoogleCloudAiplatformV1BatchPredictionJobOutputInfo {
550
554
  /** Output only. The path of the BigQuery dataset created, in `bq://projectId.bqDatasetId` format, into which the prediction output is written. */
@@ -553,6 +557,8 @@ declare namespace gapi.client {
553
557
  bigqueryOutputTable?: string;
554
558
  /** Output only. The full path of the Cloud Storage directory created, into which the prediction output is written. */
555
559
  gcsOutputDirectory?: string;
560
+ /** Output only. The resource name of the Vertex Managed Dataset created, into which the prediction output is written. Format: `projects/{project}/locations/{location}/datasets/{dataset}` */
561
+ vertexMultimodalDatasetName?: string;
556
562
  }
557
563
  interface GoogleCloudAiplatformV1BatchReadFeatureValuesOperationMetadata {
558
564
  /** Operation metadata for Featurestore batch read Features values. */
@@ -777,6 +783,14 @@ declare namespace gapi.client {
777
783
  /** True if the Trial should stop. */
778
784
  shouldStop?: boolean;
779
785
  }
786
+ interface GoogleCloudAiplatformV1Chunk {
787
+ /** Required. The data in the chunk. */
788
+ data?: string;
789
+ /** Optional. Metadata that is associated with the data in the payload. */
790
+ metadata?: GoogleCloudAiplatformV1Metadata;
791
+ /** Required. Mime type of the chunk data. See https://www.iana.org/assignments/media-types/media-types.xhtml for the full list. */
792
+ mimeType?: string;
793
+ }
780
794
  interface GoogleCloudAiplatformV1Citation {
781
795
  /** Output only. The end index of the citation in the content. */
782
796
  endIndex?: number;
@@ -1741,7 +1755,7 @@ declare namespace gapi.client {
1741
1755
  values?: number[];
1742
1756
  }
1743
1757
  interface GoogleCloudAiplatformV1EncryptionSpec {
1744
- /** Required. The Cloud KMS resource identifier of the customer managed encryption key used to protect a resource. Has the form: `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. The key needs to be in the same region as where the compute resource is created. */
1758
+ /** Required. Resource name of the Cloud KMS key used to protect the resource. The Cloud KMS key must be in the same region as the resource. It must have the format `projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}`. */
1745
1759
  kmsKeyName?: string;
1746
1760
  }
1747
1761
  interface GoogleCloudAiplatformV1Endpoint {
@@ -1873,6 +1887,8 @@ declare namespace gapi.client {
1873
1887
  autoraterConfig?: GoogleCloudAiplatformV1AutoraterConfig;
1874
1888
  /** Required. The dataset used for evaluation. */
1875
1889
  dataset?: GoogleCloudAiplatformV1EvaluationDataset;
1890
+ /** Required. The resource name of the Location to evaluate the dataset. Format: `projects/{project}/locations/{location}` */
1891
+ location?: string;
1876
1892
  /** Required. The metrics used for evaluation. */
1877
1893
  metrics?: GoogleCloudAiplatformV1Metric[];
1878
1894
  /** Required. Config for evaluation output. */
@@ -1897,6 +1913,8 @@ declare namespace gapi.client {
1897
1913
  groundednessInput?: GoogleCloudAiplatformV1GroundednessInput;
1898
1914
  /** The instance to be evaluated. */
1899
1915
  instance?: GoogleCloudAiplatformV1EvaluationInstance;
1916
+ /** Required. The resource name of the Location to evaluate the instances. Format: `projects/{project}/locations/{location}` */
1917
+ location?: string;
1900
1918
  /** The metrics used for evaluation. Currently, we only support evaluating a single metric. If multiple metrics are provided, only the first one will be evaluated. */
1901
1919
  metrics?: GoogleCloudAiplatformV1Metric[];
1902
1920
  /** Input for Metricx metric. */
@@ -2411,6 +2429,22 @@ declare namespace gapi.client {
2411
2429
  /** Required. Programming language of the `code`. */
2412
2430
  language?: string;
2413
2431
  }
2432
+ interface GoogleCloudAiplatformV1ExecuteCodeRequest {
2433
+ /** Required. The inputs used for the stateless code execution. */
2434
+ inputs?: GoogleCloudAiplatformV1Chunk[];
2435
+ }
2436
+ interface GoogleCloudAiplatformV1ExecuteCodeResponse {
2437
+ /** The outputs from the sandbox environment. */
2438
+ outputs?: GoogleCloudAiplatformV1Chunk[];
2439
+ }
2440
+ interface GoogleCloudAiplatformV1ExecuteSandboxEnvironmentRequest {
2441
+ /** Required. The inputs to the sandbox environment. */
2442
+ inputs?: GoogleCloudAiplatformV1Chunk[];
2443
+ }
2444
+ interface GoogleCloudAiplatformV1ExecuteSandboxEnvironmentResponse {
2445
+ /** The outputs from the sandbox environment. */
2446
+ outputs?: GoogleCloudAiplatformV1Chunk[];
2447
+ }
2414
2448
  interface GoogleCloudAiplatformV1Execution {
2415
2449
  /** Output only. Timestamp when this Execution was created. */
2416
2450
  createTime?: string;
@@ -3468,6 +3502,8 @@ declare namespace gapi.client {
3468
3502
  agentConfig?: GoogleCloudAiplatformV1EvaluationInstanceAgentConfig;
3469
3503
  /** Required. The prompt to generate rubrics from. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request. */
3470
3504
  contents?: GoogleCloudAiplatformV1Content[];
3505
+ /** Required. The resource name of the Location to generate rubrics from. Format: `projects/{project}/locations/{location}` */
3506
+ location?: string;
3471
3507
  /** Optional. Specification for using the rubric generation configs of a pre-defined metric, e.g. "generic_quality_v1" and "instruction_following_v1". Some of the configs may be only used in rubric generation and not supporting evaluation, e.g. "fully_customized_generic_quality_v1". If this field is set, the `rubric_generation_spec` field will be ignored. */
3472
3508
  predefinedRubricGenerationSpec?: GoogleCloudAiplatformV1PredefinedMetricSpec;
3473
3509
  /** Optional. Specification for how the rubrics should be generated. */
@@ -3486,6 +3522,10 @@ declare namespace gapi.client {
3486
3522
  disableConsolidation?: boolean;
3487
3523
  /** Optional. If true, no revisions will be created for this request. */
3488
3524
  disableMemoryRevisions?: boolean;
3525
+ /** Optional. User-provided metadata for the generated memories. This is not generated by Memory Bank. */
3526
+ metadata?: {[P in string]: GoogleCloudAiplatformV1MemoryMetadataValue};
3527
+ /** Optional. The strategy to use when applying metadata to existing memories. */
3528
+ metadataMergeStrategy?: string;
3489
3529
  /** Optional. Timestamp of when the revision is considered expired. If not set, the memory revision will be kept until manually deleted. */
3490
3530
  revisionExpireTime?: string;
3491
3531
  /** Optional. Labels to be applied to the generated memory revisions. For example, you can use this to label a revision with its data source. */
@@ -4413,6 +4453,12 @@ declare namespace gapi.client {
4413
4453
  /** List of ReasoningEngines in the requested page. */
4414
4454
  reasoningEngines?: GoogleCloudAiplatformV1ReasoningEngine[];
4415
4455
  }
4456
+ interface GoogleCloudAiplatformV1ListSandboxEnvironmentsResponse {
4457
+ /** A token, which can be sent as ListSandboxEnvironmentsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages. */
4458
+ nextPageToken?: string;
4459
+ /** The SandboxEnvironments matching the request. */
4460
+ sandboxEnvironments?: GoogleCloudAiplatformV1SandboxEnvironment[];
4461
+ }
4416
4462
  interface GoogleCloudAiplatformV1ListSavedQueriesResponse {
4417
4463
  /** The standard List next-page token. */
4418
4464
  nextPageToken?: string;
@@ -4578,6 +4624,8 @@ declare namespace gapi.client {
4578
4624
  expireTime?: string;
4579
4625
  /** Required. Semantic knowledge extracted from the source content. */
4580
4626
  fact?: string;
4627
+ /** Optional. User-provided metadata for the Memory. This information was provided when creating, updating, or generating the Memory. It was not generated by Memory Bank. */
4628
+ metadata?: {[P in string]: GoogleCloudAiplatformV1MemoryMetadataValue};
4581
4629
  /** Identifier. The resource name of the Memory. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}` */
4582
4630
  name?: string;
4583
4631
  /** Optional. Input only. Timestamp of when the revision is considered expired. If not set, the memory revision will be kept until manually deleted. */
@@ -4596,6 +4644,8 @@ declare namespace gapi.client {
4596
4644
  updateTime?: string;
4597
4645
  }
4598
4646
  interface GoogleCloudAiplatformV1MemoryBankCustomizationConfig {
4647
+ /** Optional. If true, then the memories will be generated in the third person (i.e. "The user generates memories with Memory Bank."). By default, the memories will be generated in the first person (i.e. "I generate memories with Memory Bank.") */
4648
+ enableThirdPersonMemories?: boolean;
4599
4649
  /** Optional. Examples of how to generate memories for a particular scope. */
4600
4650
  generateMemoriesExamples?: GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExample[];
4601
4651
  /** Optional. Topics of information that should be extracted from conversations and stored as memories. If not set, then Memory Bank's default topics will be used. */
@@ -4639,6 +4689,30 @@ declare namespace gapi.client {
4639
4689
  /** Required. The managed topic. */
4640
4690
  managedTopicEnum?: string;
4641
4691
  }
4692
+ interface GoogleCloudAiplatformV1MemoryConjunctionFilter {
4693
+ /** Filters that will combined using AND logic. */
4694
+ filters?: GoogleCloudAiplatformV1MemoryFilter[];
4695
+ }
4696
+ interface GoogleCloudAiplatformV1MemoryFilter {
4697
+ /** Key of the filter. For example, "author" would apply to `metadata` entries with the key "author". */
4698
+ key?: string;
4699
+ /** If true, the filter will be negated. */
4700
+ negate?: boolean;
4701
+ /** Operator to apply to the filter. If not set, then EQUAL will be used. */
4702
+ op?: string;
4703
+ /** Value to compare to. */
4704
+ value?: GoogleCloudAiplatformV1MemoryMetadataValue;
4705
+ }
4706
+ interface GoogleCloudAiplatformV1MemoryMetadataValue {
4707
+ /** Boolean value. */
4708
+ boolValue?: boolean;
4709
+ /** Double value. */
4710
+ doubleValue?: number;
4711
+ /** String value. */
4712
+ stringValue?: string;
4713
+ /** Timestamp value. When filtering on timestamp values, only the seconds field will be compared. */
4714
+ timestampValue?: string;
4715
+ }
4642
4716
  interface GoogleCloudAiplatformV1MemoryRevision {
4643
4717
  /** Output only. Timestamp when this Memory Revision was created. */
4644
4718
  createTime?: string;
@@ -4663,6 +4737,10 @@ declare namespace gapi.client {
4663
4737
  /** Required. The set of version aliases to merge. The alias should be at most 128 characters, and match `a-z{0,126}[a-z-0-9]`. Add the `-` prefix to an alias means removing that alias from the version. `-` is NOT counted in the 128 characters. Example: `-golden` means removing the `golden` alias from the version. There is NO ordering in aliases, which means 1) The aliases returned from GetModel API might not have the exactly same order from this MergeVersionAliases API. 2) Adding and deleting the same alias in the request is not recommended, and the 2 operations will be cancelled out. */
4664
4738
  versionAliases?: string[];
4665
4739
  }
4740
+ interface GoogleCloudAiplatformV1Metadata {
4741
+ /** Optional. Attributes attached to the data. The keys have semantic conventions and the consumers of the attributes should know how to deserialize the value bytes based on the keys. */
4742
+ attributes?: {[P in string]: string};
4743
+ }
4666
4744
  interface GoogleCloudAiplatformV1MetadataSchema {
4667
4745
  /** Output only. Timestamp when this MetadataSchema was created. */
4668
4746
  createTime?: string;
@@ -7097,9 +7175,9 @@ declare namespace gapi.client {
7097
7175
  sourceArchive?: string;
7098
7176
  }
7099
7177
  interface GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecPythonSpec {
7100
- /** Optional. The Python module to load as the entrypoint, specified as a fully qualified module name. For example: path.to.agent. If not specified, defaults to "agent". The project root will be added to Python sys.path, allowing imports to be specified relative to the root. */
7178
+ /** Optional. The Python module to load as the entrypoint, specified as a fully qualified module name. For example: path.to.agent. If not specified, defaults to "agent". The project root will be added to Python sys.path, allowing imports to be specified relative to the root. This field should not be set if the source is `agent_config_source`. */
7101
7179
  entrypointModule?: string;
7102
- /** Optional. The name of the callable object within the `entrypoint_module` to use as the application If not specified, defaults to "root_agent". */
7180
+ /** Optional. The name of the callable object within the `entrypoint_module` to use as the application If not specified, defaults to "root_agent". This field should not be set if the source is `agent_config_source`. */
7103
7181
  entrypointObject?: string;
7104
7182
  /** Optional. The path to the requirements file, relative to the source root. If not specified, defaults to "requirements.txt". */
7105
7183
  requirementsFile?: string;
@@ -7235,6 +7313,8 @@ declare namespace gapi.client {
7235
7313
  interface GoogleCloudAiplatformV1RetrieveMemoriesRequest {
7236
7314
  /** Optional. The standard list filter that will be applied to the retrieved memories. More detail in [AIP-160](https://google.aip.dev/160). Supported fields: * `fact` * `create_time` * `update_time` * `topics` (i.e. `topics.custom_memory_topic_label: "example topic" OR topics.managed_memory_topic: USER_PREFERENCES`) */
7237
7315
  filter?: string;
7316
+ /** Optional. Metadata filters that will be applied to the retrieved memories' `metadata` using OR logic. Filters are defined using disjunctive normal form (OR of ANDs). For example: `filter_groups: [{filters: [{key: "author", value: {string_value: "agent 123"}, op: EQUAL}]}, {filters: [{key: "label", value: {string_value: "travel"}, op: EQUAL}, {key: "author", value: {string_value: "agent 321"}, op: EQUAL}]}]` would be equivalent to the logical expression: `(metadata.author = "agent 123" OR (metadata.label = "travel" AND metadata.author = "agent 321"))`. */
7317
+ filterGroups?: GoogleCloudAiplatformV1MemoryConjunctionFilter[];
7238
7318
  /** Required. The scope of the memories to retrieve. A memory must have exactly the same scope (`Memory.scope`) as the scope provided here to be retrieved (same keys and values). Order does not matter, but it is case-sensitive. */
7239
7319
  scope?: {[P in string]: string};
7240
7320
  /** Parameters for semantic similarity search based retrieval. */
@@ -7431,6 +7511,44 @@ declare namespace gapi.client {
7431
7511
  /** Sample rate (0, 1] */
7432
7512
  sampleRate?: number;
7433
7513
  }
7514
+ interface GoogleCloudAiplatformV1SandboxEnvironment {
7515
+ /** Output only. The connection information of the SandboxEnvironment. */
7516
+ connectionInfo?: GoogleCloudAiplatformV1SandboxEnvironmentConnectionInfo;
7517
+ /** Output only. The timestamp when this SandboxEnvironment was created. */
7518
+ createTime?: string;
7519
+ /** Required. The display name of the SandboxEnvironment. */
7520
+ displayName?: string;
7521
+ /** Optional. Timestamp in UTC of when this SandboxEnvironment is considered expired. This is *always* provided on output, regardless of what `expiration` was sent on input. */
7522
+ expireTime?: string;
7523
+ /** Identifier. The name of the SandboxEnvironment. */
7524
+ name?: string;
7525
+ /** Optional. The configuration of the SandboxEnvironment. */
7526
+ spec?: GoogleCloudAiplatformV1SandboxEnvironmentSpec;
7527
+ /** Output only. The runtime state of the SandboxEnvironment. */
7528
+ state?: string;
7529
+ /** Optional. Input only. The TTL for the sandbox environment. The expiration time is computed: now + TTL. */
7530
+ ttl?: string;
7531
+ /** Output only. The timestamp when this SandboxEnvironment was most recently updated. */
7532
+ updateTime?: string;
7533
+ }
7534
+ interface GoogleCloudAiplatformV1SandboxEnvironmentConnectionInfo {
7535
+ /** Output only. The hostname of the load balancer. */
7536
+ loadBalancerHostname?: string;
7537
+ /** Output only. The IP address of the load balancer. */
7538
+ loadBalancerIp?: string;
7539
+ /** Output only. The internal IP address of the SandboxEnvironment. */
7540
+ sandboxInternalIp?: string;
7541
+ }
7542
+ interface GoogleCloudAiplatformV1SandboxEnvironmentSpec {
7543
+ /** Optional. The code execution environment. */
7544
+ codeExecutionEnvironment?: GoogleCloudAiplatformV1SandboxEnvironmentSpecCodeExecutionEnvironment;
7545
+ }
7546
+ interface GoogleCloudAiplatformV1SandboxEnvironmentSpecCodeExecutionEnvironment {
7547
+ /** The coding language supported in this environment. */
7548
+ codeLanguage?: string;
7549
+ /** The machine config of the code execution environment. */
7550
+ machineConfig?: string;
7551
+ }
7434
7552
  interface GoogleCloudAiplatformV1SavedQuery {
7435
7553
  /** Output only. Filters on the Annotations in the dataset. */
7436
7554
  annotationFilter?: string;
@@ -7516,55 +7634,55 @@ declare namespace gapi.client {
7516
7634
  timeout?: string;
7517
7635
  }
7518
7636
  interface GoogleCloudAiplatformV1Schema {
7519
- /** Optional. Can either be a boolean or an object; controls the presence of additional properties. */
7637
+ /** Optional. If `type` is `OBJECT`, specifies how to handle properties not defined in `properties`. If it is a boolean `false`, no additional properties are allowed. If it is a schema, additional properties are allowed if they conform to the schema. */
7520
7638
  additionalProperties?: any;
7521
- /** Optional. The value should be validated against any (one or more) of the subschemas in the list. */
7639
+ /** Optional. The instance must be valid against any (one or more) of the subschemas listed in `any_of`. */
7522
7640
  anyOf?: GoogleCloudAiplatformV1Schema[];
7523
- /** Optional. Default value of the data. */
7641
+ /** Optional. Default value to use if the field is not specified. */
7524
7642
  default?: any;
7525
- /** Optional. A map of definitions for use by `ref` Only allowed at the root of the schema. */
7643
+ /** Optional. `defs` provides a map of schema definitions that can be reused by `ref` elsewhere in the schema. Only allowed at root level of the schema. */
7526
7644
  defs?: {[P in string]: GoogleCloudAiplatformV1Schema};
7527
- /** Optional. The description of the data. */
7645
+ /** Optional. Description of the schema. */
7528
7646
  description?: string;
7529
- /** Optional. Possible values of the element of primitive type with enum format. Examples: 1. We can define direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]} 2. We can define apartment number as : {type:INTEGER, format:enum, enum:["101", "201", "301"]} */
7647
+ /** Optional. Possible values of the field. This field can be used to restrict a value to a fixed set of values. To mark a field as an enum, set `format` to `enum` and provide the list of possible values in `enum`. For example: 1. To define directions: `{type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", "WEST"]}` 2. To define apartment numbers: `{type:INTEGER, format:enum, enum:["101", "201", "301"]}` */
7530
7648
  enum?: string[];
7531
- /** Optional. Example of the object. Will only populated when the object is the root. */
7649
+ /** Optional. Example of an instance of this schema. */
7532
7650
  example?: any;
7533
- /** Optional. The format of the data. Supported formats: for NUMBER type: "float", "double" for INTEGER type: "int32", "int64" for STRING type: "email", "byte", etc */
7651
+ /** Optional. The format of the data. For `NUMBER` type, format can be `float` or `double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` type, format can be `email`, `byte`, `date`, `date-time`, `password`, and other formats to further refine the data type. */
7534
7652
  format?: string;
7535
- /** Optional. SCHEMA FIELDS FOR TYPE ARRAY Schema of the elements of Type.ARRAY. */
7653
+ /** Optional. If type is `ARRAY`, `items` specifies the schema of elements in the array. */
7536
7654
  items?: GoogleCloudAiplatformV1Schema;
7537
- /** Optional. Maximum value of the Type.INTEGER and Type.NUMBER */
7655
+ /** Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum allowed value. */
7538
7656
  maximum?: number;
7539
- /** Optional. Maximum number of the elements for Type.ARRAY. */
7657
+ /** Optional. If type is `ARRAY`, `max_items` specifies the maximum number of items in an array. */
7540
7658
  maxItems?: string;
7541
- /** Optional. Maximum length of the Type.STRING */
7659
+ /** Optional. If type is `STRING`, `max_length` specifies the maximum length of the string. */
7542
7660
  maxLength?: string;
7543
- /** Optional. Maximum number of the properties for Type.OBJECT. */
7661
+ /** Optional. If type is `OBJECT`, `max_properties` specifies the maximum number of properties that can be provided. */
7544
7662
  maxProperties?: string;
7545
- /** Optional. SCHEMA FIELDS FOR TYPE INTEGER and NUMBER Minimum value of the Type.INTEGER and Type.NUMBER */
7663
+ /** Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum allowed value. */
7546
7664
  minimum?: number;
7547
- /** Optional. Minimum number of the elements for Type.ARRAY. */
7665
+ /** Optional. If type is `ARRAY`, `min_items` specifies the minimum number of items in an array. */
7548
7666
  minItems?: string;
7549
- /** Optional. SCHEMA FIELDS FOR TYPE STRING Minimum length of the Type.STRING */
7667
+ /** Optional. If type is `STRING`, `min_length` specifies the minimum length of the string. */
7550
7668
  minLength?: string;
7551
- /** Optional. Minimum number of the properties for Type.OBJECT. */
7669
+ /** Optional. If type is `OBJECT`, `min_properties` specifies the minimum number of properties that can be provided. */
7552
7670
  minProperties?: string;
7553
- /** Optional. Indicates if the value may be null. */
7671
+ /** Optional. Indicates if the value of this field can be null. */
7554
7672
  nullable?: boolean;
7555
- /** Optional. Pattern of the Type.STRING to restrict a string to a regular expression. */
7673
+ /** Optional. If type is `STRING`, `pattern` specifies a regular expression that the string must match. */
7556
7674
  pattern?: string;
7557
- /** Optional. SCHEMA FIELDS FOR TYPE OBJECT Properties of Type.OBJECT. */
7675
+ /** Optional. If type is `OBJECT`, `properties` is a map of property names to schema definitions for each property of the object. */
7558
7676
  properties?: {[P in string]: GoogleCloudAiplatformV1Schema};
7559
- /** Optional. The order of the properties. Not a standard field in open api spec. Only used to support the order of the properties. */
7677
+ /** Optional. Order of properties displayed or used where order matters. This is not a standard field in OpenAPI specification, but can be used to control the order of properties. */
7560
7678
  propertyOrdering?: string[];
7561
- /** Optional. Allows indirect references between schema nodes. The value should be a valid reference to a child of the root `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring */
7679
+ /** Optional. Allows referencing another schema definition to use in place of this schema. The value must be a valid reference to a schema in `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring */
7562
7680
  ref?: string;
7563
- /** Optional. Required properties of Type.OBJECT. */
7681
+ /** Optional. If type is `OBJECT`, `required` lists the names of properties that must be present. */
7564
7682
  required?: string[];
7565
- /** Optional. The title of the Schema. */
7683
+ /** Optional. Title for the schema. */
7566
7684
  title?: string;
7567
- /** Optional. The type of the data. */
7685
+ /** Optional. Data type of the schema field. */
7568
7686
  type?: string;
7569
7687
  }
7570
7688
  interface GoogleCloudAiplatformV1SchemaAnnotationSpecColor {
@@ -8219,6 +8337,8 @@ declare namespace gapi.client {
8219
8337
  interface GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderData {
8220
8338
  /** Serialized state of the code repository. This string will typically contain a JSON representation of the UI's CodeRepositoryService state (files, folders, content, and any metadata). The UI is responsible for serialization and deserialization. */
8221
8339
  codeRepositoryState?: string;
8340
+ /** Optional. Framework used to build the application. */
8341
+ framework?: string;
8222
8342
  /** Linked resources attached to the application by the user. */
8223
8343
  linkedResources?: GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderDataLinkedResource[];
8224
8344
  }
@@ -8960,9 +9080,9 @@ declare namespace gapi.client {
8960
9080
  strideLength?: string;
8961
9081
  }
8962
9082
  interface GoogleCloudAiplatformV1SchemaVertex {
8963
- /** X coordinate. */
9083
+ /** X coordinate of the vertex, normalized to [0.0, 1.0]. */
8964
9084
  x?: number;
8965
- /** Y coordinate. */
9085
+ /** Y coordinate of the vertex, normalized to [0.0, 1.0]. */
8966
9086
  y?: number;
8967
9087
  }
8968
9088
  interface GoogleCloudAiplatformV1SchemaVideoActionRecognitionAnnotation {
@@ -9882,6 +10002,8 @@ declare namespace gapi.client {
9882
10002
  googleSearch?: GoogleCloudAiplatformV1ToolGoogleSearch;
9883
10003
  /** Optional. Specialized retrieval tool that is powered by Google Search. */
9884
10004
  googleSearchRetrieval?: GoogleCloudAiplatformV1GoogleSearchRetrieval;
10005
+ /** Optional. If specified, Vertex AI will use Parallel.ai to search for information to answer user queries. The search results will be grounded on Parallel.ai and presented to the model for response generation */
10006
+ parallelAiSearch?: GoogleCloudAiplatformV1ToolParallelAiSearch;
9885
10007
  /** Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation. */
9886
10008
  retrieval?: GoogleCloudAiplatformV1Retrieval;
9887
10009
  /** Optional. Tool to support URL context retrieval. */
@@ -9954,6 +10076,12 @@ declare namespace gapi.client {
9954
10076
  toolNameMatchMetricValues?: GoogleCloudAiplatformV1ToolNameMatchMetricValue[];
9955
10077
  }
9956
10078
  interface GoogleCloudAiplatformV1ToolNameMatchSpec {}
10079
+ interface GoogleCloudAiplatformV1ToolParallelAiSearch {
10080
+ /** Optional. The API key for ParallelAiSearch. If an API key is not provided, the system will attempt to verify access by checking for an active Parallel.ai subscription through the Google Cloud Marketplace. See https://docs.parallel.ai/search/search-quickstart for more details. */
10081
+ apiKey?: string;
10082
+ /** Optional. Custom configs for ParallelAiSearch. This field can be used to pass any parameter from the Parallel.ai Search API. See the Parallel.ai documentation for the full list of available parameters and their usage: https://docs.parallel.ai/api-reference/search-beta/search Currently only `source_policy`, `excerpts`, `max_results`, `mode`, `fetch_policy` can be set via this field. For example: { "source_policy": { "include_domains": ["google.com", "wikipedia.org"], "exclude_domains": ["example.com"] }, "fetch_policy": { "max_age_seconds": 3600 } } */
10083
+ customConfigs?: {[P in string]: any};
10084
+ }
9957
10085
  interface GoogleCloudAiplatformV1ToolParameterKeyMatchInput {
9958
10086
  /** Required. Repeated tool parameter key match instances. */
9959
10087
  instances?: GoogleCloudAiplatformV1ToolParameterKeyMatchInstance[];
@@ -10494,6 +10622,16 @@ declare namespace gapi.client {
10494
10622
  /** Optional. Filter specification to filter documents in the data store specified by data_store field. For more information on filtering, see [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata) */
10495
10623
  filter?: string;
10496
10624
  }
10625
+ interface GoogleCloudAiplatformV1VertexMultimodalDatasetDestination {
10626
+ /** Optional. The destination of the underlying BigQuery table that will be created for the output Multimodal Dataset. If not specified, the BigQuery table will be created in a default BigQuery dataset. */
10627
+ bigqueryDestination?: GoogleCloudAiplatformV1BigQueryDestination;
10628
+ /** Optional. Display name of the output dataset. */
10629
+ displayName?: string;
10630
+ }
10631
+ interface GoogleCloudAiplatformV1VertexMultimodalDatasetSource {
10632
+ /** Required. The resource name of the Vertex Dataset. Format: `projects/{project}/locations/{location}/datasets/{dataset}` */
10633
+ datasetName?: string;
10634
+ }
10497
10635
  interface GoogleCloudAiplatformV1VertexRagStore {
10498
10636
  /** Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support. */
10499
10637
  ragResources?: GoogleCloudAiplatformV1VertexRagStoreRagResource[];
@@ -20050,6 +20188,68 @@ declare namespace gapi.client {
20050
20188
  ): Request<GoogleApiHttpBody>;
20051
20189
  }
20052
20190
  interface OpenapiResource {
20191
+ /** Forwards arbitrary HTTP requests for both streaming and non-streaming cases. To use this method, invoke_route_prefix must be set to allow the paths that will be specified in the request. */
20192
+ completions(request: {
20193
+ /** V1 error format. */
20194
+ '$.xgafv'?: string;
20195
+ /** OAuth access token. */
20196
+ access_token?: string;
20197
+ /** Data format for response. */
20198
+ alt?: string;
20199
+ /** JSONP */
20200
+ callback?: string;
20201
+ /** ID of the DeployedModel that serves the invoke request. */
20202
+ deployedModelId?: string;
20203
+ /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
20204
+ endpoint: string;
20205
+ /** Selector specifying which fields to include in a partial response. */
20206
+ fields?: string;
20207
+ /** 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. */
20208
+ key?: string;
20209
+ /** OAuth 2.0 token for the current user. */
20210
+ oauth_token?: string;
20211
+ /** Returns response with indentations and line breaks. */
20212
+ prettyPrint?: boolean;
20213
+ /** 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. */
20214
+ quotaUser?: string;
20215
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20216
+ upload_protocol?: string;
20217
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20218
+ uploadType?: string;
20219
+ /** Request body */
20220
+ resource: GoogleApiHttpBody;
20221
+ }): Request<GoogleApiHttpBody>;
20222
+ completions(
20223
+ request: {
20224
+ /** V1 error format. */
20225
+ '$.xgafv'?: string;
20226
+ /** OAuth access token. */
20227
+ access_token?: string;
20228
+ /** Data format for response. */
20229
+ alt?: string;
20230
+ /** JSONP */
20231
+ callback?: string;
20232
+ /** ID of the DeployedModel that serves the invoke request. */
20233
+ deployedModelId?: string;
20234
+ /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
20235
+ endpoint: string;
20236
+ /** Selector specifying which fields to include in a partial response. */
20237
+ fields?: string;
20238
+ /** 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. */
20239
+ key?: string;
20240
+ /** OAuth 2.0 token for the current user. */
20241
+ oauth_token?: string;
20242
+ /** Returns response with indentations and line breaks. */
20243
+ prettyPrint?: boolean;
20244
+ /** 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. */
20245
+ quotaUser?: string;
20246
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
20247
+ upload_protocol?: string;
20248
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
20249
+ uploadType?: string;
20250
+ },
20251
+ body: GoogleApiHttpBody,
20252
+ ): Request<GoogleApiHttpBody>;
20053
20253
  /** Forwards arbitrary HTTP requests for both streaming and non-streaming cases. To use this method, invoke_route_prefix must be set to allow the paths that will be specified in the request. */
20054
20254
  embeddings(request: {
20055
20255
  /** V1 error format. */
@@ -21299,7 +21499,7 @@ declare namespace gapi.client {
21299
21499
  alt?: string;
21300
21500
  /** JSONP */
21301
21501
  callback?: string;
21302
- /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
21502
+ /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` */
21303
21503
  endpoint: string;
21304
21504
  /** Selector specifying which fields to include in a partial response. */
21305
21505
  fields?: string;
@@ -21328,7 +21528,7 @@ declare namespace gapi.client {
21328
21528
  alt?: string;
21329
21529
  /** JSONP */
21330
21530
  callback?: string;
21331
- /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
21531
+ /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` */
21332
21532
  endpoint: string;
21333
21533
  /** Selector specifying which fields to include in a partial response. */
21334
21534
  fields?: string;
@@ -32721,7 +32921,7 @@ declare namespace gapi.client {
32721
32921
  prettyPrint?: boolean;
32722
32922
  /** 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. */
32723
32923
  quotaUser?: string;
32724
- /** Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Input format: `{paths: "${updated_field}"}` Updatable fields: * `encryption_spec.kms_key_name` * `display_name` * `software_config.post_startup_script_config.post_startup_script` * `software_config.post_startup_script_config.post_startup_script_url` * `software_config.post_startup_script_config.post_startup_script_behavior` * `software_config.env` * `software_config.colab_image.release_name` */
32924
+ /** Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Input format: `{paths: "${updated_field}"}` Updatable fields: * `encryption_spec.kms_key_name` * `display_name` * `software_config.post_startup_script_config.post_startup_script` * `software_config.post_startup_script_config.post_startup_script_url` * `software_config.post_startup_script_config.post_startup_script_behavior` * `software_config.env` * `software_config.colab_image.release_name` * `software_config.custom_container_config.image_uri` */
32725
32925
  updateMask?: string;
32726
32926
  /** Upload protocol for media (e.g. "raw", "multipart"). */
32727
32927
  upload_protocol?: string;
@@ -32752,7 +32952,7 @@ declare namespace gapi.client {
32752
32952
  prettyPrint?: boolean;
32753
32953
  /** 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. */
32754
32954
  quotaUser?: string;
32755
- /** Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Input format: `{paths: "${updated_field}"}` Updatable fields: * `encryption_spec.kms_key_name` * `display_name` * `software_config.post_startup_script_config.post_startup_script` * `software_config.post_startup_script_config.post_startup_script_url` * `software_config.post_startup_script_config.post_startup_script_behavior` * `software_config.env` * `software_config.colab_image.release_name` */
32955
+ /** Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Input format: `{paths: "${updated_field}"}` Updatable fields: * `encryption_spec.kms_key_name` * `display_name` * `software_config.post_startup_script_config.post_startup_script` * `software_config.post_startup_script_config.post_startup_script_url` * `software_config.post_startup_script_config.post_startup_script_behavior` * `software_config.env` * `software_config.colab_image.release_name` * `software_config.custom_container_config.image_uri` */
32756
32956
  updateMask?: string;
32757
32957
  /** Upload protocol for media (e.g. "raw", "multipart"). */
32758
32958
  upload_protocol?: string;
@@ -34453,7 +34653,7 @@ declare namespace gapi.client {
34453
34653
  alt?: string;
34454
34654
  /** JSONP */
34455
34655
  callback?: string;
34456
- /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
34656
+ /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` */
34457
34657
  endpoint: string;
34458
34658
  /** Selector specifying which fields to include in a partial response. */
34459
34659
  fields?: string;
@@ -34482,7 +34682,7 @@ declare namespace gapi.client {
34482
34682
  alt?: string;
34483
34683
  /** JSONP */
34484
34684
  callback?: string;
34485
- /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
34685
+ /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` */
34486
34686
  endpoint: string;
34487
34687
  /** Selector specifying which fields to include in a partial response. */
34488
34688
  fields?: string;
@@ -36105,6 +36305,324 @@ declare namespace gapi.client {
36105
36305
  uploadType?: string;
36106
36306
  }): Request<GoogleLongrunningOperation>;
36107
36307
  }
36308
+ interface OperationsResource {
36309
+ /** 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`. */
36310
+ cancel(request?: {
36311
+ /** V1 error format. */
36312
+ '$.xgafv'?: string;
36313
+ /** OAuth access token. */
36314
+ access_token?: string;
36315
+ /** Data format for response. */
36316
+ alt?: string;
36317
+ /** JSONP */
36318
+ callback?: string;
36319
+ /** Selector specifying which fields to include in a partial response. */
36320
+ fields?: string;
36321
+ /** 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. */
36322
+ key?: string;
36323
+ /** The name of the operation resource to be cancelled. */
36324
+ name: string;
36325
+ /** OAuth 2.0 token for the current user. */
36326
+ oauth_token?: string;
36327
+ /** Returns response with indentations and line breaks. */
36328
+ prettyPrint?: boolean;
36329
+ /** 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. */
36330
+ quotaUser?: string;
36331
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36332
+ upload_protocol?: string;
36333
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36334
+ uploadType?: string;
36335
+ }): Request<{}>;
36336
+ /** 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`. */
36337
+ delete(request?: {
36338
+ /** V1 error format. */
36339
+ '$.xgafv'?: string;
36340
+ /** OAuth access token. */
36341
+ access_token?: string;
36342
+ /** Data format for response. */
36343
+ alt?: string;
36344
+ /** JSONP */
36345
+ callback?: string;
36346
+ /** Selector specifying which fields to include in a partial response. */
36347
+ fields?: string;
36348
+ /** 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. */
36349
+ key?: string;
36350
+ /** The name of the operation resource to be deleted. */
36351
+ name: string;
36352
+ /** OAuth 2.0 token for the current user. */
36353
+ oauth_token?: string;
36354
+ /** Returns response with indentations and line breaks. */
36355
+ prettyPrint?: boolean;
36356
+ /** 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. */
36357
+ quotaUser?: string;
36358
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36359
+ upload_protocol?: string;
36360
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36361
+ uploadType?: string;
36362
+ }): Request<{}>;
36363
+ /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
36364
+ get(request?: {
36365
+ /** V1 error format. */
36366
+ '$.xgafv'?: string;
36367
+ /** OAuth access token. */
36368
+ access_token?: string;
36369
+ /** Data format for response. */
36370
+ alt?: string;
36371
+ /** JSONP */
36372
+ callback?: string;
36373
+ /** Selector specifying which fields to include in a partial response. */
36374
+ fields?: string;
36375
+ /** 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. */
36376
+ key?: string;
36377
+ /** The name of the operation resource. */
36378
+ name: string;
36379
+ /** OAuth 2.0 token for the current user. */
36380
+ oauth_token?: string;
36381
+ /** Returns response with indentations and line breaks. */
36382
+ prettyPrint?: boolean;
36383
+ /** 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. */
36384
+ quotaUser?: string;
36385
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36386
+ upload_protocol?: string;
36387
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36388
+ uploadType?: string;
36389
+ }): Request<GoogleLongrunningOperation>;
36390
+ /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */
36391
+ wait(request?: {
36392
+ /** V1 error format. */
36393
+ '$.xgafv'?: string;
36394
+ /** OAuth access token. */
36395
+ access_token?: string;
36396
+ /** Data format for response. */
36397
+ alt?: string;
36398
+ /** JSONP */
36399
+ callback?: string;
36400
+ /** Selector specifying which fields to include in a partial response. */
36401
+ fields?: string;
36402
+ /** 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. */
36403
+ key?: string;
36404
+ /** The name of the operation resource to wait on. */
36405
+ name: string;
36406
+ /** OAuth 2.0 token for the current user. */
36407
+ oauth_token?: string;
36408
+ /** Returns response with indentations and line breaks. */
36409
+ prettyPrint?: boolean;
36410
+ /** 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. */
36411
+ quotaUser?: string;
36412
+ /** The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used. */
36413
+ timeout?: string;
36414
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36415
+ upload_protocol?: string;
36416
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36417
+ uploadType?: string;
36418
+ }): Request<GoogleLongrunningOperation>;
36419
+ }
36420
+ interface SandboxEnvironmentsResource {
36421
+ /** Creates a SandboxEnvironment in a given reasoning engine. */
36422
+ create(request: {
36423
+ /** V1 error format. */
36424
+ '$.xgafv'?: string;
36425
+ /** OAuth access token. */
36426
+ access_token?: string;
36427
+ /** Data format for response. */
36428
+ alt?: string;
36429
+ /** JSONP */
36430
+ callback?: string;
36431
+ /** Selector specifying which fields to include in a partial response. */
36432
+ fields?: string;
36433
+ /** 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. */
36434
+ key?: string;
36435
+ /** OAuth 2.0 token for the current user. */
36436
+ oauth_token?: string;
36437
+ /** Required. The resource name of the reasoning engine to create the SandboxEnvironment in. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`. */
36438
+ parent: string;
36439
+ /** Returns response with indentations and line breaks. */
36440
+ prettyPrint?: boolean;
36441
+ /** 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. */
36442
+ quotaUser?: string;
36443
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36444
+ upload_protocol?: string;
36445
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36446
+ uploadType?: string;
36447
+ /** Request body */
36448
+ resource: GoogleCloudAiplatformV1SandboxEnvironment;
36449
+ }): Request<GoogleLongrunningOperation>;
36450
+ create(
36451
+ request: {
36452
+ /** V1 error format. */
36453
+ '$.xgafv'?: string;
36454
+ /** OAuth access token. */
36455
+ access_token?: string;
36456
+ /** Data format for response. */
36457
+ alt?: string;
36458
+ /** JSONP */
36459
+ callback?: string;
36460
+ /** Selector specifying which fields to include in a partial response. */
36461
+ fields?: string;
36462
+ /** 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. */
36463
+ key?: string;
36464
+ /** OAuth 2.0 token for the current user. */
36465
+ oauth_token?: string;
36466
+ /** Required. The resource name of the reasoning engine to create the SandboxEnvironment in. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`. */
36467
+ parent: string;
36468
+ /** Returns response with indentations and line breaks. */
36469
+ prettyPrint?: boolean;
36470
+ /** 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. */
36471
+ quotaUser?: string;
36472
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36473
+ upload_protocol?: string;
36474
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36475
+ uploadType?: string;
36476
+ },
36477
+ body: GoogleCloudAiplatformV1SandboxEnvironment,
36478
+ ): Request<GoogleLongrunningOperation>;
36479
+ /** Deletes the specific SandboxEnvironment. */
36480
+ delete(request?: {
36481
+ /** V1 error format. */
36482
+ '$.xgafv'?: string;
36483
+ /** OAuth access token. */
36484
+ access_token?: string;
36485
+ /** Data format for response. */
36486
+ alt?: string;
36487
+ /** JSONP */
36488
+ callback?: string;
36489
+ /** Selector specifying which fields to include in a partial response. */
36490
+ fields?: string;
36491
+ /** 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. */
36492
+ key?: string;
36493
+ /** Required. The resource name of the SandboxEnvironment to delete. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}` */
36494
+ name: string;
36495
+ /** OAuth 2.0 token for the current user. */
36496
+ oauth_token?: string;
36497
+ /** Returns response with indentations and line breaks. */
36498
+ prettyPrint?: boolean;
36499
+ /** 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. */
36500
+ quotaUser?: string;
36501
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36502
+ upload_protocol?: string;
36503
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36504
+ uploadType?: string;
36505
+ }): Request<GoogleLongrunningOperation>;
36506
+ /** Executes using a sandbox environment. */
36507
+ execute(request: {
36508
+ /** V1 error format. */
36509
+ '$.xgafv'?: string;
36510
+ /** OAuth access token. */
36511
+ access_token?: string;
36512
+ /** Data format for response. */
36513
+ alt?: string;
36514
+ /** JSONP */
36515
+ callback?: string;
36516
+ /** Selector specifying which fields to include in a partial response. */
36517
+ fields?: string;
36518
+ /** 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. */
36519
+ key?: string;
36520
+ /** Required. The resource name of the sandbox environment to execute. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}` */
36521
+ name: string;
36522
+ /** OAuth 2.0 token for the current user. */
36523
+ oauth_token?: string;
36524
+ /** Returns response with indentations and line breaks. */
36525
+ prettyPrint?: boolean;
36526
+ /** 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. */
36527
+ quotaUser?: string;
36528
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36529
+ upload_protocol?: string;
36530
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36531
+ uploadType?: string;
36532
+ /** Request body */
36533
+ resource: GoogleCloudAiplatformV1ExecuteSandboxEnvironmentRequest;
36534
+ }): Request<GoogleCloudAiplatformV1ExecuteSandboxEnvironmentResponse>;
36535
+ execute(
36536
+ request: {
36537
+ /** V1 error format. */
36538
+ '$.xgafv'?: string;
36539
+ /** OAuth access token. */
36540
+ access_token?: string;
36541
+ /** Data format for response. */
36542
+ alt?: string;
36543
+ /** JSONP */
36544
+ callback?: string;
36545
+ /** Selector specifying which fields to include in a partial response. */
36546
+ fields?: string;
36547
+ /** 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. */
36548
+ key?: string;
36549
+ /** Required. The resource name of the sandbox environment to execute. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}` */
36550
+ name: string;
36551
+ /** OAuth 2.0 token for the current user. */
36552
+ oauth_token?: string;
36553
+ /** Returns response with indentations and line breaks. */
36554
+ prettyPrint?: boolean;
36555
+ /** 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. */
36556
+ quotaUser?: string;
36557
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36558
+ upload_protocol?: string;
36559
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36560
+ uploadType?: string;
36561
+ },
36562
+ body: GoogleCloudAiplatformV1ExecuteSandboxEnvironmentRequest,
36563
+ ): Request<GoogleCloudAiplatformV1ExecuteSandboxEnvironmentResponse>;
36564
+ /** Gets details of the specific SandboxEnvironment. */
36565
+ get(request?: {
36566
+ /** V1 error format. */
36567
+ '$.xgafv'?: string;
36568
+ /** OAuth access token. */
36569
+ access_token?: string;
36570
+ /** Data format for response. */
36571
+ alt?: string;
36572
+ /** JSONP */
36573
+ callback?: string;
36574
+ /** Selector specifying which fields to include in a partial response. */
36575
+ fields?: string;
36576
+ /** 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. */
36577
+ key?: string;
36578
+ /** Required. The resource name of the sandbox environment. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}` */
36579
+ name: string;
36580
+ /** OAuth 2.0 token for the current user. */
36581
+ oauth_token?: string;
36582
+ /** Returns response with indentations and line breaks. */
36583
+ prettyPrint?: boolean;
36584
+ /** 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. */
36585
+ quotaUser?: string;
36586
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36587
+ upload_protocol?: string;
36588
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36589
+ uploadType?: string;
36590
+ }): Request<GoogleCloudAiplatformV1SandboxEnvironment>;
36591
+ /** Lists SandboxEnvironments in a given reasoning engine. */
36592
+ list(request?: {
36593
+ /** V1 error format. */
36594
+ '$.xgafv'?: string;
36595
+ /** OAuth access token. */
36596
+ access_token?: string;
36597
+ /** Data format for response. */
36598
+ alt?: string;
36599
+ /** JSONP */
36600
+ callback?: string;
36601
+ /** Selector specifying which fields to include in a partial response. */
36602
+ fields?: string;
36603
+ /** Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). */
36604
+ filter?: string;
36605
+ /** 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. */
36606
+ key?: string;
36607
+ /** OAuth 2.0 token for the current user. */
36608
+ oauth_token?: string;
36609
+ /** 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. */
36610
+ pageSize?: number;
36611
+ /** Optional. The standard list page token, received from a previous `ListSandboxEnvironments` call. Provide this to retrieve the subsequent page. */
36612
+ pageToken?: string;
36613
+ /** Required. The resource name of the reasoning engine to list sandbox environments from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
36614
+ parent: string;
36615
+ /** Returns response with indentations and line breaks. */
36616
+ prettyPrint?: boolean;
36617
+ /** 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. */
36618
+ quotaUser?: string;
36619
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36620
+ upload_protocol?: string;
36621
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36622
+ uploadType?: string;
36623
+ }): Request<GoogleCloudAiplatformV1ListSandboxEnvironmentsResponse>;
36624
+ operations: OperationsResource;
36625
+ }
36108
36626
  interface EventsResource {
36109
36627
  /** Lists Events in a given session. */
36110
36628
  list(request?: {
@@ -36648,6 +37166,64 @@ declare namespace gapi.client {
36648
37166
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36649
37167
  uploadType?: string;
36650
37168
  }): Request<GoogleLongrunningOperation>;
37169
+ /** Executes code statelessly. */
37170
+ executeCode(request: {
37171
+ /** V1 error format. */
37172
+ '$.xgafv'?: string;
37173
+ /** OAuth access token. */
37174
+ access_token?: string;
37175
+ /** Data format for response. */
37176
+ alt?: string;
37177
+ /** JSONP */
37178
+ callback?: string;
37179
+ /** Selector specifying which fields to include in a partial response. */
37180
+ fields?: string;
37181
+ /** 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. */
37182
+ key?: string;
37183
+ /** Required. The resource name of the sandbox environment to execute. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
37184
+ name: string;
37185
+ /** OAuth 2.0 token for the current user. */
37186
+ oauth_token?: string;
37187
+ /** Returns response with indentations and line breaks. */
37188
+ prettyPrint?: boolean;
37189
+ /** 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. */
37190
+ quotaUser?: string;
37191
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
37192
+ upload_protocol?: string;
37193
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
37194
+ uploadType?: string;
37195
+ /** Request body */
37196
+ resource: GoogleCloudAiplatformV1ExecuteCodeRequest;
37197
+ }): Request<GoogleCloudAiplatformV1ExecuteCodeResponse>;
37198
+ executeCode(
37199
+ request: {
37200
+ /** V1 error format. */
37201
+ '$.xgafv'?: string;
37202
+ /** OAuth access token. */
37203
+ access_token?: string;
37204
+ /** Data format for response. */
37205
+ alt?: string;
37206
+ /** JSONP */
37207
+ callback?: string;
37208
+ /** Selector specifying which fields to include in a partial response. */
37209
+ fields?: string;
37210
+ /** 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. */
37211
+ key?: string;
37212
+ /** Required. The resource name of the sandbox environment to execute. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
37213
+ name: string;
37214
+ /** OAuth 2.0 token for the current user. */
37215
+ oauth_token?: string;
37216
+ /** Returns response with indentations and line breaks. */
37217
+ prettyPrint?: boolean;
37218
+ /** 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. */
37219
+ quotaUser?: string;
37220
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
37221
+ upload_protocol?: string;
37222
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
37223
+ uploadType?: string;
37224
+ },
37225
+ body: GoogleCloudAiplatformV1ExecuteCodeRequest,
37226
+ ): Request<GoogleCloudAiplatformV1ExecuteCodeResponse>;
36651
37227
  /** Gets a reasoning engine. */
36652
37228
  get(request?: {
36653
37229
  /** V1 error format. */
@@ -36888,6 +37464,7 @@ declare namespace gapi.client {
36888
37464
  ): Request<GoogleApiHttpBody>;
36889
37465
  memories: MemoriesResource;
36890
37466
  operations: OperationsResource;
37467
+ sandboxEnvironments: SandboxEnvironmentsResource;
36891
37468
  sessions: SessionsResource;
36892
37469
  }
36893
37470
  interface OperationsResource {
@@ -43100,12 +43677,271 @@ declare namespace gapi.client {
43100
43677
  uploadType?: string;
43101
43678
  }): Request<GoogleLongrunningOperation>;
43102
43679
  }
43103
- interface MemoriesResource {
43104
- operations: OperationsResource;
43105
- }
43106
- interface OperationsResource {
43107
- /** 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`. */
43108
- cancel(request?: {
43680
+ interface MemoriesResource {
43681
+ operations: OperationsResource;
43682
+ }
43683
+ interface OperationsResource {
43684
+ /** 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`. */
43685
+ cancel(request?: {
43686
+ /** V1 error format. */
43687
+ '$.xgafv'?: string;
43688
+ /** OAuth access token. */
43689
+ access_token?: string;
43690
+ /** Data format for response. */
43691
+ alt?: string;
43692
+ /** JSONP */
43693
+ callback?: string;
43694
+ /** Selector specifying which fields to include in a partial response. */
43695
+ fields?: string;
43696
+ /** 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. */
43697
+ key?: string;
43698
+ /** The name of the operation resource to be cancelled. */
43699
+ name: string;
43700
+ /** OAuth 2.0 token for the current user. */
43701
+ oauth_token?: string;
43702
+ /** Returns response with indentations and line breaks. */
43703
+ prettyPrint?: boolean;
43704
+ /** 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. */
43705
+ quotaUser?: string;
43706
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
43707
+ upload_protocol?: string;
43708
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43709
+ uploadType?: string;
43710
+ }): Request<{}>;
43711
+ /** 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`. */
43712
+ delete(request?: {
43713
+ /** V1 error format. */
43714
+ '$.xgafv'?: string;
43715
+ /** OAuth access token. */
43716
+ access_token?: string;
43717
+ /** Data format for response. */
43718
+ alt?: string;
43719
+ /** JSONP */
43720
+ callback?: string;
43721
+ /** Selector specifying which fields to include in a partial response. */
43722
+ fields?: string;
43723
+ /** 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. */
43724
+ key?: string;
43725
+ /** The name of the operation resource to be deleted. */
43726
+ name: string;
43727
+ /** OAuth 2.0 token for the current user. */
43728
+ oauth_token?: string;
43729
+ /** Returns response with indentations and line breaks. */
43730
+ prettyPrint?: boolean;
43731
+ /** 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. */
43732
+ quotaUser?: string;
43733
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
43734
+ upload_protocol?: string;
43735
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43736
+ uploadType?: string;
43737
+ }): Request<{}>;
43738
+ /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
43739
+ get(request?: {
43740
+ /** V1 error format. */
43741
+ '$.xgafv'?: string;
43742
+ /** OAuth access token. */
43743
+ access_token?: string;
43744
+ /** Data format for response. */
43745
+ alt?: string;
43746
+ /** JSONP */
43747
+ callback?: string;
43748
+ /** Selector specifying which fields to include in a partial response. */
43749
+ fields?: string;
43750
+ /** 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. */
43751
+ key?: string;
43752
+ /** The name of the operation resource. */
43753
+ name: string;
43754
+ /** OAuth 2.0 token for the current user. */
43755
+ oauth_token?: string;
43756
+ /** Returns response with indentations and line breaks. */
43757
+ prettyPrint?: boolean;
43758
+ /** 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. */
43759
+ quotaUser?: string;
43760
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
43761
+ upload_protocol?: string;
43762
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43763
+ uploadType?: string;
43764
+ }): Request<GoogleLongrunningOperation>;
43765
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
43766
+ list(request?: {
43767
+ /** V1 error format. */
43768
+ '$.xgafv'?: string;
43769
+ /** OAuth access token. */
43770
+ access_token?: string;
43771
+ /** Data format for response. */
43772
+ alt?: string;
43773
+ /** JSONP */
43774
+ callback?: string;
43775
+ /** Selector specifying which fields to include in a partial response. */
43776
+ fields?: string;
43777
+ /** The standard list filter. */
43778
+ filter?: string;
43779
+ /** 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. */
43780
+ key?: string;
43781
+ /** The name of the operation's parent resource. */
43782
+ name: string;
43783
+ /** OAuth 2.0 token for the current user. */
43784
+ oauth_token?: string;
43785
+ /** The standard list page size. */
43786
+ pageSize?: number;
43787
+ /** The standard list page token. */
43788
+ pageToken?: string;
43789
+ /** Returns response with indentations and line breaks. */
43790
+ prettyPrint?: boolean;
43791
+ /** 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. */
43792
+ quotaUser?: string;
43793
+ /** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
43794
+ returnPartialSuccess?: boolean;
43795
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
43796
+ upload_protocol?: string;
43797
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43798
+ uploadType?: string;
43799
+ }): Request<GoogleLongrunningListOperationsResponse>;
43800
+ /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */
43801
+ wait(request?: {
43802
+ /** V1 error format. */
43803
+ '$.xgafv'?: string;
43804
+ /** OAuth access token. */
43805
+ access_token?: string;
43806
+ /** Data format for response. */
43807
+ alt?: string;
43808
+ /** JSONP */
43809
+ callback?: string;
43810
+ /** Selector specifying which fields to include in a partial response. */
43811
+ fields?: string;
43812
+ /** 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. */
43813
+ key?: string;
43814
+ /** The name of the operation resource to wait on. */
43815
+ name: string;
43816
+ /** OAuth 2.0 token for the current user. */
43817
+ oauth_token?: string;
43818
+ /** Returns response with indentations and line breaks. */
43819
+ prettyPrint?: boolean;
43820
+ /** 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. */
43821
+ quotaUser?: string;
43822
+ /** The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used. */
43823
+ timeout?: string;
43824
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
43825
+ upload_protocol?: string;
43826
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43827
+ uploadType?: string;
43828
+ }): Request<GoogleLongrunningOperation>;
43829
+ }
43830
+ interface OperationsResource {
43831
+ /** 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`. */
43832
+ cancel(request?: {
43833
+ /** V1 error format. */
43834
+ '$.xgafv'?: string;
43835
+ /** OAuth access token. */
43836
+ access_token?: string;
43837
+ /** Data format for response. */
43838
+ alt?: string;
43839
+ /** JSONP */
43840
+ callback?: string;
43841
+ /** Selector specifying which fields to include in a partial response. */
43842
+ fields?: string;
43843
+ /** 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. */
43844
+ key?: string;
43845
+ /** The name of the operation resource to be cancelled. */
43846
+ name: string;
43847
+ /** OAuth 2.0 token for the current user. */
43848
+ oauth_token?: string;
43849
+ /** Returns response with indentations and line breaks. */
43850
+ prettyPrint?: boolean;
43851
+ /** 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. */
43852
+ quotaUser?: string;
43853
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
43854
+ upload_protocol?: string;
43855
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43856
+ uploadType?: string;
43857
+ }): Request<{}>;
43858
+ /** 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`. */
43859
+ delete(request?: {
43860
+ /** V1 error format. */
43861
+ '$.xgafv'?: string;
43862
+ /** OAuth access token. */
43863
+ access_token?: string;
43864
+ /** Data format for response. */
43865
+ alt?: string;
43866
+ /** JSONP */
43867
+ callback?: string;
43868
+ /** Selector specifying which fields to include in a partial response. */
43869
+ fields?: string;
43870
+ /** 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. */
43871
+ key?: string;
43872
+ /** The name of the operation resource to be deleted. */
43873
+ name: string;
43874
+ /** OAuth 2.0 token for the current user. */
43875
+ oauth_token?: string;
43876
+ /** Returns response with indentations and line breaks. */
43877
+ prettyPrint?: boolean;
43878
+ /** 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. */
43879
+ quotaUser?: string;
43880
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
43881
+ upload_protocol?: string;
43882
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43883
+ uploadType?: string;
43884
+ }): Request<{}>;
43885
+ /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
43886
+ get(request?: {
43887
+ /** V1 error format. */
43888
+ '$.xgafv'?: string;
43889
+ /** OAuth access token. */
43890
+ access_token?: string;
43891
+ /** Data format for response. */
43892
+ alt?: string;
43893
+ /** JSONP */
43894
+ callback?: string;
43895
+ /** Selector specifying which fields to include in a partial response. */
43896
+ fields?: string;
43897
+ /** 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. */
43898
+ key?: string;
43899
+ /** The name of the operation resource. */
43900
+ name: string;
43901
+ /** OAuth 2.0 token for the current user. */
43902
+ oauth_token?: string;
43903
+ /** Returns response with indentations and line breaks. */
43904
+ prettyPrint?: boolean;
43905
+ /** 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. */
43906
+ quotaUser?: string;
43907
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
43908
+ upload_protocol?: string;
43909
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43910
+ uploadType?: string;
43911
+ }): Request<GoogleLongrunningOperation>;
43912
+ /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */
43913
+ wait(request?: {
43914
+ /** V1 error format. */
43915
+ '$.xgafv'?: string;
43916
+ /** OAuth access token. */
43917
+ access_token?: string;
43918
+ /** Data format for response. */
43919
+ alt?: string;
43920
+ /** JSONP */
43921
+ callback?: string;
43922
+ /** Selector specifying which fields to include in a partial response. */
43923
+ fields?: string;
43924
+ /** 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. */
43925
+ key?: string;
43926
+ /** The name of the operation resource to wait on. */
43927
+ name: string;
43928
+ /** OAuth 2.0 token for the current user. */
43929
+ oauth_token?: string;
43930
+ /** Returns response with indentations and line breaks. */
43931
+ prettyPrint?: boolean;
43932
+ /** 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. */
43933
+ quotaUser?: string;
43934
+ /** The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used. */
43935
+ timeout?: string;
43936
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
43937
+ upload_protocol?: string;
43938
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43939
+ uploadType?: string;
43940
+ }): Request<GoogleLongrunningOperation>;
43941
+ }
43942
+ interface SandboxEnvironmentsResource {
43943
+ /** Creates a SandboxEnvironment in a given reasoning engine. */
43944
+ create(request: {
43109
43945
  /** V1 error format. */
43110
43946
  '$.xgafv'?: string;
43111
43947
  /** OAuth access token. */
@@ -43118,10 +43954,10 @@ declare namespace gapi.client {
43118
43954
  fields?: string;
43119
43955
  /** 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. */
43120
43956
  key?: string;
43121
- /** The name of the operation resource to be cancelled. */
43122
- name: string;
43123
43957
  /** OAuth 2.0 token for the current user. */
43124
43958
  oauth_token?: string;
43959
+ /** Required. The resource name of the reasoning engine to create the SandboxEnvironment in. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`. */
43960
+ parent: string;
43125
43961
  /** Returns response with indentations and line breaks. */
43126
43962
  prettyPrint?: boolean;
43127
43963
  /** 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. */
@@ -43130,8 +43966,39 @@ declare namespace gapi.client {
43130
43966
  upload_protocol?: string;
43131
43967
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43132
43968
  uploadType?: string;
43133
- }): Request<{}>;
43134
- /** 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`. */
43969
+ /** Request body */
43970
+ resource: GoogleCloudAiplatformV1SandboxEnvironment;
43971
+ }): Request<GoogleLongrunningOperation>;
43972
+ create(
43973
+ request: {
43974
+ /** V1 error format. */
43975
+ '$.xgafv'?: string;
43976
+ /** OAuth access token. */
43977
+ access_token?: string;
43978
+ /** Data format for response. */
43979
+ alt?: string;
43980
+ /** JSONP */
43981
+ callback?: string;
43982
+ /** Selector specifying which fields to include in a partial response. */
43983
+ fields?: string;
43984
+ /** 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. */
43985
+ key?: string;
43986
+ /** OAuth 2.0 token for the current user. */
43987
+ oauth_token?: string;
43988
+ /** Required. The resource name of the reasoning engine to create the SandboxEnvironment in. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`. */
43989
+ parent: string;
43990
+ /** Returns response with indentations and line breaks. */
43991
+ prettyPrint?: boolean;
43992
+ /** 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. */
43993
+ quotaUser?: string;
43994
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
43995
+ upload_protocol?: string;
43996
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43997
+ uploadType?: string;
43998
+ },
43999
+ body: GoogleCloudAiplatformV1SandboxEnvironment,
44000
+ ): Request<GoogleLongrunningOperation>;
44001
+ /** Deletes the specific SandboxEnvironment. */
43135
44002
  delete(request?: {
43136
44003
  /** V1 error format. */
43137
44004
  '$.xgafv'?: string;
@@ -43145,7 +44012,7 @@ declare namespace gapi.client {
43145
44012
  fields?: string;
43146
44013
  /** 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. */
43147
44014
  key?: string;
43148
- /** The name of the operation resource to be deleted. */
44015
+ /** Required. The resource name of the SandboxEnvironment to delete. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}` */
43149
44016
  name: string;
43150
44017
  /** OAuth 2.0 token for the current user. */
43151
44018
  oauth_token?: string;
@@ -43157,9 +44024,9 @@ declare namespace gapi.client {
43157
44024
  upload_protocol?: string;
43158
44025
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43159
44026
  uploadType?: string;
43160
- }): Request<{}>;
43161
- /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
43162
- get(request?: {
44027
+ }): Request<GoogleLongrunningOperation>;
44028
+ /** Executes using a sandbox environment. */
44029
+ execute(request: {
43163
44030
  /** V1 error format. */
43164
44031
  '$.xgafv'?: string;
43165
44032
  /** OAuth access token. */
@@ -43172,7 +44039,7 @@ declare namespace gapi.client {
43172
44039
  fields?: string;
43173
44040
  /** 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. */
43174
44041
  key?: string;
43175
- /** The name of the operation resource. */
44042
+ /** Required. The resource name of the sandbox environment to execute. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}` */
43176
44043
  name: string;
43177
44044
  /** OAuth 2.0 token for the current user. */
43178
44045
  oauth_token?: string;
@@ -43184,9 +44051,40 @@ declare namespace gapi.client {
43184
44051
  upload_protocol?: string;
43185
44052
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43186
44053
  uploadType?: string;
43187
- }): Request<GoogleLongrunningOperation>;
43188
- /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
43189
- list(request?: {
44054
+ /** Request body */
44055
+ resource: GoogleCloudAiplatformV1ExecuteSandboxEnvironmentRequest;
44056
+ }): Request<GoogleCloudAiplatformV1ExecuteSandboxEnvironmentResponse>;
44057
+ execute(
44058
+ request: {
44059
+ /** V1 error format. */
44060
+ '$.xgafv'?: string;
44061
+ /** OAuth access token. */
44062
+ access_token?: string;
44063
+ /** Data format for response. */
44064
+ alt?: string;
44065
+ /** JSONP */
44066
+ callback?: string;
44067
+ /** Selector specifying which fields to include in a partial response. */
44068
+ fields?: string;
44069
+ /** 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. */
44070
+ key?: string;
44071
+ /** Required. The resource name of the sandbox environment to execute. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}` */
44072
+ name: string;
44073
+ /** OAuth 2.0 token for the current user. */
44074
+ oauth_token?: string;
44075
+ /** Returns response with indentations and line breaks. */
44076
+ prettyPrint?: boolean;
44077
+ /** 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. */
44078
+ quotaUser?: string;
44079
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
44080
+ upload_protocol?: string;
44081
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
44082
+ uploadType?: string;
44083
+ },
44084
+ body: GoogleCloudAiplatformV1ExecuteSandboxEnvironmentRequest,
44085
+ ): Request<GoogleCloudAiplatformV1ExecuteSandboxEnvironmentResponse>;
44086
+ /** Gets details of the specific SandboxEnvironment. */
44087
+ get(request?: {
43190
44088
  /** V1 error format. */
43191
44089
  '$.xgafv'?: string;
43192
44090
  /** OAuth access token. */
@@ -43197,31 +44095,23 @@ declare namespace gapi.client {
43197
44095
  callback?: string;
43198
44096
  /** Selector specifying which fields to include in a partial response. */
43199
44097
  fields?: string;
43200
- /** The standard list filter. */
43201
- filter?: string;
43202
44098
  /** 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. */
43203
44099
  key?: string;
43204
- /** The name of the operation's parent resource. */
44100
+ /** Required. The resource name of the sandbox environment. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sandboxEnvironments/{sandbox_environment}` */
43205
44101
  name: string;
43206
44102
  /** OAuth 2.0 token for the current user. */
43207
44103
  oauth_token?: string;
43208
- /** The standard list page size. */
43209
- pageSize?: number;
43210
- /** The standard list page token. */
43211
- pageToken?: string;
43212
44104
  /** Returns response with indentations and line breaks. */
43213
44105
  prettyPrint?: boolean;
43214
44106
  /** 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. */
43215
44107
  quotaUser?: string;
43216
- /** When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation. */
43217
- returnPartialSuccess?: boolean;
43218
44108
  /** Upload protocol for media (e.g. "raw", "multipart"). */
43219
44109
  upload_protocol?: string;
43220
44110
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43221
44111
  uploadType?: string;
43222
- }): Request<GoogleLongrunningListOperationsResponse>;
43223
- /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */
43224
- wait(request?: {
44112
+ }): Request<GoogleCloudAiplatformV1SandboxEnvironment>;
44113
+ /** Lists SandboxEnvironments in a given reasoning engine. */
44114
+ list(request?: {
43225
44115
  /** V1 error format. */
43226
44116
  '$.xgafv'?: string;
43227
44117
  /** OAuth access token. */
@@ -43232,23 +44122,28 @@ declare namespace gapi.client {
43232
44122
  callback?: string;
43233
44123
  /** Selector specifying which fields to include in a partial response. */
43234
44124
  fields?: string;
44125
+ /** Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). */
44126
+ filter?: string;
43235
44127
  /** 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. */
43236
44128
  key?: string;
43237
- /** The name of the operation resource to wait on. */
43238
- name: string;
43239
44129
  /** OAuth 2.0 token for the current user. */
43240
44130
  oauth_token?: string;
44131
+ /** 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. */
44132
+ pageSize?: number;
44133
+ /** Optional. The standard list page token, received from a previous `ListSandboxEnvironments` call. Provide this to retrieve the subsequent page. */
44134
+ pageToken?: string;
44135
+ /** Required. The resource name of the reasoning engine to list sandbox environments from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
44136
+ parent: string;
43241
44137
  /** Returns response with indentations and line breaks. */
43242
44138
  prettyPrint?: boolean;
43243
44139
  /** 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. */
43244
44140
  quotaUser?: string;
43245
- /** The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used. */
43246
- timeout?: string;
43247
44141
  /** Upload protocol for media (e.g. "raw", "multipart"). */
43248
44142
  upload_protocol?: string;
43249
44143
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43250
44144
  uploadType?: string;
43251
- }): Request<GoogleLongrunningOperation>;
44145
+ }): Request<GoogleCloudAiplatformV1ListSandboxEnvironmentsResponse>;
44146
+ operations: OperationsResource;
43252
44147
  }
43253
44148
  interface OperationsResource {
43254
44149
  /** 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`. */
@@ -43488,6 +44383,64 @@ declare namespace gapi.client {
43488
44383
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43489
44384
  uploadType?: string;
43490
44385
  }): Request<GoogleLongrunningOperation>;
44386
+ /** Executes code statelessly. */
44387
+ executeCode(request: {
44388
+ /** V1 error format. */
44389
+ '$.xgafv'?: string;
44390
+ /** OAuth access token. */
44391
+ access_token?: string;
44392
+ /** Data format for response. */
44393
+ alt?: string;
44394
+ /** JSONP */
44395
+ callback?: string;
44396
+ /** Selector specifying which fields to include in a partial response. */
44397
+ fields?: string;
44398
+ /** 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. */
44399
+ key?: string;
44400
+ /** Required. The resource name of the sandbox environment to execute. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
44401
+ name: string;
44402
+ /** OAuth 2.0 token for the current user. */
44403
+ oauth_token?: string;
44404
+ /** Returns response with indentations and line breaks. */
44405
+ prettyPrint?: boolean;
44406
+ /** 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. */
44407
+ quotaUser?: string;
44408
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
44409
+ upload_protocol?: string;
44410
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
44411
+ uploadType?: string;
44412
+ /** Request body */
44413
+ resource: GoogleCloudAiplatformV1ExecuteCodeRequest;
44414
+ }): Request<GoogleCloudAiplatformV1ExecuteCodeResponse>;
44415
+ executeCode(
44416
+ request: {
44417
+ /** V1 error format. */
44418
+ '$.xgafv'?: string;
44419
+ /** OAuth access token. */
44420
+ access_token?: string;
44421
+ /** Data format for response. */
44422
+ alt?: string;
44423
+ /** JSONP */
44424
+ callback?: string;
44425
+ /** Selector specifying which fields to include in a partial response. */
44426
+ fields?: string;
44427
+ /** 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. */
44428
+ key?: string;
44429
+ /** Required. The resource name of the sandbox environment to execute. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
44430
+ name: string;
44431
+ /** OAuth 2.0 token for the current user. */
44432
+ oauth_token?: string;
44433
+ /** Returns response with indentations and line breaks. */
44434
+ prettyPrint?: boolean;
44435
+ /** 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. */
44436
+ quotaUser?: string;
44437
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
44438
+ upload_protocol?: string;
44439
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
44440
+ uploadType?: string;
44441
+ },
44442
+ body: GoogleCloudAiplatformV1ExecuteCodeRequest,
44443
+ ): Request<GoogleCloudAiplatformV1ExecuteCodeResponse>;
43491
44444
  /** Gets a reasoning engine. */
43492
44445
  get(request?: {
43493
44446
  /** V1 error format. */
@@ -43728,6 +44681,7 @@ declare namespace gapi.client {
43728
44681
  ): Request<GoogleApiHttpBody>;
43729
44682
  memories: MemoriesResource;
43730
44683
  operations: OperationsResource;
44684
+ sandboxEnvironments: SandboxEnvironmentsResource;
43731
44685
  sessions: SessionsResource;
43732
44686
  }
43733
44687
  interface OperationsResource {
@@ -45205,6 +46159,170 @@ declare namespace gapi.client {
45205
46159
  interface TuningJobsResource {
45206
46160
  operations: OperationsResource;
45207
46161
  }
46162
+ interface V1Resource {
46163
+ /** Evaluates a dataset based on a set of given metrics. */
46164
+ evaluateDataset(request: {
46165
+ /** V1 error format. */
46166
+ '$.xgafv'?: string;
46167
+ /** OAuth access token. */
46168
+ access_token?: string;
46169
+ /** Data format for response. */
46170
+ alt?: string;
46171
+ /** JSONP */
46172
+ callback?: string;
46173
+ /** Selector specifying which fields to include in a partial response. */
46174
+ fields?: string;
46175
+ /** 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. */
46176
+ key?: string;
46177
+ /** OAuth 2.0 token for the current user. */
46178
+ oauth_token?: string;
46179
+ /** Returns response with indentations and line breaks. */
46180
+ prettyPrint?: boolean;
46181
+ /** 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. */
46182
+ quotaUser?: string;
46183
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
46184
+ upload_protocol?: string;
46185
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
46186
+ uploadType?: string;
46187
+ /** Request body */
46188
+ resource: GoogleCloudAiplatformV1EvaluateDatasetRequest;
46189
+ }): Request<GoogleLongrunningOperation>;
46190
+ evaluateDataset(
46191
+ request: {
46192
+ /** V1 error format. */
46193
+ '$.xgafv'?: string;
46194
+ /** OAuth access token. */
46195
+ access_token?: string;
46196
+ /** Data format for response. */
46197
+ alt?: string;
46198
+ /** JSONP */
46199
+ callback?: string;
46200
+ /** Selector specifying which fields to include in a partial response. */
46201
+ fields?: string;
46202
+ /** 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. */
46203
+ key?: string;
46204
+ /** OAuth 2.0 token for the current user. */
46205
+ oauth_token?: string;
46206
+ /** Returns response with indentations and line breaks. */
46207
+ prettyPrint?: boolean;
46208
+ /** 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. */
46209
+ quotaUser?: string;
46210
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
46211
+ upload_protocol?: string;
46212
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
46213
+ uploadType?: string;
46214
+ },
46215
+ body: GoogleCloudAiplatformV1EvaluateDatasetRequest,
46216
+ ): Request<GoogleLongrunningOperation>;
46217
+ /** Evaluates instances based on a given metric. */
46218
+ evaluateInstances(request: {
46219
+ /** V1 error format. */
46220
+ '$.xgafv'?: string;
46221
+ /** OAuth access token. */
46222
+ access_token?: string;
46223
+ /** Data format for response. */
46224
+ alt?: string;
46225
+ /** JSONP */
46226
+ callback?: string;
46227
+ /** Selector specifying which fields to include in a partial response. */
46228
+ fields?: string;
46229
+ /** 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. */
46230
+ key?: string;
46231
+ /** OAuth 2.0 token for the current user. */
46232
+ oauth_token?: string;
46233
+ /** Returns response with indentations and line breaks. */
46234
+ prettyPrint?: boolean;
46235
+ /** 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. */
46236
+ quotaUser?: string;
46237
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
46238
+ upload_protocol?: string;
46239
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
46240
+ uploadType?: string;
46241
+ /** Request body */
46242
+ resource: GoogleCloudAiplatformV1EvaluateInstancesRequest;
46243
+ }): Request<GoogleCloudAiplatformV1EvaluateInstancesResponse>;
46244
+ evaluateInstances(
46245
+ request: {
46246
+ /** V1 error format. */
46247
+ '$.xgafv'?: string;
46248
+ /** OAuth access token. */
46249
+ access_token?: string;
46250
+ /** Data format for response. */
46251
+ alt?: string;
46252
+ /** JSONP */
46253
+ callback?: string;
46254
+ /** Selector specifying which fields to include in a partial response. */
46255
+ fields?: string;
46256
+ /** 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. */
46257
+ key?: string;
46258
+ /** OAuth 2.0 token for the current user. */
46259
+ oauth_token?: string;
46260
+ /** Returns response with indentations and line breaks. */
46261
+ prettyPrint?: boolean;
46262
+ /** 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. */
46263
+ quotaUser?: string;
46264
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
46265
+ upload_protocol?: string;
46266
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
46267
+ uploadType?: string;
46268
+ },
46269
+ body: GoogleCloudAiplatformV1EvaluateInstancesRequest,
46270
+ ): Request<GoogleCloudAiplatformV1EvaluateInstancesResponse>;
46271
+ /** Generates rubrics for a given prompt. A rubric represents a single testable criterion for evaluation. One input prompt could have multiple rubrics This RPC allows users to get suggested rubrics based on provided prompt, which can then be reviewed and used for subsequent evaluations. */
46272
+ generateInstanceRubrics(request: {
46273
+ /** V1 error format. */
46274
+ '$.xgafv'?: string;
46275
+ /** OAuth access token. */
46276
+ access_token?: string;
46277
+ /** Data format for response. */
46278
+ alt?: string;
46279
+ /** JSONP */
46280
+ callback?: string;
46281
+ /** Selector specifying which fields to include in a partial response. */
46282
+ fields?: string;
46283
+ /** 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. */
46284
+ key?: string;
46285
+ /** OAuth 2.0 token for the current user. */
46286
+ oauth_token?: string;
46287
+ /** Returns response with indentations and line breaks. */
46288
+ prettyPrint?: boolean;
46289
+ /** 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. */
46290
+ quotaUser?: string;
46291
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
46292
+ upload_protocol?: string;
46293
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
46294
+ uploadType?: string;
46295
+ /** Request body */
46296
+ resource: GoogleCloudAiplatformV1GenerateInstanceRubricsRequest;
46297
+ }): Request<GoogleCloudAiplatformV1GenerateInstanceRubricsResponse>;
46298
+ generateInstanceRubrics(
46299
+ request: {
46300
+ /** V1 error format. */
46301
+ '$.xgafv'?: string;
46302
+ /** OAuth access token. */
46303
+ access_token?: string;
46304
+ /** Data format for response. */
46305
+ alt?: string;
46306
+ /** JSONP */
46307
+ callback?: string;
46308
+ /** Selector specifying which fields to include in a partial response. */
46309
+ fields?: string;
46310
+ /** 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. */
46311
+ key?: string;
46312
+ /** OAuth 2.0 token for the current user. */
46313
+ oauth_token?: string;
46314
+ /** Returns response with indentations and line breaks. */
46315
+ prettyPrint?: boolean;
46316
+ /** 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. */
46317
+ quotaUser?: string;
46318
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
46319
+ upload_protocol?: string;
46320
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
46321
+ uploadType?: string;
46322
+ },
46323
+ body: GoogleCloudAiplatformV1GenerateInstanceRubricsRequest,
46324
+ ): Request<GoogleCloudAiplatformV1GenerateInstanceRubricsResponse>;
46325
+ }
45208
46326
 
45209
46327
  const batchPredictionJobs: BatchPredictionJobsResource;
45210
46328
 
@@ -45273,5 +46391,7 @@ declare namespace gapi.client {
45273
46391
  const trainingPipelines: TrainingPipelinesResource;
45274
46392
 
45275
46393
  const tuningJobs: TuningJobsResource;
46394
+
46395
+ const v1: V1Resource;
45276
46396
  }
45277
46397
  }