@maxim_mazurok/gapi.client.aiplatform-v1beta1 0.0.20240404 → 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 (2) hide show
  1. package/index.d.ts +1094 -163
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://aiplatform.googleapis.com/$discovery/rest?version=v1beta1
12
- // Revision: 20240404
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. */
@@ -478,8 +480,6 @@ declare namespace gapi.client {
478
480
  googleServiceAccountConfig?: GoogleCloudAiplatformV1beta1AuthConfigGoogleServiceAccountConfig;
479
481
  /** Config for HTTP Basic auth. */
480
482
  httpBasicAuthConfig?: GoogleCloudAiplatformV1beta1AuthConfigHttpBasicAuthConfig;
481
- /** Config for no auth. */
482
- noAuth?: any;
483
483
  /** Config for user oauth. */
484
484
  oauthConfig?: GoogleCloudAiplatformV1beta1AuthConfigOauthConfig;
485
485
  /** Config for user OIDC auth. */
@@ -501,7 +501,6 @@ declare namespace gapi.client {
501
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. */
502
502
  credentialSecret?: string;
503
503
  }
504
- interface GoogleCloudAiplatformV1beta1AuthConfigNoAuth {}
505
504
  interface GoogleCloudAiplatformV1beta1AuthConfigOauthConfig {
506
505
  /** Access token for extension endpoint. Only used to propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at request time. */
507
506
  accessToken?: string;
@@ -1054,6 +1053,18 @@ declare namespace gapi.client {
1054
1053
  /** Operation metadata for creating a MetadataStore. */
1055
1054
  genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
1056
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
+ }
1057
1068
  interface GoogleCloudAiplatformV1beta1CreateNotebookRuntimeTemplateOperationMetadata {
1058
1069
  /** The operation generic information. */
1059
1070
  genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
@@ -1519,6 +1530,8 @@ declare namespace gapi.client {
1519
1530
  network?: string;
1520
1531
  /** Configures the request-response logging for online prediction. */
1521
1532
  predictRequestResponseLoggingConfig?: GoogleCloudAiplatformV1beta1PredictRequestResponseLoggingConfig;
1533
+ /** Optional. Configuration for private service connect. network and private_service_connect_config are mutually exclusive. */
1534
+ privateServiceConnectConfig?: GoogleCloudAiplatformV1beta1PrivateServiceConnectConfig;
1522
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. */
1523
1536
  trafficSplit?: {[P in string]: number};
1524
1537
  /** Output only. Timestamp when this Endpoint was last updated. */
@@ -2664,7 +2677,7 @@ declare namespace gapi.client {
2664
2677
  maxOutputTokens?: number;
2665
2678
  /** Optional. Positive penalties. */
2666
2679
  presencePenalty?: number;
2667
- /** 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. */
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. */
2668
2681
  responseMimeType?: string;
2669
2682
  /** Optional. Stop sequences. */
2670
2683
  stopSequences?: string[];
@@ -2687,10 +2700,6 @@ declare namespace gapi.client {
2687
2700
  /** Required. The public base model URI. */
2688
2701
  baseModelUri?: string;
2689
2702
  }
2690
- interface GoogleCloudAiplatformV1beta1GoogleSearchRetrieval {
2691
- /** 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. */
2692
- disableAttribution?: boolean;
2693
- }
2694
2703
  interface GoogleCloudAiplatformV1beta1GroundednessInput {
2695
2704
  /** Required. Groundedness instance. */
2696
2705
  instance?: GoogleCloudAiplatformV1beta1GroundednessInstance;
@@ -2715,31 +2724,7 @@ declare namespace gapi.client {
2715
2724
  /** Optional. Which version to use for evaluation. */
2716
2725
  version?: number;
2717
2726
  }
2718
- interface GoogleCloudAiplatformV1beta1GroundingAttribution {
2719
- /** Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1. 1 is the most confident. */
2720
- confidenceScore?: number;
2721
- /** Optional. Attribution from context retrieved by the retrieval tools. */
2722
- retrievedContext?: GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext;
2723
- /** Output only. Segment of the content this attribution belongs to. */
2724
- segment?: GoogleCloudAiplatformV1beta1Segment;
2725
- /** Optional. Attribution from the web. */
2726
- web?: GoogleCloudAiplatformV1beta1GroundingAttributionWeb;
2727
- }
2728
- interface GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext {
2729
- /** Output only. Title of the attribution. */
2730
- title?: string;
2731
- /** Output only. URI reference of the attribution. */
2732
- uri?: string;
2733
- }
2734
- interface GoogleCloudAiplatformV1beta1GroundingAttributionWeb {
2735
- /** Output only. Title of the attribution. */
2736
- title?: string;
2737
- /** Output only. URI reference of the attribution. */
2738
- uri?: string;
2739
- }
2740
2727
  interface GoogleCloudAiplatformV1beta1GroundingMetadata {
2741
- /** Optional. List of grounding attributions. */
2742
- groundingAttributions?: GoogleCloudAiplatformV1beta1GroundingAttribution[];
2743
2728
  /** Optional. Queries executed by the retrieval tools. */
2744
2729
  retrievalQueries?: string[];
2745
2730
  /** Optional. Web search queries for the following-up web search. */
@@ -3193,6 +3178,18 @@ declare namespace gapi.client {
3193
3178
  /** A token to retrieve next page of results. Pass to ListModelEvaluationsRequest.page_token to obtain that page. */
3194
3179
  nextPageToken?: string;
3195
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
+ }
3196
3193
  interface GoogleCloudAiplatformV1beta1ListModelsResponse {
3197
3194
  /** List of Models in the requested page. */
3198
3195
  models?: GoogleCloudAiplatformV1beta1Model[];
@@ -3217,6 +3214,12 @@ declare namespace gapi.client {
3217
3214
  /** A token to retrieve the next page of results. Pass to ListNasTrialDetailsRequest.page_token to obtain that page. */
3218
3215
  nextPageToken?: string;
3219
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
+ }
3220
3223
  interface GoogleCloudAiplatformV1beta1ListNotebookRuntimesResponse {
3221
3224
  /** A token to retrieve next page of results. Pass to ListNotebookRuntimesRequest.page_token to obtain that page. */
3222
3225
  nextPageToken?: string;
@@ -3745,6 +3748,44 @@ declare namespace gapi.client {
3745
3748
  /** Required. The model garden source model resource name. */
3746
3749
  publicModelName?: string;
3747
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
+ }
3748
3789
  interface GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig {
3749
3790
  /** Email alert config. */
3750
3791
  emailAlertConfig?: GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfigEmailAlertConfig;
@@ -3757,6 +3798,26 @@ declare namespace gapi.client {
3757
3798
  /** The email addresses to send the alert. */
3758
3799
  userEmails?: string[];
3759
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
+ }
3760
3821
  interface GoogleCloudAiplatformV1beta1ModelMonitoringConfig {
3761
3822
  /** Model monitoring alert config. */
3762
3823
  alertConfig?: GoogleCloudAiplatformV1beta1ModelMonitoringAlertConfig;
@@ -3767,6 +3828,106 @@ declare namespace gapi.client {
3767
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. */
3768
3829
  statsAnomaliesBaseDirectory?: GoogleCloudAiplatformV1beta1GcsDestination;
3769
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
+ }
3770
3931
  interface GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfig {
3771
3932
  /** The config for integrating with Vertex Explainable AI. */
3772
3933
  explanationConfig?: GoogleCloudAiplatformV1beta1ModelMonitoringObjectiveConfigExplanationConfig;
@@ -3829,6 +3990,86 @@ declare namespace gapi.client {
3829
3990
  [P in string]: GoogleCloudAiplatformV1beta1ThresholdConfig;
3830
3991
  };
3831
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
+ }
3832
4073
  interface GoogleCloudAiplatformV1beta1ModelMonitoringStatsAnomalies {
3833
4074
  /** Number of anomalies within all stats. */
3834
4075
  anomalyCount?: number;
@@ -3849,6 +4090,54 @@ declare namespace gapi.client {
3849
4090
  /** Stats calculated for the Training Dataset. */
3850
4091
  trainingStats?: GoogleCloudAiplatformV1beta1FeatureStatsAnomaly;
3851
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
+ }
3852
4141
  interface GoogleCloudAiplatformV1beta1ModelOriginalModelInfo {
3853
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}` */
3854
4143
  model?: string;
@@ -4085,6 +4374,48 @@ declare namespace gapi.client {
4085
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. */
4086
4375
  eucDisabled?: boolean;
4087
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
+ }
4088
4419
  interface GoogleCloudAiplatformV1beta1NotebookIdleShutdownConfig {
4089
4420
  /** Whether Idle Shutdown is disabled in this NotebookRuntimeTemplate. */
4090
4421
  idleShutdownDisabled?: boolean;
@@ -5091,7 +5422,7 @@ declare namespace gapi.client {
5091
5422
  rougeMetricValues?: GoogleCloudAiplatformV1beta1RougeMetricValue[];
5092
5423
  }
5093
5424
  interface GoogleCloudAiplatformV1beta1RougeSpec {
5094
- /** Optional. Supported rouge types are rougen[1-9], rougeL and rougeLsum. */
5425
+ /** Optional. Supported rouge types are rougen[1-9], rougeL, and rougeLsum. */
5095
5426
  rougeType?: string;
5096
5427
  /** Optional. Whether to split summaries while using rougeLsum. */
5097
5428
  splitSummaries?: boolean;
@@ -5107,13 +5438,13 @@ declare namespace gapi.client {
5107
5438
  vertexAiSearchRuntimeConfig?: GoogleCloudAiplatformV1beta1RuntimeConfigVertexAISearchRuntimeConfig;
5108
5439
  }
5109
5440
  interface GoogleCloudAiplatformV1beta1RuntimeConfigCodeInterpreterRuntimeConfig {
5110
- /** Optional. The GCS bucket for file input of this Extension. If specified, support input from the GCS 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 GCS file inputs. */
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. */
5111
5442
  fileInputGcsBucket?: string;
5112
- /** Optional. The GCS bucket for file output of this Extension. If specified, write all output files to the GCS 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. */
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. */
5113
5444
  fileOutputGcsBucket?: string;
5114
5445
  }
5115
5446
  interface GoogleCloudAiplatformV1beta1RuntimeConfigVertexAISearchRuntimeConfig {
5116
- /** Required. Vertext AI Search serving config name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}` or `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}` */
5447
+ /** Required. Vertext AI Search serving config name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}` */
5117
5448
  servingConfigName?: string;
5118
5449
  }
5119
5450
  interface GoogleCloudAiplatformV1beta1SafetyInput {
@@ -5211,6 +5542,8 @@ declare namespace gapi.client {
5211
5542
  allowQueueing?: boolean;
5212
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. */
5213
5544
  catchUp?: boolean;
5545
+ /** Request for ModelMonitoringService.CreateModelMonitoringJob. */
5546
+ createModelMonitoringJobRequest?: GoogleCloudAiplatformV1beta1CreateModelMonitoringJobRequest;
5214
5547
  /** Request for PipelineService.CreatePipelineJob. CreatePipelineJobRequest.parent field is required (format: projects/{project}/locations/{location}). */
5215
5548
  createPipelineJobRequest?: GoogleCloudAiplatformV1beta1CreatePipelineJobRequest;
5216
5549
  /** Output only. Timestamp when this Schedule was created. */
@@ -6618,6 +6951,60 @@ declare namespace gapi.client {
6618
6951
  /** The page token that can be used by the next JobService.SearchModelDeploymentMonitoringStatsAnomalies call. */
6619
6952
  nextPageToken?: string;
6620
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
+ }
6621
7008
  interface GoogleCloudAiplatformV1beta1SearchNearestEntitiesRequest {
6622
7009
  /** Required. The query. */
6623
7010
  query?: GoogleCloudAiplatformV1beta1NearestNeighborQuery;
@@ -6628,14 +7015,6 @@ declare namespace gapi.client {
6628
7015
  /** The nearest neighbors of the query entity. */
6629
7016
  nearestNeighbors?: GoogleCloudAiplatformV1beta1NearestNeighbors;
6630
7017
  }
6631
- interface GoogleCloudAiplatformV1beta1Segment {
6632
- /** Output only. End index in the given Part, measured in bytes. Offset from the start of the Part, exclusive, starting at zero. */
6633
- endIndex?: number;
6634
- /** Output only. The index of a Part object within its parent Content object. */
6635
- partIndex?: number;
6636
- /** Output only. Start index in the given Part, measured in bytes. Offset from the start of the Part, inclusive, starting at zero. */
6637
- startIndex?: number;
6638
- }
6639
7018
  interface GoogleCloudAiplatformV1beta1ServiceAccountSpec {
6640
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). */
6641
7020
  enableCustomServiceAccount?: boolean;
@@ -7199,8 +7578,6 @@ declare namespace gapi.client {
7199
7578
  interface GoogleCloudAiplatformV1beta1Tool {
7200
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. */
7201
7580
  functionDeclarations?: GoogleCloudAiplatformV1beta1FunctionDeclaration[];
7202
- /** Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search. */
7203
- googleSearchRetrieval?: GoogleCloudAiplatformV1beta1GoogleSearchRetrieval;
7204
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. */
7205
7582
  retrieval?: GoogleCloudAiplatformV1beta1Retrieval;
7206
7583
  }
@@ -7470,6 +7847,10 @@ declare namespace gapi.client {
7470
7847
  /** The operation generic information. */
7471
7848
  genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
7472
7849
  }
7850
+ interface GoogleCloudAiplatformV1beta1UpdateModelMonitorOperationMetadata {
7851
+ /** The operation generic information. */
7852
+ genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
7853
+ }
7473
7854
  interface GoogleCloudAiplatformV1beta1UpdatePersistentResourceOperationMetadata {
7474
7855
  /** Operation metadata for PersistentResource. */
7475
7856
  genericMetadata?: GoogleCloudAiplatformV1beta1GenericOperationMetadata;
@@ -7537,14 +7918,16 @@ declare namespace gapi.client {
7537
7918
  stringValue?: string;
7538
7919
  }
7539
7920
  interface GoogleCloudAiplatformV1beta1VertexAISearch {
7540
- /** 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}` */
7541
7922
  datastore?: string;
7542
7923
  }
7543
7924
  interface GoogleCloudAiplatformV1beta1VertexRagStore {
7544
- /** 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. */
7545
7926
  ragCorpora?: string[];
7546
7927
  /** Optional. Number of top k results to return from the selected corpora. */
7547
7928
  similarityTopK?: number;
7929
+ /** Optional. Only return results with vector distance smaller than the threshold. */
7930
+ vectorDistanceThreshold?: number;
7548
7931
  }
7549
7932
  interface GoogleCloudAiplatformV1beta1VideoMetadata {
7550
7933
  /** Optional. The end offset of the video. */
@@ -7919,9 +8302,16 @@ declare namespace gapi.client {
7919
8302
  interface LearningGenaiRootCodeyCompletionMetadata {
7920
8303
  checkpoints?: LearningGenaiRootCodeyCheckpoint[];
7921
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
+ }
7922
8311
  interface LearningGenaiRootCodeyOutput {
7923
8312
  codeyChatMetadata?: LearningGenaiRootCodeyChatMetadata;
7924
8313
  codeyCompletionMetadata?: LearningGenaiRootCodeyCompletionMetadata;
8314
+ codeyGenerationMetadata?: LearningGenaiRootCodeyGenerationMetadata;
7925
8315
  }
7926
8316
  interface LearningGenaiRootCodeyTruncatorMetadata {
7927
8317
  /** Index of the current sample that trims off truncated text. */
@@ -7929,6 +8319,28 @@ declare namespace gapi.client {
7929
8319
  /** Text that was truncated at a specific checkpoint. */
7930
8320
  truncatedText?: string;
7931
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
+ }
7932
8344
  interface LearningGenaiRootDataProviderOutput {
7933
8345
  name?: string;
7934
8346
  /** If set, this DataProvider failed and this is the error message. */
@@ -7958,6 +8370,8 @@ declare namespace gapi.client {
7958
8370
  raiOutput?: LearningGenaiRootRAIOutput;
7959
8371
  raiResult?: CloudAiNlLlmProtoServiceRaiResult;
7960
8372
  raiSignal?: CloudAiNlLlmProtoServiceRaiSignal;
8373
+ /** Number of rewinds by controlled decoding. */
8374
+ records?: LearningGenaiRootControlDecodingRecords;
7961
8375
  streamRecitationResult?: LanguageLabsAidaTrustRecitationProtoStreamRecitationResult;
7962
8376
  takedownResult?: LearningGenaiRootTakedownResult;
7963
8377
  toxicityResult?: LearningGenaiRootToxicityResult;
@@ -11129,66 +11543,6 @@ declare namespace gapi.client {
11129
11543
  interface EdgeDevicesResource {
11130
11544
  operations: OperationsResource;
11131
11545
  }
11132
- interface ChatResource {
11133
- /** Exposes an OpenAI-compatible endpoint for chat completions. */
11134
- completions(request: {
11135
- /** V1 error format. */
11136
- '$.xgafv'?: string;
11137
- /** OAuth access token. */
11138
- access_token?: string;
11139
- /** Data format for response. */
11140
- alt?: string;
11141
- /** JSONP */
11142
- callback?: string;
11143
- /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/openapi` */
11144
- endpoint: string;
11145
- /** Selector specifying which fields to include in a partial response. */
11146
- fields?: string;
11147
- /** 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. */
11148
- key?: string;
11149
- /** OAuth 2.0 token for the current user. */
11150
- oauth_token?: string;
11151
- /** Returns response with indentations and line breaks. */
11152
- prettyPrint?: boolean;
11153
- /** 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. */
11154
- quotaUser?: string;
11155
- /** Upload protocol for media (e.g. "raw", "multipart"). */
11156
- upload_protocol?: string;
11157
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11158
- uploadType?: string;
11159
- /** Request body */
11160
- resource: GoogleApiHttpBody;
11161
- }): Request<GoogleApiHttpBody>;
11162
- completions(
11163
- request: {
11164
- /** V1 error format. */
11165
- '$.xgafv'?: string;
11166
- /** OAuth access token. */
11167
- access_token?: string;
11168
- /** Data format for response. */
11169
- alt?: string;
11170
- /** JSONP */
11171
- callback?: string;
11172
- /** Required. The name of the Endpoint requested to serve the prediction. Format: `projects/{project}/locations/{location}/endpoints/openapi` */
11173
- endpoint: string;
11174
- /** Selector specifying which fields to include in a partial response. */
11175
- fields?: string;
11176
- /** 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. */
11177
- key?: string;
11178
- /** OAuth 2.0 token for the current user. */
11179
- oauth_token?: string;
11180
- /** Returns response with indentations and line breaks. */
11181
- prettyPrint?: boolean;
11182
- /** 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. */
11183
- quotaUser?: string;
11184
- /** Upload protocol for media (e.g. "raw", "multipart"). */
11185
- upload_protocol?: string;
11186
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
11187
- uploadType?: string;
11188
- },
11189
- body: GoogleApiHttpBody
11190
- ): Request<GoogleApiHttpBody>;
11191
- }
11192
11546
  interface OperationsResource {
11193
11547
  /** 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`. */
11194
11548
  cancel(request?: {
@@ -12390,7 +12744,6 @@ declare namespace gapi.client {
12390
12744
  },
12391
12745
  body: GoogleCloudAiplatformV1beta1UndeployModelRequest
12392
12746
  ): Request<GoogleLongrunningOperation>;
12393
- chat: ChatResource;
12394
12747
  operations: OperationsResource;
12395
12748
  }
12396
12749
  interface OperationsResource {
@@ -21314,9 +21667,9 @@ declare namespace gapi.client {
21314
21667
  ): Request<GoogleCloudAiplatformV1beta1SearchModelDeploymentMonitoringStatsAnomaliesResponse>;
21315
21668
  operations: OperationsResource;
21316
21669
  }
21317
- interface OperationsResource {
21318
- /** 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`. */
21319
- cancel(request?: {
21670
+ interface ModelMonitoringJobsResource {
21671
+ /** Creates a ModelMonitoringJob. */
21672
+ create(request: {
21320
21673
  /** V1 error format. */
21321
21674
  '$.xgafv'?: string;
21322
21675
  /** OAuth access token. */
@@ -21329,10 +21682,12 @@ declare namespace gapi.client {
21329
21682
  fields?: string;
21330
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. */
21331
21684
  key?: string;
21332
- /** The name of the operation resource to be cancelled. */
21333
- 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;
21334
21687
  /** OAuth 2.0 token for the current user. */
21335
21688
  oauth_token?: string;
21689
+ /** Required. The parent of the ModelMonitoringJob. Format: `projects/{project}/locations/{location}/modelMoniitors/{model_monitor}` */
21690
+ parent: string;
21336
21691
  /** Returns response with indentations and line breaks. */
21337
21692
  prettyPrint?: boolean;
21338
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. */
@@ -21341,8 +21696,41 @@ declare namespace gapi.client {
21341
21696
  upload_protocol?: string;
21342
21697
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
21343
21698
  uploadType?: string;
21344
- }): Request<{}>;
21345
- /** 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`. */
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. */
21346
21734
  delete(request?: {
21347
21735
  /** V1 error format. */
21348
21736
  '$.xgafv'?: string;
@@ -21356,7 +21744,7 @@ declare namespace gapi.client {
21356
21744
  fields?: string;
21357
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. */
21358
21746
  key?: string;
21359
- /** The name of the operation resource to be deleted. */
21747
+ /** Required. The resource name of the model monitoring job to delete. Format: `projects/{project}/locations/{location}/modelMonitors/{model_monitor}/modelMonitoringJobs/{model_monitoring_job}` */
21360
21748
  name: string;
21361
21749
  /** OAuth 2.0 token for the current user. */
21362
21750
  oauth_token?: string;
@@ -21368,8 +21756,8 @@ declare namespace gapi.client {
21368
21756
  upload_protocol?: string;
21369
21757
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
21370
21758
  uploadType?: string;
21371
- }): Request<{}>;
21372
- /** 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. */
21759
+ }): Request<GoogleLongrunningOperation>;
21760
+ /** Gets a ModelMonitoringJob. */
21373
21761
  get(request?: {
21374
21762
  /** V1 error format. */
21375
21763
  '$.xgafv'?: string;
@@ -21383,7 +21771,7 @@ declare namespace gapi.client {
21383
21771
  fields?: string;
21384
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. */
21385
21773
  key?: string;
21386
- /** The name of the operation resource. */
21774
+ /** Required. The resource name of the ModelMonitoringJob. Format: `projects/{project}/locations/{location}/modelMonitors/{model_monitor}/modelMonitoringJobs/{model_monitoring_job}` */
21387
21775
  name: string;
21388
21776
  /** OAuth 2.0 token for the current user. */
21389
21777
  oauth_token?: string;
@@ -21395,8 +21783,8 @@ declare namespace gapi.client {
21395
21783
  upload_protocol?: string;
21396
21784
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
21397
21785
  uploadType?: string;
21398
- }): Request<GoogleLongrunningOperation>;
21399
- /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
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` */
21400
21788
  list(request?: {
21401
21789
  /** V1 error format. */
21402
21790
  '$.xgafv'?: string;
@@ -21408,59 +21796,29 @@ declare namespace gapi.client {
21408
21796
  callback?: string;
21409
21797
  /** Selector specifying which fields to include in a partial response. */
21410
21798
  fields?: string;
21411
- /** The standard list filter. */
21799
+ /** The standard list filter. More detail in [AIP-160](https://google.aip.dev/160). */
21412
21800
  filter?: string;
21413
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. */
21414
21802
  key?: string;
21415
- /** The name of the operation's parent resource. */
21416
- name: string;
21417
21803
  /** OAuth 2.0 token for the current user. */
21418
21804
  oauth_token?: string;
21419
21805
  /** The standard list page size. */
21420
21806
  pageSize?: number;
21421
21807
  /** The standard list page token. */
21422
21808
  pageToken?: string;
21809
+ /** Required. The parent of the ModelMonitoringJob. Format: `projects/{project}/locations/{location}/modelMonitors/{model_monitor}` */
21810
+ parent: string;
21423
21811
  /** Returns response with indentations and line breaks. */
21424
21812
  prettyPrint?: boolean;
21425
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. */
21426
21814
  quotaUser?: string;
21815
+ /** Mask specifying which fields to read */
21816
+ readMask?: string;
21427
21817
  /** Upload protocol for media (e.g. "raw", "multipart"). */
21428
21818
  upload_protocol?: string;
21429
21819
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
21430
21820
  uploadType?: string;
21431
- }): Request<GoogleLongrunningListOperationsResponse>;
21432
- /** 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. */
21433
- wait(request?: {
21434
- /** V1 error format. */
21435
- '$.xgafv'?: string;
21436
- /** OAuth access token. */
21437
- access_token?: string;
21438
- /** Data format for response. */
21439
- alt?: string;
21440
- /** JSONP */
21441
- callback?: string;
21442
- /** Selector specifying which fields to include in a partial response. */
21443
- fields?: string;
21444
- /** 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. */
21445
- key?: string;
21446
- /** The name of the operation resource to wait on. */
21447
- name: string;
21448
- /** OAuth 2.0 token for the current user. */
21449
- oauth_token?: string;
21450
- /** Returns response with indentations and line breaks. */
21451
- prettyPrint?: boolean;
21452
- /** 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. */
21453
- quotaUser?: string;
21454
- /** 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. */
21455
- timeout?: string;
21456
- /** Upload protocol for media (e.g. "raw", "multipart"). */
21457
- upload_protocol?: string;
21458
- /** Legacy upload protocol for media (e.g. "media", "multipart"). */
21459
- uploadType?: string;
21460
- }): Request<GoogleLongrunningOperation>;
21461
- }
21462
- interface ModelMonitorsResource {
21463
- operations: OperationsResource;
21821
+ }): Request<GoogleCloudAiplatformV1beta1ListModelMonitoringJobsResponse>;
21464
21822
  }
21465
21823
  interface OperationsResource {
21466
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`. */
@@ -21607,9 +21965,9 @@ declare namespace gapi.client {
21607
21965
  uploadType?: string;
21608
21966
  }): Request<GoogleLongrunningOperation>;
21609
21967
  }
21610
- interface SlicesResource {
21611
- /** Imports a list of externally generated EvaluatedAnnotations. */
21612
- batchImport(request: {
21968
+ interface ModelMonitorsResource {
21969
+ /** Creates a ModelMonitor. */
21970
+ create(request: {
21613
21971
  /** V1 error format. */
21614
21972
  '$.xgafv'?: string;
21615
21973
  /** OAuth access token. */
@@ -21622,9 +21980,489 @@ declare namespace gapi.client {
21622
21980
  fields?: string;
21623
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. */
21624
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;
21625
21985
  /** OAuth 2.0 token for the current user. */
21626
21986
  oauth_token?: string;
21627
- /** Required. The name of the parent ModelEvaluationSlice resource. Format: `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}` */
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;
22301
+ operations: OperationsResource;
22302
+ }
22303
+ interface OperationsResource {
22304
+ /** 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`. */
22305
+ cancel(request?: {
22306
+ /** V1 error format. */
22307
+ '$.xgafv'?: string;
22308
+ /** OAuth access token. */
22309
+ access_token?: string;
22310
+ /** Data format for response. */
22311
+ alt?: string;
22312
+ /** JSONP */
22313
+ callback?: string;
22314
+ /** Selector specifying which fields to include in a partial response. */
22315
+ fields?: string;
22316
+ /** 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. */
22317
+ key?: string;
22318
+ /** The name of the operation resource to be cancelled. */
22319
+ name: string;
22320
+ /** OAuth 2.0 token for the current user. */
22321
+ oauth_token?: string;
22322
+ /** Returns response with indentations and line breaks. */
22323
+ prettyPrint?: boolean;
22324
+ /** 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. */
22325
+ quotaUser?: string;
22326
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
22327
+ upload_protocol?: string;
22328
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
22329
+ uploadType?: string;
22330
+ }): Request<{}>;
22331
+ /** 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`. */
22332
+ delete(request?: {
22333
+ /** V1 error format. */
22334
+ '$.xgafv'?: string;
22335
+ /** OAuth access token. */
22336
+ access_token?: string;
22337
+ /** Data format for response. */
22338
+ alt?: string;
22339
+ /** JSONP */
22340
+ callback?: string;
22341
+ /** Selector specifying which fields to include in a partial response. */
22342
+ fields?: string;
22343
+ /** 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. */
22344
+ key?: string;
22345
+ /** The name of the operation resource to be deleted. */
22346
+ name: string;
22347
+ /** OAuth 2.0 token for the current user. */
22348
+ oauth_token?: string;
22349
+ /** Returns response with indentations and line breaks. */
22350
+ prettyPrint?: boolean;
22351
+ /** 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. */
22352
+ quotaUser?: string;
22353
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
22354
+ upload_protocol?: string;
22355
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
22356
+ uploadType?: string;
22357
+ }): Request<{}>;
22358
+ /** 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. */
22359
+ get(request?: {
22360
+ /** V1 error format. */
22361
+ '$.xgafv'?: string;
22362
+ /** OAuth access token. */
22363
+ access_token?: string;
22364
+ /** Data format for response. */
22365
+ alt?: string;
22366
+ /** JSONP */
22367
+ callback?: string;
22368
+ /** Selector specifying which fields to include in a partial response. */
22369
+ fields?: string;
22370
+ /** 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. */
22371
+ key?: string;
22372
+ /** The name of the operation resource. */
22373
+ name: string;
22374
+ /** OAuth 2.0 token for the current user. */
22375
+ oauth_token?: string;
22376
+ /** Returns response with indentations and line breaks. */
22377
+ prettyPrint?: boolean;
22378
+ /** 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. */
22379
+ quotaUser?: string;
22380
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
22381
+ upload_protocol?: string;
22382
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
22383
+ uploadType?: string;
22384
+ }): Request<GoogleLongrunningOperation>;
22385
+ /** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
22386
+ list(request?: {
22387
+ /** V1 error format. */
22388
+ '$.xgafv'?: string;
22389
+ /** OAuth access token. */
22390
+ access_token?: string;
22391
+ /** Data format for response. */
22392
+ alt?: string;
22393
+ /** JSONP */
22394
+ callback?: string;
22395
+ /** Selector specifying which fields to include in a partial response. */
22396
+ fields?: string;
22397
+ /** The standard list filter. */
22398
+ filter?: string;
22399
+ /** 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. */
22400
+ key?: string;
22401
+ /** The name of the operation's parent resource. */
22402
+ name: string;
22403
+ /** OAuth 2.0 token for the current user. */
22404
+ oauth_token?: string;
22405
+ /** The standard list page size. */
22406
+ pageSize?: number;
22407
+ /** The standard list page token. */
22408
+ pageToken?: string;
22409
+ /** Returns response with indentations and line breaks. */
22410
+ prettyPrint?: boolean;
22411
+ /** 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. */
22412
+ quotaUser?: string;
22413
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
22414
+ upload_protocol?: string;
22415
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
22416
+ uploadType?: string;
22417
+ }): Request<GoogleLongrunningListOperationsResponse>;
22418
+ /** 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. */
22419
+ wait(request?: {
22420
+ /** V1 error format. */
22421
+ '$.xgafv'?: string;
22422
+ /** OAuth access token. */
22423
+ access_token?: string;
22424
+ /** Data format for response. */
22425
+ alt?: string;
22426
+ /** JSONP */
22427
+ callback?: string;
22428
+ /** Selector specifying which fields to include in a partial response. */
22429
+ fields?: string;
22430
+ /** 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. */
22431
+ key?: string;
22432
+ /** The name of the operation resource to wait on. */
22433
+ name: string;
22434
+ /** OAuth 2.0 token for the current user. */
22435
+ oauth_token?: string;
22436
+ /** Returns response with indentations and line breaks. */
22437
+ prettyPrint?: boolean;
22438
+ /** 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. */
22439
+ quotaUser?: string;
22440
+ /** 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. */
22441
+ timeout?: string;
22442
+ /** Upload protocol for media (e.g. "raw", "multipart"). */
22443
+ upload_protocol?: string;
22444
+ /** Legacy upload protocol for media (e.g. "media", "multipart"). */
22445
+ uploadType?: string;
22446
+ }): Request<GoogleLongrunningOperation>;
22447
+ }
22448
+ interface SlicesResource {
22449
+ /** Imports a list of externally generated EvaluatedAnnotations. */
22450
+ batchImport(request: {
22451
+ /** V1 error format. */
22452
+ '$.xgafv'?: string;
22453
+ /** OAuth access token. */
22454
+ access_token?: string;
22455
+ /** Data format for response. */
22456
+ alt?: string;
22457
+ /** JSONP */
22458
+ callback?: string;
22459
+ /** Selector specifying which fields to include in a partial response. */
22460
+ fields?: string;
22461
+ /** 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. */
22462
+ key?: string;
22463
+ /** OAuth 2.0 token for the current user. */
22464
+ oauth_token?: string;
22465
+ /** Required. The name of the parent ModelEvaluationSlice resource. Format: `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}` */
21628
22466
  parent: string;
21629
22467
  /** Returns response with indentations and line breaks. */
21630
22468
  prettyPrint?: boolean;
@@ -22864,6 +23702,33 @@ declare namespace gapi.client {
22864
23702
  nasTrialDetails: NasTrialDetailsResource;
22865
23703
  }
22866
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>;
22867
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 */
22868
23733
  generateAccessToken(request: {
22869
23734
  /** V1 error format. */
@@ -22922,6 +23787,72 @@ declare namespace gapi.client {
22922
23787
  },
22923
23788
  body: GoogleCloudAiplatformV1beta1GenerateAccessTokenRequest
22924
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>;
22925
23856
  reportEvent(request: {
22926
23857
  /** V1 error format. */
22927
23858
  '$.xgafv'?: string;