Google Cloud Ai Platform V1 Client - Class SelectTimeRangeAndFeature (0.24.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
NameDescription
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
TypeDescription
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
NameDescription
var Google\Type\Interval
Returns
TypeDescription
$this

getFeatureSelector

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

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\FeatureSelector|null

hasFeatureSelector

clearFeatureSelector

setFeatureSelector

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

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\FeatureSelector
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var bool
Returns
TypeDescription
$this