1*d5c09012SAndroid Build Coastguard Worker// Copyright 2021 Google LLC 2*d5c09012SAndroid Build Coastguard Worker// 3*d5c09012SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License"); 4*d5c09012SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License. 5*d5c09012SAndroid Build Coastguard Worker// You may obtain a copy of the License at 6*d5c09012SAndroid Build Coastguard Worker// 7*d5c09012SAndroid Build Coastguard Worker// http://www.apache.org/licenses/LICENSE-2.0 8*d5c09012SAndroid Build Coastguard Worker// 9*d5c09012SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software 10*d5c09012SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS, 11*d5c09012SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*d5c09012SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and 13*d5c09012SAndroid Build Coastguard Worker// limitations under the License. 14*d5c09012SAndroid Build Coastguard Worker 15*d5c09012SAndroid Build Coastguard Workersyntax = "proto3"; 16*d5c09012SAndroid Build Coastguard Worker 17*d5c09012SAndroid Build Coastguard Workerpackage google.cloud.retail.v2beta; 18*d5c09012SAndroid Build Coastguard Worker 19*d5c09012SAndroid Build Coastguard Workeroption csharp_namespace = "Google.Cloud.Retail.V2Beta"; 20*d5c09012SAndroid Build Coastguard Workeroption go_package = "cloud.google.com/go/retail/apiv2beta/retailpb;retailpb"; 21*d5c09012SAndroid Build Coastguard Workeroption java_multiple_files = true; 22*d5c09012SAndroid Build Coastguard Workeroption java_outer_classname = "PromotionProto"; 23*d5c09012SAndroid Build Coastguard Workeroption java_package = "com.google.cloud.retail.v2beta"; 24*d5c09012SAndroid Build Coastguard Workeroption objc_class_prefix = "RETAIL"; 25*d5c09012SAndroid Build Coastguard Workeroption php_namespace = "Google\\Cloud\\Retail\\V2beta"; 26*d5c09012SAndroid Build Coastguard Workeroption ruby_package = "Google::Cloud::Retail::V2beta"; 27*d5c09012SAndroid Build Coastguard Worker 28*d5c09012SAndroid Build Coastguard Worker// Promotion information. 29*d5c09012SAndroid Build Coastguard Workermessage Promotion { 30*d5c09012SAndroid Build Coastguard Worker // ID of the promotion. For example, "free gift". 31*d5c09012SAndroid Build Coastguard Worker // 32*d5c09012SAndroid Build Coastguard Worker // The value must be a UTF-8 encoded string with a length limit of 128 33*d5c09012SAndroid Build Coastguard Worker // characters, and match the pattern: `[a-zA-Z][a-zA-Z0-9_]*`. For example, 34*d5c09012SAndroid Build Coastguard Worker // id0LikeThis or ID_1_LIKE_THIS. Otherwise, an INVALID_ARGUMENT error is 35*d5c09012SAndroid Build Coastguard Worker // returned. 36*d5c09012SAndroid Build Coastguard Worker // 37*d5c09012SAndroid Build Coastguard Worker // Google Merchant Center property 38*d5c09012SAndroid Build Coastguard Worker // [promotion](https://support.google.com/merchants/answer/7050148). 39*d5c09012SAndroid Build Coastguard Worker string promotion_id = 1; 40*d5c09012SAndroid Build Coastguard Worker} 41