Google Cloud Ai Platform V1 Client - Class WriteFeatureValuesRequest (1.1.0)

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

Request message for FeaturestoreOnlineServingService.WriteFeatureValues.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ entity_type string

Required. The resource name of the EntityType for the entities being written. Value format: projects/{project}/locations/{location}/featurestores/ {featurestore}/entityTypes/{entityType}. For example, for a machine learning model predicting user clicks on a website, an EntityType ID could be user.

↳ payloads array<Google\Cloud\AIPlatform\V1\WriteFeatureValuesPayload>

Required. The entities to be written. Up to 100,000 feature values can be written across all payloads.

getEntityType

Required. The resource name of the EntityType for the entities being written. Value format: projects/{project}/locations/{location}/featurestores/ {featurestore}/entityTypes/{entityType}. For example, for a machine learning model predicting user clicks on a website, an EntityType ID could be user.

Returns
Type Description
string

setEntityType

Required. The resource name of the EntityType for the entities being written. Value format: projects/{project}/locations/{location}/featurestores/ {featurestore}/entityTypes/{entityType}. For example, for a machine learning model predicting user clicks on a website, an EntityType ID could be user.

Parameter
Name Description
var string
Returns
Type Description
$this

getPayloads

Required. The entities to be written. Up to 100,000 feature values can be written across all payloads.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setPayloads

Required. The entities to be written. Up to 100,000 feature values can be written across all payloads.

Parameter
Name Description
var array<Google\Cloud\AIPlatform\V1\WriteFeatureValuesPayload>
Returns
Type Description
$this

static::build

Parameters
Name Description
entityType string

Required. The resource name of the EntityType for the entities being written. Value format: projects/{project}/locations/{location}/featurestores/ {featurestore}/entityTypes/{entityType}. For example, for a machine learning model predicting user clicks on a website, an EntityType ID could be user. Please see Google\Cloud\AIPlatform\V1\FeaturestoreOnlineServingServiceClient::entityTypeName() for help formatting this field.

payloads array<Google\Cloud\AIPlatform\V1\WriteFeatureValuesPayload>

Required. The entities to be written. Up to 100,000 feature values can be written across all payloads.

Returns
Type Description
Google\Cloud\AIPlatform\V1\WriteFeatureValuesRequest