Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::FeaturestoreOnlineServingService::Rest::ServiceStub.
REST service stub for the FeaturestoreOnlineServingService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#initialize
def initialize(endpoint:, endpoint_template:, universe_domain:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#read_feature_values
def read_feature_values(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::ReadFeatureValuesResponse
Baseline implementation for the read_feature_values REST call
- request_pb (::Google::Cloud::AIPlatform::V1::ReadFeatureValuesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AIPlatform::V1::ReadFeatureValuesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::ReadFeatureValuesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#streaming_read_feature_values
def streaming_read_feature_values(request_pb, options = nil, &block) { |chunk| ... } -> ::Gapic::Rest::TransportOperation
Baseline implementation for the streaming_read_feature_values REST call
- request_pb (::Google::Cloud::AIPlatform::V1::StreamingReadFeatureValuesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- chunk (::String) — The chunk of data received during server streaming.
- (::Gapic::Rest::TransportOperation)
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#write_feature_values
def write_feature_values(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::AIPlatform::V1::WriteFeatureValuesResponse
Baseline implementation for the write_feature_values REST call
- request_pb (::Google::Cloud::AIPlatform::V1::WriteFeatureValuesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::AIPlatform::V1::WriteFeatureValuesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::AIPlatform::V1::WriteFeatureValuesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)