From 6173518e9b74c9742ef1b8fc6d91d59b5b9b063e Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 7 Sep 2021 09:51:36 -0700 Subject: [PATCH] feat: add Vizier service to aiplatform v1 (#642) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: add Vizier service to aiplatform v1 Committer: @dizcology PiperOrigin-RevId: 394116440 Source-Link: https://github.com/googleapis/googleapis/commit/67c780ba389a8e37e80076a434a3b1a031b62c4e Source-Link: https://github.com/googleapis/googleapis-gen/commit/994d9a5bd781d10e8a40e8bdb036168008ffc3d7 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- .../cloud/aiplatform/v1/JobServiceClient.java | 18 +- ...teModelDeploymentMonitoringJobRequest.java | 312 +++++++++++++++++- ...ploymentMonitoringJobRequestOrBuilder.java | 78 ++++- .../cloud/aiplatform/v1/job_service.proto | 28 +- 4 files changed, 419 insertions(+), 17 deletions(-) diff --git a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceClient.java b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceClient.java index 975e9827e..f8536fa58 100644 --- a/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceClient.java +++ b/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/JobServiceClient.java @@ -3230,7 +3230,23 @@ public final ListModelDeploymentMonitoringJobsPagedResponse listModelDeploymentM * * @param modelDeploymentMonitoringJob Required. The model monitoring configuration which replaces * the resource on the server. - * @param updateMask Required. The update mask applies to the resource. + * @param updateMask Required. The update mask is used to specify the fields to be overwritten in + * the ModelDeploymentMonitoringJob resource by the update. The fields specified in the + * update_mask are relative to the resource, not the full request. A field will be overwritten + * if it is in the mask. If the user does not provide a mask then only the non-empty fields + * present in the request will be overwritten. Set the update_mask to `*` to override all + * fields. For the objective config, the user can either provide the update mask for + * model_deployment_monitoring_objective_configs or any combination of its nested fields, such + * as: model_deployment_monitoring_objective_configs.objective_config.training_dataset. + *

Updatable fields: + *

* `display_name` * `model_deployment_monitoring_schedule_config` * + * `model_monitoring_alert_config` * `logging_sampling_strategy` * `labels` * + * `log_ttl` * `enable_monitoring_pipeline_logs` . and * + * `model_deployment_monitoring_objective_configs` . or * + * `model_deployment_monitoring_objective_configs.objective_config.training_dataset` * + * `model_deployment_monitoring_objective_configs.objective_config.training_prediction_skew_detection_config` + * * + * `model_deployment_monitoring_objective_configs.objective_config.prediction_drift_detection_config` * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final OperationFuture< diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateModelDeploymentMonitoringJobRequest.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateModelDeploymentMonitoringJobRequest.java index b023378eb..2f87417a9 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateModelDeploymentMonitoringJobRequest.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateModelDeploymentMonitoringJobRequest.java @@ -202,7 +202,31 @@ public boolean hasModelDeploymentMonitoringJob() { * * *

-   * Required. The update mask applies to the resource.
+   * Required. The update mask is used to specify the fields to be overwritten in the
+   * ModelDeploymentMonitoringJob resource by the update.
+   * The fields specified in the update_mask are relative to the resource, not
+   * the full request. A field will be overwritten if it is in the mask. If the
+   * user does not provide a mask then only the non-empty fields present in the
+   * request will be overwritten. Set the update_mask to `*` to override all
+   * fields.
+   * For the objective config, the user can either provide the update mask for
+   * model_deployment_monitoring_objective_configs or any combination of its
+   * nested fields, such as:
+   * model_deployment_monitoring_objective_configs.objective_config.training_dataset.
+   * Updatable fields:
+   *   * `display_name`
+   *   * `model_deployment_monitoring_schedule_config`
+   *   * `model_monitoring_alert_config`
+   *   * `logging_sampling_strategy`
+   *   * `labels`
+   *   * `log_ttl`
+   *   * `enable_monitoring_pipeline_logs`
+   * .  and
+   *   * `model_deployment_monitoring_objective_configs`
+   * .  or
+   *   * `model_deployment_monitoring_objective_configs.objective_config.training_dataset`
+   *   * `model_deployment_monitoring_objective_configs.objective_config.training_prediction_skew_detection_config`
+   *   * `model_deployment_monitoring_objective_configs.objective_config.prediction_drift_detection_config`
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -218,7 +242,31 @@ public boolean hasUpdateMask() { * * *
-   * Required. The update mask applies to the resource.
+   * Required. The update mask is used to specify the fields to be overwritten in the
+   * ModelDeploymentMonitoringJob resource by the update.
+   * The fields specified in the update_mask are relative to the resource, not
+   * the full request. A field will be overwritten if it is in the mask. If the
+   * user does not provide a mask then only the non-empty fields present in the
+   * request will be overwritten. Set the update_mask to `*` to override all
+   * fields.
+   * For the objective config, the user can either provide the update mask for
+   * model_deployment_monitoring_objective_configs or any combination of its
+   * nested fields, such as:
+   * model_deployment_monitoring_objective_configs.objective_config.training_dataset.
+   * Updatable fields:
+   *   * `display_name`
+   *   * `model_deployment_monitoring_schedule_config`
+   *   * `model_monitoring_alert_config`
+   *   * `logging_sampling_strategy`
+   *   * `labels`
+   *   * `log_ttl`
+   *   * `enable_monitoring_pipeline_logs`
+   * .  and
+   *   * `model_deployment_monitoring_objective_configs`
+   * .  or
+   *   * `model_deployment_monitoring_objective_configs.objective_config.training_dataset`
+   *   * `model_deployment_monitoring_objective_configs.objective_config.training_prediction_skew_detection_config`
+   *   * `model_deployment_monitoring_objective_configs.objective_config.prediction_drift_detection_config`
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -234,7 +282,31 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-   * Required. The update mask applies to the resource.
+   * Required. The update mask is used to specify the fields to be overwritten in the
+   * ModelDeploymentMonitoringJob resource by the update.
+   * The fields specified in the update_mask are relative to the resource, not
+   * the full request. A field will be overwritten if it is in the mask. If the
+   * user does not provide a mask then only the non-empty fields present in the
+   * request will be overwritten. Set the update_mask to `*` to override all
+   * fields.
+   * For the objective config, the user can either provide the update mask for
+   * model_deployment_monitoring_objective_configs or any combination of its
+   * nested fields, such as:
+   * model_deployment_monitoring_objective_configs.objective_config.training_dataset.
+   * Updatable fields:
+   *   * `display_name`
+   *   * `model_deployment_monitoring_schedule_config`
+   *   * `model_monitoring_alert_config`
+   *   * `logging_sampling_strategy`
+   *   * `labels`
+   *   * `log_ttl`
+   *   * `enable_monitoring_pipeline_logs`
+   * .  and
+   *   * `model_deployment_monitoring_objective_configs`
+   * .  or
+   *   * `model_deployment_monitoring_objective_configs.objective_config.training_dataset`
+   *   * `model_deployment_monitoring_objective_configs.objective_config.training_prediction_skew_detection_config`
+   *   * `model_deployment_monitoring_objective_configs.objective_config.prediction_drift_detection_config`
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -850,7 +922,31 @@ public Builder clearModelDeploymentMonitoringJob() { * * *
-     * Required. The update mask applies to the resource.
+     * Required. The update mask is used to specify the fields to be overwritten in the
+     * ModelDeploymentMonitoringJob resource by the update.
+     * The fields specified in the update_mask are relative to the resource, not
+     * the full request. A field will be overwritten if it is in the mask. If the
+     * user does not provide a mask then only the non-empty fields present in the
+     * request will be overwritten. Set the update_mask to `*` to override all
+     * fields.
+     * For the objective config, the user can either provide the update mask for
+     * model_deployment_monitoring_objective_configs or any combination of its
+     * nested fields, such as:
+     * model_deployment_monitoring_objective_configs.objective_config.training_dataset.
+     * Updatable fields:
+     *   * `display_name`
+     *   * `model_deployment_monitoring_schedule_config`
+     *   * `model_monitoring_alert_config`
+     *   * `logging_sampling_strategy`
+     *   * `labels`
+     *   * `log_ttl`
+     *   * `enable_monitoring_pipeline_logs`
+     * .  and
+     *   * `model_deployment_monitoring_objective_configs`
+     * .  or
+     *   * `model_deployment_monitoring_objective_configs.objective_config.training_dataset`
+     *   * `model_deployment_monitoring_objective_configs.objective_config.training_prediction_skew_detection_config`
+     *   * `model_deployment_monitoring_objective_configs.objective_config.prediction_drift_detection_config`
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -865,7 +961,31 @@ public boolean hasUpdateMask() { * * *
-     * Required. The update mask applies to the resource.
+     * Required. The update mask is used to specify the fields to be overwritten in the
+     * ModelDeploymentMonitoringJob resource by the update.
+     * The fields specified in the update_mask are relative to the resource, not
+     * the full request. A field will be overwritten if it is in the mask. If the
+     * user does not provide a mask then only the non-empty fields present in the
+     * request will be overwritten. Set the update_mask to `*` to override all
+     * fields.
+     * For the objective config, the user can either provide the update mask for
+     * model_deployment_monitoring_objective_configs or any combination of its
+     * nested fields, such as:
+     * model_deployment_monitoring_objective_configs.objective_config.training_dataset.
+     * Updatable fields:
+     *   * `display_name`
+     *   * `model_deployment_monitoring_schedule_config`
+     *   * `model_monitoring_alert_config`
+     *   * `logging_sampling_strategy`
+     *   * `labels`
+     *   * `log_ttl`
+     *   * `enable_monitoring_pipeline_logs`
+     * .  and
+     *   * `model_deployment_monitoring_objective_configs`
+     * .  or
+     *   * `model_deployment_monitoring_objective_configs.objective_config.training_dataset`
+     *   * `model_deployment_monitoring_objective_configs.objective_config.training_prediction_skew_detection_config`
+     *   * `model_deployment_monitoring_objective_configs.objective_config.prediction_drift_detection_config`
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -886,7 +1006,31 @@ public com.google.protobuf.FieldMask getUpdateMask() { * * *
-     * Required. The update mask applies to the resource.
+     * Required. The update mask is used to specify the fields to be overwritten in the
+     * ModelDeploymentMonitoringJob resource by the update.
+     * The fields specified in the update_mask are relative to the resource, not
+     * the full request. A field will be overwritten if it is in the mask. If the
+     * user does not provide a mask then only the non-empty fields present in the
+     * request will be overwritten. Set the update_mask to `*` to override all
+     * fields.
+     * For the objective config, the user can either provide the update mask for
+     * model_deployment_monitoring_objective_configs or any combination of its
+     * nested fields, such as:
+     * model_deployment_monitoring_objective_configs.objective_config.training_dataset.
+     * Updatable fields:
+     *   * `display_name`
+     *   * `model_deployment_monitoring_schedule_config`
+     *   * `model_monitoring_alert_config`
+     *   * `logging_sampling_strategy`
+     *   * `labels`
+     *   * `log_ttl`
+     *   * `enable_monitoring_pipeline_logs`
+     * .  and
+     *   * `model_deployment_monitoring_objective_configs`
+     * .  or
+     *   * `model_deployment_monitoring_objective_configs.objective_config.training_dataset`
+     *   * `model_deployment_monitoring_objective_configs.objective_config.training_prediction_skew_detection_config`
+     *   * `model_deployment_monitoring_objective_configs.objective_config.prediction_drift_detection_config`
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -909,7 +1053,31 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Required. The update mask applies to the resource.
+     * Required. The update mask is used to specify the fields to be overwritten in the
+     * ModelDeploymentMonitoringJob resource by the update.
+     * The fields specified in the update_mask are relative to the resource, not
+     * the full request. A field will be overwritten if it is in the mask. If the
+     * user does not provide a mask then only the non-empty fields present in the
+     * request will be overwritten. Set the update_mask to `*` to override all
+     * fields.
+     * For the objective config, the user can either provide the update mask for
+     * model_deployment_monitoring_objective_configs or any combination of its
+     * nested fields, such as:
+     * model_deployment_monitoring_objective_configs.objective_config.training_dataset.
+     * Updatable fields:
+     *   * `display_name`
+     *   * `model_deployment_monitoring_schedule_config`
+     *   * `model_monitoring_alert_config`
+     *   * `logging_sampling_strategy`
+     *   * `labels`
+     *   * `log_ttl`
+     *   * `enable_monitoring_pipeline_logs`
+     * .  and
+     *   * `model_deployment_monitoring_objective_configs`
+     * .  or
+     *   * `model_deployment_monitoring_objective_configs.objective_config.training_dataset`
+     *   * `model_deployment_monitoring_objective_configs.objective_config.training_prediction_skew_detection_config`
+     *   * `model_deployment_monitoring_objective_configs.objective_config.prediction_drift_detection_config`
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -929,7 +1097,31 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * * *
-     * Required. The update mask applies to the resource.
+     * Required. The update mask is used to specify the fields to be overwritten in the
+     * ModelDeploymentMonitoringJob resource by the update.
+     * The fields specified in the update_mask are relative to the resource, not
+     * the full request. A field will be overwritten if it is in the mask. If the
+     * user does not provide a mask then only the non-empty fields present in the
+     * request will be overwritten. Set the update_mask to `*` to override all
+     * fields.
+     * For the objective config, the user can either provide the update mask for
+     * model_deployment_monitoring_objective_configs or any combination of its
+     * nested fields, such as:
+     * model_deployment_monitoring_objective_configs.objective_config.training_dataset.
+     * Updatable fields:
+     *   * `display_name`
+     *   * `model_deployment_monitoring_schedule_config`
+     *   * `model_monitoring_alert_config`
+     *   * `logging_sampling_strategy`
+     *   * `labels`
+     *   * `log_ttl`
+     *   * `enable_monitoring_pipeline_logs`
+     * .  and
+     *   * `model_deployment_monitoring_objective_configs`
+     * .  or
+     *   * `model_deployment_monitoring_objective_configs.objective_config.training_dataset`
+     *   * `model_deployment_monitoring_objective_configs.objective_config.training_prediction_skew_detection_config`
+     *   * `model_deployment_monitoring_objective_configs.objective_config.prediction_drift_detection_config`
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -954,7 +1146,31 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * * *
-     * Required. The update mask applies to the resource.
+     * Required. The update mask is used to specify the fields to be overwritten in the
+     * ModelDeploymentMonitoringJob resource by the update.
+     * The fields specified in the update_mask are relative to the resource, not
+     * the full request. A field will be overwritten if it is in the mask. If the
+     * user does not provide a mask then only the non-empty fields present in the
+     * request will be overwritten. Set the update_mask to `*` to override all
+     * fields.
+     * For the objective config, the user can either provide the update mask for
+     * model_deployment_monitoring_objective_configs or any combination of its
+     * nested fields, such as:
+     * model_deployment_monitoring_objective_configs.objective_config.training_dataset.
+     * Updatable fields:
+     *   * `display_name`
+     *   * `model_deployment_monitoring_schedule_config`
+     *   * `model_monitoring_alert_config`
+     *   * `logging_sampling_strategy`
+     *   * `labels`
+     *   * `log_ttl`
+     *   * `enable_monitoring_pipeline_logs`
+     * .  and
+     *   * `model_deployment_monitoring_objective_configs`
+     * .  or
+     *   * `model_deployment_monitoring_objective_configs.objective_config.training_dataset`
+     *   * `model_deployment_monitoring_objective_configs.objective_config.training_prediction_skew_detection_config`
+     *   * `model_deployment_monitoring_objective_configs.objective_config.prediction_drift_detection_config`
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -975,7 +1191,31 @@ public Builder clearUpdateMask() { * * *
-     * Required. The update mask applies to the resource.
+     * Required. The update mask is used to specify the fields to be overwritten in the
+     * ModelDeploymentMonitoringJob resource by the update.
+     * The fields specified in the update_mask are relative to the resource, not
+     * the full request. A field will be overwritten if it is in the mask. If the
+     * user does not provide a mask then only the non-empty fields present in the
+     * request will be overwritten. Set the update_mask to `*` to override all
+     * fields.
+     * For the objective config, the user can either provide the update mask for
+     * model_deployment_monitoring_objective_configs or any combination of its
+     * nested fields, such as:
+     * model_deployment_monitoring_objective_configs.objective_config.training_dataset.
+     * Updatable fields:
+     *   * `display_name`
+     *   * `model_deployment_monitoring_schedule_config`
+     *   * `model_monitoring_alert_config`
+     *   * `logging_sampling_strategy`
+     *   * `labels`
+     *   * `log_ttl`
+     *   * `enable_monitoring_pipeline_logs`
+     * .  and
+     *   * `model_deployment_monitoring_objective_configs`
+     * .  or
+     *   * `model_deployment_monitoring_objective_configs.objective_config.training_dataset`
+     *   * `model_deployment_monitoring_objective_configs.objective_config.training_prediction_skew_detection_config`
+     *   * `model_deployment_monitoring_objective_configs.objective_config.prediction_drift_detection_config`
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -990,7 +1230,31 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * * *
-     * Required. The update mask applies to the resource.
+     * Required. The update mask is used to specify the fields to be overwritten in the
+     * ModelDeploymentMonitoringJob resource by the update.
+     * The fields specified in the update_mask are relative to the resource, not
+     * the full request. A field will be overwritten if it is in the mask. If the
+     * user does not provide a mask then only the non-empty fields present in the
+     * request will be overwritten. Set the update_mask to `*` to override all
+     * fields.
+     * For the objective config, the user can either provide the update mask for
+     * model_deployment_monitoring_objective_configs or any combination of its
+     * nested fields, such as:
+     * model_deployment_monitoring_objective_configs.objective_config.training_dataset.
+     * Updatable fields:
+     *   * `display_name`
+     *   * `model_deployment_monitoring_schedule_config`
+     *   * `model_monitoring_alert_config`
+     *   * `logging_sampling_strategy`
+     *   * `labels`
+     *   * `log_ttl`
+     *   * `enable_monitoring_pipeline_logs`
+     * .  and
+     *   * `model_deployment_monitoring_objective_configs`
+     * .  or
+     *   * `model_deployment_monitoring_objective_configs.objective_config.training_dataset`
+     *   * `model_deployment_monitoring_objective_configs.objective_config.training_prediction_skew_detection_config`
+     *   * `model_deployment_monitoring_objective_configs.objective_config.prediction_drift_detection_config`
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1009,7 +1273,31 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * * *
-     * Required. The update mask applies to the resource.
+     * Required. The update mask is used to specify the fields to be overwritten in the
+     * ModelDeploymentMonitoringJob resource by the update.
+     * The fields specified in the update_mask are relative to the resource, not
+     * the full request. A field will be overwritten if it is in the mask. If the
+     * user does not provide a mask then only the non-empty fields present in the
+     * request will be overwritten. Set the update_mask to `*` to override all
+     * fields.
+     * For the objective config, the user can either provide the update mask for
+     * model_deployment_monitoring_objective_configs or any combination of its
+     * nested fields, such as:
+     * model_deployment_monitoring_objective_configs.objective_config.training_dataset.
+     * Updatable fields:
+     *   * `display_name`
+     *   * `model_deployment_monitoring_schedule_config`
+     *   * `model_monitoring_alert_config`
+     *   * `logging_sampling_strategy`
+     *   * `labels`
+     *   * `log_ttl`
+     *   * `enable_monitoring_pipeline_logs`
+     * .  and
+     *   * `model_deployment_monitoring_objective_configs`
+     * .  or
+     *   * `model_deployment_monitoring_objective_configs.objective_config.training_dataset`
+     *   * `model_deployment_monitoring_objective_configs.objective_config.training_prediction_skew_detection_config`
+     *   * `model_deployment_monitoring_objective_configs.objective_config.prediction_drift_detection_config`
      * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateModelDeploymentMonitoringJobRequestOrBuilder.java b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateModelDeploymentMonitoringJobRequestOrBuilder.java index 3a6ee79a3..63f7856bd 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateModelDeploymentMonitoringJobRequestOrBuilder.java +++ b/proto-google-cloud-aiplatform-v1/src/main/java/com/google/cloud/aiplatform/v1/UpdateModelDeploymentMonitoringJobRequestOrBuilder.java @@ -72,7 +72,31 @@ public interface UpdateModelDeploymentMonitoringJobRequestOrBuilder * * *
-   * Required. The update mask applies to the resource.
+   * Required. The update mask is used to specify the fields to be overwritten in the
+   * ModelDeploymentMonitoringJob resource by the update.
+   * The fields specified in the update_mask are relative to the resource, not
+   * the full request. A field will be overwritten if it is in the mask. If the
+   * user does not provide a mask then only the non-empty fields present in the
+   * request will be overwritten. Set the update_mask to `*` to override all
+   * fields.
+   * For the objective config, the user can either provide the update mask for
+   * model_deployment_monitoring_objective_configs or any combination of its
+   * nested fields, such as:
+   * model_deployment_monitoring_objective_configs.objective_config.training_dataset.
+   * Updatable fields:
+   *   * `display_name`
+   *   * `model_deployment_monitoring_schedule_config`
+   *   * `model_monitoring_alert_config`
+   *   * `logging_sampling_strategy`
+   *   * `labels`
+   *   * `log_ttl`
+   *   * `enable_monitoring_pipeline_logs`
+   * .  and
+   *   * `model_deployment_monitoring_objective_configs`
+   * .  or
+   *   * `model_deployment_monitoring_objective_configs.objective_config.training_dataset`
+   *   * `model_deployment_monitoring_objective_configs.objective_config.training_prediction_skew_detection_config`
+   *   * `model_deployment_monitoring_objective_configs.objective_config.prediction_drift_detection_config`
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -85,7 +109,31 @@ public interface UpdateModelDeploymentMonitoringJobRequestOrBuilder * * *
-   * Required. The update mask applies to the resource.
+   * Required. The update mask is used to specify the fields to be overwritten in the
+   * ModelDeploymentMonitoringJob resource by the update.
+   * The fields specified in the update_mask are relative to the resource, not
+   * the full request. A field will be overwritten if it is in the mask. If the
+   * user does not provide a mask then only the non-empty fields present in the
+   * request will be overwritten. Set the update_mask to `*` to override all
+   * fields.
+   * For the objective config, the user can either provide the update mask for
+   * model_deployment_monitoring_objective_configs or any combination of its
+   * nested fields, such as:
+   * model_deployment_monitoring_objective_configs.objective_config.training_dataset.
+   * Updatable fields:
+   *   * `display_name`
+   *   * `model_deployment_monitoring_schedule_config`
+   *   * `model_monitoring_alert_config`
+   *   * `logging_sampling_strategy`
+   *   * `labels`
+   *   * `log_ttl`
+   *   * `enable_monitoring_pipeline_logs`
+   * .  and
+   *   * `model_deployment_monitoring_objective_configs`
+   * .  or
+   *   * `model_deployment_monitoring_objective_configs.objective_config.training_dataset`
+   *   * `model_deployment_monitoring_objective_configs.objective_config.training_prediction_skew_detection_config`
+   *   * `model_deployment_monitoring_objective_configs.objective_config.prediction_drift_detection_config`
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -98,7 +146,31 @@ public interface UpdateModelDeploymentMonitoringJobRequestOrBuilder * * *
-   * Required. The update mask applies to the resource.
+   * Required. The update mask is used to specify the fields to be overwritten in the
+   * ModelDeploymentMonitoringJob resource by the update.
+   * The fields specified in the update_mask are relative to the resource, not
+   * the full request. A field will be overwritten if it is in the mask. If the
+   * user does not provide a mask then only the non-empty fields present in the
+   * request will be overwritten. Set the update_mask to `*` to override all
+   * fields.
+   * For the objective config, the user can either provide the update mask for
+   * model_deployment_monitoring_objective_configs or any combination of its
+   * nested fields, such as:
+   * model_deployment_monitoring_objective_configs.objective_config.training_dataset.
+   * Updatable fields:
+   *   * `display_name`
+   *   * `model_deployment_monitoring_schedule_config`
+   *   * `model_monitoring_alert_config`
+   *   * `logging_sampling_strategy`
+   *   * `labels`
+   *   * `log_ttl`
+   *   * `enable_monitoring_pipeline_logs`
+   * .  and
+   *   * `model_deployment_monitoring_objective_configs`
+   * .  or
+   *   * `model_deployment_monitoring_objective_configs.objective_config.training_dataset`
+   *   * `model_deployment_monitoring_objective_configs.objective_config.training_prediction_skew_detection_config`
+   *   * `model_deployment_monitoring_objective_configs.objective_config.prediction_drift_detection_config`
    * 
* * .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/job_service.proto b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/job_service.proto index b1c467f32..0c164c797 100644 --- a/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/job_service.proto +++ b/proto-google-cloud-aiplatform-v1/src/main/proto/google/cloud/aiplatform/v1/job_service.proto @@ -923,7 +923,33 @@ message UpdateModelDeploymentMonitoringJobRequest { // server. ModelDeploymentMonitoringJob model_deployment_monitoring_job = 1 [(google.api.field_behavior) = REQUIRED]; - // Required. The update mask applies to the resource. + // Required. The update mask is used to specify the fields to be overwritten in the + // ModelDeploymentMonitoringJob resource by the update. + // The fields specified in the update_mask are relative to the resource, not + // the full request. A field will be overwritten if it is in the mask. If the + // user does not provide a mask then only the non-empty fields present in the + // request will be overwritten. Set the update_mask to `*` to override all + // fields. + // For the objective config, the user can either provide the update mask for + // model_deployment_monitoring_objective_configs or any combination of its + // nested fields, such as: + // model_deployment_monitoring_objective_configs.objective_config.training_dataset. + // + // Updatable fields: + // + // * `display_name` + // * `model_deployment_monitoring_schedule_config` + // * `model_monitoring_alert_config` + // * `logging_sampling_strategy` + // * `labels` + // * `log_ttl` + // * `enable_monitoring_pipeline_logs` + // . and + // * `model_deployment_monitoring_objective_configs` + // . or + // * `model_deployment_monitoring_objective_configs.objective_config.training_dataset` + // * `model_deployment_monitoring_objective_configs.objective_config.training_prediction_skew_detection_config` + // * `model_deployment_monitoring_objective_configs.objective_config.prediction_drift_detection_config` google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED]; }