@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20240529 → 0.0.20240609
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 +138 -28
- 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: 20240609
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -2783,6 +2783,8 @@ declare namespace gapi.client {
|
|
|
2783
2783
|
gcsSource?: GoogleCloudAiplatformV1beta1GcsSource;
|
|
2784
2784
|
/** Google Drive location. Supports importing individual files as well as Google Drive folders. */
|
|
2785
2785
|
googleDriveSource?: GoogleCloudAiplatformV1beta1GoogleDriveSource;
|
|
2786
|
+
/** Optional. The max number of queries per minute that this job is allowed to make to the embedding model specified on the corpus. This value is specific to this job and not shared across other import jobs. Consult the Quotas page on the project to set an appropriate value here. If unspecified, a default value of 1,000 QPM would be used. */
|
|
2787
|
+
maxEmbeddingRequestsPerMin?: number;
|
|
2786
2788
|
/** Specifies the size and overlap of chunks after importing RagFiles. */
|
|
2787
2789
|
ragFileChunkingConfig?: GoogleCloudAiplatformV1beta1RagFileChunkingConfig;
|
|
2788
2790
|
}
|
|
@@ -3812,14 +3814,6 @@ declare namespace gapi.client {
|
|
|
3812
3814
|
/** A Google Cloud Storage location for batch prediction model monitoring to dump statistics and anomalies. If not provided, a folder will be created in customer project to hold statistics and anomalies. */
|
|
3813
3815
|
statsAnomaliesBaseDirectory?: GoogleCloudAiplatformV1beta1GcsDestination;
|
|
3814
3816
|
}
|
|
3815
|
-
interface GoogleCloudAiplatformV1beta1ModelMonitoringGenAiStats {
|
|
3816
|
-
/** The data points of this time series. When listing time series, points are returned in reverse time order. */
|
|
3817
|
-
dataPoints?: GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPoint[];
|
|
3818
|
-
/** One of the supported monitoring objectives: `gen-ai-general` `gen-ai-evaluation` `gen-ai-safety` */
|
|
3819
|
-
objectiveType?: string;
|
|
3820
|
-
/** The stats name. */
|
|
3821
|
-
statsName?: string;
|
|
3822
|
-
}
|
|
3823
3817
|
interface GoogleCloudAiplatformV1beta1ModelMonitoringInput {
|
|
3824
3818
|
/** Vertex AI Batch prediction Job. */
|
|
3825
3819
|
batchPredictionOutput?: GoogleCloudAiplatformV1beta1ModelMonitoringInputBatchPredictionOutput;
|
|
@@ -4057,8 +4051,6 @@ declare namespace gapi.client {
|
|
|
4057
4051
|
outputSpec?: GoogleCloudAiplatformV1beta1ModelMonitoringOutputSpec;
|
|
4058
4052
|
}
|
|
4059
4053
|
interface GoogleCloudAiplatformV1beta1ModelMonitoringStats {
|
|
4060
|
-
/** Generated gen ai statistics. */
|
|
4061
|
-
genAiStats?: GoogleCloudAiplatformV1beta1ModelMonitoringGenAiStats;
|
|
4062
4054
|
/** Generated tabular statistics. */
|
|
4063
4055
|
tabularStats?: GoogleCloudAiplatformV1beta1ModelMonitoringTabularStats;
|
|
4064
4056
|
}
|
|
@@ -4881,8 +4873,6 @@ declare namespace gapi.client {
|
|
|
4881
4873
|
deploy?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeploy;
|
|
4882
4874
|
/** Optional. Deploy PublisherModel to Google Kubernetes Engine. */
|
|
4883
4875
|
deployGke?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke;
|
|
4884
|
-
/** Optional. Fine tune the PublisherModel with the third-party model tuning UI. */
|
|
4885
|
-
fineTune?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences;
|
|
4886
4876
|
/** Optional. Open evaluation pipeline of the PublisherModel. */
|
|
4887
4877
|
openEvaluationPipeline?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences;
|
|
4888
4878
|
/** Optional. Open fine-tuning pipeline of the PublisherModel. */
|
|
@@ -5211,9 +5201,23 @@ declare namespace gapi.client {
|
|
|
5211
5201
|
displayName?: string;
|
|
5212
5202
|
/** Output only. The resource name of the RagCorpus. */
|
|
5213
5203
|
name?: string;
|
|
5204
|
+
/** Optional. Immutable. The embedding model config of the RagCorpus. */
|
|
5205
|
+
ragEmbeddingModelConfig?: GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig;
|
|
5214
5206
|
/** Output only. Timestamp when this RagCorpus was last updated. */
|
|
5215
5207
|
updateTime?: string;
|
|
5216
5208
|
}
|
|
5209
|
+
interface GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig {
|
|
5210
|
+
/** The Vertex AI Prediction Endpoint that either refers to a publisher model or an endpoint that is hosting a 1P fine-tuned text embedding model. Endpoints hosting non-1P fine-tuned text embedding models are currently not supported. */
|
|
5211
|
+
vertexPredictionEndpoint?: GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigVertexPredictionEndpoint;
|
|
5212
|
+
}
|
|
5213
|
+
interface GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigVertexPredictionEndpoint {
|
|
5214
|
+
/** Required. The endpoint resource name. Format: `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` or `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
5215
|
+
endpoint?: string;
|
|
5216
|
+
/** Output only. The resource name of the model that is deployed on the endpoint. Present only when the endpoint is not a publisher model. Pattern: `projects/{project}/locations/{location}/models/{model}` */
|
|
5217
|
+
model?: string;
|
|
5218
|
+
/** Output only. Version ID of the model that is deployed on the endpoint. Present only when the endpoint is not a publisher model. */
|
|
5219
|
+
modelVersionId?: string;
|
|
5220
|
+
}
|
|
5217
5221
|
interface GoogleCloudAiplatformV1beta1RagFile {
|
|
5218
5222
|
/** Output only. Timestamp when this RagFile was created. */
|
|
5219
5223
|
createTime?: string;
|
|
@@ -7104,23 +7108,9 @@ declare namespace gapi.client {
|
|
|
7104
7108
|
totalNumberAlerts?: string;
|
|
7105
7109
|
}
|
|
7106
7110
|
interface GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilter {
|
|
7107
|
-
/** GenAi statistics filter. */
|
|
7108
|
-
genAiStatsFilter?: GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterGenAiStatsFilter;
|
|
7109
7111
|
/** Tabular statistics filter. */
|
|
7110
7112
|
tabularStatsFilter?: GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterTabularStatsFilter;
|
|
7111
7113
|
}
|
|
7112
|
-
interface GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterGenAiStatsFilter {
|
|
7113
|
-
/** From a particular cluster of monitoring results. */
|
|
7114
|
-
clusterId?: string;
|
|
7115
|
-
/** From a particular monitoring job. */
|
|
7116
|
-
modelMonitoringJob?: string;
|
|
7117
|
-
/** From a particular monitoring schedule. */
|
|
7118
|
-
modelMonitoringSchedule?: string;
|
|
7119
|
-
/** One of the supported monitoring objectives: `gen-ai-general` `gen-ai-evaluation` `gen-ai-safety` */
|
|
7120
|
-
objectiveType?: string;
|
|
7121
|
-
/** If not specified, will return all the stats_names. */
|
|
7122
|
-
statsName?: string;
|
|
7123
|
-
}
|
|
7124
7114
|
interface GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterTabularStatsFilter {
|
|
7125
7115
|
/** Specify the algorithm type used for distance calculation, eg: jensen_shannon_divergence, l_infinity. */
|
|
7126
7116
|
algorithm?: string;
|
|
@@ -7238,6 +7228,10 @@ declare namespace gapi.client {
|
|
|
7238
7228
|
/** Required. Selector choosing Features of the target EntityType. Feature IDs will be deduplicated. */
|
|
7239
7229
|
featureSelector?: GoogleCloudAiplatformV1beta1FeatureSelector;
|
|
7240
7230
|
}
|
|
7231
|
+
interface GoogleCloudAiplatformV1beta1StreamRawPredictRequest {
|
|
7232
|
+
/** The prediction input. Supports HTTP headers and arbitrary data payload. */
|
|
7233
|
+
httpBody?: GoogleApiHttpBody;
|
|
7234
|
+
}
|
|
7241
7235
|
interface GoogleCloudAiplatformV1beta1StringArray {
|
|
7242
7236
|
/** A list of string values. */
|
|
7243
7237
|
values?: string[];
|
|
@@ -9045,7 +9039,7 @@ declare namespace gapi.client {
|
|
|
9045
9039
|
upload_protocol?: string;
|
|
9046
9040
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
9047
9041
|
uploadType?: string;
|
|
9048
|
-
}): Request<
|
|
9042
|
+
}): Request<{}>;
|
|
9049
9043
|
/** Gets cached content configurations */
|
|
9050
9044
|
get(request?: {
|
|
9051
9045
|
/** V1 error format. */
|
|
@@ -13055,6 +13049,64 @@ declare namespace gapi.client {
|
|
|
13055
13049
|
},
|
|
13056
13050
|
body: GoogleCloudAiplatformV1beta1GenerateContentRequest
|
|
13057
13051
|
): Request<GoogleCloudAiplatformV1beta1GenerateContentResponse>;
|
|
13052
|
+
/** Perform a streaming online prediction with an arbitrary HTTP payload. */
|
|
13053
|
+
streamRawPredict(request: {
|
|
13054
|
+
/** V1 error format. */
|
|
13055
|
+
'$.xgafv'?: string;
|
|
13056
|
+
/** OAuth access token. */
|
|
13057
|
+
access_token?: string;
|
|
13058
|
+
/** Data format for response. */
|
|
13059
|
+
alt?: string;
|
|
13060
|
+
/** JSONP */
|
|
13061
|
+
callback?: string;
|
|
13062
|
+
/** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
13063
|
+
endpoint: string;
|
|
13064
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13065
|
+
fields?: string;
|
|
13066
|
+
/** 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. */
|
|
13067
|
+
key?: string;
|
|
13068
|
+
/** OAuth 2.0 token for the current user. */
|
|
13069
|
+
oauth_token?: string;
|
|
13070
|
+
/** Returns response with indentations and line breaks. */
|
|
13071
|
+
prettyPrint?: boolean;
|
|
13072
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
13073
|
+
quotaUser?: string;
|
|
13074
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13075
|
+
upload_protocol?: string;
|
|
13076
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13077
|
+
uploadType?: string;
|
|
13078
|
+
/** Request body */
|
|
13079
|
+
resource: GoogleCloudAiplatformV1beta1StreamRawPredictRequest;
|
|
13080
|
+
}): Request<GoogleApiHttpBody>;
|
|
13081
|
+
streamRawPredict(
|
|
13082
|
+
request: {
|
|
13083
|
+
/** V1 error format. */
|
|
13084
|
+
'$.xgafv'?: string;
|
|
13085
|
+
/** OAuth access token. */
|
|
13086
|
+
access_token?: string;
|
|
13087
|
+
/** Data format for response. */
|
|
13088
|
+
alt?: string;
|
|
13089
|
+
/** JSONP */
|
|
13090
|
+
callback?: string;
|
|
13091
|
+
/** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
13092
|
+
endpoint: string;
|
|
13093
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
13094
|
+
fields?: string;
|
|
13095
|
+
/** 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. */
|
|
13096
|
+
key?: string;
|
|
13097
|
+
/** OAuth 2.0 token for the current user. */
|
|
13098
|
+
oauth_token?: string;
|
|
13099
|
+
/** Returns response with indentations and line breaks. */
|
|
13100
|
+
prettyPrint?: boolean;
|
|
13101
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
13102
|
+
quotaUser?: string;
|
|
13103
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13104
|
+
upload_protocol?: string;
|
|
13105
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
13106
|
+
uploadType?: string;
|
|
13107
|
+
},
|
|
13108
|
+
body: GoogleCloudAiplatformV1beta1StreamRawPredictRequest
|
|
13109
|
+
): Request<GoogleApiHttpBody>;
|
|
13058
13110
|
/** Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning. */
|
|
13059
13111
|
testIamPermissions(request?: {
|
|
13060
13112
|
/** V1 error format. */
|
|
@@ -26381,6 +26433,64 @@ declare namespace gapi.client {
|
|
|
26381
26433
|
},
|
|
26382
26434
|
body: GoogleCloudAiplatformV1beta1GenerateContentRequest
|
|
26383
26435
|
): Request<GoogleCloudAiplatformV1beta1GenerateContentResponse>;
|
|
26436
|
+
/** Perform a streaming online prediction with an arbitrary HTTP payload. */
|
|
26437
|
+
streamRawPredict(request: {
|
|
26438
|
+
/** V1 error format. */
|
|
26439
|
+
'$.xgafv'?: string;
|
|
26440
|
+
/** OAuth access token. */
|
|
26441
|
+
access_token?: string;
|
|
26442
|
+
/** Data format for response. */
|
|
26443
|
+
alt?: string;
|
|
26444
|
+
/** JSONP */
|
|
26445
|
+
callback?: string;
|
|
26446
|
+
/** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
26447
|
+
endpoint: string;
|
|
26448
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
26449
|
+
fields?: string;
|
|
26450
|
+
/** 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. */
|
|
26451
|
+
key?: string;
|
|
26452
|
+
/** OAuth 2.0 token for the current user. */
|
|
26453
|
+
oauth_token?: string;
|
|
26454
|
+
/** Returns response with indentations and line breaks. */
|
|
26455
|
+
prettyPrint?: boolean;
|
|
26456
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
26457
|
+
quotaUser?: string;
|
|
26458
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
26459
|
+
upload_protocol?: string;
|
|
26460
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
26461
|
+
uploadType?: string;
|
|
26462
|
+
/** Request body */
|
|
26463
|
+
resource: GoogleCloudAiplatformV1beta1StreamRawPredictRequest;
|
|
26464
|
+
}): Request<GoogleApiHttpBody>;
|
|
26465
|
+
streamRawPredict(
|
|
26466
|
+
request: {
|
|
26467
|
+
/** V1 error format. */
|
|
26468
|
+
'$.xgafv'?: string;
|
|
26469
|
+
/** OAuth access token. */
|
|
26470
|
+
access_token?: string;
|
|
26471
|
+
/** Data format for response. */
|
|
26472
|
+
alt?: string;
|
|
26473
|
+
/** JSONP */
|
|
26474
|
+
callback?: string;
|
|
26475
|
+
/** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` */
|
|
26476
|
+
endpoint: string;
|
|
26477
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
26478
|
+
fields?: string;
|
|
26479
|
+
/** 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. */
|
|
26480
|
+
key?: string;
|
|
26481
|
+
/** OAuth 2.0 token for the current user. */
|
|
26482
|
+
oauth_token?: string;
|
|
26483
|
+
/** Returns response with indentations and line breaks. */
|
|
26484
|
+
prettyPrint?: boolean;
|
|
26485
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
26486
|
+
quotaUser?: string;
|
|
26487
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
26488
|
+
upload_protocol?: string;
|
|
26489
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
26490
|
+
uploadType?: string;
|
|
26491
|
+
},
|
|
26492
|
+
body: GoogleCloudAiplatformV1beta1StreamRawPredictRequest
|
|
26493
|
+
): Request<GoogleApiHttpBody>;
|
|
26384
26494
|
}
|
|
26385
26495
|
interface PublishersResource {
|
|
26386
26496
|
models: ModelsResource;
|