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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +1847 -179
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://aiplatform.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20251117
12
+ // Revision: 20251204
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -229,6 +229,7 @@ declare namespace gapi.client {
229
229
  /** The API key string. Either this or `api_key_secret_version` must be set. */
230
230
  apiKeyString?: string;
231
231
  }
232
+ interface GoogleCloudAiplatformV1AppendEventResponse {}
232
233
  interface GoogleCloudAiplatformV1Artifact {
233
234
  /** Output only. Timestamp when this Artifact was created. */
234
235
  createTime?: string;
@@ -488,7 +489,7 @@ declare namespace gapi.client {
488
489
  labels?: {[P in string]: string};
489
490
  /** Immutable. Parameters configuring the batch behavior. Currently only applicable when dedicated_resources are used (in other cases Vertex AI does the tuning itself). */
490
491
  manualBatchTuningParameters?: GoogleCloudAiplatformV1ManualBatchTuningParameters;
491
- /** The name of the Model resource that produces the predictions via this job, must share the same ancestor Location. Starting this job has no impact on any existing deployments of the Model and their resources. Exactly one of model and unmanaged_container_model must be set. The model resource name may contain version id or version alias to specify the version. Example: `projects/{project}/locations/{location}/models/{model}@2` or `projects/{project}/locations/{location}/models/{model}@golden` if no version is specified, the default version will be deployed. The model resource could also be a publisher model. Example: `publishers/{publisher}/models/{model}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` */
492
+ /** The name of the Model resource that produces the predictions via this job, must share the same ancestor Location. Starting this job has no impact on any existing deployments of the Model and their resources. Exactly one of model, unmanaged_container_model, or endpoint must be set. The model resource name may contain version id or version alias to specify the version. Example: `projects/{project}/locations/{location}/models/{model}@2` or `projects/{project}/locations/{location}/models/{model}@golden` if no version is specified, the default version will be deployed. The model resource could also be a publisher model. Example: `publishers/{publisher}/models/{model}` or `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` */
492
493
  model?: string;
493
494
  /** The parameters that govern the predictions. The schema of the parameters may be specified via the Model's PredictSchemata's parameters_schema_uri. */
494
495
  modelParameters?: any;
@@ -514,7 +515,7 @@ declare namespace gapi.client {
514
515
  startTime?: string;
515
516
  /** Output only. The detailed state of the job. */
516
517
  state?: string;
517
- /** Contains model information necessary to perform batch prediction without requiring uploading to model registry. Exactly one of model and unmanaged_container_model must be set. */
518
+ /** Contains model information necessary to perform batch prediction without requiring uploading to model registry. Exactly one of model, unmanaged_container_model, or endpoint must be set. */
518
519
  unmanagedContainerModel?: GoogleCloudAiplatformV1UnmanagedContainerModel;
519
520
  /** Output only. Time when the BatchPredictionJob was most recently updated. */
520
521
  updateTime?: string;
@@ -2317,6 +2318,36 @@ declare namespace gapi.client {
2317
2318
  /** Required. The type of the Event. */
2318
2319
  type?: string;
2319
2320
  }
2321
+ interface GoogleCloudAiplatformV1EventActions {
2322
+ /** Optional. Indicates that the event is updating an artifact. key is the filename, value is the version. */
2323
+ artifactDelta?: {[P in string]: number};
2324
+ /** Optional. The agent is escalating to a higher level agent. */
2325
+ escalate?: boolean;
2326
+ /** Optional. Will only be set by a tool response indicating tool request euc. Struct key is the function call id since one function call response (from model) could correspond to multiple function calls. Struct value is the required auth config, which can be another struct. */
2327
+ requestedAuthConfigs?: {[P in string]: any};
2328
+ /** Optional. If true, it won't call model to summarize function response. Only used for function_response event. */
2329
+ skipSummarization?: boolean;
2330
+ /** Optional. Indicates that the event is updating the state with the given delta. */
2331
+ stateDelta?: {[P in string]: any};
2332
+ /** Optional. If set, the event transfers to the specified agent. */
2333
+ transferAgent?: string;
2334
+ }
2335
+ interface GoogleCloudAiplatformV1EventMetadata {
2336
+ /** Optional. The branch of the event. The format is like agent_1.agent_2.agent_3, where agent_1 is the parent of agent_2, and agent_2 is the parent of agent_3. Branch is used when multiple child agents shouldn't see their siblings' conversation history. */
2337
+ branch?: string;
2338
+ /** The custom metadata of the LlmResponse. */
2339
+ customMetadata?: {[P in string]: any};
2340
+ /** Optional. Metadata returned to client when grounding is enabled. */
2341
+ groundingMetadata?: GoogleCloudAiplatformV1GroundingMetadata;
2342
+ /** Optional. Flag indicating that LLM was interrupted when generating the content. Usually it's due to user interruption during a bidi streaming. */
2343
+ interrupted?: boolean;
2344
+ /** Optional. Set of ids of the long running function calls. Agent client will know from this field about which function call is long running. Only valid for function call event. */
2345
+ longRunningToolIds?: string[];
2346
+ /** Optional. Indicates whether the text content is part of a unfinished text stream. Only used for streaming mode and when the content is plain text. */
2347
+ partial?: boolean;
2348
+ /** Optional. Indicates whether the response from the model is complete. Only used for streaming mode. */
2349
+ turnComplete?: boolean;
2350
+ }
2320
2351
  interface GoogleCloudAiplatformV1ExactMatchInput {
2321
2352
  /** Required. Repeated exact match instances. */
2322
2353
  instances?: GoogleCloudAiplatformV1ExactMatchInstance[];
@@ -2808,6 +2839,8 @@ declare namespace gapi.client {
2808
2839
  bigtableMetadata?: GoogleCloudAiplatformV1FeatureOnlineStoreBigtableBigtableMetadata;
2809
2840
  /** Optional. It true, enable direct access to the Bigtable instance. */
2810
2841
  enableDirectBigtableAccess?: boolean;
2842
+ /** Optional. The zone where the underlying Bigtable cluster for the primary Bigtable instance will be provisioned. Only the zone must be provided. For example, only "us-central1-a" should be provided. */
2843
+ zone?: string;
2811
2844
  }
2812
2845
  interface GoogleCloudAiplatformV1FeatureOnlineStoreBigtableAutoScaling {
2813
2846
  /** Optional. A percentage of the cluster's CPU capacity. Can be from 10% to 80%. When a cluster's CPU utilization exceeds the target that you have set, Bigtable immediately adds nodes to the cluster. When CPU utilization is substantially lower than the target, Bigtable removes nodes. If not set will default to 50%. */
@@ -3444,6 +3477,52 @@ declare namespace gapi.client {
3444
3477
  /** Output only. A list of generated rubrics. */
3445
3478
  generatedRubrics?: GoogleCloudAiplatformV1Rubric[];
3446
3479
  }
3480
+ interface GoogleCloudAiplatformV1GenerateMemoriesRequest {
3481
+ /** Defines a direct source of content as the source content from which to generate memories. */
3482
+ directContentsSource?: GoogleCloudAiplatformV1GenerateMemoriesRequestDirectContentsSource;
3483
+ /** Defines a direct source of memories that should be uploaded to Memory Bank. This is similar to `CreateMemory`, but it allows for consolidation between these new memories and existing memories for the same scope. */
3484
+ directMemoriesSource?: GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSource;
3485
+ /** Optional. If true, generated memories will not be consolidated with existing memories; all generated memories will be added as new memories regardless of whether they are duplicates of or contradictory to existing memories. By default, memory consolidation is enabled. */
3486
+ disableConsolidation?: boolean;
3487
+ /** Optional. If true, no revisions will be created for this request. */
3488
+ disableMemoryRevisions?: boolean;
3489
+ /** Optional. Timestamp of when the revision is considered expired. If not set, the memory revision will be kept until manually deleted. */
3490
+ revisionExpireTime?: string;
3491
+ /** Optional. Labels to be applied to the generated memory revisions. For example, you can use this to label a revision with its data source. */
3492
+ revisionLabels?: {[P in string]: string};
3493
+ /** Optional. The TTL for the revision. The expiration time is computed: now + TTL. */
3494
+ revisionTtl?: string;
3495
+ /** Optional. The scope of the memories that should be generated. Memories will be consolidated across memories with the same scope. Must be provided unless the scope is defined in the source content. If `scope` is provided, it will override the scope defined in the source content. Scope values cannot contain the wildcard character '*'. */
3496
+ scope?: {[P in string]: string};
3497
+ /** Defines a Vertex Session as the source content from which to generate memories. */
3498
+ vertexSessionSource?: GoogleCloudAiplatformV1GenerateMemoriesRequestVertexSessionSource;
3499
+ }
3500
+ interface GoogleCloudAiplatformV1GenerateMemoriesRequestDirectContentsSource {
3501
+ /** Required. The source content (i.e. chat history) to generate memories from. */
3502
+ events?: GoogleCloudAiplatformV1GenerateMemoriesRequestDirectContentsSourceEvent[];
3503
+ }
3504
+ interface GoogleCloudAiplatformV1GenerateMemoriesRequestDirectContentsSourceEvent {
3505
+ /** Required. A single piece of content from which to generate memories. */
3506
+ content?: GoogleCloudAiplatformV1Content;
3507
+ }
3508
+ interface GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSource {
3509
+ /** Required. The direct memories to upload to Memory Bank. At most 5 direct memories are allowed per request. */
3510
+ directMemories?: GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory[];
3511
+ }
3512
+ interface GoogleCloudAiplatformV1GenerateMemoriesRequestDirectMemoriesSourceDirectMemory {
3513
+ /** Required. The fact to consolidate with existing memories. */
3514
+ fact?: string;
3515
+ /** Optional. The topics that the consolidated memories should be associated with. */
3516
+ topics?: GoogleCloudAiplatformV1MemoryTopicId[];
3517
+ }
3518
+ interface GoogleCloudAiplatformV1GenerateMemoriesRequestVertexSessionSource {
3519
+ /** Optional. End time (exclusive) of the time range. If not set, the end time is unbounded. */
3520
+ endTime?: string;
3521
+ /** Required. The resource name of the Session to generate memories for. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` */
3522
+ session?: string;
3523
+ /** Optional. Time range to define which session events should be used to generate memories. Start time (inclusive) of the time range. If not set, the start time is unbounded. */
3524
+ startTime?: string;
3525
+ }
3447
3526
  interface GoogleCloudAiplatformV1GenerateSyntheticDataRequest {
3448
3527
  /** Required. The number of synthetic examples to generate. For this stateless API, the count is limited to a small number. */
3449
3528
  count?: number;
@@ -4010,6 +4089,10 @@ declare namespace gapi.client {
4010
4089
  /** Required. The number of steps for approximating the path integral. A good value to start is 50 and gradually increase until the sum to diff property is within the desired error range. Valid range of its value is [1, 100], inclusively. */
4011
4090
  stepCount?: number;
4012
4091
  }
4092
+ interface GoogleCloudAiplatformV1IntermediateExtractedMemory {
4093
+ /** Output only. The fact of the extracted memory. */
4094
+ fact?: string;
4095
+ }
4013
4096
  interface GoogleCloudAiplatformV1InvokeRequest {
4014
4097
  /** ID of the DeployedModel that serves the invoke request. */
4015
4098
  deployedModelId?: string;
@@ -4140,6 +4223,12 @@ declare namespace gapi.client {
4140
4223
  /** A token to retrieve the next page of results. */
4141
4224
  nextPageToken?: string;
4142
4225
  }
4226
+ interface GoogleCloudAiplatformV1ListEventsResponse {
4227
+ /** A token, which can be sent as ListEventsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages. */
4228
+ nextPageToken?: string;
4229
+ /** A list of events matching the request. Ordered by timestamp in ascending order. */
4230
+ sessionEvents?: GoogleCloudAiplatformV1SessionEvent[];
4231
+ }
4143
4232
  interface GoogleCloudAiplatformV1ListExecutionsResponse {
4144
4233
  /** The Executions retrieved from the MetadataStore. */
4145
4234
  executions?: GoogleCloudAiplatformV1Execution[];
@@ -4200,6 +4289,18 @@ declare namespace gapi.client {
4200
4289
  /** A token to retrieve next page of results. Pass to ListIndexesRequest.page_token to obtain that page. */
4201
4290
  nextPageToken?: string;
4202
4291
  }
4292
+ interface GoogleCloudAiplatformV1ListMemoriesResponse {
4293
+ /** List of Memories in the requested page. */
4294
+ memories?: GoogleCloudAiplatformV1Memory[];
4295
+ /** A token to retrieve the next page of results. Pass to ListMemoriesRequest.page_token to obtain that page. */
4296
+ nextPageToken?: string;
4297
+ }
4298
+ interface GoogleCloudAiplatformV1ListMemoryRevisionsResponse {
4299
+ /** The list of Memory Revisions in the request page. */
4300
+ memoryRevisions?: GoogleCloudAiplatformV1MemoryRevision[];
4301
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
4302
+ nextPageToken?: string;
4303
+ }
4203
4304
  interface GoogleCloudAiplatformV1ListMetadataSchemasResponse {
4204
4305
  /** The MetadataSchemas found for the MetadataStore. */
4205
4306
  metadataSchemas?: GoogleCloudAiplatformV1MetadataSchema[];
@@ -4324,6 +4425,12 @@ declare namespace gapi.client {
4324
4425
  /** List of Schedules in the requested page. */
4325
4426
  schedules?: GoogleCloudAiplatformV1Schedule[];
4326
4427
  }
4428
+ interface GoogleCloudAiplatformV1ListSessionsResponse {
4429
+ /** A token, which can be sent as ListSessionsRequest.page_token to retrieve the next page. Absence of this field indicates there are no subsequent pages. */
4430
+ nextPageToken?: string;
4431
+ /** A list of sessions matching the request. */
4432
+ sessions?: GoogleCloudAiplatformV1Session[];
4433
+ }
4327
4434
  interface GoogleCloudAiplatformV1ListSpecialistPoolsResponse {
4328
4435
  /** The standard List next-page token. */
4329
4436
  nextPageToken?: string;
@@ -4427,10 +4534,12 @@ declare namespace gapi.client {
4427
4534
  volumeHandle?: string;
4428
4535
  }
4429
4536
  interface GoogleCloudAiplatformV1MachineSpec {
4430
- /** The number of accelerators to attach to the machine. */
4537
+ /** The number of accelerators to attach to the machine. For accelerator optimized machine types (https://cloud.google.com/compute/docs/accelerator-optimized-machines), One may set the accelerator_count from 1 to N for machine with N GPUs. If accelerator_count is less than or equal to N / 2, Vertex will co-schedule the replicas of the model into the same VM to save cost. For example, if the machine type is a3-highgpu-8g, which has 8 H100 GPUs, one can set accelerator_count to 1 to 8. If accelerator_count is 1, 2, 3, or 4, Vertex will co-schedule 8, 4, 2, or 2 replicas of the model into the same VM to save cost. When co-scheduling, CPU, memory and storage on the VM will be distributed to replicas on the VM. For example, one can expect a co-scheduled replica requesting 2 GPUs out of a 8-GPU VM will receive 25% of the CPU, memory and storage of the VM. Note that the feature is not compatible with multihost_gpu_node_count. When multihost_gpu_node_count is set, the co-scheduling will not be enabled. */
4431
4538
  acceleratorCount?: number;
4432
4539
  /** Immutable. The type of accelerator(s) that may be attached to the machine as per accelerator_count. */
4433
4540
  acceleratorType?: string;
4541
+ /** Optional. Immutable. The Nvidia GPU partition size. When specified, the requested accelerators will be partitioned into smaller GPU partitions. For example, if the request is for 8 units of NVIDIA A100 GPUs, and gpu_partition_size="1g.10gb", the service will create 8 * 7 = 56 partitioned MIG instances. The partition size must be a value supported by the requested accelerator. Refer to [Nvidia GPU Partitioning](https://cloud.google.com/kubernetes-engine/docs/how-to/gpus-multi#multi-instance_gpu_partitions) for the available partition sizes. If set, the accelerator_count should be set to 1. */
4542
+ gpuPartitionSize?: string;
4434
4543
  /** Immutable. The type of the machine. See the [list of machine types supported for prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types) See the [list of machine types supported for custom training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types). For DeployedModel this field is optional, and the default value is `n1-standard-2`. For BatchPredictionJob or as part of WorkerPoolSpec this field is required. */
4435
4544
  machineType?: string;
4436
4545
  /** Optional. Immutable. Configuration controlling how this resource pool consumes reservation. */
@@ -4456,6 +4565,36 @@ declare namespace gapi.client {
4456
4565
  /** Output only. The value for this metric. */
4457
4566
  value?: number;
4458
4567
  }
4568
+ interface GoogleCloudAiplatformV1Memory {
4569
+ /** Output only. Timestamp when this Memory was created. */
4570
+ createTime?: string;
4571
+ /** Optional. Description of the Memory. */
4572
+ description?: string;
4573
+ /** Optional. Input only. If true, no revision will be created for this request. */
4574
+ disableMemoryRevisions?: boolean;
4575
+ /** Optional. Display name of the Memory. */
4576
+ displayName?: string;
4577
+ /** Optional. Timestamp of when this resource is considered expired. This is *always* provided on output when `expiration` is set on input, regardless of whether `expire_time` or `ttl` was provided. */
4578
+ expireTime?: string;
4579
+ /** Required. Semantic knowledge extracted from the source content. */
4580
+ fact?: string;
4581
+ /** Identifier. The resource name of the Memory. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}` */
4582
+ name?: string;
4583
+ /** Optional. Input only. Timestamp of when the revision is considered expired. If not set, the memory revision will be kept until manually deleted. */
4584
+ revisionExpireTime?: string;
4585
+ /** Optional. Input only. The labels to apply to the Memory Revision created as a result of this request. */
4586
+ revisionLabels?: {[P in string]: string};
4587
+ /** Optional. Input only. The TTL for the revision. The expiration time is computed: now + TTL. */
4588
+ revisionTtl?: string;
4589
+ /** Required. Immutable. The scope of the Memory. Memories are isolated within their scope. The scope is defined when creating or generating memories. Scope values cannot contain the wildcard character '*'. */
4590
+ scope?: {[P in string]: string};
4591
+ /** Optional. The Topics of the Memory. */
4592
+ topics?: GoogleCloudAiplatformV1MemoryTopicId[];
4593
+ /** Optional. Input only. The TTL for this resource. The expiration time is computed: now + TTL. */
4594
+ ttl?: string;
4595
+ /** Output only. Timestamp when this Memory was most recently updated. */
4596
+ updateTime?: string;
4597
+ }
4459
4598
  interface GoogleCloudAiplatformV1MemoryBankCustomizationConfig {
4460
4599
  /** Optional. Examples of how to generate memories for a particular scope. */
4461
4600
  generateMemoriesExamples?: GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExample[];
@@ -4500,6 +4639,20 @@ declare namespace gapi.client {
4500
4639
  /** Required. The managed topic. */
4501
4640
  managedTopicEnum?: string;
4502
4641
  }
4642
+ interface GoogleCloudAiplatformV1MemoryRevision {
4643
+ /** Output only. Timestamp when this Memory Revision was created. */
4644
+ createTime?: string;
4645
+ /** Output only. Timestamp of when this resource is considered expired. */
4646
+ expireTime?: string;
4647
+ /** Output only. The extracted memories from the source content before consolidation when the memory was updated via GenerateMemories. This information was used to modify an existing Memory via Consolidation. */
4648
+ extractedMemories?: GoogleCloudAiplatformV1IntermediateExtractedMemory[];
4649
+ /** Output only. The fact of the Memory Revision. This corresponds to the `fact` field of the parent Memory at the time of revision creation. */
4650
+ fact?: string;
4651
+ /** Output only. The labels of the Memory Revision. These labels are applied to the MemoryRevision when it is created based on `GenerateMemoriesRequest.revision_labels`. */
4652
+ labels?: {[P in string]: string};
4653
+ /** Identifier. The resource name of the Memory Revision. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}/revisions/{memory_revision}` */
4654
+ name?: string;
4655
+ }
4503
4656
  interface GoogleCloudAiplatformV1MemoryTopicId {
4504
4657
  /** Optional. The custom memory topic label. */
4505
4658
  customMemoryTopicLabel?: string;
@@ -6339,6 +6492,12 @@ declare namespace gapi.client {
6339
6492
  /** A sample of the Execution names that will be deleted. Only populated if `force` is set to false. The maximum number of samples is 100 (it is possible to return fewer). */
6340
6493
  purgeSample?: string[];
6341
6494
  }
6495
+ interface GoogleCloudAiplatformV1PurgeMemoriesRequest {
6496
+ /** Required. The standard list filter to determine which memories to purge. More detail in [AIP-160](https://google.aip.dev/160). */
6497
+ filter?: string;
6498
+ /** Optional. If true, the memories will actually be purged. If false, the purge request will be validated but not executed. */
6499
+ force?: boolean;
6500
+ }
6342
6501
  interface GoogleCloudAiplatformV1PythonPackageSpec {
6343
6502
  /** Command line arguments to be passed to the Python task. */
6344
6503
  args?: string[];
@@ -6876,6 +7035,10 @@ declare namespace gapi.client {
6876
7035
  classMethods?: Array<{[P in string]: any}>;
6877
7036
  /** Optional. The specification of a Reasoning Engine deployment. */
6878
7037
  deploymentSpec?: GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec;
7038
+ /** Output only. The identity to use for the Reasoning Engine. It can contain one of the following values: * service-{project}@gcp-sa-aiplatform-re.googleapis.com (for SERVICE_AGENT identity type) * {name}@{project}.gserviceaccount.com (for SERVICE_ACCOUNT identity type) * agents.global.{org}.system.id.goog/resources/aiplatform/projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine} (for AGENT_IDENTITY identity type) */
7039
+ effectiveIdentity?: string;
7040
+ /** Optional. The identity type to use for the Reasoning Engine. If not specified, the `service_account` field will be used if set, otherwise the default Vertex AI Reasoning Engine Service Agent in the project will be used. */
7041
+ identityType?: string;
6879
7042
  /** Optional. User provided package spec of the ReasoningEngine. Ignored when users directly specify a deployment image through `deployment_spec.first_party_image_override`, but keeping the field_behavior to avoid introducing breaking changes. The `deployment_source` field should not be set if `package_spec` is specified. */
6880
7043
  packageSpec?: GoogleCloudAiplatformV1ReasoningEngineSpecPackageSpec;
6881
7044
  /** Optional. The service account that the Reasoning Engine artifact runs as. It should have "roles/storage.objectViewer" for reading the user project's Cloud Storage and "roles/aiplatform.user" for using Vertex extensions. If not specified, the Vertex AI Reasoning Engine Service Agent in the project will be used. */
@@ -6910,13 +7073,27 @@ declare namespace gapi.client {
6910
7073
  requirementsGcsUri?: string;
6911
7074
  }
6912
7075
  interface GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpec {
7076
+ /** Source code is in a Git repository managed by Developer Connect. */
7077
+ developerConnectSource?: GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecDeveloperConnectSource;
6913
7078
  /** Source code is provided directly in the request. */
6914
7079
  inlineSource?: GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecInlineSource;
6915
7080
  /** Configuration for a Python application. */
6916
7081
  pythonSpec?: GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecPythonSpec;
6917
7082
  }
7083
+ interface GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecDeveloperConnectConfig {
7084
+ /** Required. Directory, relative to the source root, in which to run the build. */
7085
+ dir?: string;
7086
+ /** Required. The Developer Connect Git repository link, formatted as `projects/*‍/locations/*‍/connections/*‍/gitRepositoryLink/*`. */
7087
+ gitRepositoryLink?: string;
7088
+ /** Required. The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. */
7089
+ revision?: string;
7090
+ }
7091
+ interface GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecDeveloperConnectSource {
7092
+ /** Required. The Developer Connect configuration that defines the specific repository, revision, and directory to use as the source code root. */
7093
+ config?: GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecDeveloperConnectConfig;
7094
+ }
6918
7095
  interface GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecInlineSource {
6919
- /** Required. Input only. The application source code archive, provided as a compressed tarball (.tar.gz) file. */
7096
+ /** Required. Input only. The application source code archive. It must be a compressed tarball (.tar.gz) file. */
6920
7097
  sourceArchive?: string;
6921
7098
  }
6922
7099
  interface GoogleCloudAiplatformV1ReasoningEngineSpecSourceCodeSpecPythonSpec {
@@ -6957,7 +7134,7 @@ declare namespace gapi.client {
6957
7134
  }
6958
7135
  interface GoogleCloudAiplatformV1RemoveDatapointsResponse {}
6959
7136
  interface GoogleCloudAiplatformV1ReplicatedVoiceConfig {
6960
- /** Optional. The mimetype of the voice sample. Currently only mime_type=audio/pcm is supported, which is raw mono 16-bit signed little-endian pcm data, with 24k sampling rate. */
7137
+ /** Optional. The mimetype of the voice sample. The only currently supported value is `audio/wav`. This represents 16-bit signed little-endian wav data, with a 24kHz sampling rate. `mime_type` will default to `audio/wav` if not set. */
6961
7138
  mimeType?: string;
6962
7139
  /** Optional. The sample of the custom voice. */
6963
7140
  voiceSampleAudio?: string;
@@ -7055,6 +7232,44 @@ declare namespace gapi.client {
7055
7232
  /** The contexts of the query. */
7056
7233
  contexts?: GoogleCloudAiplatformV1RagContexts;
7057
7234
  }
7235
+ interface GoogleCloudAiplatformV1RetrieveMemoriesRequest {
7236
+ /** 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
+ filter?: string;
7238
+ /** 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
+ scope?: {[P in string]: string};
7240
+ /** Parameters for semantic similarity search based retrieval. */
7241
+ similaritySearchParams?: GoogleCloudAiplatformV1RetrieveMemoriesRequestSimilaritySearchParams;
7242
+ /** Parameters for simple (non-similarity search) retrieval. */
7243
+ simpleRetrievalParams?: GoogleCloudAiplatformV1RetrieveMemoriesRequestSimpleRetrievalParams;
7244
+ }
7245
+ interface GoogleCloudAiplatformV1RetrieveMemoriesRequestSimilaritySearchParams {
7246
+ /** Required. Query to use for similarity search retrieval. If provided, then the parent ReasoningEngine must have ReasoningEngineContextSpec.MemoryBankConfig.SimilaritySearchConfig set. */
7247
+ searchQuery?: string;
7248
+ /** Optional. The maximum number of memories to return. The service may return fewer than this value. If unspecified, at most 3 memories will be returned. The maximum value is 100; values above 100 will be coerced to 100. */
7249
+ topK?: number;
7250
+ }
7251
+ interface GoogleCloudAiplatformV1RetrieveMemoriesRequestSimpleRetrievalParams {
7252
+ /** Optional. The maximum number of memories to return. The service may return fewer than this value. If unspecified, at most 3 memories will be returned. The maximum value is 100; values above 100 will be coerced to 100. */
7253
+ pageSize?: number;
7254
+ /** Optional. A page token, received from a previous `RetrieveMemories` call. Provide this to retrieve the subsequent page. */
7255
+ pageToken?: string;
7256
+ }
7257
+ interface GoogleCloudAiplatformV1RetrieveMemoriesResponse {
7258
+ /** A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. This token is not set if similarity search was used for retrieval. */
7259
+ nextPageToken?: string;
7260
+ /** The retrieved memories. */
7261
+ retrievedMemories?: GoogleCloudAiplatformV1RetrieveMemoriesResponseRetrievedMemory[];
7262
+ }
7263
+ interface GoogleCloudAiplatformV1RetrieveMemoriesResponseRetrievedMemory {
7264
+ /** The distance between the query and the retrieved Memory. Smaller values indicate more similar memories. This is only set if similarity search was used for retrieval. */
7265
+ distance?: number;
7266
+ /** The retrieved Memory. */
7267
+ memory?: GoogleCloudAiplatformV1Memory;
7268
+ }
7269
+ interface GoogleCloudAiplatformV1RollbackMemoryRequest {
7270
+ /** Required. The ID of the revision to rollback to. */
7271
+ targetRevisionId?: string;
7272
+ }
7058
7273
  interface GoogleCloudAiplatformV1RougeInput {
7059
7274
  /** Required. Repeated rouge instances. */
7060
7275
  instances?: GoogleCloudAiplatformV1RougeInstance[];
@@ -8898,6 +9113,46 @@ declare namespace gapi.client {
8898
9113
  /** Optional. Required when all below conditions are met * `enable_custom_service_account` is true; * any runtime is specified via `ResourceRuntimeSpec` on creation time, for example, Ray The users must have `iam.serviceAccounts.actAs` permission on this service account and then the specified runtime containers will run as it. Do not set this field if you want to submit jobs using custom service account to this PersistentResource after creation, but only specify the `service_account` inside the job. */
8899
9114
  serviceAccount?: string;
8900
9115
  }
9116
+ interface GoogleCloudAiplatformV1Session {
9117
+ /** Output only. Timestamp when the session was created. */
9118
+ createTime?: string;
9119
+ /** Optional. The display name of the session. */
9120
+ displayName?: string;
9121
+ /** Optional. Timestamp of when this session is considered expired. This is *always* provided on output, regardless of what was sent on input. The minimum value is 24 hours from the time of creation. */
9122
+ expireTime?: string;
9123
+ /** The labels with user-defined metadata to organize your Sessions. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. */
9124
+ labels?: {[P in string]: string};
9125
+ /** Identifier. The resource name of the session. Format: 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'. */
9126
+ name?: string;
9127
+ /** Optional. Session specific memory which stores key conversation points. */
9128
+ sessionState?: {[P in string]: any};
9129
+ /** Optional. Input only. The TTL for this session. The minimum value is 24 hours. */
9130
+ ttl?: string;
9131
+ /** Output only. Timestamp when the session was updated. */
9132
+ updateTime?: string;
9133
+ /** Required. Immutable. String id provided by the user */
9134
+ userId?: string;
9135
+ }
9136
+ interface GoogleCloudAiplatformV1SessionEvent {
9137
+ /** Optional. Actions executed by the agent. */
9138
+ actions?: GoogleCloudAiplatformV1EventActions;
9139
+ /** Required. The name of the agent that sent the event, or user. */
9140
+ author?: string;
9141
+ /** Optional. Content of the event provided by the author. */
9142
+ content?: GoogleCloudAiplatformV1Content;
9143
+ /** Optional. Error code if the response is an error. Code varies by model. */
9144
+ errorCode?: string;
9145
+ /** Optional. Error message if the response is an error. */
9146
+ errorMessage?: string;
9147
+ /** Optional. Metadata relating to this event. */
9148
+ eventMetadata?: GoogleCloudAiplatformV1EventMetadata;
9149
+ /** Required. The invocation id of the event, multiple events can have the same invocation id. */
9150
+ invocationId?: string;
9151
+ /** Identifier. The resource name of the event. Format:`projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}`. */
9152
+ name?: string;
9153
+ /** Required. Timestamp when the event was created on client side. */
9154
+ timestamp?: string;
9155
+ }
8901
9156
  interface GoogleCloudAiplatformV1SharePointSources {
8902
9157
  /** The SharePoint sources. */
8903
9158
  sharePointSources?: GoogleCloudAiplatformV1SharePointSourcesSharePointSource[];
@@ -32466,7 +32721,7 @@ declare namespace gapi.client {
32466
32721
  prettyPrint?: boolean;
32467
32722
  /** 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. */
32468
32723
  quotaUser?: string;
32469
- /** Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Input format: `{paths: "${updated_filed}"}` Updatable fields: * `encryption_spec.kms_key_name` */
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` */
32470
32725
  updateMask?: string;
32471
32726
  /** Upload protocol for media (e.g. "raw", "multipart"). */
32472
32727
  upload_protocol?: string;
@@ -32497,7 +32752,7 @@ declare namespace gapi.client {
32497
32752
  prettyPrint?: boolean;
32498
32753
  /** 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. */
32499
32754
  quotaUser?: string;
32500
- /** Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Input format: `{paths: "${updated_filed}"}` Updatable fields: * `encryption_spec.kms_key_name` */
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` */
32501
32756
  updateMask?: string;
32502
32757
  /** Upload protocol for media (e.g. "raw", "multipart"). */
32503
32758
  upload_protocol?: string;
@@ -35196,8 +35451,70 @@ declare namespace gapi.client {
35196
35451
  uploadType?: string;
35197
35452
  }): Request<GoogleLongrunningOperation>;
35198
35453
  }
35199
- interface ReasoningEnginesResource {
35200
- /** Creates a reasoning engine. */
35454
+ interface RevisionsResource {
35455
+ /** Get a Memory Revision. */
35456
+ get(request?: {
35457
+ /** V1 error format. */
35458
+ '$.xgafv'?: string;
35459
+ /** OAuth access token. */
35460
+ access_token?: string;
35461
+ /** Data format for response. */
35462
+ alt?: string;
35463
+ /** JSONP */
35464
+ callback?: string;
35465
+ /** Selector specifying which fields to include in a partial response. */
35466
+ fields?: string;
35467
+ /** 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. */
35468
+ key?: string;
35469
+ /** Required. The resource name of the Memory Revision to retrieve. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}/revisions/{revision}` */
35470
+ name: string;
35471
+ /** OAuth 2.0 token for the current user. */
35472
+ oauth_token?: string;
35473
+ /** Returns response with indentations and line breaks. */
35474
+ prettyPrint?: boolean;
35475
+ /** 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. */
35476
+ quotaUser?: string;
35477
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
35478
+ upload_protocol?: string;
35479
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
35480
+ uploadType?: string;
35481
+ }): Request<GoogleCloudAiplatformV1MemoryRevision>;
35482
+ /** List Memory Revisions for a Memory. */
35483
+ list(request?: {
35484
+ /** V1 error format. */
35485
+ '$.xgafv'?: string;
35486
+ /** OAuth access token. */
35487
+ access_token?: string;
35488
+ /** Data format for response. */
35489
+ alt?: string;
35490
+ /** JSONP */
35491
+ callback?: string;
35492
+ /** Selector specifying which fields to include in a partial response. */
35493
+ fields?: string;
35494
+ /** Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). Supported fields (equality match only): * `labels` */
35495
+ filter?: string;
35496
+ /** 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. */
35497
+ key?: string;
35498
+ /** OAuth 2.0 token for the current user. */
35499
+ oauth_token?: string;
35500
+ /** Optional. The standard list page size. */
35501
+ pageSize?: number;
35502
+ /** Optional. The standard list page token. */
35503
+ pageToken?: string;
35504
+ /** Required. The resource name of the Memory to list revisions for. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}` */
35505
+ parent: string;
35506
+ /** Returns response with indentations and line breaks. */
35507
+ prettyPrint?: boolean;
35508
+ /** 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. */
35509
+ quotaUser?: string;
35510
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
35511
+ upload_protocol?: string;
35512
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
35513
+ uploadType?: string;
35514
+ }): Request<GoogleCloudAiplatformV1ListMemoryRevisionsResponse>;
35515
+ }
35516
+ interface MemoriesResource {
35517
+ /** Create a Memory. */
35201
35518
  create(request: {
35202
35519
  /** V1 error format. */
35203
35520
  '$.xgafv'?: string;
@@ -35213,7 +35530,7 @@ declare namespace gapi.client {
35213
35530
  key?: string;
35214
35531
  /** OAuth 2.0 token for the current user. */
35215
35532
  oauth_token?: string;
35216
- /** Required. The resource name of the Location to create the ReasoningEngine in. Format: `projects/{project}/locations/{location}` */
35533
+ /** Required. The resource name of the ReasoningEngine to create the Memory under. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
35217
35534
  parent: string;
35218
35535
  /** Returns response with indentations and line breaks. */
35219
35536
  prettyPrint?: boolean;
@@ -35224,7 +35541,7 @@ declare namespace gapi.client {
35224
35541
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
35225
35542
  uploadType?: string;
35226
35543
  /** Request body */
35227
- resource: GoogleCloudAiplatformV1ReasoningEngine;
35544
+ resource: GoogleCloudAiplatformV1Memory;
35228
35545
  }): Request<GoogleLongrunningOperation>;
35229
35546
  create(
35230
35547
  request: {
@@ -35242,7 +35559,7 @@ declare namespace gapi.client {
35242
35559
  key?: string;
35243
35560
  /** OAuth 2.0 token for the current user. */
35244
35561
  oauth_token?: string;
35245
- /** Required. The resource name of the Location to create the ReasoningEngine in. Format: `projects/{project}/locations/{location}` */
35562
+ /** Required. The resource name of the ReasoningEngine to create the Memory under. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
35246
35563
  parent: string;
35247
35564
  /** Returns response with indentations and line breaks. */
35248
35565
  prettyPrint?: boolean;
@@ -35253,9 +35570,9 @@ declare namespace gapi.client {
35253
35570
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
35254
35571
  uploadType?: string;
35255
35572
  },
35256
- body: GoogleCloudAiplatformV1ReasoningEngine,
35573
+ body: GoogleCloudAiplatformV1Memory,
35257
35574
  ): Request<GoogleLongrunningOperation>;
35258
- /** Deletes a reasoning engine. */
35575
+ /** Delete a Memory. */
35259
35576
  delete(request?: {
35260
35577
  /** V1 error format. */
35261
35578
  '$.xgafv'?: string;
@@ -35267,11 +35584,9 @@ declare namespace gapi.client {
35267
35584
  callback?: string;
35268
35585
  /** Selector specifying which fields to include in a partial response. */
35269
35586
  fields?: string;
35270
- /** Optional. If set to true, child resources of this reasoning engine will also be deleted. Otherwise, the request will fail with FAILED_PRECONDITION error when the reasoning engine has undeleted child resources. */
35271
- force?: boolean;
35272
35587
  /** 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. */
35273
35588
  key?: string;
35274
- /** Required. The name of the ReasoningEngine resource to be deleted. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
35589
+ /** Required. The resource name of the Memory to delete. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}` */
35275
35590
  name: string;
35276
35591
  /** OAuth 2.0 token for the current user. */
35277
35592
  oauth_token?: string;
@@ -35284,7 +35599,65 @@ declare namespace gapi.client {
35284
35599
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
35285
35600
  uploadType?: string;
35286
35601
  }): Request<GoogleLongrunningOperation>;
35287
- /** Gets a reasoning engine. */
35602
+ /** Generate memories. */
35603
+ generate(request: {
35604
+ /** V1 error format. */
35605
+ '$.xgafv'?: string;
35606
+ /** OAuth access token. */
35607
+ access_token?: string;
35608
+ /** Data format for response. */
35609
+ alt?: string;
35610
+ /** JSONP */
35611
+ callback?: string;
35612
+ /** Selector specifying which fields to include in a partial response. */
35613
+ fields?: string;
35614
+ /** 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. */
35615
+ key?: string;
35616
+ /** OAuth 2.0 token for the current user. */
35617
+ oauth_token?: string;
35618
+ /** Required. The resource name of the ReasoningEngine to generate memories for. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
35619
+ parent: string;
35620
+ /** Returns response with indentations and line breaks. */
35621
+ prettyPrint?: boolean;
35622
+ /** 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. */
35623
+ quotaUser?: string;
35624
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
35625
+ upload_protocol?: string;
35626
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
35627
+ uploadType?: string;
35628
+ /** Request body */
35629
+ resource: GoogleCloudAiplatformV1GenerateMemoriesRequest;
35630
+ }): Request<GoogleLongrunningOperation>;
35631
+ generate(
35632
+ request: {
35633
+ /** V1 error format. */
35634
+ '$.xgafv'?: string;
35635
+ /** OAuth access token. */
35636
+ access_token?: string;
35637
+ /** Data format for response. */
35638
+ alt?: string;
35639
+ /** JSONP */
35640
+ callback?: string;
35641
+ /** Selector specifying which fields to include in a partial response. */
35642
+ fields?: string;
35643
+ /** 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. */
35644
+ key?: string;
35645
+ /** OAuth 2.0 token for the current user. */
35646
+ oauth_token?: string;
35647
+ /** Required. The resource name of the ReasoningEngine to generate memories for. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
35648
+ parent: string;
35649
+ /** Returns response with indentations and line breaks. */
35650
+ prettyPrint?: boolean;
35651
+ /** 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. */
35652
+ quotaUser?: string;
35653
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
35654
+ upload_protocol?: string;
35655
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
35656
+ uploadType?: string;
35657
+ },
35658
+ body: GoogleCloudAiplatformV1GenerateMemoriesRequest,
35659
+ ): Request<GoogleLongrunningOperation>;
35660
+ /** Get a Memory. */
35288
35661
  get(request?: {
35289
35662
  /** V1 error format. */
35290
35663
  '$.xgafv'?: string;
@@ -35298,7 +35671,7 @@ declare namespace gapi.client {
35298
35671
  fields?: string;
35299
35672
  /** 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. */
35300
35673
  key?: string;
35301
- /** Required. The name of the ReasoningEngine resource. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
35674
+ /** Required. The resource name of the Memory. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}` */
35302
35675
  name: string;
35303
35676
  /** OAuth 2.0 token for the current user. */
35304
35677
  oauth_token?: string;
@@ -35310,8 +35683,8 @@ declare namespace gapi.client {
35310
35683
  upload_protocol?: string;
35311
35684
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
35312
35685
  uploadType?: string;
35313
- }): Request<GoogleCloudAiplatformV1ReasoningEngine>;
35314
- /** Lists reasoning engines in a location. */
35686
+ }): Request<GoogleCloudAiplatformV1Memory>;
35687
+ /** List Memories. */
35315
35688
  list(request?: {
35316
35689
  /** V1 error format. */
35317
35690
  '$.xgafv'?: string;
@@ -35323,17 +35696,19 @@ declare namespace gapi.client {
35323
35696
  callback?: string;
35324
35697
  /** Selector specifying which fields to include in a partial response. */
35325
35698
  fields?: string;
35326
- /** Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). */
35699
+ /** Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). Supported fields: * `scope` (as a JSON string with equality match only) * `topics` (i.e. `topics.custom_memory_topic_label: "example topic" OR topics.managed_memory_topic: USER_PREFERENCES`) */
35327
35700
  filter?: string;
35328
35701
  /** 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. */
35329
35702
  key?: string;
35330
35703
  /** OAuth 2.0 token for the current user. */
35331
35704
  oauth_token?: string;
35705
+ /** Optional. The standard list order by string. If not specified, the default order is `create_time desc`. If specified, the default sorting order of provided fields is ascending. More detail in [AIP-132](https://google.aip.dev/132). Supported fields: * `create_time` * `update_time` */
35706
+ orderBy?: string;
35332
35707
  /** Optional. The standard list page size. */
35333
35708
  pageSize?: number;
35334
35709
  /** Optional. The standard list page token. */
35335
35710
  pageToken?: string;
35336
- /** Required. The resource name of the Location to list the ReasoningEngines from. Format: `projects/{project}/locations/{location}` */
35711
+ /** Required. The resource name of the ReasoningEngine to list the Memories under. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
35337
35712
  parent: string;
35338
35713
  /** Returns response with indentations and line breaks. */
35339
35714
  prettyPrint?: boolean;
@@ -35343,8 +35718,8 @@ declare namespace gapi.client {
35343
35718
  upload_protocol?: string;
35344
35719
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
35345
35720
  uploadType?: string;
35346
- }): Request<GoogleCloudAiplatformV1ListReasoningEnginesResponse>;
35347
- /** Updates a reasoning engine. */
35721
+ }): Request<GoogleCloudAiplatformV1ListMemoriesResponse>;
35722
+ /** Update a Memory. */
35348
35723
  patch(request: {
35349
35724
  /** V1 error format. */
35350
35725
  '$.xgafv'?: string;
@@ -35358,7 +35733,7 @@ declare namespace gapi.client {
35358
35733
  fields?: string;
35359
35734
  /** 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. */
35360
35735
  key?: string;
35361
- /** Identifier. The resource name of the ReasoningEngine. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
35736
+ /** Identifier. The resource name of the Memory. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}` */
35362
35737
  name: string;
35363
35738
  /** OAuth 2.0 token for the current user. */
35364
35739
  oauth_token?: string;
@@ -35366,14 +35741,14 @@ declare namespace gapi.client {
35366
35741
  prettyPrint?: boolean;
35367
35742
  /** 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. */
35368
35743
  quotaUser?: string;
35369
- /** Optional. Mask specifying which fields to update. */
35744
+ /** Optional. Mask specifying which fields to update. Supported fields: * `display_name` * `description` * `fact` */
35370
35745
  updateMask?: string;
35371
35746
  /** Upload protocol for media (e.g. "raw", "multipart"). */
35372
35747
  upload_protocol?: string;
35373
35748
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
35374
35749
  uploadType?: string;
35375
35750
  /** Request body */
35376
- resource: GoogleCloudAiplatformV1ReasoningEngine;
35751
+ resource: GoogleCloudAiplatformV1Memory;
35377
35752
  }): Request<GoogleLongrunningOperation>;
35378
35753
  patch(
35379
35754
  request: {
@@ -35389,7 +35764,7 @@ declare namespace gapi.client {
35389
35764
  fields?: string;
35390
35765
  /** 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. */
35391
35766
  key?: string;
35392
- /** Identifier. The resource name of the ReasoningEngine. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
35767
+ /** Identifier. The resource name of the Memory. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}` */
35393
35768
  name: string;
35394
35769
  /** OAuth 2.0 token for the current user. */
35395
35770
  oauth_token?: string;
@@ -35397,17 +35772,17 @@ declare namespace gapi.client {
35397
35772
  prettyPrint?: boolean;
35398
35773
  /** 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. */
35399
35774
  quotaUser?: string;
35400
- /** Optional. Mask specifying which fields to update. */
35775
+ /** Optional. Mask specifying which fields to update. Supported fields: * `display_name` * `description` * `fact` */
35401
35776
  updateMask?: string;
35402
35777
  /** Upload protocol for media (e.g. "raw", "multipart"). */
35403
35778
  upload_protocol?: string;
35404
35779
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
35405
35780
  uploadType?: string;
35406
35781
  },
35407
- body: GoogleCloudAiplatformV1ReasoningEngine,
35782
+ body: GoogleCloudAiplatformV1Memory,
35408
35783
  ): Request<GoogleLongrunningOperation>;
35409
- /** Queries using a reasoning engine. */
35410
- query(request: {
35784
+ /** Purge memories. */
35785
+ purge(request: {
35411
35786
  /** V1 error format. */
35412
35787
  '$.xgafv'?: string;
35413
35788
  /** OAuth access token. */
@@ -35420,10 +35795,10 @@ declare namespace gapi.client {
35420
35795
  fields?: string;
35421
35796
  /** 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. */
35422
35797
  key?: string;
35423
- /** Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
35424
- name: string;
35425
35798
  /** OAuth 2.0 token for the current user. */
35426
35799
  oauth_token?: string;
35800
+ /** Required. The resource name of the ReasoningEngine to purge memories from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
35801
+ parent: string;
35427
35802
  /** Returns response with indentations and line breaks. */
35428
35803
  prettyPrint?: boolean;
35429
35804
  /** 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. */
@@ -35433,9 +35808,9 @@ declare namespace gapi.client {
35433
35808
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
35434
35809
  uploadType?: string;
35435
35810
  /** Request body */
35436
- resource: GoogleCloudAiplatformV1QueryReasoningEngineRequest;
35437
- }): Request<GoogleCloudAiplatformV1QueryReasoningEngineResponse>;
35438
- query(
35811
+ resource: GoogleCloudAiplatformV1PurgeMemoriesRequest;
35812
+ }): Request<GoogleLongrunningOperation>;
35813
+ purge(
35439
35814
  request: {
35440
35815
  /** V1 error format. */
35441
35816
  '$.xgafv'?: string;
@@ -35449,10 +35824,10 @@ declare namespace gapi.client {
35449
35824
  fields?: string;
35450
35825
  /** 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. */
35451
35826
  key?: string;
35452
- /** Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
35453
- name: string;
35454
35827
  /** OAuth 2.0 token for the current user. */
35455
35828
  oauth_token?: string;
35829
+ /** Required. The resource name of the ReasoningEngine to purge memories from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
35830
+ parent: string;
35456
35831
  /** Returns response with indentations and line breaks. */
35457
35832
  prettyPrint?: boolean;
35458
35833
  /** 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. */
@@ -35462,10 +35837,10 @@ declare namespace gapi.client {
35462
35837
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
35463
35838
  uploadType?: string;
35464
35839
  },
35465
- body: GoogleCloudAiplatformV1QueryReasoningEngineRequest,
35466
- ): Request<GoogleCloudAiplatformV1QueryReasoningEngineResponse>;
35467
- /** Streams queries using a reasoning engine. */
35468
- streamQuery(request: {
35840
+ body: GoogleCloudAiplatformV1PurgeMemoriesRequest,
35841
+ ): Request<GoogleLongrunningOperation>;
35842
+ /** Retrieve memories. */
35843
+ retrieve(request: {
35469
35844
  /** V1 error format. */
35470
35845
  '$.xgafv'?: string;
35471
35846
  /** OAuth access token. */
@@ -35478,7 +35853,65 @@ declare namespace gapi.client {
35478
35853
  fields?: string;
35479
35854
  /** 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. */
35480
35855
  key?: string;
35481
- /** Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
35856
+ /** OAuth 2.0 token for the current user. */
35857
+ oauth_token?: string;
35858
+ /** Required. The resource name of the ReasoningEngine to retrieve memories from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
35859
+ parent: string;
35860
+ /** Returns response with indentations and line breaks. */
35861
+ prettyPrint?: boolean;
35862
+ /** 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. */
35863
+ quotaUser?: string;
35864
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
35865
+ upload_protocol?: string;
35866
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
35867
+ uploadType?: string;
35868
+ /** Request body */
35869
+ resource: GoogleCloudAiplatformV1RetrieveMemoriesRequest;
35870
+ }): Request<GoogleCloudAiplatformV1RetrieveMemoriesResponse>;
35871
+ retrieve(
35872
+ request: {
35873
+ /** V1 error format. */
35874
+ '$.xgafv'?: string;
35875
+ /** OAuth access token. */
35876
+ access_token?: string;
35877
+ /** Data format for response. */
35878
+ alt?: string;
35879
+ /** JSONP */
35880
+ callback?: string;
35881
+ /** Selector specifying which fields to include in a partial response. */
35882
+ fields?: string;
35883
+ /** 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. */
35884
+ key?: string;
35885
+ /** OAuth 2.0 token for the current user. */
35886
+ oauth_token?: string;
35887
+ /** Required. The resource name of the ReasoningEngine to retrieve memories from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
35888
+ parent: string;
35889
+ /** Returns response with indentations and line breaks. */
35890
+ prettyPrint?: boolean;
35891
+ /** 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. */
35892
+ quotaUser?: string;
35893
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
35894
+ upload_protocol?: string;
35895
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
35896
+ uploadType?: string;
35897
+ },
35898
+ body: GoogleCloudAiplatformV1RetrieveMemoriesRequest,
35899
+ ): Request<GoogleCloudAiplatformV1RetrieveMemoriesResponse>;
35900
+ /** Rollback Memory to a specific revision. */
35901
+ rollback(request: {
35902
+ /** V1 error format. */
35903
+ '$.xgafv'?: string;
35904
+ /** OAuth access token. */
35905
+ access_token?: string;
35906
+ /** Data format for response. */
35907
+ alt?: string;
35908
+ /** JSONP */
35909
+ callback?: string;
35910
+ /** Selector specifying which fields to include in a partial response. */
35911
+ fields?: string;
35912
+ /** 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. */
35913
+ key?: string;
35914
+ /** Required. The resource name of the Memory to rollback. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}` */
35482
35915
  name: string;
35483
35916
  /** OAuth 2.0 token for the current user. */
35484
35917
  oauth_token?: string;
@@ -35491,9 +35924,9 @@ declare namespace gapi.client {
35491
35924
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
35492
35925
  uploadType?: string;
35493
35926
  /** Request body */
35494
- resource: GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest;
35495
- }): Request<GoogleApiHttpBody>;
35496
- streamQuery(
35927
+ resource: GoogleCloudAiplatformV1RollbackMemoryRequest;
35928
+ }): Request<GoogleLongrunningOperation>;
35929
+ rollback(
35497
35930
  request: {
35498
35931
  /** V1 error format. */
35499
35932
  '$.xgafv'?: string;
@@ -35507,7 +35940,7 @@ declare namespace gapi.client {
35507
35940
  fields?: string;
35508
35941
  /** 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. */
35509
35942
  key?: string;
35510
- /** Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
35943
+ /** Required. The resource name of the Memory to rollback. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/memories/{memory}` */
35511
35944
  name: string;
35512
35945
  /** OAuth 2.0 token for the current user. */
35513
35946
  oauth_token?: string;
@@ -35520,9 +35953,942 @@ declare namespace gapi.client {
35520
35953
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
35521
35954
  uploadType?: string;
35522
35955
  },
35523
- body: GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest,
35524
- ): Request<GoogleApiHttpBody>;
35956
+ body: GoogleCloudAiplatformV1RollbackMemoryRequest,
35957
+ ): Request<GoogleLongrunningOperation>;
35525
35958
  operations: OperationsResource;
35959
+ revisions: RevisionsResource;
35960
+ }
35961
+ interface OperationsResource {
35962
+ /** 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`. */
35963
+ cancel(request?: {
35964
+ /** V1 error format. */
35965
+ '$.xgafv'?: string;
35966
+ /** OAuth access token. */
35967
+ access_token?: string;
35968
+ /** Data format for response. */
35969
+ alt?: string;
35970
+ /** JSONP */
35971
+ callback?: string;
35972
+ /** Selector specifying which fields to include in a partial response. */
35973
+ fields?: string;
35974
+ /** 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. */
35975
+ key?: string;
35976
+ /** The name of the operation resource to be cancelled. */
35977
+ name: string;
35978
+ /** OAuth 2.0 token for the current user. */
35979
+ oauth_token?: string;
35980
+ /** Returns response with indentations and line breaks. */
35981
+ prettyPrint?: boolean;
35982
+ /** 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. */
35983
+ quotaUser?: string;
35984
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
35985
+ upload_protocol?: string;
35986
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
35987
+ uploadType?: string;
35988
+ }): Request<{}>;
35989
+ /** 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`. */
35990
+ delete(request?: {
35991
+ /** V1 error format. */
35992
+ '$.xgafv'?: string;
35993
+ /** OAuth access token. */
35994
+ access_token?: string;
35995
+ /** Data format for response. */
35996
+ alt?: string;
35997
+ /** JSONP */
35998
+ callback?: string;
35999
+ /** Selector specifying which fields to include in a partial response. */
36000
+ fields?: string;
36001
+ /** 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. */
36002
+ key?: string;
36003
+ /** The name of the operation resource to be deleted. */
36004
+ name: string;
36005
+ /** OAuth 2.0 token for the current user. */
36006
+ oauth_token?: string;
36007
+ /** Returns response with indentations and line breaks. */
36008
+ prettyPrint?: boolean;
36009
+ /** 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. */
36010
+ quotaUser?: string;
36011
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36012
+ upload_protocol?: string;
36013
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36014
+ uploadType?: string;
36015
+ }): Request<{}>;
36016
+ /** 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. */
36017
+ get(request?: {
36018
+ /** V1 error format. */
36019
+ '$.xgafv'?: string;
36020
+ /** OAuth access token. */
36021
+ access_token?: string;
36022
+ /** Data format for response. */
36023
+ alt?: string;
36024
+ /** JSONP */
36025
+ callback?: string;
36026
+ /** Selector specifying which fields to include in a partial response. */
36027
+ fields?: string;
36028
+ /** 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. */
36029
+ key?: string;
36030
+ /** The name of the operation resource. */
36031
+ name: string;
36032
+ /** OAuth 2.0 token for the current user. */
36033
+ oauth_token?: string;
36034
+ /** Returns response with indentations and line breaks. */
36035
+ prettyPrint?: boolean;
36036
+ /** 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. */
36037
+ quotaUser?: string;
36038
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36039
+ upload_protocol?: string;
36040
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36041
+ uploadType?: string;
36042
+ }): Request<GoogleLongrunningOperation>;
36043
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
36044
+ list(request?: {
36045
+ /** V1 error format. */
36046
+ '$.xgafv'?: string;
36047
+ /** OAuth access token. */
36048
+ access_token?: string;
36049
+ /** Data format for response. */
36050
+ alt?: string;
36051
+ /** JSONP */
36052
+ callback?: string;
36053
+ /** Selector specifying which fields to include in a partial response. */
36054
+ fields?: string;
36055
+ /** The standard list filter. */
36056
+ filter?: string;
36057
+ /** 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. */
36058
+ key?: string;
36059
+ /** The name of the operation's parent resource. */
36060
+ name: string;
36061
+ /** OAuth 2.0 token for the current user. */
36062
+ oauth_token?: string;
36063
+ /** The standard list page size. */
36064
+ pageSize?: number;
36065
+ /** The standard list page token. */
36066
+ pageToken?: string;
36067
+ /** Returns response with indentations and line breaks. */
36068
+ prettyPrint?: boolean;
36069
+ /** 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. */
36070
+ quotaUser?: string;
36071
+ /** 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. */
36072
+ returnPartialSuccess?: boolean;
36073
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36074
+ upload_protocol?: string;
36075
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36076
+ uploadType?: string;
36077
+ }): Request<GoogleLongrunningListOperationsResponse>;
36078
+ /** 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. */
36079
+ wait(request?: {
36080
+ /** V1 error format. */
36081
+ '$.xgafv'?: string;
36082
+ /** OAuth access token. */
36083
+ access_token?: string;
36084
+ /** Data format for response. */
36085
+ alt?: string;
36086
+ /** JSONP */
36087
+ callback?: string;
36088
+ /** Selector specifying which fields to include in a partial response. */
36089
+ fields?: string;
36090
+ /** 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. */
36091
+ key?: string;
36092
+ /** The name of the operation resource to wait on. */
36093
+ name: string;
36094
+ /** OAuth 2.0 token for the current user. */
36095
+ oauth_token?: string;
36096
+ /** Returns response with indentations and line breaks. */
36097
+ prettyPrint?: boolean;
36098
+ /** 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. */
36099
+ quotaUser?: string;
36100
+ /** 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. */
36101
+ timeout?: string;
36102
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36103
+ upload_protocol?: string;
36104
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36105
+ uploadType?: string;
36106
+ }): Request<GoogleLongrunningOperation>;
36107
+ }
36108
+ interface EventsResource {
36109
+ /** Lists Events in a given session. */
36110
+ list(request?: {
36111
+ /** V1 error format. */
36112
+ '$.xgafv'?: string;
36113
+ /** OAuth access token. */
36114
+ access_token?: string;
36115
+ /** Data format for response. */
36116
+ alt?: string;
36117
+ /** JSONP */
36118
+ callback?: string;
36119
+ /** Selector specifying which fields to include in a partial response. */
36120
+ fields?: string;
36121
+ /** Optional. The standard list filter. Supported fields: * `timestamp` range (i.e. `timestamp>="2025-01-31T11:30:00-04:00"` where the timestamp is in RFC 3339 format) More detail in [AIP-160](https://google.aip.dev/160). */
36122
+ filter?: string;
36123
+ /** 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. */
36124
+ key?: string;
36125
+ /** OAuth 2.0 token for the current user. */
36126
+ oauth_token?: string;
36127
+ /** Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `timestamp` Example: `timestamp desc`. */
36128
+ orderBy?: string;
36129
+ /** Optional. The maximum number of events to return. The service may return fewer than this value. If unspecified, at most 100 events will be returned. These events are ordered by timestamp in ascending order. */
36130
+ pageSize?: number;
36131
+ /** Optional. The next_page_token value returned from a previous list SessionService.ListEvents call. */
36132
+ pageToken?: string;
36133
+ /** Required. The resource name of the session to list events from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` */
36134
+ parent: string;
36135
+ /** Returns response with indentations and line breaks. */
36136
+ prettyPrint?: boolean;
36137
+ /** 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. */
36138
+ quotaUser?: string;
36139
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36140
+ upload_protocol?: string;
36141
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36142
+ uploadType?: string;
36143
+ }): Request<GoogleCloudAiplatformV1ListEventsResponse>;
36144
+ }
36145
+ interface OperationsResource {
36146
+ /** 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`. */
36147
+ cancel(request?: {
36148
+ /** V1 error format. */
36149
+ '$.xgafv'?: string;
36150
+ /** OAuth access token. */
36151
+ access_token?: string;
36152
+ /** Data format for response. */
36153
+ alt?: string;
36154
+ /** JSONP */
36155
+ callback?: string;
36156
+ /** Selector specifying which fields to include in a partial response. */
36157
+ fields?: string;
36158
+ /** 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. */
36159
+ key?: string;
36160
+ /** The name of the operation resource to be cancelled. */
36161
+ name: string;
36162
+ /** OAuth 2.0 token for the current user. */
36163
+ oauth_token?: string;
36164
+ /** Returns response with indentations and line breaks. */
36165
+ prettyPrint?: boolean;
36166
+ /** 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. */
36167
+ quotaUser?: string;
36168
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36169
+ upload_protocol?: string;
36170
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36171
+ uploadType?: string;
36172
+ }): Request<{}>;
36173
+ /** 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`. */
36174
+ delete(request?: {
36175
+ /** V1 error format. */
36176
+ '$.xgafv'?: string;
36177
+ /** OAuth access token. */
36178
+ access_token?: string;
36179
+ /** Data format for response. */
36180
+ alt?: string;
36181
+ /** JSONP */
36182
+ callback?: string;
36183
+ /** Selector specifying which fields to include in a partial response. */
36184
+ fields?: string;
36185
+ /** 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. */
36186
+ key?: string;
36187
+ /** The name of the operation resource to be deleted. */
36188
+ name: string;
36189
+ /** OAuth 2.0 token for the current user. */
36190
+ oauth_token?: string;
36191
+ /** Returns response with indentations and line breaks. */
36192
+ prettyPrint?: boolean;
36193
+ /** 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. */
36194
+ quotaUser?: string;
36195
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36196
+ upload_protocol?: string;
36197
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36198
+ uploadType?: string;
36199
+ }): Request<{}>;
36200
+ /** 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. */
36201
+ get(request?: {
36202
+ /** V1 error format. */
36203
+ '$.xgafv'?: string;
36204
+ /** OAuth access token. */
36205
+ access_token?: string;
36206
+ /** Data format for response. */
36207
+ alt?: string;
36208
+ /** JSONP */
36209
+ callback?: string;
36210
+ /** Selector specifying which fields to include in a partial response. */
36211
+ fields?: string;
36212
+ /** 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. */
36213
+ key?: string;
36214
+ /** The name of the operation resource. */
36215
+ name: string;
36216
+ /** OAuth 2.0 token for the current user. */
36217
+ oauth_token?: string;
36218
+ /** Returns response with indentations and line breaks. */
36219
+ prettyPrint?: boolean;
36220
+ /** 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. */
36221
+ quotaUser?: string;
36222
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36223
+ upload_protocol?: string;
36224
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36225
+ uploadType?: string;
36226
+ }): Request<GoogleLongrunningOperation>;
36227
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
36228
+ list(request?: {
36229
+ /** V1 error format. */
36230
+ '$.xgafv'?: string;
36231
+ /** OAuth access token. */
36232
+ access_token?: string;
36233
+ /** Data format for response. */
36234
+ alt?: string;
36235
+ /** JSONP */
36236
+ callback?: string;
36237
+ /** Selector specifying which fields to include in a partial response. */
36238
+ fields?: string;
36239
+ /** The standard list filter. */
36240
+ filter?: string;
36241
+ /** 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. */
36242
+ key?: string;
36243
+ /** The name of the operation's parent resource. */
36244
+ name: string;
36245
+ /** OAuth 2.0 token for the current user. */
36246
+ oauth_token?: string;
36247
+ /** The standard list page size. */
36248
+ pageSize?: number;
36249
+ /** The standard list page token. */
36250
+ pageToken?: string;
36251
+ /** Returns response with indentations and line breaks. */
36252
+ prettyPrint?: boolean;
36253
+ /** 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. */
36254
+ quotaUser?: string;
36255
+ /** 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. */
36256
+ returnPartialSuccess?: boolean;
36257
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36258
+ upload_protocol?: string;
36259
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36260
+ uploadType?: string;
36261
+ }): Request<GoogleLongrunningListOperationsResponse>;
36262
+ /** 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. */
36263
+ wait(request?: {
36264
+ /** V1 error format. */
36265
+ '$.xgafv'?: string;
36266
+ /** OAuth access token. */
36267
+ access_token?: string;
36268
+ /** Data format for response. */
36269
+ alt?: string;
36270
+ /** JSONP */
36271
+ callback?: string;
36272
+ /** Selector specifying which fields to include in a partial response. */
36273
+ fields?: string;
36274
+ /** 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. */
36275
+ key?: string;
36276
+ /** The name of the operation resource to wait on. */
36277
+ name: string;
36278
+ /** OAuth 2.0 token for the current user. */
36279
+ oauth_token?: string;
36280
+ /** Returns response with indentations and line breaks. */
36281
+ prettyPrint?: boolean;
36282
+ /** 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. */
36283
+ quotaUser?: string;
36284
+ /** 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. */
36285
+ timeout?: string;
36286
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36287
+ upload_protocol?: string;
36288
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36289
+ uploadType?: string;
36290
+ }): Request<GoogleLongrunningOperation>;
36291
+ }
36292
+ interface SessionsResource {
36293
+ /** Appends an event to a given session. */
36294
+ appendEvent(request: {
36295
+ /** V1 error format. */
36296
+ '$.xgafv'?: string;
36297
+ /** OAuth access token. */
36298
+ access_token?: string;
36299
+ /** Data format for response. */
36300
+ alt?: string;
36301
+ /** JSONP */
36302
+ callback?: string;
36303
+ /** Selector specifying which fields to include in a partial response. */
36304
+ fields?: string;
36305
+ /** 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. */
36306
+ key?: string;
36307
+ /** Required. The resource name of the session to append event to. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` */
36308
+ name: string;
36309
+ /** OAuth 2.0 token for the current user. */
36310
+ oauth_token?: string;
36311
+ /** Returns response with indentations and line breaks. */
36312
+ prettyPrint?: boolean;
36313
+ /** 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. */
36314
+ quotaUser?: string;
36315
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36316
+ upload_protocol?: string;
36317
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36318
+ uploadType?: string;
36319
+ /** Request body */
36320
+ resource: GoogleCloudAiplatformV1SessionEvent;
36321
+ }): Request<{}>;
36322
+ appendEvent(
36323
+ request: {
36324
+ /** V1 error format. */
36325
+ '$.xgafv'?: string;
36326
+ /** OAuth access token. */
36327
+ access_token?: string;
36328
+ /** Data format for response. */
36329
+ alt?: string;
36330
+ /** JSONP */
36331
+ callback?: string;
36332
+ /** Selector specifying which fields to include in a partial response. */
36333
+ fields?: string;
36334
+ /** 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. */
36335
+ key?: string;
36336
+ /** Required. The resource name of the session to append event to. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` */
36337
+ name: string;
36338
+ /** OAuth 2.0 token for the current user. */
36339
+ oauth_token?: string;
36340
+ /** Returns response with indentations and line breaks. */
36341
+ prettyPrint?: boolean;
36342
+ /** 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. */
36343
+ quotaUser?: string;
36344
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36345
+ upload_protocol?: string;
36346
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36347
+ uploadType?: string;
36348
+ },
36349
+ body: GoogleCloudAiplatformV1SessionEvent,
36350
+ ): Request<{}>;
36351
+ /** Creates a new Session. */
36352
+ create(request: {
36353
+ /** V1 error format. */
36354
+ '$.xgafv'?: string;
36355
+ /** OAuth access token. */
36356
+ access_token?: string;
36357
+ /** Data format for response. */
36358
+ alt?: string;
36359
+ /** JSONP */
36360
+ callback?: string;
36361
+ /** Selector specifying which fields to include in a partial response. */
36362
+ fields?: string;
36363
+ /** 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. */
36364
+ key?: string;
36365
+ /** OAuth 2.0 token for the current user. */
36366
+ oauth_token?: string;
36367
+ /** Required. The resource name of the location to create the session in. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
36368
+ parent: string;
36369
+ /** Returns response with indentations and line breaks. */
36370
+ prettyPrint?: boolean;
36371
+ /** 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. */
36372
+ quotaUser?: string;
36373
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36374
+ upload_protocol?: string;
36375
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36376
+ uploadType?: string;
36377
+ /** Request body */
36378
+ resource: GoogleCloudAiplatformV1Session;
36379
+ }): Request<GoogleLongrunningOperation>;
36380
+ create(
36381
+ request: {
36382
+ /** V1 error format. */
36383
+ '$.xgafv'?: string;
36384
+ /** OAuth access token. */
36385
+ access_token?: string;
36386
+ /** Data format for response. */
36387
+ alt?: string;
36388
+ /** JSONP */
36389
+ callback?: string;
36390
+ /** Selector specifying which fields to include in a partial response. */
36391
+ fields?: string;
36392
+ /** 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. */
36393
+ key?: string;
36394
+ /** OAuth 2.0 token for the current user. */
36395
+ oauth_token?: string;
36396
+ /** Required. The resource name of the location to create the session in. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
36397
+ parent: string;
36398
+ /** Returns response with indentations and line breaks. */
36399
+ prettyPrint?: boolean;
36400
+ /** 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. */
36401
+ quotaUser?: string;
36402
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36403
+ upload_protocol?: string;
36404
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36405
+ uploadType?: string;
36406
+ },
36407
+ body: GoogleCloudAiplatformV1Session,
36408
+ ): Request<GoogleLongrunningOperation>;
36409
+ /** Deletes details of the specific Session. */
36410
+ delete(request?: {
36411
+ /** V1 error format. */
36412
+ '$.xgafv'?: string;
36413
+ /** OAuth access token. */
36414
+ access_token?: string;
36415
+ /** Data format for response. */
36416
+ alt?: string;
36417
+ /** JSONP */
36418
+ callback?: string;
36419
+ /** Selector specifying which fields to include in a partial response. */
36420
+ fields?: string;
36421
+ /** 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. */
36422
+ key?: string;
36423
+ /** Required. The resource name of the session. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` */
36424
+ name: string;
36425
+ /** OAuth 2.0 token for the current user. */
36426
+ oauth_token?: string;
36427
+ /** Returns response with indentations and line breaks. */
36428
+ prettyPrint?: boolean;
36429
+ /** 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. */
36430
+ quotaUser?: string;
36431
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36432
+ upload_protocol?: string;
36433
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36434
+ uploadType?: string;
36435
+ }): Request<GoogleLongrunningOperation>;
36436
+ /** Gets details of the specific Session. */
36437
+ get(request?: {
36438
+ /** V1 error format. */
36439
+ '$.xgafv'?: string;
36440
+ /** OAuth access token. */
36441
+ access_token?: string;
36442
+ /** Data format for response. */
36443
+ alt?: string;
36444
+ /** JSONP */
36445
+ callback?: string;
36446
+ /** Selector specifying which fields to include in a partial response. */
36447
+ fields?: string;
36448
+ /** 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. */
36449
+ key?: string;
36450
+ /** Required. The resource name of the session. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` */
36451
+ name: string;
36452
+ /** OAuth 2.0 token for the current user. */
36453
+ oauth_token?: string;
36454
+ /** Returns response with indentations and line breaks. */
36455
+ prettyPrint?: boolean;
36456
+ /** 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. */
36457
+ quotaUser?: string;
36458
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36459
+ upload_protocol?: string;
36460
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36461
+ uploadType?: string;
36462
+ }): Request<GoogleCloudAiplatformV1Session>;
36463
+ /** Lists Sessions in a given reasoning engine. */
36464
+ list(request?: {
36465
+ /** V1 error format. */
36466
+ '$.xgafv'?: string;
36467
+ /** OAuth access token. */
36468
+ access_token?: string;
36469
+ /** Data format for response. */
36470
+ alt?: string;
36471
+ /** JSONP */
36472
+ callback?: string;
36473
+ /** Selector specifying which fields to include in a partial response. */
36474
+ fields?: string;
36475
+ /** Optional. The standard list filter. Supported fields: * `display_name` * `user_id` * `labels` Example: `display_name="abc"`, `user_id="123"`, `labels.key="value"`. */
36476
+ filter?: string;
36477
+ /** 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. */
36478
+ key?: string;
36479
+ /** OAuth 2.0 token for the current user. */
36480
+ oauth_token?: string;
36481
+ /** Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `create_time` * `update_time` Example: `create_time desc`. */
36482
+ orderBy?: string;
36483
+ /** Optional. The maximum number of sessions to return. The service may return fewer than this value. If unspecified, at most 100 sessions will be returned. */
36484
+ pageSize?: number;
36485
+ /** Optional. The next_page_token value returned from a previous list SessionService.ListSessions call. */
36486
+ pageToken?: string;
36487
+ /** Required. The resource name of the location to list sessions from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
36488
+ parent: string;
36489
+ /** Returns response with indentations and line breaks. */
36490
+ prettyPrint?: boolean;
36491
+ /** 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. */
36492
+ quotaUser?: string;
36493
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36494
+ upload_protocol?: string;
36495
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36496
+ uploadType?: string;
36497
+ }): Request<GoogleCloudAiplatformV1ListSessionsResponse>;
36498
+ /** Updates the specific Session. */
36499
+ patch(request: {
36500
+ /** V1 error format. */
36501
+ '$.xgafv'?: string;
36502
+ /** OAuth access token. */
36503
+ access_token?: string;
36504
+ /** Data format for response. */
36505
+ alt?: string;
36506
+ /** JSONP */
36507
+ callback?: string;
36508
+ /** Selector specifying which fields to include in a partial response. */
36509
+ fields?: string;
36510
+ /** 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. */
36511
+ key?: string;
36512
+ /** Identifier. The resource name of the session. Format: 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'. */
36513
+ name: string;
36514
+ /** OAuth 2.0 token for the current user. */
36515
+ oauth_token?: string;
36516
+ /** Returns response with indentations and line breaks. */
36517
+ prettyPrint?: boolean;
36518
+ /** 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. */
36519
+ quotaUser?: string;
36520
+ /** Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated. */
36521
+ updateMask?: string;
36522
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36523
+ upload_protocol?: string;
36524
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36525
+ uploadType?: string;
36526
+ /** Request body */
36527
+ resource: GoogleCloudAiplatformV1Session;
36528
+ }): Request<GoogleCloudAiplatformV1Session>;
36529
+ patch(
36530
+ request: {
36531
+ /** V1 error format. */
36532
+ '$.xgafv'?: string;
36533
+ /** OAuth access token. */
36534
+ access_token?: string;
36535
+ /** Data format for response. */
36536
+ alt?: string;
36537
+ /** JSONP */
36538
+ callback?: string;
36539
+ /** Selector specifying which fields to include in a partial response. */
36540
+ fields?: string;
36541
+ /** 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. */
36542
+ key?: string;
36543
+ /** Identifier. The resource name of the session. Format: 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'. */
36544
+ name: string;
36545
+ /** OAuth 2.0 token for the current user. */
36546
+ oauth_token?: string;
36547
+ /** Returns response with indentations and line breaks. */
36548
+ prettyPrint?: boolean;
36549
+ /** 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. */
36550
+ quotaUser?: string;
36551
+ /** Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated. */
36552
+ updateMask?: string;
36553
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36554
+ upload_protocol?: string;
36555
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36556
+ uploadType?: string;
36557
+ },
36558
+ body: GoogleCloudAiplatformV1Session,
36559
+ ): Request<GoogleCloudAiplatformV1Session>;
36560
+ events: EventsResource;
36561
+ operations: OperationsResource;
36562
+ }
36563
+ interface ReasoningEnginesResource {
36564
+ /** Creates a reasoning engine. */
36565
+ create(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
+ /** OAuth 2.0 token for the current user. */
36579
+ oauth_token?: string;
36580
+ /** Required. The resource name of the Location to create the ReasoningEngine in. Format: `projects/{project}/locations/{location}` */
36581
+ parent: 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 body */
36591
+ resource: GoogleCloudAiplatformV1ReasoningEngine;
36592
+ }): Request<GoogleLongrunningOperation>;
36593
+ create(
36594
+ request: {
36595
+ /** V1 error format. */
36596
+ '$.xgafv'?: string;
36597
+ /** OAuth access token. */
36598
+ access_token?: string;
36599
+ /** Data format for response. */
36600
+ alt?: string;
36601
+ /** JSONP */
36602
+ callback?: string;
36603
+ /** Selector specifying which fields to include in a partial response. */
36604
+ fields?: 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
+ /** Required. The resource name of the Location to create the ReasoningEngine in. Format: `projects/{project}/locations/{location}` */
36610
+ parent: string;
36611
+ /** Returns response with indentations and line breaks. */
36612
+ prettyPrint?: boolean;
36613
+ /** 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. */
36614
+ quotaUser?: string;
36615
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36616
+ upload_protocol?: string;
36617
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36618
+ uploadType?: string;
36619
+ },
36620
+ body: GoogleCloudAiplatformV1ReasoningEngine,
36621
+ ): Request<GoogleLongrunningOperation>;
36622
+ /** Deletes a reasoning engine. */
36623
+ delete(request?: {
36624
+ /** V1 error format. */
36625
+ '$.xgafv'?: string;
36626
+ /** OAuth access token. */
36627
+ access_token?: string;
36628
+ /** Data format for response. */
36629
+ alt?: string;
36630
+ /** JSONP */
36631
+ callback?: string;
36632
+ /** Selector specifying which fields to include in a partial response. */
36633
+ fields?: string;
36634
+ /** Optional. If set to true, child resources of this reasoning engine will also be deleted. Otherwise, the request will fail with FAILED_PRECONDITION error when the reasoning engine has undeleted child resources. */
36635
+ force?: boolean;
36636
+ /** 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. */
36637
+ key?: string;
36638
+ /** Required. The name of the ReasoningEngine resource to be deleted. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
36639
+ name: string;
36640
+ /** OAuth 2.0 token for the current user. */
36641
+ oauth_token?: string;
36642
+ /** Returns response with indentations and line breaks. */
36643
+ prettyPrint?: boolean;
36644
+ /** 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. */
36645
+ quotaUser?: string;
36646
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36647
+ upload_protocol?: string;
36648
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36649
+ uploadType?: string;
36650
+ }): Request<GoogleLongrunningOperation>;
36651
+ /** Gets a reasoning engine. */
36652
+ get(request?: {
36653
+ /** V1 error format. */
36654
+ '$.xgafv'?: string;
36655
+ /** OAuth access token. */
36656
+ access_token?: string;
36657
+ /** Data format for response. */
36658
+ alt?: string;
36659
+ /** JSONP */
36660
+ callback?: string;
36661
+ /** Selector specifying which fields to include in a partial response. */
36662
+ fields?: string;
36663
+ /** 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. */
36664
+ key?: string;
36665
+ /** Required. The name of the ReasoningEngine resource. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
36666
+ name: string;
36667
+ /** OAuth 2.0 token for the current user. */
36668
+ oauth_token?: string;
36669
+ /** Returns response with indentations and line breaks. */
36670
+ prettyPrint?: boolean;
36671
+ /** 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. */
36672
+ quotaUser?: string;
36673
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36674
+ upload_protocol?: string;
36675
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36676
+ uploadType?: string;
36677
+ }): Request<GoogleCloudAiplatformV1ReasoningEngine>;
36678
+ /** Lists reasoning engines in a location. */
36679
+ list(request?: {
36680
+ /** V1 error format. */
36681
+ '$.xgafv'?: string;
36682
+ /** OAuth access token. */
36683
+ access_token?: string;
36684
+ /** Data format for response. */
36685
+ alt?: string;
36686
+ /** JSONP */
36687
+ callback?: string;
36688
+ /** Selector specifying which fields to include in a partial response. */
36689
+ fields?: string;
36690
+ /** Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). */
36691
+ filter?: string;
36692
+ /** 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. */
36693
+ key?: string;
36694
+ /** OAuth 2.0 token for the current user. */
36695
+ oauth_token?: string;
36696
+ /** Optional. The standard list page size. */
36697
+ pageSize?: number;
36698
+ /** Optional. The standard list page token. */
36699
+ pageToken?: string;
36700
+ /** Required. The resource name of the Location to list the ReasoningEngines from. Format: `projects/{project}/locations/{location}` */
36701
+ parent: string;
36702
+ /** Returns response with indentations and line breaks. */
36703
+ prettyPrint?: boolean;
36704
+ /** 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. */
36705
+ quotaUser?: string;
36706
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36707
+ upload_protocol?: string;
36708
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36709
+ uploadType?: string;
36710
+ }): Request<GoogleCloudAiplatformV1ListReasoningEnginesResponse>;
36711
+ /** Updates a reasoning engine. */
36712
+ patch(request: {
36713
+ /** V1 error format. */
36714
+ '$.xgafv'?: string;
36715
+ /** OAuth access token. */
36716
+ access_token?: string;
36717
+ /** Data format for response. */
36718
+ alt?: string;
36719
+ /** JSONP */
36720
+ callback?: string;
36721
+ /** Selector specifying which fields to include in a partial response. */
36722
+ fields?: string;
36723
+ /** 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. */
36724
+ key?: string;
36725
+ /** Identifier. The resource name of the ReasoningEngine. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
36726
+ name: string;
36727
+ /** OAuth 2.0 token for the current user. */
36728
+ oauth_token?: string;
36729
+ /** Returns response with indentations and line breaks. */
36730
+ prettyPrint?: boolean;
36731
+ /** 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. */
36732
+ quotaUser?: string;
36733
+ /** Optional. Mask specifying which fields to update. */
36734
+ updateMask?: string;
36735
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36736
+ upload_protocol?: string;
36737
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36738
+ uploadType?: string;
36739
+ /** Request body */
36740
+ resource: GoogleCloudAiplatformV1ReasoningEngine;
36741
+ }): Request<GoogleLongrunningOperation>;
36742
+ patch(
36743
+ request: {
36744
+ /** V1 error format. */
36745
+ '$.xgafv'?: string;
36746
+ /** OAuth access token. */
36747
+ access_token?: string;
36748
+ /** Data format for response. */
36749
+ alt?: string;
36750
+ /** JSONP */
36751
+ callback?: string;
36752
+ /** Selector specifying which fields to include in a partial response. */
36753
+ fields?: string;
36754
+ /** 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. */
36755
+ key?: string;
36756
+ /** Identifier. The resource name of the ReasoningEngine. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
36757
+ name: string;
36758
+ /** OAuth 2.0 token for the current user. */
36759
+ oauth_token?: string;
36760
+ /** Returns response with indentations and line breaks. */
36761
+ prettyPrint?: boolean;
36762
+ /** 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. */
36763
+ quotaUser?: string;
36764
+ /** Optional. Mask specifying which fields to update. */
36765
+ updateMask?: string;
36766
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36767
+ upload_protocol?: string;
36768
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36769
+ uploadType?: string;
36770
+ },
36771
+ body: GoogleCloudAiplatformV1ReasoningEngine,
36772
+ ): Request<GoogleLongrunningOperation>;
36773
+ /** Queries using a reasoning engine. */
36774
+ query(request: {
36775
+ /** V1 error format. */
36776
+ '$.xgafv'?: string;
36777
+ /** OAuth access token. */
36778
+ access_token?: string;
36779
+ /** Data format for response. */
36780
+ alt?: string;
36781
+ /** JSONP */
36782
+ callback?: string;
36783
+ /** Selector specifying which fields to include in a partial response. */
36784
+ fields?: string;
36785
+ /** 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. */
36786
+ key?: string;
36787
+ /** Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
36788
+ name: string;
36789
+ /** OAuth 2.0 token for the current user. */
36790
+ oauth_token?: string;
36791
+ /** Returns response with indentations and line breaks. */
36792
+ prettyPrint?: boolean;
36793
+ /** 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. */
36794
+ quotaUser?: string;
36795
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36796
+ upload_protocol?: string;
36797
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36798
+ uploadType?: string;
36799
+ /** Request body */
36800
+ resource: GoogleCloudAiplatformV1QueryReasoningEngineRequest;
36801
+ }): Request<GoogleCloudAiplatformV1QueryReasoningEngineResponse>;
36802
+ query(
36803
+ request: {
36804
+ /** V1 error format. */
36805
+ '$.xgafv'?: string;
36806
+ /** OAuth access token. */
36807
+ access_token?: string;
36808
+ /** Data format for response. */
36809
+ alt?: string;
36810
+ /** JSONP */
36811
+ callback?: string;
36812
+ /** Selector specifying which fields to include in a partial response. */
36813
+ fields?: string;
36814
+ /** 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. */
36815
+ key?: string;
36816
+ /** Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
36817
+ name: string;
36818
+ /** OAuth 2.0 token for the current user. */
36819
+ oauth_token?: string;
36820
+ /** Returns response with indentations and line breaks. */
36821
+ prettyPrint?: boolean;
36822
+ /** 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. */
36823
+ quotaUser?: string;
36824
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36825
+ upload_protocol?: string;
36826
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36827
+ uploadType?: string;
36828
+ },
36829
+ body: GoogleCloudAiplatformV1QueryReasoningEngineRequest,
36830
+ ): Request<GoogleCloudAiplatformV1QueryReasoningEngineResponse>;
36831
+ /** Streams queries using a reasoning engine. */
36832
+ streamQuery(request: {
36833
+ /** V1 error format. */
36834
+ '$.xgafv'?: string;
36835
+ /** OAuth access token. */
36836
+ access_token?: string;
36837
+ /** Data format for response. */
36838
+ alt?: string;
36839
+ /** JSONP */
36840
+ callback?: string;
36841
+ /** Selector specifying which fields to include in a partial response. */
36842
+ fields?: string;
36843
+ /** 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. */
36844
+ key?: string;
36845
+ /** Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
36846
+ name: string;
36847
+ /** OAuth 2.0 token for the current user. */
36848
+ oauth_token?: string;
36849
+ /** Returns response with indentations and line breaks. */
36850
+ prettyPrint?: boolean;
36851
+ /** 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. */
36852
+ quotaUser?: string;
36853
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36854
+ upload_protocol?: string;
36855
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36856
+ uploadType?: string;
36857
+ /** Request body */
36858
+ resource: GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest;
36859
+ }): Request<GoogleApiHttpBody>;
36860
+ streamQuery(
36861
+ request: {
36862
+ /** V1 error format. */
36863
+ '$.xgafv'?: string;
36864
+ /** OAuth access token. */
36865
+ access_token?: string;
36866
+ /** Data format for response. */
36867
+ alt?: string;
36868
+ /** JSONP */
36869
+ callback?: string;
36870
+ /** Selector specifying which fields to include in a partial response. */
36871
+ fields?: string;
36872
+ /** 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. */
36873
+ key?: string;
36874
+ /** Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
36875
+ name: string;
36876
+ /** OAuth 2.0 token for the current user. */
36877
+ oauth_token?: string;
36878
+ /** Returns response with indentations and line breaks. */
36879
+ prettyPrint?: boolean;
36880
+ /** 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. */
36881
+ quotaUser?: string;
36882
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
36883
+ upload_protocol?: string;
36884
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
36885
+ uploadType?: string;
36886
+ },
36887
+ body: GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest,
36888
+ ): Request<GoogleApiHttpBody>;
36889
+ memories: MemoriesResource;
36890
+ operations: OperationsResource;
36891
+ sessions: SessionsResource;
35526
36892
  }
35527
36893
  interface OperationsResource {
35528
36894
  /** 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`. */
@@ -40924,8 +42290,221 @@ declare namespace gapi.client {
40924
42290
  },
40925
42291
  body: GoogleCloudAiplatformV1GenerateContentRequest,
40926
42292
  ): Request<GoogleCloudAiplatformV1GenerateContentResponse>;
40927
- /** Gets a Model Garden publisher model. */
40928
- get(request?: {
42293
+ /** Gets a Model Garden publisher model. */
42294
+ get(request?: {
42295
+ /** V1 error format. */
42296
+ '$.xgafv'?: string;
42297
+ /** OAuth access token. */
42298
+ access_token?: string;
42299
+ /** Data format for response. */
42300
+ alt?: string;
42301
+ /** JSONP */
42302
+ callback?: string;
42303
+ /** Selector specifying which fields to include in a partial response. */
42304
+ fields?: string;
42305
+ /** Optional. Token used to access Hugging Face gated models. */
42306
+ huggingFaceToken?: string;
42307
+ /** Optional. Boolean indicates whether the requested model is a Hugging Face model. */
42308
+ isHuggingFaceModel?: boolean;
42309
+ /** 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. */
42310
+ key?: string;
42311
+ /** Optional. The IETF BCP-47 language code representing the language in which the publisher model's text information should be written in. */
42312
+ languageCode?: string;
42313
+ /** Required. The name of the PublisherModel resource. Format: `publishers/{publisher}/models/{publisher_model}` */
42314
+ name: string;
42315
+ /** OAuth 2.0 token for the current user. */
42316
+ oauth_token?: string;
42317
+ /** Returns response with indentations and line breaks. */
42318
+ prettyPrint?: boolean;
42319
+ /** 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. */
42320
+ quotaUser?: string;
42321
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
42322
+ upload_protocol?: string;
42323
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
42324
+ uploadType?: string;
42325
+ /** Optional. PublisherModel view specifying which fields to read. */
42326
+ view?: string;
42327
+ }): Request<GoogleCloudAiplatformV1PublisherModel>;
42328
+ /** Perform an online prediction. */
42329
+ predict(request: {
42330
+ /** V1 error format. */
42331
+ '$.xgafv'?: string;
42332
+ /** OAuth access token. */
42333
+ access_token?: string;
42334
+ /** Data format for response. */
42335
+ alt?: string;
42336
+ /** JSONP */
42337
+ callback?: string;
42338
+ /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
42339
+ endpoint: string;
42340
+ /** Selector specifying which fields to include in a partial response. */
42341
+ fields?: string;
42342
+ /** 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. */
42343
+ key?: string;
42344
+ /** OAuth 2.0 token for the current user. */
42345
+ oauth_token?: string;
42346
+ /** Returns response with indentations and line breaks. */
42347
+ prettyPrint?: boolean;
42348
+ /** 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. */
42349
+ quotaUser?: string;
42350
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
42351
+ upload_protocol?: string;
42352
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
42353
+ uploadType?: string;
42354
+ /** Request body */
42355
+ resource: GoogleCloudAiplatformV1PredictRequest;
42356
+ }): Request<GoogleCloudAiplatformV1PredictResponse>;
42357
+ predict(
42358
+ request: {
42359
+ /** V1 error format. */
42360
+ '$.xgafv'?: string;
42361
+ /** OAuth access token. */
42362
+ access_token?: string;
42363
+ /** Data format for response. */
42364
+ alt?: string;
42365
+ /** JSONP */
42366
+ callback?: string;
42367
+ /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
42368
+ endpoint: string;
42369
+ /** Selector specifying which fields to include in a partial response. */
42370
+ fields?: string;
42371
+ /** 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. */
42372
+ key?: string;
42373
+ /** OAuth 2.0 token for the current user. */
42374
+ oauth_token?: string;
42375
+ /** Returns response with indentations and line breaks. */
42376
+ prettyPrint?: boolean;
42377
+ /** 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. */
42378
+ quotaUser?: string;
42379
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
42380
+ upload_protocol?: string;
42381
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
42382
+ uploadType?: string;
42383
+ },
42384
+ body: GoogleCloudAiplatformV1PredictRequest,
42385
+ ): Request<GoogleCloudAiplatformV1PredictResponse>;
42386
+ predictLongRunning(request: {
42387
+ /** V1 error format. */
42388
+ '$.xgafv'?: string;
42389
+ /** OAuth access token. */
42390
+ access_token?: string;
42391
+ /** Data format for response. */
42392
+ alt?: string;
42393
+ /** JSONP */
42394
+ callback?: string;
42395
+ /** 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}` */
42396
+ endpoint: string;
42397
+ /** Selector specifying which fields to include in a partial response. */
42398
+ fields?: string;
42399
+ /** 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. */
42400
+ key?: string;
42401
+ /** OAuth 2.0 token for the current user. */
42402
+ oauth_token?: string;
42403
+ /** Returns response with indentations and line breaks. */
42404
+ prettyPrint?: boolean;
42405
+ /** 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. */
42406
+ quotaUser?: string;
42407
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
42408
+ upload_protocol?: string;
42409
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
42410
+ uploadType?: string;
42411
+ /** Request body */
42412
+ resource: GoogleCloudAiplatformV1PredictLongRunningRequest;
42413
+ }): Request<GoogleLongrunningOperation>;
42414
+ predictLongRunning(
42415
+ request: {
42416
+ /** V1 error format. */
42417
+ '$.xgafv'?: string;
42418
+ /** OAuth access token. */
42419
+ access_token?: string;
42420
+ /** Data format for response. */
42421
+ alt?: string;
42422
+ /** JSONP */
42423
+ callback?: string;
42424
+ /** 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}` */
42425
+ endpoint: string;
42426
+ /** Selector specifying which fields to include in a partial response. */
42427
+ fields?: string;
42428
+ /** 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. */
42429
+ key?: string;
42430
+ /** OAuth 2.0 token for the current user. */
42431
+ oauth_token?: string;
42432
+ /** Returns response with indentations and line breaks. */
42433
+ prettyPrint?: boolean;
42434
+ /** 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. */
42435
+ quotaUser?: string;
42436
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
42437
+ upload_protocol?: string;
42438
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
42439
+ uploadType?: string;
42440
+ },
42441
+ body: GoogleCloudAiplatformV1PredictLongRunningRequest,
42442
+ ): Request<GoogleLongrunningOperation>;
42443
+ /** Generate content with multimodal inputs with streaming support. */
42444
+ streamGenerateContent(request: {
42445
+ /** V1 error format. */
42446
+ '$.xgafv'?: string;
42447
+ /** OAuth access token. */
42448
+ access_token?: string;
42449
+ /** Data format for response. */
42450
+ alt?: string;
42451
+ /** JSONP */
42452
+ callback?: string;
42453
+ /** Selector specifying which fields to include in a partial response. */
42454
+ fields?: string;
42455
+ /** 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. */
42456
+ key?: string;
42457
+ /** Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*‍/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
42458
+ model: string;
42459
+ /** OAuth 2.0 token for the current user. */
42460
+ oauth_token?: string;
42461
+ /** Returns response with indentations and line breaks. */
42462
+ prettyPrint?: boolean;
42463
+ /** 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. */
42464
+ quotaUser?: string;
42465
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
42466
+ upload_protocol?: string;
42467
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
42468
+ uploadType?: string;
42469
+ /** Request body */
42470
+ resource: GoogleCloudAiplatformV1GenerateContentRequest;
42471
+ }): Request<GoogleCloudAiplatformV1GenerateContentResponse>;
42472
+ streamGenerateContent(
42473
+ request: {
42474
+ /** V1 error format. */
42475
+ '$.xgafv'?: string;
42476
+ /** OAuth access token. */
42477
+ access_token?: string;
42478
+ /** Data format for response. */
42479
+ alt?: string;
42480
+ /** JSONP */
42481
+ callback?: string;
42482
+ /** Selector specifying which fields to include in a partial response. */
42483
+ fields?: string;
42484
+ /** 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. */
42485
+ key?: string;
42486
+ /** Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*‍/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
42487
+ model: string;
42488
+ /** OAuth 2.0 token for the current user. */
42489
+ oauth_token?: string;
42490
+ /** Returns response with indentations and line breaks. */
42491
+ prettyPrint?: boolean;
42492
+ /** 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. */
42493
+ quotaUser?: string;
42494
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
42495
+ upload_protocol?: string;
42496
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
42497
+ uploadType?: string;
42498
+ },
42499
+ body: GoogleCloudAiplatformV1GenerateContentRequest,
42500
+ ): Request<GoogleCloudAiplatformV1GenerateContentResponse>;
42501
+ }
42502
+ interface PublishersResource {
42503
+ models: ModelsResource;
42504
+ }
42505
+ interface OperationsResource {
42506
+ /** 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`. */
42507
+ cancel(request?: {
40929
42508
  /** V1 error format. */
40930
42509
  '$.xgafv'?: string;
40931
42510
  /** OAuth access token. */
@@ -40936,15 +42515,9 @@ declare namespace gapi.client {
40936
42515
  callback?: string;
40937
42516
  /** Selector specifying which fields to include in a partial response. */
40938
42517
  fields?: string;
40939
- /** Optional. Token used to access Hugging Face gated models. */
40940
- huggingFaceToken?: string;
40941
- /** Optional. Boolean indicates whether the requested model is a Hugging Face model. */
40942
- isHuggingFaceModel?: boolean;
40943
42518
  /** 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. */
40944
42519
  key?: string;
40945
- /** Optional. The IETF BCP-47 language code representing the language in which the publisher model's text information should be written in. */
40946
- languageCode?: string;
40947
- /** Required. The name of the PublisherModel resource. Format: `publishers/{publisher}/models/{publisher_model}` */
42520
+ /** The name of the operation resource to be cancelled. */
40948
42521
  name: string;
40949
42522
  /** OAuth 2.0 token for the current user. */
40950
42523
  oauth_token?: string;
@@ -40956,11 +42529,9 @@ declare namespace gapi.client {
40956
42529
  upload_protocol?: string;
40957
42530
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
40958
42531
  uploadType?: string;
40959
- /** Optional. PublisherModel view specifying which fields to read. */
40960
- view?: string;
40961
- }): Request<GoogleCloudAiplatformV1PublisherModel>;
40962
- /** Perform an online prediction. */
40963
- predict(request: {
42532
+ }): Request<{}>;
42533
+ /** 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`. */
42534
+ delete(request?: {
40964
42535
  /** V1 error format. */
40965
42536
  '$.xgafv'?: string;
40966
42537
  /** OAuth access token. */
@@ -40969,12 +42540,12 @@ declare namespace gapi.client {
40969
42540
  alt?: string;
40970
42541
  /** JSONP */
40971
42542
  callback?: string;
40972
- /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
40973
- endpoint: string;
40974
42543
  /** Selector specifying which fields to include in a partial response. */
40975
42544
  fields?: string;
40976
42545
  /** 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. */
40977
42546
  key?: string;
42547
+ /** The name of the operation resource to be deleted. */
42548
+ name: string;
40978
42549
  /** OAuth 2.0 token for the current user. */
40979
42550
  oauth_token?: string;
40980
42551
  /** Returns response with indentations and line breaks. */
@@ -40985,39 +42556,9 @@ declare namespace gapi.client {
40985
42556
  upload_protocol?: string;
40986
42557
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
40987
42558
  uploadType?: string;
40988
- /** Request body */
40989
- resource: GoogleCloudAiplatformV1PredictRequest;
40990
- }): Request<GoogleCloudAiplatformV1PredictResponse>;
40991
- predict(
40992
- request: {
40993
- /** V1 error format. */
40994
- '$.xgafv'?: string;
40995
- /** OAuth access token. */
40996
- access_token?: string;
40997
- /** Data format for response. */
40998
- alt?: string;
40999
- /** JSONP */
41000
- callback?: string;
41001
- /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
41002
- endpoint: string;
41003
- /** Selector specifying which fields to include in a partial response. */
41004
- fields?: string;
41005
- /** 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. */
41006
- key?: string;
41007
- /** OAuth 2.0 token for the current user. */
41008
- oauth_token?: string;
41009
- /** Returns response with indentations and line breaks. */
41010
- prettyPrint?: boolean;
41011
- /** 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. */
41012
- quotaUser?: string;
41013
- /** Upload protocol for media (e.g. "raw", "multipart"). */
41014
- upload_protocol?: string;
41015
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
41016
- uploadType?: string;
41017
- },
41018
- body: GoogleCloudAiplatformV1PredictRequest,
41019
- ): Request<GoogleCloudAiplatformV1PredictResponse>;
41020
- predictLongRunning(request: {
42559
+ }): Request<{}>;
42560
+ /** 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. */
42561
+ get(request?: {
41021
42562
  /** V1 error format. */
41022
42563
  '$.xgafv'?: string;
41023
42564
  /** OAuth access token. */
@@ -41026,12 +42567,12 @@ declare namespace gapi.client {
41026
42567
  alt?: string;
41027
42568
  /** JSONP */
41028
42569
  callback?: string;
41029
- /** 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}` */
41030
- endpoint: string;
41031
42570
  /** Selector specifying which fields to include in a partial response. */
41032
42571
  fields?: string;
41033
42572
  /** 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. */
41034
42573
  key?: string;
42574
+ /** The name of the operation resource. */
42575
+ name: string;
41035
42576
  /** OAuth 2.0 token for the current user. */
41036
42577
  oauth_token?: string;
41037
42578
  /** Returns response with indentations and line breaks. */
@@ -41042,40 +42583,9 @@ declare namespace gapi.client {
41042
42583
  upload_protocol?: string;
41043
42584
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
41044
42585
  uploadType?: string;
41045
- /** Request body */
41046
- resource: GoogleCloudAiplatformV1PredictLongRunningRequest;
41047
42586
  }): Request<GoogleLongrunningOperation>;
41048
- predictLongRunning(
41049
- request: {
41050
- /** V1 error format. */
41051
- '$.xgafv'?: string;
41052
- /** OAuth access token. */
41053
- access_token?: string;
41054
- /** Data format for response. */
41055
- alt?: string;
41056
- /** JSONP */
41057
- callback?: string;
41058
- /** 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}` */
41059
- endpoint: string;
41060
- /** Selector specifying which fields to include in a partial response. */
41061
- fields?: string;
41062
- /** 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. */
41063
- key?: string;
41064
- /** OAuth 2.0 token for the current user. */
41065
- oauth_token?: string;
41066
- /** Returns response with indentations and line breaks. */
41067
- prettyPrint?: boolean;
41068
- /** 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. */
41069
- quotaUser?: string;
41070
- /** Upload protocol for media (e.g. "raw", "multipart"). */
41071
- upload_protocol?: string;
41072
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
41073
- uploadType?: string;
41074
- },
41075
- body: GoogleCloudAiplatformV1PredictLongRunningRequest,
41076
- ): Request<GoogleLongrunningOperation>;
41077
- /** Generate content with multimodal inputs with streaming support. */
41078
- streamGenerateContent(request: {
42587
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
42588
+ list(request?: {
41079
42589
  /** V1 error format. */
41080
42590
  '$.xgafv'?: string;
41081
42591
  /** OAuth access token. */
@@ -41086,55 +42596,58 @@ declare namespace gapi.client {
41086
42596
  callback?: string;
41087
42597
  /** Selector specifying which fields to include in a partial response. */
41088
42598
  fields?: string;
42599
+ /** The standard list filter. */
42600
+ filter?: string;
41089
42601
  /** 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. */
41090
42602
  key?: string;
41091
- /** Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*‍/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
41092
- model: string;
42603
+ /** The name of the operation's parent resource. */
42604
+ name: string;
41093
42605
  /** OAuth 2.0 token for the current user. */
41094
42606
  oauth_token?: string;
42607
+ /** The standard list page size. */
42608
+ pageSize?: number;
42609
+ /** The standard list page token. */
42610
+ pageToken?: string;
41095
42611
  /** Returns response with indentations and line breaks. */
41096
42612
  prettyPrint?: boolean;
41097
42613
  /** 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. */
41098
42614
  quotaUser?: string;
42615
+ /** 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. */
42616
+ returnPartialSuccess?: boolean;
41099
42617
  /** Upload protocol for media (e.g. "raw", "multipart"). */
41100
42618
  upload_protocol?: string;
41101
42619
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
41102
42620
  uploadType?: string;
41103
- /** Request body */
41104
- resource: GoogleCloudAiplatformV1GenerateContentRequest;
41105
- }): Request<GoogleCloudAiplatformV1GenerateContentResponse>;
41106
- streamGenerateContent(
41107
- request: {
41108
- /** V1 error format. */
41109
- '$.xgafv'?: string;
41110
- /** OAuth access token. */
41111
- access_token?: string;
41112
- /** Data format for response. */
41113
- alt?: string;
41114
- /** JSONP */
41115
- callback?: string;
41116
- /** Selector specifying which fields to include in a partial response. */
41117
- fields?: string;
41118
- /** 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. */
41119
- key?: string;
41120
- /** Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher model format: `projects/{project}/locations/{location}/publishers/*‍/models/*` Tuned model endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
41121
- model: string;
41122
- /** OAuth 2.0 token for the current user. */
41123
- oauth_token?: string;
41124
- /** Returns response with indentations and line breaks. */
41125
- prettyPrint?: boolean;
41126
- /** 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. */
41127
- quotaUser?: string;
41128
- /** Upload protocol for media (e.g. "raw", "multipart"). */
41129
- upload_protocol?: string;
41130
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
41131
- uploadType?: string;
41132
- },
41133
- body: GoogleCloudAiplatformV1GenerateContentRequest,
41134
- ): Request<GoogleCloudAiplatformV1GenerateContentResponse>;
41135
- }
41136
- interface PublishersResource {
41137
- models: ModelsResource;
42621
+ }): Request<GoogleLongrunningListOperationsResponse>;
42622
+ /** 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. */
42623
+ wait(request?: {
42624
+ /** V1 error format. */
42625
+ '$.xgafv'?: string;
42626
+ /** OAuth access token. */
42627
+ access_token?: string;
42628
+ /** Data format for response. */
42629
+ alt?: string;
42630
+ /** JSONP */
42631
+ callback?: string;
42632
+ /** Selector specifying which fields to include in a partial response. */
42633
+ fields?: string;
42634
+ /** 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. */
42635
+ key?: string;
42636
+ /** The name of the operation resource to wait on. */
42637
+ name: string;
42638
+ /** OAuth 2.0 token for the current user. */
42639
+ oauth_token?: string;
42640
+ /** Returns response with indentations and line breaks. */
42641
+ prettyPrint?: boolean;
42642
+ /** 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. */
42643
+ quotaUser?: string;
42644
+ /** 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. */
42645
+ timeout?: string;
42646
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
42647
+ upload_protocol?: string;
42648
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
42649
+ uploadType?: string;
42650
+ }): Request<GoogleLongrunningOperation>;
41138
42651
  }
41139
42652
  interface OperationsResource {
41140
42653
  /** 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`. */
@@ -41283,6 +42796,13 @@ declare namespace gapi.client {
41283
42796
  uploadType?: string;
41284
42797
  }): Request<GoogleLongrunningOperation>;
41285
42798
  }
42799
+ interface RagFilesResource {
42800
+ operations: OperationsResource;
42801
+ }
42802
+ interface RagCorporaResource {
42803
+ operations: OperationsResource;
42804
+ ragFiles: RagFilesResource;
42805
+ }
41286
42806
  interface OperationsResource {
41287
42807
  /** 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`. */
41288
42808
  cancel(request?: {
@@ -41430,12 +42950,8 @@ declare namespace gapi.client {
41430
42950
  uploadType?: string;
41431
42951
  }): Request<GoogleLongrunningOperation>;
41432
42952
  }
41433
- interface RagFilesResource {
41434
- operations: OperationsResource;
41435
- }
41436
- interface RagCorporaResource {
42953
+ interface RagEngineConfigResource {
41437
42954
  operations: OperationsResource;
41438
- ragFiles: RagFilesResource;
41439
42955
  }
41440
42956
  interface OperationsResource {
41441
42957
  /** 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`. */
@@ -41584,7 +43100,7 @@ declare namespace gapi.client {
41584
43100
  uploadType?: string;
41585
43101
  }): Request<GoogleLongrunningOperation>;
41586
43102
  }
41587
- interface RagEngineConfigResource {
43103
+ interface MemoriesResource {
41588
43104
  operations: OperationsResource;
41589
43105
  }
41590
43106
  interface OperationsResource {
@@ -41734,6 +43250,156 @@ declare namespace gapi.client {
41734
43250
  uploadType?: string;
41735
43251
  }): Request<GoogleLongrunningOperation>;
41736
43252
  }
43253
+ interface OperationsResource {
43254
+ /** 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`. */
43255
+ cancel(request?: {
43256
+ /** V1 error format. */
43257
+ '$.xgafv'?: string;
43258
+ /** OAuth access token. */
43259
+ access_token?: string;
43260
+ /** Data format for response. */
43261
+ alt?: string;
43262
+ /** JSONP */
43263
+ callback?: string;
43264
+ /** Selector specifying which fields to include in a partial response. */
43265
+ fields?: string;
43266
+ /** 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. */
43267
+ key?: string;
43268
+ /** The name of the operation resource to be cancelled. */
43269
+ name: string;
43270
+ /** OAuth 2.0 token for the current user. */
43271
+ oauth_token?: string;
43272
+ /** Returns response with indentations and line breaks. */
43273
+ prettyPrint?: boolean;
43274
+ /** 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. */
43275
+ quotaUser?: string;
43276
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
43277
+ upload_protocol?: string;
43278
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43279
+ uploadType?: string;
43280
+ }): Request<{}>;
43281
+ /** 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`. */
43282
+ delete(request?: {
43283
+ /** V1 error format. */
43284
+ '$.xgafv'?: string;
43285
+ /** OAuth access token. */
43286
+ access_token?: string;
43287
+ /** Data format for response. */
43288
+ alt?: string;
43289
+ /** JSONP */
43290
+ callback?: string;
43291
+ /** Selector specifying which fields to include in a partial response. */
43292
+ fields?: string;
43293
+ /** 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. */
43294
+ key?: string;
43295
+ /** The name of the operation resource to be deleted. */
43296
+ name: string;
43297
+ /** OAuth 2.0 token for the current user. */
43298
+ oauth_token?: string;
43299
+ /** Returns response with indentations and line breaks. */
43300
+ prettyPrint?: boolean;
43301
+ /** 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. */
43302
+ quotaUser?: string;
43303
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
43304
+ upload_protocol?: string;
43305
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43306
+ uploadType?: string;
43307
+ }): Request<{}>;
43308
+ /** 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. */
43309
+ get(request?: {
43310
+ /** V1 error format. */
43311
+ '$.xgafv'?: string;
43312
+ /** OAuth access token. */
43313
+ access_token?: string;
43314
+ /** Data format for response. */
43315
+ alt?: string;
43316
+ /** JSONP */
43317
+ callback?: string;
43318
+ /** Selector specifying which fields to include in a partial response. */
43319
+ fields?: string;
43320
+ /** 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. */
43321
+ key?: string;
43322
+ /** The name of the operation resource. */
43323
+ name: string;
43324
+ /** OAuth 2.0 token for the current user. */
43325
+ oauth_token?: string;
43326
+ /** Returns response with indentations and line breaks. */
43327
+ prettyPrint?: boolean;
43328
+ /** 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. */
43329
+ quotaUser?: string;
43330
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
43331
+ upload_protocol?: string;
43332
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43333
+ uploadType?: string;
43334
+ }): Request<GoogleLongrunningOperation>;
43335
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
43336
+ list(request?: {
43337
+ /** V1 error format. */
43338
+ '$.xgafv'?: string;
43339
+ /** OAuth access token. */
43340
+ access_token?: string;
43341
+ /** Data format for response. */
43342
+ alt?: string;
43343
+ /** JSONP */
43344
+ callback?: string;
43345
+ /** Selector specifying which fields to include in a partial response. */
43346
+ fields?: string;
43347
+ /** The standard list filter. */
43348
+ filter?: string;
43349
+ /** 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. */
43350
+ key?: string;
43351
+ /** The name of the operation's parent resource. */
43352
+ name: string;
43353
+ /** OAuth 2.0 token for the current user. */
43354
+ oauth_token?: string;
43355
+ /** The standard list page size. */
43356
+ pageSize?: number;
43357
+ /** The standard list page token. */
43358
+ pageToken?: string;
43359
+ /** Returns response with indentations and line breaks. */
43360
+ prettyPrint?: boolean;
43361
+ /** 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. */
43362
+ quotaUser?: string;
43363
+ /** 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. */
43364
+ returnPartialSuccess?: boolean;
43365
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
43366
+ upload_protocol?: string;
43367
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43368
+ uploadType?: string;
43369
+ }): Request<GoogleLongrunningListOperationsResponse>;
43370
+ /** 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. */
43371
+ wait(request?: {
43372
+ /** V1 error format. */
43373
+ '$.xgafv'?: string;
43374
+ /** OAuth access token. */
43375
+ access_token?: string;
43376
+ /** Data format for response. */
43377
+ alt?: string;
43378
+ /** JSONP */
43379
+ callback?: string;
43380
+ /** Selector specifying which fields to include in a partial response. */
43381
+ fields?: string;
43382
+ /** 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. */
43383
+ key?: string;
43384
+ /** The name of the operation resource to wait on. */
43385
+ name: string;
43386
+ /** OAuth 2.0 token for the current user. */
43387
+ oauth_token?: string;
43388
+ /** Returns response with indentations and line breaks. */
43389
+ prettyPrint?: boolean;
43390
+ /** 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. */
43391
+ quotaUser?: string;
43392
+ /** 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. */
43393
+ timeout?: string;
43394
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
43395
+ upload_protocol?: string;
43396
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
43397
+ uploadType?: string;
43398
+ }): Request<GoogleLongrunningOperation>;
43399
+ }
43400
+ interface SessionsResource {
43401
+ operations: OperationsResource;
43402
+ }
41737
43403
  interface ReasoningEnginesResource {
41738
43404
  /** Creates a reasoning engine. */
41739
43405
  create(request: {
@@ -42060,7 +43726,9 @@ declare namespace gapi.client {
42060
43726
  },
42061
43727
  body: GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest,
42062
43728
  ): Request<GoogleApiHttpBody>;
43729
+ memories: MemoriesResource;
42063
43730
  operations: OperationsResource;
43731
+ sessions: SessionsResource;
42064
43732
  }
42065
43733
  interface OperationsResource {
42066
43734
  /** 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`. */