@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20240328 → 0.0.20240417

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 (3) hide show
  1. package/index.d.ts +1263 -701
  2. package/package.json +1 -1
  3. package/readme.md +7 -2
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: 20240328
12
+ // Revision: 20240417
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -45,6 +45,8 @@ declare namespace gapi.client {
45
45
  interface CloudAiLargeModelsVisionGenerateVideoResponse {
46
46
  /** The generates samples. */
47
47
  generatedSamples?: CloudAiLargeModelsVisionMedia[];
48
+ /** Returns rai error message for filtered videos. */
49
+ raiErrorMessage?: string;
48
50
  /** Returns if any videos were filtered due to RAI policies. */
49
51
  raiMediaFilteredCount?: number;
50
52
  /** Returns rai failure reasons if any. */
@@ -202,6 +204,8 @@ declare namespace gapi.client {
202
204
  usageMetadata?: CloudAiNlLlmProtoServiceUsageMetadata;
203
205
  }
204
206
  interface CloudAiNlLlmProtoServiceMessageMetadata {
207
+ /** Factuality-related debug metadata. */
208
+ factualityDebugMetadata?: LearningGenaiRootPerRequestProcessorDebugMetadataFactualityDebugMetadata;
205
209
  /** Filter metadata of the input messages. */
206
210
  inputFilterInfo?: LearningServingLlmMessageMetadata;
207
211
  /** This score is generated by the router model to decide which model to use */
@@ -278,6 +282,8 @@ declare namespace gapi.client {
278
282
  languageFilterResult?: LearningGenaiRootLanguageFilterResult;
279
283
  /** The RAI signals for the text. */
280
284
  raiSignals?: CloudAiNlLlmProtoServiceRaiSignal[];
285
+ /** Translation request info during RAI for debugging purpose. Each TranslationRequestInfo corresponds to a request sent to the translation server. */
286
+ translationRequestInfos?: LearningGenaiRootTranslationRequestInfo[];
281
287
  /** Whether the text triggered the blocklist. */
282
288
  triggeredBlocklist?: boolean;
283
289
  /** Whether the text should be blocked by the recitation result from Aida recitation checker. It is determined from aida_recitation_result. */
@@ -474,8 +480,6 @@ declare namespace gapi.client {
474
480
  googleServiceAccountConfig?: GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig;
475
481
  /** Config for HTTP Basic auth. */
476
482
  httpBasicAuthConfig?: GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig;
477
- /** Config for no auth. */
478
- noAuth?: any;
479
483
  /** Config for user oauth. */
480
484
  oauthConfig?: GoogleCloudAiplatformV1beta1AuthConfigOauthConfig;
481
485
  /** Config for user OIDC auth. */
@@ -497,7 +501,6 @@ declare namespace gapi.client {
497
501
  /** Required. The name of the SecretManager secret version resource storing the base64 encoded credentials. Format: `projects/{project}/secrets/{secrete}/versions/{version}` - If specified, the `secretmanager.versions.access` permission should be granted to Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) on the specified resource. */
498
502
  credentialSecret?: string;
499
503
  }
500
- interface GoogleCloudAiplatformV1beta1AuthConfigNoAuth {}
501
504
  interface GoogleCloudAiplatformV1beta1AuthConfigOauthConfig {
502
505
  /** Access token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time. */
503
506
  accessToken?: string;
@@ -792,6 +795,12 @@ declare namespace gapi.client {
792
795
  /** A list of bool values. */
793
796
  values?: boolean[];
794
797
  }
798
+ interface GoogleCloudAiplatformV1beta1CacheConfig {
799
+ /** If set to true, disables GenAI caching. Otherwise caching is enabled. */
800
+ disableCache?: boolean;
801
+ /** Identifier. Name of the cache config. Format: - `projects/{project}/cacheConfig`. */
802
+ name?: string;
803
+ }
795
804
  interface GoogleCloudAiplatformV1beta1CancelBatchPredictionJobRequest {}
796
805
  interface GoogleCloudAiplatformV1beta1CancelCustomJobRequest {}
797
806
  interface GoogleCloudAiplatformV1beta1CancelDataLabelingJobRequest {}
@@ -1044,6 +1053,18 @@ declare namespace gapi.client {
1044
1053
  /** Operation metadata for creating a MetadataStore. */
1045
1054
  genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
1046
1055
  }
1056
+ interface GoogleCloudAiplatformV1beta1CreateModelMonitoringJobRequest {
1057
+ /** Required. The ModelMonitoringJob to create */
1058
+ modelMonitoringJob?: GoogleCloudAiplatformV1beta1ModelMonitoringJob;
1059
+ /** Optional. The ID to use for the Model Monitoring Job, which will become the final component of the model monitoring job resource name. The maximum length is 63 characters, and valid characters are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`. */
1060
+ modelMonitoringJobId?: string;
1061
+ /** Required. The parent of the ModelMonitoringJob. Format: `projects/{project}/locations/{location}/modelMoniitors/{model_monitor}` */
1062
+ parent?: string;
1063
+ }
1064
+ interface GoogleCloudAiplatformV1beta1CreateModelMonitorOperationMetadata {
1065
+ /** The operation generic information. */
1066
+ genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
1067
+ }
1047
1068
  interface GoogleCloudAiplatformV1beta1CreateNotebookRuntimeTemplateOperationMetadata {
1048
1069
  /** The operation generic information. */
1049
1070
  genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
@@ -1470,7 +1491,6 @@ declare namespace gapi.client {
1470
1491
  /** The prediction output. */
1471
1492
  output?: string;
1472
1493
  }
1473
- interface GoogleCloudAiplatformV1beta1DirectUploadSource {}
1474
1494
  interface GoogleCloudAiplatformV1beta1DiskSpec {
1475
1495
  /** Size in GB of the boot disk (default is 100GB). */
1476
1496
  bootDiskSizeGb?: number;
@@ -1510,6 +1530,8 @@ declare namespace gapi.client {
1510
1530
  network?: string;
1511
1531
  /** Configures the request-response logging for online prediction. */
1512
1532
  predictRequestResponseLoggingConfig?: GoogleCloudAiplatformV1beta1PredictRequestResponseLoggingConfig;
1533
+ /** Optional. Configuration for private service connect. network and private_service_connect_config are mutually exclusive. */
1534
+ privateServiceConnectConfig?: GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig;
1513
1535
  /** 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. */
1514
1536
  trafficSplit?: {[P in string]: number};
1515
1537
  /** Output only. Timestamp when this Endpoint was last updated. */
@@ -1608,10 +1630,6 @@ declare namespace gapi.client {
1608
1630
  questionAnsweringQualityInput?: GoogleCloudAiplatformV1beta1QuestionAnsweringQualityInput;
1609
1631
  /** Input for question answering relevance metric. */
1610
1632
  questionAnsweringRelevanceInput?: GoogleCloudAiplatformV1beta1QuestionAnsweringRelevanceInput;
1611
- /** Input for rag context recall metric. */
1612
- ragContextRecallInput?: GoogleCloudAiplatformV1beta1RagContextRecallInput;
1613
- /** Input for response recall metric. */
1614
- responseRecallInput?: GoogleCloudAiplatformV1beta1ResponseRecallInput;
1615
1633
  /** Instances and metric spec for rouge metric. */
1616
1634
  rougeInput?: GoogleCloudAiplatformV1beta1RougeInput;
1617
1635
  /** Input for safety metric. */
@@ -1656,10 +1674,6 @@ declare namespace gapi.client {
1656
1674
  questionAnsweringQualityResult?: GoogleCloudAiplatformV1beta1QuestionAnsweringQualityResult;
1657
1675
  /** Result for question answering relevance metric. */
1658
1676
  questionAnsweringRelevanceResult?: GoogleCloudAiplatformV1beta1QuestionAnsweringRelevanceResult;
1659
- /** RAG only metrics. Result for context recall metric. */
1660
- ragContextRecallResult?: GoogleCloudAiplatformV1beta1RagContextRecallResult;
1661
- /** Result for response recall metric. */
1662
- responseRecallResult?: GoogleCloudAiplatformV1beta1ResponseRecallResult;
1663
1677
  /** Results for rouge metric. */
1664
1678
  rougeResults?: GoogleCloudAiplatformV1beta1RougeResults;
1665
1679
  /** Result for safety metric. */
@@ -2047,6 +2061,10 @@ declare namespace gapi.client {
2047
2061
  manifest?: GoogleCloudAiplatformV1beta1ExtensionManifest;
2048
2062
  /** Identifier. The resource name of the Extension. */
2049
2063
  name?: string;
2064
+ /** Optional. The PrivateServiceConnect config for the extension. If specified, the service endpoints associated with the Extension should be registered with private network access in the provided Service Directory (https://cloud.google.com/service-directory/docs/configuring-private-network-access). If the service contains more than one endpoint with a network, the service will arbitrarilty choose one of the endpoints to use for extension execution. */
2065
+ privateServiceConnectConfig?: GoogleCloudAiplatformV1beta1ExtensionPrivateServiceConnectConfig;
2066
+ /** Optional. Runtime config controlling the runtime behavior of this Extension. */
2067
+ runtimeConfig?: GoogleCloudAiplatformV1beta1RuntimeConfig;
2050
2068
  /** Optional. Examples to illustrate the usage of the extension as a tool. */
2051
2069
  toolUseExamples?: GoogleCloudAiplatformV1beta1ToolUseExample[];
2052
2070
  /** Output only. Timestamp when this Extension was most recently updated. */
@@ -2074,6 +2092,10 @@ declare namespace gapi.client {
2074
2092
  /** Operation ID that uniquely identifies the operations among the extension. See: "Operation Object" in https://swagger.io/specification/. This field is parsed from the OpenAPI spec. For HTTP extensions, if it does not exist in the spec, we will generate one from the HTTP method and path. */
2075
2093
  operationId?: string;
2076
2094
  }
2095
+ interface GoogleCloudAiplatformV1beta1ExtensionPrivateServiceConnectConfig {
2096
+ /** Required. The Service Directory resource name in which the service endpoints associated to the extension are registered. Format: `projects/{project_id}/locations/{location_id}/namespaces/{namespace_id}/services/{service_id}` - The Vertex AI Extension Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) should be granted `servicedirectory.viewer` and `servicedirectory.pscAuthorizedService` roles on the resource. */
2097
+ serviceDirectory?: string;
2098
+ }
2077
2099
  interface GoogleCloudAiplatformV1beta1Feature {
2078
2100
  /** Output only. Only applicable for Vertex AI Feature Store (Legacy). Timestamp when this EntityType was created. */
2079
2101
  createTime?: string;
@@ -2655,6 +2677,8 @@ declare namespace gapi.client {
2655
2677
  maxOutputTokens?: number;
2656
2678
  /** Optional. Positive penalties. */
2657
2679
  presencePenalty?: number;
2680
+ /** 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. */
2681
+ responseMimeType?: string;
2658
2682
  /** Optional. Stop sequences. */
2659
2683
  stopSequences?: string[];
2660
2684
  /** Optional. Controls the randomness of predictions. */
@@ -2676,20 +2700,6 @@ declare namespace gapi.client {
2676
2700
  /** Required. The public base model URI. */
2677
2701
  baseModelUri?: string;
2678
2702
  }
2679
- interface GoogleCloudAiplatformV1beta1GoogleDriveSource {
2680
- /** Required. Google Drive resource IDs. */
2681
- resourceIds?: GoogleCloudAiplatformV1beta1GoogleDriveSourceResourceId[];
2682
- }
2683
- interface GoogleCloudAiplatformV1beta1GoogleDriveSourceResourceId {
2684
- /** Required. The ID of the Google Drive resource. */
2685
- resourceId?: string;
2686
- /** Required. The type of the Google Drive resource. */
2687
- resourceType?: string;
2688
- }
2689
- interface GoogleCloudAiplatformV1beta1GoogleSearchRetrieval {
2690
- /** Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation. */
2691
- disableAttribution?: boolean;
2692
- }
2693
2703
  interface GoogleCloudAiplatformV1beta1GroundednessInput {
2694
2704
  /** Required. Groundedness instance. */
2695
2705
  instance?: GoogleCloudAiplatformV1beta1GroundednessInstance;
@@ -2714,31 +2724,7 @@ declare namespace gapi.client {
2714
2724
  /** Optional. Which version to use for evaluation. */
2715
2725
  version?: number;
2716
2726
  }
2717
- interface GoogleCloudAiplatformV1beta1GroundingAttribution {
2718
- /** Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident. */
2719
- confidenceScore?: number;
2720
- /** Optional. Attribution from context retrieved by the retrieval tools. */
2721
- retrievedContext?: GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext;
2722
- /** Output only. Segment of the content this attribution belongs to. */
2723
- segment?: GoogleCloudAiplatformV1beta1Segment;
2724
- /** Optional. Attribution from the web. */
2725
- web?: GoogleCloudAiplatformV1beta1GroundingAttributionWeb;
2726
- }
2727
- interface GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext {
2728
- /** Output only. Title of the attribution. */
2729
- title?: string;
2730
- /** Output only. URI reference of the attribution. */
2731
- uri?: string;
2732
- }
2733
- interface GoogleCloudAiplatformV1beta1GroundingAttributionWeb {
2734
- /** Output only. Title of the attribution. */
2735
- title?: string;
2736
- /** Output only. URI reference of the attribution. */
2737
- uri?: string;
2738
- }
2739
2727
  interface GoogleCloudAiplatformV1beta1GroundingMetadata {
2740
- /** Optional. List of grounding attributions. */
2741
- groundingAttributions?: GoogleCloudAiplatformV1beta1GroundingAttribution[];
2742
2728
  /** Optional. Queries executed by the retrieval tools. */
2743
2729
  retrievalQueries?: string[];
2744
2730
  /** Optional. Web search queries for the following-up web search. */
@@ -2860,18 +2846,6 @@ declare namespace gapi.client {
2860
2846
  /** Required. Model evaluation resource to be imported. */
2861
2847
  modelEvaluation?: GoogleCloudAiplatformV1beta1ModelEvaluation;
2862
2848
  }
2863
- interface GoogleCloudAiplatformV1beta1ImportRagFilesConfig {
2864
- /** Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats: * "gs://bucket_name/my_directory/object_name/my_file.txt". * "gs://bucket_name/my_directory" */
2865
- gcsSource?: GoogleCloudAiplatformV1beta1GcsSource;
2866
- /** Google Drive location. Supports importing individual files as well as Google Drive folders. */
2867
- googleDriveSource?: GoogleCloudAiplatformV1beta1GoogleDriveSource;
2868
- /** Specifies the size and overlap of chunks after importing RagFiles. */
2869
- ragFileChunkingConfig?: GoogleCloudAiplatformV1beta1RagFileChunkingConfig;
2870
- }
2871
- interface GoogleCloudAiplatformV1beta1ImportRagFilesRequest {
2872
- /** Required. The config for the RagFiles to be synced and imported into the RagCorpus. VertexRagDataService.ImportRagFiles. */
2873
- importRagFilesConfig?: GoogleCloudAiplatformV1beta1ImportRagFilesConfig;
2874
- }
2875
2849
  interface GoogleCloudAiplatformV1beta1Index {
2876
2850
  /** Output only. Timestamp when this Index was created. */
2877
2851
  createTime?: string;
@@ -3204,6 +3178,18 @@ declare namespace gapi.client {
3204
3178
  /** A token to retrieve next page of results. Pass to ListModelEvaluationsRequest.page_token to obtain that page. */
3205
3179
  nextPageToken?: string;
3206
3180
  }
3181
+ interface GoogleCloudAiplatformV1beta1ListModelMonitoringJobsResponse {
3182
+ /** A list of ModelMonitoringJobs that matches the specified filter in the request. */
3183
+ modelMonitoringJobs?: GoogleCloudAiplatformV1beta1ModelMonitoringJob[];
3184
+ /** The standard List next-page token. */
3185
+ nextPageToken?: string;
3186
+ }
3187
+ interface GoogleCloudAiplatformV1beta1ListModelMonitorsResponse {
3188
+ /** List of ModelMonitor in the requested page. */
3189
+ modelMonitors?: GoogleCloudAiplatformV1beta1ModelMonitor[];
3190
+ /** A token to retrieve the next page of results. Pass to ListModelMonitorsRequest.page_token to obtain that page. */
3191
+ nextPageToken?: string;
3192
+ }
3207
3193
  interface GoogleCloudAiplatformV1beta1ListModelsResponse {
3208
3194
  /** List of Models in the requested page. */
3209
3195
  models?: GoogleCloudAiplatformV1beta1Model[];
@@ -3228,6 +3214,12 @@ declare namespace gapi.client {
3228
3214
  /** A token to retrieve the next page of results. Pass to ListNasTrialDetailsRequest.page_token to obtain that page. */
3229
3215
  nextPageToken?: string;
3230
3216
  }
3217
+ interface GoogleCloudAiplatformV1beta1ListNotebookExecutionJobsResponse {
3218
+ /** A token to retrieve next page of results. Pass to ListNotebookExecutionJobs.page_token to obtain that page. */
3219
+ nextPageToken?: string;
3220
+ /** List of NotebookExecutionJobs in the requested page. */
3221
+ notebookExecutionJobs?: GoogleCloudAiplatformV1beta1NotebookExecutionJob[];
3222
+ }
3231
3223
  interface GoogleCloudAiplatformV1beta1ListNotebookRuntimesResponse {
3232
3224
  /** A token to retrieve next page of results. Pass to ListNotebookRuntimesRequest.page_token to obtain that page. */
3233
3225
  nextPageToken?: string;
@@ -3262,18 +3254,6 @@ declare namespace gapi.client {
3262
3254
  /** List of PublisherModels in the requested page. */
3263
3255
  publisherModels?: GoogleCloudAiplatformV1beta1PublisherModel[];
3264
3256
  }
3265
- interface GoogleCloudAiplatformV1beta1ListRagCorporaResponse {
3266
- /** A token to retrieve the next page of results. Pass to ListRagCorporaRequest.page_token to obtain that page. */
3267
- nextPageToken?: string;
3268
- /** List of RagCorpora in the requested page. */
3269
- ragCorpora?: GoogleCloudAiplatformV1beta1RagCorpus[];
3270
- }
3271
- interface GoogleCloudAiplatformV1beta1ListRagFilesResponse {
3272
- /** A token to retrieve the next page of results. Pass to ListRagFilesRequest.page_token to obtain that page. */
3273
- nextPageToken?: string;
3274
- /** List of RagFiles in the requested page. */
3275
- ragFiles?: GoogleCloudAiplatformV1beta1RagFile[];
3276
- }
3277
3257
  interface GoogleCloudAiplatformV1beta1ListReasoningEnginesResponse {
3278
3258
  /** A token to retrieve the next page of results. Pass to ListReasoningEnginesRequest.page_token to obtain that page. */
3279
3259
  nextPageToken?: string;
@@ -3768,6 +3748,44 @@ declare namespace gapi.client {
3768
3748
  /** Required. The model garden source model resource name. */
3769
3749
  publicModelName?: string;
3770
3750
  }
3751
+ interface GoogleCloudAiplatformV1beta1ModelMonitor {
3752
+ /** Output only. Timestamp when this ModelMonitor was created. */
3753
+ createTime?: string;
3754
+ /** The display name of the ModelMonitor. The name can be up to 128 characters long and can consist of any UTF-8. */
3755
+ displayName?: string;
3756
+ /** Optional model explanation spec. It is used for feature attribution monitoring. */
3757
+ explanationSpec?: GoogleCloudAiplatformV1beta1ExplanationSpec;
3758
+ /** Monitoring Schema is to specify the model's features, prediction outputs and ground truth properties. It is used to extract pertinent data from the dataset and to process features based on their properties. Make sure that the schema aligns with your dataset, if it does not, we will be unable to extract data from the dataset. It is required for most models, but optional for Vertex AI AutoML Tables unless the schem information is not available. */
3759
+ modelMonitoringSchema?: GoogleCloudAiplatformV1beta1ModelMonitoringSchema;
3760
+ /** The entity that is subject to analysis. Currently only models in Vertex AI Model Registry are supported. If you want to analyze the model which is outside the Vertex AI, you could register a model in Vertex AI Model Registry using just a display name. */
3761
+ modelMonitoringTarget?: GoogleCloudAiplatformV1beta1ModelMonitorModelMonitoringTarget;
3762
+ /** Immutable. Resource name of the ModelMonitor. Format: `projects/{project}/locations/{location}/modelMonitors/{model_monitor}`. */
3763
+ name?: string;
3764
+ /** Optional default notification spec, it can be overridden in the ModelMonitoringJob notification spec. */
3765
+ notificationSpec?: GoogleCloudAiplatformV1beta1ModelMonitoringNotificationSpec;
3766
+ /** Optional default monitoring metrics/logs export spec, it can be overridden in the ModelMonitoringJob output spec. If not specified, a default Google Cloud Storage bucket will be created under your project. */
3767
+ outputSpec?: GoogleCloudAiplatformV1beta1ModelMonitoringOutputSpec;
3768
+ /** Optional default tabular model monitoring objective. */
3769
+ tabularObjective?: GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveSpecTabularObjective;
3770
+ /** Optional training dataset used to train the model. It can serve as a reference dataset to identify changes in production. */
3771
+ trainingDataset?: GoogleCloudAiplatformV1beta1ModelMonitoringInput;
3772
+ /** Output only. Timestamp when this ModelMonitor was updated most recently. */
3773
+ updateTime?: string;
3774
+ }
3775
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringAlert {
3776
+ /** Alert creation time. */
3777
+ alertTime?: string;
3778
+ /** Anomaly details. */
3779
+ anomaly?: GoogleCloudAiplatformV1beta1ModelMonitoringAnomaly;
3780
+ /** One of the supported monitoring objectives: `raw-feature-drift` `prediction-output-drift` `feature-attribution` */
3781
+ objectiveType?: string;
3782
+ /** The stats name. */
3783
+ statsName?: string;
3784
+ }
3785
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringAlertCondition {
3786
+ /** A condition that compares a stats value against a threshold. Alert will be triggered if value above the threshold. */
3787
+ threshold?: number;
3788
+ }
3771
3789
  interface GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig {
3772
3790
  /** Email alert config. */
3773
3791
  emailAlertConfig?: GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfigEmailAlertConfig;
@@ -3780,6 +3798,26 @@ declare namespace gapi.client {
3780
3798
  /** The email addresses to send the alert. */
3781
3799
  userEmails?: string[];
3782
3800
  }
3801
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringAnomaly {
3802
+ /** Algorithm used to calculated the metrics, eg: jensen_shannon_divergence, l_infinity. */
3803
+ algorithm?: string;
3804
+ /** Model monitoring job resource name. */
3805
+ modelMonitoringJob?: string;
3806
+ /** Tabular anomaly. */
3807
+ tabularAnomaly?: GoogleCloudAiplatformV1beta1ModelMonitoringAnomalyTabularAnomaly;
3808
+ }
3809
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringAnomalyTabularAnomaly {
3810
+ /** Anomaly body. */
3811
+ anomaly?: any;
3812
+ /** Additional anomaly information. e.g. Google Cloud Storage uri. */
3813
+ anomalyUri?: string;
3814
+ /** The alert condition associated with this anomaly. */
3815
+ condition?: GoogleCloudAiplatformV1beta1ModelMonitoringAlertCondition;
3816
+ /** Overview of this anomaly. */
3817
+ summary?: string;
3818
+ /** The time the anomaly was triggered. */
3819
+ triggerTime?: string;
3820
+ }
3783
3821
  interface GoogleCloudAiplatformV1beta1ModelMonitoringConfig {
3784
3822
  /** Model monitoring alert config. */
3785
3823
  alertConfig?: GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig;
@@ -3790,6 +3828,106 @@ declare namespace gapi.client {
3790
3828
  /** 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. */
3791
3829
  statsAnomaliesBaseDirectory?: GoogleCloudAiplatformV1beta1GcsDestination;
3792
3830
  }
3831
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringInput {
3832
+ /** Vertex AI Batch prediction Job. */
3833
+ batchPredictionOutput?: GoogleCloudAiplatformV1beta1ModelMonitoringInputBatchPredictionOutput;
3834
+ /** Columnized dataset. */
3835
+ columnizedDataset?: GoogleCloudAiplatformV1beta1ModelMonitoringInputModelMonitoringDataset;
3836
+ /** The time interval (pair of start_time and end_time) for which results should be returned. */
3837
+ timeInterval?: GoogleTypeInterval;
3838
+ /** The time offset setting for which results should be returned. */
3839
+ timeOffset?: GoogleCloudAiplatformV1beta1ModelMonitoringInputTimeOffset;
3840
+ /** Vertex AI Endpoint request & response logging. */
3841
+ vertexEndpointLogs?: GoogleCloudAiplatformV1beta1ModelMonitoringInputVertexEndpointLogs;
3842
+ }
3843
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringInputBatchPredictionOutput {
3844
+ /** Vertex AI Batch prediction job resource name. The job must match the model version specified in [ModelMonitor].[model_monitoring_target]. */
3845
+ batchPredictionJob?: string;
3846
+ }
3847
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringInputModelMonitoringDataset {
3848
+ /** BigQuery data source. */
3849
+ bigquerySource?: GoogleCloudAiplatformV1beta1ModelMonitoringInputModelMonitoringDatasetModelMonitoringBigQuerySource;
3850
+ /** Google Cloud Storage data source. */
3851
+ gcsSource?: GoogleCloudAiplatformV1beta1ModelMonitoringInputModelMonitoringDatasetModelMonitoringGcsSource;
3852
+ /** The timestamp field. Usually for serving data. */
3853
+ timestampField?: string;
3854
+ /** Resource name of the Vertex AI managed dataset. */
3855
+ vertexDataset?: string;
3856
+ }
3857
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringInputModelMonitoringDatasetModelMonitoringBigQuerySource {
3858
+ /** Standard SQL to be used instead of the `table_uri`. */
3859
+ query?: string;
3860
+ /** BigQuery URI to a table, up to 2000 characters long. All the columns in the table will be selected. Accepted forms: * BigQuery path. For example: `bq://projectId.bqDatasetId.bqTableId`. */
3861
+ tableUri?: string;
3862
+ }
3863
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringInputModelMonitoringDatasetModelMonitoringGcsSource {
3864
+ /** Data format of the dataset. */
3865
+ format?: string;
3866
+ /** Google Cloud Storage URI to the input file(s). May contain wildcards. For more information on wildcards, see https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames. */
3867
+ gcsUri?: string;
3868
+ }
3869
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringInputTimeOffset {
3870
+ /** [offset] is the time difference from the cut-off time. For scheduled jobs, the cut-off time is the scheduled time. For non-scheduled jobs, it's the time when the job was created. Currently we support the following format: 'w|W': Week, 'd|D': Day, 'h|H': Hour E.g. '1h' stands for 1 hour, '2d' stands for 2 days. */
3871
+ offset?: string;
3872
+ /** [window] refers to the scope of data selected for analysis. It allows you to specify the quantity of data you wish to examine. Currently we support the following format: 'w|W': Week, 'd|D': Day, 'h|H': Hour E.g. '1h' stands for 1 hour, '2d' stands for 2 days. */
3873
+ window?: string;
3874
+ }
3875
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringInputVertexEndpointLogs {
3876
+ /** List of endpoint resource names. The endpoints must enable the logging with the [Endpoint].[request_response_logging_config], and must contain the deployed model corresponding to the model version specified in [ModelMonitor].[model_monitoring_target]. */
3877
+ endpoints?: string[];
3878
+ }
3879
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringJob {
3880
+ /** Output only. Timestamp when this ModelMonitoringJob was created. */
3881
+ createTime?: string;
3882
+ /** The display name of the ModelMonitoringJob. The name can be up to 128 characters long and can consist of any UTF-8. */
3883
+ displayName?: string;
3884
+ /** Output only. Execution results for all the monitoring objectives. */
3885
+ jobExecutionDetail?: GoogleCloudAiplatformV1beta1ModelMonitoringJobExecutionDetail;
3886
+ /** Monitoring monitoring job spec. It outlines the specifications for monitoring objectives, notifications, and result exports. If left blank, the default monitoring specifications from the top-level resource 'ModelMonitor' will be applied. If provided, we will use the specification defined here rather than the default one. */
3887
+ modelMonitoringSpec?: GoogleCloudAiplatformV1beta1ModelMonitoringSpec;
3888
+ /** Output only. Resource name of a ModelMonitoringJob. Format: `projects/{project_id}/locations/{location_id}/modelMonitors/{model_monitor_id}/modelMonitoringJobs/{model_monitoring_job_id}` */
3889
+ name?: string;
3890
+ /** Output only. Schedule resource name. It will only appear when this job is triggered by a schedule. */
3891
+ schedule?: string;
3892
+ /** Output only. Timestamp when this ModelMonitoringJob was scheduled. It will only appear when this job is triggered by a schedule. */
3893
+ scheduleTime?: string;
3894
+ /** Output only. The state of the monitoring job. * When the job is still creating, the state will be 'JOB_STATE_PENDING'. * Once the job is successfully created, the state will be 'JOB_STATE_RUNNING'. * Once the job is finished, the state will be one of 'JOB_STATE_FAILED', 'JOB_STATE_SUCCEEDED', 'JOB_STATE_PARTIALLY_SUCCEEDED'. */
3895
+ state?: string;
3896
+ /** Output only. Timestamp when this ModelMonitoringJob was updated most recently. */
3897
+ updateTime?: string;
3898
+ }
3899
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringJobExecutionDetail {
3900
+ /** Processed baseline datasets. */
3901
+ baselineDatasets?: GoogleCloudAiplatformV1beta1ModelMonitoringJobExecutionDetailProcessedDataset[];
3902
+ /** Additional job error status. */
3903
+ error?: GoogleRpcStatus;
3904
+ /** Status of data processing for each monitoring objective. Key is the objective. */
3905
+ objectiveStatus?: {[P in string]: GoogleRpcStatus};
3906
+ /** Processed target datasets. */
3907
+ targetDatasets?: GoogleCloudAiplatformV1beta1ModelMonitoringJobExecutionDetailProcessedDataset[];
3908
+ }
3909
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringJobExecutionDetailProcessedDataset {
3910
+ /** Actual data location of the processed dataset. */
3911
+ location?: string;
3912
+ /** Dataset time range information if any. */
3913
+ timeRange?: GoogleTypeInterval;
3914
+ }
3915
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringNotificationSpec {
3916
+ /** Email alert config. */
3917
+ emailConfig?: GoogleCloudAiplatformV1beta1ModelMonitoringNotificationSpecEmailConfig;
3918
+ /** Dump the anomalies to Cloud Logging. The anomalies will be put to json payload encoded from proto google.cloud.aiplatform.logging.ModelMonitoringAnomaliesLogEntry. This can be further sinked to Pub/Sub or any other services supported by Cloud Logging. */
3919
+ enableCloudLogging?: boolean;
3920
+ /** Notification channel config. */
3921
+ notificationChannelConfigs?: GoogleCloudAiplatformV1beta1ModelMonitoringNotificationSpecNotificationChannelConfig[];
3922
+ }
3923
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringNotificationSpecEmailConfig {
3924
+ /** The email addresses to send the alerts. */
3925
+ userEmails?: string[];
3926
+ }
3927
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringNotificationSpecNotificationChannelConfig {
3928
+ /** Resource names of the NotificationChannels. Must be of the format `projects//notificationChannels/` */
3929
+ notificationChannel?: string;
3930
+ }
3793
3931
  interface GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfig {
3794
3932
  /** The config for integrating with Vertex Explainable AI. */
3795
3933
  explanationConfig?: GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfigExplanationConfig;
@@ -3852,6 +3990,86 @@ declare namespace gapi.client {
3852
3990
  [P in string]: GoogleCloudAiplatformV1beta1ThresholdConfig;
3853
3991
  };
3854
3992
  }
3993
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveSpec {
3994
+ /** Baseline dataset. It could be the training dataset or production serving dataset from a previous period. */
3995
+ baselineDataset?: GoogleCloudAiplatformV1beta1ModelMonitoringInput;
3996
+ /** The explanation spec. This spec is required when the objectives spec includes feature attribution objectives. */
3997
+ explanationSpec?: GoogleCloudAiplatformV1beta1ExplanationSpec;
3998
+ /** Tabular monitoring objective. */
3999
+ tabularObjective?: GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveSpecTabularObjective;
4000
+ /** Target dataset. */
4001
+ targetDataset?: GoogleCloudAiplatformV1beta1ModelMonitoringInput;
4002
+ }
4003
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveSpecDataDriftSpec {
4004
+ /** Supported metrics type: * l_infinity * jensen_shannon_divergence */
4005
+ categoricalMetricType?: string;
4006
+ /** Default alert condition for all the categorical features. */
4007
+ defaultCategoricalAlertCondition?: GoogleCloudAiplatformV1beta1ModelMonitoringAlertCondition;
4008
+ /** Default alert condition for all the numeric features. */
4009
+ defaultNumericAlertCondition?: GoogleCloudAiplatformV1beta1ModelMonitoringAlertCondition;
4010
+ /** Per feature alert condition will override default alert condition. */
4011
+ featureAlertConditions?: {
4012
+ [P in string]: GoogleCloudAiplatformV1beta1ModelMonitoringAlertCondition;
4013
+ };
4014
+ /** Feature names / Prediction output names interested in monitoring. These should be a subset of the input feature names or prediction output names specified in the monitoring schema. If the field is not specified all features / prediction outputs outlied in the monitoring schema will be used. */
4015
+ features?: string[];
4016
+ /** Supported metrics type: * jensen_shannon_divergence */
4017
+ numericMetricType?: string;
4018
+ }
4019
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveSpecFeatureAttributionSpec {
4020
+ /** The config of resources used by the Model Monitoring during the batch explanation for non-AutoML models. If not set, `n1-standard-2` machine type will be used by default. */
4021
+ batchExplanationDedicatedResources?: GoogleCloudAiplatformV1beta1BatchDedicatedResources;
4022
+ /** Default alert condition for all the features. */
4023
+ defaultAlertCondition?: GoogleCloudAiplatformV1beta1ModelMonitoringAlertCondition;
4024
+ /** Per feature alert condition will override default alert condition. */
4025
+ featureAlertConditions?: {
4026
+ [P in string]: GoogleCloudAiplatformV1beta1ModelMonitoringAlertCondition;
4027
+ };
4028
+ /** Feature names interested in monitoring. These should be a subset of the input feature names specified in the monitoring schema. If the field is not specified all features outlied in the monitoring schema will be used. */
4029
+ features?: string[];
4030
+ }
4031
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveSpecTabularObjective {
4032
+ /** Feature attribution monitoring spec. */
4033
+ featureAttributionSpec?: GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveSpecFeatureAttributionSpec;
4034
+ /** Input feature distribution drift monitoring spec. */
4035
+ featureDriftSpec?: GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveSpecDataDriftSpec;
4036
+ /** Prediction output distribution drift monitoring spec. */
4037
+ predictionOutputDriftSpec?: GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveSpecDataDriftSpec;
4038
+ }
4039
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringOutputSpec {
4040
+ /** Google Cloud Storage base folder path for metrics, error logs, etc. */
4041
+ gcsBaseDirectory?: GoogleCloudAiplatformV1beta1GcsDestination;
4042
+ }
4043
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringSchema {
4044
+ /** Feature names of the model. Vertex AI will try to match the features from your dataset as follows: * For 'csv' files, the header names are required, and we will extract the corresponding feature values when the header names align with the feature names. * For 'jsonl' files, we will extract the corresponding feature values if the key names match the feature names. Note: Nested features are not supported, so please ensure your features are flattened. Ensure the feature values are scalar or an array of scalars. * For 'bigquery' dataset, we will extract the corresponding feature values if the column names match the feature names. Note: The column type can be a scalar or an array of scalars. STRUCT or JSON types are not supported. You may use SQL queries to select or aggregate the relevant features from your original table. However, ensure that the 'schema' of the query results meets our requirements. * For the Vertex AI Endpoint Request Response Logging table or Vertex AI Batch Prediction Job results. If the instance_type is an array, ensure that the sequence in feature_fields matches the order of features in the prediction instance. We will match the feature with the array in the order specified in [feature_fields]. */
4045
+ featureFields?: GoogleCloudAiplatformV1beta1ModelMonitoringSchemaFieldSchema[];
4046
+ /** Target /ground truth names of the model. */
4047
+ groundTruthFields?: GoogleCloudAiplatformV1beta1ModelMonitoringSchemaFieldSchema[];
4048
+ /** The prediction instance type that the Model accepts when serving. Supported values are: * `object`: Each input is a JSON object format. * `array`: Each input is a JSON array format. */
4049
+ instanceType?: string;
4050
+ /** Prediction output names of the model. The requirements are the same as the feature_fields. For AutoML Tables, the prediction output name presented in schema will be: `predicted_{target_column}`, the `target_column` is the one you specified when you train the model. For Prediction output drift analysis: * AutoML Classification, the distribution of the argmax label will be analyzed. * AutoML Regression, the distribution of the value will be analyzed. */
4051
+ predictionFields?: GoogleCloudAiplatformV1beta1ModelMonitoringSchemaFieldSchema[];
4052
+ }
4053
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringSchemaFieldSchema {
4054
+ /** Supported data types are: `float` `integer` `boolean` `string` `categorical` */
4055
+ dataType?: string;
4056
+ /** Field name. */
4057
+ name?: string;
4058
+ /** Describes if the schema field is an array of given data type. */
4059
+ repeated?: boolean;
4060
+ }
4061
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringSpec {
4062
+ /** The model monitoring notification spec. */
4063
+ notificationSpec?: GoogleCloudAiplatformV1beta1ModelMonitoringNotificationSpec;
4064
+ /** The monitoring objective spec. */
4065
+ objectiveSpec?: GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveSpec;
4066
+ /** The Output destination spec for metrics, error logs, etc. */
4067
+ outputSpec?: GoogleCloudAiplatformV1beta1ModelMonitoringOutputSpec;
4068
+ }
4069
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringStats {
4070
+ /** Generated tabular statistics. */
4071
+ tabularStats?: GoogleCloudAiplatformV1beta1ModelMonitoringTabularStats;
4072
+ }
3855
4073
  interface GoogleCloudAiplatformV1beta1ModelMonitoringStatsAnomalies {
3856
4074
  /** Number of anomalies within all stats. */
3857
4075
  anomalyCount?: number;
@@ -3872,6 +4090,54 @@ declare namespace gapi.client {
3872
4090
  /** Stats calculated for the Training Dataset. */
3873
4091
  trainingStats?: GoogleCloudAiplatformV1beta1FeatureStatsAnomaly;
3874
4092
  }
4093
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPoint {
4094
+ /** Algorithm used to calculated the metrics, eg: jensen_shannon_divergence, l_infinity. */
4095
+ algorithm?: string;
4096
+ /** Statistics from baseline dataset. */
4097
+ baselineStats?: GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPointTypedValue;
4098
+ /** Statistics create time. */
4099
+ createTime?: string;
4100
+ /** Statistics from current dataset. */
4101
+ currentStats?: GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPointTypedValue;
4102
+ /** Indicate if the statistics has anomaly. */
4103
+ hasAnomaly?: boolean;
4104
+ /** Model monitoring job resource name. */
4105
+ modelMonitoringJob?: string;
4106
+ /** Schedule resource name. */
4107
+ schedule?: string;
4108
+ /** Threshold value. */
4109
+ thresholdValue?: number;
4110
+ }
4111
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPointTypedValue {
4112
+ /** Distribution. */
4113
+ distributionValue?: GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPointTypedValueDistributionDataValue;
4114
+ /** Double. */
4115
+ doubleValue?: number;
4116
+ }
4117
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPointTypedValueDistributionDataValue {
4118
+ /** tensorflow.metadata.v0.DatasetFeatureStatistics format. */
4119
+ distribution?: any;
4120
+ /** 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. */
4121
+ distributionDeviation?: number;
4122
+ }
4123
+ interface GoogleCloudAiplatformV1beta1ModelMonitoringTabularStats {
4124
+ /** The data points of this time series. When listing time series, points are returned in reverse time order. */
4125
+ dataPoints?: GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPoint[];
4126
+ /** One of the supported monitoring objectives: `raw-feature-drift` `prediction-output-drift` `feature-attribution` */
4127
+ objectiveType?: string;
4128
+ /** The stats name. */
4129
+ statsName?: string;
4130
+ }
4131
+ interface GoogleCloudAiplatformV1beta1ModelMonitorModelMonitoringTarget {
4132
+ /** Model in Vertex AI Model Registry. */
4133
+ vertexModel?: GoogleCloudAiplatformV1beta1ModelMonitorModelMonitoringTargetVertexModelSource;
4134
+ }
4135
+ interface GoogleCloudAiplatformV1beta1ModelMonitorModelMonitoringTargetVertexModelSource {
4136
+ /** Model resource name. Format: projects/{project}/locations/{location}/models/{model}. */
4137
+ model?: string;
4138
+ /** Model version id. */
4139
+ modelVersionId?: string;
4140
+ }
3875
4141
  interface GoogleCloudAiplatformV1beta1ModelOriginalModelInfo {
3876
4142
  /** Output only. The resource name of the Model this Model is a copy of, including the revision. Format: `projects/{project}/locations/{location}/models/{model_id}@{version_id}` */
3877
4143
  model?: string;
@@ -4108,6 +4374,48 @@ declare namespace gapi.client {
4108
4374
  /** Input only. Whether EUC is disabled in this NotebookRuntimeTemplate. In proto3, the default value of a boolean is false. In this way, by default EUC will be enabled for NotebookRuntimeTemplate. */
4109
4375
  eucDisabled?: boolean;
4110
4376
  }
4377
+ interface GoogleCloudAiplatformV1beta1NotebookExecutionJob {
4378
+ /** Output only. Timestamp when this NotebookExecutionJob was created. */
4379
+ createTime?: string;
4380
+ /** The Dataform Repository pointing to a single file notebook repository. */
4381
+ dataformRepositorySource?: GoogleCloudAiplatformV1beta1NotebookExecutionJobDataformRepositorySource;
4382
+ /** The display name of the NotebookExecutionJob. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
4383
+ displayName?: string;
4384
+ /** Max running time of the execution job in seconds (default 86400s / 24 hrs). */
4385
+ executionTimeout?: string;
4386
+ /** The user email to run the execution as. Only supported by Colab runtimes. */
4387
+ executionUser?: string;
4388
+ /** The GCS url pointing to the ipynb file. Format: `gs://bucket/notebook_file.ipynb` */
4389
+ gcsNotebookSource?: GoogleCloudAiplatformV1beta1NotebookExecutionJobGcsNotebookSource;
4390
+ /** The GCS location to upload the result to. Format: `gs://bucket-name` */
4391
+ gcsOutputUri?: string;
4392
+ /** Output only. The state of the NotebookExecutionJob. */
4393
+ jobState?: string;
4394
+ /** Output only. The resource name of this NotebookExecutionJob. Format: `projects/{project_id}/locations/{location}/notebookExecutionJobs/{job_id}` */
4395
+ name?: string;
4396
+ /** The NotebookRuntimeTemplate to source compute configuration from. */
4397
+ notebookRuntimeTemplateResourceName?: string;
4398
+ /** Output only. The Schedule resource name if this job is triggered by one. Format: `projects/{project_id}/locations/{location}/schedules/{schedule_id}` */
4399
+ scheduleResourceName?: string;
4400
+ /** The service account to run the execution as. */
4401
+ serviceAccount?: string;
4402
+ /** Output only. Populated when the NotebookExecutionJob is completed. When there is an error during notebook execution, the error details are populated. */
4403
+ status?: GoogleRpcStatus;
4404
+ /** Output only. Timestamp when this NotebookExecutionJob was most recently updated. */
4405
+ updateTime?: string;
4406
+ }
4407
+ interface GoogleCloudAiplatformV1beta1NotebookExecutionJobDataformRepositorySource {
4408
+ /** The commit SHA to read repository with. If unset, the file will be read at HEAD. */
4409
+ commitSha?: string;
4410
+ /** The resource name of the Dataform Repository. Format: `projects/{project_id}/locations/{location}/repositories/{repository_id}` */
4411
+ dataformRepositoryResourceName?: string;
4412
+ }
4413
+ interface GoogleCloudAiplatformV1beta1NotebookExecutionJobGcsNotebookSource {
4414
+ /** The version of the Cloud Storage object to read. If unset, the current version of the object is read. See https://cloud.google.com/storage/docs/metadata#generation-number. */
4415
+ generation?: string;
4416
+ /** The Cloud Storage uri pointing to the ipynb file. Format: `gs://bucket/notebook_file.ipynb` */
4417
+ uri?: string;
4418
+ }
4111
4419
  interface GoogleCloudAiplatformV1beta1NotebookIdleShutdownConfig {
4112
4420
  /** Whether Idle Shutdown is disabled in this NotebookRuntimeTemplate. */
4113
4421
  idleShutdownDisabled?: boolean;
@@ -4211,7 +4519,7 @@ declare namespace gapi.client {
4211
4519
  interface GoogleCloudAiplatformV1beta1PairwiseQuestionAnsweringQualityInstance {
4212
4520
  /** Required. Output of the baseline model. */
4213
4521
  baselinePrediction?: string;
4214
- /** Optional. Text to answer the question. */
4522
+ /** Required. Text to answer the question. */
4215
4523
  context?: string;
4216
4524
  /** Required. Question Answering prompt for LLM. */
4217
4525
  instruction?: string;
@@ -4571,8 +4879,6 @@ declare namespace gapi.client {
4571
4879
  deploy?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeploy;
4572
4880
  /** Optional. Deploy PublisherModel to Google Kubernetes Engine. */
4573
4881
  deployGke?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke;
4574
- /** Optional. Multiple setups to deploy the PublisherModel to Vertex Endpoint. */
4575
- multiDeployVertex?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployVertex;
4576
4882
  /** Optional. Open evaluation pipeline of the PublisherModel. */
4577
4883
  openEvaluationPipeline?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences;
4578
4884
  /** Optional. Open fine-tuning pipeline of the PublisherModel. */
@@ -4618,10 +4924,6 @@ declare namespace gapi.client {
4618
4924
  /** Optional. GKE deployment configuration in yaml format. */
4619
4925
  gkeYamlConfigs?: string[];
4620
4926
  }
4621
- interface GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployVertex {
4622
- /** Optional. One click deployment configurations. */
4623
- multiDeployVertex?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeploy[];
4624
- }
4625
4927
  interface GoogleCloudAiplatformV1beta1PublisherModelCallToActionOpenFineTuningPipelines {
4626
4928
  /** Required. Regional resource references to fine tuning pipelines. */
4627
4929
  fineTuningPipelines?: GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences[];
@@ -4829,7 +5131,7 @@ declare namespace gapi.client {
4829
5131
  metricSpec?: GoogleCloudAiplatformV1beta1QuestionAnsweringQualitySpec;
4830
5132
  }
4831
5133
  interface GoogleCloudAiplatformV1beta1QuestionAnsweringQualityInstance {
4832
- /** Optional. Text to answer the question. */
5134
+ /** Required. Text to answer the question. */
4833
5135
  context?: string;
4834
5136
  /** Required. Question Answering prompt for LLM. */
4835
5137
  instruction?: string;
@@ -4882,88 +5184,6 @@ declare namespace gapi.client {
4882
5184
  /** Optional. Which version to use for evaluation. */
4883
5185
  version?: number;
4884
5186
  }
4885
- interface GoogleCloudAiplatformV1beta1RagContextRecallInput {
4886
- /** Required. Rag context recall instance. */
4887
- instance?: GoogleCloudAiplatformV1beta1RagContextRecallInstance;
4888
- /** Required. Spec for rag context recall metric. */
4889
- metricSpec?: GoogleCloudAiplatformV1beta1RagContextRecallSpec;
4890
- }
4891
- interface GoogleCloudAiplatformV1beta1RagContextRecallInstance {
4892
- /** Required. Retrieved facts from RAG pipeline as context to be evaluated. */
4893
- context?: string;
4894
- /** Required. Ground truth used to compare against the context. */
4895
- reference?: string;
4896
- }
4897
- interface GoogleCloudAiplatformV1beta1RagContextRecallResult {
4898
- /** Output only. Confidence for rag context recall score. */
4899
- confidence?: number;
4900
- /** Output only. Explanation for rag context recall score. */
4901
- explanation?: string;
4902
- /** Output only. RagContextRecall score. */
4903
- score?: number;
4904
- }
4905
- interface GoogleCloudAiplatformV1beta1RagContextRecallSpec {
4906
- /** Optional. Which version to use for evaluation. */
4907
- version?: number;
4908
- }
4909
- interface GoogleCloudAiplatformV1beta1RagContexts {
4910
- /** All its contexts. */
4911
- contexts?: GoogleCloudAiplatformV1beta1RagContextsContext[];
4912
- }
4913
- interface GoogleCloudAiplatformV1beta1RagContextsContext {
4914
- /** The distance between the query vector and the context text vector. */
4915
- distance?: number;
4916
- /** For vertex RagStore, if the file is imported from Cloud Storage or Google Drive, source_uri will be original file URI in Cloud Storage or Google Drive; if file is uploaded, source_uri will be file display name. */
4917
- sourceUri?: string;
4918
- /** The text chunk. */
4919
- text?: string;
4920
- }
4921
- interface GoogleCloudAiplatformV1beta1RagCorpus {
4922
- /** Output only. Timestamp when this RagCorpus was created. */
4923
- createTime?: string;
4924
- /** Optional. The description of the RagCorpus. */
4925
- description?: string;
4926
- /** Required. The display name of the RagCorpus. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
4927
- displayName?: string;
4928
- /** Output only. The resource name of the RagCorpus. */
4929
- name?: string;
4930
- /** Output only. Timestamp when this RagCorpus was last updated. */
4931
- updateTime?: string;
4932
- }
4933
- interface GoogleCloudAiplatformV1beta1RagFile {
4934
- /** Output only. Timestamp when this RagFile was created. */
4935
- createTime?: string;
4936
- /** Optional. The description of the RagFile. */
4937
- description?: string;
4938
- /** Output only. The RagFile is encapsulated and uploaded in the UploadRagFile request. */
4939
- directUploadSource?: any;
4940
- /** Required. The display name of the RagFile. The name can be up to 128 characters long and can consist of any UTF-8 characters. */
4941
- displayName?: string;
4942
- /** Output only. Google Cloud Storage location of the RagFile. It does not support wildcards in the GCS uri for now. */
4943
- gcsSource?: GoogleCloudAiplatformV1beta1GcsSource;
4944
- /** Output only. Google Drive location. Supports importing individual files as well as Google Drive folders. */
4945
- googleDriveSource?: GoogleCloudAiplatformV1beta1GoogleDriveSource;
4946
- /** Output only. The resource name of the RagFile. */
4947
- name?: string;
4948
- /** Output only. The type of the RagFile. */
4949
- ragFileType?: string;
4950
- /** Output only. The size of the RagFile in bytes. */
4951
- sizeBytes?: string;
4952
- /** Output only. Timestamp when this RagFile was last updated. */
4953
- updateTime?: string;
4954
- }
4955
- interface GoogleCloudAiplatformV1beta1RagFileChunkingConfig {
4956
- /** The overlap between chunks. */
4957
- chunkOverlap?: number;
4958
- /** The size of the chunks. */
4959
- chunkSize?: number;
4960
- }
4961
- interface GoogleCloudAiplatformV1beta1RagQuery {
4962
- /** Optional. The number of contexts to retrieve. */
4963
- similarityTopK?: number;
4964
- /** Optional. The query in text format to get relevant contexts. */
4965
- text?: string;
4966
- }
4967
5187
  interface GoogleCloudAiplatformV1beta1RawPredictRequest {
4968
5188
  /** The prediction input. Supports HTTP headers and arbitrary data payload. A DeployedModel may have an upper limit on the number of instances it supports per request. When this limit it is exceeded for an AutoML model, the RawPredict method returns an error. When this limit is exceeded for a custom-trained model, the behavior varies depending on the model. You can specify the schema for each instance in the predict_schemata.instance_schema_uri field when you create a Model. This schema applies when you deploy the `Model` as a `DeployedModel` to an Endpoint and use the `RawPredict` method. */
4969
5189
  httpBody?: GoogleApiHttpBody;
@@ -5164,30 +5384,6 @@ declare namespace gapi.client {
5164
5384
  /** Output only. The number of replica hours used. Note that many replicas may run in parallel, and additionally any given work may be queued for some time. Therefore this value is not strictly related to wall time. */
5165
5385
  replicaHours?: number;
5166
5386
  }
5167
- interface GoogleCloudAiplatformV1beta1ResponseRecallInput {
5168
- /** Required. Response recall instance. */
5169
- instance?: GoogleCloudAiplatformV1beta1ResponseRecallInstance;
5170
- /** Required. Spec for response recall score metric. */
5171
- metricSpec?: GoogleCloudAiplatformV1beta1ResponseRecallSpec;
5172
- }
5173
- interface GoogleCloudAiplatformV1beta1ResponseRecallInstance {
5174
- /** Required. Output of the evaluated model. */
5175
- prediction?: string;
5176
- /** Required. Ground truth used to compare against the prediction. */
5177
- reference?: string;
5178
- }
5179
- interface GoogleCloudAiplatformV1beta1ResponseRecallResult {
5180
- /** Output only. Confidence for fulfillment score. */
5181
- confidence?: number;
5182
- /** Output only. Explanation for response recall score. */
5183
- explanation?: string;
5184
- /** Output only. ResponseRecall score. */
5185
- score?: number;
5186
- }
5187
- interface GoogleCloudAiplatformV1beta1ResponseRecallSpec {
5188
- /** Optional. Which version to use for evaluation. */
5189
- version?: number;
5190
- }
5191
5387
  interface GoogleCloudAiplatformV1beta1RestoreDatasetVersionOperationMetadata {
5192
5388
  /** The common part of the operation metadata. */
5193
5389
  genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
@@ -5205,20 +5401,6 @@ declare namespace gapi.client {
5205
5401
  /** Set to use data source powered by Vertex RAG store. User data is uploaded via the VertexRagDataService. */
5206
5402
  vertexRagStore?: GoogleCloudAiplatformV1beta1VertexRagStore;
5207
5403
  }
5208
- interface GoogleCloudAiplatformV1beta1RetrieveContextsRequest {
5209
- /** Required. Single RAG retrieve query. */
5210
- query?: GoogleCloudAiplatformV1beta1RagQuery;
5211
- /** The data source for Vertex RagStore. */
5212
- vertexRagStore?: GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStore;
5213
- }
5214
- interface GoogleCloudAiplatformV1beta1RetrieveContextsRequestVertexRagStore {
5215
- /** Required. RagCorpora resource name. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` Currently only one corpus is allowed. In the future we may open up multiple corpora support. However, they should be from the same project and location. */
5216
- ragCorpora?: string[];
5217
- }
5218
- interface GoogleCloudAiplatformV1beta1RetrieveContextsResponse {
5219
- /** The contexts of the query. */
5220
- contexts?: GoogleCloudAiplatformV1beta1RagContexts;
5221
- }
5222
5404
  interface GoogleCloudAiplatformV1beta1RougeInput {
5223
5405
  /** Required. Repeated rouge instances. */
5224
5406
  instances?: GoogleCloudAiplatformV1beta1RougeInstance[];
@@ -5240,13 +5422,31 @@ declare namespace gapi.client {
5240
5422
  rougeMetricValues?: GoogleCloudAiplatformV1beta1RougeMetricValue[];
5241
5423
  }
5242
5424
  interface GoogleCloudAiplatformV1beta1RougeSpec {
5243
- /** Optional. Supported rouge types are rougen[1-9], rougeL and rougeLsum. */
5425
+ /** Optional. Supported rouge types are rougen[1-9], rougeL, and rougeLsum. */
5244
5426
  rougeType?: string;
5245
5427
  /** Optional. Whether to split summaries while using rougeLsum. */
5246
5428
  splitSummaries?: boolean;
5247
5429
  /** Optional. Whether to use stemmer to compute rouge score. */
5248
5430
  useStemmer?: boolean;
5249
5431
  }
5432
+ interface GoogleCloudAiplatformV1beta1RuntimeConfig {
5433
+ /** Code execution runtime configurations for code interpreter extension. */
5434
+ codeInterpreterRuntimeConfig?: GoogleCloudAiplatformV1beta1RuntimeConfigCodeInterpreterRuntimeConfig;
5435
+ /** Optional. Default parameters that will be set for all the execution of this extension. If specified, the parameter values can be overridden by values in [[ExecuteExtensionRequest.operation_params]] at request time. The struct should be in a form of map with param name as the key and actual param value as the value. E.g. If this operation requires a param "name" to be set to "abc". you can set this to something like {"name": "abc"}. */
5436
+ defaultParams?: {[P in string]: any};
5437
+ /** Runtime configuration for Vertext AI Search extension. */
5438
+ vertexAiSearchRuntimeConfig?: GoogleCloudAiplatformV1beta1RuntimeConfigVertexAISearchRuntimeConfig;
5439
+ }
5440
+ interface GoogleCloudAiplatformV1beta1RuntimeConfigCodeInterpreterRuntimeConfig {
5441
+ /** Optional. The Cloud Storage bucket for file input of this Extension. If specified, support input from the Cloud Storage bucket. Vertex Extension Custom Code Service Agent should be granted file reader to this bucket. If not specified, the extension will only accept file contents from request body and reject Cloud Storage file inputs. */
5442
+ fileInputGcsBucket?: string;
5443
+ /** Optional. The Cloud Storage bucket for file output of this Extension. If specified, write all output files to the Cloud Storage bucket. Vertex Extension Custom Code Service Agent should be granted file writer to this bucket. If not specified, the file content will be output in response body. */
5444
+ fileOutputGcsBucket?: string;
5445
+ }
5446
+ interface GoogleCloudAiplatformV1beta1RuntimeConfigVertexAISearchRuntimeConfig {
5447
+ /** Required. Vertext AI Search serving config name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}` */
5448
+ servingConfigName?: string;
5449
+ }
5250
5450
  interface GoogleCloudAiplatformV1beta1SafetyInput {
5251
5451
  /** Required. Safety instance. */
5252
5452
  instance?: GoogleCloudAiplatformV1beta1SafetyInstance;
@@ -5342,6 +5542,8 @@ declare namespace gapi.client {
5342
5542
  allowQueueing?: boolean;
5343
5543
  /** Output only. Whether to backfill missed runs when the schedule is resumed from PAUSED state. If set to true, all missed runs will be scheduled. New runs will be scheduled after the backfill is complete. Default to false. */
5344
5544
  catchUp?: boolean;
5545
+ /** Request for ModelMonitoringService.CreateModelMonitoringJob. */
5546
+ createModelMonitoringJobRequest?: GoogleCloudAiplatformV1beta1CreateModelMonitoringJobRequest;
5345
5547
  /** Request for PipelineService.CreatePipelineJob. CreatePipelineJobRequest.parent field is required (format: projects/{project}/locations/{location}). */
5346
5548
  createPipelineJobRequest?: GoogleCloudAiplatformV1beta1CreatePipelineJobRequest;
5347
5549
  /** Output only. Timestamp when this Schedule was created. */
@@ -5637,6 +5839,34 @@ declare namespace gapi.client {
5637
5839
  /** Recall (True Positive Rate) for the given confidence threshold. */
5638
5840
  recall?: number;
5639
5841
  }
5842
+ interface GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsPairwiseTextGenerationEvaluationMetrics {
5843
+ /** Fraction of cases where the autorater agreed with the human raters. */
5844
+ accuracy?: number;
5845
+ /** Percentage of time the autorater decided the baseline model had the better response. */
5846
+ baselineModelWinRate?: number;
5847
+ /** A measurement of agreement between the autorater and human raters that takes the likelihood of random agreement into account. */
5848
+ cohensKappa?: number;
5849
+ /** Harmonic mean of precision and recall. */
5850
+ f1Score?: number;
5851
+ /** Number of examples where the autorater chose the baseline model, but humans preferred the model. */
5852
+ falseNegativeCount?: string;
5853
+ /** Number of examples where the autorater chose the model, but humans preferred the baseline model. */
5854
+ falsePositiveCount?: string;
5855
+ /** Percentage of time humans decided the baseline model had the better response. */
5856
+ humanPreferenceBaselineModelWinRate?: number;
5857
+ /** Percentage of time humans decided the model had the better response. */
5858
+ humanPreferenceModelWinRate?: number;
5859
+ /** Percentage of time the autorater decided the model had the better response. */
5860
+ modelWinRate?: number;
5861
+ /** Fraction of cases where the autorater and humans thought the model had a better response out of all cases where the autorater thought the model had a better response. True positive divided by all positive. */
5862
+ precision?: number;
5863
+ /** Fraction of cases where the autorater and humans thought the model had a better response out of all cases where the humans thought the model had a better response. */
5864
+ recall?: number;
5865
+ /** Number of examples where both the autorater and humans decided that the model had the worse response. */
5866
+ trueNegativeCount?: string;
5867
+ /** Number of examples where both the autorater and humans decided that the model had the better response. */
5868
+ truePositiveCount?: string;
5869
+ }
5640
5870
  interface GoogleCloudAiplatformV1beta1SchemaModelevaluationMetricsQuestionAnsweringEvaluationMetrics {
5641
5871
  /** The rate at which the input predicted strings exactly match their references. */
5642
5872
  exactMatch?: number;
@@ -6721,6 +6951,60 @@ declare namespace gapi.client {
6721
6951
  /** The page token that can be used by the next JobService.SearchModelDeploymentMonitoringStatsAnomalies call. */
6722
6952
  nextPageToken?: string;
6723
6953
  }
6954
+ interface GoogleCloudAiplatformV1beta1SearchModelMonitoringAlertsRequest {
6955
+ /** If non-empty, returns the alerts in this time interval. */
6956
+ alertTimeInterval?: GoogleTypeInterval;
6957
+ /** If non-empty, returns the alerts of this model monitoring job. */
6958
+ modelMonitoringJob?: string;
6959
+ /** If non-empty, returns the alerts of this objective type. Supported monitoring objectives: `raw-feature-drift` `prediction-output-drift` `feature-attribution` */
6960
+ objectiveType?: string;
6961
+ /** The standard list page size. */
6962
+ pageSize?: number;
6963
+ /** A page token received from a previous ModelMonitoringService.SearchModelMonitoringAlerts call. */
6964
+ pageToken?: string;
6965
+ /** If non-empty, returns the alerts of this stats_name. */
6966
+ statsName?: string;
6967
+ }
6968
+ interface GoogleCloudAiplatformV1beta1SearchModelMonitoringAlertsResponse {
6969
+ /** Alerts retrieved for the requested objectives. Sorted by alert time descendingly. */
6970
+ modelMonitoringAlerts?: GoogleCloudAiplatformV1beta1ModelMonitoringAlert[];
6971
+ /** The page token that can be used by the next ModelMonitoringService.SearchModelMonitoringAlerts call. */
6972
+ nextPageToken?: string;
6973
+ /** The total number of alerts retrieved by the requested objectives. */
6974
+ totalNumberAlerts?: string;
6975
+ }
6976
+ interface GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilter {
6977
+ /** Tabular statistics filter. */
6978
+ tabularStatsFilter?: GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterTabularStatsFilter;
6979
+ }
6980
+ interface GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterTabularStatsFilter {
6981
+ /** Specify the algorithm type used for distance calculation, eg: jensen_shannon_divergence, l_infinity. */
6982
+ algorithm?: string;
6983
+ /** From a particular monitoring job. */
6984
+ modelMonitoringJob?: string;
6985
+ /** From a particular monitoring schedule. */
6986
+ modelMonitoringSchedule?: string;
6987
+ /** One of the supported monitoring objectives: `raw-feature-drift` `prediction-output-drift` `feature-attribution` */
6988
+ objectiveType?: string;
6989
+ /** If not specified, will return all the stats_names. */
6990
+ statsName?: string;
6991
+ }
6992
+ interface GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsRequest {
6993
+ /** The standard list page size. */
6994
+ pageSize?: number;
6995
+ /** A page token received from a previous ModelMonitoringService.SearchModelMonitoringStats call. */
6996
+ pageToken?: string;
6997
+ /** Filter for search different stats. */
6998
+ statsFilter?: GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilter;
6999
+ /** The time interval for which results should be returned. */
7000
+ timeInterval?: GoogleTypeInterval;
7001
+ }
7002
+ interface GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsResponse {
7003
+ /** Stats retrieved for requested objectives. */
7004
+ monitoringStats?: GoogleCloudAiplatformV1beta1ModelMonitoringStats[];
7005
+ /** The page token that can be used by the next ModelMonitoringService.SearchModelMonitoringStats call. */
7006
+ nextPageToken?: string;
7007
+ }
6724
7008
  interface GoogleCloudAiplatformV1beta1SearchNearestEntitiesRequest {
6725
7009
  /** Required. The query. */
6726
7010
  query?: GoogleCloudAiplatformV1beta1NearestNeighborQuery;
@@ -6731,18 +7015,10 @@ declare namespace gapi.client {
6731
7015
  /** The nearest neighbors of the query entity. */
6732
7016
  nearestNeighbors?: GoogleCloudAiplatformV1beta1NearestNeighbors;
6733
7017
  }
6734
- interface GoogleCloudAiplatformV1beta1Segment {
6735
- /** Output only. End index in the given Part, measured in bytes. Offset from the start of the Part, exclusive, starting at zero. */
6736
- endIndex?: number;
6737
- /** Output only. The index of a Part object within its parent Content object. */
6738
- partIndex?: number;
6739
- /** Output only. Start index in the given Part, measured in bytes. Offset from the start of the Part, inclusive, starting at zero. */
6740
- startIndex?: number;
6741
- }
6742
7018
  interface GoogleCloudAiplatformV1beta1ServiceAccountSpec {
6743
7019
  /** Required. If true, custom user-managed service account is enforced to run any workloads (for example, Vertex Jobs) on the resource. Otherwise, uses the [Vertex AI Custom Code Service Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents). */
6744
7020
  enableCustomServiceAccount?: boolean;
6745
- /** Optional. Default service account that this PersistentResource's workloads run as. The workloads include: * Any runtime specified via `ResourceRuntimeSpec` on creation time, for example, Ray. * Jobs submitted to PersistentResource, if no other service account specified in the job specs. Only works when custom service account is enabled and users have the `iam.serviceAccounts.actAs` permission on this service account. Required if any containers are specified in `ResourceRuntimeSpec`. */
7021
+ /** Optional. Required when all below conditions are met * `enable_custom_service_account` is true; * any runtime is specified via `ResourceRuntimeSpec` on creation time, for example, Ray The users must have `iam.serviceAccounts.actAs` permission on this service account and then the specified runtime containers will run as it. Do not set this field if you want to submit jobs using custom service account to this PersistentResource after creation, but only specify the `service_account` inside the job. */
6746
7022
  serviceAccount?: string;
6747
7023
  }
6748
7024
  interface GoogleCloudAiplatformV1beta1ShieldedVmConfig {
@@ -7302,8 +7578,6 @@ declare namespace gapi.client {
7302
7578
  interface GoogleCloudAiplatformV1beta1Tool {
7303
7579
  /** 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. */
7304
7580
  functionDeclarations?: GoogleCloudAiplatformV1beta1FunctionDeclaration[];
7305
- /** Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search. */
7306
- googleSearchRetrieval?: GoogleCloudAiplatformV1beta1GoogleSearchRetrieval;
7307
7581
  /** 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. */
7308
7582
  retrieval?: GoogleCloudAiplatformV1beta1Retrieval;
7309
7583
  }
@@ -7573,6 +7847,10 @@ declare namespace gapi.client {
7573
7847
  /** The operation generic information. */
7574
7848
  genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
7575
7849
  }
7850
+ interface GoogleCloudAiplatformV1beta1UpdateModelMonitorOperationMetadata {
7851
+ /** The operation generic information. */
7852
+ genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
7853
+ }
7576
7854
  interface GoogleCloudAiplatformV1beta1UpdatePersistentResourceOperationMetadata {
7577
7855
  /** Operation metadata for PersistentResource. */
7578
7856
  genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
@@ -7616,22 +7894,6 @@ declare namespace gapi.client {
7616
7894
  /** Output only. The version ID of the model that is uploaded. */
7617
7895
  modelVersionId?: string;
7618
7896
  }
7619
- interface GoogleCloudAiplatformV1beta1UploadRagFileConfig {
7620
- /** Specifies the size and overlap of chunks after uploading RagFile. */
7621
- ragFileChunkingConfig?: GoogleCloudAiplatformV1beta1RagFileChunkingConfig;
7622
- }
7623
- interface GoogleCloudAiplatformV1beta1UploadRagFileRequest {
7624
- /** Required. The RagFile to upload. */
7625
- ragFile?: GoogleCloudAiplatformV1beta1RagFile;
7626
- /** Required. The config for the RagFiles to be uploaded into the RagCorpus. VertexRagDataService.UploadRagFile. */
7627
- uploadRagFileConfig?: GoogleCloudAiplatformV1beta1UploadRagFileConfig;
7628
- }
7629
- interface GoogleCloudAiplatformV1beta1UploadRagFileResponse {
7630
- /** The error that occurred while processing the RagFile. */
7631
- error?: GoogleRpcStatus;
7632
- /** The RagFile that had been uploaded into the RagCorpus. */
7633
- ragFile?: GoogleCloudAiplatformV1beta1RagFile;
7634
- }
7635
7897
  interface GoogleCloudAiplatformV1beta1UpsertDatapointsRequest {
7636
7898
  /** A list of datapoints to be created/updated. */
7637
7899
  datapoints?: GoogleCloudAiplatformV1beta1IndexDatapoint[];
@@ -7656,14 +7918,16 @@ declare namespace gapi.client {
7656
7918
  stringValue?: string;
7657
7919
  }
7658
7920
  interface GoogleCloudAiplatformV1beta1VertexAISearch {
7659
- /** Required. Fully-qualified Vertex AI Search's datastore resource ID. Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore} */
7921
+ /** Required. Fully-qualified Vertex AI Search's datastore resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}` */
7660
7922
  datastore?: string;
7661
7923
  }
7662
7924
  interface GoogleCloudAiplatformV1beta1VertexRagStore {
7663
- /** Required. Vertex RAG Store corpus resource name: projects/{project}/locations/{location}/ragCorpora/{ragCorpus} Currently only one corpus is allowed. In the future we may open up multiple corpora support. However, they should be from the same project and location. */
7925
+ /** Required. Vertex RAG Store corpus resource name: `projects/{project}/locations/{location}/ragCorpora/{ragCorpus}` Currently only one corpus is allowed. In the future we may open up multiple corpora support. However, they should be from the same project and location. */
7664
7926
  ragCorpora?: string[];
7665
7927
  /** Optional. Number of top k results to return from the selected corpora. */
7666
7928
  similarityTopK?: number;
7929
+ /** Optional. Only return results with vector distance smaller than the threshold. */
7930
+ vectorDistanceThreshold?: number;
7667
7931
  }
7668
7932
  interface GoogleCloudAiplatformV1beta1VideoMetadata {
7669
7933
  /** Optional. The end offset of the video. */
@@ -8038,9 +8302,16 @@ declare namespace gapi.client {
8038
8302
  interface LearningGenaiRootCodeyCompletionMetadata {
8039
8303
  checkpoints?: LearningGenaiRootCodeyCheckpoint[];
8040
8304
  }
8305
+ interface LearningGenaiRootCodeyGenerationMetadata {
8306
+ /** Last state of the sample before getting dropped/returned. */
8307
+ output?: string;
8308
+ /** Last Codey postprocessing step for this sample before getting dropped/returned. */
8309
+ postInferenceStep?: string;
8310
+ }
8041
8311
  interface LearningGenaiRootCodeyOutput {
8042
8312
  codeyChatMetadata?: LearningGenaiRootCodeyChatMetadata;
8043
8313
  codeyCompletionMetadata?: LearningGenaiRootCodeyCompletionMetadata;
8314
+ codeyGenerationMetadata?: LearningGenaiRootCodeyGenerationMetadata;
8044
8315
  }
8045
8316
  interface LearningGenaiRootCodeyTruncatorMetadata {
8046
8317
  /** Index of the current sample that trims off truncated text. */
@@ -8048,6 +8319,28 @@ declare namespace gapi.client {
8048
8319
  /** Text that was truncated at a specific checkpoint. */
8049
8320
  truncatedText?: string;
8050
8321
  }
8322
+ interface LearningGenaiRootControlDecodingConfigThreshold {
8323
+ policy?: string;
8324
+ scoreMax?: number;
8325
+ }
8326
+ interface LearningGenaiRootControlDecodingRecord {
8327
+ /** Prefixes feeded into scorer. */
8328
+ prefixes?: string;
8329
+ /** Per policy scores returned from Scorer. Expect to have the same number of scores as in `thresholds`. */
8330
+ scores?: LearningGenaiRootControlDecodingRecordPolicyScore[];
8331
+ /** Suffixes feeded into scorer. */
8332
+ suffiexes?: string;
8333
+ /** Per policy thresholds from user config. */
8334
+ thresholds?: LearningGenaiRootControlDecodingConfigThreshold[];
8335
+ }
8336
+ interface LearningGenaiRootControlDecodingRecordPolicyScore {
8337
+ policy?: string;
8338
+ score?: number;
8339
+ }
8340
+ interface LearningGenaiRootControlDecodingRecords {
8341
+ /** One ControlDecodingRecord record maps to one rewind. */
8342
+ records?: LearningGenaiRootControlDecodingRecord[];
8343
+ }
8051
8344
  interface LearningGenaiRootDataProviderOutput {
8052
8345
  name?: string;
8053
8346
  /** If set, this DataProvider failed and this is the error message. */
@@ -8077,6 +8370,8 @@ declare namespace gapi.client {
8077
8370
  raiOutput?: LearningGenaiRootRAIOutput;
8078
8371
  raiResult?: CloudAiNlLlmProtoServiceRaiResult;
8079
8372
  raiSignal?: CloudAiNlLlmProtoServiceRaiSignal;
8373
+ /** Number of rewinds by controlled decoding. */
8374
+ records?: LearningGenaiRootControlDecodingRecords;
8080
8375
  streamRecitationResult?: LanguageLabsAidaTrustRecitationProtoStreamRecitationResult;
8081
8376
  takedownResult?: LearningGenaiRootTakedownResult;
8082
8377
  toxicityResult?: LearningGenaiRootToxicityResult;
@@ -8155,6 +8450,12 @@ declare namespace gapi.client {
8155
8450
  status?: UtilStatusProto;
8156
8451
  stringValue?: string;
8157
8452
  }
8453
+ interface LearningGenaiRootPerRequestProcessorDebugMetadataFactualityDebugMetadata {
8454
+ /** Latency spent on fact retrievals. There might be multiple retrievals from different fact providers. */
8455
+ factRetrievalMillisecondsByProvider?: {[P in string]: string};
8456
+ /** Latency spent on prompt2query. The procedure generates a search-friendly query given the original prompt. */
8457
+ prompt2queryMilliseconds?: string;
8458
+ }
8158
8459
  interface LearningGenaiRootRAIOutput {
8159
8460
  allowed?: boolean;
8160
8461
  harm?: LearningGenaiRootHarm;
@@ -8285,6 +8586,12 @@ declare namespace gapi.client {
8285
8586
  label?: string;
8286
8587
  score?: number;
8287
8588
  }
8589
+ interface LearningGenaiRootTranslationRequestInfo {
8590
+ /** The ISO-639 language code of source text in the initial request, detected automatically, if no source language was passed within the initial request. If the source language was passed, auto-detection of the language does not occur and this field is empty. */
8591
+ detectedLanguageCodes?: string[];
8592
+ /** The sum of the size of all the contents in the request. */
8593
+ totalContentSize?: string;
8594
+ }
8288
8595
  interface LearningServingLlmMessageMetadata {
8289
8596
  /** Summary of classifier output. We attach this to all messages regardless of whether classification rules triggered or not. */
8290
8597
  classifierSummary?: LearningGenaiRootClassifierOutputSummary;
@@ -8377,66 +8684,6 @@ declare namespace gapi.client {
8377
8684
  /** The following are usually only present when code != 0 Space to which this status belongs */
8378
8685
  space?: string;
8379
8686
  }
8380
- interface MediaResource {
8381
- /** Upload a file into a RagCorpus. */
8382
- upload(request: {
8383
- /** V1 error format. */
8384
- '$.xgafv'?: string;
8385
- /** OAuth access token. */
8386
- access_token?: string;
8387
- /** Data format for response. */
8388
- alt?: string;
8389
- /** JSONP */
8390
- callback?: string;
8391
- /** Selector specifying which fields to include in a partial response. */
8392
- fields?: string;
8393
- /** 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. */
8394
- key?: string;
8395
- /** OAuth 2.0 token for the current user. */
8396
- oauth_token?: string;
8397
- /** Required. The name of the RagCorpus resource into which to upload the file. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
8398
- parent: string;
8399
- /** Returns response with indentations and line breaks. */
8400
- prettyPrint?: boolean;
8401
- /** 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. */
8402
- quotaUser?: string;
8403
- /** Upload protocol for media (e.g. "raw", "multipart"). */
8404
- upload_protocol?: string;
8405
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8406
- uploadType?: string;
8407
- /** Request body */
8408
- resource: GoogleCloudAiplatformV1beta1UploadRagFileRequest;
8409
- }): Request<GoogleCloudAiplatformV1beta1UploadRagFileResponse>;
8410
- upload(
8411
- request: {
8412
- /** V1 error format. */
8413
- '$.xgafv'?: string;
8414
- /** OAuth access token. */
8415
- access_token?: string;
8416
- /** Data format for response. */
8417
- alt?: string;
8418
- /** JSONP */
8419
- callback?: string;
8420
- /** Selector specifying which fields to include in a partial response. */
8421
- fields?: string;
8422
- /** 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. */
8423
- key?: string;
8424
- /** OAuth 2.0 token for the current user. */
8425
- oauth_token?: string;
8426
- /** Required. The name of the RagCorpus resource into which to upload the file. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
8427
- parent: string;
8428
- /** Returns response with indentations and line breaks. */
8429
- prettyPrint?: boolean;
8430
- /** 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. */
8431
- quotaUser?: string;
8432
- /** Upload protocol for media (e.g. "raw", "multipart"). */
8433
- upload_protocol?: string;
8434
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
8435
- uploadType?: string;
8436
- },
8437
- body: GoogleCloudAiplatformV1beta1UploadRagFileRequest
8438
- ): Request<GoogleCloudAiplatformV1beta1UploadRagFileResponse>;
8439
- }
8440
8687
  interface BatchPredictionJobsResource {
8441
8688
  /** Cancels a BatchPredictionJob. Starts asynchronous cancellation on the BatchPredictionJob. The server makes the best effort to cancel the job, but success is not guaranteed. Clients can use JobService.GetBatchPredictionJob or other methods to check whether the cancellation succeeded or whether the job completed despite cancellation. On a successful cancellation, the BatchPredictionJob is not deleted;instead its BatchPredictionJob.state is set to `CANCELLED`. Any files already outputted by the job are not deleted. */
8442
8689
  cancel(request: {
@@ -21420,9 +21667,9 @@ declare namespace gapi.client {
21420
21667
  ): Request<GoogleCloudAiplatformV1beta1SearchModelDeploymentMonitoringStatsAnomaliesResponse>;
21421
21668
  operations: OperationsResource;
21422
21669
  }
21423
- interface OperationsResource {
21424
- /** 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`. */
21425
- cancel(request?: {
21670
+ interface ModelMonitoringJobsResource {
21671
+ /** Creates a ModelMonitoringJob. */
21672
+ create(request: {
21426
21673
  /** V1 error format. */
21427
21674
  '$.xgafv'?: string;
21428
21675
  /** OAuth access token. */
@@ -21435,10 +21682,12 @@ declare namespace gapi.client {
21435
21682
  fields?: string;
21436
21683
  /** 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. */
21437
21684
  key?: string;
21438
- /** The name of the operation resource to be cancelled. */
21439
- name: string;
21685
+ /** Optional. The ID to use for the Model Monitoring Job, which will become the final component of the model monitoring job resource name. The maximum length is 63 characters, and valid characters are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`. */
21686
+ modelMonitoringJobId?: string;
21440
21687
  /** OAuth 2.0 token for the current user. */
21441
21688
  oauth_token?: string;
21689
+ /** Required. The parent of the ModelMonitoringJob. Format: `projects/{project}/locations/{location}/modelMoniitors/{model_monitor}` */
21690
+ parent: string;
21442
21691
  /** Returns response with indentations and line breaks. */
21443
21692
  prettyPrint?: boolean;
21444
21693
  /** 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. */
@@ -21447,7 +21696,158 @@ declare namespace gapi.client {
21447
21696
  upload_protocol?: string;
21448
21697
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
21449
21698
  uploadType?: string;
21450
- }): Request<{}>;
21699
+ /** Request body */
21700
+ resource: GoogleCloudAiplatformV1beta1ModelMonitoringJob;
21701
+ }): Request<GoogleCloudAiplatformV1beta1ModelMonitoringJob>;
21702
+ create(
21703
+ request: {
21704
+ /** V1 error format. */
21705
+ '$.xgafv'?: string;
21706
+ /** OAuth access token. */
21707
+ access_token?: string;
21708
+ /** Data format for response. */
21709
+ alt?: string;
21710
+ /** JSONP */
21711
+ callback?: string;
21712
+ /** Selector specifying which fields to include in a partial response. */
21713
+ fields?: string;
21714
+ /** 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. */
21715
+ key?: string;
21716
+ /** Optional. The ID to use for the Model Monitoring Job, which will become the final component of the model monitoring job resource name. The maximum length is 63 characters, and valid characters are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`. */
21717
+ modelMonitoringJobId?: string;
21718
+ /** OAuth 2.0 token for the current user. */
21719
+ oauth_token?: string;
21720
+ /** Required. The parent of the ModelMonitoringJob. Format: `projects/{project}/locations/{location}/modelMoniitors/{model_monitor}` */
21721
+ parent: string;
21722
+ /** Returns response with indentations and line breaks. */
21723
+ prettyPrint?: boolean;
21724
+ /** 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. */
21725
+ quotaUser?: string;
21726
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
21727
+ upload_protocol?: string;
21728
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
21729
+ uploadType?: string;
21730
+ },
21731
+ body: GoogleCloudAiplatformV1beta1ModelMonitoringJob
21732
+ ): Request<GoogleCloudAiplatformV1beta1ModelMonitoringJob>;
21733
+ /** Deletes a ModelMonitoringJob. */
21734
+ delete(request?: {
21735
+ /** V1 error format. */
21736
+ '$.xgafv'?: string;
21737
+ /** OAuth access token. */
21738
+ access_token?: string;
21739
+ /** Data format for response. */
21740
+ alt?: string;
21741
+ /** JSONP */
21742
+ callback?: string;
21743
+ /** Selector specifying which fields to include in a partial response. */
21744
+ fields?: string;
21745
+ /** 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. */
21746
+ key?: string;
21747
+ /** Required. The resource name of the model monitoring job to delete. Format: `projects/{project}/locations/{location}/modelMonitors/{model_monitor}/modelMonitoringJobs/{model_monitoring_job}` */
21748
+ name: string;
21749
+ /** OAuth 2.0 token for the current user. */
21750
+ oauth_token?: string;
21751
+ /** Returns response with indentations and line breaks. */
21752
+ prettyPrint?: boolean;
21753
+ /** 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. */
21754
+ quotaUser?: string;
21755
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
21756
+ upload_protocol?: string;
21757
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
21758
+ uploadType?: string;
21759
+ }): Request<GoogleLongrunningOperation>;
21760
+ /** Gets a ModelMonitoringJob. */
21761
+ get(request?: {
21762
+ /** V1 error format. */
21763
+ '$.xgafv'?: string;
21764
+ /** OAuth access token. */
21765
+ access_token?: string;
21766
+ /** Data format for response. */
21767
+ alt?: string;
21768
+ /** JSONP */
21769
+ callback?: string;
21770
+ /** Selector specifying which fields to include in a partial response. */
21771
+ fields?: string;
21772
+ /** 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. */
21773
+ key?: string;
21774
+ /** Required. The resource name of the ModelMonitoringJob. Format: `projects/{project}/locations/{location}/modelMonitors/{model_monitor}/modelMonitoringJobs/{model_monitoring_job}` */
21775
+ name: string;
21776
+ /** OAuth 2.0 token for the current user. */
21777
+ oauth_token?: string;
21778
+ /** Returns response with indentations and line breaks. */
21779
+ prettyPrint?: boolean;
21780
+ /** 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. */
21781
+ quotaUser?: string;
21782
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
21783
+ upload_protocol?: string;
21784
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
21785
+ uploadType?: string;
21786
+ }): Request<GoogleCloudAiplatformV1beta1ModelMonitoringJob>;
21787
+ /** Lists ModelMonitoringJobs. Callers may choose to read across multiple Monitors as per [AIP-159](https://google.aip.dev/159) by using '-' (the hyphen or dash character) as a wildcard character instead of modelMonitor id in the parent. Format `projects/{project_id}/locations/{location}/moodelMonitors/-/modelMonitoringJobs` */
21788
+ list(request?: {
21789
+ /** V1 error format. */
21790
+ '$.xgafv'?: string;
21791
+ /** OAuth access token. */
21792
+ access_token?: string;
21793
+ /** Data format for response. */
21794
+ alt?: string;
21795
+ /** JSONP */
21796
+ callback?: string;
21797
+ /** Selector specifying which fields to include in a partial response. */
21798
+ fields?: string;
21799
+ /** The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). */
21800
+ filter?: string;
21801
+ /** 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. */
21802
+ key?: string;
21803
+ /** OAuth 2.0 token for the current user. */
21804
+ oauth_token?: string;
21805
+ /** The standard list page size. */
21806
+ pageSize?: number;
21807
+ /** The standard list page token. */
21808
+ pageToken?: string;
21809
+ /** Required. The parent of the ModelMonitoringJob. Format: `projects/{project}/locations/{location}/modelMonitors/{model_monitor}` */
21810
+ parent: string;
21811
+ /** Returns response with indentations and line breaks. */
21812
+ prettyPrint?: boolean;
21813
+ /** 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. */
21814
+ quotaUser?: string;
21815
+ /** Mask specifying which fields to read */
21816
+ readMask?: string;
21817
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
21818
+ upload_protocol?: string;
21819
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
21820
+ uploadType?: string;
21821
+ }): Request<GoogleCloudAiplatformV1beta1ListModelMonitoringJobsResponse>;
21822
+ }
21823
+ interface OperationsResource {
21824
+ /** 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`. */
21825
+ cancel(request?: {
21826
+ /** V1 error format. */
21827
+ '$.xgafv'?: string;
21828
+ /** OAuth access token. */
21829
+ access_token?: string;
21830
+ /** Data format for response. */
21831
+ alt?: string;
21832
+ /** JSONP */
21833
+ callback?: string;
21834
+ /** Selector specifying which fields to include in a partial response. */
21835
+ fields?: string;
21836
+ /** 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. */
21837
+ key?: string;
21838
+ /** The name of the operation resource to be cancelled. */
21839
+ name: string;
21840
+ /** OAuth 2.0 token for the current user. */
21841
+ oauth_token?: string;
21842
+ /** Returns response with indentations and line breaks. */
21843
+ prettyPrint?: boolean;
21844
+ /** 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. */
21845
+ quotaUser?: string;
21846
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
21847
+ upload_protocol?: string;
21848
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
21849
+ uploadType?: string;
21850
+ }): Request<{}>;
21451
21851
  /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
21452
21852
  delete(request?: {
21453
21853
  /** V1 error format. */
@@ -21566,6 +21966,338 @@ declare namespace gapi.client {
21566
21966
  }): Request<GoogleLongrunningOperation>;
21567
21967
  }
21568
21968
  interface ModelMonitorsResource {
21969
+ /** Creates a ModelMonitor. */
21970
+ create(request: {
21971
+ /** V1 error format. */
21972
+ '$.xgafv'?: string;
21973
+ /** OAuth access token. */
21974
+ access_token?: string;
21975
+ /** Data format for response. */
21976
+ alt?: string;
21977
+ /** JSONP */
21978
+ callback?: string;
21979
+ /** Selector specifying which fields to include in a partial response. */
21980
+ fields?: string;
21981
+ /** 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. */
21982
+ key?: string;
21983
+ /** Optional. The ID to use for the Model Monitor, which will become the final component of the model monitor resource name. The maximum length is 63 characters, and valid characters are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`. */
21984
+ modelMonitorId?: string;
21985
+ /** OAuth 2.0 token for the current user. */
21986
+ oauth_token?: string;
21987
+ /** Required. The resource name of the Location to create the ModelMonitor in. Format: `projects/{project}/locations/{location}` */
21988
+ parent: string;
21989
+ /** Returns response with indentations and line breaks. */
21990
+ prettyPrint?: boolean;
21991
+ /** 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. */
21992
+ quotaUser?: string;
21993
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
21994
+ upload_protocol?: string;
21995
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
21996
+ uploadType?: string;
21997
+ /** Request body */
21998
+ resource: GoogleCloudAiplatformV1beta1ModelMonitor;
21999
+ }): Request<GoogleLongrunningOperation>;
22000
+ create(
22001
+ request: {
22002
+ /** V1 error format. */
22003
+ '$.xgafv'?: string;
22004
+ /** OAuth access token. */
22005
+ access_token?: string;
22006
+ /** Data format for response. */
22007
+ alt?: string;
22008
+ /** JSONP */
22009
+ callback?: string;
22010
+ /** Selector specifying which fields to include in a partial response. */
22011
+ fields?: string;
22012
+ /** 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. */
22013
+ key?: string;
22014
+ /** Optional. The ID to use for the Model Monitor, which will become the final component of the model monitor resource name. The maximum length is 63 characters, and valid characters are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`. */
22015
+ modelMonitorId?: string;
22016
+ /** OAuth 2.0 token for the current user. */
22017
+ oauth_token?: string;
22018
+ /** Required. The resource name of the Location to create the ModelMonitor in. Format: `projects/{project}/locations/{location}` */
22019
+ parent: string;
22020
+ /** Returns response with indentations and line breaks. */
22021
+ prettyPrint?: boolean;
22022
+ /** 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. */
22023
+ quotaUser?: string;
22024
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
22025
+ upload_protocol?: string;
22026
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
22027
+ uploadType?: string;
22028
+ },
22029
+ body: GoogleCloudAiplatformV1beta1ModelMonitor
22030
+ ): Request<GoogleLongrunningOperation>;
22031
+ /** Deletes a ModelMonitor. */
22032
+ delete(request?: {
22033
+ /** V1 error format. */
22034
+ '$.xgafv'?: string;
22035
+ /** OAuth access token. */
22036
+ access_token?: string;
22037
+ /** Data format for response. */
22038
+ alt?: string;
22039
+ /** JSONP */
22040
+ callback?: string;
22041
+ /** Selector specifying which fields to include in a partial response. */
22042
+ fields?: string;
22043
+ /** Optional. Force delete the model monitor with schedules. */
22044
+ force?: boolean;
22045
+ /** 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. */
22046
+ key?: string;
22047
+ /** Required. The name of the ModelMonitor resource to be deleted. Format: `projects/{project}/locations/{location}/modelMonitords/{model_monitor}` */
22048
+ name: string;
22049
+ /** OAuth 2.0 token for the current user. */
22050
+ oauth_token?: string;
22051
+ /** Returns response with indentations and line breaks. */
22052
+ prettyPrint?: boolean;
22053
+ /** 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. */
22054
+ quotaUser?: string;
22055
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
22056
+ upload_protocol?: string;
22057
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
22058
+ uploadType?: string;
22059
+ }): Request<GoogleLongrunningOperation>;
22060
+ /** Gets a ModelMonitor. */
22061
+ get(request?: {
22062
+ /** V1 error format. */
22063
+ '$.xgafv'?: string;
22064
+ /** OAuth access token. */
22065
+ access_token?: string;
22066
+ /** Data format for response. */
22067
+ alt?: string;
22068
+ /** JSONP */
22069
+ callback?: string;
22070
+ /** Selector specifying which fields to include in a partial response. */
22071
+ fields?: string;
22072
+ /** 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. */
22073
+ key?: string;
22074
+ /** Required. The name of the ModelMonitor resource. Format: `projects/{project}/locations/{location}/modelMonitors/{model_monitor}` */
22075
+ name: string;
22076
+ /** OAuth 2.0 token for the current user. */
22077
+ oauth_token?: string;
22078
+ /** Returns response with indentations and line breaks. */
22079
+ prettyPrint?: boolean;
22080
+ /** 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. */
22081
+ quotaUser?: string;
22082
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
22083
+ upload_protocol?: string;
22084
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
22085
+ uploadType?: string;
22086
+ }): Request<GoogleCloudAiplatformV1beta1ModelMonitor>;
22087
+ /** Lists ModelMonitors in a Location. */
22088
+ list(request?: {
22089
+ /** V1 error format. */
22090
+ '$.xgafv'?: string;
22091
+ /** OAuth access token. */
22092
+ access_token?: string;
22093
+ /** Data format for response. */
22094
+ alt?: string;
22095
+ /** JSONP */
22096
+ callback?: string;
22097
+ /** Selector specifying which fields to include in a partial response. */
22098
+ fields?: string;
22099
+ /** The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). */
22100
+ filter?: string;
22101
+ /** 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. */
22102
+ key?: string;
22103
+ /** OAuth 2.0 token for the current user. */
22104
+ oauth_token?: string;
22105
+ /** The standard list page size. */
22106
+ pageSize?: number;
22107
+ /** The standard list page token. */
22108
+ pageToken?: string;
22109
+ /** Required. The resource name of the Location to list the ModelMonitors from. Format: `projects/{project}/locations/{location}` */
22110
+ parent: string;
22111
+ /** Returns response with indentations and line breaks. */
22112
+ prettyPrint?: boolean;
22113
+ /** 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. */
22114
+ quotaUser?: string;
22115
+ /** Mask specifying which fields to read. */
22116
+ readMask?: string;
22117
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
22118
+ upload_protocol?: string;
22119
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
22120
+ uploadType?: string;
22121
+ }): Request<GoogleCloudAiplatformV1beta1ListModelMonitorsResponse>;
22122
+ /** Updates a ModelMonitor. */
22123
+ patch(request: {
22124
+ /** V1 error format. */
22125
+ '$.xgafv'?: string;
22126
+ /** OAuth access token. */
22127
+ access_token?: string;
22128
+ /** Data format for response. */
22129
+ alt?: string;
22130
+ /** JSONP */
22131
+ callback?: string;
22132
+ /** Selector specifying which fields to include in a partial response. */
22133
+ fields?: string;
22134
+ /** 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. */
22135
+ key?: string;
22136
+ /** Immutable. Resource name of the ModelMonitor. Format: `projects/{project}/locations/{location}/modelMonitors/{model_monitor}`. */
22137
+ name: string;
22138
+ /** OAuth 2.0 token for the current user. */
22139
+ oauth_token?: string;
22140
+ /** Returns response with indentations and line breaks. */
22141
+ prettyPrint?: boolean;
22142
+ /** 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. */
22143
+ quotaUser?: string;
22144
+ /** Required. Mask specifying which fields to update. */
22145
+ updateMask?: string;
22146
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
22147
+ upload_protocol?: string;
22148
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
22149
+ uploadType?: string;
22150
+ /** Request body */
22151
+ resource: GoogleCloudAiplatformV1beta1ModelMonitor;
22152
+ }): Request<GoogleLongrunningOperation>;
22153
+ patch(
22154
+ request: {
22155
+ /** V1 error format. */
22156
+ '$.xgafv'?: string;
22157
+ /** OAuth access token. */
22158
+ access_token?: string;
22159
+ /** Data format for response. */
22160
+ alt?: string;
22161
+ /** JSONP */
22162
+ callback?: string;
22163
+ /** Selector specifying which fields to include in a partial response. */
22164
+ fields?: string;
22165
+ /** 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. */
22166
+ key?: string;
22167
+ /** Immutable. Resource name of the ModelMonitor. Format: `projects/{project}/locations/{location}/modelMonitors/{model_monitor}`. */
22168
+ name: string;
22169
+ /** OAuth 2.0 token for the current user. */
22170
+ oauth_token?: string;
22171
+ /** Returns response with indentations and line breaks. */
22172
+ prettyPrint?: boolean;
22173
+ /** 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. */
22174
+ quotaUser?: string;
22175
+ /** Required. Mask specifying which fields to update. */
22176
+ updateMask?: string;
22177
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
22178
+ upload_protocol?: string;
22179
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
22180
+ uploadType?: string;
22181
+ },
22182
+ body: GoogleCloudAiplatformV1beta1ModelMonitor
22183
+ ): Request<GoogleLongrunningOperation>;
22184
+ /** Returns the Model Monitoring alerts. */
22185
+ searchModelMonitoringAlerts(request: {
22186
+ /** V1 error format. */
22187
+ '$.xgafv'?: string;
22188
+ /** OAuth access token. */
22189
+ access_token?: string;
22190
+ /** Data format for response. */
22191
+ alt?: string;
22192
+ /** JSONP */
22193
+ callback?: string;
22194
+ /** Selector specifying which fields to include in a partial response. */
22195
+ fields?: string;
22196
+ /** 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. */
22197
+ key?: string;
22198
+ /** Required. ModelMonitor resource name. Format: `projects/{project}/locations/{location}/modelMonitors/{model_monitor}` */
22199
+ modelMonitor: string;
22200
+ /** OAuth 2.0 token for the current user. */
22201
+ oauth_token?: string;
22202
+ /** Returns response with indentations and line breaks. */
22203
+ prettyPrint?: boolean;
22204
+ /** 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. */
22205
+ quotaUser?: string;
22206
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
22207
+ upload_protocol?: string;
22208
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
22209
+ uploadType?: string;
22210
+ /** Request body */
22211
+ resource: GoogleCloudAiplatformV1beta1SearchModelMonitoringAlertsRequest;
22212
+ }): Request<GoogleCloudAiplatformV1beta1SearchModelMonitoringAlertsResponse>;
22213
+ searchModelMonitoringAlerts(
22214
+ request: {
22215
+ /** V1 error format. */
22216
+ '$.xgafv'?: string;
22217
+ /** OAuth access token. */
22218
+ access_token?: string;
22219
+ /** Data format for response. */
22220
+ alt?: string;
22221
+ /** JSONP */
22222
+ callback?: string;
22223
+ /** Selector specifying which fields to include in a partial response. */
22224
+ fields?: string;
22225
+ /** 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. */
22226
+ key?: string;
22227
+ /** Required. ModelMonitor resource name. Format: `projects/{project}/locations/{location}/modelMonitors/{model_monitor}` */
22228
+ modelMonitor: string;
22229
+ /** OAuth 2.0 token for the current user. */
22230
+ oauth_token?: string;
22231
+ /** Returns response with indentations and line breaks. */
22232
+ prettyPrint?: boolean;
22233
+ /** 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. */
22234
+ quotaUser?: string;
22235
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
22236
+ upload_protocol?: string;
22237
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
22238
+ uploadType?: string;
22239
+ },
22240
+ body: GoogleCloudAiplatformV1beta1SearchModelMonitoringAlertsRequest
22241
+ ): Request<GoogleCloudAiplatformV1beta1SearchModelMonitoringAlertsResponse>;
22242
+ /** Searches Model Monitoring Stats generated within a given time window. */
22243
+ searchModelMonitoringStats(request: {
22244
+ /** V1 error format. */
22245
+ '$.xgafv'?: string;
22246
+ /** OAuth access token. */
22247
+ access_token?: string;
22248
+ /** Data format for response. */
22249
+ alt?: string;
22250
+ /** JSONP */
22251
+ callback?: string;
22252
+ /** Selector specifying which fields to include in a partial response. */
22253
+ fields?: string;
22254
+ /** 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. */
22255
+ key?: string;
22256
+ /** Required. ModelMonitor resource name. Format: `projects/{project}/locations/{location}/modelMonitors/{model_monitor}` */
22257
+ modelMonitor: string;
22258
+ /** OAuth 2.0 token for the current user. */
22259
+ oauth_token?: string;
22260
+ /** Returns response with indentations and line breaks. */
22261
+ prettyPrint?: boolean;
22262
+ /** 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. */
22263
+ quotaUser?: string;
22264
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
22265
+ upload_protocol?: string;
22266
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
22267
+ uploadType?: string;
22268
+ /** Request body */
22269
+ resource: GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsRequest;
22270
+ }): Request<GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsResponse>;
22271
+ searchModelMonitoringStats(
22272
+ request: {
22273
+ /** V1 error format. */
22274
+ '$.xgafv'?: string;
22275
+ /** OAuth access token. */
22276
+ access_token?: string;
22277
+ /** Data format for response. */
22278
+ alt?: string;
22279
+ /** JSONP */
22280
+ callback?: string;
22281
+ /** Selector specifying which fields to include in a partial response. */
22282
+ fields?: string;
22283
+ /** 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. */
22284
+ key?: string;
22285
+ /** Required. ModelMonitor resource name. Format: `projects/{project}/locations/{location}/modelMonitors/{model_monitor}` */
22286
+ modelMonitor: string;
22287
+ /** OAuth 2.0 token for the current user. */
22288
+ oauth_token?: string;
22289
+ /** Returns response with indentations and line breaks. */
22290
+ prettyPrint?: boolean;
22291
+ /** 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. */
22292
+ quotaUser?: string;
22293
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
22294
+ upload_protocol?: string;
22295
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
22296
+ uploadType?: string;
22297
+ },
22298
+ body: GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsRequest
22299
+ ): Request<GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsResponse>;
22300
+ modelMonitoringJobs: ModelMonitoringJobsResource;
21569
22301
  operations: OperationsResource;
21570
22302
  }
21571
22303
  interface OperationsResource {
@@ -22970,6 +23702,33 @@ declare namespace gapi.client {
22970
23702
  nasTrialDetails: NasTrialDetailsResource;
22971
23703
  }
22972
23704
  interface NotebookExecutionJobsResource {
23705
+ /** Deletes a NotebookExecutionJob. */
23706
+ delete(request?: {
23707
+ /** V1 error format. */
23708
+ '$.xgafv'?: string;
23709
+ /** OAuth access token. */
23710
+ access_token?: string;
23711
+ /** Data format for response. */
23712
+ alt?: string;
23713
+ /** JSONP */
23714
+ callback?: string;
23715
+ /** Selector specifying which fields to include in a partial response. */
23716
+ fields?: string;
23717
+ /** 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. */
23718
+ key?: string;
23719
+ /** Required. The name of the NotebookExecutionJob resource to be deleted. */
23720
+ name: string;
23721
+ /** OAuth 2.0 token for the current user. */
23722
+ oauth_token?: string;
23723
+ /** Returns response with indentations and line breaks. */
23724
+ prettyPrint?: boolean;
23725
+ /** 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. */
23726
+ quotaUser?: string;
23727
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
23728
+ upload_protocol?: string;
23729
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
23730
+ uploadType?: string;
23731
+ }): Request<GoogleLongrunningOperation>;
22973
23732
  /** Internal only: Called from Compute Engine instance to obtain EUC for owner Anonymous access: authenticates caller using VM identity JWT. Design doc: go/colab-on-vertex-euc-dd */
22974
23733
  generateAccessToken(request: {
22975
23734
  /** V1 error format. */
@@ -23028,6 +23787,72 @@ declare namespace gapi.client {
23028
23787
  },
23029
23788
  body: GoogleCloudAiplatformV1beta1GenerateAccessTokenRequest
23030
23789
  ): Request<GoogleCloudAiplatformV1beta1GenerateAccessTokenResponse>;
23790
+ /** Gets a NotebookExecutionJob. */
23791
+ get(request?: {
23792
+ /** V1 error format. */
23793
+ '$.xgafv'?: string;
23794
+ /** OAuth access token. */
23795
+ access_token?: string;
23796
+ /** Data format for response. */
23797
+ alt?: string;
23798
+ /** JSONP */
23799
+ callback?: string;
23800
+ /** Selector specifying which fields to include in a partial response. */
23801
+ fields?: string;
23802
+ /** 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. */
23803
+ key?: string;
23804
+ /** Required. The name of the NotebookExecutionJob resource. */
23805
+ name: string;
23806
+ /** OAuth 2.0 token for the current user. */
23807
+ oauth_token?: string;
23808
+ /** Returns response with indentations and line breaks. */
23809
+ prettyPrint?: boolean;
23810
+ /** 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. */
23811
+ quotaUser?: string;
23812
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
23813
+ upload_protocol?: string;
23814
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
23815
+ uploadType?: string;
23816
+ /** Optional. The NotebookExecutionJob view. Defaults to BASIC. */
23817
+ view?: string;
23818
+ }): Request<GoogleCloudAiplatformV1beta1NotebookExecutionJob>;
23819
+ /** Lists NotebookExecutionJobs in a Location. */
23820
+ list(request?: {
23821
+ /** V1 error format. */
23822
+ '$.xgafv'?: string;
23823
+ /** OAuth access token. */
23824
+ access_token?: string;
23825
+ /** Data format for response. */
23826
+ alt?: string;
23827
+ /** JSONP */
23828
+ callback?: string;
23829
+ /** Selector specifying which fields to include in a partial response. */
23830
+ fields?: string;
23831
+ /** Optional. An expression for filtering the results of the request. For field names both snake_case and camelCase are supported. * `notebookExecutionJob` supports = and !=. `notebookExecutionJob` represents the NotebookExecutionJob ID. * `displayName` supports = and != and regex. * `schedule` supports = and != and regex. Some examples: * `notebookExecutionJob="123"` * `notebookExecutionJob="my-execution-job"` * `displayName="myDisplayName"` and `displayName=~"myDisplayNameRegex"` */
23832
+ filter?: string;
23833
+ /** 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. */
23834
+ key?: string;
23835
+ /** OAuth 2.0 token for the current user. */
23836
+ oauth_token?: string;
23837
+ /** Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields: * `display_name` * `create_time` * `update_time` Example: `display_name, create_time desc`. */
23838
+ orderBy?: string;
23839
+ /** Optional. The standard list page size. */
23840
+ pageSize?: number;
23841
+ /** Optional. The standard list page token. Typically obtained via ListNotebookExecutionJobs.next_page_token of the previous NotebookService.ListNotebookExecutionJobs call. */
23842
+ pageToken?: string;
23843
+ /** Required. The resource name of the Location from which to list the NotebookExecutionJobs. Format: `projects/{project}/locations/{location}` */
23844
+ parent: string;
23845
+ /** Returns response with indentations and line breaks. */
23846
+ prettyPrint?: boolean;
23847
+ /** 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. */
23848
+ quotaUser?: string;
23849
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
23850
+ upload_protocol?: string;
23851
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
23852
+ uploadType?: string;
23853
+ /** Optional. The NotebookExecutionJob view. Defaults to BASIC. */
23854
+ view?: string;
23855
+ }): Request<GoogleCloudAiplatformV1beta1ListNotebookExecutionJobsResponse>;
23031
23856
  reportEvent(request: {
23032
23857
  /** V1 error format. */
23033
23858
  '$.xgafv'?: string;
@@ -25213,241 +26038,9 @@ declare namespace gapi.client {
25213
26038
  upload_protocol?: string;
25214
26039
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25215
26040
  uploadType?: string;
25216
- }): Request<{}>;
25217
- /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
25218
- delete(request?: {
25219
- /** V1 error format. */
25220
- '$.xgafv'?: string;
25221
- /** OAuth access token. */
25222
- access_token?: string;
25223
- /** Data format for response. */
25224
- alt?: string;
25225
- /** JSONP */
25226
- callback?: string;
25227
- /** Selector specifying which fields to include in a partial response. */
25228
- fields?: string;
25229
- /** 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. */
25230
- key?: string;
25231
- /** The name of the operation resource to be deleted. */
25232
- name: string;
25233
- /** OAuth 2.0 token for the current user. */
25234
- oauth_token?: string;
25235
- /** Returns response with indentations and line breaks. */
25236
- prettyPrint?: boolean;
25237
- /** 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. */
25238
- quotaUser?: string;
25239
- /** Upload protocol for media (e.g. "raw", "multipart"). */
25240
- upload_protocol?: string;
25241
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25242
- uploadType?: string;
25243
- }): Request<{}>;
25244
- /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
25245
- get(request?: {
25246
- /** V1 error format. */
25247
- '$.xgafv'?: string;
25248
- /** OAuth access token. */
25249
- access_token?: string;
25250
- /** Data format for response. */
25251
- alt?: string;
25252
- /** JSONP */
25253
- callback?: string;
25254
- /** Selector specifying which fields to include in a partial response. */
25255
- fields?: string;
25256
- /** 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. */
25257
- key?: string;
25258
- /** The name of the operation resource. */
25259
- name: string;
25260
- /** OAuth 2.0 token for the current user. */
25261
- oauth_token?: string;
25262
- /** Returns response with indentations and line breaks. */
25263
- prettyPrint?: boolean;
25264
- /** 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. */
25265
- quotaUser?: string;
25266
- /** Upload protocol for media (e.g. "raw", "multipart"). */
25267
- upload_protocol?: string;
25268
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25269
- uploadType?: string;
25270
- }): Request<GoogleLongrunningOperation>;
25271
- /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
25272
- list(request?: {
25273
- /** V1 error format. */
25274
- '$.xgafv'?: string;
25275
- /** OAuth access token. */
25276
- access_token?: string;
25277
- /** Data format for response. */
25278
- alt?: string;
25279
- /** JSONP */
25280
- callback?: string;
25281
- /** Selector specifying which fields to include in a partial response. */
25282
- fields?: string;
25283
- /** The standard list filter. */
25284
- filter?: string;
25285
- /** 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. */
25286
- key?: string;
25287
- /** The name of the operation's parent resource. */
25288
- name: string;
25289
- /** OAuth 2.0 token for the current user. */
25290
- oauth_token?: string;
25291
- /** The standard list page size. */
25292
- pageSize?: number;
25293
- /** The standard list page token. */
25294
- pageToken?: string;
25295
- /** Returns response with indentations and line breaks. */
25296
- prettyPrint?: boolean;
25297
- /** 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. */
25298
- quotaUser?: string;
25299
- /** Upload protocol for media (e.g. "raw", "multipart"). */
25300
- upload_protocol?: string;
25301
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25302
- uploadType?: string;
25303
- }): Request<GoogleLongrunningListOperationsResponse>;
25304
- /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */
25305
- wait(request?: {
25306
- /** V1 error format. */
25307
- '$.xgafv'?: string;
25308
- /** OAuth access token. */
25309
- access_token?: string;
25310
- /** Data format for response. */
25311
- alt?: string;
25312
- /** JSONP */
25313
- callback?: string;
25314
- /** Selector specifying which fields to include in a partial response. */
25315
- fields?: string;
25316
- /** 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. */
25317
- key?: string;
25318
- /** The name of the operation resource to wait on. */
25319
- name: string;
25320
- /** OAuth 2.0 token for the current user. */
25321
- oauth_token?: string;
25322
- /** Returns response with indentations and line breaks. */
25323
- prettyPrint?: boolean;
25324
- /** 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. */
25325
- quotaUser?: string;
25326
- /** The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used. */
25327
- timeout?: string;
25328
- /** Upload protocol for media (e.g. "raw", "multipart"). */
25329
- upload_protocol?: string;
25330
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25331
- uploadType?: string;
25332
- }): Request<GoogleLongrunningOperation>;
25333
- }
25334
- interface OperationsResource {
25335
- /** 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`. */
25336
- cancel(request?: {
25337
- /** V1 error format. */
25338
- '$.xgafv'?: string;
25339
- /** OAuth access token. */
25340
- access_token?: string;
25341
- /** Data format for response. */
25342
- alt?: string;
25343
- /** JSONP */
25344
- callback?: string;
25345
- /** Selector specifying which fields to include in a partial response. */
25346
- fields?: string;
25347
- /** 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. */
25348
- key?: string;
25349
- /** The name of the operation resource to be cancelled. */
25350
- name: string;
25351
- /** OAuth 2.0 token for the current user. */
25352
- oauth_token?: string;
25353
- /** Returns response with indentations and line breaks. */
25354
- prettyPrint?: boolean;
25355
- /** 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. */
25356
- quotaUser?: string;
25357
- /** Upload protocol for media (e.g. "raw", "multipart"). */
25358
- upload_protocol?: string;
25359
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25360
- uploadType?: string;
25361
- }): Request<{}>;
25362
- /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
25363
- delete(request?: {
25364
- /** V1 error format. */
25365
- '$.xgafv'?: string;
25366
- /** OAuth access token. */
25367
- access_token?: string;
25368
- /** Data format for response. */
25369
- alt?: string;
25370
- /** JSONP */
25371
- callback?: string;
25372
- /** Selector specifying which fields to include in a partial response. */
25373
- fields?: string;
25374
- /** 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. */
25375
- key?: string;
25376
- /** The name of the operation resource to be deleted. */
25377
- name: string;
25378
- /** OAuth 2.0 token for the current user. */
25379
- oauth_token?: string;
25380
- /** Returns response with indentations and line breaks. */
25381
- prettyPrint?: boolean;
25382
- /** 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. */
25383
- quotaUser?: string;
25384
- /** Upload protocol for media (e.g. "raw", "multipart"). */
25385
- upload_protocol?: string;
25386
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25387
- uploadType?: string;
25388
- }): Request<{}>;
25389
- /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
25390
- get(request?: {
25391
- /** V1 error format. */
25392
- '$.xgafv'?: string;
25393
- /** OAuth access token. */
25394
- access_token?: string;
25395
- /** Data format for response. */
25396
- alt?: string;
25397
- /** JSONP */
25398
- callback?: string;
25399
- /** Selector specifying which fields to include in a partial response. */
25400
- fields?: string;
25401
- /** 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. */
25402
- key?: string;
25403
- /** The name of the operation resource. */
25404
- name: string;
25405
- /** OAuth 2.0 token for the current user. */
25406
- oauth_token?: string;
25407
- /** Returns response with indentations and line breaks. */
25408
- prettyPrint?: boolean;
25409
- /** 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. */
25410
- quotaUser?: string;
25411
- /** Upload protocol for media (e.g. "raw", "multipart"). */
25412
- upload_protocol?: string;
25413
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25414
- uploadType?: string;
25415
- }): Request<GoogleLongrunningOperation>;
25416
- /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
25417
- list(request?: {
25418
- /** V1 error format. */
25419
- '$.xgafv'?: string;
25420
- /** OAuth access token. */
25421
- access_token?: string;
25422
- /** Data format for response. */
25423
- alt?: string;
25424
- /** JSONP */
25425
- callback?: string;
25426
- /** Selector specifying which fields to include in a partial response. */
25427
- fields?: string;
25428
- /** The standard list filter. */
25429
- filter?: string;
25430
- /** 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. */
25431
- key?: string;
25432
- /** The name of the operation's parent resource. */
25433
- name: string;
25434
- /** OAuth 2.0 token for the current user. */
25435
- oauth_token?: string;
25436
- /** The standard list page size. */
25437
- pageSize?: number;
25438
- /** The standard list page token. */
25439
- pageToken?: string;
25440
- /** Returns response with indentations and line breaks. */
25441
- prettyPrint?: boolean;
25442
- /** 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. */
25443
- quotaUser?: string;
25444
- /** Upload protocol for media (e.g. "raw", "multipart"). */
25445
- upload_protocol?: string;
25446
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25447
- uploadType?: string;
25448
- }): Request<GoogleLongrunningListOperationsResponse>;
25449
- /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */
25450
- wait(request?: {
26041
+ }): Request<{}>;
26042
+ /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
26043
+ delete(request?: {
25451
26044
  /** V1 error format. */
25452
26045
  '$.xgafv'?: string;
25453
26046
  /** OAuth access token. */
@@ -25460,7 +26053,7 @@ declare namespace gapi.client {
25460
26053
  fields?: string;
25461
26054
  /** 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. */
25462
26055
  key?: string;
25463
- /** The name of the operation resource to wait on. */
26056
+ /** The name of the operation resource to be deleted. */
25464
26057
  name: string;
25465
26058
  /** OAuth 2.0 token for the current user. */
25466
26059
  oauth_token?: string;
@@ -25468,17 +26061,13 @@ declare namespace gapi.client {
25468
26061
  prettyPrint?: boolean;
25469
26062
  /** 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. */
25470
26063
  quotaUser?: string;
25471
- /** The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used. */
25472
- timeout?: string;
25473
26064
  /** Upload protocol for media (e.g. "raw", "multipart"). */
25474
26065
  upload_protocol?: string;
25475
26066
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25476
26067
  uploadType?: string;
25477
- }): Request<GoogleLongrunningOperation>;
25478
- }
25479
- interface RagFilesResource {
25480
- /** Deletes a RagFile. */
25481
- delete(request?: {
26068
+ }): Request<{}>;
26069
+ /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
26070
+ get(request?: {
25482
26071
  /** V1 error format. */
25483
26072
  '$.xgafv'?: string;
25484
26073
  /** OAuth access token. */
@@ -25491,7 +26080,7 @@ declare namespace gapi.client {
25491
26080
  fields?: string;
25492
26081
  /** 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. */
25493
26082
  key?: string;
25494
- /** Required. The name of the RagFile resource to be deleted. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}` */
26083
+ /** The name of the operation resource. */
25495
26084
  name: string;
25496
26085
  /** OAuth 2.0 token for the current user. */
25497
26086
  oauth_token?: string;
@@ -25504,8 +26093,8 @@ declare namespace gapi.client {
25504
26093
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25505
26094
  uploadType?: string;
25506
26095
  }): Request<GoogleLongrunningOperation>;
25507
- /** Gets a RagFile. */
25508
- get(request?: {
26096
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
26097
+ list(request?: {
25509
26098
  /** V1 error format. */
25510
26099
  '$.xgafv'?: string;
25511
26100
  /** OAuth access token. */
@@ -25516,12 +26105,18 @@ declare namespace gapi.client {
25516
26105
  callback?: string;
25517
26106
  /** Selector specifying which fields to include in a partial response. */
25518
26107
  fields?: string;
26108
+ /** The standard list filter. */
26109
+ filter?: string;
25519
26110
  /** 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. */
25520
26111
  key?: string;
25521
- /** Required. The name of the RagFile resource. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}` */
26112
+ /** The name of the operation's parent resource. */
25522
26113
  name: string;
25523
26114
  /** OAuth 2.0 token for the current user. */
25524
26115
  oauth_token?: string;
26116
+ /** The standard list page size. */
26117
+ pageSize?: number;
26118
+ /** The standard list page token. */
26119
+ pageToken?: string;
25525
26120
  /** Returns response with indentations and line breaks. */
25526
26121
  prettyPrint?: boolean;
25527
26122
  /** 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. */
@@ -25530,9 +26125,9 @@ declare namespace gapi.client {
25530
26125
  upload_protocol?: string;
25531
26126
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25532
26127
  uploadType?: string;
25533
- }): Request<GoogleCloudAiplatformV1beta1RagFile>;
25534
- /** Import files from Google Cloud Storage or Google Drive into a RagCorpus. */
25535
- import(request: {
26128
+ }): Request<GoogleLongrunningListOperationsResponse>;
26129
+ /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */
26130
+ wait(request?: {
25536
26131
  /** V1 error format. */
25537
26132
  '$.xgafv'?: string;
25538
26133
  /** OAuth access token. */
@@ -25545,52 +26140,25 @@ declare namespace gapi.client {
25545
26140
  fields?: string;
25546
26141
  /** 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. */
25547
26142
  key?: string;
26143
+ /** The name of the operation resource to wait on. */
26144
+ name: string;
25548
26145
  /** OAuth 2.0 token for the current user. */
25549
26146
  oauth_token?: string;
25550
- /** Required. The name of the RagCorpus resource into which to import files. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
25551
- parent: string;
25552
26147
  /** Returns response with indentations and line breaks. */
25553
26148
  prettyPrint?: boolean;
25554
26149
  /** 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. */
25555
26150
  quotaUser?: string;
26151
+ /** The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used. */
26152
+ timeout?: string;
25556
26153
  /** Upload protocol for media (e.g. "raw", "multipart"). */
25557
26154
  upload_protocol?: string;
25558
26155
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25559
26156
  uploadType?: string;
25560
- /** Request body */
25561
- resource: GoogleCloudAiplatformV1beta1ImportRagFilesRequest;
25562
26157
  }): Request<GoogleLongrunningOperation>;
25563
- import(
25564
- request: {
25565
- /** V1 error format. */
25566
- '$.xgafv'?: string;
25567
- /** OAuth access token. */
25568
- access_token?: string;
25569
- /** Data format for response. */
25570
- alt?: string;
25571
- /** JSONP */
25572
- callback?: string;
25573
- /** Selector specifying which fields to include in a partial response. */
25574
- fields?: string;
25575
- /** 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. */
25576
- key?: string;
25577
- /** OAuth 2.0 token for the current user. */
25578
- oauth_token?: string;
25579
- /** Required. The name of the RagCorpus resource into which to import files. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
25580
- parent: string;
25581
- /** Returns response with indentations and line breaks. */
25582
- prettyPrint?: boolean;
25583
- /** 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. */
25584
- quotaUser?: string;
25585
- /** Upload protocol for media (e.g. "raw", "multipart"). */
25586
- upload_protocol?: string;
25587
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25588
- uploadType?: string;
25589
- },
25590
- body: GoogleCloudAiplatformV1beta1ImportRagFilesRequest
25591
- ): Request<GoogleLongrunningOperation>;
25592
- /** Lists RagFiles in a RagCorpus. */
25593
- list(request?: {
26158
+ }
26159
+ interface OperationsResource {
26160
+ /** 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`. */
26161
+ cancel(request?: {
25594
26162
  /** V1 error format. */
25595
26163
  '$.xgafv'?: string;
25596
26164
  /** OAuth access token. */
@@ -25603,14 +26171,10 @@ declare namespace gapi.client {
25603
26171
  fields?: string;
25604
26172
  /** 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. */
25605
26173
  key?: string;
26174
+ /** The name of the operation resource to be cancelled. */
26175
+ name: string;
25606
26176
  /** OAuth 2.0 token for the current user. */
25607
26177
  oauth_token?: string;
25608
- /** Optional. The standard list page size. */
25609
- pageSize?: number;
25610
- /** Optional. The standard list page token. Typically obtained via ListRagFilesResponse.next_page_token of the previous VertexRagDataService.ListRagFiles call. */
25611
- pageToken?: string;
25612
- /** Required. The resource name of the RagCorpus from which to list the RagFiles. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
25613
- parent: string;
25614
26178
  /** Returns response with indentations and line breaks. */
25615
26179
  prettyPrint?: boolean;
25616
26180
  /** 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. */
@@ -25619,12 +26183,9 @@ declare namespace gapi.client {
25619
26183
  upload_protocol?: string;
25620
26184
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25621
26185
  uploadType?: string;
25622
- }): Request<GoogleCloudAiplatformV1beta1ListRagFilesResponse>;
25623
- operations: OperationsResource;
25624
- }
25625
- interface RagCorporaResource {
25626
- /** Creates a RagCorpus. */
25627
- create(request: {
26186
+ }): Request<{}>;
26187
+ /** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
26188
+ delete(request?: {
25628
26189
  /** V1 error format. */
25629
26190
  '$.xgafv'?: string;
25630
26191
  /** OAuth access token. */
@@ -25637,10 +26198,10 @@ declare namespace gapi.client {
25637
26198
  fields?: string;
25638
26199
  /** 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. */
25639
26200
  key?: string;
26201
+ /** The name of the operation resource to be deleted. */
26202
+ name: string;
25640
26203
  /** OAuth 2.0 token for the current user. */
25641
26204
  oauth_token?: string;
25642
- /** Required. The resource name of the Location to create the RagCorpus in. Format: `projects/{project}/locations/{location}` */
25643
- parent: string;
25644
26205
  /** Returns response with indentations and line breaks. */
25645
26206
  prettyPrint?: boolean;
25646
26207
  /** 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. */
@@ -25649,40 +26210,9 @@ declare namespace gapi.client {
25649
26210
  upload_protocol?: string;
25650
26211
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25651
26212
  uploadType?: string;
25652
- /** Request body */
25653
- resource: GoogleCloudAiplatformV1beta1RagCorpus;
25654
- }): Request<GoogleLongrunningOperation>;
25655
- create(
25656
- request: {
25657
- /** V1 error format. */
25658
- '$.xgafv'?: string;
25659
- /** OAuth access token. */
25660
- access_token?: string;
25661
- /** Data format for response. */
25662
- alt?: string;
25663
- /** JSONP */
25664
- callback?: string;
25665
- /** Selector specifying which fields to include in a partial response. */
25666
- fields?: string;
25667
- /** 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. */
25668
- key?: string;
25669
- /** OAuth 2.0 token for the current user. */
25670
- oauth_token?: string;
25671
- /** Required. The resource name of the Location to create the RagCorpus in. Format: `projects/{project}/locations/{location}` */
25672
- parent: string;
25673
- /** Returns response with indentations and line breaks. */
25674
- prettyPrint?: boolean;
25675
- /** 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. */
25676
- quotaUser?: string;
25677
- /** Upload protocol for media (e.g. "raw", "multipart"). */
25678
- upload_protocol?: string;
25679
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25680
- uploadType?: string;
25681
- },
25682
- body: GoogleCloudAiplatformV1beta1RagCorpus
25683
- ): Request<GoogleLongrunningOperation>;
25684
- /** Deletes a RagCorpus. */
25685
- delete(request?: {
26213
+ }): Request<{}>;
26214
+ /** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
26215
+ get(request?: {
25686
26216
  /** V1 error format. */
25687
26217
  '$.xgafv'?: string;
25688
26218
  /** OAuth access token. */
@@ -25693,11 +26223,9 @@ declare namespace gapi.client {
25693
26223
  callback?: string;
25694
26224
  /** Selector specifying which fields to include in a partial response. */
25695
26225
  fields?: string;
25696
- /** Optional. If set to true, any RagFiles in this RagCorpus will also be deleted. Otherwise, the request will only work if the RagCorpus has no RagFiles. */
25697
- force?: boolean;
25698
26226
  /** 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. */
25699
26227
  key?: string;
25700
- /** Required. The name of the RagCorpus resource to be deleted. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
26228
+ /** The name of the operation resource. */
25701
26229
  name: string;
25702
26230
  /** OAuth 2.0 token for the current user. */
25703
26231
  oauth_token?: string;
@@ -25710,8 +26238,8 @@ declare namespace gapi.client {
25710
26238
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25711
26239
  uploadType?: string;
25712
26240
  }): Request<GoogleLongrunningOperation>;
25713
- /** Gets a RagCorpus. */
25714
- get(request?: {
26241
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
26242
+ list(request?: {
25715
26243
  /** V1 error format. */
25716
26244
  '$.xgafv'?: string;
25717
26245
  /** OAuth access token. */
@@ -25722,12 +26250,18 @@ declare namespace gapi.client {
25722
26250
  callback?: string;
25723
26251
  /** Selector specifying which fields to include in a partial response. */
25724
26252
  fields?: string;
26253
+ /** The standard list filter. */
26254
+ filter?: string;
25725
26255
  /** 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. */
25726
26256
  key?: string;
25727
- /** Required. The name of the RagCorpus resource. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
26257
+ /** The name of the operation's parent resource. */
25728
26258
  name: string;
25729
26259
  /** OAuth 2.0 token for the current user. */
25730
26260
  oauth_token?: string;
26261
+ /** The standard list page size. */
26262
+ pageSize?: number;
26263
+ /** The standard list page token. */
26264
+ pageToken?: string;
25731
26265
  /** Returns response with indentations and line breaks. */
25732
26266
  prettyPrint?: boolean;
25733
26267
  /** 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. */
@@ -25736,9 +26270,9 @@ declare namespace gapi.client {
25736
26270
  upload_protocol?: string;
25737
26271
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25738
26272
  uploadType?: string;
25739
- }): Request<GoogleCloudAiplatformV1beta1RagCorpus>;
25740
- /** Lists RagCorpora in a Location. */
25741
- list(request?: {
26273
+ }): Request<GoogleLongrunningListOperationsResponse>;
26274
+ /** Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. If the operation is already done, the latest state is immediately returned. If the timeout specified is greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If the server does not support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return the latest state before the specified timeout (including immediately), meaning even an immediate response is no guarantee that the operation is done. */
26275
+ wait(request?: {
25742
26276
  /** V1 error format. */
25743
26277
  '$.xgafv'?: string;
25744
26278
  /** OAuth access token. */
@@ -25751,23 +26285,26 @@ declare namespace gapi.client {
25751
26285
  fields?: string;
25752
26286
  /** 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. */
25753
26287
  key?: string;
26288
+ /** The name of the operation resource to wait on. */
26289
+ name: string;
25754
26290
  /** OAuth 2.0 token for the current user. */
25755
26291
  oauth_token?: string;
25756
- /** Optional. The standard list page size. */
25757
- pageSize?: number;
25758
- /** Optional. The standard list page token. Typically obtained via ListRagCorporaResponse.next_page_token of the previous VertexRagDataService.ListRagCorpora call. */
25759
- pageToken?: string;
25760
- /** Required. The resource name of the Location from which to list the RagCorpora. Format: `projects/{project}/locations/{location}` */
25761
- parent: string;
25762
26292
  /** Returns response with indentations and line breaks. */
25763
26293
  prettyPrint?: boolean;
25764
26294
  /** 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. */
25765
26295
  quotaUser?: string;
26296
+ /** The maximum duration to wait before timing out. If left blank, the wait will be at most the time permitted by the underlying HTTP/RPC protocol. If RPC context deadline is also specified, the shorter one will be used. */
26297
+ timeout?: string;
25766
26298
  /** Upload protocol for media (e.g. "raw", "multipart"). */
25767
26299
  upload_protocol?: string;
25768
26300
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
25769
26301
  uploadType?: string;
25770
- }): Request<GoogleCloudAiplatformV1beta1ListRagCorporaResponse>;
26302
+ }): Request<GoogleLongrunningOperation>;
26303
+ }
26304
+ interface RagFilesResource {
26305
+ operations: OperationsResource;
26306
+ }
26307
+ interface RagCorporaResource {
25771
26308
  operations: OperationsResource;
25772
26309
  ragFiles: RagFilesResource;
25773
26310
  }
@@ -30389,8 +30926,48 @@ declare namespace gapi.client {
30389
30926
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
30390
30927
  uploadType?: string;
30391
30928
  }): Request<GoogleCloudLocationListLocationsResponse>;
30392
- /** Retrieves relevant contexts for a query. */
30393
- retrieveContexts(request: {
30929
+ batchPredictionJobs: BatchPredictionJobsResource;
30930
+ customJobs: CustomJobsResource;
30931
+ dataLabelingJobs: DataLabelingJobsResource;
30932
+ datasets: DatasetsResource;
30933
+ deploymentResourcePools: DeploymentResourcePoolsResource;
30934
+ edgeDevices: EdgeDevicesResource;
30935
+ endpoints: EndpointsResource;
30936
+ evaluationTasks: EvaluationTasksResource;
30937
+ exampleStores: ExampleStoresResource;
30938
+ extensionControllers: ExtensionControllersResource;
30939
+ extensions: ExtensionsResource;
30940
+ featureGroups: FeatureGroupsResource;
30941
+ featureOnlineStores: FeatureOnlineStoresResource;
30942
+ featurestores: FeaturestoresResource;
30943
+ hyperparameterTuningJobs: HyperparameterTuningJobsResource;
30944
+ indexEndpoints: IndexEndpointsResource;
30945
+ indexes: IndexesResource;
30946
+ metadataStores: MetadataStoresResource;
30947
+ migratableResources: MigratableResourcesResource;
30948
+ modelDeploymentMonitoringJobs: ModelDeploymentMonitoringJobsResource;
30949
+ modelMonitors: ModelMonitorsResource;
30950
+ models: ModelsResource;
30951
+ nasJobs: NasJobsResource;
30952
+ notebookExecutionJobs: NotebookExecutionJobsResource;
30953
+ notebookRuntimes: NotebookRuntimesResource;
30954
+ notebookRuntimeTemplates: NotebookRuntimeTemplatesResource;
30955
+ operations: OperationsResource;
30956
+ persistentResources: PersistentResourcesResource;
30957
+ pipelineJobs: PipelineJobsResource;
30958
+ publishers: PublishersResource;
30959
+ ragCorpora: RagCorporaResource;
30960
+ reasoningEngines: ReasoningEnginesResource;
30961
+ schedules: SchedulesResource;
30962
+ solvers: SolversResource;
30963
+ specialistPools: SpecialistPoolsResource;
30964
+ studies: StudiesResource;
30965
+ tensorboards: TensorboardsResource;
30966
+ trainingPipelines: TrainingPipelinesResource;
30967
+ }
30968
+ interface ProjectsResource {
30969
+ /** Gets a GenAI cache config. */
30970
+ getCacheConfig(request?: {
30394
30971
  /** V1 error format. */
30395
30972
  '$.xgafv'?: string;
30396
30973
  /** OAuth access token. */
@@ -30403,10 +30980,37 @@ declare namespace gapi.client {
30403
30980
  fields?: string;
30404
30981
  /** 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. */
30405
30982
  key?: string;
30983
+ /** Required. Name of the cache config. Format: - `projects/{project}/cacheConfig`. */
30984
+ name: string;
30985
+ /** OAuth 2.0 token for the current user. */
30986
+ oauth_token?: string;
30987
+ /** Returns response with indentations and line breaks. */
30988
+ prettyPrint?: boolean;
30989
+ /** 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. */
30990
+ quotaUser?: string;
30991
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
30992
+ upload_protocol?: string;
30993
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
30994
+ uploadType?: string;
30995
+ }): Request<GoogleCloudAiplatformV1beta1CacheConfig>;
30996
+ /** Updates a cache config. */
30997
+ updateCacheConfig(request: {
30998
+ /** V1 error format. */
30999
+ '$.xgafv'?: string;
31000
+ /** OAuth access token. */
31001
+ access_token?: string;
31002
+ /** Data format for response. */
31003
+ alt?: string;
31004
+ /** JSONP */
31005
+ callback?: string;
31006
+ /** Selector specifying which fields to include in a partial response. */
31007
+ fields?: string;
31008
+ /** 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. */
31009
+ key?: string;
31010
+ /** Identifier. Name of the cache config. Format: - `projects/{project}/cacheConfig`. */
31011
+ name: string;
30406
31012
  /** OAuth 2.0 token for the current user. */
30407
31013
  oauth_token?: string;
30408
- /** Required. The resource name of the Location from which to retrieve RagContexts. The users must have permission to make a call in the project. Format: `projects/{project}/locations/{location}`. */
30409
- parent: string;
30410
31014
  /** Returns response with indentations and line breaks. */
30411
31015
  prettyPrint?: boolean;
30412
31016
  /** 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. */
@@ -30416,9 +31020,9 @@ declare namespace gapi.client {
30416
31020
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
30417
31021
  uploadType?: string;
30418
31022
  /** Request body */
30419
- resource: GoogleCloudAiplatformV1beta1RetrieveContextsRequest;
30420
- }): Request<GoogleCloudAiplatformV1beta1RetrieveContextsResponse>;
30421
- retrieveContexts(
31023
+ resource: GoogleCloudAiplatformV1beta1CacheConfig;
31024
+ }): Request<GoogleLongrunningOperation>;
31025
+ updateCacheConfig(
30422
31026
  request: {
30423
31027
  /** V1 error format. */
30424
31028
  '$.xgafv'?: string;
@@ -30432,10 +31036,10 @@ declare namespace gapi.client {
30432
31036
  fields?: string;
30433
31037
  /** 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. */
30434
31038
  key?: string;
31039
+ /** Identifier. Name of the cache config. Format: - `projects/{project}/cacheConfig`. */
31040
+ name: string;
30435
31041
  /** OAuth 2.0 token for the current user. */
30436
31042
  oauth_token?: string;
30437
- /** Required. The resource name of the Location from which to retrieve RagContexts. The users must have permission to make a call in the project. Format: `projects/{project}/locations/{location}`. */
30438
- parent: string;
30439
31043
  /** Returns response with indentations and line breaks. */
30440
31044
  prettyPrint?: boolean;
30441
31045
  /** 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. */
@@ -30445,48 +31049,8 @@ declare namespace gapi.client {
30445
31049
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
30446
31050
  uploadType?: string;
30447
31051
  },
30448
- body: GoogleCloudAiplatformV1beta1RetrieveContextsRequest
30449
- ): Request<GoogleCloudAiplatformV1beta1RetrieveContextsResponse>;
30450
- batchPredictionJobs: BatchPredictionJobsResource;
30451
- customJobs: CustomJobsResource;
30452
- dataLabelingJobs: DataLabelingJobsResource;
30453
- datasets: DatasetsResource;
30454
- deploymentResourcePools: DeploymentResourcePoolsResource;
30455
- edgeDevices: EdgeDevicesResource;
30456
- endpoints: EndpointsResource;
30457
- evaluationTasks: EvaluationTasksResource;
30458
- exampleStores: ExampleStoresResource;
30459
- extensionControllers: ExtensionControllersResource;
30460
- extensions: ExtensionsResource;
30461
- featureGroups: FeatureGroupsResource;
30462
- featureOnlineStores: FeatureOnlineStoresResource;
30463
- featurestores: FeaturestoresResource;
30464
- hyperparameterTuningJobs: HyperparameterTuningJobsResource;
30465
- indexEndpoints: IndexEndpointsResource;
30466
- indexes: IndexesResource;
30467
- metadataStores: MetadataStoresResource;
30468
- migratableResources: MigratableResourcesResource;
30469
- modelDeploymentMonitoringJobs: ModelDeploymentMonitoringJobsResource;
30470
- modelMonitors: ModelMonitorsResource;
30471
- models: ModelsResource;
30472
- nasJobs: NasJobsResource;
30473
- notebookExecutionJobs: NotebookExecutionJobsResource;
30474
- notebookRuntimes: NotebookRuntimesResource;
30475
- notebookRuntimeTemplates: NotebookRuntimeTemplatesResource;
30476
- operations: OperationsResource;
30477
- persistentResources: PersistentResourcesResource;
30478
- pipelineJobs: PipelineJobsResource;
30479
- publishers: PublishersResource;
30480
- ragCorpora: RagCorporaResource;
30481
- reasoningEngines: ReasoningEnginesResource;
30482
- schedules: SchedulesResource;
30483
- solvers: SolversResource;
30484
- specialistPools: SpecialistPoolsResource;
30485
- studies: StudiesResource;
30486
- tensorboards: TensorboardsResource;
30487
- trainingPipelines: TrainingPipelinesResource;
30488
- }
30489
- interface ProjectsResource {
31052
+ body: GoogleCloudAiplatformV1beta1CacheConfig
31053
+ ): Request<GoogleLongrunningOperation>;
30490
31054
  locations: LocationsResource;
30491
31055
  }
30492
31056
  interface ModelsResource {
@@ -30565,8 +31129,6 @@ declare namespace gapi.client {
30565
31129
  models: ModelsResource;
30566
31130
  }
30567
31131
 
30568
- const media: MediaResource;
30569
-
30570
31132
  const projects: ProjectsResource;
30571
31133
 
30572
31134
  const publishers: PublishersResource;