123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394 |
- syntax = "proto3";
- package google.api.serviceusage.v1beta1;
- import "google/api/auth.proto";
- import "google/api/documentation.proto";
- import "google/api/endpoint.proto";
- import "google/api/monitored_resource.proto";
- import "google/api/monitoring.proto";
- import "google/api/quota.proto";
- import "google/api/usage.proto";
- import "google/protobuf/api.proto";
- option csharp_namespace = "Google.Api.ServiceUsage.V1Beta1";
- option go_package = "google.golang.org/genproto/googleapis/api/serviceusage/v1beta1;serviceusage";
- option java_multiple_files = true;
- option java_outer_classname = "ResourcesProto";
- option java_package = "com.google.api.serviceusage.v1beta1";
- option php_namespace = "Google\\Api\\ServiceUsage\\V1beta1";
- option ruby_package = "Google::Api::ServiceUsage::V1beta1";
- message Service {
-
-
-
-
- string name = 1;
-
-
-
-
- string parent = 5;
-
-
-
-
- ServiceConfig config = 2;
-
- State state = 4;
- }
- enum State {
-
-
-
- STATE_UNSPECIFIED = 0;
-
-
- DISABLED = 1;
-
- ENABLED = 2;
- }
- message ServiceConfig {
-
-
-
-
- string name = 1;
-
- string title = 2;
-
-
- repeated google.protobuf.Api apis = 3;
-
-
- google.api.Documentation documentation = 6;
-
- google.api.Quota quota = 10;
-
- google.api.Authentication authentication = 11;
-
- google.api.Usage usage = 15;
-
-
- repeated google.api.Endpoint endpoints = 18;
-
-
- repeated google.api.MonitoredResourceDescriptor monitored_resources = 25;
-
-
- google.api.Monitoring monitoring = 28;
- }
- message OperationMetadata {
-
-
- repeated string resource_names = 2;
- }
- message ConsumerQuotaMetric {
-
-
-
-
-
-
-
- string name = 1;
-
-
-
-
- string metric = 4;
-
-
-
-
- string display_name = 2;
-
- repeated ConsumerQuotaLimit consumer_quota_limits = 3;
-
-
-
-
-
-
-
-
-
- repeated ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
-
- string unit = 5;
- }
- message ConsumerQuotaLimit {
-
-
-
-
-
-
-
- string name = 1;
-
-
-
-
- string metric = 8;
-
-
-
-
-
-
- string unit = 2;
-
- bool is_precise = 3;
-
- bool allows_admin_overrides = 7;
-
-
-
- repeated QuotaBucket quota_buckets = 9;
- }
- enum QuotaView {
-
-
- QUOTA_VIEW_UNSPECIFIED = 0;
-
- BASIC = 1;
-
-
-
-
-
-
- FULL = 2;
- }
- message QuotaBucket {
-
-
- int64 effective_limit = 1;
-
-
- int64 default_limit = 2;
-
- QuotaOverride producer_override = 3;
-
- QuotaOverride consumer_override = 4;
-
- QuotaOverride admin_override = 5;
-
-
-
-
-
-
-
-
-
-
-
- map<string, string> dimensions = 6;
- }
- message QuotaOverride {
-
-
-
-
-
-
-
-
-
- string name = 1;
-
-
- int64 override_value = 2;
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- map<string, string> dimensions = 3;
-
-
-
-
- string metric = 4;
-
-
-
-
-
-
- string unit = 5;
-
-
-
- string admin_override_ancestor = 6;
- }
- message OverrideInlineSource {
-
-
-
-
- repeated QuotaOverride overrides = 1;
- }
- enum QuotaSafetyCheck {
-
- QUOTA_SAFETY_CHECK_UNSPECIFIED = 0;
-
-
- LIMIT_DECREASE_BELOW_USAGE = 1;
-
-
- LIMIT_DECREASE_PERCENTAGE_TOO_HIGH = 2;
- }
- message AdminQuotaPolicy {
-
-
-
-
-
- string name = 1;
-
-
- int64 policy_value = 2;
-
-
-
-
-
-
-
-
-
-
-
-
-
- map<string, string> dimensions = 3;
-
-
-
-
- string metric = 4;
-
-
-
-
-
-
- string unit = 5;
-
-
- string container = 6;
- }
- message ServiceIdentity {
-
-
- string email = 1;
-
-
- string unique_id = 2;
- }
|