diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/entity_type.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/entity_type.proto index 800c946f517..524c8e694d8 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/entity_type.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/entity_type.proto @@ -18,6 +18,7 @@ package google.cloud.aiplatform.v1; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/aiplatform/v1/featurestore_monitoring.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; @@ -72,4 +73,16 @@ message EntityType { // Optional. Used to perform a consistent read-modify-write updates. If not set, a blind // "overwrite" update happens. string etag = 7 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The default monitoring configuration for all Features with value + // type + // ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL, + // STRING, DOUBLE or INT64 under this EntityType. + // + // If this is populated with + // [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot + // analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is + // disabled. + FeaturestoreMonitoringConfig monitoring_config = 8 + [(google.api.field_behavior) = OPTIONAL]; } diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/feature.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/feature.proto index 284ed55ff30..47b1bc807a9 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/feature.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/feature.proto @@ -18,6 +18,7 @@ package google.cloud.aiplatform.v1; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/aiplatform/v1/feature_monitoring_stats.proto"; import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1"; @@ -37,6 +38,36 @@ message Feature { pattern: "projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}" }; + // A list of historical [Snapshot + // Analysis][FeaturestoreMonitoringConfig.SnapshotAnalysis] or [Import Feature + // Analysis] [FeaturestoreMonitoringConfig.ImportFeatureAnalysis] stats + // requested by user, sorted by + // [FeatureStatsAnomaly.start_time][google.cloud.aiplatform.v1.FeatureStatsAnomaly.start_time] + // descending. + message MonitoringStatsAnomaly { + // If the objective in the request is both + // Import Feature Analysis and Snapshot Analysis, this objective could be + // one of them. Otherwise, this objective should be the same as the + // objective in the request. + enum Objective { + // If it's OBJECTIVE_UNSPECIFIED, monitoring_stats will be empty. + OBJECTIVE_UNSPECIFIED = 0; + + // Stats are generated by Import Feature Analysis. + IMPORT_FEATURE_ANALYSIS = 1; + + // Stats are generated by Snapshot Analysis. + SNAPSHOT_ANALYSIS = 2; + } + + // Output only. The objective for each stats. + Objective objective = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The stats and anomalies generated at specific timestamp. + FeatureStatsAnomaly feature_stats_anomaly = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + } + // An enum representing the value type of a feature. enum ValueType { // The value type is unspecified. @@ -111,4 +142,18 @@ message Feature { // Used to perform a consistent read-modify-write updates. If not set, a blind // "overwrite" update happens. string etag = 7; + + // Optional. If not set, use the monitoring_config defined for the EntityType + // this Feature belongs to. Only Features with type + // ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL, + // STRING, DOUBLE or INT64 can enable monitoring. + // + // If set to true, all types of data monitoring are disabled despite the + // config on EntityType. + bool disable_monitoring = 12 [(google.api.field_behavior) = OPTIONAL]; + + // Output only. The list of historical stats and anomalies with specified + // objectives. + repeated MonitoringStatsAnomaly monitoring_stats_anomalies = 11 + [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/featurestore_monitoring.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/featurestore_monitoring.proto new file mode 100644 index 00000000000..071f6a24656 --- /dev/null +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/featurestore_monitoring.proto @@ -0,0 +1,153 @@ +// Copyright 2022 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +syntax = "proto3"; + +package google.cloud.aiplatform.v1; + +option csharp_namespace = "Google.Cloud.AIPlatform.V1"; +option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; +option java_multiple_files = true; +option java_outer_classname = "FeaturestoreMonitoringProto"; +option java_package = "com.google.cloud.aiplatform.v1"; +option php_namespace = "Google\\Cloud\\AIPlatform\\V1"; +option ruby_package = "Google::Cloud::AIPlatform::V1"; + +// Configuration of how features in Featurestore are monitored. +message FeaturestoreMonitoringConfig { + // Configuration of the Featurestore's Snapshot Analysis Based Monitoring. + // This type of analysis generates statistics for each Feature based on a + // snapshot of the latest feature value of each entities every + // monitoring_interval. + message SnapshotAnalysis { + // The monitoring schedule for snapshot analysis. + // For EntityType-level config: + // unset / disabled = true indicates disabled by + // default for Features under it; otherwise by default enable snapshot + // analysis monitoring with monitoring_interval for Features under it. + // Feature-level config: + // disabled = true indicates disabled regardless of the EntityType-level + // config; unset monitoring_interval indicates going with EntityType-level + // config; otherwise run snapshot analysis monitoring with + // monitoring_interval regardless of the EntityType-level config. + // Explicitly Disable the snapshot analysis based monitoring. + bool disabled = 1; + + // Configuration of the snapshot analysis based monitoring pipeline + // running interval. The value indicates number of days. + // If both + // [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days] + // and [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][] + // are set when creating/updating EntityTypes/Features, + // [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days] + // will be used. + int32 monitoring_interval_days = 3; + + // Customized export features time window for snapshot analysis. Unit is one + // day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is + // 4000 days. + int32 staleness_days = 4; + } + + // Configuration of the Featurestore's ImportFeature Analysis Based + // Monitoring. This type of analysis generates statistics for values of each + // Feature imported by every [ImportFeatureValues][] operation. + message ImportFeaturesAnalysis { + // The state defines whether to enable ImportFeature analysis. + enum State { + // Should not be used. + STATE_UNSPECIFIED = 0; + + // The default behavior of whether to enable the monitoring. + // EntityType-level config: disabled. + // Feature-level config: inherited from the configuration of EntityType + // this Feature belongs to. + DEFAULT = 1; + + // Explicitly enables import features analysis. + // EntityType-level config: by default enables import features analysis + // for all Features under it. Feature-level config: enables import + // features analysis regardless of the EntityType-level config. + ENABLED = 2; + + // Explicitly disables import features analysis. + // EntityType-level config: by default disables import features analysis + // for all Features under it. Feature-level config: disables import + // features analysis regardless of the EntityType-level config. + DISABLED = 3; + } + + // Defines the baseline to do anomaly detection for feature values imported + // by each [ImportFeatureValues][] operation. + enum Baseline { + // Should not be used. + BASELINE_UNSPECIFIED = 0; + + // Choose the later one statistics generated by either most recent + // snapshot analysis or previous import features analysis. If non of them + // exists, skip anomaly detection and only generate a statistics. + LATEST_STATS = 1; + + // Use the statistics generated by the most recent snapshot analysis if + // exists. + MOST_RECENT_SNAPSHOT_STATS = 2; + + // Use the statistics generated by the previous import features analysis + // if exists. + PREVIOUS_IMPORT_FEATURES_STATS = 3; + } + + // Whether to enable / disable / inherite default hebavior for import + // features analysis. + State state = 1; + + // The baseline used to do anomaly detection for the statistics generated by + // import features analysis. + Baseline anomaly_detection_baseline = 2; + } + + // The config for Featurestore Monitoring threshold. + message ThresholdConfig { + oneof threshold { + // Specify a threshold value that can trigger the alert. + // 1. For categorical feature, the distribution distance is calculated by + // L-inifinity norm. + // 2. For numerical feature, the distribution distance is calculated by + // Jensen–Shannon divergence. Each feature must have a non-zero threshold + // if they need to be monitored. Otherwise no alert will be triggered for + // that feature. + double value = 1; + } + } + + // The config for Snapshot Analysis Based Feature Monitoring. + SnapshotAnalysis snapshot_analysis = 1; + + // The config for ImportFeatures Analysis Based Feature Monitoring. + ImportFeaturesAnalysis import_features_analysis = 2; + + // Threshold for numerical features of anomaly detection. + // This is shared by all objectives of Featurestore Monitoring for numerical + // features (i.e. Features with type + // ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) DOUBLE + // or INT64). + ThresholdConfig numerical_threshold_config = 3; + + // Threshold for categorical features of anomaly detection. + // This is shared by all types of Featurestore Monitoring for categorical + // features (i.e. Features with type + // ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL or + // STRING). + ThresholdConfig categorical_threshold_config = 4; +} diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/featurestore_service.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/featurestore_service.proto index 7b8bb5e2386..706ee62dd84 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/featurestore_service.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/featurestore_service.proto @@ -505,6 +505,9 @@ message ImportFeatureValuesRequest { // If not set, defaults to using 1 worker. The low count ensures minimal // impact on online serving performance. int32 worker_count = 11; + + // If true, API doesn't start ingestion analysis pipeline. + bool disable_ingestion_analysis = 12; } // Response message for [FeaturestoreService.ImportFeatureValues][google.cloud.aiplatform.v1.FeaturestoreService.ImportFeatureValues]. @@ -846,7 +849,12 @@ message UpdateEntityTypeRequest { // * `description` // * `labels` // * `monitoring_config.snapshot_analysis.disabled` - // * `monitoring_config.snapshot_analysis.monitoring_interval` + // * `monitoring_config.snapshot_analysis.monitoring_interval_days` + // * `monitoring_config.snapshot_analysis.staleness_days` + // * `monitoring_config.import_features_analysis.state` + // * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + // * `monitoring_config.numerical_threshold_config.value` + // * `monitoring_config.categorical_threshold_config.value` google.protobuf.FieldMask update_mask = 2; } @@ -1138,8 +1146,7 @@ message UpdateFeatureRequest { // // * `description` // * `labels` - // * `monitoring_config.snapshot_analysis.disabled` - // * `monitoring_config.snapshot_analysis.monitoring_interval` + // * `disable_monitoring` google.protobuf.FieldMask update_mask = 2; } diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/feature.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/feature.proto index 5776bac6e9d..16a7558eaba 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/feature.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/feature.proto @@ -40,6 +40,36 @@ message Feature { pattern: "projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}" }; + // A list of historical [Snapshot + // Analysis][FeaturestoreMonitoringConfig.SnapshotAnalysis] or [Import Feature + // Analysis] [FeaturestoreMonitoringConfig.ImportFeatureAnalysis] stats + // requested by user, sorted by + // [FeatureStatsAnomaly.start_time][google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.start_time] + // descending. + message MonitoringStatsAnomaly { + // If the objective in the request is both + // Import Feature Analysis and Snapshot Analysis, this objective could be + // one of them. Otherwise, this objective should be the same as the + // objective in the request. + enum Objective { + // If it's OBJECTIVE_UNSPECIFIED, monitoring_stats will be empty. + OBJECTIVE_UNSPECIFIED = 0; + + // Stats are generated by Import Feature Analysis. + IMPORT_FEATURE_ANALYSIS = 1; + + // Stats are generated by Snapshot Analysis. + SNAPSHOT_ANALYSIS = 2; + } + + // Output only. The objective for each stats. + Objective objective = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The stats and anomalies generated at specific timestamp. + FeatureStatsAnomaly feature_stats_anomaly = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; + } + // An enum representing the value type of a feature. enum ValueType { // The value type is unspecified. @@ -128,9 +158,23 @@ message Feature { // config is same as the EntityType's this Feature belongs to. FeaturestoreMonitoringConfig monitoring_config = 9 [(google.api.field_behavior) = OPTIONAL]; + // Optional. If not set, use the monitoring_config defined for the EntityType + // this Feature belongs to. Only Features with type + // ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType]) + // BOOL, STRING, DOUBLE or INT64 can enable monitoring. + // + // If set to true, all types of data monitoring are disabled despite the + // config on EntityType. + bool disable_monitoring = 12 [(google.api.field_behavior) = OPTIONAL]; + // Output only. A list of historical [Snapshot // Analysis][FeaturestoreMonitoringConfig.SnapshotAnalysis] // stats requested by user, sorted by [FeatureStatsAnomaly.start_time][google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.start_time] // descending. repeated FeatureStatsAnomaly monitoring_stats = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. The list of historical stats and anomalies with specified + // objectives. + repeated MonitoringStatsAnomaly monitoring_stats_anomalies = 11 + [(google.api.field_behavior) = OUTPUT_ONLY]; } diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto index 90805eb89a6..9ef9b1f6b96 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto @@ -55,13 +55,107 @@ message FeaturestoreMonitoringConfig { // running interval. The value indicates number of days. // If both // [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days] - // and [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval] + // and + // [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval] // are set when creating/updating EntityTypes/Features, // [FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days] // will be used. int32 monitoring_interval_days = 3; + + // Customized export features time window for snapshot analysis. Unit is one + // day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is + // 4000 days. + int32 staleness_days = 4; + } + + // Configuration of the Featurestore's ImportFeature Analysis Based + // Monitoring. This type of analysis generates statistics for values of each + // Feature imported by every [ImportFeatureValues][] operation. + message ImportFeaturesAnalysis { + // The state defines whether to enable ImportFeature analysis. + enum State { + // Should not be used. + STATE_UNSPECIFIED = 0; + + // The default behavior of whether to enable the monitoring. + // EntityType-level config: disabled. + // Feature-level config: inherited from the configuration of EntityType + // this Feature belongs to. + DEFAULT = 1; + + // Explicitly enables import features analysis. + // EntityType-level config: by default enables import features analysis + // for all Features under it. Feature-level config: enables import + // features analysis regardless of the EntityType-level config. + ENABLED = 2; + + // Explicitly disables import features analysis. + // EntityType-level config: by default disables import features analysis + // for all Features under it. Feature-level config: disables import + // features analysis regardless of the EntityType-level config. + DISABLED = 3; + } + + // Defines the baseline to do anomaly detection for feature values imported + // by each [ImportFeatureValues][] operation. + enum Baseline { + // Should not be used. + BASELINE_UNSPECIFIED = 0; + + // Choose the later one statistics generated by either most recent + // snapshot analysis or previous import features analysis. If non of them + // exists, skip anomaly detection and only generate a statistics. + LATEST_STATS = 1; + + // Use the statistics generated by the most recent snapshot analysis if + // exists. + MOST_RECENT_SNAPSHOT_STATS = 2; + + // Use the statistics generated by the previous import features analysis + // if exists. + PREVIOUS_IMPORT_FEATURES_STATS = 3; + } + + // Whether to enable / disable / inherite default hebavior for import + // features analysis. + State state = 1; + + // The baseline used to do anomaly detection for the statistics generated by + // import features analysis. + Baseline anomaly_detection_baseline = 2; + } + + // The config for Featurestore Monitoring threshold. + message ThresholdConfig { + oneof threshold { + // Specify a threshold value that can trigger the alert. + // 1. For categorical feature, the distribution distance is calculated by + // L-inifinity norm. + // 2. For numerical feature, the distribution distance is calculated by + // Jensen–Shannon divergence. Each feature must have a non-zero threshold + // if they need to be monitored. Otherwise no alert will be triggered for + // that feature. + double value = 1; + } } // The config for Snapshot Analysis Based Feature Monitoring. SnapshotAnalysis snapshot_analysis = 1; + + // The config for ImportFeatures Analysis Based Feature Monitoring. + ImportFeaturesAnalysis import_features_analysis = 2; + + // Threshold for numerical features of anomaly detection. + // This is shared by all objectives of Featurestore Monitoring for numerical + // features (i.e. Features with type + // ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType]) + // DOUBLE or INT64). + ThresholdConfig numerical_threshold_config = 3; + + // Threshold for categorical features of anomaly detection. + // This is shared by all types of Featurestore Monitoring for categorical + // features (i.e. Features with type + // ([Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType]) + // BOOL or STRING). + ThresholdConfig categorical_threshold_config = 4; } diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/featurestore_service.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/featurestore_service.proto index 6b93be8b67c..efaa15055f3 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/featurestore_service.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/featurestore_service.proto @@ -507,6 +507,9 @@ message ImportFeatureValuesRequest { // If not set, defaults to using 1 worker. The low count ensures minimal // impact on online serving performance. int32 worker_count = 11; + + // If true, API doesn't start ingestion analysis pipeline. + bool disable_ingestion_analysis = 12; } // Response message for [FeaturestoreService.ImportFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.ImportFeatureValues]. @@ -848,7 +851,12 @@ message UpdateEntityTypeRequest { // * `description` // * `labels` // * `monitoring_config.snapshot_analysis.disabled` - // * `monitoring_config.snapshot_analysis.monitoring_interval` + // * `monitoring_config.snapshot_analysis.monitoring_interval_days` + // * `monitoring_config.snapshot_analysis.staleness_days` + // * `monitoring_config.import_features_analysis.state` + // * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + // * `monitoring_config.numerical_threshold_config.value` + // * `monitoring_config.categorical_threshold_config.value` google.protobuf.FieldMask update_mask = 2; } @@ -1140,8 +1148,7 @@ message UpdateFeatureRequest { // // * `description` // * `labels` - // * `monitoring_config.snapshot_analysis.disabled` - // * `monitoring_config.snapshot_analysis.monitoring_interval` + // * `disable_monitoring` google.protobuf.FieldMask update_mask = 2; } diff --git a/packages/google-cloud-aiplatform/protos/protos.d.ts b/packages/google-cloud-aiplatform/protos/protos.d.ts index 91a1535c2b8..fcc3a81b593 100644 --- a/packages/google-cloud-aiplatform/protos/protos.d.ts +++ b/packages/google-cloud-aiplatform/protos/protos.d.ts @@ -12041,6 +12041,9 @@ export namespace google { /** EntityType etag */ etag?: (string|null); + + /** EntityType monitoringConfig */ + monitoringConfig?: (google.cloud.aiplatform.v1.IFeaturestoreMonitoringConfig|null); } /** Represents an EntityType. */ @@ -12070,6 +12073,9 @@ export namespace google { /** EntityType etag. */ public etag: string; + /** EntityType monitoringConfig. */ + public monitoringConfig?: (google.cloud.aiplatform.v1.IFeaturestoreMonitoringConfig|null); + /** * Creates a new EntityType instance using the specified properties. * @param [properties] Properties to set @@ -12141,6 +12147,427 @@ export namespace google { public toJSON(): { [k: string]: any }; } + /** Properties of a FeaturestoreMonitoringConfig. */ + interface IFeaturestoreMonitoringConfig { + + /** FeaturestoreMonitoringConfig snapshotAnalysis */ + snapshotAnalysis?: (google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ISnapshotAnalysis|null); + + /** FeaturestoreMonitoringConfig importFeaturesAnalysis */ + importFeaturesAnalysis?: (google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.IImportFeaturesAnalysis|null); + + /** FeaturestoreMonitoringConfig numericalThresholdConfig */ + numericalThresholdConfig?: (google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.IThresholdConfig|null); + + /** FeaturestoreMonitoringConfig categoricalThresholdConfig */ + categoricalThresholdConfig?: (google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.IThresholdConfig|null); + } + + /** Represents a FeaturestoreMonitoringConfig. */ + class FeaturestoreMonitoringConfig implements IFeaturestoreMonitoringConfig { + + /** + * Constructs a new FeaturestoreMonitoringConfig. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.IFeaturestoreMonitoringConfig); + + /** FeaturestoreMonitoringConfig snapshotAnalysis. */ + public snapshotAnalysis?: (google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ISnapshotAnalysis|null); + + /** FeaturestoreMonitoringConfig importFeaturesAnalysis. */ + public importFeaturesAnalysis?: (google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.IImportFeaturesAnalysis|null); + + /** FeaturestoreMonitoringConfig numericalThresholdConfig. */ + public numericalThresholdConfig?: (google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.IThresholdConfig|null); + + /** FeaturestoreMonitoringConfig categoricalThresholdConfig. */ + public categoricalThresholdConfig?: (google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.IThresholdConfig|null); + + /** + * Creates a new FeaturestoreMonitoringConfig instance using the specified properties. + * @param [properties] Properties to set + * @returns FeaturestoreMonitoringConfig instance + */ + public static create(properties?: google.cloud.aiplatform.v1.IFeaturestoreMonitoringConfig): google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig; + + /** + * Encodes the specified FeaturestoreMonitoringConfig message. Does not implicitly {@link google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.verify|verify} messages. + * @param message FeaturestoreMonitoringConfig message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.IFeaturestoreMonitoringConfig, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified FeaturestoreMonitoringConfig message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.verify|verify} messages. + * @param message FeaturestoreMonitoringConfig message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.IFeaturestoreMonitoringConfig, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a FeaturestoreMonitoringConfig message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns FeaturestoreMonitoringConfig + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig; + + /** + * Decodes a FeaturestoreMonitoringConfig message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns FeaturestoreMonitoringConfig + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig; + + /** + * Verifies a FeaturestoreMonitoringConfig message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a FeaturestoreMonitoringConfig message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns FeaturestoreMonitoringConfig + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig; + + /** + * Creates a plain object from a FeaturestoreMonitoringConfig message. Also converts values to other types if specified. + * @param message FeaturestoreMonitoringConfig + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this FeaturestoreMonitoringConfig to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + } + + namespace FeaturestoreMonitoringConfig { + + /** Properties of a SnapshotAnalysis. */ + interface ISnapshotAnalysis { + + /** SnapshotAnalysis disabled */ + disabled?: (boolean|null); + + /** SnapshotAnalysis monitoringIntervalDays */ + monitoringIntervalDays?: (number|null); + + /** SnapshotAnalysis stalenessDays */ + stalenessDays?: (number|null); + } + + /** Represents a SnapshotAnalysis. */ + class SnapshotAnalysis implements ISnapshotAnalysis { + + /** + * Constructs a new SnapshotAnalysis. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ISnapshotAnalysis); + + /** SnapshotAnalysis disabled. */ + public disabled: boolean; + + /** SnapshotAnalysis monitoringIntervalDays. */ + public monitoringIntervalDays: number; + + /** SnapshotAnalysis stalenessDays. */ + public stalenessDays: number; + + /** + * Creates a new SnapshotAnalysis instance using the specified properties. + * @param [properties] Properties to set + * @returns SnapshotAnalysis instance + */ + public static create(properties?: google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ISnapshotAnalysis): google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis; + + /** + * Encodes the specified SnapshotAnalysis message. Does not implicitly {@link google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.verify|verify} messages. + * @param message SnapshotAnalysis message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ISnapshotAnalysis, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified SnapshotAnalysis message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.verify|verify} messages. + * @param message SnapshotAnalysis message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ISnapshotAnalysis, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a SnapshotAnalysis message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns SnapshotAnalysis + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis; + + /** + * Decodes a SnapshotAnalysis message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns SnapshotAnalysis + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis; + + /** + * Verifies a SnapshotAnalysis message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a SnapshotAnalysis message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns SnapshotAnalysis + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis; + + /** + * Creates a plain object from a SnapshotAnalysis message. Also converts values to other types if specified. + * @param message SnapshotAnalysis + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this SnapshotAnalysis to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + } + + /** Properties of an ImportFeaturesAnalysis. */ + interface IImportFeaturesAnalysis { + + /** ImportFeaturesAnalysis state */ + state?: (google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State|keyof typeof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State|null); + + /** ImportFeaturesAnalysis anomalyDetectionBaseline */ + anomalyDetectionBaseline?: (google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline|keyof typeof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline|null); + } + + /** Represents an ImportFeaturesAnalysis. */ + class ImportFeaturesAnalysis implements IImportFeaturesAnalysis { + + /** + * Constructs a new ImportFeaturesAnalysis. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.IImportFeaturesAnalysis); + + /** ImportFeaturesAnalysis state. */ + public state: (google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State|keyof typeof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State); + + /** ImportFeaturesAnalysis anomalyDetectionBaseline. */ + public anomalyDetectionBaseline: (google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline|keyof typeof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline); + + /** + * Creates a new ImportFeaturesAnalysis instance using the specified properties. + * @param [properties] Properties to set + * @returns ImportFeaturesAnalysis instance + */ + public static create(properties?: google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.IImportFeaturesAnalysis): google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis; + + /** + * Encodes the specified ImportFeaturesAnalysis message. Does not implicitly {@link google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.verify|verify} messages. + * @param message ImportFeaturesAnalysis message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.IImportFeaturesAnalysis, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ImportFeaturesAnalysis message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.verify|verify} messages. + * @param message ImportFeaturesAnalysis message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.IImportFeaturesAnalysis, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ImportFeaturesAnalysis message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ImportFeaturesAnalysis + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis; + + /** + * Decodes an ImportFeaturesAnalysis message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ImportFeaturesAnalysis + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis; + + /** + * Verifies an ImportFeaturesAnalysis message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an ImportFeaturesAnalysis message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ImportFeaturesAnalysis + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis; + + /** + * Creates a plain object from an ImportFeaturesAnalysis message. Also converts values to other types if specified. + * @param message ImportFeaturesAnalysis + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ImportFeaturesAnalysis to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + } + + namespace ImportFeaturesAnalysis { + + /** State enum. */ + enum State { + STATE_UNSPECIFIED = 0, + DEFAULT = 1, + ENABLED = 2, + DISABLED = 3 + } + + /** Baseline enum. */ + enum Baseline { + BASELINE_UNSPECIFIED = 0, + LATEST_STATS = 1, + MOST_RECENT_SNAPSHOT_STATS = 2, + PREVIOUS_IMPORT_FEATURES_STATS = 3 + } + } + + /** Properties of a ThresholdConfig. */ + interface IThresholdConfig { + + /** ThresholdConfig value */ + value?: (number|null); + } + + /** Represents a ThresholdConfig. */ + class ThresholdConfig implements IThresholdConfig { + + /** + * Constructs a new ThresholdConfig. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.IThresholdConfig); + + /** ThresholdConfig value. */ + public value?: (number|null); + + /** ThresholdConfig threshold. */ + public threshold?: "value"; + + /** + * Creates a new ThresholdConfig instance using the specified properties. + * @param [properties] Properties to set + * @returns ThresholdConfig instance + */ + public static create(properties?: google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.IThresholdConfig): google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig; + + /** + * Encodes the specified ThresholdConfig message. Does not implicitly {@link google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.verify|verify} messages. + * @param message ThresholdConfig message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.IThresholdConfig, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ThresholdConfig message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.verify|verify} messages. + * @param message ThresholdConfig message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.IThresholdConfig, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ThresholdConfig message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ThresholdConfig + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig; + + /** + * Decodes a ThresholdConfig message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ThresholdConfig + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig; + + /** + * Verifies a ThresholdConfig message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ThresholdConfig message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ThresholdConfig + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig; + + /** + * Creates a plain object from a ThresholdConfig message. Also converts values to other types if specified. + * @param message ThresholdConfig + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ThresholdConfig to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + } + } + /** Properties of an Event. */ interface IEvent { @@ -12452,6 +12879,12 @@ export namespace google { /** Feature etag */ etag?: (string|null); + + /** Feature disableMonitoring */ + disableMonitoring?: (boolean|null); + + /** Feature monitoringStatsAnomalies */ + monitoringStatsAnomalies?: (google.cloud.aiplatform.v1.Feature.IMonitoringStatsAnomaly[]|null); } /** Represents a Feature. */ @@ -12484,6 +12917,12 @@ export namespace google { /** Feature etag. */ public etag: string; + /** Feature disableMonitoring. */ + public disableMonitoring: boolean; + + /** Feature monitoringStatsAnomalies. */ + public monitoringStatsAnomalies: google.cloud.aiplatform.v1.Feature.IMonitoringStatsAnomaly[]; + /** * Creates a new Feature instance using the specified properties. * @param [properties] Properties to set @@ -12557,6 +12996,112 @@ export namespace google { namespace Feature { + /** Properties of a MonitoringStatsAnomaly. */ + interface IMonitoringStatsAnomaly { + + /** MonitoringStatsAnomaly objective */ + objective?: (google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective|keyof typeof google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective|null); + + /** MonitoringStatsAnomaly featureStatsAnomaly */ + featureStatsAnomaly?: (google.cloud.aiplatform.v1.IFeatureStatsAnomaly|null); + } + + /** Represents a MonitoringStatsAnomaly. */ + class MonitoringStatsAnomaly implements IMonitoringStatsAnomaly { + + /** + * Constructs a new MonitoringStatsAnomaly. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1.Feature.IMonitoringStatsAnomaly); + + /** MonitoringStatsAnomaly objective. */ + public objective: (google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective|keyof typeof google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective); + + /** MonitoringStatsAnomaly featureStatsAnomaly. */ + public featureStatsAnomaly?: (google.cloud.aiplatform.v1.IFeatureStatsAnomaly|null); + + /** + * Creates a new MonitoringStatsAnomaly instance using the specified properties. + * @param [properties] Properties to set + * @returns MonitoringStatsAnomaly instance + */ + public static create(properties?: google.cloud.aiplatform.v1.Feature.IMonitoringStatsAnomaly): google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly; + + /** + * Encodes the specified MonitoringStatsAnomaly message. Does not implicitly {@link google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.verify|verify} messages. + * @param message MonitoringStatsAnomaly message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1.Feature.IMonitoringStatsAnomaly, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified MonitoringStatsAnomaly message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.verify|verify} messages. + * @param message MonitoringStatsAnomaly message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1.Feature.IMonitoringStatsAnomaly, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MonitoringStatsAnomaly message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MonitoringStatsAnomaly + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly; + + /** + * Decodes a MonitoringStatsAnomaly message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns MonitoringStatsAnomaly + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly; + + /** + * Verifies a MonitoringStatsAnomaly message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a MonitoringStatsAnomaly message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns MonitoringStatsAnomaly + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly; + + /** + * Creates a plain object from a MonitoringStatsAnomaly message. Also converts values to other types if specified. + * @param message MonitoringStatsAnomaly + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this MonitoringStatsAnomaly to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + } + + namespace MonitoringStatsAnomaly { + + /** Objective enum. */ + enum Objective { + OBJECTIVE_UNSPECIFIED = 0, + IMPORT_FEATURE_ANALYSIS = 1, + SNAPSHOT_ANALYSIS = 2 + } + } + /** ValueType enum. */ enum ValueType { VALUE_TYPE_UNSPECIFIED = 0, @@ -15629,6 +16174,9 @@ export namespace google { /** ImportFeatureValuesRequest workerCount */ workerCount?: (number|null); + + /** ImportFeatureValuesRequest disableIngestionAnalysis */ + disableIngestionAnalysis?: (boolean|null); } /** Represents an ImportFeatureValuesRequest. */ @@ -15670,6 +16218,9 @@ export namespace google { /** ImportFeatureValuesRequest workerCount. */ public workerCount: number; + /** ImportFeatureValuesRequest disableIngestionAnalysis. */ + public disableIngestionAnalysis: boolean; + /** ImportFeatureValuesRequest source. */ public source?: ("avroSource"|"bigquerySource"|"csvSource"); @@ -75796,8 +76347,14 @@ export namespace google { /** Feature monitoringConfig */ monitoringConfig?: (google.cloud.aiplatform.v1beta1.IFeaturestoreMonitoringConfig|null); + /** Feature disableMonitoring */ + disableMonitoring?: (boolean|null); + /** Feature monitoringStats */ monitoringStats?: (google.cloud.aiplatform.v1beta1.IFeatureStatsAnomaly[]|null); + + /** Feature monitoringStatsAnomalies */ + monitoringStatsAnomalies?: (google.cloud.aiplatform.v1beta1.Feature.IMonitoringStatsAnomaly[]|null); } /** Represents a Feature. */ @@ -75833,9 +76390,15 @@ export namespace google { /** Feature monitoringConfig. */ public monitoringConfig?: (google.cloud.aiplatform.v1beta1.IFeaturestoreMonitoringConfig|null); + /** Feature disableMonitoring. */ + public disableMonitoring: boolean; + /** Feature monitoringStats. */ public monitoringStats: google.cloud.aiplatform.v1beta1.IFeatureStatsAnomaly[]; + /** Feature monitoringStatsAnomalies. */ + public monitoringStatsAnomalies: google.cloud.aiplatform.v1beta1.Feature.IMonitoringStatsAnomaly[]; + /** * Creates a new Feature instance using the specified properties. * @param [properties] Properties to set @@ -75909,6 +76472,112 @@ export namespace google { namespace Feature { + /** Properties of a MonitoringStatsAnomaly. */ + interface IMonitoringStatsAnomaly { + + /** MonitoringStatsAnomaly objective */ + objective?: (google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective|keyof typeof google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective|null); + + /** MonitoringStatsAnomaly featureStatsAnomaly */ + featureStatsAnomaly?: (google.cloud.aiplatform.v1beta1.IFeatureStatsAnomaly|null); + } + + /** Represents a MonitoringStatsAnomaly. */ + class MonitoringStatsAnomaly implements IMonitoringStatsAnomaly { + + /** + * Constructs a new MonitoringStatsAnomaly. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1beta1.Feature.IMonitoringStatsAnomaly); + + /** MonitoringStatsAnomaly objective. */ + public objective: (google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective|keyof typeof google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective); + + /** MonitoringStatsAnomaly featureStatsAnomaly. */ + public featureStatsAnomaly?: (google.cloud.aiplatform.v1beta1.IFeatureStatsAnomaly|null); + + /** + * Creates a new MonitoringStatsAnomaly instance using the specified properties. + * @param [properties] Properties to set + * @returns MonitoringStatsAnomaly instance + */ + public static create(properties?: google.cloud.aiplatform.v1beta1.Feature.IMonitoringStatsAnomaly): google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly; + + /** + * Encodes the specified MonitoringStatsAnomaly message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.verify|verify} messages. + * @param message MonitoringStatsAnomaly message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1beta1.Feature.IMonitoringStatsAnomaly, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified MonitoringStatsAnomaly message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.verify|verify} messages. + * @param message MonitoringStatsAnomaly message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1beta1.Feature.IMonitoringStatsAnomaly, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MonitoringStatsAnomaly message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns MonitoringStatsAnomaly + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly; + + /** + * Decodes a MonitoringStatsAnomaly message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns MonitoringStatsAnomaly + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly; + + /** + * Verifies a MonitoringStatsAnomaly message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a MonitoringStatsAnomaly message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns MonitoringStatsAnomaly + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly; + + /** + * Creates a plain object from a MonitoringStatsAnomaly message. Also converts values to other types if specified. + * @param message MonitoringStatsAnomaly + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this MonitoringStatsAnomaly to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + } + + namespace MonitoringStatsAnomaly { + + /** Objective enum. */ + enum Objective { + OBJECTIVE_UNSPECIFIED = 0, + IMPORT_FEATURE_ANALYSIS = 1, + SNAPSHOT_ANALYSIS = 2 + } + } + /** ValueType enum. */ enum ValueType { VALUE_TYPE_UNSPECIFIED = 0, @@ -75929,6 +76598,15 @@ export namespace google { /** FeaturestoreMonitoringConfig snapshotAnalysis */ snapshotAnalysis?: (google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ISnapshotAnalysis|null); + + /** FeaturestoreMonitoringConfig importFeaturesAnalysis */ + importFeaturesAnalysis?: (google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.IImportFeaturesAnalysis|null); + + /** FeaturestoreMonitoringConfig numericalThresholdConfig */ + numericalThresholdConfig?: (google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.IThresholdConfig|null); + + /** FeaturestoreMonitoringConfig categoricalThresholdConfig */ + categoricalThresholdConfig?: (google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.IThresholdConfig|null); } /** Represents a FeaturestoreMonitoringConfig. */ @@ -75943,6 +76621,15 @@ export namespace google { /** FeaturestoreMonitoringConfig snapshotAnalysis. */ public snapshotAnalysis?: (google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ISnapshotAnalysis|null); + /** FeaturestoreMonitoringConfig importFeaturesAnalysis. */ + public importFeaturesAnalysis?: (google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.IImportFeaturesAnalysis|null); + + /** FeaturestoreMonitoringConfig numericalThresholdConfig. */ + public numericalThresholdConfig?: (google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.IThresholdConfig|null); + + /** FeaturestoreMonitoringConfig categoricalThresholdConfig. */ + public categoricalThresholdConfig?: (google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.IThresholdConfig|null); + /** * Creates a new FeaturestoreMonitoringConfig instance using the specified properties. * @param [properties] Properties to set @@ -76027,6 +76714,9 @@ export namespace google { /** SnapshotAnalysis monitoringIntervalDays */ monitoringIntervalDays?: (number|null); + + /** SnapshotAnalysis stalenessDays */ + stalenessDays?: (number|null); } /** Represents a SnapshotAnalysis. */ @@ -76047,6 +76737,9 @@ export namespace google { /** SnapshotAnalysis monitoringIntervalDays. */ public monitoringIntervalDays: number; + /** SnapshotAnalysis stalenessDays. */ + public stalenessDays: number; + /** * Creates a new SnapshotAnalysis instance using the specified properties. * @param [properties] Properties to set @@ -76117,6 +76810,214 @@ export namespace google { */ public toJSON(): { [k: string]: any }; } + + /** Properties of an ImportFeaturesAnalysis. */ + interface IImportFeaturesAnalysis { + + /** ImportFeaturesAnalysis state */ + state?: (google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State|keyof typeof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State|null); + + /** ImportFeaturesAnalysis anomalyDetectionBaseline */ + anomalyDetectionBaseline?: (google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline|keyof typeof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline|null); + } + + /** Represents an ImportFeaturesAnalysis. */ + class ImportFeaturesAnalysis implements IImportFeaturesAnalysis { + + /** + * Constructs a new ImportFeaturesAnalysis. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.IImportFeaturesAnalysis); + + /** ImportFeaturesAnalysis state. */ + public state: (google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State|keyof typeof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State); + + /** ImportFeaturesAnalysis anomalyDetectionBaseline. */ + public anomalyDetectionBaseline: (google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline|keyof typeof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline); + + /** + * Creates a new ImportFeaturesAnalysis instance using the specified properties. + * @param [properties] Properties to set + * @returns ImportFeaturesAnalysis instance + */ + public static create(properties?: google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.IImportFeaturesAnalysis): google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis; + + /** + * Encodes the specified ImportFeaturesAnalysis message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.verify|verify} messages. + * @param message ImportFeaturesAnalysis message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.IImportFeaturesAnalysis, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ImportFeaturesAnalysis message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.verify|verify} messages. + * @param message ImportFeaturesAnalysis message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.IImportFeaturesAnalysis, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ImportFeaturesAnalysis message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ImportFeaturesAnalysis + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis; + + /** + * Decodes an ImportFeaturesAnalysis message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ImportFeaturesAnalysis + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis; + + /** + * Verifies an ImportFeaturesAnalysis message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an ImportFeaturesAnalysis message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ImportFeaturesAnalysis + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis; + + /** + * Creates a plain object from an ImportFeaturesAnalysis message. Also converts values to other types if specified. + * @param message ImportFeaturesAnalysis + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ImportFeaturesAnalysis to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + } + + namespace ImportFeaturesAnalysis { + + /** State enum. */ + enum State { + STATE_UNSPECIFIED = 0, + DEFAULT = 1, + ENABLED = 2, + DISABLED = 3 + } + + /** Baseline enum. */ + enum Baseline { + BASELINE_UNSPECIFIED = 0, + LATEST_STATS = 1, + MOST_RECENT_SNAPSHOT_STATS = 2, + PREVIOUS_IMPORT_FEATURES_STATS = 3 + } + } + + /** Properties of a ThresholdConfig. */ + interface IThresholdConfig { + + /** ThresholdConfig value */ + value?: (number|null); + } + + /** Represents a ThresholdConfig. */ + class ThresholdConfig implements IThresholdConfig { + + /** + * Constructs a new ThresholdConfig. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.IThresholdConfig); + + /** ThresholdConfig value. */ + public value?: (number|null); + + /** ThresholdConfig threshold. */ + public threshold?: "value"; + + /** + * Creates a new ThresholdConfig instance using the specified properties. + * @param [properties] Properties to set + * @returns ThresholdConfig instance + */ + public static create(properties?: google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.IThresholdConfig): google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig; + + /** + * Encodes the specified ThresholdConfig message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig.verify|verify} messages. + * @param message ThresholdConfig message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.IThresholdConfig, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ThresholdConfig message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig.verify|verify} messages. + * @param message ThresholdConfig message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.IThresholdConfig, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a ThresholdConfig message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns ThresholdConfig + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig; + + /** + * Decodes a ThresholdConfig message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns ThresholdConfig + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig; + + /** + * Verifies a ThresholdConfig message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ThresholdConfig message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ThresholdConfig + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig; + + /** + * Creates a plain object from a ThresholdConfig message. Also converts values to other types if specified. + * @param message ThresholdConfig + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ThresholdConfig to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + } } /** Properties of an Event. */ @@ -79443,6 +80344,9 @@ export namespace google { /** ImportFeatureValuesRequest workerCount */ workerCount?: (number|null); + + /** ImportFeatureValuesRequest disableIngestionAnalysis */ + disableIngestionAnalysis?: (boolean|null); } /** Represents an ImportFeatureValuesRequest. */ @@ -79484,6 +80388,9 @@ export namespace google { /** ImportFeatureValuesRequest workerCount. */ public workerCount: number; + /** ImportFeatureValuesRequest disableIngestionAnalysis. */ + public disableIngestionAnalysis: boolean; + /** ImportFeatureValuesRequest source. */ public source?: ("avroSource"|"bigquerySource"|"csvSource"); diff --git a/packages/google-cloud-aiplatform/protos/protos.js b/packages/google-cloud-aiplatform/protos/protos.js index c5989228c07..59b22ac5277 100644 --- a/packages/google-cloud-aiplatform/protos/protos.js +++ b/packages/google-cloud-aiplatform/protos/protos.js @@ -30379,6 +30379,7 @@ * @property {google.protobuf.ITimestamp|null} [updateTime] EntityType updateTime * @property {Object.|null} [labels] EntityType labels * @property {string|null} [etag] EntityType etag + * @property {google.cloud.aiplatform.v1.IFeaturestoreMonitoringConfig|null} [monitoringConfig] EntityType monitoringConfig */ /** @@ -30445,6 +30446,14 @@ */ EntityType.prototype.etag = ""; + /** + * EntityType monitoringConfig. + * @member {google.cloud.aiplatform.v1.IFeaturestoreMonitoringConfig|null|undefined} monitoringConfig + * @memberof google.cloud.aiplatform.v1.EntityType + * @instance + */ + EntityType.prototype.monitoringConfig = null; + /** * Creates a new EntityType instance using the specified properties. * @function create @@ -30482,6 +30491,8 @@ writer.uint32(/* id 6, wireType 2 =*/50).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim(); if (message.etag != null && Object.hasOwnProperty.call(message, "etag")) writer.uint32(/* id 7, wireType 2 =*/58).string(message.etag); + if (message.monitoringConfig != null && Object.hasOwnProperty.call(message, "monitoringConfig")) + $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.encode(message.monitoringConfig, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); return writer; }; @@ -30553,6 +30564,9 @@ case 7: message.etag = reader.string(); break; + case 8: + message.monitoringConfig = $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -30615,6 +30629,11 @@ if (message.etag != null && message.hasOwnProperty("etag")) if (!$util.isString(message.etag)) return "etag: string expected"; + if (message.monitoringConfig != null && message.hasOwnProperty("monitoringConfig")) { + var error = $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.verify(message.monitoringConfig); + if (error) + return "monitoringConfig." + error; + } return null; }; @@ -30653,6 +30672,11 @@ } if (object.etag != null) message.etag = String(object.etag); + if (object.monitoringConfig != null) { + if (typeof object.monitoringConfig !== "object") + throw TypeError(".google.cloud.aiplatform.v1.EntityType.monitoringConfig: object expected"); + message.monitoringConfig = $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.fromObject(object.monitoringConfig); + } return message; }; @@ -30677,6 +30701,7 @@ object.createTime = null; object.updateTime = null; object.etag = ""; + object.monitoringConfig = null; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -30694,6 +30719,8 @@ } if (message.etag != null && message.hasOwnProperty("etag")) object.etag = message.etag; + if (message.monitoringConfig != null && message.hasOwnProperty("monitoringConfig")) + object.monitoringConfig = $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.toObject(message.monitoringConfig, options); return object; }; @@ -30711,6 +30738,1009 @@ return EntityType; })(); + v1.FeaturestoreMonitoringConfig = (function() { + + /** + * Properties of a FeaturestoreMonitoringConfig. + * @memberof google.cloud.aiplatform.v1 + * @interface IFeaturestoreMonitoringConfig + * @property {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ISnapshotAnalysis|null} [snapshotAnalysis] FeaturestoreMonitoringConfig snapshotAnalysis + * @property {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.IImportFeaturesAnalysis|null} [importFeaturesAnalysis] FeaturestoreMonitoringConfig importFeaturesAnalysis + * @property {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.IThresholdConfig|null} [numericalThresholdConfig] FeaturestoreMonitoringConfig numericalThresholdConfig + * @property {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.IThresholdConfig|null} [categoricalThresholdConfig] FeaturestoreMonitoringConfig categoricalThresholdConfig + */ + + /** + * Constructs a new FeaturestoreMonitoringConfig. + * @memberof google.cloud.aiplatform.v1 + * @classdesc Represents a FeaturestoreMonitoringConfig. + * @implements IFeaturestoreMonitoringConfig + * @constructor + * @param {google.cloud.aiplatform.v1.IFeaturestoreMonitoringConfig=} [properties] Properties to set + */ + function FeaturestoreMonitoringConfig(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * FeaturestoreMonitoringConfig snapshotAnalysis. + * @member {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ISnapshotAnalysis|null|undefined} snapshotAnalysis + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + * @instance + */ + FeaturestoreMonitoringConfig.prototype.snapshotAnalysis = null; + + /** + * FeaturestoreMonitoringConfig importFeaturesAnalysis. + * @member {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.IImportFeaturesAnalysis|null|undefined} importFeaturesAnalysis + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + * @instance + */ + FeaturestoreMonitoringConfig.prototype.importFeaturesAnalysis = null; + + /** + * FeaturestoreMonitoringConfig numericalThresholdConfig. + * @member {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.IThresholdConfig|null|undefined} numericalThresholdConfig + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + * @instance + */ + FeaturestoreMonitoringConfig.prototype.numericalThresholdConfig = null; + + /** + * FeaturestoreMonitoringConfig categoricalThresholdConfig. + * @member {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.IThresholdConfig|null|undefined} categoricalThresholdConfig + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + * @instance + */ + FeaturestoreMonitoringConfig.prototype.categoricalThresholdConfig = null; + + /** + * Creates a new FeaturestoreMonitoringConfig instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + * @static + * @param {google.cloud.aiplatform.v1.IFeaturestoreMonitoringConfig=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig} FeaturestoreMonitoringConfig instance + */ + FeaturestoreMonitoringConfig.create = function create(properties) { + return new FeaturestoreMonitoringConfig(properties); + }; + + /** + * Encodes the specified FeaturestoreMonitoringConfig message. Does not implicitly {@link google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + * @static + * @param {google.cloud.aiplatform.v1.IFeaturestoreMonitoringConfig} message FeaturestoreMonitoringConfig message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + FeaturestoreMonitoringConfig.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.snapshotAnalysis != null && Object.hasOwnProperty.call(message, "snapshotAnalysis")) + $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.encode(message.snapshotAnalysis, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.importFeaturesAnalysis != null && Object.hasOwnProperty.call(message, "importFeaturesAnalysis")) + $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.encode(message.importFeaturesAnalysis, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.numericalThresholdConfig != null && Object.hasOwnProperty.call(message, "numericalThresholdConfig")) + $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.encode(message.numericalThresholdConfig, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.categoricalThresholdConfig != null && Object.hasOwnProperty.call(message, "categoricalThresholdConfig")) + $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.encode(message.categoricalThresholdConfig, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified FeaturestoreMonitoringConfig message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + * @static + * @param {google.cloud.aiplatform.v1.IFeaturestoreMonitoringConfig} message FeaturestoreMonitoringConfig message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + FeaturestoreMonitoringConfig.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a FeaturestoreMonitoringConfig message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig} FeaturestoreMonitoringConfig + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + FeaturestoreMonitoringConfig.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.snapshotAnalysis = $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.decode(reader, reader.uint32()); + break; + case 2: + message.importFeaturesAnalysis = $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.decode(reader, reader.uint32()); + break; + case 3: + message.numericalThresholdConfig = $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.decode(reader, reader.uint32()); + break; + case 4: + message.categoricalThresholdConfig = $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a FeaturestoreMonitoringConfig message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig} FeaturestoreMonitoringConfig + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + FeaturestoreMonitoringConfig.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a FeaturestoreMonitoringConfig message. + * @function verify + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + FeaturestoreMonitoringConfig.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.snapshotAnalysis != null && message.hasOwnProperty("snapshotAnalysis")) { + var error = $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.verify(message.snapshotAnalysis); + if (error) + return "snapshotAnalysis." + error; + } + if (message.importFeaturesAnalysis != null && message.hasOwnProperty("importFeaturesAnalysis")) { + var error = $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.verify(message.importFeaturesAnalysis); + if (error) + return "importFeaturesAnalysis." + error; + } + if (message.numericalThresholdConfig != null && message.hasOwnProperty("numericalThresholdConfig")) { + var error = $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.verify(message.numericalThresholdConfig); + if (error) + return "numericalThresholdConfig." + error; + } + if (message.categoricalThresholdConfig != null && message.hasOwnProperty("categoricalThresholdConfig")) { + var error = $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.verify(message.categoricalThresholdConfig); + if (error) + return "categoricalThresholdConfig." + error; + } + return null; + }; + + /** + * Creates a FeaturestoreMonitoringConfig message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig} FeaturestoreMonitoringConfig + */ + FeaturestoreMonitoringConfig.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig) + return object; + var message = new $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig(); + if (object.snapshotAnalysis != null) { + if (typeof object.snapshotAnalysis !== "object") + throw TypeError(".google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.snapshotAnalysis: object expected"); + message.snapshotAnalysis = $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.fromObject(object.snapshotAnalysis); + } + if (object.importFeaturesAnalysis != null) { + if (typeof object.importFeaturesAnalysis !== "object") + throw TypeError(".google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.importFeaturesAnalysis: object expected"); + message.importFeaturesAnalysis = $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.fromObject(object.importFeaturesAnalysis); + } + if (object.numericalThresholdConfig != null) { + if (typeof object.numericalThresholdConfig !== "object") + throw TypeError(".google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.numericalThresholdConfig: object expected"); + message.numericalThresholdConfig = $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.fromObject(object.numericalThresholdConfig); + } + if (object.categoricalThresholdConfig != null) { + if (typeof object.categoricalThresholdConfig !== "object") + throw TypeError(".google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.categoricalThresholdConfig: object expected"); + message.categoricalThresholdConfig = $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.fromObject(object.categoricalThresholdConfig); + } + return message; + }; + + /** + * Creates a plain object from a FeaturestoreMonitoringConfig message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + * @static + * @param {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig} message FeaturestoreMonitoringConfig + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + FeaturestoreMonitoringConfig.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.snapshotAnalysis = null; + object.importFeaturesAnalysis = null; + object.numericalThresholdConfig = null; + object.categoricalThresholdConfig = null; + } + if (message.snapshotAnalysis != null && message.hasOwnProperty("snapshotAnalysis")) + object.snapshotAnalysis = $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.toObject(message.snapshotAnalysis, options); + if (message.importFeaturesAnalysis != null && message.hasOwnProperty("importFeaturesAnalysis")) + object.importFeaturesAnalysis = $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.toObject(message.importFeaturesAnalysis, options); + if (message.numericalThresholdConfig != null && message.hasOwnProperty("numericalThresholdConfig")) + object.numericalThresholdConfig = $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.toObject(message.numericalThresholdConfig, options); + if (message.categoricalThresholdConfig != null && message.hasOwnProperty("categoricalThresholdConfig")) + object.categoricalThresholdConfig = $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.toObject(message.categoricalThresholdConfig, options); + return object; + }; + + /** + * Converts this FeaturestoreMonitoringConfig to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + * @instance + * @returns {Object.} JSON object + */ + FeaturestoreMonitoringConfig.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + FeaturestoreMonitoringConfig.SnapshotAnalysis = (function() { + + /** + * Properties of a SnapshotAnalysis. + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + * @interface ISnapshotAnalysis + * @property {boolean|null} [disabled] SnapshotAnalysis disabled + * @property {number|null} [monitoringIntervalDays] SnapshotAnalysis monitoringIntervalDays + * @property {number|null} [stalenessDays] SnapshotAnalysis stalenessDays + */ + + /** + * Constructs a new SnapshotAnalysis. + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + * @classdesc Represents a SnapshotAnalysis. + * @implements ISnapshotAnalysis + * @constructor + * @param {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ISnapshotAnalysis=} [properties] Properties to set + */ + function SnapshotAnalysis(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * SnapshotAnalysis disabled. + * @member {boolean} disabled + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + * @instance + */ + SnapshotAnalysis.prototype.disabled = false; + + /** + * SnapshotAnalysis monitoringIntervalDays. + * @member {number} monitoringIntervalDays + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + * @instance + */ + SnapshotAnalysis.prototype.monitoringIntervalDays = 0; + + /** + * SnapshotAnalysis stalenessDays. + * @member {number} stalenessDays + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + * @instance + */ + SnapshotAnalysis.prototype.stalenessDays = 0; + + /** + * Creates a new SnapshotAnalysis instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + * @static + * @param {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ISnapshotAnalysis=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis} SnapshotAnalysis instance + */ + SnapshotAnalysis.create = function create(properties) { + return new SnapshotAnalysis(properties); + }; + + /** + * Encodes the specified SnapshotAnalysis message. Does not implicitly {@link google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + * @static + * @param {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ISnapshotAnalysis} message SnapshotAnalysis message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + SnapshotAnalysis.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.disabled != null && Object.hasOwnProperty.call(message, "disabled")) + writer.uint32(/* id 1, wireType 0 =*/8).bool(message.disabled); + if (message.monitoringIntervalDays != null && Object.hasOwnProperty.call(message, "monitoringIntervalDays")) + writer.uint32(/* id 3, wireType 0 =*/24).int32(message.monitoringIntervalDays); + if (message.stalenessDays != null && Object.hasOwnProperty.call(message, "stalenessDays")) + writer.uint32(/* id 4, wireType 0 =*/32).int32(message.stalenessDays); + return writer; + }; + + /** + * Encodes the specified SnapshotAnalysis message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + * @static + * @param {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ISnapshotAnalysis} message SnapshotAnalysis message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + SnapshotAnalysis.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a SnapshotAnalysis message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis} SnapshotAnalysis + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + SnapshotAnalysis.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.disabled = reader.bool(); + break; + case 3: + message.monitoringIntervalDays = reader.int32(); + break; + case 4: + message.stalenessDays = reader.int32(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a SnapshotAnalysis message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis} SnapshotAnalysis + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + SnapshotAnalysis.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a SnapshotAnalysis message. + * @function verify + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + SnapshotAnalysis.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.disabled != null && message.hasOwnProperty("disabled")) + if (typeof message.disabled !== "boolean") + return "disabled: boolean expected"; + if (message.monitoringIntervalDays != null && message.hasOwnProperty("monitoringIntervalDays")) + if (!$util.isInteger(message.monitoringIntervalDays)) + return "monitoringIntervalDays: integer expected"; + if (message.stalenessDays != null && message.hasOwnProperty("stalenessDays")) + if (!$util.isInteger(message.stalenessDays)) + return "stalenessDays: integer expected"; + return null; + }; + + /** + * Creates a SnapshotAnalysis message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis} SnapshotAnalysis + */ + SnapshotAnalysis.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis) + return object; + var message = new $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis(); + if (object.disabled != null) + message.disabled = Boolean(object.disabled); + if (object.monitoringIntervalDays != null) + message.monitoringIntervalDays = object.monitoringIntervalDays | 0; + if (object.stalenessDays != null) + message.stalenessDays = object.stalenessDays | 0; + return message; + }; + + /** + * Creates a plain object from a SnapshotAnalysis message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + * @static + * @param {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis} message SnapshotAnalysis + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + SnapshotAnalysis.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.disabled = false; + object.monitoringIntervalDays = 0; + object.stalenessDays = 0; + } + if (message.disabled != null && message.hasOwnProperty("disabled")) + object.disabled = message.disabled; + if (message.monitoringIntervalDays != null && message.hasOwnProperty("monitoringIntervalDays")) + object.monitoringIntervalDays = message.monitoringIntervalDays; + if (message.stalenessDays != null && message.hasOwnProperty("stalenessDays")) + object.stalenessDays = message.stalenessDays; + return object; + }; + + /** + * Converts this SnapshotAnalysis to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis + * @instance + * @returns {Object.} JSON object + */ + SnapshotAnalysis.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + return SnapshotAnalysis; + })(); + + FeaturestoreMonitoringConfig.ImportFeaturesAnalysis = (function() { + + /** + * Properties of an ImportFeaturesAnalysis. + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + * @interface IImportFeaturesAnalysis + * @property {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State|null} [state] ImportFeaturesAnalysis state + * @property {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline|null} [anomalyDetectionBaseline] ImportFeaturesAnalysis anomalyDetectionBaseline + */ + + /** + * Constructs a new ImportFeaturesAnalysis. + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + * @classdesc Represents an ImportFeaturesAnalysis. + * @implements IImportFeaturesAnalysis + * @constructor + * @param {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.IImportFeaturesAnalysis=} [properties] Properties to set + */ + function ImportFeaturesAnalysis(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * ImportFeaturesAnalysis state. + * @member {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State} state + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + * @instance + */ + ImportFeaturesAnalysis.prototype.state = 0; + + /** + * ImportFeaturesAnalysis anomalyDetectionBaseline. + * @member {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline} anomalyDetectionBaseline + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + * @instance + */ + ImportFeaturesAnalysis.prototype.anomalyDetectionBaseline = 0; + + /** + * Creates a new ImportFeaturesAnalysis instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + * @static + * @param {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.IImportFeaturesAnalysis=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis} ImportFeaturesAnalysis instance + */ + ImportFeaturesAnalysis.create = function create(properties) { + return new ImportFeaturesAnalysis(properties); + }; + + /** + * Encodes the specified ImportFeaturesAnalysis message. Does not implicitly {@link google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + * @static + * @param {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.IImportFeaturesAnalysis} message ImportFeaturesAnalysis message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ImportFeaturesAnalysis.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.state); + if (message.anomalyDetectionBaseline != null && Object.hasOwnProperty.call(message, "anomalyDetectionBaseline")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.anomalyDetectionBaseline); + return writer; + }; + + /** + * Encodes the specified ImportFeaturesAnalysis message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + * @static + * @param {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.IImportFeaturesAnalysis} message ImportFeaturesAnalysis message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ImportFeaturesAnalysis.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes an ImportFeaturesAnalysis message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis} ImportFeaturesAnalysis + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ImportFeaturesAnalysis.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.state = reader.int32(); + break; + case 2: + message.anomalyDetectionBaseline = reader.int32(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes an ImportFeaturesAnalysis message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis} ImportFeaturesAnalysis + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ImportFeaturesAnalysis.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies an ImportFeaturesAnalysis message. + * @function verify + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ImportFeaturesAnalysis.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + if (message.anomalyDetectionBaseline != null && message.hasOwnProperty("anomalyDetectionBaseline")) + switch (message.anomalyDetectionBaseline) { + default: + return "anomalyDetectionBaseline: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + return null; + }; + + /** + * Creates an ImportFeaturesAnalysis message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis} ImportFeaturesAnalysis + */ + ImportFeaturesAnalysis.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis) + return object; + var message = new $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis(); + switch (object.state) { + case "STATE_UNSPECIFIED": + case 0: + message.state = 0; + break; + case "DEFAULT": + case 1: + message.state = 1; + break; + case "ENABLED": + case 2: + message.state = 2; + break; + case "DISABLED": + case 3: + message.state = 3; + break; + } + switch (object.anomalyDetectionBaseline) { + case "BASELINE_UNSPECIFIED": + case 0: + message.anomalyDetectionBaseline = 0; + break; + case "LATEST_STATS": + case 1: + message.anomalyDetectionBaseline = 1; + break; + case "MOST_RECENT_SNAPSHOT_STATS": + case 2: + message.anomalyDetectionBaseline = 2; + break; + case "PREVIOUS_IMPORT_FEATURES_STATS": + case 3: + message.anomalyDetectionBaseline = 3; + break; + } + return message; + }; + + /** + * Creates a plain object from an ImportFeaturesAnalysis message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + * @static + * @param {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis} message ImportFeaturesAnalysis + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ImportFeaturesAnalysis.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.state = options.enums === String ? "STATE_UNSPECIFIED" : 0; + object.anomalyDetectionBaseline = options.enums === String ? "BASELINE_UNSPECIFIED" : 0; + } + if (message.state != null && message.hasOwnProperty("state")) + object.state = options.enums === String ? $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State[message.state] : message.state; + if (message.anomalyDetectionBaseline != null && message.hasOwnProperty("anomalyDetectionBaseline")) + object.anomalyDetectionBaseline = options.enums === String ? $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline[message.anomalyDetectionBaseline] : message.anomalyDetectionBaseline; + return object; + }; + + /** + * Converts this ImportFeaturesAnalysis to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + * @instance + * @returns {Object.} JSON object + */ + ImportFeaturesAnalysis.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * State enum. + * @name google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State + * @enum {number} + * @property {number} STATE_UNSPECIFIED=0 STATE_UNSPECIFIED value + * @property {number} DEFAULT=1 DEFAULT value + * @property {number} ENABLED=2 ENABLED value + * @property {number} DISABLED=3 DISABLED value + */ + ImportFeaturesAnalysis.State = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "STATE_UNSPECIFIED"] = 0; + values[valuesById[1] = "DEFAULT"] = 1; + values[valuesById[2] = "ENABLED"] = 2; + values[valuesById[3] = "DISABLED"] = 3; + return values; + })(); + + /** + * Baseline enum. + * @name google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline + * @enum {number} + * @property {number} BASELINE_UNSPECIFIED=0 BASELINE_UNSPECIFIED value + * @property {number} LATEST_STATS=1 LATEST_STATS value + * @property {number} MOST_RECENT_SNAPSHOT_STATS=2 MOST_RECENT_SNAPSHOT_STATS value + * @property {number} PREVIOUS_IMPORT_FEATURES_STATS=3 PREVIOUS_IMPORT_FEATURES_STATS value + */ + ImportFeaturesAnalysis.Baseline = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "BASELINE_UNSPECIFIED"] = 0; + values[valuesById[1] = "LATEST_STATS"] = 1; + values[valuesById[2] = "MOST_RECENT_SNAPSHOT_STATS"] = 2; + values[valuesById[3] = "PREVIOUS_IMPORT_FEATURES_STATS"] = 3; + return values; + })(); + + return ImportFeaturesAnalysis; + })(); + + FeaturestoreMonitoringConfig.ThresholdConfig = (function() { + + /** + * Properties of a ThresholdConfig. + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + * @interface IThresholdConfig + * @property {number|null} [value] ThresholdConfig value + */ + + /** + * Constructs a new ThresholdConfig. + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig + * @classdesc Represents a ThresholdConfig. + * @implements IThresholdConfig + * @constructor + * @param {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.IThresholdConfig=} [properties] Properties to set + */ + function ThresholdConfig(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * ThresholdConfig value. + * @member {number|null|undefined} value + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + * @instance + */ + ThresholdConfig.prototype.value = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * ThresholdConfig threshold. + * @member {"value"|undefined} threshold + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + * @instance + */ + Object.defineProperty(ThresholdConfig.prototype, "threshold", { + get: $util.oneOfGetter($oneOfFields = ["value"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new ThresholdConfig instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + * @static + * @param {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.IThresholdConfig=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig} ThresholdConfig instance + */ + ThresholdConfig.create = function create(properties) { + return new ThresholdConfig(properties); + }; + + /** + * Encodes the specified ThresholdConfig message. Does not implicitly {@link google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + * @static + * @param {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.IThresholdConfig} message ThresholdConfig message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ThresholdConfig.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 1 =*/9).double(message.value); + return writer; + }; + + /** + * Encodes the specified ThresholdConfig message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + * @static + * @param {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.IThresholdConfig} message ThresholdConfig message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ThresholdConfig.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ThresholdConfig message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig} ThresholdConfig + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ThresholdConfig.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.value = reader.double(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ThresholdConfig message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig} ThresholdConfig + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ThresholdConfig.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ThresholdConfig message. + * @function verify + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ThresholdConfig.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + var properties = {}; + if (message.value != null && message.hasOwnProperty("value")) { + properties.threshold = 1; + if (typeof message.value !== "number") + return "value: number expected"; + } + return null; + }; + + /** + * Creates a ThresholdConfig message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig} ThresholdConfig + */ + ThresholdConfig.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig) + return object; + var message = new $root.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig(); + if (object.value != null) + message.value = Number(object.value); + return message; + }; + + /** + * Creates a plain object from a ThresholdConfig message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + * @static + * @param {google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig} message ThresholdConfig + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ThresholdConfig.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (message.value != null && message.hasOwnProperty("value")) { + object.value = options.json && !isFinite(message.value) ? String(message.value) : message.value; + if (options.oneofs) + object.threshold = "value"; + } + return object; + }; + + /** + * Converts this ThresholdConfig to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig + * @instance + * @returns {Object.} JSON object + */ + ThresholdConfig.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + return ThresholdConfig; + })(); + + return FeaturestoreMonitoringConfig; + })(); + v1.Event = (function() { /** @@ -31596,6 +32626,8 @@ * @property {google.protobuf.ITimestamp|null} [updateTime] Feature updateTime * @property {Object.|null} [labels] Feature labels * @property {string|null} [etag] Feature etag + * @property {boolean|null} [disableMonitoring] Feature disableMonitoring + * @property {Array.|null} [monitoringStatsAnomalies] Feature monitoringStatsAnomalies */ /** @@ -31608,6 +32640,7 @@ */ function Feature(properties) { this.labels = {}; + this.monitoringStatsAnomalies = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -31670,6 +32703,22 @@ */ Feature.prototype.etag = ""; + /** + * Feature disableMonitoring. + * @member {boolean} disableMonitoring + * @memberof google.cloud.aiplatform.v1.Feature + * @instance + */ + Feature.prototype.disableMonitoring = false; + + /** + * Feature monitoringStatsAnomalies. + * @member {Array.} monitoringStatsAnomalies + * @memberof google.cloud.aiplatform.v1.Feature + * @instance + */ + Feature.prototype.monitoringStatsAnomalies = $util.emptyArray; + /** * Creates a new Feature instance using the specified properties. * @function create @@ -31709,6 +32758,11 @@ writer.uint32(/* id 6, wireType 2 =*/50).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim(); if (message.etag != null && Object.hasOwnProperty.call(message, "etag")) writer.uint32(/* id 7, wireType 2 =*/58).string(message.etag); + if (message.monitoringStatsAnomalies != null && message.monitoringStatsAnomalies.length) + for (var i = 0; i < message.monitoringStatsAnomalies.length; ++i) + $root.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.encode(message.monitoringStatsAnomalies[i], writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim(); + if (message.disableMonitoring != null && Object.hasOwnProperty.call(message, "disableMonitoring")) + writer.uint32(/* id 12, wireType 0 =*/96).bool(message.disableMonitoring); return writer; }; @@ -31783,6 +32837,14 @@ case 7: message.etag = reader.string(); break; + case 12: + message.disableMonitoring = reader.bool(); + break; + case 11: + if (!(message.monitoringStatsAnomalies && message.monitoringStatsAnomalies.length)) + message.monitoringStatsAnomalies = []; + message.monitoringStatsAnomalies.push($root.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.decode(reader, reader.uint32())); + break; default: reader.skipType(tag & 7); break; @@ -31861,6 +32923,18 @@ if (message.etag != null && message.hasOwnProperty("etag")) if (!$util.isString(message.etag)) return "etag: string expected"; + if (message.disableMonitoring != null && message.hasOwnProperty("disableMonitoring")) + if (typeof message.disableMonitoring !== "boolean") + return "disableMonitoring: boolean expected"; + if (message.monitoringStatsAnomalies != null && message.hasOwnProperty("monitoringStatsAnomalies")) { + if (!Array.isArray(message.monitoringStatsAnomalies)) + return "monitoringStatsAnomalies: array expected"; + for (var i = 0; i < message.monitoringStatsAnomalies.length; ++i) { + var error = $root.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.verify(message.monitoringStatsAnomalies[i]); + if (error) + return "monitoringStatsAnomalies." + error; + } + } return null; }; @@ -31941,6 +33015,18 @@ } if (object.etag != null) message.etag = String(object.etag); + if (object.disableMonitoring != null) + message.disableMonitoring = Boolean(object.disableMonitoring); + if (object.monitoringStatsAnomalies) { + if (!Array.isArray(object.monitoringStatsAnomalies)) + throw TypeError(".google.cloud.aiplatform.v1.Feature.monitoringStatsAnomalies: array expected"); + message.monitoringStatsAnomalies = []; + for (var i = 0; i < object.monitoringStatsAnomalies.length; ++i) { + if (typeof object.monitoringStatsAnomalies[i] !== "object") + throw TypeError(".google.cloud.aiplatform.v1.Feature.monitoringStatsAnomalies: object expected"); + message.monitoringStatsAnomalies[i] = $root.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.fromObject(object.monitoringStatsAnomalies[i]); + } + } return message; }; @@ -31957,6 +33043,8 @@ if (!options) options = {}; var object = {}; + if (options.arrays || options.defaults) + object.monitoringStatsAnomalies = []; if (options.objects || options.defaults) object.labels = {}; if (options.defaults) { @@ -31966,6 +33054,7 @@ object.createTime = null; object.updateTime = null; object.etag = ""; + object.disableMonitoring = false; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -31985,6 +33074,13 @@ } if (message.etag != null && message.hasOwnProperty("etag")) object.etag = message.etag; + if (message.monitoringStatsAnomalies && message.monitoringStatsAnomalies.length) { + object.monitoringStatsAnomalies = []; + for (var j = 0; j < message.monitoringStatsAnomalies.length; ++j) + object.monitoringStatsAnomalies[j] = $root.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.toObject(message.monitoringStatsAnomalies[j], options); + } + if (message.disableMonitoring != null && message.hasOwnProperty("disableMonitoring")) + object.disableMonitoring = message.disableMonitoring; return object; }; @@ -31999,6 +33095,255 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + Feature.MonitoringStatsAnomaly = (function() { + + /** + * Properties of a MonitoringStatsAnomaly. + * @memberof google.cloud.aiplatform.v1.Feature + * @interface IMonitoringStatsAnomaly + * @property {google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective|null} [objective] MonitoringStatsAnomaly objective + * @property {google.cloud.aiplatform.v1.IFeatureStatsAnomaly|null} [featureStatsAnomaly] MonitoringStatsAnomaly featureStatsAnomaly + */ + + /** + * Constructs a new MonitoringStatsAnomaly. + * @memberof google.cloud.aiplatform.v1.Feature + * @classdesc Represents a MonitoringStatsAnomaly. + * @implements IMonitoringStatsAnomaly + * @constructor + * @param {google.cloud.aiplatform.v1.Feature.IMonitoringStatsAnomaly=} [properties] Properties to set + */ + function MonitoringStatsAnomaly(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * MonitoringStatsAnomaly objective. + * @member {google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective} objective + * @memberof google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly + * @instance + */ + MonitoringStatsAnomaly.prototype.objective = 0; + + /** + * MonitoringStatsAnomaly featureStatsAnomaly. + * @member {google.cloud.aiplatform.v1.IFeatureStatsAnomaly|null|undefined} featureStatsAnomaly + * @memberof google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly + * @instance + */ + MonitoringStatsAnomaly.prototype.featureStatsAnomaly = null; + + /** + * Creates a new MonitoringStatsAnomaly instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly + * @static + * @param {google.cloud.aiplatform.v1.Feature.IMonitoringStatsAnomaly=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly} MonitoringStatsAnomaly instance + */ + MonitoringStatsAnomaly.create = function create(properties) { + return new MonitoringStatsAnomaly(properties); + }; + + /** + * Encodes the specified MonitoringStatsAnomaly message. Does not implicitly {@link google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly + * @static + * @param {google.cloud.aiplatform.v1.Feature.IMonitoringStatsAnomaly} message MonitoringStatsAnomaly message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + MonitoringStatsAnomaly.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.objective != null && Object.hasOwnProperty.call(message, "objective")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.objective); + if (message.featureStatsAnomaly != null && Object.hasOwnProperty.call(message, "featureStatsAnomaly")) + $root.google.cloud.aiplatform.v1.FeatureStatsAnomaly.encode(message.featureStatsAnomaly, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified MonitoringStatsAnomaly message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly + * @static + * @param {google.cloud.aiplatform.v1.Feature.IMonitoringStatsAnomaly} message MonitoringStatsAnomaly message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + MonitoringStatsAnomaly.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a MonitoringStatsAnomaly message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly} MonitoringStatsAnomaly + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + MonitoringStatsAnomaly.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.objective = reader.int32(); + break; + case 2: + message.featureStatsAnomaly = $root.google.cloud.aiplatform.v1.FeatureStatsAnomaly.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a MonitoringStatsAnomaly message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly} MonitoringStatsAnomaly + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + MonitoringStatsAnomaly.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a MonitoringStatsAnomaly message. + * @function verify + * @memberof google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + MonitoringStatsAnomaly.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.objective != null && message.hasOwnProperty("objective")) + switch (message.objective) { + default: + return "objective: enum value expected"; + case 0: + case 1: + case 2: + break; + } + if (message.featureStatsAnomaly != null && message.hasOwnProperty("featureStatsAnomaly")) { + var error = $root.google.cloud.aiplatform.v1.FeatureStatsAnomaly.verify(message.featureStatsAnomaly); + if (error) + return "featureStatsAnomaly." + error; + } + return null; + }; + + /** + * Creates a MonitoringStatsAnomaly message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly} MonitoringStatsAnomaly + */ + MonitoringStatsAnomaly.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly) + return object; + var message = new $root.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly(); + switch (object.objective) { + case "OBJECTIVE_UNSPECIFIED": + case 0: + message.objective = 0; + break; + case "IMPORT_FEATURE_ANALYSIS": + case 1: + message.objective = 1; + break; + case "SNAPSHOT_ANALYSIS": + case 2: + message.objective = 2; + break; + } + if (object.featureStatsAnomaly != null) { + if (typeof object.featureStatsAnomaly !== "object") + throw TypeError(".google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.featureStatsAnomaly: object expected"); + message.featureStatsAnomaly = $root.google.cloud.aiplatform.v1.FeatureStatsAnomaly.fromObject(object.featureStatsAnomaly); + } + return message; + }; + + /** + * Creates a plain object from a MonitoringStatsAnomaly message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly + * @static + * @param {google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly} message MonitoringStatsAnomaly + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + MonitoringStatsAnomaly.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.objective = options.enums === String ? "OBJECTIVE_UNSPECIFIED" : 0; + object.featureStatsAnomaly = null; + } + if (message.objective != null && message.hasOwnProperty("objective")) + object.objective = options.enums === String ? $root.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective[message.objective] : message.objective; + if (message.featureStatsAnomaly != null && message.hasOwnProperty("featureStatsAnomaly")) + object.featureStatsAnomaly = $root.google.cloud.aiplatform.v1.FeatureStatsAnomaly.toObject(message.featureStatsAnomaly, options); + return object; + }; + + /** + * Converts this MonitoringStatsAnomaly to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly + * @instance + * @returns {Object.} JSON object + */ + MonitoringStatsAnomaly.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Objective enum. + * @name google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective + * @enum {number} + * @property {number} OBJECTIVE_UNSPECIFIED=0 OBJECTIVE_UNSPECIFIED value + * @property {number} IMPORT_FEATURE_ANALYSIS=1 IMPORT_FEATURE_ANALYSIS value + * @property {number} SNAPSHOT_ANALYSIS=2 SNAPSHOT_ANALYSIS value + */ + MonitoringStatsAnomaly.Objective = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "OBJECTIVE_UNSPECIFIED"] = 0; + values[valuesById[1] = "IMPORT_FEATURE_ANALYSIS"] = 1; + values[valuesById[2] = "SNAPSHOT_ANALYSIS"] = 2; + return values; + })(); + + return MonitoringStatsAnomaly; + })(); + /** * ValueType enum. * @name google.cloud.aiplatform.v1.Feature.ValueType @@ -38921,6 +40266,7 @@ * @property {Array.|null} [featureSpecs] ImportFeatureValuesRequest featureSpecs * @property {boolean|null} [disableOnlineServing] ImportFeatureValuesRequest disableOnlineServing * @property {number|null} [workerCount] ImportFeatureValuesRequest workerCount + * @property {boolean|null} [disableIngestionAnalysis] ImportFeatureValuesRequest disableIngestionAnalysis */ /** @@ -39019,6 +40365,14 @@ */ ImportFeatureValuesRequest.prototype.workerCount = 0; + /** + * ImportFeatureValuesRequest disableIngestionAnalysis. + * @member {boolean} disableIngestionAnalysis + * @memberof google.cloud.aiplatform.v1.ImportFeatureValuesRequest + * @instance + */ + ImportFeatureValuesRequest.prototype.disableIngestionAnalysis = false; + // OneOf field names bound to virtual getters and setters var $oneOfFields; @@ -39089,6 +40443,8 @@ writer.uint32(/* id 9, wireType 0 =*/72).bool(message.disableOnlineServing); if (message.workerCount != null && Object.hasOwnProperty.call(message, "workerCount")) writer.uint32(/* id 11, wireType 0 =*/88).int32(message.workerCount); + if (message.disableIngestionAnalysis != null && Object.hasOwnProperty.call(message, "disableIngestionAnalysis")) + writer.uint32(/* id 12, wireType 0 =*/96).bool(message.disableIngestionAnalysis); return writer; }; @@ -39155,6 +40511,9 @@ case 11: message.workerCount = reader.int32(); break; + case 12: + message.disableIngestionAnalysis = reader.bool(); + break; default: reader.skipType(tag & 7); break; @@ -39255,6 +40614,9 @@ if (message.workerCount != null && message.hasOwnProperty("workerCount")) if (!$util.isInteger(message.workerCount)) return "workerCount: integer expected"; + if (message.disableIngestionAnalysis != null && message.hasOwnProperty("disableIngestionAnalysis")) + if (typeof message.disableIngestionAnalysis !== "boolean") + return "disableIngestionAnalysis: boolean expected"; return null; }; @@ -39310,6 +40672,8 @@ message.disableOnlineServing = Boolean(object.disableOnlineServing); if (object.workerCount != null) message.workerCount = object.workerCount | 0; + if (object.disableIngestionAnalysis != null) + message.disableIngestionAnalysis = Boolean(object.disableIngestionAnalysis); return message; }; @@ -39333,6 +40697,7 @@ object.entityIdField = ""; object.disableOnlineServing = false; object.workerCount = 0; + object.disableIngestionAnalysis = false; } if (message.entityType != null && message.hasOwnProperty("entityType")) object.entityType = message.entityType; @@ -39372,6 +40737,8 @@ object.disableOnlineServing = message.disableOnlineServing; if (message.workerCount != null && message.hasOwnProperty("workerCount")) object.workerCount = message.workerCount; + if (message.disableIngestionAnalysis != null && message.hasOwnProperty("disableIngestionAnalysis")) + object.disableIngestionAnalysis = message.disableIngestionAnalysis; return object; }; @@ -182911,7 +184278,9 @@ * @property {Object.|null} [labels] Feature labels * @property {string|null} [etag] Feature etag * @property {google.cloud.aiplatform.v1beta1.IFeaturestoreMonitoringConfig|null} [monitoringConfig] Feature monitoringConfig + * @property {boolean|null} [disableMonitoring] Feature disableMonitoring * @property {Array.|null} [monitoringStats] Feature monitoringStats + * @property {Array.|null} [monitoringStatsAnomalies] Feature monitoringStatsAnomalies */ /** @@ -182925,6 +184294,7 @@ function Feature(properties) { this.labels = {}; this.monitoringStats = []; + this.monitoringStatsAnomalies = []; if (properties) for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) if (properties[keys[i]] != null) @@ -182995,6 +184365,14 @@ */ Feature.prototype.monitoringConfig = null; + /** + * Feature disableMonitoring. + * @member {boolean} disableMonitoring + * @memberof google.cloud.aiplatform.v1beta1.Feature + * @instance + */ + Feature.prototype.disableMonitoring = false; + /** * Feature monitoringStats. * @member {Array.} monitoringStats @@ -183003,6 +184381,14 @@ */ Feature.prototype.monitoringStats = $util.emptyArray; + /** + * Feature monitoringStatsAnomalies. + * @member {Array.} monitoringStatsAnomalies + * @memberof google.cloud.aiplatform.v1beta1.Feature + * @instance + */ + Feature.prototype.monitoringStatsAnomalies = $util.emptyArray; + /** * Creates a new Feature instance using the specified properties. * @function create @@ -183047,6 +184433,11 @@ if (message.monitoringStats != null && message.monitoringStats.length) for (var i = 0; i < message.monitoringStats.length; ++i) $root.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.encode(message.monitoringStats[i], writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim(); + if (message.monitoringStatsAnomalies != null && message.monitoringStatsAnomalies.length) + for (var i = 0; i < message.monitoringStatsAnomalies.length; ++i) + $root.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.encode(message.monitoringStatsAnomalies[i], writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim(); + if (message.disableMonitoring != null && Object.hasOwnProperty.call(message, "disableMonitoring")) + writer.uint32(/* id 12, wireType 0 =*/96).bool(message.disableMonitoring); return writer; }; @@ -183124,11 +184515,19 @@ case 9: message.monitoringConfig = $root.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.decode(reader, reader.uint32()); break; + case 12: + message.disableMonitoring = reader.bool(); + break; case 10: if (!(message.monitoringStats && message.monitoringStats.length)) message.monitoringStats = []; message.monitoringStats.push($root.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.decode(reader, reader.uint32())); break; + case 11: + if (!(message.monitoringStatsAnomalies && message.monitoringStatsAnomalies.length)) + message.monitoringStatsAnomalies = []; + message.monitoringStatsAnomalies.push($root.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.decode(reader, reader.uint32())); + break; default: reader.skipType(tag & 7); break; @@ -183212,6 +184611,9 @@ if (error) return "monitoringConfig." + error; } + if (message.disableMonitoring != null && message.hasOwnProperty("disableMonitoring")) + if (typeof message.disableMonitoring !== "boolean") + return "disableMonitoring: boolean expected"; if (message.monitoringStats != null && message.hasOwnProperty("monitoringStats")) { if (!Array.isArray(message.monitoringStats)) return "monitoringStats: array expected"; @@ -183221,6 +184623,15 @@ return "monitoringStats." + error; } } + if (message.monitoringStatsAnomalies != null && message.hasOwnProperty("monitoringStatsAnomalies")) { + if (!Array.isArray(message.monitoringStatsAnomalies)) + return "monitoringStatsAnomalies: array expected"; + for (var i = 0; i < message.monitoringStatsAnomalies.length; ++i) { + var error = $root.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.verify(message.monitoringStatsAnomalies[i]); + if (error) + return "monitoringStatsAnomalies." + error; + } + } return null; }; @@ -183306,6 +184717,8 @@ throw TypeError(".google.cloud.aiplatform.v1beta1.Feature.monitoringConfig: object expected"); message.monitoringConfig = $root.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.fromObject(object.monitoringConfig); } + if (object.disableMonitoring != null) + message.disableMonitoring = Boolean(object.disableMonitoring); if (object.monitoringStats) { if (!Array.isArray(object.monitoringStats)) throw TypeError(".google.cloud.aiplatform.v1beta1.Feature.monitoringStats: array expected"); @@ -183316,6 +184729,16 @@ message.monitoringStats[i] = $root.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.fromObject(object.monitoringStats[i]); } } + if (object.monitoringStatsAnomalies) { + if (!Array.isArray(object.monitoringStatsAnomalies)) + throw TypeError(".google.cloud.aiplatform.v1beta1.Feature.monitoringStatsAnomalies: array expected"); + message.monitoringStatsAnomalies = []; + for (var i = 0; i < object.monitoringStatsAnomalies.length; ++i) { + if (typeof object.monitoringStatsAnomalies[i] !== "object") + throw TypeError(".google.cloud.aiplatform.v1beta1.Feature.monitoringStatsAnomalies: object expected"); + message.monitoringStatsAnomalies[i] = $root.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.fromObject(object.monitoringStatsAnomalies[i]); + } + } return message; }; @@ -183332,8 +184755,10 @@ if (!options) options = {}; var object = {}; - if (options.arrays || options.defaults) + if (options.arrays || options.defaults) { object.monitoringStats = []; + object.monitoringStatsAnomalies = []; + } if (options.objects || options.defaults) object.labels = {}; if (options.defaults) { @@ -183344,6 +184769,7 @@ object.updateTime = null; object.etag = ""; object.monitoringConfig = null; + object.disableMonitoring = false; } if (message.name != null && message.hasOwnProperty("name")) object.name = message.name; @@ -183370,6 +184796,13 @@ for (var j = 0; j < message.monitoringStats.length; ++j) object.monitoringStats[j] = $root.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.toObject(message.monitoringStats[j], options); } + if (message.monitoringStatsAnomalies && message.monitoringStatsAnomalies.length) { + object.monitoringStatsAnomalies = []; + for (var j = 0; j < message.monitoringStatsAnomalies.length; ++j) + object.monitoringStatsAnomalies[j] = $root.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.toObject(message.monitoringStatsAnomalies[j], options); + } + if (message.disableMonitoring != null && message.hasOwnProperty("disableMonitoring")) + object.disableMonitoring = message.disableMonitoring; return object; }; @@ -183384,6 +184817,255 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + Feature.MonitoringStatsAnomaly = (function() { + + /** + * Properties of a MonitoringStatsAnomaly. + * @memberof google.cloud.aiplatform.v1beta1.Feature + * @interface IMonitoringStatsAnomaly + * @property {google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective|null} [objective] MonitoringStatsAnomaly objective + * @property {google.cloud.aiplatform.v1beta1.IFeatureStatsAnomaly|null} [featureStatsAnomaly] MonitoringStatsAnomaly featureStatsAnomaly + */ + + /** + * Constructs a new MonitoringStatsAnomaly. + * @memberof google.cloud.aiplatform.v1beta1.Feature + * @classdesc Represents a MonitoringStatsAnomaly. + * @implements IMonitoringStatsAnomaly + * @constructor + * @param {google.cloud.aiplatform.v1beta1.Feature.IMonitoringStatsAnomaly=} [properties] Properties to set + */ + function MonitoringStatsAnomaly(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * MonitoringStatsAnomaly objective. + * @member {google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective} objective + * @memberof google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly + * @instance + */ + MonitoringStatsAnomaly.prototype.objective = 0; + + /** + * MonitoringStatsAnomaly featureStatsAnomaly. + * @member {google.cloud.aiplatform.v1beta1.IFeatureStatsAnomaly|null|undefined} featureStatsAnomaly + * @memberof google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly + * @instance + */ + MonitoringStatsAnomaly.prototype.featureStatsAnomaly = null; + + /** + * Creates a new MonitoringStatsAnomaly instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly + * @static + * @param {google.cloud.aiplatform.v1beta1.Feature.IMonitoringStatsAnomaly=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly} MonitoringStatsAnomaly instance + */ + MonitoringStatsAnomaly.create = function create(properties) { + return new MonitoringStatsAnomaly(properties); + }; + + /** + * Encodes the specified MonitoringStatsAnomaly message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly + * @static + * @param {google.cloud.aiplatform.v1beta1.Feature.IMonitoringStatsAnomaly} message MonitoringStatsAnomaly message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + MonitoringStatsAnomaly.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.objective != null && Object.hasOwnProperty.call(message, "objective")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.objective); + if (message.featureStatsAnomaly != null && Object.hasOwnProperty.call(message, "featureStatsAnomaly")) + $root.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.encode(message.featureStatsAnomaly, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + return writer; + }; + + /** + * Encodes the specified MonitoringStatsAnomaly message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly + * @static + * @param {google.cloud.aiplatform.v1beta1.Feature.IMonitoringStatsAnomaly} message MonitoringStatsAnomaly message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + MonitoringStatsAnomaly.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a MonitoringStatsAnomaly message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly} MonitoringStatsAnomaly + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + MonitoringStatsAnomaly.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.objective = reader.int32(); + break; + case 2: + message.featureStatsAnomaly = $root.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.decode(reader, reader.uint32()); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a MonitoringStatsAnomaly message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly} MonitoringStatsAnomaly + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + MonitoringStatsAnomaly.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a MonitoringStatsAnomaly message. + * @function verify + * @memberof google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + MonitoringStatsAnomaly.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.objective != null && message.hasOwnProperty("objective")) + switch (message.objective) { + default: + return "objective: enum value expected"; + case 0: + case 1: + case 2: + break; + } + if (message.featureStatsAnomaly != null && message.hasOwnProperty("featureStatsAnomaly")) { + var error = $root.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.verify(message.featureStatsAnomaly); + if (error) + return "featureStatsAnomaly." + error; + } + return null; + }; + + /** + * Creates a MonitoringStatsAnomaly message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly} MonitoringStatsAnomaly + */ + MonitoringStatsAnomaly.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly) + return object; + var message = new $root.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly(); + switch (object.objective) { + case "OBJECTIVE_UNSPECIFIED": + case 0: + message.objective = 0; + break; + case "IMPORT_FEATURE_ANALYSIS": + case 1: + message.objective = 1; + break; + case "SNAPSHOT_ANALYSIS": + case 2: + message.objective = 2; + break; + } + if (object.featureStatsAnomaly != null) { + if (typeof object.featureStatsAnomaly !== "object") + throw TypeError(".google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.featureStatsAnomaly: object expected"); + message.featureStatsAnomaly = $root.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.fromObject(object.featureStatsAnomaly); + } + return message; + }; + + /** + * Creates a plain object from a MonitoringStatsAnomaly message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly + * @static + * @param {google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly} message MonitoringStatsAnomaly + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + MonitoringStatsAnomaly.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.objective = options.enums === String ? "OBJECTIVE_UNSPECIFIED" : 0; + object.featureStatsAnomaly = null; + } + if (message.objective != null && message.hasOwnProperty("objective")) + object.objective = options.enums === String ? $root.google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective[message.objective] : message.objective; + if (message.featureStatsAnomaly != null && message.hasOwnProperty("featureStatsAnomaly")) + object.featureStatsAnomaly = $root.google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.toObject(message.featureStatsAnomaly, options); + return object; + }; + + /** + * Converts this MonitoringStatsAnomaly to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly + * @instance + * @returns {Object.} JSON object + */ + MonitoringStatsAnomaly.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Objective enum. + * @name google.cloud.aiplatform.v1beta1.Feature.MonitoringStatsAnomaly.Objective + * @enum {number} + * @property {number} OBJECTIVE_UNSPECIFIED=0 OBJECTIVE_UNSPECIFIED value + * @property {number} IMPORT_FEATURE_ANALYSIS=1 IMPORT_FEATURE_ANALYSIS value + * @property {number} SNAPSHOT_ANALYSIS=2 SNAPSHOT_ANALYSIS value + */ + MonitoringStatsAnomaly.Objective = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "OBJECTIVE_UNSPECIFIED"] = 0; + values[valuesById[1] = "IMPORT_FEATURE_ANALYSIS"] = 1; + values[valuesById[2] = "SNAPSHOT_ANALYSIS"] = 2; + return values; + })(); + + return MonitoringStatsAnomaly; + })(); + /** * ValueType enum. * @name google.cloud.aiplatform.v1beta1.Feature.ValueType @@ -183424,6 +185106,9 @@ * @memberof google.cloud.aiplatform.v1beta1 * @interface IFeaturestoreMonitoringConfig * @property {google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ISnapshotAnalysis|null} [snapshotAnalysis] FeaturestoreMonitoringConfig snapshotAnalysis + * @property {google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.IImportFeaturesAnalysis|null} [importFeaturesAnalysis] FeaturestoreMonitoringConfig importFeaturesAnalysis + * @property {google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.IThresholdConfig|null} [numericalThresholdConfig] FeaturestoreMonitoringConfig numericalThresholdConfig + * @property {google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.IThresholdConfig|null} [categoricalThresholdConfig] FeaturestoreMonitoringConfig categoricalThresholdConfig */ /** @@ -183449,6 +185134,30 @@ */ FeaturestoreMonitoringConfig.prototype.snapshotAnalysis = null; + /** + * FeaturestoreMonitoringConfig importFeaturesAnalysis. + * @member {google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.IImportFeaturesAnalysis|null|undefined} importFeaturesAnalysis + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + * @instance + */ + FeaturestoreMonitoringConfig.prototype.importFeaturesAnalysis = null; + + /** + * FeaturestoreMonitoringConfig numericalThresholdConfig. + * @member {google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.IThresholdConfig|null|undefined} numericalThresholdConfig + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + * @instance + */ + FeaturestoreMonitoringConfig.prototype.numericalThresholdConfig = null; + + /** + * FeaturestoreMonitoringConfig categoricalThresholdConfig. + * @member {google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.IThresholdConfig|null|undefined} categoricalThresholdConfig + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + * @instance + */ + FeaturestoreMonitoringConfig.prototype.categoricalThresholdConfig = null; + /** * Creates a new FeaturestoreMonitoringConfig instance using the specified properties. * @function create @@ -183475,6 +185184,12 @@ writer = $Writer.create(); if (message.snapshotAnalysis != null && Object.hasOwnProperty.call(message, "snapshotAnalysis")) $root.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.encode(message.snapshotAnalysis, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (message.importFeaturesAnalysis != null && Object.hasOwnProperty.call(message, "importFeaturesAnalysis")) + $root.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.encode(message.importFeaturesAnalysis, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.numericalThresholdConfig != null && Object.hasOwnProperty.call(message, "numericalThresholdConfig")) + $root.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig.encode(message.numericalThresholdConfig, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.categoricalThresholdConfig != null && Object.hasOwnProperty.call(message, "categoricalThresholdConfig")) + $root.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig.encode(message.categoricalThresholdConfig, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); return writer; }; @@ -183512,6 +185227,15 @@ case 1: message.snapshotAnalysis = $root.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.decode(reader, reader.uint32()); break; + case 2: + message.importFeaturesAnalysis = $root.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.decode(reader, reader.uint32()); + break; + case 3: + message.numericalThresholdConfig = $root.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig.decode(reader, reader.uint32()); + break; + case 4: + message.categoricalThresholdConfig = $root.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -183552,6 +185276,21 @@ if (error) return "snapshotAnalysis." + error; } + if (message.importFeaturesAnalysis != null && message.hasOwnProperty("importFeaturesAnalysis")) { + var error = $root.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.verify(message.importFeaturesAnalysis); + if (error) + return "importFeaturesAnalysis." + error; + } + if (message.numericalThresholdConfig != null && message.hasOwnProperty("numericalThresholdConfig")) { + var error = $root.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig.verify(message.numericalThresholdConfig); + if (error) + return "numericalThresholdConfig." + error; + } + if (message.categoricalThresholdConfig != null && message.hasOwnProperty("categoricalThresholdConfig")) { + var error = $root.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig.verify(message.categoricalThresholdConfig); + if (error) + return "categoricalThresholdConfig." + error; + } return null; }; @@ -183572,6 +185311,21 @@ throw TypeError(".google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.snapshotAnalysis: object expected"); message.snapshotAnalysis = $root.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.fromObject(object.snapshotAnalysis); } + if (object.importFeaturesAnalysis != null) { + if (typeof object.importFeaturesAnalysis !== "object") + throw TypeError(".google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.importFeaturesAnalysis: object expected"); + message.importFeaturesAnalysis = $root.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.fromObject(object.importFeaturesAnalysis); + } + if (object.numericalThresholdConfig != null) { + if (typeof object.numericalThresholdConfig !== "object") + throw TypeError(".google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.numericalThresholdConfig: object expected"); + message.numericalThresholdConfig = $root.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig.fromObject(object.numericalThresholdConfig); + } + if (object.categoricalThresholdConfig != null) { + if (typeof object.categoricalThresholdConfig !== "object") + throw TypeError(".google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.categoricalThresholdConfig: object expected"); + message.categoricalThresholdConfig = $root.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig.fromObject(object.categoricalThresholdConfig); + } return message; }; @@ -183588,10 +185342,20 @@ if (!options) options = {}; var object = {}; - if (options.defaults) + if (options.defaults) { object.snapshotAnalysis = null; + object.importFeaturesAnalysis = null; + object.numericalThresholdConfig = null; + object.categoricalThresholdConfig = null; + } if (message.snapshotAnalysis != null && message.hasOwnProperty("snapshotAnalysis")) object.snapshotAnalysis = $root.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.toObject(message.snapshotAnalysis, options); + if (message.importFeaturesAnalysis != null && message.hasOwnProperty("importFeaturesAnalysis")) + object.importFeaturesAnalysis = $root.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.toObject(message.importFeaturesAnalysis, options); + if (message.numericalThresholdConfig != null && message.hasOwnProperty("numericalThresholdConfig")) + object.numericalThresholdConfig = $root.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig.toObject(message.numericalThresholdConfig, options); + if (message.categoricalThresholdConfig != null && message.hasOwnProperty("categoricalThresholdConfig")) + object.categoricalThresholdConfig = $root.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig.toObject(message.categoricalThresholdConfig, options); return object; }; @@ -183615,6 +185379,7 @@ * @property {boolean|null} [disabled] SnapshotAnalysis disabled * @property {google.protobuf.IDuration|null} [monitoringInterval] SnapshotAnalysis monitoringInterval * @property {number|null} [monitoringIntervalDays] SnapshotAnalysis monitoringIntervalDays + * @property {number|null} [stalenessDays] SnapshotAnalysis stalenessDays */ /** @@ -183656,6 +185421,14 @@ */ SnapshotAnalysis.prototype.monitoringIntervalDays = 0; + /** + * SnapshotAnalysis stalenessDays. + * @member {number} stalenessDays + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis + * @instance + */ + SnapshotAnalysis.prototype.stalenessDays = 0; + /** * Creates a new SnapshotAnalysis instance using the specified properties. * @function create @@ -183686,6 +185459,8 @@ $root.google.protobuf.Duration.encode(message.monitoringInterval, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); if (message.monitoringIntervalDays != null && Object.hasOwnProperty.call(message, "monitoringIntervalDays")) writer.uint32(/* id 3, wireType 0 =*/24).int32(message.monitoringIntervalDays); + if (message.stalenessDays != null && Object.hasOwnProperty.call(message, "stalenessDays")) + writer.uint32(/* id 4, wireType 0 =*/32).int32(message.stalenessDays); return writer; }; @@ -183729,6 +185504,9 @@ case 3: message.monitoringIntervalDays = reader.int32(); break; + case 4: + message.stalenessDays = reader.int32(); + break; default: reader.skipType(tag & 7); break; @@ -183775,6 +185553,9 @@ if (message.monitoringIntervalDays != null && message.hasOwnProperty("monitoringIntervalDays")) if (!$util.isInteger(message.monitoringIntervalDays)) return "monitoringIntervalDays: integer expected"; + if (message.stalenessDays != null && message.hasOwnProperty("stalenessDays")) + if (!$util.isInteger(message.stalenessDays)) + return "stalenessDays: integer expected"; return null; }; @@ -183799,6 +185580,8 @@ } if (object.monitoringIntervalDays != null) message.monitoringIntervalDays = object.monitoringIntervalDays | 0; + if (object.stalenessDays != null) + message.stalenessDays = object.stalenessDays | 0; return message; }; @@ -183819,6 +185602,7 @@ object.disabled = false; object.monitoringInterval = null; object.monitoringIntervalDays = 0; + object.stalenessDays = 0; } if (message.disabled != null && message.hasOwnProperty("disabled")) object.disabled = message.disabled; @@ -183826,6 +185610,8 @@ object.monitoringInterval = $root.google.protobuf.Duration.toObject(message.monitoringInterval, options); if (message.monitoringIntervalDays != null && message.hasOwnProperty("monitoringIntervalDays")) object.monitoringIntervalDays = message.monitoringIntervalDays; + if (message.stalenessDays != null && message.hasOwnProperty("stalenessDays")) + object.stalenessDays = message.stalenessDays; return object; }; @@ -183843,6 +185629,503 @@ return SnapshotAnalysis; })(); + FeaturestoreMonitoringConfig.ImportFeaturesAnalysis = (function() { + + /** + * Properties of an ImportFeaturesAnalysis. + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + * @interface IImportFeaturesAnalysis + * @property {google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State|null} [state] ImportFeaturesAnalysis state + * @property {google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline|null} [anomalyDetectionBaseline] ImportFeaturesAnalysis anomalyDetectionBaseline + */ + + /** + * Constructs a new ImportFeaturesAnalysis. + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + * @classdesc Represents an ImportFeaturesAnalysis. + * @implements IImportFeaturesAnalysis + * @constructor + * @param {google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.IImportFeaturesAnalysis=} [properties] Properties to set + */ + function ImportFeaturesAnalysis(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * ImportFeaturesAnalysis state. + * @member {google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State} state + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + * @instance + */ + ImportFeaturesAnalysis.prototype.state = 0; + + /** + * ImportFeaturesAnalysis anomalyDetectionBaseline. + * @member {google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline} anomalyDetectionBaseline + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + * @instance + */ + ImportFeaturesAnalysis.prototype.anomalyDetectionBaseline = 0; + + /** + * Creates a new ImportFeaturesAnalysis instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + * @static + * @param {google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.IImportFeaturesAnalysis=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis} ImportFeaturesAnalysis instance + */ + ImportFeaturesAnalysis.create = function create(properties) { + return new ImportFeaturesAnalysis(properties); + }; + + /** + * Encodes the specified ImportFeaturesAnalysis message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + * @static + * @param {google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.IImportFeaturesAnalysis} message ImportFeaturesAnalysis message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ImportFeaturesAnalysis.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.state != null && Object.hasOwnProperty.call(message, "state")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.state); + if (message.anomalyDetectionBaseline != null && Object.hasOwnProperty.call(message, "anomalyDetectionBaseline")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.anomalyDetectionBaseline); + return writer; + }; + + /** + * Encodes the specified ImportFeaturesAnalysis message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + * @static + * @param {google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.IImportFeaturesAnalysis} message ImportFeaturesAnalysis message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ImportFeaturesAnalysis.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes an ImportFeaturesAnalysis message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis} ImportFeaturesAnalysis + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ImportFeaturesAnalysis.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.state = reader.int32(); + break; + case 2: + message.anomalyDetectionBaseline = reader.int32(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes an ImportFeaturesAnalysis message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis} ImportFeaturesAnalysis + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ImportFeaturesAnalysis.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies an ImportFeaturesAnalysis message. + * @function verify + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ImportFeaturesAnalysis.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.state != null && message.hasOwnProperty("state")) + switch (message.state) { + default: + return "state: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + if (message.anomalyDetectionBaseline != null && message.hasOwnProperty("anomalyDetectionBaseline")) + switch (message.anomalyDetectionBaseline) { + default: + return "anomalyDetectionBaseline: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + return null; + }; + + /** + * Creates an ImportFeaturesAnalysis message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis} ImportFeaturesAnalysis + */ + ImportFeaturesAnalysis.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis) + return object; + var message = new $root.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis(); + switch (object.state) { + case "STATE_UNSPECIFIED": + case 0: + message.state = 0; + break; + case "DEFAULT": + case 1: + message.state = 1; + break; + case "ENABLED": + case 2: + message.state = 2; + break; + case "DISABLED": + case 3: + message.state = 3; + break; + } + switch (object.anomalyDetectionBaseline) { + case "BASELINE_UNSPECIFIED": + case 0: + message.anomalyDetectionBaseline = 0; + break; + case "LATEST_STATS": + case 1: + message.anomalyDetectionBaseline = 1; + break; + case "MOST_RECENT_SNAPSHOT_STATS": + case 2: + message.anomalyDetectionBaseline = 2; + break; + case "PREVIOUS_IMPORT_FEATURES_STATS": + case 3: + message.anomalyDetectionBaseline = 3; + break; + } + return message; + }; + + /** + * Creates a plain object from an ImportFeaturesAnalysis message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + * @static + * @param {google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis} message ImportFeaturesAnalysis + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ImportFeaturesAnalysis.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.state = options.enums === String ? "STATE_UNSPECIFIED" : 0; + object.anomalyDetectionBaseline = options.enums === String ? "BASELINE_UNSPECIFIED" : 0; + } + if (message.state != null && message.hasOwnProperty("state")) + object.state = options.enums === String ? $root.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State[message.state] : message.state; + if (message.anomalyDetectionBaseline != null && message.hasOwnProperty("anomalyDetectionBaseline")) + object.anomalyDetectionBaseline = options.enums === String ? $root.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline[message.anomalyDetectionBaseline] : message.anomalyDetectionBaseline; + return object; + }; + + /** + * Converts this ImportFeaturesAnalysis to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis + * @instance + * @returns {Object.} JSON object + */ + ImportFeaturesAnalysis.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * State enum. + * @name google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State + * @enum {number} + * @property {number} STATE_UNSPECIFIED=0 STATE_UNSPECIFIED value + * @property {number} DEFAULT=1 DEFAULT value + * @property {number} ENABLED=2 ENABLED value + * @property {number} DISABLED=3 DISABLED value + */ + ImportFeaturesAnalysis.State = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "STATE_UNSPECIFIED"] = 0; + values[valuesById[1] = "DEFAULT"] = 1; + values[valuesById[2] = "ENABLED"] = 2; + values[valuesById[3] = "DISABLED"] = 3; + return values; + })(); + + /** + * Baseline enum. + * @name google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline + * @enum {number} + * @property {number} BASELINE_UNSPECIFIED=0 BASELINE_UNSPECIFIED value + * @property {number} LATEST_STATS=1 LATEST_STATS value + * @property {number} MOST_RECENT_SNAPSHOT_STATS=2 MOST_RECENT_SNAPSHOT_STATS value + * @property {number} PREVIOUS_IMPORT_FEATURES_STATS=3 PREVIOUS_IMPORT_FEATURES_STATS value + */ + ImportFeaturesAnalysis.Baseline = (function() { + var valuesById = {}, values = Object.create(valuesById); + values[valuesById[0] = "BASELINE_UNSPECIFIED"] = 0; + values[valuesById[1] = "LATEST_STATS"] = 1; + values[valuesById[2] = "MOST_RECENT_SNAPSHOT_STATS"] = 2; + values[valuesById[3] = "PREVIOUS_IMPORT_FEATURES_STATS"] = 3; + return values; + })(); + + return ImportFeaturesAnalysis; + })(); + + FeaturestoreMonitoringConfig.ThresholdConfig = (function() { + + /** + * Properties of a ThresholdConfig. + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + * @interface IThresholdConfig + * @property {number|null} [value] ThresholdConfig value + */ + + /** + * Constructs a new ThresholdConfig. + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig + * @classdesc Represents a ThresholdConfig. + * @implements IThresholdConfig + * @constructor + * @param {google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.IThresholdConfig=} [properties] Properties to set + */ + function ThresholdConfig(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * ThresholdConfig value. + * @member {number|null|undefined} value + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + * @instance + */ + ThresholdConfig.prototype.value = null; + + // OneOf field names bound to virtual getters and setters + var $oneOfFields; + + /** + * ThresholdConfig threshold. + * @member {"value"|undefined} threshold + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + * @instance + */ + Object.defineProperty(ThresholdConfig.prototype, "threshold", { + get: $util.oneOfGetter($oneOfFields = ["value"]), + set: $util.oneOfSetter($oneOfFields) + }); + + /** + * Creates a new ThresholdConfig instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + * @static + * @param {google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.IThresholdConfig=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig} ThresholdConfig instance + */ + ThresholdConfig.create = function create(properties) { + return new ThresholdConfig(properties); + }; + + /** + * Encodes the specified ThresholdConfig message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + * @static + * @param {google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.IThresholdConfig} message ThresholdConfig message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ThresholdConfig.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.value != null && Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 1, wireType 1 =*/9).double(message.value); + return writer; + }; + + /** + * Encodes the specified ThresholdConfig message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + * @static + * @param {google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.IThresholdConfig} message ThresholdConfig message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ThresholdConfig.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a ThresholdConfig message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig} ThresholdConfig + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ThresholdConfig.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.value = reader.double(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a ThresholdConfig message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig} ThresholdConfig + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ThresholdConfig.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ThresholdConfig message. + * @function verify + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ThresholdConfig.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + var properties = {}; + if (message.value != null && message.hasOwnProperty("value")) { + properties.threshold = 1; + if (typeof message.value !== "number") + return "value: number expected"; + } + return null; + }; + + /** + * Creates a ThresholdConfig message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig} ThresholdConfig + */ + ThresholdConfig.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig) + return object; + var message = new $root.google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig(); + if (object.value != null) + message.value = Number(object.value); + return message; + }; + + /** + * Creates a plain object from a ThresholdConfig message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + * @static + * @param {google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig} message ThresholdConfig + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ThresholdConfig.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (message.value != null && message.hasOwnProperty("value")) { + object.value = options.json && !isFinite(message.value) ? String(message.value) : message.value; + if (options.oneofs) + object.threshold = "value"; + } + return object; + }; + + /** + * Converts this ThresholdConfig to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.ThresholdConfig + * @instance + * @returns {Object.} JSON object + */ + ThresholdConfig.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + return ThresholdConfig; + })(); + return FeaturestoreMonitoringConfig; })(); @@ -191515,6 +193798,7 @@ * @property {Array.|null} [featureSpecs] ImportFeatureValuesRequest featureSpecs * @property {boolean|null} [disableOnlineServing] ImportFeatureValuesRequest disableOnlineServing * @property {number|null} [workerCount] ImportFeatureValuesRequest workerCount + * @property {boolean|null} [disableIngestionAnalysis] ImportFeatureValuesRequest disableIngestionAnalysis */ /** @@ -191613,6 +193897,14 @@ */ ImportFeatureValuesRequest.prototype.workerCount = 0; + /** + * ImportFeatureValuesRequest disableIngestionAnalysis. + * @member {boolean} disableIngestionAnalysis + * @memberof google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest + * @instance + */ + ImportFeatureValuesRequest.prototype.disableIngestionAnalysis = false; + // OneOf field names bound to virtual getters and setters var $oneOfFields; @@ -191683,6 +193975,8 @@ writer.uint32(/* id 9, wireType 0 =*/72).bool(message.disableOnlineServing); if (message.workerCount != null && Object.hasOwnProperty.call(message, "workerCount")) writer.uint32(/* id 11, wireType 0 =*/88).int32(message.workerCount); + if (message.disableIngestionAnalysis != null && Object.hasOwnProperty.call(message, "disableIngestionAnalysis")) + writer.uint32(/* id 12, wireType 0 =*/96).bool(message.disableIngestionAnalysis); return writer; }; @@ -191749,6 +194043,9 @@ case 11: message.workerCount = reader.int32(); break; + case 12: + message.disableIngestionAnalysis = reader.bool(); + break; default: reader.skipType(tag & 7); break; @@ -191849,6 +194146,9 @@ if (message.workerCount != null && message.hasOwnProperty("workerCount")) if (!$util.isInteger(message.workerCount)) return "workerCount: integer expected"; + if (message.disableIngestionAnalysis != null && message.hasOwnProperty("disableIngestionAnalysis")) + if (typeof message.disableIngestionAnalysis !== "boolean") + return "disableIngestionAnalysis: boolean expected"; return null; }; @@ -191904,6 +194204,8 @@ message.disableOnlineServing = Boolean(object.disableOnlineServing); if (object.workerCount != null) message.workerCount = object.workerCount | 0; + if (object.disableIngestionAnalysis != null) + message.disableIngestionAnalysis = Boolean(object.disableIngestionAnalysis); return message; }; @@ -191927,6 +194229,7 @@ object.entityIdField = ""; object.disableOnlineServing = false; object.workerCount = 0; + object.disableIngestionAnalysis = false; } if (message.entityType != null && message.hasOwnProperty("entityType")) object.entityType = message.entityType; @@ -191966,6 +194269,8 @@ object.disableOnlineServing = message.disableOnlineServing; if (message.workerCount != null && message.hasOwnProperty("workerCount")) object.workerCount = message.workerCount; + if (message.disableIngestionAnalysis != null && message.hasOwnProperty("disableIngestionAnalysis")) + object.disableIngestionAnalysis = message.disableIngestionAnalysis; return object; }; diff --git a/packages/google-cloud-aiplatform/protos/protos.json b/packages/google-cloud-aiplatform/protos/protos.json index 596421b2087..91d6049372d 100644 --- a/packages/google-cloud-aiplatform/protos/protos.json +++ b/packages/google-cloud-aiplatform/protos/protos.json @@ -3457,6 +3457,96 @@ "options": { "(google.api.field_behavior)": "OPTIONAL" } + }, + "monitoringConfig": { + "type": "FeaturestoreMonitoringConfig", + "id": 8, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + } + } + }, + "FeaturestoreMonitoringConfig": { + "fields": { + "snapshotAnalysis": { + "type": "SnapshotAnalysis", + "id": 1 + }, + "importFeaturesAnalysis": { + "type": "ImportFeaturesAnalysis", + "id": 2 + }, + "numericalThresholdConfig": { + "type": "ThresholdConfig", + "id": 3 + }, + "categoricalThresholdConfig": { + "type": "ThresholdConfig", + "id": 4 + } + }, + "nested": { + "SnapshotAnalysis": { + "fields": { + "disabled": { + "type": "bool", + "id": 1 + }, + "monitoringIntervalDays": { + "type": "int32", + "id": 3 + }, + "stalenessDays": { + "type": "int32", + "id": 4 + } + } + }, + "ImportFeaturesAnalysis": { + "fields": { + "state": { + "type": "State", + "id": 1 + }, + "anomalyDetectionBaseline": { + "type": "Baseline", + "id": 2 + } + }, + "nested": { + "State": { + "values": { + "STATE_UNSPECIFIED": 0, + "DEFAULT": 1, + "ENABLED": 2, + "DISABLED": 3 + } + }, + "Baseline": { + "values": { + "BASELINE_UNSPECIFIED": 0, + "LATEST_STATS": 1, + "MOST_RECENT_SNAPSHOT_STATS": 2, + "PREVIOUS_IMPORT_FEATURES_STATS": 3 + } + } + } + }, + "ThresholdConfig": { + "oneofs": { + "threshold": { + "oneof": [ + "value" + ] + } + }, + "fields": { + "value": { + "type": "double", + "id": 1 + } + } } } }, @@ -3632,9 +3722,51 @@ "etag": { "type": "string", "id": 7 + }, + "disableMonitoring": { + "type": "bool", + "id": 12, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, + "monitoringStatsAnomalies": { + "rule": "repeated", + "type": "MonitoringStatsAnomaly", + "id": 11, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } } }, "nested": { + "MonitoringStatsAnomaly": { + "fields": { + "objective": { + "type": "Objective", + "id": 1, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } + }, + "featureStatsAnomaly": { + "type": "FeatureStatsAnomaly", + "id": 2, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } + } + }, + "nested": { + "Objective": { + "values": { + "OBJECTIVE_UNSPECIFIED": 0, + "IMPORT_FEATURE_ANALYSIS": 1, + "SNAPSHOT_ANALYSIS": 2 + } + } + } + }, "ValueType": { "values": { "VALUE_TYPE_UNSPECIFIED": 0, @@ -4749,6 +4881,10 @@ "workerCount": { "type": "int32", "id": 11 + }, + "disableIngestionAnalysis": { + "type": "bool", + "id": 12 } }, "nested": { @@ -20666,6 +20802,13 @@ "(google.api.field_behavior)": "OPTIONAL" } }, + "disableMonitoring": { + "type": "bool", + "id": 12, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, "monitoringStats": { "rule": "repeated", "type": "FeatureStatsAnomaly", @@ -20673,9 +20816,44 @@ "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } + }, + "monitoringStatsAnomalies": { + "rule": "repeated", + "type": "MonitoringStatsAnomaly", + "id": 11, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } } }, "nested": { + "MonitoringStatsAnomaly": { + "fields": { + "objective": { + "type": "Objective", + "id": 1, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } + }, + "featureStatsAnomaly": { + "type": "FeatureStatsAnomaly", + "id": 2, + "options": { + "(google.api.field_behavior)": "OUTPUT_ONLY" + } + } + }, + "nested": { + "Objective": { + "values": { + "OBJECTIVE_UNSPECIFIED": 0, + "IMPORT_FEATURE_ANALYSIS": 1, + "SNAPSHOT_ANALYSIS": 2 + } + } + } + }, "ValueType": { "values": { "VALUE_TYPE_UNSPECIFIED": 0, @@ -20697,6 +20875,18 @@ "snapshotAnalysis": { "type": "SnapshotAnalysis", "id": 1 + }, + "importFeaturesAnalysis": { + "type": "ImportFeaturesAnalysis", + "id": 2 + }, + "numericalThresholdConfig": { + "type": "ThresholdConfig", + "id": 3 + }, + "categoricalThresholdConfig": { + "type": "ThresholdConfig", + "id": 4 } }, "nested": { @@ -20716,6 +20906,55 @@ "monitoringIntervalDays": { "type": "int32", "id": 3 + }, + "stalenessDays": { + "type": "int32", + "id": 4 + } + } + }, + "ImportFeaturesAnalysis": { + "fields": { + "state": { + "type": "State", + "id": 1 + }, + "anomalyDetectionBaseline": { + "type": "Baseline", + "id": 2 + } + }, + "nested": { + "State": { + "values": { + "STATE_UNSPECIFIED": 0, + "DEFAULT": 1, + "ENABLED": 2, + "DISABLED": 3 + } + }, + "Baseline": { + "values": { + "BASELINE_UNSPECIFIED": 0, + "LATEST_STATS": 1, + "MOST_RECENT_SNAPSHOT_STATS": 2, + "PREVIOUS_IMPORT_FEATURES_STATS": 3 + } + } + } + }, + "ThresholdConfig": { + "oneofs": { + "threshold": { + "oneof": [ + "value" + ] + } + }, + "fields": { + "value": { + "type": "double", + "id": 1 } } } @@ -21931,6 +22170,10 @@ "workerCount": { "type": "int32", "id": 11 + }, + "disableIngestionAnalysis": { + "type": "bool", + "id": 12 } }, "nested": { diff --git a/packages/google-cloud-aiplatform/samples/generated/v1/featurestore_service.import_feature_values.js b/packages/google-cloud-aiplatform/samples/generated/v1/featurestore_service.import_feature_values.js index 4136edccf69..5443267c9f3 100644 --- a/packages/google-cloud-aiplatform/samples/generated/v1/featurestore_service.import_feature_values.js +++ b/packages/google-cloud-aiplatform/samples/generated/v1/featurestore_service.import_feature_values.js @@ -76,6 +76,10 @@ function main(entityType, featureSpecs) { * impact on online serving performance. */ // const workerCount = 1234 + /** + * If true, API doesn't start ingestion analysis pipeline. + */ + // const disableIngestionAnalysis = true // Imports the Aiplatform library const {FeaturestoreServiceClient} = require('@google-cloud/aiplatform').v1; diff --git a/packages/google-cloud-aiplatform/samples/generated/v1/featurestore_service.update_entity_type.js b/packages/google-cloud-aiplatform/samples/generated/v1/featurestore_service.update_entity_type.js index 93407ba9a19..9fc84d8e6a2 100644 --- a/packages/google-cloud-aiplatform/samples/generated/v1/featurestore_service.update_entity_type.js +++ b/packages/google-cloud-aiplatform/samples/generated/v1/featurestore_service.update_entity_type.js @@ -44,7 +44,12 @@ function main(entityType) { * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` */ // const updateMask = {} diff --git a/packages/google-cloud-aiplatform/samples/generated/v1/featurestore_service.update_feature.js b/packages/google-cloud-aiplatform/samples/generated/v1/featurestore_service.update_feature.js index e078f0972c5..d310af8674d 100644 --- a/packages/google-cloud-aiplatform/samples/generated/v1/featurestore_service.update_feature.js +++ b/packages/google-cloud-aiplatform/samples/generated/v1/featurestore_service.update_feature.js @@ -43,8 +43,7 @@ function main(feature) { * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` */ // const updateMask = {} diff --git a/packages/google-cloud-aiplatform/samples/generated/v1/snippet_metadata.google.cloud.aiplatform.v1.json b/packages/google-cloud-aiplatform/samples/generated/v1/snippet_metadata.google.cloud.aiplatform.v1.json index e2fbd1cefd7..322f5240d83 100644 --- a/packages/google-cloud-aiplatform/samples/generated/v1/snippet_metadata.google.cloud.aiplatform.v1.json +++ b/packages/google-cloud-aiplatform/samples/generated/v1/snippet_metadata.google.cloud.aiplatform.v1.json @@ -1314,7 +1314,7 @@ "segments": [ { "start": 25, - "end": 68, + "end": 73, "type": "FULL" } ], @@ -1598,7 +1598,7 @@ "segments": [ { "start": 25, - "end": 68, + "end": 67, "type": "FULL" } ], @@ -1682,7 +1682,7 @@ "segments": [ { "start": 25, - "end": 99, + "end": 103, "type": "FULL" } ], @@ -1730,6 +1730,10 @@ { "name": "worker_count", "type": "TYPE_INT32" + }, + { + "name": "disable_ingestion_analysis", + "type": "TYPE_BOOL" } ], "resultType": ".google.longrunning.Operation", diff --git a/packages/google-cloud-aiplatform/samples/generated/v1beta1/featurestore_service.import_feature_values.js b/packages/google-cloud-aiplatform/samples/generated/v1beta1/featurestore_service.import_feature_values.js index f66c3e09e5b..3d9d1df8890 100644 --- a/packages/google-cloud-aiplatform/samples/generated/v1beta1/featurestore_service.import_feature_values.js +++ b/packages/google-cloud-aiplatform/samples/generated/v1beta1/featurestore_service.import_feature_values.js @@ -76,6 +76,10 @@ function main(entityType, featureSpecs) { * impact on online serving performance. */ // const workerCount = 1234 + /** + * If true, API doesn't start ingestion analysis pipeline. + */ + // const disableIngestionAnalysis = true // Imports the Aiplatform library const {FeaturestoreServiceClient} = require('@google-cloud/aiplatform').v1beta1; diff --git a/packages/google-cloud-aiplatform/samples/generated/v1beta1/featurestore_service.update_entity_type.js b/packages/google-cloud-aiplatform/samples/generated/v1beta1/featurestore_service.update_entity_type.js index 45d5cbd28ed..5d2eedccbd1 100644 --- a/packages/google-cloud-aiplatform/samples/generated/v1beta1/featurestore_service.update_entity_type.js +++ b/packages/google-cloud-aiplatform/samples/generated/v1beta1/featurestore_service.update_entity_type.js @@ -44,7 +44,12 @@ function main(entityType) { * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` */ // const updateMask = {} diff --git a/packages/google-cloud-aiplatform/samples/generated/v1beta1/featurestore_service.update_feature.js b/packages/google-cloud-aiplatform/samples/generated/v1beta1/featurestore_service.update_feature.js index 58c657401af..3ea9767369e 100644 --- a/packages/google-cloud-aiplatform/samples/generated/v1beta1/featurestore_service.update_feature.js +++ b/packages/google-cloud-aiplatform/samples/generated/v1beta1/featurestore_service.update_feature.js @@ -43,8 +43,7 @@ function main(feature) { * Updatable fields: * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` */ // const updateMask = {} diff --git a/packages/google-cloud-aiplatform/samples/generated/v1beta1/snippet_metadata.google.cloud.aiplatform.v1beta1.json b/packages/google-cloud-aiplatform/samples/generated/v1beta1/snippet_metadata.google.cloud.aiplatform.v1beta1.json index 1a5cd789667..2c2e374677f 100644 --- a/packages/google-cloud-aiplatform/samples/generated/v1beta1/snippet_metadata.google.cloud.aiplatform.v1beta1.json +++ b/packages/google-cloud-aiplatform/samples/generated/v1beta1/snippet_metadata.google.cloud.aiplatform.v1beta1.json @@ -1310,7 +1310,7 @@ "segments": [ { "start": 25, - "end": 68, + "end": 73, "type": "FULL" } ], @@ -1594,7 +1594,7 @@ "segments": [ { "start": 25, - "end": 68, + "end": 67, "type": "FULL" } ], @@ -1678,7 +1678,7 @@ "segments": [ { "start": 25, - "end": 99, + "end": 103, "type": "FULL" } ], @@ -1726,6 +1726,10 @@ { "name": "worker_count", "type": "TYPE_INT32" + }, + { + "name": "disable_ingestion_analysis", + "type": "TYPE_BOOL" } ], "resultType": ".google.longrunning.Operation", diff --git a/packages/google-cloud-aiplatform/src/v1/dataset_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/dataset_service_proto_list.json index 9332e4626b3..581a7346b7c 100644 --- a/packages/google-cloud-aiplatform/src/v1/dataset_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/dataset_service_proto_list.json @@ -26,6 +26,7 @@ "../../protos/google/cloud/aiplatform/v1/feature_monitoring_stats.proto", "../../protos/google/cloud/aiplatform/v1/feature_selector.proto", "../../protos/google/cloud/aiplatform/v1/featurestore.proto", + "../../protos/google/cloud/aiplatform/v1/featurestore_monitoring.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_online_service.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_service.proto", "../../protos/google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/endpoint_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/endpoint_service_proto_list.json index 9332e4626b3..581a7346b7c 100644 --- a/packages/google-cloud-aiplatform/src/v1/endpoint_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/endpoint_service_proto_list.json @@ -26,6 +26,7 @@ "../../protos/google/cloud/aiplatform/v1/feature_monitoring_stats.proto", "../../protos/google/cloud/aiplatform/v1/feature_selector.proto", "../../protos/google/cloud/aiplatform/v1/featurestore.proto", + "../../protos/google/cloud/aiplatform/v1/featurestore_monitoring.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_online_service.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_service.proto", "../../protos/google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/featurestore_online_serving_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/featurestore_online_serving_service_proto_list.json index 9332e4626b3..581a7346b7c 100644 --- a/packages/google-cloud-aiplatform/src/v1/featurestore_online_serving_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/featurestore_online_serving_service_proto_list.json @@ -26,6 +26,7 @@ "../../protos/google/cloud/aiplatform/v1/feature_monitoring_stats.proto", "../../protos/google/cloud/aiplatform/v1/feature_selector.proto", "../../protos/google/cloud/aiplatform/v1/featurestore.proto", + "../../protos/google/cloud/aiplatform/v1/featurestore_monitoring.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_online_service.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_service.proto", "../../protos/google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/featurestore_service_client.ts b/packages/google-cloud-aiplatform/src/v1/featurestore_service_client.ts index b02ff0765f1..e320e0fb3d0 100644 --- a/packages/google-cloud-aiplatform/src/v1/featurestore_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1/featurestore_service_client.ts @@ -801,7 +801,12 @@ export class FeaturestoreServiceClient { * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. @@ -996,8 +1001,7 @@ export class FeaturestoreServiceClient { * * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. @@ -2308,6 +2312,8 @@ export class FeaturestoreServiceClient { * serving. The value must be positive, and less than or equal to 100. * If not set, defaults to using 1 worker. The low count ensures minimal * impact on online serving performance. + * @param {boolean} request.disableIngestionAnalysis + * If true, API doesn't start ingestion analysis pipeline. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. diff --git a/packages/google-cloud-aiplatform/src/v1/featurestore_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/featurestore_service_proto_list.json index 9332e4626b3..581a7346b7c 100644 --- a/packages/google-cloud-aiplatform/src/v1/featurestore_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/featurestore_service_proto_list.json @@ -26,6 +26,7 @@ "../../protos/google/cloud/aiplatform/v1/feature_monitoring_stats.proto", "../../protos/google/cloud/aiplatform/v1/feature_selector.proto", "../../protos/google/cloud/aiplatform/v1/featurestore.proto", + "../../protos/google/cloud/aiplatform/v1/featurestore_monitoring.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_online_service.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_service.proto", "../../protos/google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/index_endpoint_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/index_endpoint_service_proto_list.json index 9332e4626b3..581a7346b7c 100644 --- a/packages/google-cloud-aiplatform/src/v1/index_endpoint_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/index_endpoint_service_proto_list.json @@ -26,6 +26,7 @@ "../../protos/google/cloud/aiplatform/v1/feature_monitoring_stats.proto", "../../protos/google/cloud/aiplatform/v1/feature_selector.proto", "../../protos/google/cloud/aiplatform/v1/featurestore.proto", + "../../protos/google/cloud/aiplatform/v1/featurestore_monitoring.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_online_service.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_service.proto", "../../protos/google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/index_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/index_service_proto_list.json index 9332e4626b3..581a7346b7c 100644 --- a/packages/google-cloud-aiplatform/src/v1/index_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/index_service_proto_list.json @@ -26,6 +26,7 @@ "../../protos/google/cloud/aiplatform/v1/feature_monitoring_stats.proto", "../../protos/google/cloud/aiplatform/v1/feature_selector.proto", "../../protos/google/cloud/aiplatform/v1/featurestore.proto", + "../../protos/google/cloud/aiplatform/v1/featurestore_monitoring.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_online_service.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_service.proto", "../../protos/google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/job_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/job_service_proto_list.json index 9332e4626b3..581a7346b7c 100644 --- a/packages/google-cloud-aiplatform/src/v1/job_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/job_service_proto_list.json @@ -26,6 +26,7 @@ "../../protos/google/cloud/aiplatform/v1/feature_monitoring_stats.proto", "../../protos/google/cloud/aiplatform/v1/feature_selector.proto", "../../protos/google/cloud/aiplatform/v1/featurestore.proto", + "../../protos/google/cloud/aiplatform/v1/featurestore_monitoring.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_online_service.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_service.proto", "../../protos/google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/metadata_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/metadata_service_proto_list.json index 9332e4626b3..581a7346b7c 100644 --- a/packages/google-cloud-aiplatform/src/v1/metadata_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/metadata_service_proto_list.json @@ -26,6 +26,7 @@ "../../protos/google/cloud/aiplatform/v1/feature_monitoring_stats.proto", "../../protos/google/cloud/aiplatform/v1/feature_selector.proto", "../../protos/google/cloud/aiplatform/v1/featurestore.proto", + "../../protos/google/cloud/aiplatform/v1/featurestore_monitoring.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_online_service.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_service.proto", "../../protos/google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/migration_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/migration_service_proto_list.json index 9332e4626b3..581a7346b7c 100644 --- a/packages/google-cloud-aiplatform/src/v1/migration_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/migration_service_proto_list.json @@ -26,6 +26,7 @@ "../../protos/google/cloud/aiplatform/v1/feature_monitoring_stats.proto", "../../protos/google/cloud/aiplatform/v1/feature_selector.proto", "../../protos/google/cloud/aiplatform/v1/featurestore.proto", + "../../protos/google/cloud/aiplatform/v1/featurestore_monitoring.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_online_service.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_service.proto", "../../protos/google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/model_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/model_service_proto_list.json index 9332e4626b3..581a7346b7c 100644 --- a/packages/google-cloud-aiplatform/src/v1/model_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/model_service_proto_list.json @@ -26,6 +26,7 @@ "../../protos/google/cloud/aiplatform/v1/feature_monitoring_stats.proto", "../../protos/google/cloud/aiplatform/v1/feature_selector.proto", "../../protos/google/cloud/aiplatform/v1/featurestore.proto", + "../../protos/google/cloud/aiplatform/v1/featurestore_monitoring.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_online_service.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_service.proto", "../../protos/google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/pipeline_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/pipeline_service_proto_list.json index 9332e4626b3..581a7346b7c 100644 --- a/packages/google-cloud-aiplatform/src/v1/pipeline_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/pipeline_service_proto_list.json @@ -26,6 +26,7 @@ "../../protos/google/cloud/aiplatform/v1/feature_monitoring_stats.proto", "../../protos/google/cloud/aiplatform/v1/feature_selector.proto", "../../protos/google/cloud/aiplatform/v1/featurestore.proto", + "../../protos/google/cloud/aiplatform/v1/featurestore_monitoring.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_online_service.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_service.proto", "../../protos/google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/prediction_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/prediction_service_proto_list.json index 9332e4626b3..581a7346b7c 100644 --- a/packages/google-cloud-aiplatform/src/v1/prediction_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/prediction_service_proto_list.json @@ -26,6 +26,7 @@ "../../protos/google/cloud/aiplatform/v1/feature_monitoring_stats.proto", "../../protos/google/cloud/aiplatform/v1/feature_selector.proto", "../../protos/google/cloud/aiplatform/v1/featurestore.proto", + "../../protos/google/cloud/aiplatform/v1/featurestore_monitoring.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_online_service.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_service.proto", "../../protos/google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/specialist_pool_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/specialist_pool_service_proto_list.json index 9332e4626b3..581a7346b7c 100644 --- a/packages/google-cloud-aiplatform/src/v1/specialist_pool_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/specialist_pool_service_proto_list.json @@ -26,6 +26,7 @@ "../../protos/google/cloud/aiplatform/v1/feature_monitoring_stats.proto", "../../protos/google/cloud/aiplatform/v1/feature_selector.proto", "../../protos/google/cloud/aiplatform/v1/featurestore.proto", + "../../protos/google/cloud/aiplatform/v1/featurestore_monitoring.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_online_service.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_service.proto", "../../protos/google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/tensorboard_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/tensorboard_service_proto_list.json index 9332e4626b3..581a7346b7c 100644 --- a/packages/google-cloud-aiplatform/src/v1/tensorboard_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/tensorboard_service_proto_list.json @@ -26,6 +26,7 @@ "../../protos/google/cloud/aiplatform/v1/feature_monitoring_stats.proto", "../../protos/google/cloud/aiplatform/v1/feature_selector.proto", "../../protos/google/cloud/aiplatform/v1/featurestore.proto", + "../../protos/google/cloud/aiplatform/v1/featurestore_monitoring.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_online_service.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_service.proto", "../../protos/google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto", diff --git a/packages/google-cloud-aiplatform/src/v1/vizier_service_proto_list.json b/packages/google-cloud-aiplatform/src/v1/vizier_service_proto_list.json index 9332e4626b3..581a7346b7c 100644 --- a/packages/google-cloud-aiplatform/src/v1/vizier_service_proto_list.json +++ b/packages/google-cloud-aiplatform/src/v1/vizier_service_proto_list.json @@ -26,6 +26,7 @@ "../../protos/google/cloud/aiplatform/v1/feature_monitoring_stats.proto", "../../protos/google/cloud/aiplatform/v1/feature_selector.proto", "../../protos/google/cloud/aiplatform/v1/featurestore.proto", + "../../protos/google/cloud/aiplatform/v1/featurestore_monitoring.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_online_service.proto", "../../protos/google/cloud/aiplatform/v1/featurestore_service.proto", "../../protos/google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto", diff --git a/packages/google-cloud-aiplatform/src/v1beta1/featurestore_service_client.ts b/packages/google-cloud-aiplatform/src/v1beta1/featurestore_service_client.ts index 12047c361ed..3df16a51ae7 100644 --- a/packages/google-cloud-aiplatform/src/v1beta1/featurestore_service_client.ts +++ b/packages/google-cloud-aiplatform/src/v1beta1/featurestore_service_client.ts @@ -808,7 +808,12 @@ export class FeaturestoreServiceClient { * * `description` * * `labels` * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `monitoring_config.snapshot_analysis.monitoring_interval_days` + * * `monitoring_config.snapshot_analysis.staleness_days` + * * `monitoring_config.import_features_analysis.state` + * * `monitoring_config.import_features_analysis.anomaly_detection_baseline` + * * `monitoring_config.numerical_threshold_config.value` + * * `monitoring_config.categorical_threshold_config.value` * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. @@ -1015,8 +1020,7 @@ export class FeaturestoreServiceClient { * * * `description` * * `labels` - * * `monitoring_config.snapshot_analysis.disabled` - * * `monitoring_config.snapshot_analysis.monitoring_interval` + * * `disable_monitoring` * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array. @@ -2327,6 +2331,8 @@ export class FeaturestoreServiceClient { * serving. The value must be positive, and less than or equal to 100. * If not set, defaults to using 1 worker. The low count ensures minimal * impact on online serving performance. + * @param {boolean} request.disableIngestionAnalysis + * If true, API doesn't start ingestion analysis pipeline. * @param {object} [options] * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. * @returns {Promise} - The promise which resolves to an array.