go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/gce/api/projects/v1/config.proto (about)

     1  // Copyright 2019 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  option go_package = "go.chromium.org/luci/gce/api/projects/v1;projects";
     8  
     9  package projects;
    10  
    11  import "go.chromium.org/luci/common/proto/options.proto";
    12  
    13  option (luci.file_metadata) = {
    14    doc_url: "https://config.luci.app/schemas/services/gce-provider:projects.cfg";
    15  };
    16  
    17  // A config for a GCP project to report GCE quota utilization for.
    18  message Config {
    19    // The names of GCE quota metrics to report.
    20    // https://cloud.google.com/compute/docs/reference/rest/v1/regions/list.
    21    repeated string metric = 1;
    22  
    23    // The name of a GCP project to report GCE quota utilization for.
    24    string project = 2;
    25  
    26    // The names of GCE regions to report.
    27    // https://cloud.google.com/compute/docs/reference/rest/v1/regions/list.
    28    repeated string region = 3;
    29  
    30    // Should only be set by the server. The revision of this config.
    31    string revision = 4;
    32  }
    33  
    34  // A config for several projects to report GCE quota utilization for.
    35  message Configs {
    36    // The projects to report GCE quota utilization for.
    37    repeated Config project = 1;
    38  }