@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20250527 → 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 (2) hide show
  1. package/index.d.ts +17 -1
  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: 20250527
12
+ // Revision: 20250529
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. */
@@ -4895,6 +4903,8 @@ declare namespace gapi.client {
4895
4903
  name?: string;
4896
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. */
4897
4905
  network?: string;
4906
+ /** Optional. Configuration for PSC-I for PersistentResource. */
4907
+ pscInterfaceConfig?: GoogleCloudAiplatformV1PscInterfaceConfig;
4898
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']. */
4899
4909
  reservedIpRanges?: string[];
4900
4910
  /** Required. The spec of the pools of different resources. */
@@ -4937,6 +4947,8 @@ declare namespace gapi.client {
4937
4947
  pipelineSpec?: {[P in string]: any};
4938
4948
  /** Optional. Whether to do component level validations before job creation. */
4939
4949
  preflightValidations?: boolean;
4950
+ /** Optional. Configuration for PSC-I for PipelineJob. */
4951
+ pscInterfaceConfig?: GoogleCloudAiplatformV1PscInterfaceConfig;
4940
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']. */
4941
4953
  reservedIpRanges?: string[];
4942
4954
  /** Runtime config of the pipeline. */
@@ -5238,6 +5250,10 @@ declare namespace gapi.client {
5238
5250
  /** Required. Project id used to create forwarding rule. */
5239
5251
  projectId?: string;
5240
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
+ }
5241
5257
  interface GoogleCloudAiplatformV1PublisherModel {
5242
5258
  /** Optional. Additional information about the model's Frameworks. */
5243
5259
  frameworks?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1",
3
- "version": "0.0.20250527",
3
+ "version": "0.0.20250529",
4
4
  "description": "TypeScript typings for Vertex AI API v1",
5
5
  "repository": {
6
6
  "type": "git",