go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/server/quota/quotapb/request_entry.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 "validate/validate.proto";
     8  
     9  option go_package = "go.chromium.org/luci/server/quota/quotapb";
    10  
    11  package go.chromium.org.luci.server.quota.quotapb;
    12  
    13  // An RequestDedupEntry represents the data used for a unique request
    14  // deduplication entry key.
    15  message RequestDedupKey {
    16    // The luci auth Identity which issued this request.
    17    string ident = 1 [
    18      (validate.rules).string.not_contains = "~"
    19    ];
    20  
    21    // The user-supplied request id.
    22    string request_id = 2 [
    23      (validate.rules).string.not_contains = "~"
    24    ];
    25  }
    26