@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20250422 → 0.0.20250505
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 +36 -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:
|
|
12
|
+
// Revision: 20250505
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -779,6 +779,14 @@ declare namespace gapi.client {
|
|
|
779
779
|
/** Output only. List of ratings for the safety of a response candidate. There is at most one rating per category. */
|
|
780
780
|
safetyRatings?: GoogleCloudAiplatformV1beta1SafetyRating[];
|
|
781
781
|
}
|
|
782
|
+
interface GoogleCloudAiplatformV1beta1Checkpoint {
|
|
783
|
+
/** The ID of the checkpoint. */
|
|
784
|
+
checkpointId?: string;
|
|
785
|
+
/** The epoch of the checkpoint. */
|
|
786
|
+
epoch?: string;
|
|
787
|
+
/** The step of the checkpoint. */
|
|
788
|
+
step?: string;
|
|
789
|
+
}
|
|
782
790
|
interface GoogleCloudAiplatformV1beta1CheckPublisherModelEulaAcceptanceRequest {
|
|
783
791
|
/** Required. The name of the PublisherModel resource. Format: `publishers/{publisher}/models/{publisher_model}`, or `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}` */
|
|
784
792
|
publisherModel?: string;
|
|
@@ -1543,6 +1551,8 @@ declare namespace gapi.client {
|
|
|
1543
1551
|
interface GoogleCloudAiplatformV1beta1DeployedModel {
|
|
1544
1552
|
/** A description of resources that to large degree are decided by Vertex AI, and require only a modest additional configuration. */
|
|
1545
1553
|
automaticResources?: GoogleCloudAiplatformV1beta1AutomaticResources;
|
|
1554
|
+
/** The checkpoint id of the model. */
|
|
1555
|
+
checkpointId?: string;
|
|
1546
1556
|
/** Output only. Timestamp when the DeployedModel was created. */
|
|
1547
1557
|
createTime?: string;
|
|
1548
1558
|
/** A description of resources that are dedicated to the DeployedModel, and that need a higher degree of manual configuration. */
|
|
@@ -2110,6 +2120,8 @@ declare namespace gapi.client {
|
|
|
2110
2120
|
displayName?: string;
|
|
2111
2121
|
/** Optional. Immutable. Unique identifier of an example. If not specified when upserting new examples, the example_id will be generated. */
|
|
2112
2122
|
exampleId?: string;
|
|
2123
|
+
/** Identifier. The resource name of the Example. Format: `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/examples/{example}` */
|
|
2124
|
+
name?: string;
|
|
2113
2125
|
/** An example of chat history and its expected outcome to be used with GenerateContent. */
|
|
2114
2126
|
storedContentsExample?: GoogleCloudAiplatformV1beta1StoredContentsExample;
|
|
2115
2127
|
}
|
|
@@ -4535,6 +4547,8 @@ declare namespace gapi.client {
|
|
|
4535
4547
|
artifactUri?: string;
|
|
4536
4548
|
/** Optional. User input field to specify the base model source. Currently it only supports specifing the Model Garden models and Genie models. */
|
|
4537
4549
|
baseModelSource?: GoogleCloudAiplatformV1beta1ModelBaseModelSource;
|
|
4550
|
+
/** Optional. Output only. The checkpoints of the model. */
|
|
4551
|
+
checkpoints?: GoogleCloudAiplatformV1beta1Checkpoint[];
|
|
4538
4552
|
/** 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. */
|
|
4539
4553
|
containerSpec?: GoogleCloudAiplatformV1beta1ModelContainerSpec;
|
|
4540
4554
|
/** Output only. Timestamp when this Model was uploaded into Vertex AI. */
|
|
@@ -7402,10 +7416,14 @@ declare namespace gapi.client {
|
|
|
7402
7416
|
timeout?: string;
|
|
7403
7417
|
}
|
|
7404
7418
|
interface GoogleCloudAiplatformV1beta1Schema {
|
|
7419
|
+
/** Optional. Can either be a boolean or an object; controls the presence of additional properties. */
|
|
7420
|
+
additionalProperties?: any;
|
|
7405
7421
|
/** Optional. The value should be validated against any (one or more) of the subschemas in the list. */
|
|
7406
7422
|
anyOf?: GoogleCloudAiplatformV1beta1Schema[];
|
|
7407
7423
|
/** Optional. Default value of the data. */
|
|
7408
7424
|
default?: any;
|
|
7425
|
+
/** Optional. A map of definitions for use by `ref` Only allowed at the root of the schema. */
|
|
7426
|
+
defs?: {[P in string]: GoogleCloudAiplatformV1beta1Schema};
|
|
7409
7427
|
/** Optional. The description of the data. */
|
|
7410
7428
|
description?: string;
|
|
7411
7429
|
/** 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"]} */
|
|
@@ -7440,6 +7458,8 @@ declare namespace gapi.client {
|
|
|
7440
7458
|
properties?: {[P in string]: GoogleCloudAiplatformV1beta1Schema};
|
|
7441
7459
|
/** Optional. The order of the properties. Not a standard field in open api spec. Only used to support the order of the properties. */
|
|
7442
7460
|
propertyOrdering?: string[];
|
|
7461
|
+
/** 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 */
|
|
7462
|
+
ref?: string;
|
|
7443
7463
|
/** Optional. Required properties of Type.OBJECT. */
|
|
7444
7464
|
required?: string[];
|
|
7445
7465
|
/** Optional. The title of the Schema. */
|
|
@@ -9611,7 +9631,7 @@ declare namespace gapi.client {
|
|
|
9611
9631
|
right?: number;
|
|
9612
9632
|
}
|
|
9613
9633
|
interface GoogleCloudAiplatformV1beta1SupervisedTuningDataStats {
|
|
9614
|
-
/** Output only. For each index in `truncated_example_indices`, the user-facing reason why the example was dropped.
|
|
9634
|
+
/** Output only. For each index in `truncated_example_indices`, the user-facing reason why the example was dropped. */
|
|
9615
9635
|
droppedExampleReasons?: string[];
|
|
9616
9636
|
/** Output only. Number of billable characters in the tuning dataset. */
|
|
9617
9637
|
totalBillableCharacterCount?: string;
|
|
@@ -9637,6 +9657,8 @@ declare namespace gapi.client {
|
|
|
9637
9657
|
userOutputTokenDistribution?: GoogleCloudAiplatformV1beta1SupervisedTuningDatasetDistribution;
|
|
9638
9658
|
}
|
|
9639
9659
|
interface GoogleCloudAiplatformV1beta1SupervisedTuningSpec {
|
|
9660
|
+
/** 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. */
|
|
9661
|
+
exportLastCheckpointOnly?: boolean;
|
|
9640
9662
|
/** Optional. Hyperparameters for SFT. */
|
|
9641
9663
|
hyperParameters?: GoogleCloudAiplatformV1beta1SupervisedHyperParameters;
|
|
9642
9664
|
/** Required. Cloud Storage path to file containing training dataset for tuning. The dataset must be formatted as a JSONL file. */
|
|
@@ -10180,11 +10202,23 @@ declare namespace gapi.client {
|
|
|
10180
10202
|
value?: any;
|
|
10181
10203
|
}
|
|
10182
10204
|
interface GoogleCloudAiplatformV1beta1TunedModel {
|
|
10205
|
+
/** Output only. The checkpoints associated with this TunedModel. This field is only populated for tuning jobs that enable intermediate checkpoints. */
|
|
10206
|
+
checkpoints?: GoogleCloudAiplatformV1beta1TunedModelCheckpoint[];
|
|
10183
10207
|
/** Output only. A resource name of an Endpoint. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`. */
|
|
10184
10208
|
endpoint?: string;
|
|
10185
10209
|
/** Output only. The resource name of the TunedModel. Format: `projects/{project}/locations/{location}/models/{model}`. */
|
|
10186
10210
|
model?: string;
|
|
10187
10211
|
}
|
|
10212
|
+
interface GoogleCloudAiplatformV1beta1TunedModelCheckpoint {
|
|
10213
|
+
/** The ID of the checkpoint. */
|
|
10214
|
+
checkpointId?: string;
|
|
10215
|
+
/** The Endpoint resource name that the checkpoint is deployed to. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`. */
|
|
10216
|
+
endpoint?: string;
|
|
10217
|
+
/** The epoch of the checkpoint. */
|
|
10218
|
+
epoch?: string;
|
|
10219
|
+
/** The step of the checkpoint. */
|
|
10220
|
+
step?: string;
|
|
10221
|
+
}
|
|
10188
10222
|
interface GoogleCloudAiplatformV1beta1TunedModelRef {
|
|
10189
10223
|
/** Support migration from tuning job list page, from bison model to gemini model. */
|
|
10190
10224
|
pipelineJob?: string;
|