@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20250527 → 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.
- package/index.d.ts +29 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://aiplatform.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250602
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1154,6 +1154,8 @@ declare namespace gapi.client {
|
|
|
1154
1154
|
persistentResourceId?: string;
|
|
1155
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 */
|
|
1156
1156
|
protectedArtifactLocationId?: string;
|
|
1157
|
+
/** Optional. Configuration for PSC-I for CustomJob. */
|
|
1158
|
+
pscInterfaceConfig?: GoogleCloudAiplatformV1PscInterfaceConfig;
|
|
1157
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']. */
|
|
1158
1160
|
reservedIpRanges?: string[];
|
|
1159
1161
|
/** Scheduling options for a CustomJob. */
|
|
@@ -2752,8 +2754,12 @@ declare namespace gapi.client {
|
|
|
2752
2754
|
name?: string;
|
|
2753
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 */
|
|
2754
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;
|
|
2755
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. */
|
|
2756
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;
|
|
2757
2763
|
}
|
|
2758
2764
|
interface GoogleCloudAiplatformV1FunctionResponse {
|
|
2759
2765
|
/** Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name]. */
|
|
@@ -2876,6 +2882,8 @@ declare namespace gapi.client {
|
|
|
2876
2882
|
mediaResolution?: string;
|
|
2877
2883
|
/** Optional. Positive penalties. */
|
|
2878
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;
|
|
2879
2887
|
/** Optional. If true, export the logprobs results in response. */
|
|
2880
2888
|
responseLogprobs?: boolean;
|
|
2881
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. */
|
|
@@ -4867,8 +4875,10 @@ declare namespace gapi.client {
|
|
|
4867
4875
|
inlineData?: GoogleCloudAiplatformV1Blob;
|
|
4868
4876
|
/** Optional. Text part (can be code). */
|
|
4869
4877
|
text?: string;
|
|
4870
|
-
/**
|
|
4878
|
+
/** Optional. Indicates if the part is thought from the model. */
|
|
4871
4879
|
thought?: boolean;
|
|
4880
|
+
/** Optional. An opaque signature for the thought so it can be reused in subsequent requests. */
|
|
4881
|
+
thoughtSignature?: string;
|
|
4872
4882
|
/** Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data. */
|
|
4873
4883
|
videoMetadata?: GoogleCloudAiplatformV1VideoMetadata;
|
|
4874
4884
|
}
|
|
@@ -4895,6 +4905,8 @@ declare namespace gapi.client {
|
|
|
4895
4905
|
name?: string;
|
|
4896
4906
|
/** 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. */
|
|
4897
4907
|
network?: string;
|
|
4908
|
+
/** Optional. Configuration for PSC-I for PersistentResource. */
|
|
4909
|
+
pscInterfaceConfig?: GoogleCloudAiplatformV1PscInterfaceConfig;
|
|
4898
4910
|
/** 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']. */
|
|
4899
4911
|
reservedIpRanges?: string[];
|
|
4900
4912
|
/** Required. The spec of the pools of different resources. */
|
|
@@ -4937,6 +4949,8 @@ declare namespace gapi.client {
|
|
|
4937
4949
|
pipelineSpec?: {[P in string]: any};
|
|
4938
4950
|
/** Optional. Whether to do component level validations before job creation. */
|
|
4939
4951
|
preflightValidations?: boolean;
|
|
4952
|
+
/** Optional. Configuration for PSC-I for PipelineJob. */
|
|
4953
|
+
pscInterfaceConfig?: GoogleCloudAiplatformV1PscInterfaceConfig;
|
|
4940
4954
|
/** 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']. */
|
|
4941
4955
|
reservedIpRanges?: string[];
|
|
4942
4956
|
/** Runtime config of the pipeline. */
|
|
@@ -5238,6 +5252,10 @@ declare namespace gapi.client {
|
|
|
5238
5252
|
/** Required. Project id used to create forwarding rule. */
|
|
5239
5253
|
projectId?: string;
|
|
5240
5254
|
}
|
|
5255
|
+
interface GoogleCloudAiplatformV1PscInterfaceConfig {
|
|
5256
|
+
/** 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. */
|
|
5257
|
+
networkAttachment?: string;
|
|
5258
|
+
}
|
|
5241
5259
|
interface GoogleCloudAiplatformV1PublisherModel {
|
|
5242
5260
|
/** Optional. Additional information about the model's Frameworks. */
|
|
5243
5261
|
frameworks?: string[];
|
|
@@ -8491,6 +8509,8 @@ declare namespace gapi.client {
|
|
|
8491
8509
|
interface GoogleCloudAiplatformV1Tool {
|
|
8492
8510
|
/** Optional. CodeExecution tool type. Enables the model to execute code as part of generation. */
|
|
8493
8511
|
codeExecution?: any;
|
|
8512
|
+
/** Optional. Tool to support the model interacting directly with the computer. If enabled, it automatically populates computer-use specific Function Declarations. */
|
|
8513
|
+
computerUse?: GoogleCloudAiplatformV1ToolComputerUse;
|
|
8494
8514
|
/** Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4 compliance. */
|
|
8495
8515
|
enterpriseWebSearch?: any;
|
|
8496
8516
|
/** 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. */
|
|
@@ -8501,6 +8521,8 @@ declare namespace gapi.client {
|
|
|
8501
8521
|
googleSearchRetrieval?: GoogleCloudAiplatformV1GoogleSearchRetrieval;
|
|
8502
8522
|
/** 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. */
|
|
8503
8523
|
retrieval?: GoogleCloudAiplatformV1Retrieval;
|
|
8524
|
+
/** Optional. Tool to support URL context retrieval. */
|
|
8525
|
+
urlContext?: any;
|
|
8504
8526
|
}
|
|
8505
8527
|
interface GoogleCloudAiplatformV1ToolCall {
|
|
8506
8528
|
/** Optional. Spec for tool input */
|
|
@@ -8530,6 +8552,10 @@ declare namespace gapi.client {
|
|
|
8530
8552
|
}
|
|
8531
8553
|
interface GoogleCloudAiplatformV1ToolCallValidSpec {}
|
|
8532
8554
|
interface GoogleCloudAiplatformV1ToolCodeExecution {}
|
|
8555
|
+
interface GoogleCloudAiplatformV1ToolComputerUse {
|
|
8556
|
+
/** Required. The environment being operated. */
|
|
8557
|
+
environment?: string;
|
|
8558
|
+
}
|
|
8533
8559
|
interface GoogleCloudAiplatformV1ToolConfig {
|
|
8534
8560
|
/** Optional. Function calling config. */
|
|
8535
8561
|
functionCallingConfig?: GoogleCloudAiplatformV1FunctionCallingConfig;
|
|
@@ -9019,6 +9045,7 @@ declare namespace gapi.client {
|
|
|
9019
9045
|
updateMask?: string;
|
|
9020
9046
|
}
|
|
9021
9047
|
interface GoogleCloudAiplatformV1UpsertDatapointsResponse {}
|
|
9048
|
+
interface GoogleCloudAiplatformV1UrlContext {}
|
|
9022
9049
|
interface GoogleCloudAiplatformV1UserActionReference {
|
|
9023
9050
|
/** For API calls that start a LabelingJob. Resource name of the LabelingJob. Format: `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` */
|
|
9024
9051
|
dataLabelingJob?: string;
|