@maxim_mazurok/gapi.client.aiplatform-v1 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 +576 -3
  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=v1
12
- // Revision: 20250522
12
+ // Revision: 20250527
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -789,6 +789,12 @@ declare namespace gapi.client {
789
789
  /** Optional. Which version to use for evaluation. */
790
790
  version?: number;
791
791
  }
792
+ interface GoogleCloudAiplatformV1ColabImage {
793
+ /** 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" */
794
+ description?: string;
795
+ /** Optional. The release name of the NotebookRuntime Colab image, e.g. "py310". If not specified, detault to the latest release. */
796
+ releaseName?: string;
797
+ }
792
798
  interface GoogleCloudAiplatformV1CometInput {
793
799
  /** Required. Comet instance. */
794
800
  instance?: GoogleCloudAiplatformV1CometInstance;
@@ -2858,6 +2864,8 @@ declare namespace gapi.client {
2858
2864
  audioTimestamp?: boolean;
2859
2865
  /** Optional. Number of candidates to generate. */
2860
2866
  candidateCount?: number;
2867
+ /** Optional. If enabled, the model will detect emotions and adapt its responses accordingly. */
2868
+ enableAffectiveDialog?: boolean;
2861
2869
  /** Optional. Frequency penalties. */
2862
2870
  frequencyPenalty?: number;
2863
2871
  /** Optional. Logit probabilities. */
@@ -4737,6 +4745,8 @@ declare namespace gapi.client {
4737
4745
  notebookRuntimeTemplate?: string;
4738
4746
  }
4739
4747
  interface GoogleCloudAiplatformV1NotebookSoftwareConfig {
4748
+ /** Optional. Google-managed NotebookRuntime colab image. */
4749
+ colabImage?: GoogleCloudAiplatformV1ColabImage;
4740
4750
  /** Optional. Environment variables to be passed to the container. Maximum limit is 100. */
4741
4751
  env?: GoogleCloudAiplatformV1EnvVar[];
4742
4752
  /** Optional. Post startup script config. */
@@ -5219,6 +5229,10 @@ declare namespace gapi.client {
5219
5229
  projectId?: string;
5220
5230
  }
5221
5231
  interface GoogleCloudAiplatformV1PSCAutomationConfig {
5232
+ /** Output only. Forwarding rule created by the PSC service automation. Note for Vector search, use IndexPrivateEndpoint instead. */
5233
+ forwardingRule?: string;
5234
+ /** Output only. IP address rule created by the PSC service automation. Note for Vector search, use IndexPrivateEndpoint instead. */
5235
+ ipAddress?: string;
5222
5236
  /** 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. */
5223
5237
  network?: string;
5224
5238
  /** Required. Project id used to create forwarding rule. */
@@ -8280,9 +8294,9 @@ declare namespace gapi.client {
8280
8294
  exportLastCheckpointOnly?: boolean;
8281
8295
  /** Optional. Hyperparameters for SFT. */
8282
8296
  hyperParameters?: GoogleCloudAiplatformV1SupervisedHyperParameters;
8283
- /** Required. Cloud Storage path to file containing training dataset for tuning. The dataset must be formatted as a JSONL file. */
8297
+ /** 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. */
8284
8298
  trainingDatasetUri?: string;
8285
- /** Optional. Cloud Storage path to file containing validation dataset for tuning. The dataset must be formatted as a JSONL file. */
8299
+ /** 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. */
8286
8300
  validationDatasetUri?: string;
8287
8301
  }
8288
8302
  interface GoogleCloudAiplatformV1SyncFeatureViewRequest {}
@@ -9988,6 +10002,64 @@ declare namespace gapi.client {
9988
10002
  },
9989
10003
  body: GoogleCloudAiplatformV1CountTokensRequest,
9990
10004
  ): Request<GoogleCloudAiplatformV1CountTokensResponse>;
10005
+ /** Fetch an asynchronous online prediction operation. */
10006
+ fetchPredictOperation(request: {
10007
+ /** V1 error format. */
10008
+ '$.xgafv'?: string;
10009
+ /** OAuth access token. */
10010
+ access_token?: string;
10011
+ /** Data format for response. */
10012
+ alt?: string;
10013
+ /** JSONP */
10014
+ callback?: string;
10015
+ /** 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}` */
10016
+ endpoint: string;
10017
+ /** Selector specifying which fields to include in a partial response. */
10018
+ fields?: string;
10019
+ /** 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. */
10020
+ key?: string;
10021
+ /** OAuth 2.0 token for the current user. */
10022
+ oauth_token?: string;
10023
+ /** Returns response with indentations and line breaks. */
10024
+ prettyPrint?: boolean;
10025
+ /** 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. */
10026
+ quotaUser?: string;
10027
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10028
+ upload_protocol?: string;
10029
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10030
+ uploadType?: string;
10031
+ /** Request body */
10032
+ resource: GoogleCloudAiplatformV1FetchPredictOperationRequest;
10033
+ }): Request<GoogleLongrunningOperation>;
10034
+ fetchPredictOperation(
10035
+ request: {
10036
+ /** V1 error format. */
10037
+ '$.xgafv'?: string;
10038
+ /** OAuth access token. */
10039
+ access_token?: string;
10040
+ /** Data format for response. */
10041
+ alt?: string;
10042
+ /** JSONP */
10043
+ callback?: string;
10044
+ /** 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}` */
10045
+ endpoint: string;
10046
+ /** Selector specifying which fields to include in a partial response. */
10047
+ fields?: string;
10048
+ /** 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. */
10049
+ key?: string;
10050
+ /** OAuth 2.0 token for the current user. */
10051
+ oauth_token?: string;
10052
+ /** Returns response with indentations and line breaks. */
10053
+ prettyPrint?: boolean;
10054
+ /** 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. */
10055
+ quotaUser?: string;
10056
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10057
+ upload_protocol?: string;
10058
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10059
+ uploadType?: string;
10060
+ },
10061
+ body: GoogleCloudAiplatformV1FetchPredictOperationRequest,
10062
+ ): Request<GoogleLongrunningOperation>;
9991
10063
  /** Generate content with multimodal inputs. */
9992
10064
  generateContent(request: {
9993
10065
  /** V1 error format. */
@@ -10104,6 +10176,63 @@ declare namespace gapi.client {
10104
10176
  },
10105
10177
  body: GoogleCloudAiplatformV1PredictRequest,
10106
10178
  ): Request<GoogleCloudAiplatformV1PredictResponse>;
10179
+ predictLongRunning(request: {
10180
+ /** V1 error format. */
10181
+ '$.xgafv'?: string;
10182
+ /** OAuth access token. */
10183
+ access_token?: string;
10184
+ /** Data format for response. */
10185
+ alt?: string;
10186
+ /** JSONP */
10187
+ callback?: string;
10188
+ /** 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}` */
10189
+ endpoint: string;
10190
+ /** Selector specifying which fields to include in a partial response. */
10191
+ fields?: string;
10192
+ /** 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. */
10193
+ key?: string;
10194
+ /** OAuth 2.0 token for the current user. */
10195
+ oauth_token?: string;
10196
+ /** Returns response with indentations and line breaks. */
10197
+ prettyPrint?: boolean;
10198
+ /** 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. */
10199
+ quotaUser?: string;
10200
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10201
+ upload_protocol?: string;
10202
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10203
+ uploadType?: string;
10204
+ /** Request body */
10205
+ resource: GoogleCloudAiplatformV1PredictLongRunningRequest;
10206
+ }): Request<GoogleLongrunningOperation>;
10207
+ predictLongRunning(
10208
+ request: {
10209
+ /** V1 error format. */
10210
+ '$.xgafv'?: string;
10211
+ /** OAuth access token. */
10212
+ access_token?: string;
10213
+ /** Data format for response. */
10214
+ alt?: string;
10215
+ /** JSONP */
10216
+ callback?: string;
10217
+ /** 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}` */
10218
+ endpoint: string;
10219
+ /** Selector specifying which fields to include in a partial response. */
10220
+ fields?: string;
10221
+ /** 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. */
10222
+ key?: string;
10223
+ /** OAuth 2.0 token for the current user. */
10224
+ oauth_token?: string;
10225
+ /** Returns response with indentations and line breaks. */
10226
+ prettyPrint?: boolean;
10227
+ /** 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. */
10228
+ quotaUser?: string;
10229
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10230
+ upload_protocol?: string;
10231
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10232
+ uploadType?: string;
10233
+ },
10234
+ body: GoogleCloudAiplatformV1PredictLongRunningRequest,
10235
+ ): Request<GoogleLongrunningOperation>;
10107
10236
  /** Generate content with multimodal inputs with streaming support. */
10108
10237
  streamGenerateContent(request: {
10109
10238
  /** V1 error format. */
@@ -33187,6 +33316,64 @@ declare namespace gapi.client {
33187
33316
  },
33188
33317
  body: GoogleCloudAiplatformV1CountTokensRequest,
33189
33318
  ): Request<GoogleCloudAiplatformV1CountTokensResponse>;
33319
+ /** Fetch an asynchronous online prediction operation. */
33320
+ fetchPredictOperation(request: {
33321
+ /** V1 error format. */
33322
+ '$.xgafv'?: string;
33323
+ /** OAuth access token. */
33324
+ access_token?: string;
33325
+ /** Data format for response. */
33326
+ alt?: string;
33327
+ /** JSONP */
33328
+ callback?: string;
33329
+ /** 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}` */
33330
+ endpoint: string;
33331
+ /** Selector specifying which fields to include in a partial response. */
33332
+ fields?: string;
33333
+ /** 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. */
33334
+ key?: string;
33335
+ /** OAuth 2.0 token for the current user. */
33336
+ oauth_token?: string;
33337
+ /** Returns response with indentations and line breaks. */
33338
+ prettyPrint?: boolean;
33339
+ /** 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. */
33340
+ quotaUser?: string;
33341
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33342
+ upload_protocol?: string;
33343
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33344
+ uploadType?: string;
33345
+ /** Request body */
33346
+ resource: GoogleCloudAiplatformV1FetchPredictOperationRequest;
33347
+ }): Request<GoogleLongrunningOperation>;
33348
+ fetchPredictOperation(
33349
+ request: {
33350
+ /** V1 error format. */
33351
+ '$.xgafv'?: string;
33352
+ /** OAuth access token. */
33353
+ access_token?: string;
33354
+ /** Data format for response. */
33355
+ alt?: string;
33356
+ /** JSONP */
33357
+ callback?: string;
33358
+ /** 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}` */
33359
+ endpoint: string;
33360
+ /** Selector specifying which fields to include in a partial response. */
33361
+ fields?: string;
33362
+ /** 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. */
33363
+ key?: string;
33364
+ /** OAuth 2.0 token for the current user. */
33365
+ oauth_token?: string;
33366
+ /** Returns response with indentations and line breaks. */
33367
+ prettyPrint?: boolean;
33368
+ /** 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. */
33369
+ quotaUser?: string;
33370
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33371
+ upload_protocol?: string;
33372
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33373
+ uploadType?: string;
33374
+ },
33375
+ body: GoogleCloudAiplatformV1FetchPredictOperationRequest,
33376
+ ): Request<GoogleLongrunningOperation>;
33190
33377
  /** Generate content with multimodal inputs. */
33191
33378
  generateContent(request: {
33192
33379
  /** V1 error format. */
@@ -33338,6 +33525,63 @@ declare namespace gapi.client {
33338
33525
  },
33339
33526
  body: GoogleCloudAiplatformV1PredictRequest,
33340
33527
  ): Request<GoogleCloudAiplatformV1PredictResponse>;
33528
+ predictLongRunning(request: {
33529
+ /** V1 error format. */
33530
+ '$.xgafv'?: string;
33531
+ /** OAuth access token. */
33532
+ access_token?: string;
33533
+ /** Data format for response. */
33534
+ alt?: string;
33535
+ /** JSONP */
33536
+ callback?: string;
33537
+ /** 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}` */
33538
+ endpoint: string;
33539
+ /** Selector specifying which fields to include in a partial response. */
33540
+ fields?: string;
33541
+ /** 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. */
33542
+ key?: string;
33543
+ /** OAuth 2.0 token for the current user. */
33544
+ oauth_token?: string;
33545
+ /** Returns response with indentations and line breaks. */
33546
+ prettyPrint?: boolean;
33547
+ /** 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. */
33548
+ quotaUser?: string;
33549
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33550
+ upload_protocol?: string;
33551
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33552
+ uploadType?: string;
33553
+ /** Request body */
33554
+ resource: GoogleCloudAiplatformV1PredictLongRunningRequest;
33555
+ }): Request<GoogleLongrunningOperation>;
33556
+ predictLongRunning(
33557
+ request: {
33558
+ /** V1 error format. */
33559
+ '$.xgafv'?: string;
33560
+ /** OAuth access token. */
33561
+ access_token?: string;
33562
+ /** Data format for response. */
33563
+ alt?: string;
33564
+ /** JSONP */
33565
+ callback?: string;
33566
+ /** 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}` */
33567
+ endpoint: string;
33568
+ /** Selector specifying which fields to include in a partial response. */
33569
+ fields?: string;
33570
+ /** 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. */
33571
+ key?: string;
33572
+ /** OAuth 2.0 token for the current user. */
33573
+ oauth_token?: string;
33574
+ /** Returns response with indentations and line breaks. */
33575
+ prettyPrint?: boolean;
33576
+ /** 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. */
33577
+ quotaUser?: string;
33578
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33579
+ upload_protocol?: string;
33580
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33581
+ uploadType?: string;
33582
+ },
33583
+ body: GoogleCloudAiplatformV1PredictLongRunningRequest,
33584
+ ): Request<GoogleLongrunningOperation>;
33341
33585
  /** Generate content with multimodal inputs with streaming support. */
33342
33586
  streamGenerateContent(request: {
33343
33587
  /** V1 error format. */
@@ -33400,6 +33644,333 @@ declare namespace gapi.client {
33400
33644
  interface PublishersResource {
33401
33645
  models: ModelsResource;
33402
33646
  }
33647
+ interface ReasoningEnginesResource {
33648
+ /** Creates a reasoning engine. */
33649
+ create(request: {
33650
+ /** V1 error format. */
33651
+ '$.xgafv'?: string;
33652
+ /** OAuth access token. */
33653
+ access_token?: string;
33654
+ /** Data format for response. */
33655
+ alt?: string;
33656
+ /** JSONP */
33657
+ callback?: string;
33658
+ /** Selector specifying which fields to include in a partial response. */
33659
+ fields?: string;
33660
+ /** 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. */
33661
+ key?: string;
33662
+ /** OAuth 2.0 token for the current user. */
33663
+ oauth_token?: string;
33664
+ /** Required. The resource name of the Location to create the ReasoningEngine in. Format: `projects/{project}/locations/{location}` */
33665
+ parent?: string;
33666
+ /** Returns response with indentations and line breaks. */
33667
+ prettyPrint?: boolean;
33668
+ /** 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. */
33669
+ quotaUser?: string;
33670
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33671
+ upload_protocol?: string;
33672
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33673
+ uploadType?: string;
33674
+ /** Request body */
33675
+ resource: GoogleCloudAiplatformV1ReasoningEngine;
33676
+ }): Request<GoogleLongrunningOperation>;
33677
+ create(
33678
+ request: {
33679
+ /** V1 error format. */
33680
+ '$.xgafv'?: string;
33681
+ /** OAuth access token. */
33682
+ access_token?: string;
33683
+ /** Data format for response. */
33684
+ alt?: string;
33685
+ /** JSONP */
33686
+ callback?: string;
33687
+ /** Selector specifying which fields to include in a partial response. */
33688
+ fields?: string;
33689
+ /** 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. */
33690
+ key?: string;
33691
+ /** OAuth 2.0 token for the current user. */
33692
+ oauth_token?: string;
33693
+ /** Required. The resource name of the Location to create the ReasoningEngine in. Format: `projects/{project}/locations/{location}` */
33694
+ parent?: string;
33695
+ /** Returns response with indentations and line breaks. */
33696
+ prettyPrint?: boolean;
33697
+ /** 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. */
33698
+ quotaUser?: string;
33699
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33700
+ upload_protocol?: string;
33701
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33702
+ uploadType?: string;
33703
+ },
33704
+ body: GoogleCloudAiplatformV1ReasoningEngine,
33705
+ ): Request<GoogleLongrunningOperation>;
33706
+ /** Deletes a reasoning engine. */
33707
+ delete(request?: {
33708
+ /** V1 error format. */
33709
+ '$.xgafv'?: string;
33710
+ /** OAuth access token. */
33711
+ access_token?: string;
33712
+ /** Data format for response. */
33713
+ alt?: string;
33714
+ /** JSONP */
33715
+ callback?: string;
33716
+ /** Selector specifying which fields to include in a partial response. */
33717
+ fields?: string;
33718
+ /** 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. */
33719
+ force?: boolean;
33720
+ /** 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. */
33721
+ key?: string;
33722
+ /** Required. The name of the ReasoningEngine resource to be deleted. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
33723
+ name: string;
33724
+ /** OAuth 2.0 token for the current user. */
33725
+ oauth_token?: string;
33726
+ /** Returns response with indentations and line breaks. */
33727
+ prettyPrint?: boolean;
33728
+ /** 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. */
33729
+ quotaUser?: string;
33730
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33731
+ upload_protocol?: string;
33732
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33733
+ uploadType?: string;
33734
+ }): Request<GoogleLongrunningOperation>;
33735
+ /** Gets a reasoning engine. */
33736
+ get(request?: {
33737
+ /** V1 error format. */
33738
+ '$.xgafv'?: string;
33739
+ /** OAuth access token. */
33740
+ access_token?: string;
33741
+ /** Data format for response. */
33742
+ alt?: string;
33743
+ /** JSONP */
33744
+ callback?: string;
33745
+ /** Selector specifying which fields to include in a partial response. */
33746
+ fields?: string;
33747
+ /** 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. */
33748
+ key?: string;
33749
+ /** Required. The name of the ReasoningEngine resource. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
33750
+ name: string;
33751
+ /** OAuth 2.0 token for the current user. */
33752
+ oauth_token?: string;
33753
+ /** Returns response with indentations and line breaks. */
33754
+ prettyPrint?: boolean;
33755
+ /** 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. */
33756
+ quotaUser?: string;
33757
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33758
+ upload_protocol?: string;
33759
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33760
+ uploadType?: string;
33761
+ }): Request<GoogleCloudAiplatformV1ReasoningEngine>;
33762
+ /** Lists reasoning engines in a location. */
33763
+ list(request?: {
33764
+ /** V1 error format. */
33765
+ '$.xgafv'?: string;
33766
+ /** OAuth access token. */
33767
+ access_token?: string;
33768
+ /** Data format for response. */
33769
+ alt?: string;
33770
+ /** JSONP */
33771
+ callback?: string;
33772
+ /** Selector specifying which fields to include in a partial response. */
33773
+ fields?: string;
33774
+ /** Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). */
33775
+ filter?: string;
33776
+ /** 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. */
33777
+ key?: string;
33778
+ /** OAuth 2.0 token for the current user. */
33779
+ oauth_token?: string;
33780
+ /** Optional. The standard list page size. */
33781
+ pageSize?: number;
33782
+ /** Optional. The standard list page token. */
33783
+ pageToken?: string;
33784
+ /** Required. The resource name of the Location to list the ReasoningEngines from. Format: `projects/{project}/locations/{location}` */
33785
+ parent?: string;
33786
+ /** Returns response with indentations and line breaks. */
33787
+ prettyPrint?: boolean;
33788
+ /** 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. */
33789
+ quotaUser?: string;
33790
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33791
+ upload_protocol?: string;
33792
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33793
+ uploadType?: string;
33794
+ }): Request<GoogleCloudAiplatformV1ListReasoningEnginesResponse>;
33795
+ /** Updates a reasoning engine. */
33796
+ patch(request: {
33797
+ /** V1 error format. */
33798
+ '$.xgafv'?: string;
33799
+ /** OAuth access token. */
33800
+ access_token?: string;
33801
+ /** Data format for response. */
33802
+ alt?: string;
33803
+ /** JSONP */
33804
+ callback?: string;
33805
+ /** Selector specifying which fields to include in a partial response. */
33806
+ fields?: string;
33807
+ /** 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. */
33808
+ key?: string;
33809
+ /** Identifier. The resource name of the ReasoningEngine. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
33810
+ name: string;
33811
+ /** OAuth 2.0 token for the current user. */
33812
+ oauth_token?: string;
33813
+ /** Returns response with indentations and line breaks. */
33814
+ prettyPrint?: boolean;
33815
+ /** 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. */
33816
+ quotaUser?: string;
33817
+ /** Optional. Mask specifying which fields to update. */
33818
+ updateMask?: string;
33819
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33820
+ upload_protocol?: string;
33821
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33822
+ uploadType?: string;
33823
+ /** Request body */
33824
+ resource: GoogleCloudAiplatformV1ReasoningEngine;
33825
+ }): Request<GoogleLongrunningOperation>;
33826
+ patch(
33827
+ request: {
33828
+ /** V1 error format. */
33829
+ '$.xgafv'?: string;
33830
+ /** OAuth access token. */
33831
+ access_token?: string;
33832
+ /** Data format for response. */
33833
+ alt?: string;
33834
+ /** JSONP */
33835
+ callback?: string;
33836
+ /** Selector specifying which fields to include in a partial response. */
33837
+ fields?: string;
33838
+ /** 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. */
33839
+ key?: string;
33840
+ /** Identifier. The resource name of the ReasoningEngine. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
33841
+ name: string;
33842
+ /** OAuth 2.0 token for the current user. */
33843
+ oauth_token?: string;
33844
+ /** Returns response with indentations and line breaks. */
33845
+ prettyPrint?: boolean;
33846
+ /** 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. */
33847
+ quotaUser?: string;
33848
+ /** Optional. Mask specifying which fields to update. */
33849
+ updateMask?: string;
33850
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33851
+ upload_protocol?: string;
33852
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33853
+ uploadType?: string;
33854
+ },
33855
+ body: GoogleCloudAiplatformV1ReasoningEngine,
33856
+ ): Request<GoogleLongrunningOperation>;
33857
+ /** Queries using a reasoning engine. */
33858
+ query(request: {
33859
+ /** V1 error format. */
33860
+ '$.xgafv'?: string;
33861
+ /** OAuth access token. */
33862
+ access_token?: string;
33863
+ /** Data format for response. */
33864
+ alt?: string;
33865
+ /** JSONP */
33866
+ callback?: string;
33867
+ /** Selector specifying which fields to include in a partial response. */
33868
+ fields?: string;
33869
+ /** 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. */
33870
+ key?: string;
33871
+ /** Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
33872
+ name: string;
33873
+ /** OAuth 2.0 token for the current user. */
33874
+ oauth_token?: string;
33875
+ /** Returns response with indentations and line breaks. */
33876
+ prettyPrint?: boolean;
33877
+ /** 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. */
33878
+ quotaUser?: string;
33879
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33880
+ upload_protocol?: string;
33881
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33882
+ uploadType?: string;
33883
+ /** Request body */
33884
+ resource: GoogleCloudAiplatformV1QueryReasoningEngineRequest;
33885
+ }): Request<GoogleCloudAiplatformV1QueryReasoningEngineResponse>;
33886
+ query(
33887
+ request: {
33888
+ /** V1 error format. */
33889
+ '$.xgafv'?: string;
33890
+ /** OAuth access token. */
33891
+ access_token?: string;
33892
+ /** Data format for response. */
33893
+ alt?: string;
33894
+ /** JSONP */
33895
+ callback?: string;
33896
+ /** Selector specifying which fields to include in a partial response. */
33897
+ fields?: string;
33898
+ /** 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. */
33899
+ key?: string;
33900
+ /** Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
33901
+ name: string;
33902
+ /** OAuth 2.0 token for the current user. */
33903
+ oauth_token?: string;
33904
+ /** Returns response with indentations and line breaks. */
33905
+ prettyPrint?: boolean;
33906
+ /** 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. */
33907
+ quotaUser?: string;
33908
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33909
+ upload_protocol?: string;
33910
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33911
+ uploadType?: string;
33912
+ },
33913
+ body: GoogleCloudAiplatformV1QueryReasoningEngineRequest,
33914
+ ): Request<GoogleCloudAiplatformV1QueryReasoningEngineResponse>;
33915
+ /** Streams queries using a reasoning engine. */
33916
+ streamQuery(request: {
33917
+ /** V1 error format. */
33918
+ '$.xgafv'?: string;
33919
+ /** OAuth access token. */
33920
+ access_token?: string;
33921
+ /** Data format for response. */
33922
+ alt?: string;
33923
+ /** JSONP */
33924
+ callback?: string;
33925
+ /** Selector specifying which fields to include in a partial response. */
33926
+ fields?: string;
33927
+ /** 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. */
33928
+ key?: string;
33929
+ /** Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
33930
+ name: string;
33931
+ /** OAuth 2.0 token for the current user. */
33932
+ oauth_token?: string;
33933
+ /** Returns response with indentations and line breaks. */
33934
+ prettyPrint?: boolean;
33935
+ /** 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. */
33936
+ quotaUser?: string;
33937
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33938
+ upload_protocol?: string;
33939
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33940
+ uploadType?: string;
33941
+ /** Request body */
33942
+ resource: GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest;
33943
+ }): Request<GoogleApiHttpBody>;
33944
+ streamQuery(
33945
+ request: {
33946
+ /** V1 error format. */
33947
+ '$.xgafv'?: string;
33948
+ /** OAuth access token. */
33949
+ access_token?: string;
33950
+ /** Data format for response. */
33951
+ alt?: string;
33952
+ /** JSONP */
33953
+ callback?: string;
33954
+ /** Selector specifying which fields to include in a partial response. */
33955
+ fields?: string;
33956
+ /** 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. */
33957
+ key?: string;
33958
+ /** Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
33959
+ name: string;
33960
+ /** OAuth 2.0 token for the current user. */
33961
+ oauth_token?: string;
33962
+ /** Returns response with indentations and line breaks. */
33963
+ prettyPrint?: boolean;
33964
+ /** 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. */
33965
+ quotaUser?: string;
33966
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33967
+ upload_protocol?: string;
33968
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33969
+ uploadType?: string;
33970
+ },
33971
+ body: GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest,
33972
+ ): Request<GoogleApiHttpBody>;
33973
+ }
33403
33974
 
33404
33975
  const batchPredictionJobs: BatchPredictionJobsResource;
33405
33976
 
@@ -33412,5 +33983,7 @@ declare namespace gapi.client {
33412
33983
  const projects: ProjectsResource;
33413
33984
 
33414
33985
  const publishers: PublishersResource;
33986
+
33987
+ const reasoningEngines: ReasoningEnginesResource;
33415
33988
  }
33416
33989
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1",
3
- "version": "0.0.20250522",
3
+ "version": "0.0.20250527",
4
4
  "description": "TypeScript typings for Vertex AI API v1",
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
  ```