Reference documentation and code samples for the Recommendations AI V1beta1 API class Google::Cloud::RecommendationEngine::V1beta1::PredictionApiKeyRegistry::Rest::ServiceStub.
REST service stub for the PredictionApiKeyRegistry service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_prediction_api_key_registration
def create_prediction_api_key_registration(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::RecommendationEngine::V1beta1::PredictionApiKeyRegistration
Baseline implementation for the create_prediction_api_key_registration REST call
- request_pb (::Google::Cloud::RecommendationEngine::V1beta1::CreatePredictionApiKeyRegistrationRequest) — 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::RecommendationEngine::V1beta1::PredictionApiKeyRegistration)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::RecommendationEngine::V1beta1::PredictionApiKeyRegistration) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_prediction_api_key_registration
def delete_prediction_api_key_registration(request_pb, options = nil) { |result, operation| ... } -> ::Google::Protobuf::Empty
Baseline implementation for the delete_prediction_api_key_registration REST call
- request_pb (::Google::Cloud::RecommendationEngine::V1beta1::DeletePredictionApiKeyRegistrationRequest) — 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::Protobuf::Empty)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Protobuf::Empty) — A result object deserialized from the server's reply
- (::ArgumentError)
#initialize
def initialize(endpoint:, credentials:) -> ServiceStub
- (ServiceStub) — a new instance of ServiceStub
#list_prediction_api_key_registrations
def list_prediction_api_key_registrations(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::RecommendationEngine::V1beta1::ListPredictionApiKeyRegistrationsResponse
Baseline implementation for the list_prediction_api_key_registrations REST call
- request_pb (::Google::Cloud::RecommendationEngine::V1beta1::ListPredictionApiKeyRegistrationsRequest) — 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::RecommendationEngine::V1beta1::ListPredictionApiKeyRegistrationsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::RecommendationEngine::V1beta1::ListPredictionApiKeyRegistrationsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)