@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20240510 → 0.0.20240529

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 +718 -50
  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=v1beta1
12
- // Revision: 20240510
12
+ // Revision: 20240529
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -28,27 +28,13 @@ declare namespace gapi.client {
28
28
  ): void;
29
29
 
30
30
  namespace aiplatform {
31
- interface CloudAiLargeModelsVisionFilteredText {
32
- /** Confidence level */
33
- category?: string;
34
- /** Filtered category */
35
- confidence?: string;
36
- /** Input prompt */
37
- prompt?: string;
38
- /** Score for category */
39
- score?: number;
40
- }
41
31
  interface CloudAiLargeModelsVisionGenerateVideoResponse {
42
32
  /** The generates samples. */
43
33
  generatedSamples?: CloudAiLargeModelsVisionMedia[];
44
- /** Returns rai error message for filtered videos. */
45
- raiErrorMessage?: string;
46
34
  /** Returns if any videos were filtered due to RAI policies. */
47
35
  raiMediaFilteredCount?: number;
48
36
  /** Returns rai failure reasons if any. */
49
37
  raiMediaFilteredReasons?: string[];
50
- /** Returns filtered text rai info. */
51
- raiTextFilteredReason?: CloudAiLargeModelsVisionFilteredText;
52
38
  }
53
39
  interface CloudAiLargeModelsVisionImage {
54
40
  /** Image encoding, encoded as "image/png" or "image/jpg". */
@@ -86,11 +72,41 @@ declare namespace gapi.client {
86
72
  y2?: number;
87
73
  }
88
74
  interface CloudAiLargeModelsVisionRaiInfo {
75
+ /** The list of detected labels for different rai categories. */
76
+ detectedLabels?: CloudAiLargeModelsVisionRaiInfoDetectedLabels[];
89
77
  /** List of rai categories' information to return */
90
78
  raiCategories?: string[];
91
79
  /** List of rai scores mapping to the rai categories. Rounded to 1 decimal place. */
92
80
  scores?: number[];
93
81
  }
82
+ interface CloudAiLargeModelsVisionRaiInfoDetectedLabels {
83
+ /** The list of detected entities for the rai signal. */
84
+ entities?: CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity[];
85
+ /** The RAI category for the deteceted labels. */
86
+ raiCategory?: string;
87
+ }
88
+ interface CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox {
89
+ /** The X coordinate of the top-left corner, in pixels. */
90
+ x1?: number;
91
+ /** The X coordinate of the bottom-right corner, in pixels. */
92
+ x2?: number;
93
+ /** The Y coordinate of the top-left corner, in pixels. */
94
+ y1?: number;
95
+ /** The Y coordinate of the bottom-right corner, in pixels. */
96
+ y2?: number;
97
+ }
98
+ interface CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity {
99
+ /** Bounding box of the label */
100
+ boundingBox?: CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox;
101
+ /** Description of the label */
102
+ description?: string;
103
+ /** The intersection ratio between the detection bounding box and the mask. */
104
+ iouScore?: number;
105
+ /** MID of the label */
106
+ mid?: string;
107
+ /** Confidence score of the label */
108
+ score?: number;
109
+ }
94
110
  interface CloudAiLargeModelsVisionSemanticFilterResponse {
95
111
  /** Class labels of the bounding boxes that failed the semantic filtering. Bounding box coordinates. */
96
112
  namedBoundingBoxes?: CloudAiLargeModelsVisionNamedBoundingBox[];
@@ -103,6 +119,12 @@ declare namespace gapi.client {
103
119
  /** Raw bytes. */
104
120
  video?: string;
105
121
  }
122
+ interface CloudAiPlatformCommonCreatePipelineJobApiErrorDetail {
123
+ /** The error root cause returned by CreatePipelineJob API. */
124
+ errorCause?: string;
125
+ /** Public messages contains actionable items for the error cause. */
126
+ publicMessage?: string;
127
+ }
106
128
  interface GoogleApiHttpBody {
107
129
  /** The HTTP Content-Type header value specifying the content type of the body. */
108
130
  contentType?: string;
@@ -558,6 +580,28 @@ declare namespace gapi.client {
558
580
  /** Identifier. Name of the cache config. Format: - `projects/{project}/cacheConfig`. */
559
581
  name?: string;
560
582
  }
583
+ interface GoogleCloudAiplatformV1beta1CachedContent {
584
+ /** Optional. Input only. Immutable. The content to cache */
585
+ contents?: GoogleCloudAiplatformV1beta1Content[];
586
+ /** Output only. Creatation time of the cache entry. */
587
+ createTime?: string;
588
+ /** Timestamp of when this resource is considered expired. This is *always* provided on output, regardless of what was sent on input. */
589
+ expireTime?: string;
590
+ /** Immutable. The name of the publisher model to use for cached content. Format: projects/{project}/locations/{location}/publishers/{publisher}/models/{model} */
591
+ model?: string;
592
+ /** Immutable. Identifier. The resource name of the cached content Format: projects/{project}/locations/{location}/cachedContents/{cached_content} */
593
+ name?: string;
594
+ /** Optional. Input only. Immutable. Developer set system instruction. Currently, text only */
595
+ systemInstruction?: GoogleCloudAiplatformV1beta1Content;
596
+ /** Optional. Input only. Immutable. Tool config. This config is shared for all tools */
597
+ toolConfig?: GoogleCloudAiplatformV1beta1ToolConfig;
598
+ /** Optional. Input only. Immutable. A list of `Tools` the model may use to generate the next response */
599
+ tools?: GoogleCloudAiplatformV1beta1Tool[];
600
+ /** Input only. The TTL for this resource. The expiration time is computed: now + TTL. */
601
+ ttl?: string;
602
+ /** Output only. When the cache entry was last updated in UTC time. */
603
+ updateTime?: string;
604
+ }
561
605
  interface GoogleCloudAiplatformV1beta1CancelBatchPredictionJobRequest {}
562
606
  interface GoogleCloudAiplatformV1beta1CancelCustomJobRequest {}
563
607
  interface GoogleCloudAiplatformV1beta1CancelDataLabelingJobRequest {}
@@ -823,6 +867,12 @@ declare namespace gapi.client {
823
867
  /** The operation generic information. */
824
868
  genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
825
869
  }
870
+ interface GoogleCloudAiplatformV1beta1CreateNotebookExecutionJobOperationMetadata {
871
+ /** The operation generic information. */
872
+ genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
873
+ /** A human-readable message that shows the intermediate progress details of NotebookRuntime. */
874
+ progressMessage?: string;
875
+ }
826
876
  interface GoogleCloudAiplatformV1beta1CreateNotebookExecutionJobRequest {
827
877
  /** Required. The NotebookExecutionJob to create. */
828
878
  notebookExecutionJob?: GoogleCloudAiplatformV1beta1NotebookExecutionJob;
@@ -1035,6 +1085,50 @@ declare namespace gapi.client {
1035
1085
  /** Output only. Timestamp when this Dataset was last updated. */
1036
1086
  updateTime?: string;
1037
1087
  }
1088
+ interface GoogleCloudAiplatformV1beta1DatasetDistribution {
1089
+ /** Output only. Defines the histogram bucket. */
1090
+ buckets?: GoogleCloudAiplatformV1beta1DatasetDistributionDistributionBucket[];
1091
+ /** Output only. The maximum of the population values. */
1092
+ max?: number;
1093
+ /** Output only. The arithmetic mean of the values in the population. */
1094
+ mean?: number;
1095
+ /** Output only. The median of the values in the population. */
1096
+ median?: number;
1097
+ /** Output only. The minimum of the population values. */
1098
+ min?: number;
1099
+ /** Output only. The 5th percentile of the values in the population. */
1100
+ p5?: number;
1101
+ /** Output only. The 95th percentile of the values in the population. */
1102
+ p95?: number;
1103
+ /** Output only. Sum of a given population of values. */
1104
+ sum?: number;
1105
+ }
1106
+ interface GoogleCloudAiplatformV1beta1DatasetDistributionDistributionBucket {
1107
+ /** Output only. Number of values in the bucket. */
1108
+ count?: string;
1109
+ /** Output only. Left bound of the bucket. */
1110
+ left?: number;
1111
+ /** Output only. Right bound of the bucket. */
1112
+ right?: number;
1113
+ }
1114
+ interface GoogleCloudAiplatformV1beta1DatasetStats {
1115
+ /** Output only. Number of billable characters in the tuning dataset. */
1116
+ totalBillableCharacterCount?: string;
1117
+ /** Output only. Number of tuning characters in the tuning dataset. */
1118
+ totalTuningCharacterCount?: string;
1119
+ /** Output only. Number of examples in the tuning dataset. */
1120
+ tuningDatasetExampleCount?: string;
1121
+ /** Output only. Number of tuning steps for this Tuning Job. */
1122
+ tuningStepCount?: string;
1123
+ /** Output only. Sample user messages in the training dataset uri. */
1124
+ userDatasetExamples?: GoogleCloudAiplatformV1beta1Content[];
1125
+ /** Output only. Dataset distributions for the user input tokens. */
1126
+ userInputTokenDistribution?: GoogleCloudAiplatformV1beta1DatasetDistribution;
1127
+ /** Output only. Dataset distributions for the messages per example. */
1128
+ userMessagePerExampleDistribution?: GoogleCloudAiplatformV1beta1DatasetDistribution;
1129
+ /** Output only. Dataset distributions for the user output tokens. */
1130
+ userOutputTokenDistribution?: GoogleCloudAiplatformV1beta1DatasetDistribution;
1131
+ }
1038
1132
  interface GoogleCloudAiplatformV1beta1DatasetVersion {
1039
1133
  /** Output only. Name of the associated BigQuery dataset. */
1040
1134
  bigQueryDatasetName?: string;
@@ -1212,8 +1306,14 @@ declare namespace gapi.client {
1212
1306
  createTime?: string;
1213
1307
  /** Required. The underlying DedicatedResources that the DeploymentResourcePool uses. */
1214
1308
  dedicatedResources?: GoogleCloudAiplatformV1beta1DedicatedResources;
1309
+ /** If the DeploymentResourcePool is deployed with custom-trained Models or AutoML Tabular Models, the container(s) of the DeploymentResourcePool will send `stderr` and `stdout` streams to Cloud Logging by default. Please note that the logs incur cost, which are subject to [Cloud Logging pricing](https://cloud.google.com/logging/pricing). User can disable container logging by setting this flag to true. */
1310
+ disableContainerLogging?: boolean;
1311
+ /** Customer-managed encryption key spec for a DeploymentResourcePool. If set, this DeploymentResourcePool will be secured by this key. Endpoints and the DeploymentResourcePool they deploy in need to have the same EncryptionSpec. */
1312
+ encryptionSpec?: GoogleCloudAiplatformV1beta1EncryptionSpec;
1215
1313
  /** Immutable. The resource name of the DeploymentResourcePool. Format: `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` */
1216
1314
  name?: string;
1315
+ /** 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. */
1316
+ serviceAccount?: string;
1217
1317
  }
1218
1318
  interface GoogleCloudAiplatformV1beta1DeployModelOperationMetadata {
1219
1319
  /** The operation generic information. */
@@ -1268,6 +1368,34 @@ declare namespace gapi.client {
1268
1368
  /** Type of the boot disk (default is "pd-ssd"). Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or "pd-standard" (Persistent Disk Hard Disk Drive). */
1269
1369
  bootDiskType?: string;
1270
1370
  }
1371
+ interface GoogleCloudAiplatformV1beta1DistillationDataStats {
1372
+ /** Output only. Statistics computed for the training dataset. */
1373
+ trainingDatasetStats?: GoogleCloudAiplatformV1beta1DatasetStats;
1374
+ }
1375
+ interface GoogleCloudAiplatformV1beta1DistillationHyperParameters {
1376
+ /** Optional. Adapter size for distillation. */
1377
+ adapterSize?: string;
1378
+ /** Optional. Number of complete passes the model makes over the entire training dataset during training. */
1379
+ epochCount?: string;
1380
+ /** Optional. Multiplier for adjusting the default learning rate. */
1381
+ learningRateMultiplier?: number;
1382
+ }
1383
+ interface GoogleCloudAiplatformV1beta1DistillationSpec {
1384
+ /** The base teacher model that is being distilled, e.g., "gemini-1.0-pro-002". */
1385
+ baseTeacherModel?: string;
1386
+ /** Optional. Hyperparameters for Distillation. */
1387
+ hyperParameters?: GoogleCloudAiplatformV1beta1DistillationHyperParameters;
1388
+ /** Required. A path in a Cloud Storage bucket, which will be treated as the root output directory of the distillation pipeline. It is used by the system to generate the paths of output artifacts. */
1389
+ pipelineRootDirectory?: string;
1390
+ /** The student model that is being tuned, e.g., "google/gemma-2b-it". */
1391
+ studentModel?: string;
1392
+ /** Required. Cloud Storage path to file containing training dataset for tuning. The dataset must be formatted as a JSONL file. */
1393
+ trainingDatasetUri?: string;
1394
+ /** The resource name of the Tuned teacher model. Format: `projects/{project}/locations/{location}/models/{model}`. */
1395
+ tunedTeacherModelSource?: string;
1396
+ /** Optional. Cloud Storage path to file containing validation dataset for tuning. The dataset must be formatted as a JSONL file. */
1397
+ validationDatasetUri?: string;
1398
+ }
1271
1399
  interface GoogleCloudAiplatformV1beta1DoubleArray {
1272
1400
  /** A list of double values. */
1273
1401
  values?: number[];
@@ -1846,7 +1974,7 @@ declare namespace gapi.client {
1846
1974
  apiSpec?: GoogleCloudAiplatformV1beta1ExtensionManifestApiSpec;
1847
1975
  /** Required. Immutable. Type of auth supported by this extension. */
1848
1976
  authConfig?: GoogleCloudAiplatformV1beta1AuthConfig;
1849
- /** Required. The natural language description shown to the LLM. It should describe the usage of the extension, and is essential for the LLM to perform reasoning. */
1977
+ /** Required. The natural language description shown to the LLM. It should describe the usage of the extension, and is essential for the LLM to perform reasoning. e.g., if the extension is a data store, you can let the LLM know what data it contains. */
1850
1978
  description?: string;
1851
1979
  /** Required. Extension name shown to the LLM. The name can be up to 128 characters long. */
1852
1980
  name?: string;
@@ -1942,6 +2070,8 @@ declare namespace gapi.client {
1942
2070
  dedicatedServingEndpoint?: GoogleCloudAiplatformV1beta1FeatureOnlineStoreDedicatedServingEndpoint;
1943
2071
  /** Optional. Deprecated: This field is no longer needed anymore and embedding management is automatically enabled when specifying Optimized storage type. */
1944
2072
  embeddingManagement?: GoogleCloudAiplatformV1beta1FeatureOnlineStoreEmbeddingManagement;
2073
+ /** Optional. Customer-managed encryption key spec for data storage. If set, online store will be secured by this key. */
2074
+ encryptionSpec?: GoogleCloudAiplatformV1beta1EncryptionSpec;
1945
2075
  /** Optional. Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. */
1946
2076
  etag?: string;
1947
2077
  /** Optional. The labels with user-defined metadata to organize your FeatureOnlineStore. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information on and examples of labels. No more than 64 user labels can be associated with one FeatureOnlineStore(System labels are excluded)." System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. */
@@ -2085,6 +2215,8 @@ declare namespace gapi.client {
2085
2215
  stringArrayValue?: GoogleCloudAiplatformV1beta1StringArray;
2086
2216
  /** String feature value. */
2087
2217
  stringValue?: string;
2218
+ /** A struct type feature value. */
2219
+ structValue?: GoogleCloudAiplatformV1beta1StructValue;
2088
2220
  }
2089
2221
  interface GoogleCloudAiplatformV1beta1FeatureValueDestination {
2090
2222
  /** Output in BigQuery format. BigQueryDestination.output_uri in FeatureValueDestination.bigquery_destination must refer to a table. */
@@ -2411,6 +2543,8 @@ declare namespace gapi.client {
2411
2543
  tokenType?: string;
2412
2544
  }
2413
2545
  interface GoogleCloudAiplatformV1beta1GenerateContentRequest {
2546
+ /** Optional. The name of the cached content used as context to serve the prediction. Note: only used in explicit caching, where users can have control over caching (e.g. what content to cache) and enjoy guaranteed cost savings. Format: `projects/{project}/locations/{location}/cachedContents/{cachedContent}` */
2547
+ cachedContent?: string;
2414
2548
  /** Required. The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request. */
2415
2549
  contents?: GoogleCloudAiplatformV1beta1Content[];
2416
2550
  /** Optional. Generation config. */
@@ -2458,8 +2592,8 @@ declare namespace gapi.client {
2458
2592
  presencePenalty?: number;
2459
2593
  /** Optional. Output response mimetype of the generated candidate text. Supported mimetype: - `text/plain`: (default) Text output. - `application/json`: JSON response in the candidates. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. */
2460
2594
  responseMimeType?: string;
2461
- /** Optional. Control Three levels of creativity in the model output. Default: RESPONSE_STYLE_BALANCED */
2462
- responseStyle?: string;
2595
+ /** 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. */
2596
+ responseSchema?: GoogleCloudAiplatformV1beta1Schema;
2463
2597
  /** Optional. Stop sequences. */
2464
2598
  stopSequences?: string[];
2465
2599
  /** Optional. Controls the randomness of predictions. */
@@ -2491,6 +2625,7 @@ declare namespace gapi.client {
2491
2625
  /** Required. The type of the Google Drive resource. */
2492
2626
  resourceType?: string;
2493
2627
  }
2628
+ interface GoogleCloudAiplatformV1beta1GoogleSearchRetrieval {}
2494
2629
  interface GoogleCloudAiplatformV1beta1GroundednessInput {
2495
2630
  /** Required. Groundedness instance. */
2496
2631
  instance?: GoogleCloudAiplatformV1beta1GroundednessInstance;
@@ -2523,6 +2658,10 @@ declare namespace gapi.client {
2523
2658
  /** Optional. Web search queries for the following-up web search. */
2524
2659
  webSearchQueries?: string[];
2525
2660
  }
2661
+ interface GoogleCloudAiplatformV1beta1HumanFeedbackConfig {
2662
+ /** Required. Cloud Storage path to human preference data. */
2663
+ preferenceDatasetUri?: string;
2664
+ }
2526
2665
  interface GoogleCloudAiplatformV1beta1HyperparameterTuningJob {
2527
2666
  /** Output only. Time when the HyperparameterTuningJob was created. */
2528
2667
  createTime?: string;
@@ -2843,6 +2982,12 @@ declare namespace gapi.client {
2843
2982
  /** A token to retrieve the next page of results. Pass to ListBatchPredictionJobsRequest.page_token to obtain that page. */
2844
2983
  nextPageToken?: string;
2845
2984
  }
2985
+ interface GoogleCloudAiplatformV1beta1ListCachedContentsResponse {
2986
+ /** List of cached contents. */
2987
+ cachedContents?: GoogleCloudAiplatformV1beta1CachedContent[];
2988
+ /** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
2989
+ nextPageToken?: string;
2990
+ }
2846
2991
  interface GoogleCloudAiplatformV1beta1ListContextsResponse {
2847
2992
  /** The Contexts retrieved from the MetadataStore. */
2848
2993
  contexts?: GoogleCloudAiplatformV1beta1Context[];
@@ -3206,6 +3351,8 @@ declare namespace gapi.client {
3206
3351
  interface GoogleCloudAiplatformV1beta1MetadataStore {
3207
3352
  /** Output only. Timestamp when this MetadataStore was created. */
3208
3353
  createTime?: string;
3354
+ /** Optional. Dataplex integration settings. */
3355
+ dataplexConfig?: GoogleCloudAiplatformV1beta1MetadataStoreDataplexConfig;
3209
3356
  /** Description of the MetadataStore. */
3210
3357
  description?: string;
3211
3358
  /** Customer-managed encryption key spec for a Metadata Store. If set, this Metadata Store and all sub-resources of this Metadata Store are secured using this key. */
@@ -3217,6 +3364,10 @@ declare namespace gapi.client {
3217
3364
  /** Output only. Timestamp when this MetadataStore was last updated. */
3218
3365
  updateTime?: string;
3219
3366
  }
3367
+ interface GoogleCloudAiplatformV1beta1MetadataStoreDataplexConfig {
3368
+ /** Optional. Whether or not Data Lineage synchronization is enabled for Vertex Pipelines. */
3369
+ enabledPipelinesLineage?: boolean;
3370
+ }
3220
3371
  interface GoogleCloudAiplatformV1beta1MetadataStoreMetadataStoreState {
3221
3372
  /** The disk utilization of the MetadataStore in bytes. */
3222
3373
  diskUtilizationBytes?: string;
@@ -3661,6 +3812,14 @@ declare namespace gapi.client {
3661
3812
  /** 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. */
3662
3813
  statsAnomaliesBaseDirectory?: GoogleCloudAiplatformV1beta1GcsDestination;
3663
3814
  }
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
+ }
3664
3823
  interface GoogleCloudAiplatformV1beta1ModelMonitoringInput {
3665
3824
  /** Vertex AI Batch prediction Job. */
3666
3825
  batchPredictionOutput?: GoogleCloudAiplatformV1beta1ModelMonitoringInputBatchPredictionOutput;
@@ -3898,6 +4057,8 @@ declare namespace gapi.client {
3898
4057
  outputSpec?: GoogleCloudAiplatformV1beta1ModelMonitoringOutputSpec;
3899
4058
  }
3900
4059
  interface GoogleCloudAiplatformV1beta1ModelMonitoringStats {
4060
+ /** Generated gen ai statistics. */
4061
+ genAiStats?: GoogleCloudAiplatformV1beta1ModelMonitoringGenAiStats;
3901
4062
  /** Generated tabular statistics. */
3902
4063
  tabularStats?: GoogleCloudAiplatformV1beta1ModelMonitoringTabularStats;
3903
4064
  }
@@ -3946,7 +4107,7 @@ declare namespace gapi.client {
3946
4107
  doubleValue?: number;
3947
4108
  }
3948
4109
  interface GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPointTypedValueDistributionDataValue {
3949
- /** tensorflow.metadata.v0.DatasetFeatureStatistics format. */
4110
+ /** Predictive monitoring drift distribution in `tensorflow.metadata.v0.DatasetFeatureStatistics` format. */
3950
4111
  distribution?: any;
3951
4112
  /** Distribution distance deviation from the current dataset's statistics to baseline dataset's statistics. * For categorical feature, the distribution distance is calculated by L-inifinity norm or Jensen–Shannon divergence. * For numerical feature, the distribution distance is calculated by Jensen–Shannon divergence. */
3952
4113
  distributionDeviation?: number;
@@ -4212,8 +4373,6 @@ declare namespace gapi.client {
4212
4373
  interface GoogleCloudAiplatformV1beta1NotebookExecutionJob {
4213
4374
  /** Output only. Timestamp when this NotebookExecutionJob was created. */
4214
4375
  createTime?: string;
4215
- /** The custom compute configuration for an execution job. */
4216
- customEnvironmentSpec?: GoogleCloudAiplatformV1beta1NotebookExecutionJobCustomEnvironmentSpec;
4217
4376
  /** The Dataform Repository pointing to a single file notebook repository. */
4218
4377
  dataformRepositorySource?: GoogleCloudAiplatformV1beta1NotebookExecutionJobDataformRepositorySource;
4219
4378
  /** The contents of an input notebook file. */
@@ -4245,14 +4404,6 @@ declare namespace gapi.client {
4245
4404
  /** Output only. Timestamp when this NotebookExecutionJob was most recently updated. */
4246
4405
  updateTime?: string;
4247
4406
  }
4248
- interface GoogleCloudAiplatformV1beta1NotebookExecutionJobCustomEnvironmentSpec {
4249
- /** The specification of a single machine for the execution job. */
4250
- machineSpec?: GoogleCloudAiplatformV1beta1MachineSpec;
4251
- /** The network configuration to use for the execution job. */
4252
- networkSpec?: GoogleCloudAiplatformV1beta1NetworkSpec;
4253
- /** The specification of a persistent disk to attach for the execution job. */
4254
- persistentDiskSpec?: GoogleCloudAiplatformV1beta1PersistentDiskSpec;
4255
- }
4256
4407
  interface GoogleCloudAiplatformV1beta1NotebookExecutionJobDataformRepositorySource {
4257
4408
  /** The commit SHA to read repository with. If unset, the file will be read at HEAD. */
4258
4409
  commitSha?: string;
@@ -4275,14 +4426,6 @@ declare namespace gapi.client {
4275
4426
  /** Required. Duration is accurate to the second. In Notebook, Idle Timeout is accurate to minute so the range of idle_timeout (second) is: 10 * 60 ~ 1440 * 60. */
4276
4427
  idleTimeout?: string;
4277
4428
  }
4278
- interface GoogleCloudAiplatformV1beta1NotebookReservationAffinity {
4279
- /** Required. Specifies the type of reservation from which this instance can consume resources: RESERVATION_ANY (default), RESERVATION_SPECIFIC, or RESERVATION_NONE. See Consuming reserved instances for examples. */
4280
- consumeReservationType?: string;
4281
- /** Optional. Corresponds to the label key of a reservation resource. To target a RESERVATION_SPECIFIC by name, use compute.googleapis.com/reservation-name as the key and specify the name of your reservation as its value. */
4282
- key?: string;
4283
- /** Optional. Corresponds to the label values of a reservation resource. This must be the full path name of Reservation. */
4284
- values?: string[];
4285
- }
4286
4429
  interface GoogleCloudAiplatformV1beta1NotebookRuntime {
4287
4430
  /** Output only. Timestamp when this NotebookRuntime was created. */
4288
4431
  createTime?: string;
@@ -4290,10 +4433,14 @@ declare namespace gapi.client {
4290
4433
  description?: string;
4291
4434
  /** Required. The display name of the NotebookRuntime. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
4292
4435
  displayName?: string;
4436
+ /** Output only. Customer-managed encryption key spec for the notebook runtime. */
4437
+ encryptionSpec?: GoogleCloudAiplatformV1beta1EncryptionSpec;
4293
4438
  /** Output only. Timestamp when this NotebookRuntime will be expired: 1. System Predefined NotebookRuntime: 24 hours after creation. After expiration, system predifined runtime will be deleted. 2. User created NotebookRuntime: 6 months after last upgrade. After expiration, user created runtime will be stopped and allowed for upgrade. */
4294
4439
  expirationTime?: string;
4295
4440
  /** Output only. The health state of the NotebookRuntime. */
4296
4441
  healthState?: string;
4442
+ /** Output only. The idle shutdown configuration of the notebook runtime. */
4443
+ idleShutdownConfig?: GoogleCloudAiplatformV1beta1NotebookIdleShutdownConfig;
4297
4444
  /** Output only. Whether NotebookRuntime is upgradable. */
4298
4445
  isUpgradable?: boolean;
4299
4446
  /** The labels with user-defined metadata to organize your NotebookRuntime. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one NotebookRuntime (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable. Following system labels exist for NotebookRuntime: * "aiplatform.googleapis.com/notebook_runtime_gce_instance_id": output only, its value is the Compute Engine instance id. * "aiplatform.googleapis.com/colab_enterprise_entry_service": its value is either "bigquery" or "vertex"; if absent, it should be "vertex". This is to describe the entry service, either BigQuery or Vertex. */
@@ -4308,8 +4455,6 @@ declare namespace gapi.client {
4308
4455
  notebookRuntimeType?: string;
4309
4456
  /** Output only. The proxy endpoint used to access the NotebookRuntime. */
4310
4457
  proxyUri?: string;
4311
- /** Output only. Reservation Affinity of the notebook runtime. */
4312
- reservationAffinity?: GoogleCloudAiplatformV1beta1NotebookReservationAffinity;
4313
4458
  /** Output only. The runtime (instance) state of the NotebookRuntime. */
4314
4459
  runtimeState?: string;
4315
4460
  /** Required. The user email of the NotebookRuntime. */
@@ -4334,6 +4479,8 @@ declare namespace gapi.client {
4334
4479
  description?: string;
4335
4480
  /** Required. The display name of the NotebookRuntimeTemplate. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
4336
4481
  displayName?: string;
4482
+ /** Customer-managed encryption key spec for the notebook runtime. */
4483
+ encryptionSpec?: GoogleCloudAiplatformV1beta1EncryptionSpec;
4337
4484
  /** Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. */
4338
4485
  etag?: string;
4339
4486
  /** EUC configuration of the NotebookRuntimeTemplate. */
@@ -4354,8 +4501,6 @@ declare namespace gapi.client {
4354
4501
  networkTags?: string[];
4355
4502
  /** Optional. Immutable. The type of the notebook runtime template. */
4356
4503
  notebookRuntimeType?: string;
4357
- /** Optional. Reservation Affinity of the notebook runtime template. */
4358
- reservationAffinity?: GoogleCloudAiplatformV1beta1NotebookReservationAffinity;
4359
4504
  /** The service account that the runtime workload runs as. You can use any service account within the same project, but you must have the service account user permission to use the instance. If not specified, the [Compute Engine default service account](https://cloud.google.com/compute/docs/access/service-accounts#default_service_account) is used. */
4360
4505
  serviceAccount?: string;
4361
4506
  /** Optional. Immutable. Runtime Shielded VM spec. */
@@ -4688,7 +4833,7 @@ declare namespace gapi.client {
4688
4833
  projectAllowlist?: string[];
4689
4834
  }
4690
4835
  interface GoogleCloudAiplatformV1beta1Probe {
4691
- /** Exec specifies the action to take. */
4836
+ /** ExecAction probes the health of a container by executing a command. */
4692
4837
  exec?: GoogleCloudAiplatformV1beta1ProbeExecAction;
4693
4838
  /** How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Must be less than timeout_seconds. Maps to Kubernetes probe argument 'periodSeconds'. */
4694
4839
  periodSeconds?: number;
@@ -5232,6 +5377,32 @@ declare namespace gapi.client {
5232
5377
  progressMessage?: string;
5233
5378
  }
5234
5379
  interface GoogleCloudAiplatformV1beta1RebootPersistentResourceRequest {}
5380
+ interface GoogleCloudAiplatformV1beta1ReinforcementLearningDataStats {
5381
+ /** Output only. Statistics computed for the preference dataset. This can be either a human preference dataset or a preference dataset generated from AI feedback. */
5382
+ preferenceDatasetStats?: GoogleCloudAiplatformV1beta1DatasetStats;
5383
+ /** Output only. Statistics computed for the prompt dataset used during reinforcement learning. */
5384
+ promptDatasetStats?: GoogleCloudAiplatformV1beta1DatasetStats;
5385
+ }
5386
+ interface GoogleCloudAiplatformV1beta1ReinforcementLearningHyperParameters {
5387
+ /** Optional. Number of training epoches for the tuning job. */
5388
+ epochCount?: string;
5389
+ /** Configures Reinforcement Learning to use human feedback for preference data during tuning. */
5390
+ humanFeedbackConfig?: GoogleCloudAiplatformV1beta1HumanFeedbackConfig;
5391
+ /** Optional. KL divergence coefficient for Reinforcement Learning. */
5392
+ klCoefficient?: number;
5393
+ /** Optional. Learning rate multiplier for Reinforcement Learning. */
5394
+ learningRateMultiplier?: number;
5395
+ /** Configures Reinforcement Learning to train a reward model to learn preference. */
5396
+ rewardModelTrainingConfig?: GoogleCloudAiplatformV1beta1RewardModelTrainingConfig;
5397
+ }
5398
+ interface GoogleCloudAiplatformV1beta1ReinforcementLearningSpec {
5399
+ /** Optional. Additional hyper-parameters to use during tuning. */
5400
+ hyperParameters?: GoogleCloudAiplatformV1beta1ReinforcementLearningHyperParameters;
5401
+ /** Required. Cloud Storage path to the prompt dataset to use during Reinforcement Learning. */
5402
+ promptDatasetUri?: string;
5403
+ /** Optional. Cloud Storage path to the validation dataset to use during Reinforcement Learning. */
5404
+ validationDatasetUri?: string;
5405
+ }
5235
5406
  interface GoogleCloudAiplatformV1beta1RemoveContextChildrenRequest {
5236
5407
  /** The resource names of the child Contexts. */
5237
5408
  childContexts?: string[];
@@ -5344,6 +5515,12 @@ declare namespace gapi.client {
5344
5515
  /** The contexts of the query. */
5345
5516
  contexts?: GoogleCloudAiplatformV1beta1RagContexts;
5346
5517
  }
5518
+ interface GoogleCloudAiplatformV1beta1RewardModelTrainingConfig {
5519
+ /** Optional. Number of training epoches for the reward model training job. */
5520
+ epochCount?: string;
5521
+ /** Optional. Learning rate multiplier for reward model training. */
5522
+ learningRateMultiplier?: number;
5523
+ }
5347
5524
  interface GoogleCloudAiplatformV1beta1RougeInput {
5348
5525
  /** Required. Repeated rouge instances. */
5349
5526
  instances?: GoogleCloudAiplatformV1beta1RougeInstance[];
@@ -5387,9 +5564,9 @@ declare namespace gapi.client {
5387
5564
  fileOutputGcsBucket?: string;
5388
5565
  }
5389
5566
  interface GoogleCloudAiplatformV1beta1RuntimeConfigVertexAISearchRuntimeConfig {
5390
- /** Vertex AI Search App ID. This is used to construct the search request. By setting this app_id, API will construct the serving config which is required to call search API for the user. The app_id and serving_config_name cannot both be empty at the same time. */
5391
- appId?: string;
5392
- /** [Deprecated] Please use app_id instead. Vertex AI Search serving config name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}` */
5567
+ /** Optional. Vertex AI Search engine ID. This is used to construct the search request. By setting this engine_id, API will construct the serving config using the default value to call search API for the user. The engine_id and serving_config_name cannot both be empty at the same time. */
5568
+ engineId?: string;
5569
+ /** Optional. Vertex AI Search serving config name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}` */
5393
5570
  servingConfigName?: string;
5394
5571
  }
5395
5572
  interface GoogleCloudAiplatformV1beta1SafetyInput {
@@ -6927,9 +7104,23 @@ declare namespace gapi.client {
6927
7104
  totalNumberAlerts?: string;
6928
7105
  }
6929
7106
  interface GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilter {
7107
+ /** GenAi statistics filter. */
7108
+ genAiStatsFilter?: GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterGenAiStatsFilter;
6930
7109
  /** Tabular statistics filter. */
6931
7110
  tabularStatsFilter?: GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterTabularStatsFilter;
6932
7111
  }
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
+ }
6933
7124
  interface GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterTabularStatsFilter {
6934
7125
  /** Specify the algorithm type used for distance calculation, eg: jensen_shannon_divergence, l_infinity. */
6935
7126
  algorithm?: string;
@@ -7051,6 +7242,16 @@ declare namespace gapi.client {
7051
7242
  /** A list of string values. */
7052
7243
  values?: string[];
7053
7244
  }
7245
+ interface GoogleCloudAiplatformV1beta1StructFieldValue {
7246
+ /** Name of the field in the struct feature. */
7247
+ name?: string;
7248
+ /** The value for this field. */
7249
+ value?: GoogleCloudAiplatformV1beta1FeatureValue;
7250
+ }
7251
+ interface GoogleCloudAiplatformV1beta1StructValue {
7252
+ /** A list of field values. */
7253
+ values?: GoogleCloudAiplatformV1beta1StructFieldValue[];
7254
+ }
7054
7255
  interface GoogleCloudAiplatformV1beta1Study {
7055
7256
  /** Output only. Time at which the study was created. */
7056
7257
  createTime?: string;
@@ -7591,6 +7792,8 @@ declare namespace gapi.client {
7591
7792
  interface GoogleCloudAiplatformV1beta1Tool {
7592
7793
  /** Optional. Function tool type. One or more function declarations to be passed to the model along with the current user query. Model may decide to call a subset of these functions by populating FunctionCall in the response. User should provide a FunctionResponse for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 64 function declarations can be provided. */
7593
7794
  functionDeclarations?: GoogleCloudAiplatformV1beta1FunctionDeclaration[];
7795
+ /** Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search. */
7796
+ googleSearchRetrieval?: any;
7594
7797
  /** Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation. */
7595
7798
  retrieval?: GoogleCloudAiplatformV1beta1Retrieval;
7596
7799
  }
@@ -7792,6 +7995,10 @@ declare namespace gapi.client {
7792
7995
  model?: string;
7793
7996
  }
7794
7997
  interface GoogleCloudAiplatformV1beta1TuningDataStats {
7998
+ /** Statistics for distillation. */
7999
+ distillationDataStats?: GoogleCloudAiplatformV1beta1DistillationDataStats;
8000
+ /** Statistics for reinforcement learning. */
8001
+ reinforcementLearningDataStats?: GoogleCloudAiplatformV1beta1ReinforcementLearningDataStats;
7795
8002
  /** The SFT Tuning data stats. */
7796
8003
  supervisedTuningDataStats?: GoogleCloudAiplatformV1beta1SupervisedTuningDataStats;
7797
8004
  }
@@ -7802,6 +8009,8 @@ declare namespace gapi.client {
7802
8009
  createTime?: string;
7803
8010
  /** Optional. The description of the TuningJob. */
7804
8011
  description?: string;
8012
+ /** Tuning Spec for Distillation. */
8013
+ distillationSpec?: GoogleCloudAiplatformV1beta1DistillationSpec;
7805
8014
  /** Customer-managed encryption key options for a TuningJob. If this is set, then all resources created by the TuningJob will be encrypted with the provided encryption key. */
7806
8015
  encryptionSpec?: GoogleCloudAiplatformV1beta1EncryptionSpec;
7807
8016
  /** Output only. Time when the TuningJob entered any of the following JobStates: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`, `JOB_STATE_EXPIRED`. */
@@ -7814,6 +8023,10 @@ declare namespace gapi.client {
7814
8023
  labels?: {[P in string]: string};
7815
8024
  /** Output only. Identifier. Resource name of a TuningJob. Format: `projects/{project}/locations/{location}/tuningJobs/{tuning_job}` */
7816
8025
  name?: string;
8026
+ /** Output only. The resource name of the PipelineJob associated with the TuningJob. Format: `projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}`. */
8027
+ pipelineJob?: string;
8028
+ /** Tuning Spec for Reinforcement Learning. */
8029
+ reinforcementLearningSpec?: GoogleCloudAiplatformV1beta1ReinforcementLearningSpec;
7817
8030
  /** Output only. Time when the TuningJob for the first time entered the `JOB_STATE_RUNNING` state. */
7818
8031
  startTime?: string;
7819
8032
  /** Output only. The detailed state of the job. */
@@ -8739,13 +8952,220 @@ declare namespace gapi.client {
8739
8952
  prettyPrint?: boolean;
8740
8953
  /** 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. */
8741
8954
  quotaUser?: string;
8742
- /** Mask specifying which fields to read. */
8743
- readMask?: string;
8955
+ /** Mask specifying which fields to read. */
8956
+ readMask?: string;
8957
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
8958
+ upload_protocol?: string;
8959
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8960
+ uploadType?: string;
8961
+ }): Request<GoogleCloudAiplatformV1beta1ListBatchPredictionJobsResponse>;
8962
+ }
8963
+ interface CachedContentsResource {
8964
+ /** Creates cached content, this call will initialize the cached content in the data storage, and users need to pay for the cache data storage. */
8965
+ create(request: {
8966
+ /** V1 error format. */
8967
+ '$.xgafv'?: string;
8968
+ /** OAuth access token. */
8969
+ access_token?: string;
8970
+ /** Data format for response. */
8971
+ alt?: string;
8972
+ /** JSONP */
8973
+ callback?: string;
8974
+ /** Selector specifying which fields to include in a partial response. */
8975
+ fields?: string;
8976
+ /** 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. */
8977
+ key?: string;
8978
+ /** OAuth 2.0 token for the current user. */
8979
+ oauth_token?: string;
8980
+ /** Required. The parent resource where the cached content will be created */
8981
+ parent: string;
8982
+ /** Returns response with indentations and line breaks. */
8983
+ prettyPrint?: boolean;
8984
+ /** 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. */
8985
+ quotaUser?: string;
8986
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
8987
+ upload_protocol?: string;
8988
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8989
+ uploadType?: string;
8990
+ /** Request body */
8991
+ resource: GoogleCloudAiplatformV1beta1CachedContent;
8992
+ }): Request<GoogleCloudAiplatformV1beta1CachedContent>;
8993
+ create(
8994
+ request: {
8995
+ /** V1 error format. */
8996
+ '$.xgafv'?: string;
8997
+ /** OAuth access token. */
8998
+ access_token?: string;
8999
+ /** Data format for response. */
9000
+ alt?: string;
9001
+ /** JSONP */
9002
+ callback?: string;
9003
+ /** Selector specifying which fields to include in a partial response. */
9004
+ fields?: string;
9005
+ /** 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. */
9006
+ key?: string;
9007
+ /** OAuth 2.0 token for the current user. */
9008
+ oauth_token?: string;
9009
+ /** Required. The parent resource where the cached content will be created */
9010
+ parent: string;
9011
+ /** Returns response with indentations and line breaks. */
9012
+ prettyPrint?: boolean;
9013
+ /** 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. */
9014
+ quotaUser?: string;
9015
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9016
+ upload_protocol?: string;
9017
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9018
+ uploadType?: string;
9019
+ },
9020
+ body: GoogleCloudAiplatformV1beta1CachedContent
9021
+ ): Request<GoogleCloudAiplatformV1beta1CachedContent>;
9022
+ /** Deletes cached content */
9023
+ delete(request?: {
9024
+ /** V1 error format. */
9025
+ '$.xgafv'?: string;
9026
+ /** OAuth access token. */
9027
+ access_token?: string;
9028
+ /** Data format for response. */
9029
+ alt?: string;
9030
+ /** JSONP */
9031
+ callback?: string;
9032
+ /** Selector specifying which fields to include in a partial response. */
9033
+ fields?: string;
9034
+ /** 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. */
9035
+ key?: string;
9036
+ /** Required. The resource name referring to the cached content */
9037
+ name: string;
9038
+ /** OAuth 2.0 token for the current user. */
9039
+ oauth_token?: string;
9040
+ /** Returns response with indentations and line breaks. */
9041
+ prettyPrint?: boolean;
9042
+ /** 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. */
9043
+ quotaUser?: string;
9044
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9045
+ upload_protocol?: string;
9046
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9047
+ uploadType?: string;
9048
+ }): Request<GoogleLongrunningOperation>;
9049
+ /** Gets cached content configurations */
9050
+ get(request?: {
9051
+ /** V1 error format. */
9052
+ '$.xgafv'?: string;
9053
+ /** OAuth access token. */
9054
+ access_token?: string;
9055
+ /** Data format for response. */
9056
+ alt?: string;
9057
+ /** JSONP */
9058
+ callback?: string;
9059
+ /** Selector specifying which fields to include in a partial response. */
9060
+ fields?: string;
9061
+ /** 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. */
9062
+ key?: string;
9063
+ /** Required. The resource name referring to the cached content */
9064
+ name: string;
9065
+ /** OAuth 2.0 token for the current user. */
9066
+ oauth_token?: string;
9067
+ /** Returns response with indentations and line breaks. */
9068
+ prettyPrint?: boolean;
9069
+ /** 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. */
9070
+ quotaUser?: string;
9071
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9072
+ upload_protocol?: string;
9073
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9074
+ uploadType?: string;
9075
+ }): Request<GoogleCloudAiplatformV1beta1CachedContent>;
9076
+ /** Lists cached contents in a project */
9077
+ list(request?: {
9078
+ /** V1 error format. */
9079
+ '$.xgafv'?: string;
9080
+ /** OAuth access token. */
9081
+ access_token?: string;
9082
+ /** Data format for response. */
9083
+ alt?: string;
9084
+ /** JSONP */
9085
+ callback?: string;
9086
+ /** Selector specifying which fields to include in a partial response. */
9087
+ fields?: string;
9088
+ /** 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. */
9089
+ key?: string;
9090
+ /** OAuth 2.0 token for the current user. */
9091
+ oauth_token?: string;
9092
+ /** Optional. The maximum number of cached contents to return. The service may return fewer than this value. If unspecified, some default (under maximum) number of items will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000. */
9093
+ pageSize?: number;
9094
+ /** Optional. A page token, received from a previous `ListCachedContents` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListCachedContents` must match the call that provided the page token. */
9095
+ pageToken?: string;
9096
+ /** Required. The parent, which owns this collection of cached contents. */
9097
+ parent: string;
9098
+ /** Returns response with indentations and line breaks. */
9099
+ prettyPrint?: boolean;
9100
+ /** 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. */
9101
+ quotaUser?: string;
9102
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9103
+ upload_protocol?: string;
9104
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9105
+ uploadType?: string;
9106
+ }): Request<GoogleCloudAiplatformV1beta1ListCachedContentsResponse>;
9107
+ /** Updates cached content configurations */
9108
+ patch(request: {
9109
+ /** V1 error format. */
9110
+ '$.xgafv'?: string;
9111
+ /** OAuth access token. */
9112
+ access_token?: string;
9113
+ /** Data format for response. */
9114
+ alt?: string;
9115
+ /** JSONP */
9116
+ callback?: string;
9117
+ /** Selector specifying which fields to include in a partial response. */
9118
+ fields?: string;
9119
+ /** 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. */
9120
+ key?: string;
9121
+ /** Immutable. Identifier. The resource name of the cached content Format: projects/{project}/locations/{location}/cachedContents/{cached_content} */
9122
+ name: string;
9123
+ /** OAuth 2.0 token for the current user. */
9124
+ oauth_token?: string;
9125
+ /** Returns response with indentations and line breaks. */
9126
+ prettyPrint?: boolean;
9127
+ /** 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. */
9128
+ quotaUser?: string;
9129
+ /** Required. The list of fields to update. */
9130
+ updateMask?: string;
8744
9131
  /** Upload protocol for media (e.g. "raw", "multipart"). */
8745
9132
  upload_protocol?: string;
8746
9133
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8747
9134
  uploadType?: string;
8748
- }): Request<GoogleCloudAiplatformV1beta1ListBatchPredictionJobsResponse>;
9135
+ /** Request body */
9136
+ resource: GoogleCloudAiplatformV1beta1CachedContent;
9137
+ }): Request<GoogleCloudAiplatformV1beta1CachedContent>;
9138
+ patch(
9139
+ request: {
9140
+ /** V1 error format. */
9141
+ '$.xgafv'?: string;
9142
+ /** OAuth access token. */
9143
+ access_token?: string;
9144
+ /** Data format for response. */
9145
+ alt?: string;
9146
+ /** JSONP */
9147
+ callback?: string;
9148
+ /** Selector specifying which fields to include in a partial response. */
9149
+ fields?: string;
9150
+ /** 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. */
9151
+ key?: string;
9152
+ /** Immutable. Identifier. The resource name of the cached content Format: projects/{project}/locations/{location}/cachedContents/{cached_content} */
9153
+ name: string;
9154
+ /** OAuth 2.0 token for the current user. */
9155
+ oauth_token?: string;
9156
+ /** Returns response with indentations and line breaks. */
9157
+ prettyPrint?: boolean;
9158
+ /** 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. */
9159
+ quotaUser?: string;
9160
+ /** Required. The list of fields to update. */
9161
+ updateMask?: string;
9162
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
9163
+ upload_protocol?: string;
9164
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
9165
+ uploadType?: string;
9166
+ },
9167
+ body: GoogleCloudAiplatformV1beta1CachedContent
9168
+ ): Request<GoogleCloudAiplatformV1beta1CachedContent>;
8749
9169
  }
8750
9170
  interface OperationsResource {
8751
9171
  /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
@@ -11461,6 +11881,66 @@ declare namespace gapi.client {
11461
11881
  interface EdgeDevicesResource {
11462
11882
  operations: OperationsResource;
11463
11883
  }
11884
+ interface ChatResource {
11885
+ /** Exposes an OpenAI-compatible endpoint for chat completions. */
11886
+ completions(request: {
11887
+ /** V1 error format. */
11888
+ '$.xgafv'?: string;
11889
+ /** OAuth access token. */
11890
+ access_token?: string;
11891
+ /** Data format for response. */
11892
+ alt?: string;
11893
+ /** JSONP */
11894
+ callback?: string;
11895
+ /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/openapi` */
11896
+ endpoint: string;
11897
+ /** Selector specifying which fields to include in a partial response. */
11898
+ fields?: string;
11899
+ /** 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. */
11900
+ key?: string;
11901
+ /** OAuth 2.0 token for the current user. */
11902
+ oauth_token?: string;
11903
+ /** Returns response with indentations and line breaks. */
11904
+ prettyPrint?: boolean;
11905
+ /** 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. */
11906
+ quotaUser?: string;
11907
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
11908
+ upload_protocol?: string;
11909
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11910
+ uploadType?: string;
11911
+ /** Request body */
11912
+ resource: GoogleApiHttpBody;
11913
+ }): Request<GoogleApiHttpBody>;
11914
+ completions(
11915
+ request: {
11916
+ /** V1 error format. */
11917
+ '$.xgafv'?: string;
11918
+ /** OAuth access token. */
11919
+ access_token?: string;
11920
+ /** Data format for response. */
11921
+ alt?: string;
11922
+ /** JSONP */
11923
+ callback?: string;
11924
+ /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/openapi` */
11925
+ endpoint: string;
11926
+ /** Selector specifying which fields to include in a partial response. */
11927
+ fields?: string;
11928
+ /** 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. */
11929
+ key?: string;
11930
+ /** OAuth 2.0 token for the current user. */
11931
+ oauth_token?: string;
11932
+ /** Returns response with indentations and line breaks. */
11933
+ prettyPrint?: boolean;
11934
+ /** 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. */
11935
+ quotaUser?: string;
11936
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
11937
+ upload_protocol?: string;
11938
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11939
+ uploadType?: string;
11940
+ },
11941
+ body: GoogleApiHttpBody
11942
+ ): Request<GoogleApiHttpBody>;
11943
+ }
11464
11944
  interface OperationsResource {
11465
11945
  /** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`. */
11466
11946
  cancel(request?: {
@@ -12662,6 +13142,7 @@ declare namespace gapi.client {
12662
13142
  },
12663
13143
  body: GoogleCloudAiplatformV1beta1UndeployModelRequest
12664
13144
  ): Request<GoogleLongrunningOperation>;
13145
+ chat: ChatResource;
12665
13146
  operations: OperationsResource;
12666
13147
  }
12667
13148
  interface OperationsResource {
@@ -13454,7 +13935,7 @@ declare namespace gapi.client {
13454
13935
  prettyPrint?: boolean;
13455
13936
  /** 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. */
13456
13937
  quotaUser?: string;
13457
- /** Required. Mask specifying which fields to update. Supported fields: * `display_name` * `description` * `tool_use_examples` */
13938
+ /** Required. Mask specifying which fields to update. Supported fields: * `display_name` * `description` * `runtime_config` * `tool_use_examples` * `manifest.description` */
13458
13939
  updateMask?: string;
13459
13940
  /** Upload protocol for media (e.g. "raw", "multipart"). */
13460
13941
  upload_protocol?: string;
@@ -13485,7 +13966,7 @@ declare namespace gapi.client {
13485
13966
  prettyPrint?: boolean;
13486
13967
  /** 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. */
13487
13968
  quotaUser?: string;
13488
- /** Required. Mask specifying which fields to update. Supported fields: * `display_name` * `description` * `tool_use_examples` */
13969
+ /** Required. Mask specifying which fields to update. Supported fields: * `display_name` * `description` * `runtime_config` * `tool_use_examples` * `manifest.description` */
13489
13970
  updateMask?: string;
13490
13971
  /** Upload protocol for media (e.g. "raw", "multipart"). */
13491
13972
  upload_protocol?: string;
@@ -23471,6 +23952,68 @@ declare namespace gapi.client {
23471
23952
  nasTrialDetails: NasTrialDetailsResource;
23472
23953
  }
23473
23954
  interface NotebookExecutionJobsResource {
23955
+ /** Creates a NotebookExecutionJob. */
23956
+ create(request: {
23957
+ /** V1 error format. */
23958
+ '$.xgafv'?: string;
23959
+ /** OAuth access token. */
23960
+ access_token?: string;
23961
+ /** Data format for response. */
23962
+ alt?: string;
23963
+ /** JSONP */
23964
+ callback?: string;
23965
+ /** Selector specifying which fields to include in a partial response. */
23966
+ fields?: string;
23967
+ /** 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. */
23968
+ key?: string;
23969
+ /** Optional. User specified ID for the NotebookExecutionJob. */
23970
+ notebookExecutionJobId?: string;
23971
+ /** OAuth 2.0 token for the current user. */
23972
+ oauth_token?: string;
23973
+ /** Required. The resource name of the Location to create the NotebookExecutionJob. Format: `projects/{project}/locations/{location}` */
23974
+ parent: string;
23975
+ /** Returns response with indentations and line breaks. */
23976
+ prettyPrint?: boolean;
23977
+ /** 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. */
23978
+ quotaUser?: string;
23979
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
23980
+ upload_protocol?: string;
23981
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
23982
+ uploadType?: string;
23983
+ /** Request body */
23984
+ resource: GoogleCloudAiplatformV1beta1NotebookExecutionJob;
23985
+ }): Request<GoogleLongrunningOperation>;
23986
+ create(
23987
+ request: {
23988
+ /** V1 error format. */
23989
+ '$.xgafv'?: string;
23990
+ /** OAuth access token. */
23991
+ access_token?: string;
23992
+ /** Data format for response. */
23993
+ alt?: string;
23994
+ /** JSONP */
23995
+ callback?: string;
23996
+ /** Selector specifying which fields to include in a partial response. */
23997
+ fields?: string;
23998
+ /** 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. */
23999
+ key?: string;
24000
+ /** Optional. User specified ID for the NotebookExecutionJob. */
24001
+ notebookExecutionJobId?: string;
24002
+ /** OAuth 2.0 token for the current user. */
24003
+ oauth_token?: string;
24004
+ /** Required. The resource name of the Location to create the NotebookExecutionJob. Format: `projects/{project}/locations/{location}` */
24005
+ parent: string;
24006
+ /** Returns response with indentations and line breaks. */
24007
+ prettyPrint?: boolean;
24008
+ /** 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. */
24009
+ quotaUser?: string;
24010
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
24011
+ upload_protocol?: string;
24012
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
24013
+ uploadType?: string;
24014
+ },
24015
+ body: GoogleCloudAiplatformV1beta1NotebookExecutionJob
24016
+ ): Request<GoogleLongrunningOperation>;
23474
24017
  /** Deletes a NotebookExecutionJob. */
23475
24018
  delete(request?: {
23476
24019
  /** V1 error format. */
@@ -24245,6 +24788,68 @@ declare namespace gapi.client {
24245
24788
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
24246
24789
  uploadType?: string;
24247
24790
  }): Request<GoogleCloudAiplatformV1beta1ListNotebookRuntimeTemplatesResponse>;
24791
+ /** Updates a NotebookRuntimeTemplate. */
24792
+ patch(request: {
24793
+ /** V1 error format. */
24794
+ '$.xgafv'?: string;
24795
+ /** OAuth access token. */
24796
+ access_token?: string;
24797
+ /** Data format for response. */
24798
+ alt?: string;
24799
+ /** JSONP */
24800
+ callback?: string;
24801
+ /** Selector specifying which fields to include in a partial response. */
24802
+ fields?: string;
24803
+ /** 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. */
24804
+ key?: string;
24805
+ /** The resource name of the NotebookRuntimeTemplate. */
24806
+ name: string;
24807
+ /** OAuth 2.0 token for the current user. */
24808
+ oauth_token?: string;
24809
+ /** Returns response with indentations and line breaks. */
24810
+ prettyPrint?: boolean;
24811
+ /** 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. */
24812
+ quotaUser?: string;
24813
+ /** Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Input format: `{paths: "${updated_filed}"}` Updatable fields: * `encryption_spec.kms_key_name` */
24814
+ updateMask?: string;
24815
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
24816
+ upload_protocol?: string;
24817
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
24818
+ uploadType?: string;
24819
+ /** Request body */
24820
+ resource: GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate;
24821
+ }): Request<GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate>;
24822
+ patch(
24823
+ request: {
24824
+ /** V1 error format. */
24825
+ '$.xgafv'?: string;
24826
+ /** OAuth access token. */
24827
+ access_token?: string;
24828
+ /** Data format for response. */
24829
+ alt?: string;
24830
+ /** JSONP */
24831
+ callback?: string;
24832
+ /** Selector specifying which fields to include in a partial response. */
24833
+ fields?: string;
24834
+ /** 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. */
24835
+ key?: string;
24836
+ /** The resource name of the NotebookRuntimeTemplate. */
24837
+ name: string;
24838
+ /** OAuth 2.0 token for the current user. */
24839
+ oauth_token?: string;
24840
+ /** Returns response with indentations and line breaks. */
24841
+ prettyPrint?: boolean;
24842
+ /** 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. */
24843
+ quotaUser?: string;
24844
+ /** Required. The update mask applies to the resource. For the `FieldMask` definition, see google.protobuf.FieldMask. Input format: `{paths: "${updated_filed}"}` Updatable fields: * `encryption_spec.kms_key_name` */
24845
+ updateMask?: string;
24846
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
24847
+ upload_protocol?: string;
24848
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
24849
+ uploadType?: string;
24850
+ },
24851
+ body: GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate
24852
+ ): Request<GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate>;
24248
24853
  /** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
24249
24854
  setIamPolicy(
24250
24855
  request: {
@@ -26656,6 +27261,68 @@ declare namespace gapi.client {
26656
27261
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
26657
27262
  uploadType?: string;
26658
27263
  }): Request<GoogleCloudAiplatformV1beta1ListReasoningEnginesResponse>;
27264
+ /** Updates a reasoning engine. */
27265
+ patch(request: {
27266
+ /** V1 error format. */
27267
+ '$.xgafv'?: string;
27268
+ /** OAuth access token. */
27269
+ access_token?: string;
27270
+ /** Data format for response. */
27271
+ alt?: string;
27272
+ /** JSONP */
27273
+ callback?: string;
27274
+ /** Selector specifying which fields to include in a partial response. */
27275
+ fields?: string;
27276
+ /** 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. */
27277
+ key?: string;
27278
+ /** Identifier. The resource name of the ReasoningEngine. */
27279
+ name: string;
27280
+ /** OAuth 2.0 token for the current user. */
27281
+ oauth_token?: string;
27282
+ /** Returns response with indentations and line breaks. */
27283
+ prettyPrint?: boolean;
27284
+ /** 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. */
27285
+ quotaUser?: string;
27286
+ /** Required. Mask specifying which fields to update. */
27287
+ updateMask?: string;
27288
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
27289
+ upload_protocol?: string;
27290
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
27291
+ uploadType?: string;
27292
+ /** Request body */
27293
+ resource: GoogleCloudAiplatformV1beta1ReasoningEngine;
27294
+ }): Request<GoogleLongrunningOperation>;
27295
+ patch(
27296
+ request: {
27297
+ /** V1 error format. */
27298
+ '$.xgafv'?: string;
27299
+ /** OAuth access token. */
27300
+ access_token?: string;
27301
+ /** Data format for response. */
27302
+ alt?: string;
27303
+ /** JSONP */
27304
+ callback?: string;
27305
+ /** Selector specifying which fields to include in a partial response. */
27306
+ fields?: string;
27307
+ /** 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. */
27308
+ key?: string;
27309
+ /** Identifier. The resource name of the ReasoningEngine. */
27310
+ name: string;
27311
+ /** OAuth 2.0 token for the current user. */
27312
+ oauth_token?: string;
27313
+ /** Returns response with indentations and line breaks. */
27314
+ prettyPrint?: boolean;
27315
+ /** 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. */
27316
+ quotaUser?: string;
27317
+ /** Required. Mask specifying which fields to update. */
27318
+ updateMask?: string;
27319
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
27320
+ upload_protocol?: string;
27321
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
27322
+ uploadType?: string;
27323
+ },
27324
+ body: GoogleCloudAiplatformV1beta1ReasoningEngine
27325
+ ): Request<GoogleLongrunningOperation>;
26659
27326
  /** Queries using a reasoning engine. */
26660
27327
  query(request: {
26661
27328
  /** V1 error format. */
@@ -31222,6 +31889,7 @@ declare namespace gapi.client {
31222
31889
  agents: AgentsResource;
31223
31890
  apps: AppsResource;
31224
31891
  batchPredictionJobs: BatchPredictionJobsResource;
31892
+ cachedContents: CachedContentsResource;
31225
31893
  customJobs: CustomJobsResource;
31226
31894
  dataLabelingJobs: DataLabelingJobsResource;
31227
31895
  datasets: DatasetsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.aiplatform-v1beta1",
3
- "version": "0.0.20240510",
3
+ "version": "0.0.20240529",
4
4
  "description": "TypeScript typings for Vertex AI API v1beta1",
5
5
  "repository": {
6
6
  "type": "git",