Google Cloud Ai Platform V1 Client - Class FetchFeatureValuesRequest (1.13.0)

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

Request message for FeatureOnlineStoreService.FetchFeatureValues.

All the features under the requested feature view will be returned.

Generated from protobuf message google.cloud.aiplatform.v1.FetchFeatureValuesRequest

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ feature_view string

Required. FeatureView resource format projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}

↳ data_key FeatureViewDataKey

Optional. The request key to fetch feature values for.

↳ data_format int

Optional. Response data format. If not set, FeatureViewDataFormat.KEY_VALUE will be used.

getFeatureView

Required. FeatureView resource format projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}

Returns
Type Description
string

setFeatureView

Required. FeatureView resource format projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}

Parameter
Name Description
var string
Returns
Type Description
$this

getDataKey

Optional. The request key to fetch feature values for.

Returns
Type Description
FeatureViewDataKey|null

hasDataKey

clearDataKey

setDataKey

Optional. The request key to fetch feature values for.

Parameter
Name Description
var FeatureViewDataKey
Returns
Type Description
$this

getDataFormat

Optional. Response data format. If not set, FeatureViewDataFormat.KEY_VALUE will be used.

Returns
Type Description
int

setDataFormat

Optional. Response data format. If not set, FeatureViewDataFormat.KEY_VALUE will be used.

Parameter
Name Description
var int
Returns
Type Description
$this

static::build

Parameters
Name Description
featureView string

Required. FeatureView resource format projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView} Please see FeatureOnlineStoreServiceClient::featureViewName() for help formatting this field.

dataKey FeatureViewDataKey

Optional. The request key to fetch feature values for.

Returns
Type Description
FetchFeatureValuesRequest