@maxim_mazurok/gapi.client.aiplatform-v1 0.0.20240715 → 0.0.20240727

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 +73 -9
  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: 20240715
12
+ // Revision: 20240727
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. */
@@ -542,8 +548,6 @@ declare namespace gapi.client {
542
548
  index?: number;
543
549
  /** Output only. List of ratings for the safety of a response candidate. There is at most one rating per category. */
544
550
  safetyRatings?: GoogleCloudAiplatformV1SafetyRating[];
545
- /** Output only. Confidence score of the candidate. */
546
- score?: number;
547
551
  }
548
552
  interface GoogleCloudAiplatformV1CheckTrialEarlyStoppingStateMetatdata {
549
553
  /** Operation metadata for suggesting Trials. */
@@ -855,6 +859,10 @@ declare namespace gapi.client {
855
859
  labels?: {[P in string]: string};
856
860
  /** Output only. Resource name of a CustomJob. */
857
861
  name?: string;
862
+ /** Output only. Reserved for future use. */
863
+ satisfiesPzi?: boolean;
864
+ /** Output only. Reserved for future use. */
865
+ satisfiesPzs?: boolean;
858
866
  /** Output only. Time when the CustomJob for the first time entered the `JOB_STATE_RUNNING` state. */
859
867
  startTime?: string;
860
868
  /** Output only. The detailed state of the job. */
@@ -905,6 +913,10 @@ declare namespace gapi.client {
905
913
  name?: string;
906
914
  /** 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
915
  payload?: any;
916
+ /** Output only. Reserved for future use. */
917
+ satisfiesPzi?: boolean;
918
+ /** Output only. Reserved for future use. */
919
+ satisfiesPzs?: boolean;
908
920
  /** Output only. Timestamp when this DataItem was last updated. */
909
921
  updateTime?: string;
910
922
  }
@@ -979,6 +991,10 @@ declare namespace gapi.client {
979
991
  modelReference?: string;
980
992
  /** Output only. Identifier. The resource name of the Dataset. */
981
993
  name?: string;
994
+ /** Output only. Reserved for future use. */
995
+ satisfiesPzi?: boolean;
996
+ /** Output only. Reserved for future use. */
997
+ satisfiesPzs?: boolean;
982
998
  /** 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
999
  savedQueries?: GoogleCloudAiplatformV1SavedQuery[];
984
1000
  /** Output only. Timestamp when this Dataset was last updated. */
@@ -999,6 +1015,10 @@ declare namespace gapi.client {
999
1015
  modelReference?: string;
1000
1016
  /** Output only. Identifier. The resource name of the DatasetVersion. */
1001
1017
  name?: string;
1018
+ /** Output only. Reserved for future use. */
1019
+ satisfiesPzi?: boolean;
1020
+ /** Output only. Reserved for future use. */
1021
+ satisfiesPzs?: boolean;
1002
1022
  /** Output only. Timestamp when this DatasetVersion was last updated. */
1003
1023
  updateTime?: string;
1004
1024
  }
@@ -1011,6 +1031,8 @@ declare namespace gapi.client {
1011
1031
  maxReplicaCount?: number;
1012
1032
  /** 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
1033
  minReplicaCount?: number;
1034
+ /** Optional. If true, schedule the deployment workload on [spot VMs](https://cloud.google.com/kubernetes-engine/docs/concepts/spot-vms). */
1035
+ spot?: boolean;
1014
1036
  }
1015
1037
  interface GoogleCloudAiplatformV1DeleteFeatureValuesOperationMetadata {
1016
1038
  /** Operation metadata for Featurestore delete Features values. */
@@ -1167,6 +1189,10 @@ declare namespace gapi.client {
1167
1189
  encryptionSpec?: GoogleCloudAiplatformV1EncryptionSpec;
1168
1190
  /** Immutable. The resource name of the DeploymentResourcePool. Format: `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` */
1169
1191
  name?: string;
1192
+ /** Output only. Reserved for future use. */
1193
+ satisfiesPzi?: boolean;
1194
+ /** Output only. Reserved for future use. */
1195
+ satisfiesPzs?: boolean;
1170
1196
  /** 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
1197
  serviceAccount?: string;
1172
1198
  }
@@ -1257,6 +1283,10 @@ declare namespace gapi.client {
1257
1283
  predictRequestResponseLoggingConfig?: GoogleCloudAiplatformV1PredictRequestResponseLoggingConfig;
1258
1284
  /** Optional. Configuration for private service connect. network and private_service_connect_config are mutually exclusive. */
1259
1285
  privateServiceConnectConfig?: GoogleCloudAiplatformV1PrivateServiceConnectConfig;
1286
+ /** Output only. Reserved for future use. */
1287
+ satisfiesPzi?: boolean;
1288
+ /** Output only. Reserved for future use. */
1289
+ satisfiesPzs?: boolean;
1260
1290
  /** 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
1291
  trafficSplit?: {[P in string]: number};
1262
1292
  /** Output only. Timestamp when this Endpoint was last updated. */
@@ -2301,6 +2331,8 @@ declare namespace gapi.client {
2301
2331
  responseMimeType?: string;
2302
2332
  /** 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
2333
  responseSchema?: GoogleCloudAiplatformV1Schema;
2334
+ /** Optional. Routing configuration. */
2335
+ routingConfig?: GoogleCloudAiplatformV1GenerationConfigRoutingConfig;
2304
2336
  /** Optional. Stop sequences. */
2305
2337
  stopSequences?: string[];
2306
2338
  /** Optional. Controls the randomness of predictions. */
@@ -2310,6 +2342,20 @@ declare namespace gapi.client {
2310
2342
  /** Optional. If specified, nucleus sampling will be used. */
2311
2343
  topP?: number;
2312
2344
  }
2345
+ interface GoogleCloudAiplatformV1GenerationConfigRoutingConfig {
2346
+ /** Automated routing. */
2347
+ autoMode?: GoogleCloudAiplatformV1GenerationConfigRoutingConfigAutoRoutingMode;
2348
+ /** Manual routing. */
2349
+ manualMode?: GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode;
2350
+ }
2351
+ interface GoogleCloudAiplatformV1GenerationConfigRoutingConfigAutoRoutingMode {
2352
+ /** The model routing preference. */
2353
+ modelRoutingPreference?: string;
2354
+ }
2355
+ interface GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode {
2356
+ /** The model name to use. Only the public LLM models are accepted. e.g. gemini-1.5-pro-001. */
2357
+ modelName?: string;
2358
+ }
2313
2359
  interface GoogleCloudAiplatformV1GenericOperationMetadata {
2314
2360
  /** Output only. Time when the operation was created. */
2315
2361
  createTime?: string;
@@ -2404,6 +2450,10 @@ declare namespace gapi.client {
2404
2450
  name?: string;
2405
2451
  /** Required. The desired number of Trials to run in parallel. */
2406
2452
  parallelTrialCount?: number;
2453
+ /** Output only. Reserved for future use. */
2454
+ satisfiesPzi?: boolean;
2455
+ /** Output only. Reserved for future use. */
2456
+ satisfiesPzs?: boolean;
2407
2457
  /** Output only. Time when the HyperparameterTuningJob for the first time entered the `JOB_STATE_RUNNING` state. */
2408
2458
  startTime?: string;
2409
2459
  /** Output only. The detailed state of the job. */
@@ -2960,6 +3010,8 @@ declare namespace gapi.client {
2960
3010
  acceleratorType?: string;
2961
3011
  /** 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
3012
  machineType?: string;
3013
+ /** Optional. Immutable. Configuration controlling how this resource pool consumes reservation. */
3014
+ reservationAffinity?: GoogleCloudAiplatformV1ReservationAffinity;
2963
3015
  /** Immutable. The topology of the TPUs. Corresponds to the TPU topologies available from GKE. (Example: tpu_topology: "2x2x1"). */
2964
3016
  tpuTopology?: string;
2965
3017
  }
@@ -3546,6 +3598,10 @@ declare namespace gapi.client {
3546
3598
  nasJobOutput?: GoogleCloudAiplatformV1NasJobOutput;
3547
3599
  /** Required. The specification of a NasJob. */
3548
3600
  nasJobSpec?: GoogleCloudAiplatformV1NasJobSpec;
3601
+ /** Output only. Reserved for future use. */
3602
+ satisfiesPzi?: boolean;
3603
+ /** Output only. Reserved for future use. */
3604
+ satisfiesPzs?: boolean;
3549
3605
  /** Output only. Time when the NasJob for the first time entered the `JOB_STATE_RUNNING` state. */
3550
3606
  startTime?: string;
3551
3607
  /** Output only. The detailed state of the job. */
@@ -3754,6 +3810,8 @@ declare namespace gapi.client {
3754
3810
  directNotebookSource?: GoogleCloudAiplatformV1NotebookExecutionJobDirectNotebookSource;
3755
3811
  /** The display name of the NotebookExecutionJob. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
3756
3812
  displayName?: string;
3813
+ /** Customer-managed encryption key spec for the notebook execution job. This field is auto-populated if the NotebookRuntimeTemplate has an encryption spec. */
3814
+ encryptionSpec?: GoogleCloudAiplatformV1EncryptionSpec;
3757
3815
  /** Max running time of the execution job in seconds (default 86400s / 24 hrs). */
3758
3816
  executionTimeout?: string;
3759
3817
  /** The user email to run the execution as. Only supported by Colab runtimes. */
@@ -3988,8 +4046,6 @@ declare namespace gapi.client {
3988
4046
  name?: string;
3989
4047
  /** 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
4048
  network?: string;
3991
- /** Optional. Configuration for PSC-I for PersistentResource. */
3992
- pscInterfaceConfig?: GoogleCloudAiplatformV1PscInterfaceConfig;
3993
4049
  /** 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
4050
  reservedIpRanges?: string[];
3995
4051
  /** Required. The spec of the pools of different resources. */
@@ -4208,6 +4264,8 @@ declare namespace gapi.client {
4208
4264
  enablePrivateServiceConnect?: boolean;
4209
4265
  /** A list of Projects from which the forwarding rule will target the service attachment. */
4210
4266
  projectAllowlist?: string[];
4267
+ /** Output only. The name of the generated service attachment resource. This is only populated if the endpoint is deployed with PrivateServiceConnect. */
4268
+ serviceAttachment?: string;
4211
4269
  }
4212
4270
  interface GoogleCloudAiplatformV1Probe {
4213
4271
  /** ExecAction probes the health of a container by executing a command. */
@@ -4229,10 +4287,6 @@ declare namespace gapi.client {
4229
4287
  /** Corresponding project_id in pscAutomationConfigs */
4230
4288
  projectId?: string;
4231
4289
  }
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
4290
  interface GoogleCloudAiplatformV1PublisherModel {
4237
4291
  /** Optional. Additional information about the model's Frameworks. */
4238
4292
  frameworks?: string[];
@@ -4308,6 +4362,8 @@ declare namespace gapi.client {
4308
4362
  interface GoogleCloudAiplatformV1PublisherModelCallToActionDeployDeployMetadata {
4309
4363
  /** Optional. Labels for the deployment. For managing deployment config like verifying, source of deployment config, etc. */
4310
4364
  labels?: {[P in string]: string};
4365
+ /** Optional. Sample request for deployed endpoint. */
4366
+ sampleRequest?: string;
4311
4367
  }
4312
4368
  interface GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke {
4313
4369
  /** Optional. GKE deployment configuration in yaml format. */
@@ -4662,6 +4718,14 @@ declare namespace gapi.client {
4662
4718
  datapointIds?: string[];
4663
4719
  }
4664
4720
  interface GoogleCloudAiplatformV1RemoveDatapointsResponse {}
4721
+ interface GoogleCloudAiplatformV1ReservationAffinity {
4722
+ /** 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. */
4723
+ key?: string;
4724
+ /** Required. Specifies the reservation affinity type. */
4725
+ reservationAffinityType?: string;
4726
+ /** Optional. Corresponds to the label values of a reservation resource. This must be the full resource name of the reservation. */
4727
+ values?: string[];
4728
+ }
4665
4729
  interface GoogleCloudAiplatformV1ResourcePool {
4666
4730
  /** Optional. Optional spec to configure GKE or Ray-on-Vertex autoscaling */
4667
4731
  autoscalingSpec?: GoogleCloudAiplatformV1ResourcePoolAutoscalingSpec;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1",
3
- "version": "0.0.20240715",
3
+ "version": "0.0.20240727",
4
4
  "description": "TypeScript typings for Vertex AI API v1",
5
5
  "repository": {
6
6
  "type": "git",