blob: d3846c9dbef91a80ce1a0183faf1cca5d17c7d33 [file] [log] [blame]
// Copyright 2019 The LUCI Authors. All rights reserved.
// Use of this source code is governed under the Apache License, Version 2.0
// that can be found in the LICENSE file.
syntax = "proto3";
option go_package = "go.chromium.org/luci/gce/api/projects/v1;projects";
package projects;
import "go.chromium.org/luci/common/proto/options.proto";
option (luci.file_metadata) = {
doc_url: "https://luci-config.appspot.com/schemas/services/gce-provider:projects.cfg";
};
// A config for a GCP project to report GCE quota utilization for.
message Config {
// The names of GCE quota metrics to report.
// https://cloud.google.com/compute/docs/reference/rest/v1/regions/list.
repeated string metric = 1;
// The name of a GCP project to report GCE quota utilization for.
string project = 2;
// The names of GCE regions to report.
// https://cloud.google.com/compute/docs/reference/rest/v1/regions/list.
repeated string region = 3;
// Should only be set by the server. The revision of this config.
string revision = 4;
}
// A config for several projects to report GCE quota utilization for.
message Configs {
// The projects to report GCE quota utilization for.
repeated Config project = 1;
}