Sha256: 1e5059dde7061d17e47a38978cd2eb6072da37f1b20f5f9bf4a8fd4921878d85

Contents?: true

Size: 1.86 KB

Versions: 16

Compression:

Stored size: 1.86 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: google/cloud/recommendationengine/v1beta1/prediction_service.proto for package 'Google.Cloud.RecommendationEngine.V1beta1'
# Original file comments:
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

require 'grpc'
require 'google/cloud/recommendationengine/v1beta1/prediction_service_pb'

module Google
  module Cloud
    module RecommendationEngine
      module V1beta1
        module PredictionService
          # Service for making recommendation prediction.
          class Service

            include ::GRPC::GenericService

            self.marshal_class_method = :encode
            self.unmarshal_class_method = :decode
            self.service_name = 'google.cloud.recommendationengine.v1beta1.PredictionService'

            # Makes a recommendation prediction. If using API Key based authentication,
            # the API Key must be registered using the
            # [PredictionApiKeyRegistry][google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistry]
            # service. [Learn more](/recommendations-ai/docs/setting-up#register-key).
            rpc :Predict, ::Google::Cloud::RecommendationEngine::V1beta1::PredictRequest, ::Google::Cloud::RecommendationEngine::V1beta1::PredictResponse
          end

          Stub = Service.rpc_stub_class
        end
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
google-cloud-recommendation_engine-v1beta1-0.9.2 lib/google/cloud/recommendationengine/v1beta1/prediction_service_services_pb.rb
google-cloud-recommendation_engine-v1beta1-0.9.1 lib/google/cloud/recommendationengine/v1beta1/prediction_service_services_pb.rb
google-cloud-recommendation_engine-v1beta1-0.9.0 lib/google/cloud/recommendationengine/v1beta1/prediction_service_services_pb.rb
google-cloud-recommendation_engine-v1beta1-0.8.2 lib/google/cloud/recommendationengine/v1beta1/prediction_service_services_pb.rb
google-cloud-recommendation_engine-v1beta1-0.8.1 lib/google/cloud/recommendationengine/v1beta1/prediction_service_services_pb.rb
google-cloud-recommendation_engine-v1beta1-0.8.0 lib/google/cloud/recommendationengine/v1beta1/prediction_service_services_pb.rb
google-cloud-recommendation_engine-v1beta1-0.7.0 lib/google/cloud/recommendationengine/v1beta1/prediction_service_services_pb.rb
google-cloud-recommendation_engine-v1beta1-0.6.1 lib/google/cloud/recommendationengine/v1beta1/prediction_service_services_pb.rb
google-cloud-recommendation_engine-v1beta1-0.6.0 lib/google/cloud/recommendationengine/v1beta1/prediction_service_services_pb.rb
google-cloud-recommendation_engine-v1beta1-0.5.0 lib/google/cloud/recommendationengine/v1beta1/prediction_service_services_pb.rb
google-cloud-recommendation_engine-v1beta1-0.4.1 lib/google/cloud/recommendationengine/v1beta1/prediction_service_services_pb.rb
google-cloud-recommendation_engine-v1beta1-0.4.0 lib/google/cloud/recommendationengine/v1beta1/prediction_service_services_pb.rb
google-cloud-recommendation_engine-v1beta1-0.3.7 lib/google/cloud/recommendationengine/v1beta1/prediction_service_services_pb.rb
google-cloud-recommendation_engine-v1beta1-0.3.6 lib/google/cloud/recommendationengine/v1beta1/prediction_service_services_pb.rb
google-cloud-recommendation_engine-v1beta1-0.3.5 lib/google/cloud/recommendationengine/v1beta1/prediction_service_services_pb.rb
google-cloud-recommendation_engine-v1beta1-0.3.2 lib/google/cloud/recommendationengine/v1beta1/prediction_service_services_pb.rb