Google Cloud Ai Platform V1 Client - Class FeatureViewDirectWriteResponse (1.34.0)

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

Response message for FeatureOnlineStoreService.FeatureViewDirectWrite.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ status Google\Rpc\Status

Response status for the keys listed in FeatureViewDirectWriteResponse.write_responses. The error only applies to the listed data keys - the stream will remain open for further FeatureOnlineStoreService.FeatureViewDirectWriteRequest requests. Partial failures (e.g. if the first 10 keys of a request fail, but the rest succeed) from a single request may result in multiple responses - there will be one response for the successful request keys and one response for the failing request keys.

↳ write_responses array<FeatureViewDirectWriteResponse\WriteResponse>

Details about write for each key. If status is not OK, WriteResponse.data_key will have the key with error, but WriteResponse.online_store_write_time will not be present.

getStatus

Response status for the keys listed in FeatureViewDirectWriteResponse.write_responses.

The error only applies to the listed data keys - the stream will remain open for further FeatureOnlineStoreService.FeatureViewDirectWriteRequest requests. Partial failures (e.g. if the first 10 keys of a request fail, but the rest succeed) from a single request may result in multiple responses - there will be one response for the successful request keys and one response for the failing request keys.

Returns
Type Description
Google\Rpc\Status|null

hasStatus

clearStatus

setStatus

Response status for the keys listed in FeatureViewDirectWriteResponse.write_responses.

The error only applies to the listed data keys - the stream will remain open for further FeatureOnlineStoreService.FeatureViewDirectWriteRequest requests. Partial failures (e.g. if the first 10 keys of a request fail, but the rest succeed) from a single request may result in multiple responses - there will be one response for the successful request keys and one response for the failing request keys.

Parameter
Name Description
var Google\Rpc\Status
Returns
Type Description
$this

getWriteResponses

Details about write for each key. If status is not OK, WriteResponse.data_key will have the key with error, but WriteResponse.online_store_write_time will not be present.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setWriteResponses

Details about write for each key. If status is not OK, WriteResponse.data_key will have the key with error, but WriteResponse.online_store_write_time will not be present.

Parameter
Name Description
var array<FeatureViewDirectWriteResponse\WriteResponse>
Returns
Type Description
$this