@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20250711 → 0.0.20250715
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 +16 -4
- 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: 20250715
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1430,6 +1430,8 @@ declare namespace gapi.client {
|
|
|
1430
1430
|
explanationSpec?: GoogleCloudAiplatformV1ExplanationSpec;
|
|
1431
1431
|
/** Configuration for faster model deployment. */
|
|
1432
1432
|
fasterDeploymentConfig?: GoogleCloudAiplatformV1FasterDeploymentConfig;
|
|
1433
|
+
/** GDC pretrained / Gemini model name. The model name is a plain model name, e.g. gemini-1.5-flash-002. */
|
|
1434
|
+
gdcConnectedModel?: string;
|
|
1433
1435
|
/** Immutable. The ID of the DeployedModel. If not provided upon deployment, Vertex AI will generate a value for this ID. This value should be 1-10 characters, and valid characters are `/[0-9]/`. */
|
|
1434
1436
|
id?: string;
|
|
1435
1437
|
/** The resource name of the Model that this is the deployment of. Note that the Model may be in a different location than the DeployedModel's Endpoint. The resource name may contain version id or version alias to specify the version. Example: `projects/{project}/locations/{location}/models/{model}@2` or `projects/{project}/locations/{location}/models/{model}@golden` if no version is specified, the default version will be deployed. */
|
|
@@ -1560,6 +1562,8 @@ declare namespace gapi.client {
|
|
|
1560
1562
|
huggingFaceCacheEnabled?: boolean;
|
|
1561
1563
|
/** Optional. The user-specified display name of the uploaded model. If not set, a default name will be used. */
|
|
1562
1564
|
modelDisplayName?: string;
|
|
1565
|
+
/** Optional. The ID to use for the uploaded Model, which will become the final component of the model resource name. When not provided, Vertex AI will generate a value for this ID. When Model Registry model is provided, this field will be ignored. This value may be up to 63 characters, and valid characters are `[a-z0-9_-]`. The first character cannot be a number or hyphen. */
|
|
1566
|
+
modelUserId?: string;
|
|
1563
1567
|
}
|
|
1564
1568
|
interface GoogleCloudAiplatformV1DeployResponse {
|
|
1565
1569
|
/** Output only. The name of the Endpoint created. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
@@ -1647,6 +1651,8 @@ declare namespace gapi.client {
|
|
|
1647
1651
|
encryptionSpec?: GoogleCloudAiplatformV1EncryptionSpec;
|
|
1648
1652
|
/** Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. */
|
|
1649
1653
|
etag?: string;
|
|
1654
|
+
/** Configures the Google Distributed Cloud (GDC) environment for online prediction. Only set this field when the Endpoint is to be deployed in a GDC environment. */
|
|
1655
|
+
gdcConfig?: GoogleCloudAiplatformV1GdcConfig;
|
|
1650
1656
|
/** Optional. Configuration for GenAiAdvancedFeatures. If the endpoint is serving GenAI models, advanced features like native RAG integration can be configured. Currently, only Model Garden models are supported. */
|
|
1651
1657
|
genAiAdvancedFeaturesConfig?: GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfig;
|
|
1652
1658
|
/** The labels with user-defined metadata to organize your Endpoints. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels. */
|
|
@@ -2845,6 +2851,10 @@ declare namespace gapi.client {
|
|
|
2845
2851
|
/** Required. Google Cloud Storage URI(-s) to the input file(s). May contain wildcards. For more information on wildcards, see https://cloud.google.com/storage/docs/wildcards. */
|
|
2846
2852
|
uris?: string[];
|
|
2847
2853
|
}
|
|
2854
|
+
interface GoogleCloudAiplatformV1GdcConfig {
|
|
2855
|
+
/** GDC zone. A cluster will be designated for the Vertex AI workload in this zone. */
|
|
2856
|
+
zone?: string;
|
|
2857
|
+
}
|
|
2848
2858
|
interface GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfig {
|
|
2849
2859
|
/** Configuration for Retrieval Augmented Generation feature. */
|
|
2850
2860
|
ragConfig?: GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfigRagConfig;
|
|
@@ -4406,7 +4416,7 @@ declare namespace gapi.client {
|
|
|
4406
4416
|
genericMetadata?: GoogleCloudAiplatformV1GenericOperationMetadata;
|
|
4407
4417
|
}
|
|
4408
4418
|
interface GoogleCloudAiplatformV1MutateDeployedModelRequest {
|
|
4409
|
-
/** Required. The DeployedModel to be mutated within the Endpoint. Only the following fields can be mutated: * `min_replica_count` in either DedicatedResources or AutomaticResources * `max_replica_count` in either DedicatedResources or AutomaticResources * autoscaling_metric_specs * `disable_container_logging` (v1 only) * `enable_container_logging` (v1beta1 only) */
|
|
4419
|
+
/** Required. The DeployedModel to be mutated within the Endpoint. Only the following fields can be mutated: * `min_replica_count` in either DedicatedResources or AutomaticResources * `max_replica_count` in either DedicatedResources or AutomaticResources * `required_replica_count` in DedicatedResources * autoscaling_metric_specs * `disable_container_logging` (v1 only) * `enable_container_logging` (v1beta1 only) */
|
|
4410
4420
|
deployedModel?: GoogleCloudAiplatformV1DeployedModel;
|
|
4411
4421
|
/** Required. The update mask applies to the resource. See google.protobuf.FieldMask. */
|
|
4412
4422
|
updateMask?: string;
|
|
@@ -8357,7 +8367,7 @@ declare namespace gapi.client {
|
|
|
8357
8367
|
adapterSize?: string;
|
|
8358
8368
|
/** Optional. Number of complete passes the model makes over the entire training dataset during training. */
|
|
8359
8369
|
epochCount?: string;
|
|
8360
|
-
/** Optional. Multiplier for adjusting the default learning rate. Mutually exclusive with `learning_rate`. */
|
|
8370
|
+
/** Optional. Multiplier for adjusting the default learning rate. Mutually exclusive with `learning_rate`. This feature is only available for 1P models. */
|
|
8361
8371
|
learningRateMultiplier?: number;
|
|
8362
8372
|
}
|
|
8363
8373
|
interface GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution {
|
|
@@ -14339,6 +14349,8 @@ declare namespace gapi.client {
|
|
|
14339
14349
|
fields?: string;
|
|
14340
14350
|
/** Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `endpoint` supports `=` and `!=`. `endpoint` represents the Endpoint ID, i.e. the last segment of the Endpoint's resource name. * `display_name` supports `=` and `!=`. * `labels` supports general map functions that is: * `labels.key=value` - key:value equality * `labels.key:*` or `labels:key` - key existence * A key including a space must be quoted. `labels."a key"`. * `base_model_name` only supports `=`. Some examples: * `endpoint=1` * `displayName="myDisplayName"` * `labels.myKey="myValue"` * `baseModelName="text-bison"` */
|
|
14341
14351
|
filter?: string;
|
|
14352
|
+
/** Optional. Configures the Google Distributed Cloud (GDC) environment for online prediction. Only set this field when the Endpoint is to be deployed in a GDC environment. */
|
|
14353
|
+
gdcZone?: string;
|
|
14342
14354
|
/** 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. */
|
|
14343
14355
|
key?: string;
|
|
14344
14356
|
/** OAuth 2.0 token for the current user. */
|
|
@@ -14362,7 +14374,7 @@ declare namespace gapi.client {
|
|
|
14362
14374
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
14363
14375
|
uploadType?: string;
|
|
14364
14376
|
}): Request<GoogleCloudAiplatformV1ListEndpointsResponse>;
|
|
14365
|
-
/** Updates an existing deployed model. Updatable fields include `min_replica_count`, `max_replica_count`, `autoscaling_metric_specs`, `disable_container_logging` (v1 only), and `enable_container_logging` (v1beta1 only). */
|
|
14377
|
+
/** Updates an existing deployed model. Updatable fields include `min_replica_count`, `max_replica_count`, `required_replica_count`, `autoscaling_metric_specs`, `disable_container_logging` (v1 only), and `enable_container_logging` (v1beta1 only). */
|
|
14366
14378
|
mutateDeployedModel(request: {
|
|
14367
14379
|
/** V1 error format. */
|
|
14368
14380
|
'$.xgafv'?: string;
|