@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20250731 → 0.0.20250809
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 +26 -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: 20250809
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1552,10 +1552,14 @@ declare namespace gapi.client {
|
|
|
1552
1552
|
systemLabels?: {[P in string]: string};
|
|
1553
1553
|
}
|
|
1554
1554
|
interface GoogleCloudAiplatformV1DeployRequestEndpointConfig {
|
|
1555
|
-
/** Optional.
|
|
1555
|
+
/** Optional. By default, if dedicated endpoint is enabled, the endpoint will be exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be isolated from other users' traffic and will have better performance and reliability. Note: Once you enabled dedicated endpoint, you won't be able to send request to the shared DNS {region}-aiplatform.googleapis.com. The limitations will be removed soon. If this field is set to true, the dedicated endpoint will be disabled and the deployed model will be exposed through the shared DNS {region}-aiplatform.googleapis.com. */
|
|
1556
|
+
dedicatedEndpointDisabled?: boolean;
|
|
1557
|
+
/** Optional. Deprecated. Use dedicated_endpoint_disabled instead. If true, the endpoint will be exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS will be isolated from other users' traffic and will have better performance and reliability. Note: Once you enabled dedicated endpoint, you won't be able to send request to the shared DNS {region}-aiplatform.googleapis.com. The limitations will be removed soon. */
|
|
1556
1558
|
dedicatedEndpointEnabled?: boolean;
|
|
1557
1559
|
/** Optional. The user-specified display name of the endpoint. If not set, a default name will be used. */
|
|
1558
1560
|
endpointDisplayName?: string;
|
|
1561
|
+
/** Optional. Immutable. The ID to use for endpoint, which will become the final component of the endpoint resource name. If not provided, Vertex AI will generate a value for this ID. If the first character is a letter, this value may be up to 63 characters, and valid characters are `[a-z0-9-]`. The last character must be a letter or number. If the first character is a number, this value may be up to 9 characters, and valid characters are `[0-9]` with no leading zeros. When using HTTP/JSON, this field is populated based on a query string argument, such as `?endpoint_id=12345`. This is the fallback for fields that are not included in either the URI or the body. */
|
|
1562
|
+
endpointUserId?: string;
|
|
1559
1563
|
}
|
|
1560
1564
|
interface GoogleCloudAiplatformV1DeployRequestModelConfig {
|
|
1561
1565
|
/** Optional. Whether the user accepts the End User License Agreement (EULA) for the model. */
|
|
@@ -2909,6 +2913,8 @@ declare namespace gapi.client {
|
|
|
2909
2913
|
generationConfig?: GoogleCloudAiplatformV1GenerationConfig;
|
|
2910
2914
|
/** Optional. The labels with user-defined metadata for the request. It is used for billing and reporting only. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter. */
|
|
2911
2915
|
labels?: {[P in string]: string};
|
|
2916
|
+
/** Optional. Settings for prompt and response sanitization using the Model Armor service. If supplied, safety_settings must not be supplied. */
|
|
2917
|
+
modelArmorConfig?: GoogleCloudAiplatformV1ModelArmorConfig;
|
|
2912
2918
|
/** Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. */
|
|
2913
2919
|
safetySettings?: GoogleCloudAiplatformV1SafetySetting[];
|
|
2914
2920
|
/** Optional. The user provided system instructions for the model. Note: only text should be used in parts and content in each part will be in a separate paragraph. */
|
|
@@ -3149,6 +3155,8 @@ declare namespace gapi.client {
|
|
|
3149
3155
|
review?: string;
|
|
3150
3156
|
}
|
|
3151
3157
|
interface GoogleCloudAiplatformV1GroundingChunkRetrievedContext {
|
|
3158
|
+
/** Output only. The full document name for the referenced Vertex AI Search document. */
|
|
3159
|
+
documentName?: string;
|
|
3152
3160
|
/** Additional context for the RAG retrieval result. This is only populated when using the RAG retrieval tool. */
|
|
3153
3161
|
ragChunk?: GoogleCloudAiplatformV1RagChunk;
|
|
3154
3162
|
/** Text of the attribution. */
|
|
@@ -4154,6 +4162,12 @@ declare namespace gapi.client {
|
|
|
4154
4162
|
/** Output only. Timestamp when this version was most recently updated. */
|
|
4155
4163
|
versionUpdateTime?: string;
|
|
4156
4164
|
}
|
|
4165
|
+
interface GoogleCloudAiplatformV1ModelArmorConfig {
|
|
4166
|
+
/** Optional. The name of the Model Armor template to use for prompt sanitization. */
|
|
4167
|
+
promptTemplateName?: string;
|
|
4168
|
+
/** Optional. The name of the Model Armor template to use for response sanitization. */
|
|
4169
|
+
responseTemplateName?: string;
|
|
4170
|
+
}
|
|
4157
4171
|
interface GoogleCloudAiplatformV1ModelBaseModelSource {
|
|
4158
4172
|
/** Information about the base model of Genie models. */
|
|
4159
4173
|
genieSource?: GoogleCloudAiplatformV1GenieSource;
|
|
@@ -6114,8 +6128,18 @@ declare namespace gapi.client {
|
|
|
6114
6128
|
serviceAccount?: string;
|
|
6115
6129
|
}
|
|
6116
6130
|
interface GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec {
|
|
6131
|
+
/** Optional. Concurrency for each container and agent server. Recommended value: 2 * cpu + 1. Defaults to 9. */
|
|
6132
|
+
containerConcurrency?: number;
|
|
6117
6133
|
/** Optional. Environment variables to be set with the Reasoning Engine deployment. The environment variables can be updated through the UpdateReasoningEngine API. */
|
|
6118
6134
|
env?: GoogleCloudAiplatformV1EnvVar[];
|
|
6135
|
+
/** Optional. The maximum number of application instances that can be launched to handle increased traffic. Defaults to 100. */
|
|
6136
|
+
maxInstances?: number;
|
|
6137
|
+
/** Optional. The minimum number of application instances that will be kept running at all times. Defaults to 1. */
|
|
6138
|
+
minInstances?: number;
|
|
6139
|
+
/** Optional. Configuration for PSC-I. */
|
|
6140
|
+
pscInterfaceConfig?: GoogleCloudAiplatformV1PscInterfaceConfig;
|
|
6141
|
+
/** Optional. Resource limits for each container. Only 'cpu' and 'memory' keys are supported. Defaults to {"cpu": "4", "memory": "4Gi"}. * The only supported values for CPU are '1', '2', '4', and '8'. For more information, go to https://cloud.google.com/run/docs/configuring/cpu. * For supported 'memory' values and syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits */
|
|
6142
|
+
resourceLimits?: {[P in string]: string};
|
|
6119
6143
|
/** Optional. Environment variables where the value is a secret in Cloud Secret Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent. */
|
|
6120
6144
|
secretEnv?: GoogleCloudAiplatformV1SecretEnvVar[];
|
|
6121
6145
|
}
|