Skip to content

Commit 179150a

Browse files
feat: add Vizier service to aiplatform v1 (#671)
* feat: add Vizier service to aiplatform v1 Committer: @dizcology PiperOrigin-RevId: 394116440 Source-Link: googleapis/googleapis@67c780b Source-Link: googleapis/googleapis-gen@994d9a5 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent edf9db7 commit 179150a

File tree

3 files changed

+82
-6
lines changed

3 files changed

+82
-6
lines changed

google/cloud/aiplatform_v1/services/job_service/async_client.py

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2218,8 +2218,34 @@ async def update_model_deployment_monitoring_job(
22182218
on the ``request`` instance; if ``request`` is provided, this
22192219
should not be set.
22202220
update_mask (:class:`google.protobuf.field_mask_pb2.FieldMask`):
2221-
Required. The update mask applies to
2222-
the resource.
2221+
Required. The update mask is used to specify the fields
2222+
to be overwritten in the ModelDeploymentMonitoringJob
2223+
resource by the update. The fields specified in the
2224+
update_mask are relative to the resource, not the full
2225+
request. A field will be overwritten if it is in the
2226+
mask. If the user does not provide a mask then only the
2227+
non-empty fields present in the request will be
2228+
overwritten. Set the update_mask to ``*`` to override
2229+
all fields. For the objective config, the user can
2230+
either provide the update mask for
2231+
model_deployment_monitoring_objective_configs or any
2232+
combination of its nested fields, such as:
2233+
model_deployment_monitoring_objective_configs.objective_config.training_dataset.
2234+
2235+
Updatable fields:
2236+
2237+
- ``display_name``
2238+
- ``model_deployment_monitoring_schedule_config``
2239+
- ``model_monitoring_alert_config``
2240+
- ``logging_sampling_strategy``
2241+
- ``labels``
2242+
- ``log_ttl``
2243+
- ``enable_monitoring_pipeline_logs`` . and
2244+
- ``model_deployment_monitoring_objective_configs`` .
2245+
or
2246+
- ``model_deployment_monitoring_objective_configs.objective_config.training_dataset``
2247+
- ``model_deployment_monitoring_objective_configs.objective_config.training_prediction_skew_detection_config``
2248+
- ``model_deployment_monitoring_objective_configs.objective_config.prediction_drift_detection_config``
22232249
22242250
This corresponds to the ``update_mask`` field
22252251
on the ``request`` instance; if ``request`` is provided, this

google/cloud/aiplatform_v1/services/job_service/client.py

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2574,8 +2574,34 @@ def update_model_deployment_monitoring_job(
25742574
on the ``request`` instance; if ``request`` is provided, this
25752575
should not be set.
25762576
update_mask (google.protobuf.field_mask_pb2.FieldMask):
2577-
Required. The update mask applies to
2578-
the resource.
2577+
Required. The update mask is used to specify the fields
2578+
to be overwritten in the ModelDeploymentMonitoringJob
2579+
resource by the update. The fields specified in the
2580+
update_mask are relative to the resource, not the full
2581+
request. A field will be overwritten if it is in the
2582+
mask. If the user does not provide a mask then only the
2583+
non-empty fields present in the request will be
2584+
overwritten. Set the update_mask to ``*`` to override
2585+
all fields. For the objective config, the user can
2586+
either provide the update mask for
2587+
model_deployment_monitoring_objective_configs or any
2588+
combination of its nested fields, such as:
2589+
model_deployment_monitoring_objective_configs.objective_config.training_dataset.
2590+
2591+
Updatable fields:
2592+
2593+
- ``display_name``
2594+
- ``model_deployment_monitoring_schedule_config``
2595+
- ``model_monitoring_alert_config``
2596+
- ``logging_sampling_strategy``
2597+
- ``labels``
2598+
- ``log_ttl``
2599+
- ``enable_monitoring_pipeline_logs`` . and
2600+
- ``model_deployment_monitoring_objective_configs`` .
2601+
or
2602+
- ``model_deployment_monitoring_objective_configs.objective_config.training_dataset``
2603+
- ``model_deployment_monitoring_objective_configs.objective_config.training_prediction_skew_detection_config``
2604+
- ``model_deployment_monitoring_objective_configs.objective_config.prediction_drift_detection_config``
25792605
25802606
This corresponds to the ``update_mask`` field
25812607
on the ``request`` instance; if ``request`` is provided, this

google/cloud/aiplatform_v1/types/job_service.py

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -791,8 +791,32 @@ class UpdateModelDeploymentMonitoringJobRequest(proto.Message):
791791
Required. The model monitoring configuration
792792
which replaces the resource on the server.
793793
update_mask (google.protobuf.field_mask_pb2.FieldMask):
794-
Required. The update mask applies to the
795-
resource.
794+
Required. The update mask is used to specify the fields to
795+
be overwritten in the ModelDeploymentMonitoringJob resource
796+
by the update. The fields specified in the update_mask are
797+
relative to the resource, not the full request. A field will
798+
be overwritten if it is in the mask. If the user does not
799+
provide a mask then only the non-empty fields present in the
800+
request will be overwritten. Set the update_mask to ``*`` to
801+
override all fields. For the objective config, the user can
802+
either provide the update mask for
803+
model_deployment_monitoring_objective_configs or any
804+
combination of its nested fields, such as:
805+
model_deployment_monitoring_objective_configs.objective_config.training_dataset.
806+
807+
Updatable fields:
808+
809+
- ``display_name``
810+
- ``model_deployment_monitoring_schedule_config``
811+
- ``model_monitoring_alert_config``
812+
- ``logging_sampling_strategy``
813+
- ``labels``
814+
- ``log_ttl``
815+
- ``enable_monitoring_pipeline_logs`` . and
816+
- ``model_deployment_monitoring_objective_configs`` . or
817+
- ``model_deployment_monitoring_objective_configs.objective_config.training_dataset``
818+
- ``model_deployment_monitoring_objective_configs.objective_config.training_prediction_skew_detection_config``
819+
- ``model_deployment_monitoring_objective_configs.objective_config.prediction_drift_detection_config``
796820
"""
797821

798822
model_deployment_monitoring_job = proto.Field(

0 commit comments

Comments
 (0)