Google Cloud Ai Platform V1 Client - Class FetchFeatureValuesRequest (0.30.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
NameDescription
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 Google\Cloud\AIPlatform\V1\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
TypeDescription
string

setFeatureView

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDataKey

Optional. The request key to fetch feature values for.

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

hasDataKey

clearDataKey

setDataKey

Optional. The request key to fetch feature values for.

Parameter
NameDescription
var Google\Cloud\AIPlatform\V1\FeatureViewDataKey
Returns
TypeDescription
$this

getDataFormat

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

Returns
TypeDescription
int

setDataFormat

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
featureView string

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

dataKey Google\Cloud\AIPlatform\V1\FeatureViewDataKey

Optional. The request key to fetch feature values for.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\FetchFeatureValuesRequest