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
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.

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

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.

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

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.

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

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.

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

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