Recommendations AI V1beta1 API - Class Google::Cloud::RecommendationEngine::V1beta1::PredictionApiKeyRegistry::Rest::ServiceStub (v0.6.1)

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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)

#initialize

def initialize(endpoint:, credentials:) -> ServiceStub
Returns

#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

Parameters
Yields
  • (result, operation) — Access the result along with the TransportOperation object
Yield Parameters
Returns
Raises
  • (::ArgumentError)