aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/googleapis-common-protos/google/api/billing.proto
diff options
context:
space:
mode:
authorbugaevskiy <bugaevskiy@yandex-team.com>2022-07-24 00:18:56 +0300
committerbugaevskiy <bugaevskiy@yandex-team.com>2022-07-24 00:18:56 +0300
commit574b79287767a711217816f3c0719095e56f2b66 (patch)
tree6ec67349afe5d8b61c85bc6fd4bb1331486ece42 /contrib/libs/googleapis-common-protos/google/api/billing.proto
parentbdfa64a2dfbfa18015103f731c6017fd61a34842 (diff)
downloadydb-574b79287767a711217816f3c0719095e56f2b66.tar.gz
Reimport boost/array as a separate project
Diffstat (limited to 'contrib/libs/googleapis-common-protos/google/api/billing.proto')
-rw-r--r--contrib/libs/googleapis-common-protos/google/api/billing.proto30
1 files changed, 19 insertions, 11 deletions
diff --git a/contrib/libs/googleapis-common-protos/google/api/billing.proto b/contrib/libs/googleapis-common-protos/google/api/billing.proto
index 54c6cca97a..e94c2ec581 100644
--- a/contrib/libs/googleapis-common-protos/google/api/billing.proto
+++ b/contrib/libs/googleapis-common-protos/google/api/billing.proto
@@ -1,4 +1,4 @@
-// Copyright 2018 Google LLC.
+// Copyright 2015 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -16,34 +16,42 @@ syntax = "proto3";
package google.api;
-import "google/api/annotations.proto";
-
option go_package = "google.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig";
option java_multiple_files = true;
option java_outer_classname = "BillingProto";
option java_package = "com.google.api";
option objc_class_prefix = "GAPI";
-
// Billing related configuration of the service.
//
// The following example shows how to configure monitored resources and metrics
-// for billing:
+// for billing, `consumer_destinations` is the only supported destination and
+// the monitored resources need at least one label key
+// `cloud.googleapis.com/location` to indicate the location of the billing
+// usage, using different monitored resources between monitoring and billing is
+// recommended so they can be evolved independently:
+//
//
// monitored_resources:
-// - type: library.googleapis.com/branch
+// - type: library.googleapis.com/billing_branch
// labels:
-// - key: /city
-// description: The city where the library branch is located in.
-// - key: /name
-// description: The name of the branch.
+// - key: cloud.googleapis.com/location
+// description: |
+// Predefined label to support billing location restriction.
+// - key: city
+// description: |
+// Custom label to define the city where the library branch is located
+// in.
+// - key: name
+// description: Custom label to define the name of the library branch.
// metrics:
// - name: library.googleapis.com/book/borrowed_count
// metric_kind: DELTA
// value_type: INT64
+// unit: "1"
// billing:
// consumer_destinations:
-// - monitored_resource: library.googleapis.com/branch
+// - monitored_resource: library.googleapis.com/billing_branch
// metrics:
// - library.googleapis.com/book/borrowed_count
message Billing {