Google Cloud Ai Platform V1 Client - Class SelectTimeRangeAndFeature (1.4.0)

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

Message to select time range and feature.

Values of the selected feature generated within an inclusive time range will be deleted. Using this option permanently deletes the feature values from the specified feature IDs within the specified time range. This might include data from the online storage. If you want to retain any deleted historical data in the online storage, you must re-ingest it.

Generated from protobuf message google.cloud.aiplatform.v1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature

Namespace

Google \ Cloud \ AIPlatform \ V1 \ DeleteFeatureValuesRequest

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ time_range Google\Type\Interval

Required. Select feature generated within a half-inclusive time range. The time range is lower inclusive and upper exclusive.

↳ feature_selector Google\Cloud\AIPlatform\V1\FeatureSelector

Required. Selectors choosing which feature values to be deleted from the EntityType.

↳ skip_online_storage_delete bool

If set, data will not be deleted from online storage. When time range is older than the data in online storage, setting this to be true will make the deletion have no impact on online serving.

getTimeRange

Required. Select feature generated within a half-inclusive time range.

The time range is lower inclusive and upper exclusive.

Returns
Type Description
Google\Type\Interval|null

hasTimeRange

clearTimeRange

setTimeRange

Required. Select feature generated within a half-inclusive time range.

The time range is lower inclusive and upper exclusive.

Parameter
Name Description
var Google\Type\Interval
Returns
Type Description
$this

getFeatureSelector

Required. Selectors choosing which feature values to be deleted from the EntityType.

Returns
Type Description
Google\Cloud\AIPlatform\V1\FeatureSelector|null

hasFeatureSelector

clearFeatureSelector

setFeatureSelector

Required. Selectors choosing which feature values to be deleted from the EntityType.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\FeatureSelector
Returns
Type Description
$this

getSkipOnlineStorageDelete

If set, data will not be deleted from online storage.

When time range is older than the data in online storage, setting this to be true will make the deletion have no impact on online serving.

Returns
Type Description
bool

setSkipOnlineStorageDelete

If set, data will not be deleted from online storage.

When time range is older than the data in online storage, setting this to be true will make the deletion have no impact on online serving.

Parameter
Name Description
var bool
Returns
Type Description
$this