Google Cloud Ai Platform V1 Client - Class SnapshotAnalysis (0.25.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class SnapshotAnalysis.

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.

Generated from protobuf message google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis

Namespace

Google \ Cloud \ AIPlatform \ V1 \ FeaturestoreMonitoringConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ disabled bool

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.

↳ monitoring_interval_days int

Configuration of the snapshot analysis based monitoring pipeline running interval. The value indicates number of days.

↳ staleness_days int

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.

getDisabled

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.

Returns
TypeDescription
bool

setDisabled

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.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getMonitoringIntervalDays

Configuration of the snapshot analysis based monitoring pipeline running interval. The value indicates number of days.

Returns
TypeDescription
int

setMonitoringIntervalDays

Configuration of the snapshot analysis based monitoring pipeline running interval. The value indicates number of days.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getStalenessDays

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.

Returns
TypeDescription
int

setStalenessDays

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.

Parameter
NameDescription
var int
Returns
TypeDescription
$this