go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/server/quota/quotapb/policy_config.proto (about)

     1  // Copyright 2022 The LUCI Authors. All rights reserved.
     2  // Use of this source code is governed under the Apache License, Version 2.0
     3  // that can be found in the LICENSE file.
     4  
     5  syntax = "proto3";
     6  
     7  import "go.chromium.org/luci/server/quota/quotapb/ids.proto";
     8  import "go.chromium.org/luci/server/quota/quotapb/policy.proto";
     9  
    10  option go_package = "go.chromium.org/luci/server/quota/quotapb";
    11  
    12  package go.chromium.org.luci.server.quota.quotapb;
    13  
    14  // A PolicyConfig encapsulates a set of quota policies.
    15  message PolicyConfig {
    16    message Entry {
    17      PolicyKey key = 1;
    18      Policy policy = 2;
    19    }
    20    repeated Entry policies = 1;
    21  }