@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20250522 → 0.0.20250529

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 +592 -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: 20250529
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;
@@ -1148,6 +1154,8 @@ declare namespace gapi.client {
1148
1154
  persistentResourceId?: string;
1149
1155
  /** The ID of the location to store protected artifacts. e.g. us-central1. Populate only when the location is different than CustomJob location. List of supported locations: https://cloud.google.com/vertex-ai/docs/general/locations */
1150
1156
  protectedArtifactLocationId?: string;
1157
+ /** Optional. Configuration for PSC-I for CustomJob. */
1158
+ pscInterfaceConfig?: GoogleCloudAiplatformV1PscInterfaceConfig;
1151
1159
  /** Optional. A list of names for the reserved ip ranges under the VPC network that can be used for this job. If set, we will deploy the job within the provided ip ranges. Otherwise, the job will be deployed to any ip ranges under the provided VPC network. Example: ['vertex-ai-ip-range']. */
1152
1160
  reservedIpRanges?: string[];
1153
1161
  /** Scheduling options for a CustomJob. */
@@ -2746,8 +2754,12 @@ declare namespace gapi.client {
2746
2754
  name?: string;
2747
2755
  /** Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. string Key: the name of the parameter. Parameter names are case sensitive. Schema Value: the Schema defining the type used for the parameter. For function with no parameters, this can be left unset. Parameter names must start with a letter or an underscore and must only contain chars a-z, A-Z, 0-9, or underscores with a maximum length of 64. Example with 1 required and 1 optional parameter: type: OBJECT properties: param1: type: STRING param2: type: INTEGER required: - param1 */
2748
2756
  parameters?: GoogleCloudAiplatformV1Schema;
2757
+ /** Optional. Describes the parameters to the function in JSON Schema format. The schema must describe an object where the properties are the parameters to the function. For example: ``` { "type": "object", "properties": { "name": { "type": "string" }, "age": { "type": "integer" } }, "additionalProperties": false, "required": ["name", "age"], "propertyOrdering": ["name", "age"] } ``` This field is mutually exclusive with `parameters`. */
2758
+ parametersJsonSchema?: any;
2749
2759
  /** Optional. Describes the output from this function in JSON Schema format. Reflects the Open API 3.03 Response Object. The Schema defines the type used for the response value of the function. */
2750
2760
  response?: GoogleCloudAiplatformV1Schema;
2761
+ /** Optional. Describes the output from this function in JSON Schema format. The value specified by the schema is the response value of the function. This field is mutually exclusive with `response`. */
2762
+ responseJsonSchema?: any;
2751
2763
  }
2752
2764
  interface GoogleCloudAiplatformV1FunctionResponse {
2753
2765
  /** Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name]. */
@@ -2858,6 +2870,8 @@ declare namespace gapi.client {
2858
2870
  audioTimestamp?: boolean;
2859
2871
  /** Optional. Number of candidates to generate. */
2860
2872
  candidateCount?: number;
2873
+ /** Optional. If enabled, the model will detect emotions and adapt its responses accordingly. */
2874
+ enableAffectiveDialog?: boolean;
2861
2875
  /** Optional. Frequency penalties. */
2862
2876
  frequencyPenalty?: number;
2863
2877
  /** Optional. Logit probabilities. */
@@ -2868,6 +2882,8 @@ declare namespace gapi.client {
2868
2882
  mediaResolution?: string;
2869
2883
  /** Optional. Positive penalties. */
2870
2884
  presencePenalty?: number;
2885
+ /** Optional. Output schema of the generated response. This is an alternative to `response_schema` that accepts [JSON Schema](https://json-schema.org/). If set, `response_schema` must be omitted, but `response_mime_type` is required. While the full JSON Schema may be sent, not all features are supported. Specifically, only the following properties are supported: - `$id` - `$defs` - `$ref` - `$anchor` - `type` - `format` - `title` - `description` - `enum` (for strings and numbers) - `items` - `prefixItems` - `minItems` - `maxItems` - `minimum` - `maximum` - `anyOf` - `oneOf` (interpreted the same as `anyOf`) - `properties` - `additionalProperties` - `required` The non-standard `propertyOrdering` property may also be set. Cyclic references are unrolled to a limited degree and, as such, may only be used within non-required properties. (Nullable properties are not sufficient.) If `$ref` is set on a sub-schema, no other properties, except for than those starting as a `$`, may be set. */
2886
+ responseJsonSchema?: any;
2871
2887
  /** Optional. If true, export the logprobs results in response. */
2872
2888
  responseLogprobs?: boolean;
2873
2889
  /** Optional. Output response mimetype of the generated candidate text. Supported mimetype: - `text/plain`: (default) Text output. - `application/json`: JSON response in the candidates. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. */
@@ -4737,6 +4753,8 @@ declare namespace gapi.client {
4737
4753
  notebookRuntimeTemplate?: string;
4738
4754
  }
4739
4755
  interface GoogleCloudAiplatformV1NotebookSoftwareConfig {
4756
+ /** Optional. Google-managed NotebookRuntime colab image. */
4757
+ colabImage?: GoogleCloudAiplatformV1ColabImage;
4740
4758
  /** Optional. Environment variables to be passed to the container. Maximum limit is 100. */
4741
4759
  env?: GoogleCloudAiplatformV1EnvVar[];
4742
4760
  /** Optional. Post startup script config. */
@@ -4885,6 +4903,8 @@ declare namespace gapi.client {
4885
4903
  name?: string;
4886
4904
  /** Optional. The full name of the Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to peered with Vertex AI to host the persistent resources. For example, `projects/12345/global/networks/myVPC`. [Format](/compute/docs/reference/rest/v1/networks/insert) is of the form `projects/{project}/global/networks/{network}`. Where {project} is a project number, as in `12345`, and {network} is a network name. To specify this field, you must have already [configured VPC Network Peering for Vertex AI](https://cloud.google.com/vertex-ai/docs/general/vpc-peering). If this field is left unspecified, the resources aren't peered with any network. */
4887
4905
  network?: string;
4906
+ /** Optional. Configuration for PSC-I for PersistentResource. */
4907
+ pscInterfaceConfig?: GoogleCloudAiplatformV1PscInterfaceConfig;
4888
4908
  /** Optional. A list of names for the reserved IP ranges under the VPC network that can be used for this persistent resource. If set, we will deploy the persistent resource within the provided IP ranges. Otherwise, the persistent resource is deployed to any IP ranges under the provided VPC network. Example: ['vertex-ai-ip-range']. */
4889
4909
  reservedIpRanges?: string[];
4890
4910
  /** Required. The spec of the pools of different resources. */
@@ -4927,6 +4947,8 @@ declare namespace gapi.client {
4927
4947
  pipelineSpec?: {[P in string]: any};
4928
4948
  /** Optional. Whether to do component level validations before job creation. */
4929
4949
  preflightValidations?: boolean;
4950
+ /** Optional. Configuration for PSC-I for PipelineJob. */
4951
+ pscInterfaceConfig?: GoogleCloudAiplatformV1PscInterfaceConfig;
4930
4952
  /** A list of names for the reserved ip ranges under the VPC network that can be used for this Pipeline Job's workload. If set, we will deploy the Pipeline Job's workload within the provided ip ranges. Otherwise, the job will be deployed to any ip ranges under the provided VPC network. Example: ['vertex-ai-ip-range']. */
4931
4953
  reservedIpRanges?: string[];
4932
4954
  /** Runtime config of the pipeline. */
@@ -5219,11 +5241,19 @@ declare namespace gapi.client {
5219
5241
  projectId?: string;
5220
5242
  }
5221
5243
  interface GoogleCloudAiplatformV1PSCAutomationConfig {
5244
+ /** Output only. Forwarding rule created by the PSC service automation. Note for Vector search, use IndexPrivateEndpoint instead. */
5245
+ forwardingRule?: string;
5246
+ /** Output only. IP address rule created by the PSC service automation. Note for Vector search, use IndexPrivateEndpoint instead. */
5247
+ ipAddress?: string;
5222
5248
  /** 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
5249
  network?: string;
5224
5250
  /** Required. Project id used to create forwarding rule. */
5225
5251
  projectId?: string;
5226
5252
  }
5253
+ interface GoogleCloudAiplatformV1PscInterfaceConfig {
5254
+ /** Optional. The name of the Compute Engine [network attachment](https://cloud.google.com/vpc/docs/about-network-attachments) to attach to the resource within the region and user project. To specify this field, you must have already [created a network attachment] (https://cloud.google.com/vpc/docs/create-manage-network-attachments#create-network-attachments). This field is only used for resources using PSC-I. */
5255
+ networkAttachment?: string;
5256
+ }
5227
5257
  interface GoogleCloudAiplatformV1PublisherModel {
5228
5258
  /** Optional. Additional information about the model's Frameworks. */
5229
5259
  frameworks?: string[];
@@ -8280,9 +8310,9 @@ declare namespace gapi.client {
8280
8310
  exportLastCheckpointOnly?: boolean;
8281
8311
  /** Optional. Hyperparameters for SFT. */
8282
8312
  hyperParameters?: GoogleCloudAiplatformV1SupervisedHyperParameters;
8283
- /** Required. Cloud Storage path to file containing training dataset for tuning. The dataset must be formatted as a JSONL file. */
8313
+ /** 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
8314
  trainingDatasetUri?: string;
8285
- /** Optional. Cloud Storage path to file containing validation dataset for tuning. The dataset must be formatted as a JSONL file. */
8315
+ /** 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
8316
  validationDatasetUri?: string;
8287
8317
  }
8288
8318
  interface GoogleCloudAiplatformV1SyncFeatureViewRequest {}
@@ -9988,6 +10018,64 @@ declare namespace gapi.client {
9988
10018
  },
9989
10019
  body: GoogleCloudAiplatformV1CountTokensRequest,
9990
10020
  ): Request<GoogleCloudAiplatformV1CountTokensResponse>;
10021
+ /** Fetch an asynchronous online prediction operation. */
10022
+ fetchPredictOperation(request: {
10023
+ /** V1 error format. */
10024
+ '$.xgafv'?: string;
10025
+ /** OAuth access token. */
10026
+ access_token?: string;
10027
+ /** Data format for response. */
10028
+ alt?: string;
10029
+ /** JSONP */
10030
+ callback?: string;
10031
+ /** 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}` */
10032
+ endpoint: string;
10033
+ /** Selector specifying which fields to include in a partial response. */
10034
+ fields?: string;
10035
+ /** 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. */
10036
+ key?: string;
10037
+ /** OAuth 2.0 token for the current user. */
10038
+ oauth_token?: string;
10039
+ /** Returns response with indentations and line breaks. */
10040
+ prettyPrint?: boolean;
10041
+ /** 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. */
10042
+ quotaUser?: string;
10043
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10044
+ upload_protocol?: string;
10045
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10046
+ uploadType?: string;
10047
+ /** Request body */
10048
+ resource: GoogleCloudAiplatformV1FetchPredictOperationRequest;
10049
+ }): Request<GoogleLongrunningOperation>;
10050
+ fetchPredictOperation(
10051
+ request: {
10052
+ /** V1 error format. */
10053
+ '$.xgafv'?: string;
10054
+ /** OAuth access token. */
10055
+ access_token?: string;
10056
+ /** Data format for response. */
10057
+ alt?: string;
10058
+ /** JSONP */
10059
+ callback?: string;
10060
+ /** 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}` */
10061
+ endpoint: string;
10062
+ /** Selector specifying which fields to include in a partial response. */
10063
+ fields?: string;
10064
+ /** 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. */
10065
+ key?: string;
10066
+ /** OAuth 2.0 token for the current user. */
10067
+ oauth_token?: string;
10068
+ /** Returns response with indentations and line breaks. */
10069
+ prettyPrint?: boolean;
10070
+ /** 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. */
10071
+ quotaUser?: string;
10072
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10073
+ upload_protocol?: string;
10074
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10075
+ uploadType?: string;
10076
+ },
10077
+ body: GoogleCloudAiplatformV1FetchPredictOperationRequest,
10078
+ ): Request<GoogleLongrunningOperation>;
9991
10079
  /** Generate content with multimodal inputs. */
9992
10080
  generateContent(request: {
9993
10081
  /** V1 error format. */
@@ -10104,6 +10192,63 @@ declare namespace gapi.client {
10104
10192
  },
10105
10193
  body: GoogleCloudAiplatformV1PredictRequest,
10106
10194
  ): Request<GoogleCloudAiplatformV1PredictResponse>;
10195
+ predictLongRunning(request: {
10196
+ /** V1 error format. */
10197
+ '$.xgafv'?: string;
10198
+ /** OAuth access token. */
10199
+ access_token?: string;
10200
+ /** Data format for response. */
10201
+ alt?: string;
10202
+ /** JSONP */
10203
+ callback?: string;
10204
+ /** 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}` */
10205
+ endpoint: string;
10206
+ /** Selector specifying which fields to include in a partial response. */
10207
+ fields?: string;
10208
+ /** 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. */
10209
+ key?: string;
10210
+ /** OAuth 2.0 token for the current user. */
10211
+ oauth_token?: string;
10212
+ /** Returns response with indentations and line breaks. */
10213
+ prettyPrint?: boolean;
10214
+ /** 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. */
10215
+ quotaUser?: string;
10216
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10217
+ upload_protocol?: string;
10218
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10219
+ uploadType?: string;
10220
+ /** Request body */
10221
+ resource: GoogleCloudAiplatformV1PredictLongRunningRequest;
10222
+ }): Request<GoogleLongrunningOperation>;
10223
+ predictLongRunning(
10224
+ request: {
10225
+ /** V1 error format. */
10226
+ '$.xgafv'?: string;
10227
+ /** OAuth access token. */
10228
+ access_token?: string;
10229
+ /** Data format for response. */
10230
+ alt?: string;
10231
+ /** JSONP */
10232
+ callback?: string;
10233
+ /** 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}` */
10234
+ endpoint: string;
10235
+ /** Selector specifying which fields to include in a partial response. */
10236
+ fields?: string;
10237
+ /** 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. */
10238
+ key?: string;
10239
+ /** OAuth 2.0 token for the current user. */
10240
+ oauth_token?: string;
10241
+ /** Returns response with indentations and line breaks. */
10242
+ prettyPrint?: boolean;
10243
+ /** 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. */
10244
+ quotaUser?: string;
10245
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
10246
+ upload_protocol?: string;
10247
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
10248
+ uploadType?: string;
10249
+ },
10250
+ body: GoogleCloudAiplatformV1PredictLongRunningRequest,
10251
+ ): Request<GoogleLongrunningOperation>;
10107
10252
  /** Generate content with multimodal inputs with streaming support. */
10108
10253
  streamGenerateContent(request: {
10109
10254
  /** V1 error format. */
@@ -33187,6 +33332,64 @@ declare namespace gapi.client {
33187
33332
  },
33188
33333
  body: GoogleCloudAiplatformV1CountTokensRequest,
33189
33334
  ): Request<GoogleCloudAiplatformV1CountTokensResponse>;
33335
+ /** Fetch an asynchronous online prediction operation. */
33336
+ fetchPredictOperation(request: {
33337
+ /** V1 error format. */
33338
+ '$.xgafv'?: string;
33339
+ /** OAuth access token. */
33340
+ access_token?: string;
33341
+ /** Data format for response. */
33342
+ alt?: string;
33343
+ /** JSONP */
33344
+ callback?: string;
33345
+ /** 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}` */
33346
+ endpoint: string;
33347
+ /** Selector specifying which fields to include in a partial response. */
33348
+ fields?: string;
33349
+ /** 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. */
33350
+ key?: string;
33351
+ /** OAuth 2.0 token for the current user. */
33352
+ oauth_token?: string;
33353
+ /** Returns response with indentations and line breaks. */
33354
+ prettyPrint?: boolean;
33355
+ /** 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. */
33356
+ quotaUser?: string;
33357
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33358
+ upload_protocol?: string;
33359
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33360
+ uploadType?: string;
33361
+ /** Request body */
33362
+ resource: GoogleCloudAiplatformV1FetchPredictOperationRequest;
33363
+ }): Request<GoogleLongrunningOperation>;
33364
+ fetchPredictOperation(
33365
+ request: {
33366
+ /** V1 error format. */
33367
+ '$.xgafv'?: string;
33368
+ /** OAuth access token. */
33369
+ access_token?: string;
33370
+ /** Data format for response. */
33371
+ alt?: string;
33372
+ /** JSONP */
33373
+ callback?: string;
33374
+ /** 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}` */
33375
+ endpoint: string;
33376
+ /** Selector specifying which fields to include in a partial response. */
33377
+ fields?: string;
33378
+ /** 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. */
33379
+ key?: string;
33380
+ /** OAuth 2.0 token for the current user. */
33381
+ oauth_token?: string;
33382
+ /** Returns response with indentations and line breaks. */
33383
+ prettyPrint?: boolean;
33384
+ /** 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. */
33385
+ quotaUser?: string;
33386
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33387
+ upload_protocol?: string;
33388
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33389
+ uploadType?: string;
33390
+ },
33391
+ body: GoogleCloudAiplatformV1FetchPredictOperationRequest,
33392
+ ): Request<GoogleLongrunningOperation>;
33190
33393
  /** Generate content with multimodal inputs. */
33191
33394
  generateContent(request: {
33192
33395
  /** V1 error format. */
@@ -33338,6 +33541,63 @@ declare namespace gapi.client {
33338
33541
  },
33339
33542
  body: GoogleCloudAiplatformV1PredictRequest,
33340
33543
  ): Request<GoogleCloudAiplatformV1PredictResponse>;
33544
+ predictLongRunning(request: {
33545
+ /** V1 error format. */
33546
+ '$.xgafv'?: string;
33547
+ /** OAuth access token. */
33548
+ access_token?: string;
33549
+ /** Data format for response. */
33550
+ alt?: string;
33551
+ /** JSONP */
33552
+ callback?: string;
33553
+ /** 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}` */
33554
+ endpoint: string;
33555
+ /** Selector specifying which fields to include in a partial response. */
33556
+ fields?: string;
33557
+ /** 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. */
33558
+ key?: string;
33559
+ /** OAuth 2.0 token for the current user. */
33560
+ oauth_token?: string;
33561
+ /** Returns response with indentations and line breaks. */
33562
+ prettyPrint?: boolean;
33563
+ /** 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. */
33564
+ quotaUser?: string;
33565
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33566
+ upload_protocol?: string;
33567
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33568
+ uploadType?: string;
33569
+ /** Request body */
33570
+ resource: GoogleCloudAiplatformV1PredictLongRunningRequest;
33571
+ }): Request<GoogleLongrunningOperation>;
33572
+ predictLongRunning(
33573
+ request: {
33574
+ /** V1 error format. */
33575
+ '$.xgafv'?: string;
33576
+ /** OAuth access token. */
33577
+ access_token?: string;
33578
+ /** Data format for response. */
33579
+ alt?: string;
33580
+ /** JSONP */
33581
+ callback?: string;
33582
+ /** 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}` */
33583
+ endpoint: string;
33584
+ /** Selector specifying which fields to include in a partial response. */
33585
+ fields?: string;
33586
+ /** 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. */
33587
+ key?: string;
33588
+ /** OAuth 2.0 token for the current user. */
33589
+ oauth_token?: string;
33590
+ /** Returns response with indentations and line breaks. */
33591
+ prettyPrint?: boolean;
33592
+ /** 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. */
33593
+ quotaUser?: string;
33594
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33595
+ upload_protocol?: string;
33596
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33597
+ uploadType?: string;
33598
+ },
33599
+ body: GoogleCloudAiplatformV1PredictLongRunningRequest,
33600
+ ): Request<GoogleLongrunningOperation>;
33341
33601
  /** Generate content with multimodal inputs with streaming support. */
33342
33602
  streamGenerateContent(request: {
33343
33603
  /** V1 error format. */
@@ -33400,6 +33660,333 @@ declare namespace gapi.client {
33400
33660
  interface PublishersResource {
33401
33661
  models: ModelsResource;
33402
33662
  }
33663
+ interface ReasoningEnginesResource {
33664
+ /** Creates a reasoning engine. */
33665
+ create(request: {
33666
+ /** V1 error format. */
33667
+ '$.xgafv'?: string;
33668
+ /** OAuth access token. */
33669
+ access_token?: string;
33670
+ /** Data format for response. */
33671
+ alt?: string;
33672
+ /** JSONP */
33673
+ callback?: string;
33674
+ /** Selector specifying which fields to include in a partial response. */
33675
+ fields?: string;
33676
+ /** 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. */
33677
+ key?: string;
33678
+ /** OAuth 2.0 token for the current user. */
33679
+ oauth_token?: string;
33680
+ /** Required. The resource name of the Location to create the ReasoningEngine in. Format: `projects/{project}/locations/{location}` */
33681
+ parent?: string;
33682
+ /** Returns response with indentations and line breaks. */
33683
+ prettyPrint?: boolean;
33684
+ /** 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. */
33685
+ quotaUser?: string;
33686
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33687
+ upload_protocol?: string;
33688
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33689
+ uploadType?: string;
33690
+ /** Request body */
33691
+ resource: GoogleCloudAiplatformV1ReasoningEngine;
33692
+ }): Request<GoogleLongrunningOperation>;
33693
+ create(
33694
+ request: {
33695
+ /** V1 error format. */
33696
+ '$.xgafv'?: string;
33697
+ /** OAuth access token. */
33698
+ access_token?: string;
33699
+ /** Data format for response. */
33700
+ alt?: string;
33701
+ /** JSONP */
33702
+ callback?: string;
33703
+ /** Selector specifying which fields to include in a partial response. */
33704
+ fields?: string;
33705
+ /** 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. */
33706
+ key?: string;
33707
+ /** OAuth 2.0 token for the current user. */
33708
+ oauth_token?: string;
33709
+ /** Required. The resource name of the Location to create the ReasoningEngine in. Format: `projects/{project}/locations/{location}` */
33710
+ parent?: string;
33711
+ /** Returns response with indentations and line breaks. */
33712
+ prettyPrint?: boolean;
33713
+ /** 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. */
33714
+ quotaUser?: string;
33715
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33716
+ upload_protocol?: string;
33717
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33718
+ uploadType?: string;
33719
+ },
33720
+ body: GoogleCloudAiplatformV1ReasoningEngine,
33721
+ ): Request<GoogleLongrunningOperation>;
33722
+ /** Deletes a reasoning engine. */
33723
+ delete(request?: {
33724
+ /** V1 error format. */
33725
+ '$.xgafv'?: string;
33726
+ /** OAuth access token. */
33727
+ access_token?: string;
33728
+ /** Data format for response. */
33729
+ alt?: string;
33730
+ /** JSONP */
33731
+ callback?: string;
33732
+ /** Selector specifying which fields to include in a partial response. */
33733
+ fields?: string;
33734
+ /** 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. */
33735
+ force?: boolean;
33736
+ /** 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. */
33737
+ key?: string;
33738
+ /** Required. The name of the ReasoningEngine resource to be deleted. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
33739
+ name: string;
33740
+ /** OAuth 2.0 token for the current user. */
33741
+ oauth_token?: string;
33742
+ /** Returns response with indentations and line breaks. */
33743
+ prettyPrint?: boolean;
33744
+ /** 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. */
33745
+ quotaUser?: string;
33746
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33747
+ upload_protocol?: string;
33748
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33749
+ uploadType?: string;
33750
+ }): Request<GoogleLongrunningOperation>;
33751
+ /** Gets a reasoning engine. */
33752
+ get(request?: {
33753
+ /** V1 error format. */
33754
+ '$.xgafv'?: string;
33755
+ /** OAuth access token. */
33756
+ access_token?: string;
33757
+ /** Data format for response. */
33758
+ alt?: string;
33759
+ /** JSONP */
33760
+ callback?: string;
33761
+ /** Selector specifying which fields to include in a partial response. */
33762
+ fields?: string;
33763
+ /** 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. */
33764
+ key?: string;
33765
+ /** Required. The name of the ReasoningEngine resource. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
33766
+ name: string;
33767
+ /** OAuth 2.0 token for the current user. */
33768
+ oauth_token?: string;
33769
+ /** Returns response with indentations and line breaks. */
33770
+ prettyPrint?: boolean;
33771
+ /** 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. */
33772
+ quotaUser?: string;
33773
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33774
+ upload_protocol?: string;
33775
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33776
+ uploadType?: string;
33777
+ }): Request<GoogleCloudAiplatformV1ReasoningEngine>;
33778
+ /** Lists reasoning engines in a location. */
33779
+ list(request?: {
33780
+ /** V1 error format. */
33781
+ '$.xgafv'?: string;
33782
+ /** OAuth access token. */
33783
+ access_token?: string;
33784
+ /** Data format for response. */
33785
+ alt?: string;
33786
+ /** JSONP */
33787
+ callback?: string;
33788
+ /** Selector specifying which fields to include in a partial response. */
33789
+ fields?: string;
33790
+ /** Optional. The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). */
33791
+ filter?: string;
33792
+ /** 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. */
33793
+ key?: string;
33794
+ /** OAuth 2.0 token for the current user. */
33795
+ oauth_token?: string;
33796
+ /** Optional. The standard list page size. */
33797
+ pageSize?: number;
33798
+ /** Optional. The standard list page token. */
33799
+ pageToken?: string;
33800
+ /** Required. The resource name of the Location to list the ReasoningEngines from. Format: `projects/{project}/locations/{location}` */
33801
+ parent?: string;
33802
+ /** Returns response with indentations and line breaks. */
33803
+ prettyPrint?: boolean;
33804
+ /** 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. */
33805
+ quotaUser?: string;
33806
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33807
+ upload_protocol?: string;
33808
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33809
+ uploadType?: string;
33810
+ }): Request<GoogleCloudAiplatformV1ListReasoningEnginesResponse>;
33811
+ /** Updates a reasoning engine. */
33812
+ patch(request: {
33813
+ /** V1 error format. */
33814
+ '$.xgafv'?: string;
33815
+ /** OAuth access token. */
33816
+ access_token?: string;
33817
+ /** Data format for response. */
33818
+ alt?: string;
33819
+ /** JSONP */
33820
+ callback?: string;
33821
+ /** Selector specifying which fields to include in a partial response. */
33822
+ fields?: string;
33823
+ /** 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. */
33824
+ key?: string;
33825
+ /** Identifier. The resource name of the ReasoningEngine. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
33826
+ name: string;
33827
+ /** OAuth 2.0 token for the current user. */
33828
+ oauth_token?: string;
33829
+ /** Returns response with indentations and line breaks. */
33830
+ prettyPrint?: boolean;
33831
+ /** 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. */
33832
+ quotaUser?: string;
33833
+ /** Optional. Mask specifying which fields to update. */
33834
+ updateMask?: string;
33835
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33836
+ upload_protocol?: string;
33837
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33838
+ uploadType?: string;
33839
+ /** Request body */
33840
+ resource: GoogleCloudAiplatformV1ReasoningEngine;
33841
+ }): Request<GoogleLongrunningOperation>;
33842
+ patch(
33843
+ request: {
33844
+ /** V1 error format. */
33845
+ '$.xgafv'?: string;
33846
+ /** OAuth access token. */
33847
+ access_token?: string;
33848
+ /** Data format for response. */
33849
+ alt?: string;
33850
+ /** JSONP */
33851
+ callback?: string;
33852
+ /** Selector specifying which fields to include in a partial response. */
33853
+ fields?: string;
33854
+ /** 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. */
33855
+ key?: string;
33856
+ /** Identifier. The resource name of the ReasoningEngine. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
33857
+ name: string;
33858
+ /** OAuth 2.0 token for the current user. */
33859
+ oauth_token?: string;
33860
+ /** Returns response with indentations and line breaks. */
33861
+ prettyPrint?: boolean;
33862
+ /** 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. */
33863
+ quotaUser?: string;
33864
+ /** Optional. Mask specifying which fields to update. */
33865
+ updateMask?: string;
33866
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33867
+ upload_protocol?: string;
33868
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33869
+ uploadType?: string;
33870
+ },
33871
+ body: GoogleCloudAiplatformV1ReasoningEngine,
33872
+ ): Request<GoogleLongrunningOperation>;
33873
+ /** Queries using a reasoning engine. */
33874
+ query(request: {
33875
+ /** V1 error format. */
33876
+ '$.xgafv'?: string;
33877
+ /** OAuth access token. */
33878
+ access_token?: string;
33879
+ /** Data format for response. */
33880
+ alt?: string;
33881
+ /** JSONP */
33882
+ callback?: string;
33883
+ /** Selector specifying which fields to include in a partial response. */
33884
+ fields?: string;
33885
+ /** 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. */
33886
+ key?: string;
33887
+ /** Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
33888
+ name: string;
33889
+ /** OAuth 2.0 token for the current user. */
33890
+ oauth_token?: string;
33891
+ /** Returns response with indentations and line breaks. */
33892
+ prettyPrint?: boolean;
33893
+ /** 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. */
33894
+ quotaUser?: string;
33895
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33896
+ upload_protocol?: string;
33897
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33898
+ uploadType?: string;
33899
+ /** Request body */
33900
+ resource: GoogleCloudAiplatformV1QueryReasoningEngineRequest;
33901
+ }): Request<GoogleCloudAiplatformV1QueryReasoningEngineResponse>;
33902
+ query(
33903
+ request: {
33904
+ /** V1 error format. */
33905
+ '$.xgafv'?: string;
33906
+ /** OAuth access token. */
33907
+ access_token?: string;
33908
+ /** Data format for response. */
33909
+ alt?: string;
33910
+ /** JSONP */
33911
+ callback?: string;
33912
+ /** Selector specifying which fields to include in a partial response. */
33913
+ fields?: string;
33914
+ /** 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. */
33915
+ key?: string;
33916
+ /** Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
33917
+ name: string;
33918
+ /** OAuth 2.0 token for the current user. */
33919
+ oauth_token?: string;
33920
+ /** Returns response with indentations and line breaks. */
33921
+ prettyPrint?: boolean;
33922
+ /** 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. */
33923
+ quotaUser?: string;
33924
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33925
+ upload_protocol?: string;
33926
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33927
+ uploadType?: string;
33928
+ },
33929
+ body: GoogleCloudAiplatformV1QueryReasoningEngineRequest,
33930
+ ): Request<GoogleCloudAiplatformV1QueryReasoningEngineResponse>;
33931
+ /** Streams queries using a reasoning engine. */
33932
+ streamQuery(request: {
33933
+ /** V1 error format. */
33934
+ '$.xgafv'?: string;
33935
+ /** OAuth access token. */
33936
+ access_token?: string;
33937
+ /** Data format for response. */
33938
+ alt?: string;
33939
+ /** JSONP */
33940
+ callback?: string;
33941
+ /** Selector specifying which fields to include in a partial response. */
33942
+ fields?: string;
33943
+ /** 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. */
33944
+ key?: string;
33945
+ /** Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
33946
+ name: string;
33947
+ /** OAuth 2.0 token for the current user. */
33948
+ oauth_token?: string;
33949
+ /** Returns response with indentations and line breaks. */
33950
+ prettyPrint?: boolean;
33951
+ /** 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. */
33952
+ quotaUser?: string;
33953
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33954
+ upload_protocol?: string;
33955
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33956
+ uploadType?: string;
33957
+ /** Request body */
33958
+ resource: GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest;
33959
+ }): Request<GoogleApiHttpBody>;
33960
+ streamQuery(
33961
+ request: {
33962
+ /** V1 error format. */
33963
+ '$.xgafv'?: string;
33964
+ /** OAuth access token. */
33965
+ access_token?: string;
33966
+ /** Data format for response. */
33967
+ alt?: string;
33968
+ /** JSONP */
33969
+ callback?: string;
33970
+ /** Selector specifying which fields to include in a partial response. */
33971
+ fields?: string;
33972
+ /** 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. */
33973
+ key?: string;
33974
+ /** Required. The name of the ReasoningEngine resource to use. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` */
33975
+ name: string;
33976
+ /** OAuth 2.0 token for the current user. */
33977
+ oauth_token?: string;
33978
+ /** Returns response with indentations and line breaks. */
33979
+ prettyPrint?: boolean;
33980
+ /** 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. */
33981
+ quotaUser?: string;
33982
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33983
+ upload_protocol?: string;
33984
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33985
+ uploadType?: string;
33986
+ },
33987
+ body: GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest,
33988
+ ): Request<GoogleApiHttpBody>;
33989
+ }
33403
33990
 
33404
33991
  const batchPredictionJobs: BatchPredictionJobsResource;
33405
33992
 
@@ -33412,5 +33999,7 @@ declare namespace gapi.client {
33412
33999
  const projects: ProjectsResource;
33413
34000
 
33414
34001
  const publishers: PublishersResource;
34002
+
34003
+ const reasoningEngines: ReasoningEnginesResource;
33415
34004
  }
33416
34005
  }
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.20250529",
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
  ```