1// Copyright 2020 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14//
15// Contains common resources for recommendationengine/v1beta1.
16
17syntax = "proto3";
18
19package google.cloud.recommendationengine.v1beta1;
20
21import "google/api/resource.proto";
22
23option csharp_namespace = "Google.Cloud.RecommendationEngine.V1Beta1";
24option go_package = "cloud.google.com/go/recommendationengine/apiv1beta1/recommendationenginepb;recommendationenginepb";
25option java_multiple_files = true;
26option java_package = "com.google.cloud.recommendationengine.v1beta1";
27option objc_class_prefix = "RECAI";
28option php_namespace = "Google\\Cloud\\RecommendationEngine\\V1beta1";
29option ruby_package = "Google::Cloud::RecommendationEngine::V1beta1";
30option (google.api.resource_definition) = {
31  type: "recommendationengine.googleapis.com/Catalog"
32  pattern: "projects/{project}/locations/{location}/catalogs/{catalog}"
33};
34option (google.api.resource_definition) = {
35  type: "recommendationengine.googleapis.com/CatalogItemPath"
36  pattern: "projects/{project}/locations/{location}/catalogs/{catalog}/catalogItems/{catalog_item_path}"
37};
38option (google.api.resource_definition) = {
39  type: "recommendationengine.googleapis.com/EventStore"
40  pattern: "projects/{project}/locations/{location}/catalogs/{catalog}/eventStores/{event_store}"
41};
42option (google.api.resource_definition) = {
43  type: "recommendationengine.googleapis.com/PredictionApiKeyRegistration"
44  pattern: "projects/{project}/locations/{location}/catalogs/{catalog}/eventStores/{event_store}/predictionApiKeyRegistrations/{prediction_api_key_registration}"
45};
46option (google.api.resource_definition) = {
47  type: "recommendationengine.googleapis.com/Placement"
48  pattern: "projects/{project}/locations/{location}/catalogs/{catalog}/eventStores/{event_store}/placements/{placement}"
49};
50