Google Cloud Ai Platform V1 Client - Class WriteFeatureValuesRequest (0.10.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

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.

Generated from protobuf field string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

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.

Generated from protobuf field string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

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.

Generated from protobuf field repeated .google.cloud.aiplatform.v1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];

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.

Generated from protobuf field repeated .google.cloud.aiplatform.v1.WriteFeatureValuesPayload payloads = 2 [(.google.api.field_behavior) = REQUIRED];

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