@@ -207,6 +207,20 @@ service FeatureRegistryService {
207207 option (google.api.method_signature ) = "parent" ;
208208 }
209209
210+ // Updates the parameters of a single FeatureMonitor.
211+ rpc UpdateFeatureMonitor (UpdateFeatureMonitorRequest )
212+ returns (google.longrunning.Operation ) {
213+ option (google.api.http ) = {
214+ patch : "/v1beta1/{feature_monitor.name=projects/*/locations/*/featureGroups/*/featureMonitors/*}"
215+ body : "feature_monitor"
216+ };
217+ option (google.api.method_signature ) = "feature_monitor,update_mask" ;
218+ option (google.longrunning.operation_info ) = {
219+ response_type : "FeatureMonitor"
220+ metadata_type : "UpdateFeatureMonitorOperationMetadata"
221+ };
222+ }
223+
210224 // Deletes a single FeatureMonitor.
211225 rpc DeleteFeatureMonitor (DeleteFeatureMonitorRequest )
212226 returns (google.longrunning.Operation ) {
@@ -494,6 +508,29 @@ message ListFeatureMonitorsRequest {
494508 string order_by = 5 [(google.api.field_behavior ) = OPTIONAL ];
495509}
496510
511+ // Request message for
512+ // [FeatureRegistryService.UpdateFeatureMonitor][google.cloud.aiplatform.v1beta1.FeatureRegistryService.UpdateFeatureMonitor].
513+ message UpdateFeatureMonitorRequest {
514+ // Required. The FeatureMonitor's `name` field is used to identify the
515+ // FeatureMonitor to be updated. Format:
516+ // `projects/{project}/locations/{location}/featureGroups/{feature_group}/featureMonitors/{feature_monitor}`
517+ FeatureMonitor feature_monitor = 1 [(google.api.field_behavior ) = REQUIRED ];
518+
519+ // Optional. Field mask is used to specify the fields to be overwritten in the
520+ // FeatureMonitor resource by the update.
521+ // The fields specified in the update_mask are relative to the resource, not
522+ // the full request. A field will be overwritten if it is in the mask. If the
523+ // user does not provide a mask then only the non-empty fields present in the
524+ // request will be overwritten. Set the update_mask to `*` to override all
525+ // fields.
526+ //
527+ // Updatable fields:
528+ //
529+ // * `labels`
530+ google.protobuf.FieldMask update_mask = 2
531+ [(google.api.field_behavior ) = OPTIONAL ];
532+ }
533+
497534// Request message for
498535// [FeatureRegistryService.DeleteFeatureMonitor][google.cloud.aiplatform.v1beta1.FeatureRegistryService.DeleteFeatureMonitor].
499536message DeleteFeatureMonitorRequest {
@@ -551,6 +588,12 @@ message CreateFeatureMonitorOperationMetadata {
551588 GenericOperationMetadata generic_metadata = 1 ;
552589}
553590
591+ // Details of operations that perform update FeatureMonitor.
592+ message UpdateFeatureMonitorOperationMetadata {
593+ // Operation metadata for FeatureMonitor.
594+ GenericOperationMetadata generic_metadata = 1 ;
595+ }
596+
554597// Request message for
555598// [FeatureRegistryService.CreateFeatureMonitorJobRequest][].
556599message CreateFeatureMonitorJobRequest {
0 commit comments