@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20240725 → 0.0.20240809

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.
Files changed (2) hide show
  1. package/index.d.ts +166 -10
  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: 20240725
12
+ // Revision: 20240809
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -35,6 +35,8 @@ declare namespace gapi.client {
35
35
  interface CloudAiLargeModelsVisionImage {
36
36
  /** Image encoding, encoded as "image/png" or "image/jpg". */
37
37
  encoding?: string;
38
+ /** Generation seed for the sampled image. This parameter is exposed to the user only if one of the following is true: 1. The user specified per-example seeds in the request. 2. The user doesn't specify the generation seed in the request. */
39
+ generationSeed?: number;
38
40
  /** Raw bytes. */
39
41
  image?: string;
40
42
  /** RAI scores for generated image. */
@@ -393,6 +395,10 @@ declare namespace gapi.client {
393
395
  partialFailures?: GoogleRpcStatus[];
394
396
  /** Output only. Information about resources that had been consumed by this job. Provided in real time at best effort basis, as well as a final value once the job completes. Note: This field currently may be not populated for batch predictions that use AutoML Models. */
395
397
  resourcesConsumed?: GoogleCloudAiplatformV1ResourcesConsumed;
398
+ /** Output only. Reserved for future use. */
399
+ satisfiesPzi?: boolean;
400
+ /** Output only. Reserved for future use. */
401
+ satisfiesPzs?: boolean;
396
402
  /** The service account that the DeployedModel's container runs as. If not specified, a system generated one will be used, which has minimal permissions and the custom container, if used, may not have enough permission to access other Google Cloud resources. Users deploying the Model must have the `iam.serviceAccounts.actAs` permission on this service account. */
397
403
  serviceAccount?: string;
398
404
  /** Output only. Time when the BatchPredictionJob for the first time entered the `JOB_STATE_RUNNING` state. */
@@ -528,6 +534,8 @@ declare namespace gapi.client {
528
534
  interface GoogleCloudAiplatformV1CancelTrainingPipelineRequest {}
529
535
  interface GoogleCloudAiplatformV1CancelTuningJobRequest {}
530
536
  interface GoogleCloudAiplatformV1Candidate {
537
+ /** Output only. Average log probability score of the candidate. */
538
+ avgLogprobs?: number;
531
539
  /** Output only. Source attribution of the generated content. */
532
540
  citationMetadata?: GoogleCloudAiplatformV1CitationMetadata;
533
541
  /** Output only. Content parts of the candidate. */
@@ -542,8 +550,6 @@ declare namespace gapi.client {
542
550
  index?: number;
543
551
  /** Output only. List of ratings for the safety of a response candidate. There is at most one rating per category. */
544
552
  safetyRatings?: GoogleCloudAiplatformV1SafetyRating[];
545
- /** Output only. Confidence score of the candidate. */
546
- score?: number;
547
553
  }
548
554
  interface GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateMetatdata {
549
555
  /** Operation metadata for suggesting Trials. */
@@ -855,6 +861,10 @@ declare namespace gapi.client {
855
861
  labels?: {[P in string]: string};
856
862
  /** Output only. Resource name of a CustomJob. */
857
863
  name?: string;
864
+ /** Output only. Reserved for future use. */
865
+ satisfiesPzi?: boolean;
866
+ /** Output only. Reserved for future use. */
867
+ satisfiesPzs?: boolean;
858
868
  /** Output only. Time when the CustomJob for the first time entered the `JOB_STATE_RUNNING` state. */
859
869
  startTime?: string;
860
870
  /** Output only. The detailed state of the job. */
@@ -905,6 +915,10 @@ declare namespace gapi.client {
905
915
  name?: string;
906
916
  /** Required. The data that the DataItem represents (for example, an image or a text snippet). The schema of the payload is stored in the parent Dataset's metadata schema's dataItemSchemaUri field. */
907
917
  payload?: any;
918
+ /** Output only. Reserved for future use. */
919
+ satisfiesPzi?: boolean;
920
+ /** Output only. Reserved for future use. */
921
+ satisfiesPzs?: boolean;
908
922
  /** Output only. Timestamp when this DataItem was last updated. */
909
923
  updateTime?: string;
910
924
  }
@@ -979,6 +993,10 @@ declare namespace gapi.client {
979
993
  modelReference?: string;
980
994
  /** Output only. Identifier. The resource name of the Dataset. */
981
995
  name?: string;
996
+ /** Output only. Reserved for future use. */
997
+ satisfiesPzi?: boolean;
998
+ /** Output only. Reserved for future use. */
999
+ satisfiesPzs?: boolean;
982
1000
  /** All SavedQueries belong to the Dataset will be returned in List/Get Dataset response. The annotation_specs field will not be populated except for UI cases which will only use annotation_spec_count. In CreateDataset request, a SavedQuery is created together if this field is set, up to one SavedQuery can be set in CreateDatasetRequest. The SavedQuery should not contain any AnnotationSpec. */
983
1001
  savedQueries?: GoogleCloudAiplatformV1SavedQuery[];
984
1002
  /** Output only. Timestamp when this Dataset was last updated. */
@@ -999,6 +1017,10 @@ declare namespace gapi.client {
999
1017
  modelReference?: string;
1000
1018
  /** Output only. Identifier. The resource name of the DatasetVersion. */
1001
1019
  name?: string;
1020
+ /** Output only. Reserved for future use. */
1021
+ satisfiesPzi?: boolean;
1022
+ /** Output only. Reserved for future use. */
1023
+ satisfiesPzs?: boolean;
1002
1024
  /** Output only. Timestamp when this DatasetVersion was last updated. */
1003
1025
  updateTime?: string;
1004
1026
  }
@@ -1011,6 +1033,8 @@ declare namespace gapi.client {
1011
1033
  maxReplicaCount?: number;
1012
1034
  /** Required. Immutable. The minimum number of machine replicas this DeployedModel will be always deployed on. This value must be greater than or equal to 1. If traffic against the DeployedModel increases, it may dynamically be deployed onto more replicas, and as traffic decreases, some of these extra replicas may be freed. */
1013
1035
  minReplicaCount?: number;
1036
+ /** Optional. If true, schedule the deployment workload on [spot VMs](https://cloud.google.com/kubernetes-engine/docs/concepts/spot-vms). */
1037
+ spot?: boolean;
1014
1038
  }
1015
1039
  interface GoogleCloudAiplatformV1DeleteFeatureValuesOperationMetadata {
1016
1040
  /** Operation metadata for Featurestore delete Features values. */
@@ -1167,6 +1191,10 @@ declare namespace gapi.client {
1167
1191
  encryptionSpec?: GoogleCloudAiplatformV1EncryptionSpec;
1168
1192
  /** Immutable. The resource name of the DeploymentResourcePool. Format: `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` */
1169
1193
  name?: string;
1194
+ /** Output only. Reserved for future use. */
1195
+ satisfiesPzi?: boolean;
1196
+ /** Output only. Reserved for future use. */
1197
+ satisfiesPzs?: boolean;
1170
1198
  /** The service account that the DeploymentResourcePool's container(s) run as. Specify the email address of the service account. If this service account is not specified, the container(s) run as a service account that doesn't have access to the resource project. Users deploying the Models to this DeploymentResourcePool must have the `iam.serviceAccounts.actAs` permission on this service account. */
1171
1199
  serviceAccount?: string;
1172
1200
  }
@@ -1257,6 +1285,10 @@ declare namespace gapi.client {
1257
1285
  predictRequestResponseLoggingConfig?: GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig;
1258
1286
  /** Optional. Configuration for private service connect. network and private_service_connect_config are mutually exclusive. */
1259
1287
  privateServiceConnectConfig?: GoogleCloudAiplatformV1PrivateServiceConnectConfig;
1288
+ /** Output only. Reserved for future use. */
1289
+ satisfiesPzi?: boolean;
1290
+ /** Output only. Reserved for future use. */
1291
+ satisfiesPzs?: boolean;
1260
1292
  /** A map from a DeployedModel's ID to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel. If a DeployedModel's ID is not listed in this map, then it receives no traffic. The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment. */
1261
1293
  trafficSplit?: {[P in string]: number};
1262
1294
  /** Output only. Timestamp when this Endpoint was last updated. */
@@ -1283,6 +1315,10 @@ declare namespace gapi.client {
1283
1315
  name?: string;
1284
1316
  /** Optional. Config for data retention policy in offline storage. TTL in days for feature values that will be stored in offline storage. The Feature Store offline storage periodically removes obsolete feature values older than `offline_storage_ttl_days` since the feature generation time. If unset (or explicitly set to 0), default to 4000 days TTL. */
1285
1317
  offlineStorageTtlDays?: number;
1318
+ /** Output only. Reserved for future use. */
1319
+ satisfiesPzi?: boolean;
1320
+ /** Output only. Reserved for future use. */
1321
+ satisfiesPzs?: boolean;
1286
1322
  /** Output only. Timestamp when this EntityType was most recently updated. */
1287
1323
  updateTime?: string;
1288
1324
  }
@@ -1343,10 +1379,14 @@ declare namespace gapi.client {
1343
1379
  fulfillmentInput?: GoogleCloudAiplatformV1FulfillmentInput;
1344
1380
  /** Input for groundedness metric. */
1345
1381
  groundednessInput?: GoogleCloudAiplatformV1GroundednessInput;
1382
+ /** Input for pairwise metric. */
1383
+ pairwiseMetricInput?: GoogleCloudAiplatformV1PairwiseMetricInput;
1346
1384
  /** Input for pairwise question answering quality metric. */
1347
1385
  pairwiseQuestionAnsweringQualityInput?: GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInput;
1348
1386
  /** Input for pairwise summarization quality metric. */
1349
1387
  pairwiseSummarizationQualityInput?: GoogleCloudAiplatformV1PairwiseSummarizationQualityInput;
1388
+ /** Input for pointwise metric. */
1389
+ pointwiseMetricInput?: GoogleCloudAiplatformV1PointwiseMetricInput;
1350
1390
  /** Input for question answering correctness metric. */
1351
1391
  questionAnsweringCorrectnessInput?: GoogleCloudAiplatformV1QuestionAnsweringCorrectnessInput;
1352
1392
  /** Input for question answering helpfulness metric. */
@@ -1387,10 +1427,14 @@ declare namespace gapi.client {
1387
1427
  fulfillmentResult?: GoogleCloudAiplatformV1FulfillmentResult;
1388
1428
  /** Result for groundedness metric. */
1389
1429
  groundednessResult?: GoogleCloudAiplatformV1GroundednessResult;
1430
+ /** Result for pairwise metric. */
1431
+ pairwiseMetricResult?: GoogleCloudAiplatformV1PairwiseMetricResult;
1390
1432
  /** Result for pairwise question answering quality metric. */
1391
1433
  pairwiseQuestionAnsweringQualityResult?: GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityResult;
1392
1434
  /** Result for pairwise summarization quality metric. */
1393
1435
  pairwiseSummarizationQualityResult?: GoogleCloudAiplatformV1PairwiseSummarizationQualityResult;
1436
+ /** Generic metrics. Result for pointwise metric. */
1437
+ pointwiseMetricResult?: GoogleCloudAiplatformV1PointwiseMetricResult;
1394
1438
  /** Result for question answering correctness metric. */
1395
1439
  questionAnsweringCorrectnessResult?: GoogleCloudAiplatformV1QuestionAnsweringCorrectnessResult;
1396
1440
  /** Result for question answering helpfulness metric. */
@@ -1808,6 +1852,12 @@ declare namespace gapi.client {
1808
1852
  bigQuerySource?: GoogleCloudAiplatformV1BigQuerySource;
1809
1853
  /** Optional. Columns to construct entity_id / row keys. If not provided defaults to `entity_id`. */
1810
1854
  entityIdColumns?: string[];
1855
+ /** Optional. If the source is a time-series source, this can be set to control how downstream sources (ex: FeatureOnlineStore.FeatureView) will treat time series sources. If not set, will treat the source as a time-series source with feature_timestamp as timestamp column and no scan boundary. */
1856
+ timeSeries?: GoogleCloudAiplatformV1FeatureGroupBigQueryTimeSeries;
1857
+ }
1858
+ interface GoogleCloudAiplatformV1FeatureGroupBigQueryTimeSeries {
1859
+ /** Optional. Column hosting timestamp values for a time-series source. Will be used to determine the latest featureValues for each entity. Optional. If not provided, a feature_timestamp column of type TIMESTAMP will be used. */
1860
+ timestampColumn?: string;
1811
1861
  }
1812
1862
  interface GoogleCloudAiplatformV1FeatureMonitoringStatsAnomaly {
1813
1863
  /** Output only. The stats and anomalies generated at specific timestamp. */
@@ -1842,6 +1892,10 @@ declare namespace gapi.client {
1842
1892
  name?: string;
1843
1893
  /** Contains settings for the Optimized store that will be created to serve featureValues for all FeatureViews under this FeatureOnlineStore. When choose Optimized storage type, need to set PrivateServiceConnectConfig.enable_private_service_connect to use private endpoint. Otherwise will use public endpoint by default. */
1844
1894
  optimized?: any;
1895
+ /** Output only. Reserved for future use. */
1896
+ satisfiesPzi?: boolean;
1897
+ /** Output only. Reserved for future use. */
1898
+ satisfiesPzs?: boolean;
1845
1899
  /** Output only. State of the featureOnlineStore. */
1846
1900
  state?: string;
1847
1901
  /** Output only. Timestamp when this FeatureOnlineStore was last updated. */
@@ -1903,6 +1957,10 @@ declare namespace gapi.client {
1903
1957
  onlineServingConfig?: GoogleCloudAiplatformV1FeaturestoreOnlineServingConfig;
1904
1958
  /** Optional. TTL in days for feature values that will be stored in online serving storage. The Feature Store online storage periodically removes obsolete feature values older than `online_storage_ttl_days` since the feature generation time. Note that `online_storage_ttl_days` should be less than or equal to `offline_storage_ttl_days` for each EntityType under a featurestore. If not set, default to 4000 days */
1905
1959
  onlineStorageTtlDays?: number;
1960
+ /** Output only. Reserved for future use. */
1961
+ satisfiesPzi?: boolean;
1962
+ /** Output only. Reserved for future use. */
1963
+ satisfiesPzs?: boolean;
1906
1964
  /** Output only. State of the featurestore. */
1907
1965
  state?: string;
1908
1966
  /** Output only. Timestamp when this Featurestore was last updated. */
@@ -2005,6 +2063,10 @@ declare namespace gapi.client {
2005
2063
  labels?: {[P in string]: string};
2006
2064
  /** Identifier. Name of the FeatureView. Format: `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` */
2007
2065
  name?: string;
2066
+ /** Output only. Reserved for future use. */
2067
+ satisfiesPzi?: boolean;
2068
+ /** Output only. Reserved for future use. */
2069
+ satisfiesPzs?: boolean;
2008
2070
  /** Configures when data is to be synced/updated for this FeatureView. At the end of the sync the latest featureValues for each entityId of this FeatureView are made ready for online serving. */
2009
2071
  syncConfig?: GoogleCloudAiplatformV1FeatureViewSyncConfig;
2010
2072
  /** Output only. Timestamp when this FeatureView was last updated. */
@@ -2068,6 +2130,10 @@ declare namespace gapi.client {
2068
2130
  name?: string;
2069
2131
  /** Output only. Time when this FeatureViewSync is finished. */
2070
2132
  runTime?: GoogleTypeInterval;
2133
+ /** Output only. Reserved for future use. */
2134
+ satisfiesPzi?: boolean;
2135
+ /** Output only. Reserved for future use. */
2136
+ satisfiesPzs?: boolean;
2071
2137
  /** Output only. Summary of the sync job. */
2072
2138
  syncSummary?: GoogleCloudAiplatformV1FeatureViewSyncSyncSummary;
2073
2139
  }
@@ -2284,7 +2350,7 @@ declare namespace gapi.client {
2284
2350
  interface GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata {
2285
2351
  /** Number of tokens in the response(s). */
2286
2352
  candidatesTokenCount?: number;
2287
- /** Number of tokens in the request. */
2353
+ /** Number of tokens in the request. When `cached_content` is set, this is still the total effective prompt size meaning this includes the number of tokens in the cached content. */
2288
2354
  promptTokenCount?: number;
2289
2355
  totalTokenCount?: number;
2290
2356
  }
@@ -2301,6 +2367,10 @@ declare namespace gapi.client {
2301
2367
  responseMimeType?: string;
2302
2368
  /** Optional. The `Schema` object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema). If set, a compatible response_mime_type must also be set. Compatible mimetypes: `application/json`: Schema for JSON response. */
2303
2369
  responseSchema?: GoogleCloudAiplatformV1Schema;
2370
+ /** Optional. Routing configuration. */
2371
+ routingConfig?: GoogleCloudAiplatformV1GenerationConfigRoutingConfig;
2372
+ /** Optional. Seed. */
2373
+ seed?: number;
2304
2374
  /** Optional. Stop sequences. */
2305
2375
  stopSequences?: string[];
2306
2376
  /** Optional. Controls the randomness of predictions. */
@@ -2310,6 +2380,20 @@ declare namespace gapi.client {
2310
2380
  /** Optional. If specified, nucleus sampling will be used. */
2311
2381
  topP?: number;
2312
2382
  }
2383
+ interface GoogleCloudAiplatformV1GenerationConfigRoutingConfig {
2384
+ /** Automated routing. */
2385
+ autoMode?: GoogleCloudAiplatformV1GenerationConfigRoutingConfigAutoRoutingMode;
2386
+ /** Manual routing. */
2387
+ manualMode?: GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode;
2388
+ }
2389
+ interface GoogleCloudAiplatformV1GenerationConfigRoutingConfigAutoRoutingMode {
2390
+ /** The model routing preference. */
2391
+ modelRoutingPreference?: string;
2392
+ }
2393
+ interface GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode {
2394
+ /** The model name to use. Only the public LLM models are accepted. e.g. gemini-1.5-pro-001. */
2395
+ modelName?: string;
2396
+ }
2313
2397
  interface GoogleCloudAiplatformV1GenericOperationMetadata {
2314
2398
  /** Output only. Time when the operation was created. */
2315
2399
  createTime?: string;
@@ -2404,6 +2488,10 @@ declare namespace gapi.client {
2404
2488
  name?: string;
2405
2489
  /** Required. The desired number of Trials to run in parallel. */
2406
2490
  parallelTrialCount?: number;
2491
+ /** Output only. Reserved for future use. */
2492
+ satisfiesPzi?: boolean;
2493
+ /** Output only. Reserved for future use. */
2494
+ satisfiesPzs?: boolean;
2407
2495
  /** Output only. Time when the HyperparameterTuningJob for the first time entered the `JOB_STATE_RUNNING` state. */
2408
2496
  startTime?: string;
2409
2497
  /** Output only. The detailed state of the job. */
@@ -2520,6 +2608,10 @@ declare namespace gapi.client {
2520
2608
  metadataSchemaUri?: string;
2521
2609
  /** Output only. The resource name of the Index. */
2522
2610
  name?: string;
2611
+ /** Output only. Reserved for future use. */
2612
+ satisfiesPzi?: boolean;
2613
+ /** Output only. Reserved for future use. */
2614
+ satisfiesPzs?: boolean;
2523
2615
  /** Output only. Timestamp when this Index was most recently updated. This also includes any update to the contents of the Index. Note that Operations working on this Index may have their Operations.metadata.generic_metadata.update_time a little after the value of this timestamp, yet that does not mean their results are not already reflected in the Index. Result of any successfully completed Operation on the Index is reflected in it. */
2524
2616
  updateTime?: string;
2525
2617
  }
@@ -2594,6 +2686,10 @@ declare namespace gapi.client {
2594
2686
  publicEndpointDomainName?: string;
2595
2687
  /** Optional. If true, the deployed index will be accessible through public endpoint. */
2596
2688
  publicEndpointEnabled?: boolean;
2689
+ /** Output only. Reserved for future use. */
2690
+ satisfiesPzi?: boolean;
2691
+ /** Output only. Reserved for future use. */
2692
+ satisfiesPzs?: boolean;
2597
2693
  /** Output only. Timestamp when this IndexEndpoint was last updated. This timestamp is not updated when the endpoint's DeployedIndexes are updated, e.g. due to updates of the original Indexes they are the deployments of. */
2598
2694
  updateTime?: string;
2599
2695
  }
@@ -2960,6 +3056,8 @@ declare namespace gapi.client {
2960
3056
  acceleratorType?: string;
2961
3057
  /** Immutable. The type of the machine. See the [list of machine types supported for prediction](https://cloud.google.com/vertex-ai/docs/predictions/configure-compute#machine-types) See the [list of machine types supported for custom training](https://cloud.google.com/vertex-ai/docs/training/configure-compute#machine-types). For DeployedModel this field is optional, and the default value is `n1-standard-2`. For BatchPredictionJob or as part of WorkerPoolSpec this field is required. */
2962
3058
  machineType?: string;
3059
+ /** Optional. Immutable. Configuration controlling how this resource pool consumes reservation. */
3060
+ reservationAffinity?: GoogleCloudAiplatformV1ReservationAffinity;
2963
3061
  /** Immutable. The topology of the TPUs. Corresponds to the TPU topologies available from GKE. (Example: tpu_topology: "2x2x1"). */
2964
3062
  tpuTopology?: string;
2965
3063
  }
@@ -3282,6 +3380,10 @@ declare namespace gapi.client {
3282
3380
  predictInstanceSchemaUri?: string;
3283
3381
  /** Sample Predict instance, same format as PredictRequest.instances, this can be set as a replacement of ModelDeploymentMonitoringJob.predict_instance_schema_uri. If not set, we will generate predict schema from collected predict requests. */
3284
3382
  samplePredictInstance?: any;
3383
+ /** Output only. Reserved for future use. */
3384
+ satisfiesPzi?: boolean;
3385
+ /** Output only. Reserved for future use. */
3386
+ satisfiesPzs?: boolean;
3285
3387
  /** Output only. Schedule state when the monitoring job is in Running state. */
3286
3388
  scheduleState?: string;
3287
3389
  /** Output only. The detailed state of the monitoring job. When the job is still creating, the state will be 'PENDING'. Once the job is successfully created, the state will be 'RUNNING'. Pause the job, the state will be 'PAUSED'. Resume the job, the state will return to 'RUNNING'. */
@@ -3546,6 +3648,10 @@ declare namespace gapi.client {
3546
3648
  nasJobOutput?: GoogleCloudAiplatformV1NasJobOutput;
3547
3649
  /** Required. The specification of a NasJob. */
3548
3650
  nasJobSpec?: GoogleCloudAiplatformV1NasJobSpec;
3651
+ /** Output only. Reserved for future use. */
3652
+ satisfiesPzi?: boolean;
3653
+ /** Output only. Reserved for future use. */
3654
+ satisfiesPzs?: boolean;
3549
3655
  /** Output only. Time when the NasJob for the first time entered the `JOB_STATE_RUNNING` state. */
3550
3656
  startTime?: string;
3551
3657
  /** Output only. The detailed state of the job. */
@@ -3754,6 +3860,8 @@ declare namespace gapi.client {
3754
3860
  directNotebookSource?: GoogleCloudAiplatformV1NotebookExecutionJobDirectNotebookSource;
3755
3861
  /** The display name of the NotebookExecutionJob. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
3756
3862
  displayName?: string;
3863
+ /** Customer-managed encryption key spec for the notebook execution job. This field is auto-populated if the NotebookRuntimeTemplate has an encryption spec. */
3864
+ encryptionSpec?: GoogleCloudAiplatformV1EncryptionSpec;
3757
3865
  /** Max running time of the execution job in seconds (default 86400s / 24 hrs). */
3758
3866
  executionTimeout?: string;
3759
3867
  /** The user email to run the execution as. Only supported by Colab runtimes. */
@@ -3887,6 +3995,26 @@ declare namespace gapi.client {
3887
3995
  /** Immutable. A resource name of the NotebookRuntimeTemplate. */
3888
3996
  notebookRuntimeTemplate?: string;
3889
3997
  }
3998
+ interface GoogleCloudAiplatformV1PairwiseMetricInput {
3999
+ /** Required. Pairwise metric instance. */
4000
+ instance?: GoogleCloudAiplatformV1PairwiseMetricInstance;
4001
+ /** Required. Spec for pairwise metric. */
4002
+ metricSpec?: GoogleCloudAiplatformV1PairwiseMetricSpec;
4003
+ }
4004
+ interface GoogleCloudAiplatformV1PairwiseMetricInstance {
4005
+ /** Instance specified as a json string. String key-value pairs are expected in the json_instance to render PairwiseMetricSpec.instance_prompt_template. */
4006
+ jsonInstance?: string;
4007
+ }
4008
+ interface GoogleCloudAiplatformV1PairwiseMetricResult {
4009
+ /** Output only. Explanation for pairwise metric score. */
4010
+ explanation?: string;
4011
+ /** Output only. Pairwise metric choice. */
4012
+ pairwiseChoice?: string;
4013
+ }
4014
+ interface GoogleCloudAiplatformV1PairwiseMetricSpec {
4015
+ /** Required. Metric prompt template for pairwise metric. */
4016
+ metricPromptTemplate?: string;
4017
+ }
3890
4018
  interface GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInput {
3891
4019
  /** Required. Pairwise question answering quality instance. */
3892
4020
  instance?: GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInstance;
@@ -3988,8 +4116,6 @@ declare namespace gapi.client {
3988
4116
  name?: string;
3989
4117
  /** Optional. The full name of the Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to peered with Vertex AI to host the persistent resources. For example, `projects/12345/global/networks/myVPC`. [Format](/compute/docs/reference/rest/v1/networks/insert) is of the form `projects/{project}/global/networks/{network}`. Where {project} is a project number, as in `12345`, and {network} is a network name. To specify this field, you must have already [configured VPC Network Peering for Vertex AI](https://cloud.google.com/vertex-ai/docs/general/vpc-peering). If this field is left unspecified, the resources aren't peered with any network. */
3990
4118
  network?: string;
3991
- /** Optional. Configuration for PSC-I for PersistentResource. */
3992
- pscInterfaceConfig?: GoogleCloudAiplatformV1PscInterfaceConfig;
3993
4119
  /** Optional. A list of names for the reserved IP ranges under the VPC network that can be used for this persistent resource. If set, we will deploy the persistent resource within the provided IP ranges. Otherwise, the persistent resource is deployed to any IP ranges under the provided VPC network. Example: ['vertex-ai-ip-range']. */
3994
4120
  reservedIpRanges?: string[];
3995
4121
  /** Required. The spec of the pools of different resources. */
@@ -4143,6 +4269,26 @@ declare namespace gapi.client {
4143
4269
  /** The version_name in artifact registry. Will always be presented in output if the PipelineJob.template_uri is from supported template registry. Format is "sha256:abcdef123456...". */
4144
4270
  version?: string;
4145
4271
  }
4272
+ interface GoogleCloudAiplatformV1PointwiseMetricInput {
4273
+ /** Required. Pointwise metric instance. */
4274
+ instance?: GoogleCloudAiplatformV1PointwiseMetricInstance;
4275
+ /** Required. Spec for pointwise metric. */
4276
+ metricSpec?: GoogleCloudAiplatformV1PointwiseMetricSpec;
4277
+ }
4278
+ interface GoogleCloudAiplatformV1PointwiseMetricInstance {
4279
+ /** Instance specified as a json string. String key-value pairs are expected in the json_instance to render PointwiseMetricSpec.instance_prompt_template. */
4280
+ jsonInstance?: string;
4281
+ }
4282
+ interface GoogleCloudAiplatformV1PointwiseMetricResult {
4283
+ /** Output only. Explanation for pointwise metric score. */
4284
+ explanation?: string;
4285
+ /** Output only. Pointwise metric score. */
4286
+ score?: number;
4287
+ }
4288
+ interface GoogleCloudAiplatformV1PointwiseMetricSpec {
4289
+ /** Required. Metric prompt template for pointwise metric. */
4290
+ metricPromptTemplate?: string;
4291
+ }
4146
4292
  interface GoogleCloudAiplatformV1Port {
4147
4293
  /** The number of the port to expose on the pod's IP address. Must be a valid port number, between 1 and 65535 inclusive. */
4148
4294
  containerPort?: number;
@@ -4208,6 +4354,8 @@ declare namespace gapi.client {
4208
4354
  enablePrivateServiceConnect?: boolean;
4209
4355
  /** A list of Projects from which the forwarding rule will target the service attachment. */
4210
4356
  projectAllowlist?: string[];
4357
+ /** Output only. The name of the generated service attachment resource. This is only populated if the endpoint is deployed with PrivateServiceConnect. */
4358
+ serviceAttachment?: string;
4211
4359
  }
4212
4360
  interface GoogleCloudAiplatformV1Probe {
4213
4361
  /** ExecAction probes the health of a container by executing a command. */
@@ -4229,10 +4377,6 @@ declare namespace gapi.client {
4229
4377
  /** Corresponding project_id in pscAutomationConfigs */
4230
4378
  projectId?: string;
4231
4379
  }
4232
- interface GoogleCloudAiplatformV1PscInterfaceConfig {
4233
- /** Optional. The full name of the Compute Engine [network attachment](https://cloud.google.com/vpc/docs/about-network-attachments) to attach to the resource. For example, `projects/12345/regions/us-central1/networkAttachments/myNA`. is of the form `projects/{project}/regions/{region}/networkAttachments/{networkAttachment}`. Where {project} is a project number, as in `12345`, and {networkAttachment} is a network attachment name. To specify this field, you must have already [created a network attachment] (https://cloud.google.com/vpc/docs/create-manage-network-attachments#create-network-attachments). This field is only used for resources using PSC-I. */
4234
- networkAttachment?: string;
4235
- }
4236
4380
  interface GoogleCloudAiplatformV1PublisherModel {
4237
4381
  /** Optional. Additional information about the model's Frameworks. */
4238
4382
  frameworks?: string[];
@@ -4308,6 +4452,8 @@ declare namespace gapi.client {
4308
4452
  interface GoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata {
4309
4453
  /** Optional. Labels for the deployment. For managing deployment config like verifying, source of deployment config, etc. */
4310
4454
  labels?: {[P in string]: string};
4455
+ /** Optional. Sample request for deployed endpoint. */
4456
+ sampleRequest?: string;
4311
4457
  }
4312
4458
  interface GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke {
4313
4459
  /** Optional. GKE deployment configuration in yaml format. */
@@ -4662,6 +4808,14 @@ declare namespace gapi.client {
4662
4808
  datapointIds?: string[];
4663
4809
  }
4664
4810
  interface GoogleCloudAiplatformV1RemoveDatapointsResponse {}
4811
+ interface GoogleCloudAiplatformV1ReservationAffinity {
4812
+ /** Optional. Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, use `compute.googleapis.com/reservation-name` as the key and specify the name of your reservation as its value. */
4813
+ key?: string;
4814
+ /** Required. Specifies the reservation affinity type. */
4815
+ reservationAffinityType?: string;
4816
+ /** Optional. Corresponds to the label values of a reservation resource. This must be the full resource name of the reservation. */
4817
+ values?: string[];
4818
+ }
4665
4819
  interface GoogleCloudAiplatformV1ResourcePool {
4666
4820
  /** Optional. Optional spec to configure GKE or Ray-on-Vertex autoscaling */
4667
4821
  autoscalingSpec?: GoogleCloudAiplatformV1ResourcePoolAutoscalingSpec;
@@ -27670,6 +27824,8 @@ declare namespace gapi.client {
27670
27824
  callback?: string;
27671
27825
  /** Selector specifying which fields to include in a partial response. */
27672
27826
  fields?: string;
27827
+ /** Optional. Token used to access Hugging Face gated models. */
27828
+ huggingFaceToken?: string;
27673
27829
  /** Optional. Boolean indicates whether the requested model is a Hugging Face model. */
27674
27830
  isHuggingFaceModel?: boolean;
27675
27831
  /** 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. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1",
3
- "version": "0.0.20240725",
3
+ "version": "0.0.20240809",
4
4
  "description": "TypeScript typings for Vertex AI API v1",
5
5
  "repository": {
6
6
  "type": "git",