1// Copyright 2021 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 15syntax = "proto3"; 16 17package google.cloud.gkehub.multiclusteringress.v1beta; 18 19 20option csharp_namespace = "Google.Cloud.GkeHub.MultiClusterIngress.V1Beta"; 21option go_package = "cloud.google.com/go/gkehub/multiclusteringress/apiv1beta/multiclusteringresspb;multiclusteringresspb"; 22option java_multiple_files = true; 23option java_outer_classname = "MultiClusterIngressProto"; 24option java_package = "com.google.cloud.gkehub.multiclusteringress.v1beta"; 25option php_namespace = "Google\\Cloud\\GkeHub\\MultiClusterIngress\\V1beta"; 26option ruby_package = "Google::Cloud::GkeHub::MultiClusterIngress::V1beta"; 27 28// Billing identifies which billing structure the customer is using. 29enum Billing { 30 // Unknown 31 BILLING_UNSPECIFIED = 0; 32 33 // User pays a fee per-endpoint. 34 PAY_AS_YOU_GO = 1; 35 36 // User is paying for Anthos as a whole. 37 ANTHOS_LICENSE = 2; 38} 39 40// **Multi-cluster Ingress**: The configuration for the MultiClusterIngress 41// feature. 42message FeatureSpec { 43 // Fully-qualified Membership name which hosts the MultiClusterIngress CRD. 44 // Example: `projects/foo-proj/locations/global/memberships/bar` 45 string config_membership = 1; 46 47 // Customer's billing structure 48 Billing billing = 2; 49} 50