@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20250529 → 0.0.20250602

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +133 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://aiplatform.googleapis.com/$discovery/rest?version=v1beta1
12
- // Revision: 20250529
12
+ // Revision: 20250602
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -5881,8 +5881,10 @@ declare namespace gapi.client {
5881
5881
  inlineData?: GoogleCloudAiplatformV1beta1Blob;
5882
5882
  /** Optional. Text part (can be code). */
5883
5883
  text?: string;
5884
- /** Output only. Indicates if the part is thought from the model. */
5884
+ /** Optional. Indicates if the part is thought from the model. */
5885
5885
  thought?: boolean;
5886
+ /** Optional. An opaque signature for the thought so it can be reused in subsequent requests. */
5887
+ thoughtSignature?: string;
5886
5888
  /** Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data. */
5887
5889
  videoMetadata?: GoogleCloudAiplatformV1beta1VideoMetadata;
5888
5890
  }
@@ -9984,6 +9986,8 @@ declare namespace gapi.client {
9984
9986
  interface GoogleCloudAiplatformV1beta1Tool {
9985
9987
  /** Optional. CodeExecution tool type. Enables the model to execute code as part of generation. */
9986
9988
  codeExecution?: any;
9989
+ /** Optional. Tool to support the model interacting directly with the computer. If enabled, it automatically populates computer-use specific Function Declarations. */
9990
+ computerUse?: GoogleCloudAiplatformV1beta1ToolComputerUse;
9987
9991
  /** Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4 compliance. */
9988
9992
  enterpriseWebSearch?: any;
9989
9993
  /** Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating FunctionCall in the response. User should provide a FunctionResponse for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 128 function declarations can be provided. */
@@ -9994,6 +9998,8 @@ declare namespace gapi.client {
9994
9998
  googleSearchRetrieval?: GoogleCloudAiplatformV1beta1GoogleSearchRetrieval;
9995
9999
  /** Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation. */
9996
10000
  retrieval?: GoogleCloudAiplatformV1beta1Retrieval;
10001
+ /** Optional. Tool to support URL context retrieval. */
10002
+ urlContext?: any;
9997
10003
  }
9998
10004
  interface GoogleCloudAiplatformV1beta1ToolCall {
9999
10005
  /** Optional. Spec for tool input */
@@ -10023,6 +10029,10 @@ declare namespace gapi.client {
10023
10029
  }
10024
10030
  interface GoogleCloudAiplatformV1beta1ToolCallValidSpec {}
10025
10031
  interface GoogleCloudAiplatformV1beta1ToolCodeExecution {}
10032
+ interface GoogleCloudAiplatformV1beta1ToolComputerUse {
10033
+ /** Required. The environment being operated. */
10034
+ environment?: string;
10035
+ }
10026
10036
  interface GoogleCloudAiplatformV1beta1ToolConfig {
10027
10037
  /** Optional. Function calling config. */
10028
10038
  functionCallingConfig?: GoogleCloudAiplatformV1beta1FunctionCallingConfig;
@@ -10384,6 +10394,10 @@ declare namespace gapi.client {
10384
10394
  partnerModelTuningSpec?: GoogleCloudAiplatformV1beta1PartnerModelTuningSpec;
10385
10395
  /** Output only. The resource name of the PipelineJob associated with the TuningJob. Format: `projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}`. */
10386
10396
  pipelineJob?: string;
10397
+ /** Output only. Reserved for future use. */
10398
+ satisfiesPzi?: boolean;
10399
+ /** Output only. Reserved for future use. */
10400
+ satisfiesPzs?: boolean;
10387
10401
  /** The service account that the tuningJob workload runs as. If not specified, the Vertex AI Secure Fine-Tuned Service Agent in the project will be used. See https://cloud.google.com/iam/docs/service-agents#vertex-ai-secure-fine-tuning-service-agent Users starting the pipeline must have the `iam.serviceAccounts.actAs` permission on this service account. */
10388
10402
  serviceAccount?: string;
10389
10403
  /** Output only. Time when the TuningJob for the first time entered the `JOB_STATE_RUNNING` state. */
@@ -10568,6 +10582,7 @@ declare namespace gapi.client {
10568
10582
  /** The error message of the example that was not created/updated successfully. */
10569
10583
  status?: GoogleRpcStatus;
10570
10584
  }
10585
+ interface GoogleCloudAiplatformV1beta1UrlContext {}
10571
10586
  interface GoogleCloudAiplatformV1beta1UserActionReference {
10572
10587
  /** For API calls that start a LabelingJob. Resource name of the LabelingJob. Format: `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` */
10573
10588
  dataLabelingJob?: string;
@@ -33049,6 +33064,121 @@ declare namespace gapi.client {
33049
33064
  interface RagEngineConfigResource {
33050
33065
  operations: OperationsResource;
33051
33066
  }
33067
+ interface OperationsResource {
33068
+ /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
33069
+ cancel(request?: {
33070
+ /** V1 error format. */
33071
+ '$.xgafv'?: string;
33072
+ /** OAuth access token. */
33073
+ access_token?: string;
33074
+ /** Data format for response. */
33075
+ alt?: string;
33076
+ /** JSONP */
33077
+ callback?: string;
33078
+ /** Selector specifying which fields to include in a partial response. */
33079
+ fields?: string;
33080
+ /** 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. */
33081
+ key?: string;
33082
+ /** The name of the operation resource to be cancelled. */
33083
+ name: string;
33084
+ /** OAuth 2.0 token for the current user. */
33085
+ oauth_token?: string;
33086
+ /** Returns response with indentations and line breaks. */
33087
+ prettyPrint?: boolean;
33088
+ /** 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. */
33089
+ quotaUser?: string;
33090
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33091
+ upload_protocol?: string;
33092
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33093
+ uploadType?: string;
33094
+ }): Request<{}>;
33095
+ /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
33096
+ delete(request?: {
33097
+ /** V1 error format. */
33098
+ '$.xgafv'?: string;
33099
+ /** OAuth access token. */
33100
+ access_token?: string;
33101
+ /** Data format for response. */
33102
+ alt?: string;
33103
+ /** JSONP */
33104
+ callback?: string;
33105
+ /** Selector specifying which fields to include in a partial response. */
33106
+ fields?: string;
33107
+ /** 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. */
33108
+ key?: string;
33109
+ /** The name of the operation resource to be deleted. */
33110
+ name: string;
33111
+ /** OAuth 2.0 token for the current user. */
33112
+ oauth_token?: string;
33113
+ /** Returns response with indentations and line breaks. */
33114
+ prettyPrint?: boolean;
33115
+ /** 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. */
33116
+ quotaUser?: string;
33117
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33118
+ upload_protocol?: string;
33119
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33120
+ uploadType?: string;
33121
+ }): Request<{}>;
33122
+ /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
33123
+ get(request?: {
33124
+ /** V1 error format. */
33125
+ '$.xgafv'?: string;
33126
+ /** OAuth access token. */
33127
+ access_token?: string;
33128
+ /** Data format for response. */
33129
+ alt?: string;
33130
+ /** JSONP */
33131
+ callback?: string;
33132
+ /** Selector specifying which fields to include in a partial response. */
33133
+ fields?: string;
33134
+ /** 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. */
33135
+ key?: string;
33136
+ /** The name of the operation resource. */
33137
+ name: string;
33138
+ /** OAuth 2.0 token for the current user. */
33139
+ oauth_token?: string;
33140
+ /** Returns response with indentations and line breaks. */
33141
+ prettyPrint?: boolean;
33142
+ /** 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. */
33143
+ quotaUser?: string;
33144
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33145
+ upload_protocol?: string;
33146
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33147
+ uploadType?: string;
33148
+ }): Request<GoogleLongrunningOperation>;
33149
+ /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */
33150
+ wait(request?: {
33151
+ /** V1 error format. */
33152
+ '$.xgafv'?: string;
33153
+ /** OAuth access token. */
33154
+ access_token?: string;
33155
+ /** Data format for response. */
33156
+ alt?: string;
33157
+ /** JSONP */
33158
+ callback?: string;
33159
+ /** Selector specifying which fields to include in a partial response. */
33160
+ fields?: string;
33161
+ /** 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. */
33162
+ key?: string;
33163
+ /** The name of the operation resource to wait on. */
33164
+ name: string;
33165
+ /** OAuth 2.0 token for the current user. */
33166
+ oauth_token?: string;
33167
+ /** Returns response with indentations and line breaks. */
33168
+ prettyPrint?: boolean;
33169
+ /** 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. */
33170
+ quotaUser?: string;
33171
+ /** The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used. */
33172
+ timeout?: string;
33173
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
33174
+ upload_protocol?: string;
33175
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
33176
+ uploadType?: string;
33177
+ }): Request<GoogleLongrunningOperation>;
33178
+ }
33179
+ interface ExamplesResource {
33180
+ operations: OperationsResource;
33181
+ }
33052
33182
  interface OperationsResource {
33053
33183
  /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
33054
33184
  cancel(request?: {
@@ -34265,6 +34395,7 @@ declare namespace gapi.client {
34265
34395
  },
34266
34396
  body: GoogleCloudAiplatformV1beta1StreamQueryReasoningEngineRequest,
34267
34397
  ): Request<GoogleApiHttpBody>;
34398
+ examples: ExamplesResource;
34268
34399
  memories: MemoriesResource;
34269
34400
  operations: OperationsResource;
34270
34401
  sandboxEnvironments: SandboxEnvironmentsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1beta1",
3
- "version": "0.0.20250529",
3
+ "version": "0.0.20250602",
4
4
  "description": "TypeScript typings for Vertex AI API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",