@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20240125 → 0.0.20240209
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 +135 -18
- 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: 20240209
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -238,17 +238,9 @@ declare namespace gapi.client {
|
|
|
238
238
|
interface CloudAiNlLlmProtoServicePartVideoMetadata {
|
|
239
239
|
/** The end offset of the video. */
|
|
240
240
|
endOffset?: string;
|
|
241
|
-
/** Internal only model level metadata. */
|
|
242
|
-
modelLevelMetaData?: CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata;
|
|
243
241
|
/** The start offset of the video. */
|
|
244
242
|
startOffset?: string;
|
|
245
243
|
}
|
|
246
|
-
interface CloudAiNlLlmProtoServicePartVideoMetadataModelLevelMetadata {
|
|
247
|
-
/** Frame rate to decode from this video. */
|
|
248
|
-
fps?: number;
|
|
249
|
-
/** Number of frames to decode from this video. */
|
|
250
|
-
numFrames?: number;
|
|
251
|
-
}
|
|
252
244
|
interface CloudAiNlLlmProtoServicePromptFeedback {
|
|
253
245
|
/** Blocked reason. */
|
|
254
246
|
blockReason?: string;
|
|
@@ -2034,7 +2026,7 @@ declare namespace gapi.client {
|
|
|
2034
2026
|
syncConfig?: GoogleCloudAiplatformV1beta1FeatureViewSyncConfig;
|
|
2035
2027
|
/** Output only. Timestamp when this FeatureView was last updated. */
|
|
2036
2028
|
updateTime?: string;
|
|
2037
|
-
/** Optional.
|
|
2029
|
+
/** Optional. Deprecated: please use FeatureView.index_config instead. */
|
|
2038
2030
|
vectorSearchConfig?: GoogleCloudAiplatformV1beta1FeatureViewVectorSearchConfig;
|
|
2039
2031
|
}
|
|
2040
2032
|
interface GoogleCloudAiplatformV1beta1FeatureViewBigQuerySource {
|
|
@@ -2998,9 +2990,9 @@ declare namespace gapi.client {
|
|
|
2998
2990
|
model?: string;
|
|
2999
2991
|
}
|
|
3000
2992
|
interface GoogleCloudAiplatformV1beta1Model {
|
|
3001
|
-
/** Immutable. The path to the directory containing the Model artifact and any of its supporting files. Not
|
|
2993
|
+
/** Immutable. The path to the directory containing the Model artifact and any of its supporting files. Not required for AutoML Models. */
|
|
3002
2994
|
artifactUri?: string;
|
|
3003
|
-
/** 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
|
|
2995
|
+
/** 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. */
|
|
3004
2996
|
containerSpec?: GoogleCloudAiplatformV1beta1ModelContainerSpec;
|
|
3005
2997
|
/** Output only. Timestamp when this Model was uploaded into Vertex AI. */
|
|
3006
2998
|
createTime?: string;
|
|
@@ -3088,6 +3080,8 @@ declare namespace gapi.client {
|
|
|
3088
3080
|
logSource?: string;
|
|
3089
3081
|
/** The type of log. */
|
|
3090
3082
|
logType?: string;
|
|
3083
|
+
/** Output only. The schema version of the request/response logging BigQuery table. Default to v1 if unset. */
|
|
3084
|
+
requestResponseLoggingSchemaVersion?: string;
|
|
3091
3085
|
}
|
|
3092
3086
|
interface GoogleCloudAiplatformV1beta1ModelDeploymentMonitoringJob {
|
|
3093
3087
|
/** YAML schema file uri describing the format of a single instance that you want Tensorflow Data Validation (TFDV) to analyze. If this field is empty, all the feature data types are inferred from predict_instance_schema_uri, meaning that TFDV will use the data in the exact format(data type) as prediction request/response. If there are any data type differences between predict instance and TFDV instance, this field can be used to override the schema. For models trained with Vertex AI, this field must be set as all the fields in predict instance formatted as string. */
|
|
@@ -3992,6 +3986,8 @@ declare namespace gapi.client {
|
|
|
3992
3986
|
createApplication?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences;
|
|
3993
3987
|
/** Optional. Deploy the PublisherModel to Vertex Endpoint. */
|
|
3994
3988
|
deploy?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeploy;
|
|
3989
|
+
/** Optional. Deploy PublisherModel to Google Kubernetes Engine. */
|
|
3990
|
+
deployGke?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke;
|
|
3995
3991
|
/** Optional. Open evaluation pipeline of the PublisherModel. */
|
|
3996
3992
|
openEvaluationPipeline?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences;
|
|
3997
3993
|
/** Optional. Open fine-tuning pipeline of the PublisherModel. */
|
|
@@ -4033,6 +4029,10 @@ declare namespace gapi.client {
|
|
|
4033
4029
|
/** Required. The title of the regional resource reference. */
|
|
4034
4030
|
title?: string;
|
|
4035
4031
|
}
|
|
4032
|
+
interface GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke {
|
|
4033
|
+
/** Optional. GKE deployment configuration in yaml format. */
|
|
4034
|
+
gkeYamlConfigs?: string[];
|
|
4035
|
+
}
|
|
4036
4036
|
interface GoogleCloudAiplatformV1beta1PublisherModelCallToActionOpenFineTuningPipelines {
|
|
4037
4037
|
/** Required. Regional resource references to fine tuning pipelines. */
|
|
4038
4038
|
fineTuningPipelines?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences[];
|
|
@@ -4426,8 +4426,6 @@ declare namespace gapi.client {
|
|
|
4426
4426
|
interface GoogleCloudAiplatformV1beta1Scheduling {
|
|
4427
4427
|
/** Optional. Indicates if the job should retry for internal errors after the job starts running. If true, overrides `Scheduling.restart_job_on_worker_restart` to false. */
|
|
4428
4428
|
disableRetries?: boolean;
|
|
4429
|
-
/** Optional. This is the maximum time a user will wait in the QRM queue for resources. Default is 1 day */
|
|
4430
|
-
maxWaitDuration?: string;
|
|
4431
4429
|
/** Restarts the entire CustomJob if a worker gets restarted. This feature can be used by distributed training jobs that are not resilient to workers leaving and joining a job. */
|
|
4432
4430
|
restartJobOnWorkerRestart?: boolean;
|
|
4433
4431
|
/** The maximum job running time. The default is 7 days. */
|
|
@@ -6415,6 +6413,8 @@ declare namespace gapi.client {
|
|
|
6415
6413
|
interface GoogleCloudAiplatformV1beta1UpsertDatapointsRequest {
|
|
6416
6414
|
/** A list of datapoints to be created/updated. */
|
|
6417
6415
|
datapoints?: GoogleCloudAiplatformV1beta1IndexDatapoint[];
|
|
6416
|
+
/** Optional. Update mask is used to specify the fields to be overwritten in the datapoints by the update. The fields specified in the update_mask are relative to each IndexDatapoint inside datapoints, not the full request. Updatable fields: * Use `all_restricts` to update both restricts and numeric_restricts. */
|
|
6417
|
+
updateMask?: string;
|
|
6418
6418
|
}
|
|
6419
6419
|
interface GoogleCloudAiplatformV1beta1UpsertDatapointsResponse {}
|
|
6420
6420
|
interface GoogleCloudAiplatformV1beta1UserActionReference {
|
|
@@ -6854,6 +6854,7 @@ declare namespace gapi.client {
|
|
|
6854
6854
|
imageViolence?: boolean;
|
|
6855
6855
|
pqc?: boolean;
|
|
6856
6856
|
safetycat?: LearningGenaiRootHarmSafetyCatCategories;
|
|
6857
|
+
/** Spii Filter uses buckets http://google3/google/privacy/dlp/v2/storage.proto;l=77;rcl=584719820 to classify the input. LMRoot converts the bucket into double score. For example the score for "POSSIBLE" is 3 / 5 = 0.6 . */
|
|
6857
6858
|
spii?: LearningGenaiRootHarmSpiiFilter;
|
|
6858
6859
|
threshold?: number;
|
|
6859
6860
|
videoFrameCsam?: boolean;
|
|
@@ -10377,7 +10378,7 @@ declare namespace gapi.client {
|
|
|
10377
10378
|
},
|
|
10378
10379
|
body: GoogleCloudAiplatformV1beta1DeployModelRequest
|
|
10379
10380
|
): Request<GoogleLongrunningOperation>;
|
|
10380
|
-
/** Perform an unary online prediction request for Vertex first-party products and frameworks. */
|
|
10381
|
+
/** Perform an unary online prediction request to a gRPC model server for Vertex first-party products and frameworks. */
|
|
10381
10382
|
directPredict(request: {
|
|
10382
10383
|
/** V1 error format. */
|
|
10383
10384
|
'$.xgafv'?: string;
|
|
@@ -10435,7 +10436,7 @@ declare namespace gapi.client {
|
|
|
10435
10436
|
},
|
|
10436
10437
|
body: GoogleCloudAiplatformV1beta1DirectPredictRequest
|
|
10437
10438
|
): Request<GoogleCloudAiplatformV1beta1DirectPredictResponse>;
|
|
10438
|
-
/** Perform an online prediction request
|
|
10439
|
+
/** Perform an unary online prediction request to a gRPC model server for custom containers. */
|
|
10439
10440
|
directRawPredict(request: {
|
|
10440
10441
|
/** V1 error format. */
|
|
10441
10442
|
'$.xgafv'?: string;
|
|
@@ -10551,6 +10552,64 @@ declare namespace gapi.client {
|
|
|
10551
10552
|
},
|
|
10552
10553
|
body: GoogleCloudAiplatformV1beta1ExplainRequest
|
|
10553
10554
|
): Request<GoogleCloudAiplatformV1beta1ExplainResponse>;
|
|
10555
|
+
/** Generate content with multimodal inputs. */
|
|
10556
|
+
generateContent(request: {
|
|
10557
|
+
/** V1 error format. */
|
|
10558
|
+
'$.xgafv'?: string;
|
|
10559
|
+
/** OAuth access token. */
|
|
10560
|
+
access_token?: string;
|
|
10561
|
+
/** Data format for response. */
|
|
10562
|
+
alt?: string;
|
|
10563
|
+
/** JSONP */
|
|
10564
|
+
callback?: string;
|
|
10565
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
10566
|
+
fields?: string;
|
|
10567
|
+
/** 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. */
|
|
10568
|
+
key?: string;
|
|
10569
|
+
/** Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*` */
|
|
10570
|
+
model: string;
|
|
10571
|
+
/** OAuth 2.0 token for the current user. */
|
|
10572
|
+
oauth_token?: string;
|
|
10573
|
+
/** Returns response with indentations and line breaks. */
|
|
10574
|
+
prettyPrint?: boolean;
|
|
10575
|
+
/** 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. */
|
|
10576
|
+
quotaUser?: string;
|
|
10577
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
10578
|
+
upload_protocol?: string;
|
|
10579
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
10580
|
+
uploadType?: string;
|
|
10581
|
+
/** Request body */
|
|
10582
|
+
resource: GoogleCloudAiplatformV1beta1GenerateContentRequest;
|
|
10583
|
+
}): Request<GoogleCloudAiplatformV1beta1GenerateContentResponse>;
|
|
10584
|
+
generateContent(
|
|
10585
|
+
request: {
|
|
10586
|
+
/** V1 error format. */
|
|
10587
|
+
'$.xgafv'?: string;
|
|
10588
|
+
/** OAuth access token. */
|
|
10589
|
+
access_token?: string;
|
|
10590
|
+
/** Data format for response. */
|
|
10591
|
+
alt?: string;
|
|
10592
|
+
/** JSONP */
|
|
10593
|
+
callback?: string;
|
|
10594
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
10595
|
+
fields?: string;
|
|
10596
|
+
/** 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. */
|
|
10597
|
+
key?: string;
|
|
10598
|
+
/** Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*` */
|
|
10599
|
+
model: string;
|
|
10600
|
+
/** OAuth 2.0 token for the current user. */
|
|
10601
|
+
oauth_token?: string;
|
|
10602
|
+
/** Returns response with indentations and line breaks. */
|
|
10603
|
+
prettyPrint?: boolean;
|
|
10604
|
+
/** 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. */
|
|
10605
|
+
quotaUser?: string;
|
|
10606
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
10607
|
+
upload_protocol?: string;
|
|
10608
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
10609
|
+
uploadType?: string;
|
|
10610
|
+
},
|
|
10611
|
+
body: GoogleCloudAiplatformV1beta1GenerateContentRequest
|
|
10612
|
+
): Request<GoogleCloudAiplatformV1beta1GenerateContentResponse>;
|
|
10554
10613
|
/** Gets an Endpoint. */
|
|
10555
10614
|
get(request?: {
|
|
10556
10615
|
/** V1 error format. */
|
|
@@ -13252,7 +13311,7 @@ declare namespace gapi.client {
|
|
|
13252
13311
|
prettyPrint?: boolean;
|
|
13253
13312
|
/** 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. */
|
|
13254
13313
|
quotaUser?: string;
|
|
13255
|
-
/** Field mask is used to specify the fields to be overwritten in the FeatureOnlineStore resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `big_query_source` * `labels` * `sync_config` */
|
|
13314
|
+
/** Field mask is used to specify the fields to be overwritten in the FeatureOnlineStore resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `big_query_source` * `bigtable` * `labels` * `sync_config` */
|
|
13256
13315
|
updateMask?: string;
|
|
13257
13316
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13258
13317
|
upload_protocol?: string;
|
|
@@ -13283,7 +13342,7 @@ declare namespace gapi.client {
|
|
|
13283
13342
|
prettyPrint?: boolean;
|
|
13284
13343
|
/** 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. */
|
|
13285
13344
|
quotaUser?: string;
|
|
13286
|
-
/** Field mask is used to specify the fields to be overwritten in the FeatureOnlineStore resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `big_query_source` * `labels` * `sync_config` */
|
|
13345
|
+
/** Field mask is used to specify the fields to be overwritten in the FeatureOnlineStore resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then only the non-empty fields present in the request will be overwritten. Set the update_mask to `*` to override all fields. Updatable fields: * `big_query_source` * `bigtable` * `labels` * `sync_config` */
|
|
13287
13346
|
updateMask?: string;
|
|
13288
13347
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
13289
13348
|
upload_protocol?: string;
|
|
@@ -22743,6 +22802,64 @@ declare namespace gapi.client {
|
|
|
22743
22802
|
},
|
|
22744
22803
|
body: GoogleCloudAiplatformV1beta1CountTokensRequest
|
|
22745
22804
|
): Request<GoogleCloudAiplatformV1beta1CountTokensResponse>;
|
|
22805
|
+
/** Generate content with multimodal inputs. */
|
|
22806
|
+
generateContent(request: {
|
|
22807
|
+
/** V1 error format. */
|
|
22808
|
+
'$.xgafv'?: string;
|
|
22809
|
+
/** OAuth access token. */
|
|
22810
|
+
access_token?: string;
|
|
22811
|
+
/** Data format for response. */
|
|
22812
|
+
alt?: string;
|
|
22813
|
+
/** JSONP */
|
|
22814
|
+
callback?: string;
|
|
22815
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
22816
|
+
fields?: string;
|
|
22817
|
+
/** 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. */
|
|
22818
|
+
key?: string;
|
|
22819
|
+
/** Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*` */
|
|
22820
|
+
model: string;
|
|
22821
|
+
/** OAuth 2.0 token for the current user. */
|
|
22822
|
+
oauth_token?: string;
|
|
22823
|
+
/** Returns response with indentations and line breaks. */
|
|
22824
|
+
prettyPrint?: boolean;
|
|
22825
|
+
/** 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. */
|
|
22826
|
+
quotaUser?: string;
|
|
22827
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
22828
|
+
upload_protocol?: string;
|
|
22829
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
22830
|
+
uploadType?: string;
|
|
22831
|
+
/** Request body */
|
|
22832
|
+
resource: GoogleCloudAiplatformV1beta1GenerateContentRequest;
|
|
22833
|
+
}): Request<GoogleCloudAiplatformV1beta1GenerateContentResponse>;
|
|
22834
|
+
generateContent(
|
|
22835
|
+
request: {
|
|
22836
|
+
/** V1 error format. */
|
|
22837
|
+
'$.xgafv'?: string;
|
|
22838
|
+
/** OAuth access token. */
|
|
22839
|
+
access_token?: string;
|
|
22840
|
+
/** Data format for response. */
|
|
22841
|
+
alt?: string;
|
|
22842
|
+
/** JSONP */
|
|
22843
|
+
callback?: string;
|
|
22844
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
22845
|
+
fields?: string;
|
|
22846
|
+
/** 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. */
|
|
22847
|
+
key?: string;
|
|
22848
|
+
/** Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*/models/*` */
|
|
22849
|
+
model: string;
|
|
22850
|
+
/** OAuth 2.0 token for the current user. */
|
|
22851
|
+
oauth_token?: string;
|
|
22852
|
+
/** Returns response with indentations and line breaks. */
|
|
22853
|
+
prettyPrint?: boolean;
|
|
22854
|
+
/** 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. */
|
|
22855
|
+
quotaUser?: string;
|
|
22856
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
22857
|
+
upload_protocol?: string;
|
|
22858
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
22859
|
+
uploadType?: string;
|
|
22860
|
+
},
|
|
22861
|
+
body: GoogleCloudAiplatformV1beta1GenerateContentRequest
|
|
22862
|
+
): Request<GoogleCloudAiplatformV1beta1GenerateContentResponse>;
|
|
22746
22863
|
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
22747
22864
|
getIamPolicy(request?: {
|
|
22748
22865
|
/** V1 error format. */
|