Google Cloud Ai Platform V1 Client - Class WriteFeatureValuesRequest (0.27.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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getPayloads

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPayloads

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

Parameter
NameDescription
var array<Google\Cloud\AIPlatform\V1\WriteFeatureValuesPayload>
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\AIPlatform\V1\WriteFeatureValuesRequest