@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20250522 → 0.0.20250527

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +986 -7
  2. package/package.json +1 -1
  3. package/readme.md +49 -0
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://aiplatform.googleapis.com/$discovery/rest?version=v1beta1
12
- // Revision: 20250522
12
+ // Revision: 20250527
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -868,6 +868,12 @@ declare namespace gapi.client {
868
868
  /** Optional. Which version to use for evaluation. */
869
869
  version?: number;
870
870
  }
871
+ interface GoogleCloudAiplatformV1beta1ColabImage {
872
+ /** Output only. A human-readable description of the specified colab image release, populated by the system. Example: "Python 3.10", "Latest - current Python 3.11" */
873
+ description?: string;
874
+ /** Optional. The release name of the NotebookRuntime Colab image, e.g. "py310". If not specified, detault to the latest release. */
875
+ releaseName?: string;
876
+ }
871
877
  interface GoogleCloudAiplatformV1beta1CometInput {
872
878
  /** Required. Comet instance. */
873
879
  instance?: GoogleCloudAiplatformV1beta1CometInstance;
@@ -3454,6 +3460,8 @@ declare namespace gapi.client {
3454
3460
  audioTimestamp?: boolean;
3455
3461
  /** Optional. Number of candidates to generate. */
3456
3462
  candidateCount?: number;
3463
+ /** Optional. If enabled, the model will detect emotions and adapt its responses accordingly. */
3464
+ enableAffectiveDialog?: boolean;
3457
3465
  /** Optional. Frequency penalties. */
3458
3466
  frequencyPenalty?: number;
3459
3467
  /** Optional. Logit probabilities. */
@@ -3727,6 +3735,50 @@ declare namespace gapi.client {
3727
3735
  /** The number rows that weren't ingested due to having feature timestamps outside the retention boundary. */
3728
3736
  timestampOutsideRetentionRowsCount?: string;
3729
3737
  }
3738
+ interface GoogleCloudAiplatformV1beta1ImportIndexRequest {
3739
+ /** Required. Configuration for importing data from an external source. */
3740
+ config?: GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfig;
3741
+ /** Optional. If true, completely replace existing index data. Must be true for streaming update indexes. */
3742
+ isCompleteOverwrite?: boolean;
3743
+ }
3744
+ interface GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfig {
3745
+ /** Configuration for importing data from a BigQuery table. */
3746
+ bigQuerySourceConfig?: GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigBigQuerySourceConfig;
3747
+ }
3748
+ interface GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigBigQuerySourceConfig {
3749
+ /** Required. Mapping of datapoint fields to BigQuery column names. */
3750
+ datapointFieldMapping?: GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigDatapointFieldMapping;
3751
+ /** Required. The path to the BigQuery table containing the index data, in the format of `bq://..`. */
3752
+ tablePath?: string;
3753
+ }
3754
+ interface GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigDatapointFieldMapping {
3755
+ /** Required. The column with the vector embeddings for each data point. */
3756
+ embeddingColumn?: string;
3757
+ /** Required. The column with unique identifiers for each data point. */
3758
+ idColumn?: string;
3759
+ /** Optional. List of columns containing metadata to be included in the index. */
3760
+ metadataColumns?: string[];
3761
+ /** Optional. List of restricts for numeric values. */
3762
+ numericRestricts?: GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigDatapointFieldMappingNumericRestrict[];
3763
+ /** Optional. List of restricts for string values. */
3764
+ restricts?: GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigDatapointFieldMappingRestrict[];
3765
+ }
3766
+ interface GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigDatapointFieldMappingNumericRestrict {
3767
+ /** Required. The namespace of the restrict. */
3768
+ namespace?: string;
3769
+ /** Optional. The column containing the numeric value. */
3770
+ valueColumn?: string;
3771
+ /** Required. Numeric type of the restrict. Must be consistent for all datapoints within the namespace. */
3772
+ valueType?: string;
3773
+ }
3774
+ interface GoogleCloudAiplatformV1beta1ImportIndexRequestConnectorConfigDatapointFieldMappingRestrict {
3775
+ /** Optional. The columns containing the allow values. */
3776
+ allowColumn?: string[];
3777
+ /** Optional. The columns containing the deny values. */
3778
+ denyColumn?: string[];
3779
+ /** Required. The namespace of the restrict in the index. */
3780
+ namespace?: string;
3781
+ }
3730
3782
  interface GoogleCloudAiplatformV1beta1ImportModelEvaluationRequest {
3731
3783
  /** Required. Model evaluation resource to be imported. */
3732
3784
  modelEvaluation?: GoogleCloudAiplatformV1beta1ModelEvaluation;
@@ -5701,6 +5753,8 @@ declare namespace gapi.client {
5701
5753
  notebookRuntimeTemplate?: string;
5702
5754
  }
5703
5755
  interface GoogleCloudAiplatformV1beta1NotebookSoftwareConfig {
5756
+ /** Optional. Google-managed NotebookRuntime colab image. */
5757
+ colabImage?: GoogleCloudAiplatformV1beta1ColabImage;
5704
5758
  /** Optional. Environment variables to be passed to the container. Maximum limit is 100. */
5705
5759
  env?: GoogleCloudAiplatformV1beta1EnvVar[];
5706
5760
  /** Optional. Post startup script config. */
@@ -6252,6 +6306,10 @@ declare namespace gapi.client {
6252
6306
  projectId?: string;
6253
6307
  }
6254
6308
  interface GoogleCloudAiplatformV1beta1PSCAutomationConfig {
6309
+ /** Output only. Forwarding rule created by the PSC service automation. Note for Vector search, use IndexPrivateEndpoint instead. */
6310
+ forwardingRule?: string;
6311
+ /** Output only. IP address rule created by the PSC service automation. Note for Vector search, use IndexPrivateEndpoint instead. */
6312
+ ipAddress?: string;
6255
6313
  /** Required. The full name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert): `projects/{project}/global/networks/{network}`. Where {project} is a project number, as in '12345', and {network} is network name. */
6256
6314
  network?: string;
6257
6315
  /** Required. Project id used to create forwarding rule. */
@@ -9121,7 +9179,7 @@ declare namespace gapi.client {
9121
9179
  createTime?: string;
9122
9180
  /** Optional. The display name of the session. */
9123
9181
  displayName?: string;
9124
- /** Required. Identifier. The resource name of the session. Format: 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'. */
9182
+ /** Identifier. The resource name of the session. Format: 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'. */
9125
9183
  name?: string;
9126
9184
  /** Optional. Session specific memory which stores key conversation points. */
9127
9185
  sessionState?: {[P in string]: any};
@@ -9145,7 +9203,7 @@ declare namespace gapi.client {
9145
9203
  eventMetadata?: GoogleCloudAiplatformV1beta1EventMetadata;
9146
9204
  /** Required. The invocation id of the event, multiple events can have the same invocation id. */
9147
9205
  invocationId?: string;
9148
- /** Required. Identifier. The resource name of the event. Format:`projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}`. */
9206
+ /** Identifier. The resource name of the event. Format:`projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}`. */
9149
9207
  name?: string;
9150
9208
  /** Required. Timestamp when the event was created on client side. */
9151
9209
  timestamp?: string;
@@ -9710,9 +9768,9 @@ declare namespace gapi.client {
9710
9768
  exportLastCheckpointOnly?: boolean;
9711
9769
  /** Optional. Hyperparameters for SFT. */
9712
9770
  hyperParameters?: GoogleCloudAiplatformV1beta1SupervisedHyperParameters;
9713
- /** Required. Cloud Storage path to file containing training dataset for tuning. The dataset must be formatted as a JSONL file. */
9771
+ /** Required. Training dataset used for tuning. The dataset can be specified as either a Cloud Storage path to a JSONL file or as the resource name of a Vertex Multimodal Dataset. */
9714
9772
  trainingDatasetUri?: string;
9715
- /** Optional. Cloud Storage path to file containing validation dataset for tuning. The dataset must be formatted as a JSONL file. */
9773
+ /** Optional. Validation dataset used for tuning. The dataset can be specified as either a Cloud Storage path to a JSONL file or as the resource name of a Vertex Multimodal Dataset. */
9716
9774
  validationDatasetUri?: string;
9717
9775
  }
9718
9776
  interface GoogleCloudAiplatformV1beta1SyncFeatureViewRequest {}
@@ -11488,6 +11546,64 @@ declare namespace gapi.client {
11488
11546
  },
11489
11547
  body: GoogleCloudAiplatformV1beta1CountTokensRequest,
11490
11548
  ): Request<GoogleCloudAiplatformV1beta1CountTokensResponse>;
11549
+ /** Fetch an asynchronous online prediction operation. */
11550
+ fetchPredictOperation(request: {
11551
+ /** V1 error format. */
11552
+ '$.xgafv'?: string;
11553
+ /** OAuth access token. */
11554
+ access_token?: string;
11555
+ /** Data format for response. */
11556
+ alt?: string;
11557
+ /** JSONP */
11558
+ callback?: string;
11559
+ /** 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}` */
11560
+ endpoint: string;
11561
+ /** Selector specifying which fields to include in a partial response. */
11562
+ fields?: string;
11563
+ /** 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. */
11564
+ key?: string;
11565
+ /** OAuth 2.0 token for the current user. */
11566
+ oauth_token?: string;
11567
+ /** Returns response with indentations and line breaks. */
11568
+ prettyPrint?: boolean;
11569
+ /** 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. */
11570
+ quotaUser?: string;
11571
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
11572
+ upload_protocol?: string;
11573
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11574
+ uploadType?: string;
11575
+ /** Request body */
11576
+ resource: GoogleCloudAiplatformV1beta1FetchPredictOperationRequest;
11577
+ }): Request<GoogleLongrunningOperation>;
11578
+ fetchPredictOperation(
11579
+ request: {
11580
+ /** V1 error format. */
11581
+ '$.xgafv'?: string;
11582
+ /** OAuth access token. */
11583
+ access_token?: string;
11584
+ /** Data format for response. */
11585
+ alt?: string;
11586
+ /** JSONP */
11587
+ callback?: string;
11588
+ /** 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}` */
11589
+ endpoint: string;
11590
+ /** Selector specifying which fields to include in a partial response. */
11591
+ fields?: string;
11592
+ /** 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. */
11593
+ key?: string;
11594
+ /** OAuth 2.0 token for the current user. */
11595
+ oauth_token?: string;
11596
+ /** Returns response with indentations and line breaks. */
11597
+ prettyPrint?: boolean;
11598
+ /** 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. */
11599
+ quotaUser?: string;
11600
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
11601
+ upload_protocol?: string;
11602
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11603
+ uploadType?: string;
11604
+ },
11605
+ body: GoogleCloudAiplatformV1beta1FetchPredictOperationRequest,
11606
+ ): Request<GoogleLongrunningOperation>;
11491
11607
  /** Generate content with multimodal inputs. */
11492
11608
  generateContent(request: {
11493
11609
  /** V1 error format. */
@@ -11604,6 +11720,63 @@ declare namespace gapi.client {
11604
11720
  },
11605
11721
  body: GoogleCloudAiplatformV1beta1PredictRequest,
11606
11722
  ): Request<GoogleCloudAiplatformV1beta1PredictResponse>;
11723
+ predictLongRunning(request: {
11724
+ /** V1 error format. */
11725
+ '$.xgafv'?: string;
11726
+ /** OAuth access token. */
11727
+ access_token?: string;
11728
+ /** Data format for response. */
11729
+ alt?: string;
11730
+ /** JSONP */
11731
+ callback?: string;
11732
+ /** 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}` */
11733
+ endpoint: string;
11734
+ /** Selector specifying which fields to include in a partial response. */
11735
+ fields?: string;
11736
+ /** 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. */
11737
+ key?: string;
11738
+ /** OAuth 2.0 token for the current user. */
11739
+ oauth_token?: string;
11740
+ /** Returns response with indentations and line breaks. */
11741
+ prettyPrint?: boolean;
11742
+ /** 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. */
11743
+ quotaUser?: string;
11744
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
11745
+ upload_protocol?: string;
11746
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11747
+ uploadType?: string;
11748
+ /** Request body */
11749
+ resource: GoogleCloudAiplatformV1beta1PredictLongRunningRequest;
11750
+ }): Request<GoogleLongrunningOperation>;
11751
+ predictLongRunning(
11752
+ request: {
11753
+ /** V1 error format. */
11754
+ '$.xgafv'?: string;
11755
+ /** OAuth access token. */
11756
+ access_token?: string;
11757
+ /** Data format for response. */
11758
+ alt?: string;
11759
+ /** JSONP */
11760
+ callback?: string;
11761
+ /** 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}` */
11762
+ endpoint: string;
11763
+ /** Selector specifying which fields to include in a partial response. */
11764
+ fields?: string;
11765
+ /** 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. */
11766
+ key?: string;
11767
+ /** OAuth 2.0 token for the current user. */
11768
+ oauth_token?: string;
11769
+ /** Returns response with indentations and line breaks. */
11770
+ prettyPrint?: boolean;
11771
+ /** 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. */
11772
+ quotaUser?: string;
11773
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
11774
+ upload_protocol?: string;
11775
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11776
+ uploadType?: string;
11777
+ },
11778
+ body: GoogleCloudAiplatformV1beta1PredictLongRunningRequest,
11779
+ ): Request<GoogleLongrunningOperation>;
11607
11780
  /** Generate content with multimodal inputs with streaming support. */
11608
11781
  streamGenerateContent(request: {
11609
11782
  /** V1 error format. */
@@ -23662,6 +23835,64 @@ declare namespace gapi.client {
23662
23835
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
23663
23836
  uploadType?: string;
23664
23837
  }): Request<GoogleCloudAiplatformV1beta1Index>;
23838
+ /** Imports an Index from an external source (e.g., BigQuery). */
23839
+ import(request: {
23840
+ /** V1 error format. */
23841
+ '$.xgafv'?: string;
23842
+ /** OAuth access token. */
23843
+ access_token?: string;
23844
+ /** Data format for response. */
23845
+ alt?: string;
23846
+ /** JSONP */
23847
+ callback?: string;
23848
+ /** Selector specifying which fields to include in a partial response. */
23849
+ fields?: string;
23850
+ /** 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. */
23851
+ key?: string;
23852
+ /** Required. The name of the Index resource to import data to. Format: `projects/{project}/locations/{location}/indexes/{index}` */
23853
+ name: string;
23854
+ /** OAuth 2.0 token for the current user. */
23855
+ oauth_token?: string;
23856
+ /** Returns response with indentations and line breaks. */
23857
+ prettyPrint?: boolean;
23858
+ /** 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. */
23859
+ quotaUser?: string;
23860
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
23861
+ upload_protocol?: string;
23862
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
23863
+ uploadType?: string;
23864
+ /** Request body */
23865
+ resource: GoogleCloudAiplatformV1beta1ImportIndexRequest;
23866
+ }): Request<GoogleLongrunningOperation>;
23867
+ import(
23868
+ request: {
23869
+ /** V1 error format. */
23870
+ '$.xgafv'?: string;
23871
+ /** OAuth access token. */
23872
+ access_token?: string;
23873
+ /** Data format for response. */
23874
+ alt?: string;
23875
+ /** JSONP */
23876
+ callback?: string;
23877
+ /** Selector specifying which fields to include in a partial response. */
23878
+ fields?: string;
23879
+ /** 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. */
23880
+ key?: string;
23881
+ /** Required. The name of the Index resource to import data to. Format: `projects/{project}/locations/{location}/indexes/{index}` */
23882
+ name: string;
23883
+ /** OAuth 2.0 token for the current user. */
23884
+ oauth_token?: string;
23885
+ /** Returns response with indentations and line breaks. */
23886
+ prettyPrint?: boolean;
23887
+ /** 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. */
23888
+ quotaUser?: string;
23889
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
23890
+ upload_protocol?: string;
23891
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
23892
+ uploadType?: string;
23893
+ },
23894
+ body: GoogleCloudAiplatformV1beta1ImportIndexRequest,
23895
+ ): Request<GoogleLongrunningOperation>;
23665
23896
  /** Lists Indexes in a Location. */
23666
23897
  list(request?: {
23667
23898
  /** V1 error format. */
@@ -33343,7 +33574,7 @@ declare namespace gapi.client {
33343
33574
  fields?: string;
33344
33575
  /** 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. */
33345
33576
  key?: string;
33346
- /** Required. Identifier. The resource name of the session. Format: 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'. */
33577
+ /** Identifier. The resource name of the session. Format: 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'. */
33347
33578
  name: string;
33348
33579
  /** OAuth 2.0 token for the current user. */
33349
33580
  oauth_token?: string;
@@ -33374,7 +33605,7 @@ declare namespace gapi.client {
33374
33605
  fields?: string;
33375
33606
  /** 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. */
33376
33607
  key?: string;
33377
- /** Required. Identifier. The resource name of the session. Format: 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'. */
33608
+ /** Identifier. The resource name of the session. Format: 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'. */
33378
33609
  name: string;
33379
33610
  /** OAuth 2.0 token for the current user. */
33380
33611
  oauth_token?: string;
@@ -39059,6 +39290,64 @@ declare namespace gapi.client {
39059
39290
  },
39060
39291
  body: GoogleCloudAiplatformV1beta1CountTokensRequest,
39061
39292
  ): Request<GoogleCloudAiplatformV1beta1CountTokensResponse>;
39293
+ /** Fetch an asynchronous online prediction operation. */
39294
+ fetchPredictOperation(request: {
39295
+ /** V1 error format. */
39296
+ '$.xgafv'?: string;
39297
+ /** OAuth access token. */
39298
+ access_token?: string;
39299
+ /** Data format for response. */
39300
+ alt?: string;
39301
+ /** JSONP */
39302
+ callback?: string;
39303
+ /** 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}` */
39304
+ endpoint: string;
39305
+ /** Selector specifying which fields to include in a partial response. */
39306
+ fields?: string;
39307
+ /** 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. */
39308
+ key?: string;
39309
+ /** OAuth 2.0 token for the current user. */
39310
+ oauth_token?: string;
39311
+ /** Returns response with indentations and line breaks. */
39312
+ prettyPrint?: boolean;
39313
+ /** 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. */
39314
+ quotaUser?: string;
39315
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
39316
+ upload_protocol?: string;
39317
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
39318
+ uploadType?: string;
39319
+ /** Request body */
39320
+ resource: GoogleCloudAiplatformV1beta1FetchPredictOperationRequest;
39321
+ }): Request<GoogleLongrunningOperation>;
39322
+ fetchPredictOperation(
39323
+ request: {
39324
+ /** V1 error format. */
39325
+ '$.xgafv'?: string;
39326
+ /** OAuth access token. */
39327
+ access_token?: string;
39328
+ /** Data format for response. */
39329
+ alt?: string;
39330
+ /** JSONP */
39331
+ callback?: string;
39332
+ /** 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}` */
39333
+ endpoint: string;
39334
+ /** Selector specifying which fields to include in a partial response. */
39335
+ fields?: string;
39336
+ /** 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. */
39337
+ key?: string;
39338
+ /** OAuth 2.0 token for the current user. */
39339
+ oauth_token?: string;
39340
+ /** Returns response with indentations and line breaks. */
39341
+ prettyPrint?: boolean;
39342
+ /** 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. */
39343
+ quotaUser?: string;
39344
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
39345
+ upload_protocol?: string;
39346
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
39347
+ uploadType?: string;
39348
+ },
39349
+ body: GoogleCloudAiplatformV1beta1FetchPredictOperationRequest,
39350
+ ): Request<GoogleLongrunningOperation>;
39062
39351
  /** Generate content with multimodal inputs. */
39063
39352
  generateContent(request: {
39064
39353
  /** V1 error format. */
@@ -39253,6 +39542,63 @@ declare namespace gapi.client {
39253
39542
  },
39254
39543
  body: GoogleCloudAiplatformV1beta1PredictRequest,
39255
39544
  ): Request<GoogleCloudAiplatformV1beta1PredictResponse>;
39545
+ predictLongRunning(request: {
39546
+ /** V1 error format. */
39547
+ '$.xgafv'?: string;
39548
+ /** OAuth access token. */
39549
+ access_token?: string;
39550
+ /** Data format for response. */
39551
+ alt?: string;
39552
+ /** JSONP */
39553
+ callback?: string;
39554
+ /** 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}` */
39555
+ endpoint: string;
39556
+ /** Selector specifying which fields to include in a partial response. */
39557
+ fields?: string;
39558
+ /** 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. */
39559
+ key?: string;
39560
+ /** OAuth 2.0 token for the current user. */
39561
+ oauth_token?: string;
39562
+ /** Returns response with indentations and line breaks. */
39563
+ prettyPrint?: boolean;
39564
+ /** 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. */
39565
+ quotaUser?: string;
39566
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
39567
+ upload_protocol?: string;
39568
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
39569
+ uploadType?: string;
39570
+ /** Request body */
39571
+ resource: GoogleCloudAiplatformV1beta1PredictLongRunningRequest;
39572
+ }): Request<GoogleLongrunningOperation>;
39573
+ predictLongRunning(
39574
+ request: {
39575
+ /** V1 error format. */
39576
+ '$.xgafv'?: string;
39577
+ /** OAuth access token. */
39578
+ access_token?: string;
39579
+ /** Data format for response. */
39580
+ alt?: string;
39581
+ /** JSONP */
39582
+ callback?: string;
39583
+ /** 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}` */
39584
+ endpoint: string;
39585
+ /** Selector specifying which fields to include in a partial response. */
39586
+ fields?: string;
39587
+ /** 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. */
39588
+ key?: string;
39589
+ /** OAuth 2.0 token for the current user. */
39590
+ oauth_token?: string;
39591
+ /** Returns response with indentations and line breaks. */
39592
+ prettyPrint?: boolean;
39593
+ /** 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. */
39594
+ quotaUser?: string;
39595
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
39596
+ upload_protocol?: string;
39597
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
39598
+ uploadType?: string;
39599
+ },
39600
+ body: GoogleCloudAiplatformV1beta1PredictLongRunningRequest,
39601
+ ): Request<GoogleLongrunningOperation>;
39256
39602
  /** Generate content with multimodal inputs with streaming support. */
39257
39603
  streamGenerateContent(request: {
39258
39604
  /** V1 error format. */
@@ -39315,6 +39661,637 @@ declare namespace gapi.client {
39315
39661
  interface PublishersResource {
39316
39662
  models: ModelsResource;
39317
39663
  }
39664
+ interface EventsResource {
39665
+ /** Lists Events in a given session. */
39666
+ list(request?: {
39667
+ /** V1 error format. */
39668
+ '$.xgafv'?: string;
39669
+ /** OAuth access token. */
39670
+ access_token?: string;
39671
+ /** Data format for response. */
39672
+ alt?: string;
39673
+ /** JSONP */
39674
+ callback?: string;
39675
+ /** Selector specifying which fields to include in a partial response. */
39676
+ fields?: string;
39677
+ /** 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. */
39678
+ key?: string;
39679
+ /** OAuth 2.0 token for the current user. */
39680
+ oauth_token?: string;
39681
+ /** 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. */
39682
+ pageSize?: number;
39683
+ /** Optional. The next_page_token value returned from a previous list SessionService.ListEvents call. */
39684
+ pageToken?: string;
39685
+ /** Required. The resource name of the session to list events from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` */
39686
+ parent: string;
39687
+ /** Returns response with indentations and line breaks. */
39688
+ prettyPrint?: boolean;
39689
+ /** 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. */
39690
+ quotaUser?: string;
39691
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
39692
+ upload_protocol?: string;
39693
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
39694
+ uploadType?: string;
39695
+ }): Request<GoogleCloudAiplatformV1beta1ListEventsResponse>;
39696
+ }
39697
+ interface SessionsResource {
39698
+ /** Appends an event to a given session. */
39699
+ appendEvent(request: {
39700
+ /** V1 error format. */
39701
+ '$.xgafv'?: string;
39702
+ /** OAuth access token. */
39703
+ access_token?: string;
39704
+ /** Data format for response. */
39705
+ alt?: string;
39706
+ /** JSONP */
39707
+ callback?: string;
39708
+ /** Selector specifying which fields to include in a partial response. */
39709
+ fields?: string;
39710
+ /** 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. */
39711
+ key?: string;
39712
+ /** Required. The resource name of the session to append event to. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` */
39713
+ name: string;
39714
+ /** OAuth 2.0 token for the current user. */
39715
+ oauth_token?: string;
39716
+ /** Returns response with indentations and line breaks. */
39717
+ prettyPrint?: boolean;
39718
+ /** 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. */
39719
+ quotaUser?: string;
39720
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
39721
+ upload_protocol?: string;
39722
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
39723
+ uploadType?: string;
39724
+ /** Request body */
39725
+ resource: GoogleCloudAiplatformV1beta1SessionEvent;
39726
+ }): Request<{}>;
39727
+ appendEvent(
39728
+ request: {
39729
+ /** V1 error format. */
39730
+ '$.xgafv'?: string;
39731
+ /** OAuth access token. */
39732
+ access_token?: string;
39733
+ /** Data format for response. */
39734
+ alt?: string;
39735
+ /** JSONP */
39736
+ callback?: string;
39737
+ /** Selector specifying which fields to include in a partial response. */
39738
+ fields?: string;
39739
+ /** 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. */
39740
+ key?: string;
39741
+ /** Required. The resource name of the session to append event to. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` */
39742
+ name: string;
39743
+ /** OAuth 2.0 token for the current user. */
39744
+ oauth_token?: string;
39745
+ /** Returns response with indentations and line breaks. */
39746
+ prettyPrint?: boolean;
39747
+ /** 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. */
39748
+ quotaUser?: string;
39749
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
39750
+ upload_protocol?: string;
39751
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
39752
+ uploadType?: string;
39753
+ },
39754
+ body: GoogleCloudAiplatformV1beta1SessionEvent,
39755
+ ): Request<{}>;
39756
+ /** Creates a new Session. */
39757
+ create(request: {
39758
+ /** V1 error format. */
39759
+ '$.xgafv'?: string;
39760
+ /** OAuth access token. */
39761
+ access_token?: string;
39762
+ /** Data format for response. */
39763
+ alt?: string;
39764
+ /** JSONP */
39765
+ callback?: string;
39766
+ /** Selector specifying which fields to include in a partial response. */
39767
+ fields?: string;
39768
+ /** 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. */
39769
+ key?: string;
39770
+ /** OAuth 2.0 token for the current user. */
39771
+ oauth_token?: string;
39772
+ /** Required. The resource name of the location to create the session in. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
39773
+ parent: string;
39774
+ /** Returns response with indentations and line breaks. */
39775
+ prettyPrint?: boolean;
39776
+ /** 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. */
39777
+ quotaUser?: string;
39778
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
39779
+ upload_protocol?: string;
39780
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
39781
+ uploadType?: string;
39782
+ /** Request body */
39783
+ resource: GoogleCloudAiplatformV1beta1Session;
39784
+ }): Request<GoogleLongrunningOperation>;
39785
+ create(
39786
+ request: {
39787
+ /** V1 error format. */
39788
+ '$.xgafv'?: string;
39789
+ /** OAuth access token. */
39790
+ access_token?: string;
39791
+ /** Data format for response. */
39792
+ alt?: string;
39793
+ /** JSONP */
39794
+ callback?: string;
39795
+ /** Selector specifying which fields to include in a partial response. */
39796
+ fields?: string;
39797
+ /** 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. */
39798
+ key?: string;
39799
+ /** OAuth 2.0 token for the current user. */
39800
+ oauth_token?: string;
39801
+ /** Required. The resource name of the location to create the session in. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
39802
+ parent: string;
39803
+ /** Returns response with indentations and line breaks. */
39804
+ prettyPrint?: boolean;
39805
+ /** 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. */
39806
+ quotaUser?: string;
39807
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
39808
+ upload_protocol?: string;
39809
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
39810
+ uploadType?: string;
39811
+ },
39812
+ body: GoogleCloudAiplatformV1beta1Session,
39813
+ ): Request<GoogleLongrunningOperation>;
39814
+ /** Deletes details of the specific Session. */
39815
+ delete(request?: {
39816
+ /** V1 error format. */
39817
+ '$.xgafv'?: string;
39818
+ /** OAuth access token. */
39819
+ access_token?: string;
39820
+ /** Data format for response. */
39821
+ alt?: string;
39822
+ /** JSONP */
39823
+ callback?: string;
39824
+ /** Selector specifying which fields to include in a partial response. */
39825
+ fields?: string;
39826
+ /** 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. */
39827
+ key?: string;
39828
+ /** Required. The resource name of the session. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` */
39829
+ name: string;
39830
+ /** OAuth 2.0 token for the current user. */
39831
+ oauth_token?: string;
39832
+ /** Returns response with indentations and line breaks. */
39833
+ prettyPrint?: boolean;
39834
+ /** 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. */
39835
+ quotaUser?: string;
39836
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
39837
+ upload_protocol?: string;
39838
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
39839
+ uploadType?: string;
39840
+ }): Request<GoogleLongrunningOperation>;
39841
+ /** Gets details of the specific Session. */
39842
+ get(request?: {
39843
+ /** V1 error format. */
39844
+ '$.xgafv'?: string;
39845
+ /** OAuth access token. */
39846
+ access_token?: string;
39847
+ /** Data format for response. */
39848
+ alt?: string;
39849
+ /** JSONP */
39850
+ callback?: string;
39851
+ /** Selector specifying which fields to include in a partial response. */
39852
+ fields?: string;
39853
+ /** 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. */
39854
+ key?: string;
39855
+ /** Required. The resource name of the session. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` */
39856
+ name: string;
39857
+ /** OAuth 2.0 token for the current user. */
39858
+ oauth_token?: string;
39859
+ /** Returns response with indentations and line breaks. */
39860
+ prettyPrint?: boolean;
39861
+ /** 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. */
39862
+ quotaUser?: string;
39863
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
39864
+ upload_protocol?: string;
39865
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
39866
+ uploadType?: string;
39867
+ }): Request<GoogleCloudAiplatformV1beta1Session>;
39868
+ /** Lists Sessions in a given reasoning engine. */
39869
+ list(request?: {
39870
+ /** V1 error format. */
39871
+ '$.xgafv'?: string;
39872
+ /** OAuth access token. */
39873
+ access_token?: string;
39874
+ /** Data format for response. */
39875
+ alt?: string;
39876
+ /** JSONP */
39877
+ callback?: string;
39878
+ /** Selector specifying which fields to include in a partial response. */
39879
+ fields?: string;
39880
+ /** Optional. The standard list filter. Supported fields: * `display_name` Example: `display_name=abc`. */
39881
+ filter?: string;
39882
+ /** 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. */
39883
+ key?: string;
39884
+ /** OAuth 2.0 token for the current user. */
39885
+ oauth_token?: string;
39886
+ /** 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`. */
39887
+ orderBy?: string;
39888
+ /** 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. */
39889
+ pageSize?: number;
39890
+ /** Optional. The next_page_token value returned from a previous list SessionService.ListSessions call. */
39891
+ pageToken?: string;
39892
+ /** Required. The resource name of the location to list sessions from. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
39893
+ parent: string;
39894
+ /** Returns response with indentations and line breaks. */
39895
+ prettyPrint?: boolean;
39896
+ /** 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. */
39897
+ quotaUser?: string;
39898
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
39899
+ upload_protocol?: string;
39900
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
39901
+ uploadType?: string;
39902
+ }): Request<GoogleCloudAiplatformV1beta1ListSessionsResponse>;
39903
+ /** Updates the specific Session. */
39904
+ patch(request: {
39905
+ /** V1 error format. */
39906
+ '$.xgafv'?: string;
39907
+ /** OAuth access token. */
39908
+ access_token?: string;
39909
+ /** Data format for response. */
39910
+ alt?: string;
39911
+ /** JSONP */
39912
+ callback?: string;
39913
+ /** Selector specifying which fields to include in a partial response. */
39914
+ fields?: string;
39915
+ /** 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. */
39916
+ key?: string;
39917
+ /** Identifier. The resource name of the session. Format: 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'. */
39918
+ name: string;
39919
+ /** OAuth 2.0 token for the current user. */
39920
+ oauth_token?: string;
39921
+ /** Returns response with indentations and line breaks. */
39922
+ prettyPrint?: boolean;
39923
+ /** 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. */
39924
+ quotaUser?: string;
39925
+ /** Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated. */
39926
+ updateMask?: string;
39927
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
39928
+ upload_protocol?: string;
39929
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
39930
+ uploadType?: string;
39931
+ /** Request body */
39932
+ resource: GoogleCloudAiplatformV1beta1Session;
39933
+ }): Request<GoogleCloudAiplatformV1beta1Session>;
39934
+ patch(
39935
+ request: {
39936
+ /** V1 error format. */
39937
+ '$.xgafv'?: string;
39938
+ /** OAuth access token. */
39939
+ access_token?: string;
39940
+ /** Data format for response. */
39941
+ alt?: string;
39942
+ /** JSONP */
39943
+ callback?: string;
39944
+ /** Selector specifying which fields to include in a partial response. */
39945
+ fields?: string;
39946
+ /** 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. */
39947
+ key?: string;
39948
+ /** Identifier. The resource name of the session. Format: 'projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}'. */
39949
+ name: string;
39950
+ /** OAuth 2.0 token for the current user. */
39951
+ oauth_token?: string;
39952
+ /** Returns response with indentations and line breaks. */
39953
+ prettyPrint?: boolean;
39954
+ /** 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. */
39955
+ quotaUser?: string;
39956
+ /** Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated. */
39957
+ updateMask?: string;
39958
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
39959
+ upload_protocol?: string;
39960
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
39961
+ uploadType?: string;
39962
+ },
39963
+ body: GoogleCloudAiplatformV1beta1Session,
39964
+ ): Request<GoogleCloudAiplatformV1beta1Session>;
39965
+ events: EventsResource;
39966
+ }
39967
+ interface ReasoningEnginesResource {
39968
+ /** Creates a reasoning engine. */
39969
+ create(request: {
39970
+ /** V1 error format. */
39971
+ '$.xgafv'?: string;
39972
+ /** OAuth access token. */
39973
+ access_token?: string;
39974
+ /** Data format for response. */
39975
+ alt?: string;
39976
+ /** JSONP */
39977
+ callback?: string;
39978
+ /** Selector specifying which fields to include in a partial response. */
39979
+ fields?: string;
39980
+ /** 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. */
39981
+ key?: string;
39982
+ /** OAuth 2.0 token for the current user. */
39983
+ oauth_token?: string;
39984
+ /** Required. The resource name of the Location to create the ReasoningEngine in. Format: `projects/{project}/locations/{location}` */
39985
+ parent?: string;
39986
+ /** Returns response with indentations and line breaks. */
39987
+ prettyPrint?: boolean;
39988
+ /** 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. */
39989
+ quotaUser?: string;
39990
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
39991
+ upload_protocol?: string;
39992
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
39993
+ uploadType?: string;
39994
+ /** Request body */
39995
+ resource: GoogleCloudAiplatformV1beta1ReasoningEngine;
39996
+ }): Request<GoogleLongrunningOperation>;
39997
+ create(
39998
+ request: {
39999
+ /** V1 error format. */
40000
+ '$.xgafv'?: string;
40001
+ /** OAuth access token. */
40002
+ access_token?: string;
40003
+ /** Data format for response. */
40004
+ alt?: string;
40005
+ /** JSONP */
40006
+ callback?: string;
40007
+ /** Selector specifying which fields to include in a partial response. */
40008
+ fields?: string;
40009
+ /** 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. */
40010
+ key?: string;
40011
+ /** OAuth 2.0 token for the current user. */
40012
+ oauth_token?: string;
40013
+ /** Required. The resource name of the Location to create the ReasoningEngine in. Format: `projects/{project}/locations/{location}` */
40014
+ parent?: string;
40015
+ /** Returns response with indentations and line breaks. */
40016
+ prettyPrint?: boolean;
40017
+ /** 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. */
40018
+ quotaUser?: string;
40019
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
40020
+ upload_protocol?: string;
40021
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
40022
+ uploadType?: string;
40023
+ },
40024
+ body: GoogleCloudAiplatformV1beta1ReasoningEngine,
40025
+ ): Request<GoogleLongrunningOperation>;
40026
+ /** Deletes a reasoning engine. */
40027
+ delete(request?: {
40028
+ /** V1 error format. */
40029
+ '$.xgafv'?: string;
40030
+ /** OAuth access token. */
40031
+ access_token?: string;
40032
+ /** Data format for response. */
40033
+ alt?: string;
40034
+ /** JSONP */
40035
+ callback?: string;
40036
+ /** Selector specifying which fields to include in a partial response. */
40037
+ fields?: string;
40038
+ /** 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. */
40039
+ force?: boolean;
40040
+ /** 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. */
40041
+ key?: string;
40042
+ /** Required. The name of the ReasoningEngine resource to be deleted. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
40043
+ name: string;
40044
+ /** OAuth 2.0 token for the current user. */
40045
+ oauth_token?: string;
40046
+ /** Returns response with indentations and line breaks. */
40047
+ prettyPrint?: boolean;
40048
+ /** 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. */
40049
+ quotaUser?: string;
40050
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
40051
+ upload_protocol?: string;
40052
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
40053
+ uploadType?: string;
40054
+ }): Request<GoogleLongrunningOperation>;
40055
+ /** Gets a reasoning engine. */
40056
+ get(request?: {
40057
+ /** V1 error format. */
40058
+ '$.xgafv'?: string;
40059
+ /** OAuth access token. */
40060
+ access_token?: string;
40061
+ /** Data format for response. */
40062
+ alt?: string;
40063
+ /** JSONP */
40064
+ callback?: string;
40065
+ /** Selector specifying which fields to include in a partial response. */
40066
+ fields?: string;
40067
+ /** 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. */
40068
+ key?: string;
40069
+ /** Required. The name of the ReasoningEngine resource. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
40070
+ name: string;
40071
+ /** OAuth 2.0 token for the current user. */
40072
+ oauth_token?: string;
40073
+ /** Returns response with indentations and line breaks. */
40074
+ prettyPrint?: boolean;
40075
+ /** 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. */
40076
+ quotaUser?: string;
40077
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
40078
+ upload_protocol?: string;
40079
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
40080
+ uploadType?: string;
40081
+ }): Request<GoogleCloudAiplatformV1beta1ReasoningEngine>;
40082
+ /** Lists reasoning engines in a location. */
40083
+ list(request?: {
40084
+ /** V1 error format. */
40085
+ '$.xgafv'?: string;
40086
+ /** OAuth access token. */
40087
+ access_token?: string;
40088
+ /** Data format for response. */
40089
+ alt?: string;
40090
+ /** JSONP */
40091
+ callback?: string;
40092
+ /** Selector specifying which fields to include in a partial response. */
40093
+ fields?: string;
40094
+ /** Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). */
40095
+ filter?: string;
40096
+ /** 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. */
40097
+ key?: string;
40098
+ /** OAuth 2.0 token for the current user. */
40099
+ oauth_token?: string;
40100
+ /** Optional. The standard list page size. */
40101
+ pageSize?: number;
40102
+ /** Optional. The standard list page token. */
40103
+ pageToken?: string;
40104
+ /** Required. The resource name of the Location to list the ReasoningEngines from. Format: `projects/{project}/locations/{location}` */
40105
+ parent?: string;
40106
+ /** Returns response with indentations and line breaks. */
40107
+ prettyPrint?: boolean;
40108
+ /** 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. */
40109
+ quotaUser?: string;
40110
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
40111
+ upload_protocol?: string;
40112
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
40113
+ uploadType?: string;
40114
+ }): Request<GoogleCloudAiplatformV1beta1ListReasoningEnginesResponse>;
40115
+ /** Updates a reasoning engine. */
40116
+ patch(request: {
40117
+ /** V1 error format. */
40118
+ '$.xgafv'?: string;
40119
+ /** OAuth access token. */
40120
+ access_token?: string;
40121
+ /** Data format for response. */
40122
+ alt?: string;
40123
+ /** JSONP */
40124
+ callback?: string;
40125
+ /** Selector specifying which fields to include in a partial response. */
40126
+ fields?: string;
40127
+ /** 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. */
40128
+ key?: string;
40129
+ /** Identifier. The resource name of the ReasoningEngine. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
40130
+ name: string;
40131
+ /** OAuth 2.0 token for the current user. */
40132
+ oauth_token?: string;
40133
+ /** Returns response with indentations and line breaks. */
40134
+ prettyPrint?: boolean;
40135
+ /** 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. */
40136
+ quotaUser?: string;
40137
+ /** Optional. Mask specifying which fields to update. */
40138
+ updateMask?: string;
40139
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
40140
+ upload_protocol?: string;
40141
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
40142
+ uploadType?: string;
40143
+ /** Request body */
40144
+ resource: GoogleCloudAiplatformV1beta1ReasoningEngine;
40145
+ }): Request<GoogleLongrunningOperation>;
40146
+ patch(
40147
+ request: {
40148
+ /** V1 error format. */
40149
+ '$.xgafv'?: string;
40150
+ /** OAuth access token. */
40151
+ access_token?: string;
40152
+ /** Data format for response. */
40153
+ alt?: string;
40154
+ /** JSONP */
40155
+ callback?: string;
40156
+ /** Selector specifying which fields to include in a partial response. */
40157
+ fields?: string;
40158
+ /** 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. */
40159
+ key?: string;
40160
+ /** Identifier. The resource name of the ReasoningEngine. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
40161
+ name: string;
40162
+ /** OAuth 2.0 token for the current user. */
40163
+ oauth_token?: string;
40164
+ /** Returns response with indentations and line breaks. */
40165
+ prettyPrint?: boolean;
40166
+ /** 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. */
40167
+ quotaUser?: string;
40168
+ /** Optional. Mask specifying which fields to update. */
40169
+ updateMask?: string;
40170
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
40171
+ upload_protocol?: string;
40172
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
40173
+ uploadType?: string;
40174
+ },
40175
+ body: GoogleCloudAiplatformV1beta1ReasoningEngine,
40176
+ ): Request<GoogleLongrunningOperation>;
40177
+ /** Queries using a reasoning engine. */
40178
+ query(request: {
40179
+ /** V1 error format. */
40180
+ '$.xgafv'?: string;
40181
+ /** OAuth access token. */
40182
+ access_token?: string;
40183
+ /** Data format for response. */
40184
+ alt?: string;
40185
+ /** JSONP */
40186
+ callback?: string;
40187
+ /** Selector specifying which fields to include in a partial response. */
40188
+ fields?: string;
40189
+ /** 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. */
40190
+ key?: string;
40191
+ /** Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
40192
+ name: string;
40193
+ /** OAuth 2.0 token for the current user. */
40194
+ oauth_token?: string;
40195
+ /** Returns response with indentations and line breaks. */
40196
+ prettyPrint?: boolean;
40197
+ /** 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. */
40198
+ quotaUser?: string;
40199
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
40200
+ upload_protocol?: string;
40201
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
40202
+ uploadType?: string;
40203
+ /** Request body */
40204
+ resource: GoogleCloudAiplatformV1beta1QueryReasoningEngineRequest;
40205
+ }): Request<GoogleCloudAiplatformV1beta1QueryReasoningEngineResponse>;
40206
+ query(
40207
+ request: {
40208
+ /** V1 error format. */
40209
+ '$.xgafv'?: string;
40210
+ /** OAuth access token. */
40211
+ access_token?: string;
40212
+ /** Data format for response. */
40213
+ alt?: string;
40214
+ /** JSONP */
40215
+ callback?: string;
40216
+ /** Selector specifying which fields to include in a partial response. */
40217
+ fields?: string;
40218
+ /** 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. */
40219
+ key?: string;
40220
+ /** Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
40221
+ name: string;
40222
+ /** OAuth 2.0 token for the current user. */
40223
+ oauth_token?: string;
40224
+ /** Returns response with indentations and line breaks. */
40225
+ prettyPrint?: boolean;
40226
+ /** 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. */
40227
+ quotaUser?: string;
40228
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
40229
+ upload_protocol?: string;
40230
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
40231
+ uploadType?: string;
40232
+ },
40233
+ body: GoogleCloudAiplatformV1beta1QueryReasoningEngineRequest,
40234
+ ): Request<GoogleCloudAiplatformV1beta1QueryReasoningEngineResponse>;
40235
+ /** Streams queries using a reasoning engine. */
40236
+ streamQuery(request: {
40237
+ /** V1 error format. */
40238
+ '$.xgafv'?: string;
40239
+ /** OAuth access token. */
40240
+ access_token?: string;
40241
+ /** Data format for response. */
40242
+ alt?: string;
40243
+ /** JSONP */
40244
+ callback?: string;
40245
+ /** Selector specifying which fields to include in a partial response. */
40246
+ fields?: string;
40247
+ /** 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. */
40248
+ key?: string;
40249
+ /** Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
40250
+ name: string;
40251
+ /** OAuth 2.0 token for the current user. */
40252
+ oauth_token?: string;
40253
+ /** Returns response with indentations and line breaks. */
40254
+ prettyPrint?: boolean;
40255
+ /** 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. */
40256
+ quotaUser?: string;
40257
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
40258
+ upload_protocol?: string;
40259
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
40260
+ uploadType?: string;
40261
+ /** Request body */
40262
+ resource: GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest;
40263
+ }): Request<GoogleApiHttpBody>;
40264
+ streamQuery(
40265
+ request: {
40266
+ /** V1 error format. */
40267
+ '$.xgafv'?: string;
40268
+ /** OAuth access token. */
40269
+ access_token?: string;
40270
+ /** Data format for response. */
40271
+ alt?: string;
40272
+ /** JSONP */
40273
+ callback?: string;
40274
+ /** Selector specifying which fields to include in a partial response. */
40275
+ fields?: string;
40276
+ /** 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. */
40277
+ key?: string;
40278
+ /** Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
40279
+ name: string;
40280
+ /** OAuth 2.0 token for the current user. */
40281
+ oauth_token?: string;
40282
+ /** Returns response with indentations and line breaks. */
40283
+ prettyPrint?: boolean;
40284
+ /** 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. */
40285
+ quotaUser?: string;
40286
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
40287
+ upload_protocol?: string;
40288
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
40289
+ uploadType?: string;
40290
+ },
40291
+ body: GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest,
40292
+ ): Request<GoogleApiHttpBody>;
40293
+ sessions: SessionsResource;
40294
+ }
39318
40295
 
39319
40296
  const batchPredictionJobs: BatchPredictionJobsResource;
39320
40297
 
@@ -39327,5 +40304,7 @@ declare namespace gapi.client {
39327
40304
  const projects: ProjectsResource;
39328
40305
 
39329
40306
  const publishers: PublishersResource;
40307
+
40308
+ const reasoningEngines: ReasoningEnginesResource;
39330
40309
  }
39331
40310
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1beta1",
3
- "version": "0.0.20250522",
3
+ "version": "0.0.20250527",
4
4
  "description": "TypeScript typings for Vertex AI API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -122,6 +122,13 @@ Perform a token counting.
122
122
  */
123
123
  await gapi.client.aiplatform.endpoints.countTokens({endpoint: 'endpoint'});
124
124
 
125
+ /*
126
+ Fetch an asynchronous online prediction operation.
127
+ */
128
+ await gapi.client.aiplatform.endpoints.fetchPredictOperation({
129
+ endpoint: 'endpoint',
130
+ });
131
+
125
132
  /*
126
133
  Generate content with multimodal inputs.
127
134
  */
@@ -132,6 +139,13 @@ Perform an online prediction.
132
139
  */
133
140
  await gapi.client.aiplatform.endpoints.predict({endpoint: 'endpoint'});
134
141
 
142
+ /*
143
+
144
+ */
145
+ await gapi.client.aiplatform.endpoints.predictLongRunning({
146
+ endpoint: 'endpoint',
147
+ });
148
+
135
149
  /*
136
150
  Generate content with multimodal inputs with streaming support.
137
151
  */
@@ -151,4 +165,39 @@ await gapi.client.aiplatform.projects.getCacheConfig({name: 'name'});
151
165
  Updates a cache config.
152
166
  */
153
167
  await gapi.client.aiplatform.projects.updateCacheConfig({name: 'name'});
168
+
169
+ /*
170
+ Creates a reasoning engine.
171
+ */
172
+ await gapi.client.aiplatform.reasoningEngines.create({});
173
+
174
+ /*
175
+ Deletes a reasoning engine.
176
+ */
177
+ await gapi.client.aiplatform.reasoningEngines.delete({name: 'name'});
178
+
179
+ /*
180
+ Gets a reasoning engine.
181
+ */
182
+ await gapi.client.aiplatform.reasoningEngines.get({name: 'name'});
183
+
184
+ /*
185
+ Lists reasoning engines in a location.
186
+ */
187
+ await gapi.client.aiplatform.reasoningEngines.list({});
188
+
189
+ /*
190
+ Updates a reasoning engine.
191
+ */
192
+ await gapi.client.aiplatform.reasoningEngines.patch({name: 'name'});
193
+
194
+ /*
195
+ Queries using a reasoning engine.
196
+ */
197
+ await gapi.client.aiplatform.reasoningEngines.query({name: 'name'});
198
+
199
+ /*
200
+ Streams queries using a reasoning engine.
201
+ */
202
+ await gapi.client.aiplatform.reasoningEngines.streamQuery({name: 'name'});
154
203
  ```