Class: Google::Cloud::AIPlatform::V1::FeatureViewDirectWriteResponse
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::FeatureViewDirectWriteResponse
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb
Overview
Response message for FeatureOnlineStoreService.FeatureViewDirectWrite.
Defined Under Namespace
Classes: WriteResponse
Instance Attribute Summary collapse
-
#status ⇒ ::Google::Rpc::Status
Response status for the keys listed in FeatureViewDirectWriteResponse.write_responses.
-
#write_responses ⇒ ::Array<::Google::Cloud::AIPlatform::V1::FeatureViewDirectWriteResponse::WriteResponse>
Details about write for each key.
Instance Attribute Details
#status ⇒ ::Google::Rpc::Status
Returns 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.
379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 |
# File 'proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb', line 379 class FeatureViewDirectWriteResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Details about the write for each key. # @!attribute [rw] data_key # @return [::Google::Cloud::AIPlatform::V1::FeatureViewDataKey] # What key is this write response associated with. # @!attribute [rw] online_store_write_time # @return [::Google::Protobuf::Timestamp] # When the feature values were written to the online store. # If # {::Google::Cloud::AIPlatform::V1::FeatureViewDirectWriteResponse#status FeatureViewDirectWriteResponse.status} # is not OK, this field is not populated. class WriteResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#write_responses ⇒ ::Array<::Google::Cloud::AIPlatform::V1::FeatureViewDirectWriteResponse::WriteResponse>
Returns 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.
379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 |
# File 'proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb', line 379 class FeatureViewDirectWriteResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Details about the write for each key. # @!attribute [rw] data_key # @return [::Google::Cloud::AIPlatform::V1::FeatureViewDataKey] # What key is this write response associated with. # @!attribute [rw] online_store_write_time # @return [::Google::Protobuf::Timestamp] # When the feature values were written to the online store. # If # {::Google::Cloud::AIPlatform::V1::FeatureViewDirectWriteResponse#status FeatureViewDirectWriteResponse.status} # is not OK, this field is not populated. class WriteResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |