@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20250422 → 0.0.20250501
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 +34 -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: 20250501
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -660,6 +660,14 @@ declare namespace gapi.client {
|
|
|
660
660
|
/** Output only. List of ratings for the safety of a response candidate. There is at most one rating per category. */
|
|
661
661
|
safetyRatings?: GoogleCloudAiplatformV1SafetyRating[];
|
|
662
662
|
}
|
|
663
|
+
interface GoogleCloudAiplatformV1Checkpoint {
|
|
664
|
+
/** The ID of the checkpoint. */
|
|
665
|
+
checkpointId?: string;
|
|
666
|
+
/** The epoch of the checkpoint. */
|
|
667
|
+
epoch?: string;
|
|
668
|
+
/** The step of the checkpoint. */
|
|
669
|
+
step?: string;
|
|
670
|
+
}
|
|
663
671
|
interface GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateMetatdata {
|
|
664
672
|
/** Operation metadata for suggesting Trials. */
|
|
665
673
|
genericMetadata?: GoogleCloudAiplatformV1GenericOperationMetadata;
|
|
@@ -1344,6 +1352,8 @@ declare namespace gapi.client {
|
|
|
1344
1352
|
interface GoogleCloudAiplatformV1DeployedModel {
|
|
1345
1353
|
/** A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration. */
|
|
1346
1354
|
automaticResources?: GoogleCloudAiplatformV1AutomaticResources;
|
|
1355
|
+
/** The checkpoint id of the model. */
|
|
1356
|
+
checkpointId?: string;
|
|
1347
1357
|
/** Output only. Timestamp when the DeployedModel was created. */
|
|
1348
1358
|
createTime?: string;
|
|
1349
1359
|
/** A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration. */
|
|
@@ -3817,6 +3827,8 @@ declare namespace gapi.client {
|
|
|
3817
3827
|
artifactUri?: string;
|
|
3818
3828
|
/** Optional. User input field to specify the base model source. Currently it only supports specifing the Model Garden models and Genie models. */
|
|
3819
3829
|
baseModelSource?: GoogleCloudAiplatformV1ModelBaseModelSource;
|
|
3830
|
+
/** Optional. Output only. The checkpoints of the model. */
|
|
3831
|
+
checkpoints?: GoogleCloudAiplatformV1Checkpoint[];
|
|
3820
3832
|
/** Input only. The specification of the container that is to be used when deploying this Model. The specification is ingested upon ModelService.UploadModel, and all binaries it contains are copied and stored internally by Vertex AI. Not required for AutoML Models. */
|
|
3821
3833
|
containerSpec?: GoogleCloudAiplatformV1ModelContainerSpec;
|
|
3822
3834
|
/** Output only. Timestamp when this Model was uploaded into Vertex AI. */
|
|
@@ -6094,10 +6106,14 @@ declare namespace gapi.client {
|
|
|
6094
6106
|
timeout?: string;
|
|
6095
6107
|
}
|
|
6096
6108
|
interface GoogleCloudAiplatformV1Schema {
|
|
6109
|
+
/** Optional. Can either be a boolean or an object; controls the presence of additional properties. */
|
|
6110
|
+
additionalProperties?: any;
|
|
6097
6111
|
/** Optional. The value should be validated against any (one or more) of the subschemas in the list. */
|
|
6098
6112
|
anyOf?: GoogleCloudAiplatformV1Schema[];
|
|
6099
6113
|
/** Optional. Default value of the data. */
|
|
6100
6114
|
default?: any;
|
|
6115
|
+
/** Optional. A map of definitions for use by `ref` Only allowed at the root of the schema. */
|
|
6116
|
+
defs?: {[P in string]: GoogleCloudAiplatformV1Schema};
|
|
6101
6117
|
/** Optional. The description of the data. */
|
|
6102
6118
|
description?: string;
|
|
6103
6119
|
/** Optional. Possible values of the element of primitive type with enum format. Examples: 1. We can define direction as : {type:STRING, format:enum, enum:["EAST", NORTH", "SOUTH", "WEST"]} 2. We can define apartment number as : {type:INTEGER, format:enum, enum:["101", "201", "301"]} */
|
|
@@ -6132,6 +6148,8 @@ declare namespace gapi.client {
|
|
|
6132
6148
|
properties?: {[P in string]: GoogleCloudAiplatformV1Schema};
|
|
6133
6149
|
/** Optional. The order of the properties. Not a standard field in open api spec. Only used to support the order of the properties. */
|
|
6134
6150
|
propertyOrdering?: string[];
|
|
6151
|
+
/** Optional. Allows indirect references between schema nodes. The value should be a valid reference to a child of the root `defs`. For example, the following schema defines a reference to a schema node named "Pet": type: object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: type: string The value of the "pet" property is a reference to the schema node named "Pet". See details in https://json-schema.org/understanding-json-schema/structuring */
|
|
6152
|
+
ref?: string;
|
|
6135
6153
|
/** Optional. Required properties of Type.OBJECT. */
|
|
6136
6154
|
required?: string[];
|
|
6137
6155
|
/** Optional. The title of the Schema. */
|
|
@@ -8129,7 +8147,7 @@ declare namespace gapi.client {
|
|
|
8129
8147
|
right?: number;
|
|
8130
8148
|
}
|
|
8131
8149
|
interface GoogleCloudAiplatformV1SupervisedTuningDataStats {
|
|
8132
|
-
/** Output only. For each index in `truncated_example_indices`, the user-facing reason why the example was dropped.
|
|
8150
|
+
/** Output only. For each index in `truncated_example_indices`, the user-facing reason why the example was dropped. */
|
|
8133
8151
|
droppedExampleReasons?: string[];
|
|
8134
8152
|
/** Output only. Number of billable characters in the tuning dataset. */
|
|
8135
8153
|
totalBillableCharacterCount?: string;
|
|
@@ -8155,6 +8173,8 @@ declare namespace gapi.client {
|
|
|
8155
8173
|
userOutputTokenDistribution?: GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution;
|
|
8156
8174
|
}
|
|
8157
8175
|
interface GoogleCloudAiplatformV1SupervisedTuningSpec {
|
|
8176
|
+
/** Optional. If set to true, disable intermediate checkpoints for SFT and only the last checkpoint will be exported. Otherwise, enable intermediate checkpoints for SFT. Default is false. */
|
|
8177
|
+
exportLastCheckpointOnly?: boolean;
|
|
8158
8178
|
/** Optional. Hyperparameters for SFT. */
|
|
8159
8179
|
hyperParameters?: GoogleCloudAiplatformV1SupervisedHyperParameters;
|
|
8160
8180
|
/** Required. Cloud Storage path to file containing training dataset for tuning. The dataset must be formatted as a JSONL file. */
|
|
@@ -8676,11 +8696,23 @@ declare namespace gapi.client {
|
|
|
8676
8696
|
value?: any;
|
|
8677
8697
|
}
|
|
8678
8698
|
interface GoogleCloudAiplatformV1TunedModel {
|
|
8699
|
+
/** Output only. The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints. */
|
|
8700
|
+
checkpoints?: GoogleCloudAiplatformV1TunedModelCheckpoint[];
|
|
8679
8701
|
/** Output only. A resource name of an Endpoint. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`. */
|
|
8680
8702
|
endpoint?: string;
|
|
8681
8703
|
/** Output only. The resource name of the TunedModel. Format: `projects/{project}/locations/{location}/models/{model}`. */
|
|
8682
8704
|
model?: string;
|
|
8683
8705
|
}
|
|
8706
|
+
interface GoogleCloudAiplatformV1TunedModelCheckpoint {
|
|
8707
|
+
/** The ID of the checkpoint. */
|
|
8708
|
+
checkpointId?: string;
|
|
8709
|
+
/** The Endpoint resource name that the checkpoint is deployed to. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`. */
|
|
8710
|
+
endpoint?: string;
|
|
8711
|
+
/** The epoch of the checkpoint. */
|
|
8712
|
+
epoch?: string;
|
|
8713
|
+
/** The step of the checkpoint. */
|
|
8714
|
+
step?: string;
|
|
8715
|
+
}
|
|
8684
8716
|
interface GoogleCloudAiplatformV1TunedModelRef {
|
|
8685
8717
|
/** Support migration from tuning job list page, from bison model to gemini model. */
|
|
8686
8718
|
pipelineJob?: string;
|