@alphauspkgs/blue-sdk-ts 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (265) hide show
  1. package/README.md +32 -0
  2. package/admin/v1/admin_pb.js +239 -0
  3. package/admin/v1/admin_pb.ts +1604 -0
  4. package/admin/v1/client.js +9 -0
  5. package/admin/v1/client.ts +7 -0
  6. package/api/account_pb.js +22 -0
  7. package/api/account_pb.ts +132 -0
  8. package/api/accountgroup_pb.js +18 -0
  9. package/api/accountgroup_pb.ts +56 -0
  10. package/api/adjustment_pb.js +26 -0
  11. package/api/adjustment_pb.ts +102 -0
  12. package/api/apiclient_pb.js +16 -0
  13. package/api/apiclient_pb.ts +66 -0
  14. package/api/audit_pb.js +21 -0
  15. package/api/audit_pb.ts +70 -0
  16. package/api/aws/breakeven_pb.js +21 -0
  17. package/api/aws/breakeven_pb.ts +93 -0
  18. package/api/aws/calculator_pb.js +31 -0
  19. package/api/aws/calculator_pb.ts +138 -0
  20. package/api/aws/cost_pb.js +22 -0
  21. package/api/aws/cost_pb.ts +315 -0
  22. package/api/aws/recommendation_pb.js +36 -0
  23. package/api/aws/recommendation_pb.ts +338 -0
  24. package/api/aws/reduction_pb.js +31 -0
  25. package/api/aws/reduction_pb.ts +416 -0
  26. package/api/azure/cost_pb.js +21 -0
  27. package/api/azure/cost_pb.ts +268 -0
  28. package/api/azureea/cost_pb.js +16 -0
  29. package/api/azureea/cost_pb.ts +141 -0
  30. package/api/budget_pb.js +57 -0
  31. package/api/budget_pb.ts +293 -0
  32. package/api/costtag_pb.js +17 -0
  33. package/api/costtag_pb.ts +77 -0
  34. package/api/cover/accountaccess_pb.js +46 -0
  35. package/api/cover/accountaccess_pb.ts +334 -0
  36. package/api/cover/alert_pb.js +36 -0
  37. package/api/cover/alert_pb.ts +183 -0
  38. package/api/cover/applyrecommendation_pb.js +41 -0
  39. package/api/cover/applyrecommendation_pb.ts +133 -0
  40. package/api/cover/asset_pb.js +26 -0
  41. package/api/cover/asset_pb.ts +305 -0
  42. package/api/cover/attribute_pb.js +21 -0
  43. package/api/cover/attribute_pb.ts +58 -0
  44. package/api/cover/budget_pb.js +42 -0
  45. package/api/cover/budget_pb.ts +275 -0
  46. package/api/cover/costforecast_pb.js +16 -0
  47. package/api/cover/costforecast_pb.ts +81 -0
  48. package/api/cover/costgroup_pb.js +89 -0
  49. package/api/cover/costgroup_pb.ts +473 -0
  50. package/api/cover/discountplan_pb.js +31 -0
  51. package/api/cover/discountplan_pb.ts +461 -0
  52. package/api/cover/discountrecommendation_pb.js +96 -0
  53. package/api/cover/discountrecommendation_pb.ts +500 -0
  54. package/api/cover/insightreport_pb.js +26 -0
  55. package/api/cover/insightreport_pb.ts +167 -0
  56. package/api/cover/optimizationrecommendation_pb.js +262 -0
  57. package/api/cover/optimizationrecommendation_pb.ts +1964 -0
  58. package/api/cover/recommendation/aws_pb.js +407 -0
  59. package/api/cover/recommendation/aws_pb.ts +2418 -0
  60. package/api/cover/recommendation/azurecsp_pb.js +16 -0
  61. package/api/cover/recommendation/azurecsp_pb.ts +27 -0
  62. package/api/cover/recommendation/gcp_pb.js +27 -0
  63. package/api/cover/recommendation/gcp_pb.ts +91 -0
  64. package/api/cover/recommendation/octoaws_pb.js +22 -0
  65. package/api/cover/recommendation/octoaws_pb.ts +55 -0
  66. package/api/cover/recommendation/octoazurecsp_pb.js +16 -0
  67. package/api/cover/recommendation/octoazurecsp_pb.ts +27 -0
  68. package/api/cover/recommendation/octogcp_pb.js +16 -0
  69. package/api/cover/recommendation/octogcp_pb.ts +27 -0
  70. package/api/cover/recommendation/recommendation_pb.js +27 -0
  71. package/api/cover/recommendation/recommendation_pb.ts +190 -0
  72. package/api/cover/rightsizingrecommendation_pb.js +21 -0
  73. package/api/cover/rightsizingrecommendation_pb.ts +133 -0
  74. package/api/cover/unitcost_pb.js +82 -0
  75. package/api/cover/unitcost_pb.ts +576 -0
  76. package/api/cover/user_pb.js +26 -0
  77. package/api/cover/user_pb.ts +330 -0
  78. package/api/cover/view_pb.js +53 -0
  79. package/api/cover/view_pb.ts +393 -0
  80. package/api/coverage_pb.js +31 -0
  81. package/api/coverage_pb.ts +132 -0
  82. package/api/forecast_pb.js +61 -0
  83. package/api/forecast_pb.ts +346 -0
  84. package/api/gcp/cost_pb.js +16 -0
  85. package/api/gcp/cost_pb.ts +128 -0
  86. package/api/grouprootuser_pb.js +21 -0
  87. package/api/grouprootuser_pb.ts +390 -0
  88. package/api/invoice_pb.js +96 -0
  89. package/api/invoice_pb.ts +905 -0
  90. package/api/keyvalue_pb.js +21 -0
  91. package/api/keyvalue_pb.ts +72 -0
  92. package/api/notification_pb.js +46 -0
  93. package/api/notification_pb.ts +232 -0
  94. package/api/pricing/details_pb.js +17 -0
  95. package/api/pricing/details_pb.ts +172 -0
  96. package/api/rbac_pb.js +31 -0
  97. package/api/rbac_pb.ts +142 -0
  98. package/api/ripple/accessgroup_pb.js +16 -0
  99. package/api/ripple/accessgroup_pb.ts +48 -0
  100. package/api/ripple/billinggroup_pb.js +16 -0
  101. package/api/ripple/billinggroup_pb.ts +154 -0
  102. package/api/ripple/customfield_pb.js +16 -0
  103. package/api/ripple/customfield_pb.ts +49 -0
  104. package/api/ripple/customizedbillingservice_pb.js +175 -0
  105. package/api/ripple/customizedbillingservice_pb.ts +455 -0
  106. package/api/ripple/duedate_pb.js +16 -0
  107. package/api/ripple/duedate_pb.ts +58 -0
  108. package/api/ripple/exchangerate_pb.js +41 -0
  109. package/api/ripple/exchangerate_pb.ts +205 -0
  110. package/api/ripple/invoicelayout_pb.js +46 -0
  111. package/api/ripple/invoicelayout_pb.ts +547 -0
  112. package/api/ripple/org_pb.js +16 -0
  113. package/api/ripple/org_pb.ts +51 -0
  114. package/api/ripple/payer_pb.js +18 -0
  115. package/api/ripple/payer_pb.ts +60 -0
  116. package/api/ripple/reseller_pb.js +21 -0
  117. package/api/ripple/reseller_pb.ts +168 -0
  118. package/api/ripple/rounding_pb.js +46 -0
  119. package/api/ripple/rounding_pb.ts +69 -0
  120. package/api/ripple/untaggedgroup_pb.js +28 -0
  121. package/api/ripple/untaggedgroup_pb.ts +151 -0
  122. package/api/ripple/v1/accountsupportplan_pb.js +59 -0
  123. package/api/ripple/v1/accountsupportplan_pb.ts +98 -0
  124. package/api/ripple/v1/adjustmententry_pb.js +31 -0
  125. package/api/ripple/v1/adjustmententry_pb.ts +275 -0
  126. package/api/ripple/v1/dashboard_pb.js +61 -0
  127. package/api/ripple/v1/dashboard_pb.ts +661 -0
  128. package/api/ripple/v1/export_pb.js +16 -0
  129. package/api/ripple/v1/export_pb.ts +49 -0
  130. package/api/ripple/v1/invoiceservicediscounts_pb.js +48 -0
  131. package/api/ripple/v1/invoiceservicediscounts_pb.ts +298 -0
  132. package/api/ripple/yearmonth_pb.js +16 -0
  133. package/api/ripple/yearmonth_pb.ts +35 -0
  134. package/api/user_pb.js +26 -0
  135. package/api/user_pb.ts +124 -0
  136. package/api/utilization_pb.js +21 -0
  137. package/api/utilization_pb.ts +78 -0
  138. package/api/wave/adjustment_pb.js +16 -0
  139. package/api/wave/adjustment_pb.ts +105 -0
  140. package/api/wave/budget_pb.js +27 -0
  141. package/api/wave/budget_pb.ts +122 -0
  142. package/billing/v1/billing_pb.js +952 -0
  143. package/billing/v1/billing_pb.ts +7570 -0
  144. package/billing/v1/client.js +9 -0
  145. package/billing/v1/client.ts +7 -0
  146. package/conn/conn.js +38 -0
  147. package/conn/conn.ts +46 -0
  148. package/cost/v1/client.js +9 -0
  149. package/cost/v1/client.ts +7 -0
  150. package/cost/v1/cost_pb.js +721 -0
  151. package/cost/v1/cost_pb.ts +5845 -0
  152. package/cover/v1/client.js +9 -0
  153. package/cover/v1/client.ts +7 -0
  154. package/cover/v1/cover_pb.js +2085 -0
  155. package/cover/v1/cover_pb.ts +12883 -0
  156. package/flow/v1/client.js +9 -0
  157. package/flow/v1/client.ts +7 -0
  158. package/flow/v1/flow_pb.js +265 -0
  159. package/flow/v1/flow_pb.ts +2496 -0
  160. package/google/api/annotations_pb.js +29 -0
  161. package/google/api/annotations_pb.ts +39 -0
  162. package/google/api/auth_pb.js +47 -0
  163. package/google/api/auth_pb.ts +295 -0
  164. package/google/api/backend_pb.js +31 -0
  165. package/google/api/backend_pb.ts +97 -0
  166. package/google/api/billing_pb.js +32 -0
  167. package/google/api/billing_pb.ts +104 -0
  168. package/google/api/client_pb.js +101 -0
  169. package/google/api/client_pb.ts +114 -0
  170. package/google/api/config_change_pb.js +71 -0
  171. package/google/api/config_change_pb.ts +161 -0
  172. package/google/api/consumer_pb.js +73 -0
  173. package/google/api/consumer_pb.ts +156 -0
  174. package/google/api/context_pb.js +31 -0
  175. package/google/api/context_pb.ts +105 -0
  176. package/google/api/control_pb.js +26 -0
  177. package/google/api/control_pb.ts +52 -0
  178. package/google/api/distribution_pb.js +58 -0
  179. package/google/api/distribution_pb.ts +388 -0
  180. package/google/api/documentation_pb.js +36 -0
  181. package/google/api/documentation_pb.ts +238 -0
  182. package/google/api/endpoint_pb.js +27 -0
  183. package/google/api/endpoint_pb.ts +105 -0
  184. package/google/api/field_behavior_pb.js +103 -0
  185. package/google/api/field_behavior_pb.ts +119 -0
  186. package/google/api/http_pb.js +36 -0
  187. package/google/api/http_pb.ts +420 -0
  188. package/google/api/httpbody_pb.js +27 -0
  189. package/google/api/httpbody_pb.ts +103 -0
  190. package/google/api/label_pb.js +56 -0
  191. package/google/api/label_pb.ts +97 -0
  192. package/google/api/launch_stage_pb.js +92 -0
  193. package/google/api/launch_stage_pb.ts +105 -0
  194. package/google/api/log_pb.js +27 -0
  195. package/google/api/log_pb.ts +86 -0
  196. package/google/api/logging_pb.js +32 -0
  197. package/google/api/logging_pb.ts +124 -0
  198. package/google/api/metric_pb.js +128 -0
  199. package/google/api/metric_pb.ts +322 -0
  200. package/google/api/monitored_resource_pb.js +38 -0
  201. package/google/api/monitored_resource_pb.ts +188 -0
  202. package/google/api/monitoring_pb.js +32 -0
  203. package/google/api/monitoring_pb.ts +130 -0
  204. package/google/api/quota_pb.js +37 -0
  205. package/google/api/quota_pb.ts +351 -0
  206. package/google/api/resource_pb.js +118 -0
  207. package/google/api/resource_pb.ts +410 -0
  208. package/google/api/service_pb.js +45 -0
  209. package/google/api/service_pb.ts +302 -0
  210. package/google/api/source_info_pb.js +27 -0
  211. package/google/api/source_info_pb.ts +51 -0
  212. package/google/api/system_parameter_pb.js +36 -0
  213. package/google/api/system_parameter_pb.ts +157 -0
  214. package/google/api/usage_pb.js +32 -0
  215. package/google/api/usage_pb.ts +141 -0
  216. package/google/longrunning/operations_pb.js +90 -0
  217. package/google/longrunning/operations_pb.ts +434 -0
  218. package/google/rpc/code_pb.js +244 -0
  219. package/google/rpc/code_pb.ts +268 -0
  220. package/google/rpc/context/attribute_context_pb.js +57 -0
  221. package/google/rpc/context/attribute_context_pb.ts +532 -0
  222. package/google/rpc/error_details_pb.js +92 -0
  223. package/google/rpc/error_details_pb.ts +513 -0
  224. package/google/rpc/status_pb.js +27 -0
  225. package/google/rpc/status_pb.ts +74 -0
  226. package/iam/v1/client.js +9 -0
  227. package/iam/v1/client.ts +8 -0
  228. package/iam/v1/iam_pb.js +285 -0
  229. package/iam/v1/iam_pb.ts +1698 -0
  230. package/kvstore/v1/kvstore_pb.js +40 -0
  231. package/kvstore/v1/kvstore_pb.ts +155 -0
  232. package/operations/v1/operations_pb.js +52 -0
  233. package/operations/v1/operations_pb.ts +235 -0
  234. package/org/v1/client.js +9 -0
  235. package/org/v1/client.ts +7 -0
  236. package/org/v1/org_pb.js +61 -0
  237. package/org/v1/org_pb.ts +321 -0
  238. package/package.json +22 -0
  239. package/preferences/v1/client.js +9 -0
  240. package/preferences/v1/client.ts +8 -0
  241. package/preferences/v1/preferences_pb.js +29 -0
  242. package/preferences/v1/preferences_pb.ts +63 -0
  243. package/pricing/v1/client.js +9 -0
  244. package/pricing/v1/client.ts +7 -0
  245. package/pricing/v1/pricing_pb.js +60 -0
  246. package/pricing/v1/pricing_pb.ts +311 -0
  247. package/prism/v1/client.js +9 -0
  248. package/prism/v1/client.ts +7 -0
  249. package/prism/v1/prism_pb.js +250 -0
  250. package/prism/v1/prism_pb.ts +1396 -0
  251. package/protoc-gen-openapiv2/options/annotations_pb.js +58 -0
  252. package/protoc-gen-openapiv2/options/annotations_pb.ts +72 -0
  253. package/protoc-gen-openapiv2/options/openapiv2_pb.js +253 -0
  254. package/protoc-gen-openapiv2/options/openapiv2_pb.ts +1313 -0
  255. package/protos/entity_pb.js +17 -0
  256. package/protos/entity_pb.ts +49 -0
  257. package/protos/message_pb.js +16 -0
  258. package/protos/message_pb.ts +40 -0
  259. package/protos/operation_pb.js +33 -0
  260. package/protos/operation_pb.ts +198 -0
  261. package/tsconfig.json +12 -0
  262. package/vortex/v1/client.js +9 -0
  263. package/vortex/v1/client.ts +7 -0
  264. package/vortex/v1/vortex_pb.js +65 -0
  265. package/vortex/v1/vortex_pb.ts +280 -0
@@ -0,0 +1,128 @@
1
+ "use strict";
2
+ // Copyright 2018 Google LLC.
3
+ //
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ //
8
+ // http://www.apache.org/licenses/LICENSE-2.0
9
+ //
10
+ // Unless required by applicable law or agreed to in writing, software
11
+ // distributed under the License is distributed on an "AS IS" BASIS,
12
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ // See the License for the specific language governing permissions and
14
+ // limitations under the License.
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.MetricSchema = exports.MetricDescriptor_ValueTypeSchema = exports.MetricDescriptor_ValueType = exports.MetricDescriptor_MetricKindSchema = exports.MetricDescriptor_MetricKind = exports.MetricDescriptorSchema = exports.file_google_api_metric = void 0;
17
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
18
+ const label_pb_1 = require("./label_pb");
19
+ /**
20
+ * Describes the file google/api/metric.proto.
21
+ */
22
+ exports.file_google_api_metric = (0, codegenv2_1.fileDesc)("Chdnb29nbGUvYXBpL21ldHJpYy5wcm90bxIKZ29vZ2xlLmFwaSLSAwoQTWV0cmljRGVzY3JpcHRvchIMCgRuYW1lGAEgASgJEgwKBHR5cGUYCCABKAkSKwoGbGFiZWxzGAIgAygLMhsuZ29vZ2xlLmFwaS5MYWJlbERlc2NyaXB0b3ISPAoLbWV0cmljX2tpbmQYAyABKA4yJy5nb29nbGUuYXBpLk1ldHJpY0Rlc2NyaXB0b3IuTWV0cmljS2luZBI6Cgp2YWx1ZV90eXBlGAQgASgOMiYuZ29vZ2xlLmFwaS5NZXRyaWNEZXNjcmlwdG9yLlZhbHVlVHlwZRIMCgR1bml0GAUgASgJEhMKC2Rlc2NyaXB0aW9uGAYgASgJEhQKDGRpc3BsYXlfbmFtZRgHIAEoCSJPCgpNZXRyaWNLaW5kEhsKF01FVFJJQ19LSU5EX1VOU1BFQ0lGSUVEEAASCQoFR0FVR0UQARIJCgVERUxUQRACEg4KCkNVTVVMQVRJVkUQAyJxCglWYWx1ZVR5cGUSGgoWVkFMVUVfVFlQRV9VTlNQRUNJRklFRBAAEggKBEJPT0wQARIJCgVJTlQ2NBACEgoKBkRPVUJMRRADEgoKBlNUUklORxAEEhAKDERJU1RSSUJVVElPThAFEgkKBU1PTkVZEAYidQoGTWV0cmljEgwKBHR5cGUYAyABKAkSLgoGbGFiZWxzGAIgAygLMh4uZ29vZ2xlLmFwaS5NZXRyaWMuTGFiZWxzRW50cnkaLQoLTGFiZWxzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4AUJfCg5jb20uZ29vZ2xlLmFwaUILTWV0cmljUHJvdG9QAVo3Z29vZ2xlLmdvbGFuZy5vcmcvZ2VucHJvdG8vZ29vZ2xlYXBpcy9hcGkvbWV0cmljO21ldHJpY6ICBEdBUEliBnByb3RvMw", [label_pb_1.file_google_api_label]);
23
+ /**
24
+ * Describes the message google.api.MetricDescriptor.
25
+ * Use `create(MetricDescriptorSchema)` to create a new message.
26
+ */
27
+ exports.MetricDescriptorSchema = (0, codegenv2_1.messageDesc)(exports.file_google_api_metric, 0);
28
+ /**
29
+ * The kind of measurement. It describes how the data is reported.
30
+ *
31
+ * @generated from enum google.api.MetricDescriptor.MetricKind
32
+ */
33
+ var MetricDescriptor_MetricKind;
34
+ (function (MetricDescriptor_MetricKind) {
35
+ /**
36
+ * Do not use this default value.
37
+ *
38
+ * @generated from enum value: METRIC_KIND_UNSPECIFIED = 0;
39
+ */
40
+ MetricDescriptor_MetricKind[MetricDescriptor_MetricKind["METRIC_KIND_UNSPECIFIED"] = 0] = "METRIC_KIND_UNSPECIFIED";
41
+ /**
42
+ * An instantaneous measurement of a value.
43
+ *
44
+ * @generated from enum value: GAUGE = 1;
45
+ */
46
+ MetricDescriptor_MetricKind[MetricDescriptor_MetricKind["GAUGE"] = 1] = "GAUGE";
47
+ /**
48
+ * The change in a value during a time interval.
49
+ *
50
+ * @generated from enum value: DELTA = 2;
51
+ */
52
+ MetricDescriptor_MetricKind[MetricDescriptor_MetricKind["DELTA"] = 2] = "DELTA";
53
+ /**
54
+ * A value accumulated over a time interval. Cumulative
55
+ * measurements in a time series should have the same start time
56
+ * and increasing end times, until an event resets the cumulative
57
+ * value to zero and sets a new start time for the following
58
+ * points.
59
+ *
60
+ * @generated from enum value: CUMULATIVE = 3;
61
+ */
62
+ MetricDescriptor_MetricKind[MetricDescriptor_MetricKind["CUMULATIVE"] = 3] = "CUMULATIVE";
63
+ })(MetricDescriptor_MetricKind || (exports.MetricDescriptor_MetricKind = MetricDescriptor_MetricKind = {}));
64
+ /**
65
+ * Describes the enum google.api.MetricDescriptor.MetricKind.
66
+ */
67
+ exports.MetricDescriptor_MetricKindSchema = (0, codegenv2_1.enumDesc)(exports.file_google_api_metric, 0, 0);
68
+ /**
69
+ * The value type of a metric.
70
+ *
71
+ * @generated from enum google.api.MetricDescriptor.ValueType
72
+ */
73
+ var MetricDescriptor_ValueType;
74
+ (function (MetricDescriptor_ValueType) {
75
+ /**
76
+ * Do not use this default value.
77
+ *
78
+ * @generated from enum value: VALUE_TYPE_UNSPECIFIED = 0;
79
+ */
80
+ MetricDescriptor_ValueType[MetricDescriptor_ValueType["VALUE_TYPE_UNSPECIFIED"] = 0] = "VALUE_TYPE_UNSPECIFIED";
81
+ /**
82
+ * The value is a boolean.
83
+ * This value type can be used only if the metric kind is `GAUGE`.
84
+ *
85
+ * @generated from enum value: BOOL = 1;
86
+ */
87
+ MetricDescriptor_ValueType[MetricDescriptor_ValueType["BOOL"] = 1] = "BOOL";
88
+ /**
89
+ * The value is a signed 64-bit integer.
90
+ *
91
+ * @generated from enum value: INT64 = 2;
92
+ */
93
+ MetricDescriptor_ValueType[MetricDescriptor_ValueType["INT64"] = 2] = "INT64";
94
+ /**
95
+ * The value is a double precision floating point number.
96
+ *
97
+ * @generated from enum value: DOUBLE = 3;
98
+ */
99
+ MetricDescriptor_ValueType[MetricDescriptor_ValueType["DOUBLE"] = 3] = "DOUBLE";
100
+ /**
101
+ * The value is a text string.
102
+ * This value type can be used only if the metric kind is `GAUGE`.
103
+ *
104
+ * @generated from enum value: STRING = 4;
105
+ */
106
+ MetricDescriptor_ValueType[MetricDescriptor_ValueType["STRING"] = 4] = "STRING";
107
+ /**
108
+ * The value is a [`Distribution`][google.api.Distribution].
109
+ *
110
+ * @generated from enum value: DISTRIBUTION = 5;
111
+ */
112
+ MetricDescriptor_ValueType[MetricDescriptor_ValueType["DISTRIBUTION"] = 5] = "DISTRIBUTION";
113
+ /**
114
+ * The value is money.
115
+ *
116
+ * @generated from enum value: MONEY = 6;
117
+ */
118
+ MetricDescriptor_ValueType[MetricDescriptor_ValueType["MONEY"] = 6] = "MONEY";
119
+ })(MetricDescriptor_ValueType || (exports.MetricDescriptor_ValueType = MetricDescriptor_ValueType = {}));
120
+ /**
121
+ * Describes the enum google.api.MetricDescriptor.ValueType.
122
+ */
123
+ exports.MetricDescriptor_ValueTypeSchema = (0, codegenv2_1.enumDesc)(exports.file_google_api_metric, 0, 1);
124
+ /**
125
+ * Describes the message google.api.Metric.
126
+ * Use `create(MetricSchema)` to create a new message.
127
+ */
128
+ exports.MetricSchema = (0, codegenv2_1.messageDesc)(exports.file_google_api_metric, 1);
@@ -0,0 +1,322 @@
1
+ // Copyright 2018 Google LLC.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
16
+ // @generated from file google/api/metric.proto (package google.api, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
20
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
21
+ import type { LabelDescriptor } from "./label_pb";
22
+ import { file_google_api_label } from "./label_pb";
23
+ import type { Message } from "@bufbuild/protobuf";
24
+
25
+ /**
26
+ * Describes the file google/api/metric.proto.
27
+ */
28
+ export const file_google_api_metric: GenFile = /*@__PURE__*/
29
+ fileDesc("Chdnb29nbGUvYXBpL21ldHJpYy5wcm90bxIKZ29vZ2xlLmFwaSLSAwoQTWV0cmljRGVzY3JpcHRvchIMCgRuYW1lGAEgASgJEgwKBHR5cGUYCCABKAkSKwoGbGFiZWxzGAIgAygLMhsuZ29vZ2xlLmFwaS5MYWJlbERlc2NyaXB0b3ISPAoLbWV0cmljX2tpbmQYAyABKA4yJy5nb29nbGUuYXBpLk1ldHJpY0Rlc2NyaXB0b3IuTWV0cmljS2luZBI6Cgp2YWx1ZV90eXBlGAQgASgOMiYuZ29vZ2xlLmFwaS5NZXRyaWNEZXNjcmlwdG9yLlZhbHVlVHlwZRIMCgR1bml0GAUgASgJEhMKC2Rlc2NyaXB0aW9uGAYgASgJEhQKDGRpc3BsYXlfbmFtZRgHIAEoCSJPCgpNZXRyaWNLaW5kEhsKF01FVFJJQ19LSU5EX1VOU1BFQ0lGSUVEEAASCQoFR0FVR0UQARIJCgVERUxUQRACEg4KCkNVTVVMQVRJVkUQAyJxCglWYWx1ZVR5cGUSGgoWVkFMVUVfVFlQRV9VTlNQRUNJRklFRBAAEggKBEJPT0wQARIJCgVJTlQ2NBACEgoKBkRPVUJMRRADEgoKBlNUUklORxAEEhAKDERJU1RSSUJVVElPThAFEgkKBU1PTkVZEAYidQoGTWV0cmljEgwKBHR5cGUYAyABKAkSLgoGbGFiZWxzGAIgAygLMh4uZ29vZ2xlLmFwaS5NZXRyaWMuTGFiZWxzRW50cnkaLQoLTGFiZWxzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4AUJfCg5jb20uZ29vZ2xlLmFwaUILTWV0cmljUHJvdG9QAVo3Z29vZ2xlLmdvbGFuZy5vcmcvZ2VucHJvdG8vZ29vZ2xlYXBpcy9hcGkvbWV0cmljO21ldHJpY6ICBEdBUEliBnByb3RvMw", [file_google_api_label]);
30
+
31
+ /**
32
+ * Defines a metric type and its schema. Once a metric descriptor is created,
33
+ * deleting or altering it stops data collection and makes the metric type's
34
+ * existing data unusable.
35
+ *
36
+ * @generated from message google.api.MetricDescriptor
37
+ */
38
+ export type MetricDescriptor = Message<"google.api.MetricDescriptor"> & {
39
+ /**
40
+ * The resource name of the metric descriptor.
41
+ *
42
+ * @generated from field: string name = 1;
43
+ */
44
+ name: string;
45
+
46
+ /**
47
+ * The metric type, including its DNS name prefix. The type is not
48
+ * URL-encoded. All user-defined custom metric types have the DNS name
49
+ * `custom.googleapis.com`. Metric types should use a natural hierarchical
50
+ * grouping. For example:
51
+ *
52
+ * "custom.googleapis.com/invoice/paid/amount"
53
+ * "appengine.googleapis.com/http/server/response_latencies"
54
+ *
55
+ * @generated from field: string type = 8;
56
+ */
57
+ type: string;
58
+
59
+ /**
60
+ * The set of labels that can be used to describe a specific
61
+ * instance of this metric type. For example, the
62
+ * `appengine.googleapis.com/http/server/response_latencies` metric
63
+ * type has a label for the HTTP response code, `response_code`, so
64
+ * you can look at latencies for successful responses or just
65
+ * for responses that failed.
66
+ *
67
+ * @generated from field: repeated google.api.LabelDescriptor labels = 2;
68
+ */
69
+ labels: LabelDescriptor[];
70
+
71
+ /**
72
+ * Whether the metric records instantaneous values, changes to a value, etc.
73
+ * Some combinations of `metric_kind` and `value_type` might not be supported.
74
+ *
75
+ * @generated from field: google.api.MetricDescriptor.MetricKind metric_kind = 3;
76
+ */
77
+ metricKind: MetricDescriptor_MetricKind;
78
+
79
+ /**
80
+ * Whether the measurement is an integer, a floating-point number, etc.
81
+ * Some combinations of `metric_kind` and `value_type` might not be supported.
82
+ *
83
+ * @generated from field: google.api.MetricDescriptor.ValueType value_type = 4;
84
+ */
85
+ valueType: MetricDescriptor_ValueType;
86
+
87
+ /**
88
+ * The unit in which the metric value is reported. It is only applicable
89
+ * if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The
90
+ * supported units are a subset of [The Unified Code for Units of
91
+ * Measure](http://unitsofmeasure.org/ucum.html) standard:
92
+ *
93
+ * **Basic units (UNIT)**
94
+ *
95
+ * * `bit` bit
96
+ * * `By` byte
97
+ * * `s` second
98
+ * * `min` minute
99
+ * * `h` hour
100
+ * * `d` day
101
+ *
102
+ * **Prefixes (PREFIX)**
103
+ *
104
+ * * `k` kilo (10**3)
105
+ * * `M` mega (10**6)
106
+ * * `G` giga (10**9)
107
+ * * `T` tera (10**12)
108
+ * * `P` peta (10**15)
109
+ * * `E` exa (10**18)
110
+ * * `Z` zetta (10**21)
111
+ * * `Y` yotta (10**24)
112
+ * * `m` milli (10**-3)
113
+ * * `u` micro (10**-6)
114
+ * * `n` nano (10**-9)
115
+ * * `p` pico (10**-12)
116
+ * * `f` femto (10**-15)
117
+ * * `a` atto (10**-18)
118
+ * * `z` zepto (10**-21)
119
+ * * `y` yocto (10**-24)
120
+ * * `Ki` kibi (2**10)
121
+ * * `Mi` mebi (2**20)
122
+ * * `Gi` gibi (2**30)
123
+ * * `Ti` tebi (2**40)
124
+ *
125
+ * **Grammar**
126
+ *
127
+ * The grammar also includes these connectors:
128
+ *
129
+ * * `/` division (as an infix operator, e.g. `1/s`).
130
+ * * `.` multiplication (as an infix operator, e.g. `GBy.d`)
131
+ *
132
+ * The grammar for a unit is as follows:
133
+ *
134
+ * Expression = Component { "." Component } { "/" Component } ;
135
+ *
136
+ * Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ]
137
+ * | Annotation
138
+ * | "1"
139
+ * ;
140
+ *
141
+ * Annotation = "{" NAME "}" ;
142
+ *
143
+ * Notes:
144
+ *
145
+ * * `Annotation` is just a comment if it follows a `UNIT` and is
146
+ * equivalent to `1` if it is used alone. For examples,
147
+ * `{requests}/s == 1/s`, `By{transmitted}/s == By/s`.
148
+ * * `NAME` is a sequence of non-blank printable ASCII characters not
149
+ * containing '{' or '}'.
150
+ * * `1` represents dimensionless value 1, such as in `1/s`.
151
+ * * `%` represents dimensionless value 1/100, and annotates values giving
152
+ * a percentage.
153
+ *
154
+ * @generated from field: string unit = 5;
155
+ */
156
+ unit: string;
157
+
158
+ /**
159
+ * A detailed description of the metric, which can be used in documentation.
160
+ *
161
+ * @generated from field: string description = 6;
162
+ */
163
+ description: string;
164
+
165
+ /**
166
+ * A concise name for the metric, which can be displayed in user interfaces.
167
+ * Use sentence case without an ending period, for example "Request count".
168
+ * This field is optional but it is recommended to be set for any metrics
169
+ * associated with user-visible concepts, such as Quota.
170
+ *
171
+ * @generated from field: string display_name = 7;
172
+ */
173
+ displayName: string;
174
+ };
175
+
176
+ /**
177
+ * Describes the message google.api.MetricDescriptor.
178
+ * Use `create(MetricDescriptorSchema)` to create a new message.
179
+ */
180
+ export const MetricDescriptorSchema: GenMessage<MetricDescriptor> = /*@__PURE__*/
181
+ messageDesc(file_google_api_metric, 0);
182
+
183
+ /**
184
+ * The kind of measurement. It describes how the data is reported.
185
+ *
186
+ * @generated from enum google.api.MetricDescriptor.MetricKind
187
+ */
188
+ export enum MetricDescriptor_MetricKind {
189
+ /**
190
+ * Do not use this default value.
191
+ *
192
+ * @generated from enum value: METRIC_KIND_UNSPECIFIED = 0;
193
+ */
194
+ METRIC_KIND_UNSPECIFIED = 0,
195
+
196
+ /**
197
+ * An instantaneous measurement of a value.
198
+ *
199
+ * @generated from enum value: GAUGE = 1;
200
+ */
201
+ GAUGE = 1,
202
+
203
+ /**
204
+ * The change in a value during a time interval.
205
+ *
206
+ * @generated from enum value: DELTA = 2;
207
+ */
208
+ DELTA = 2,
209
+
210
+ /**
211
+ * A value accumulated over a time interval. Cumulative
212
+ * measurements in a time series should have the same start time
213
+ * and increasing end times, until an event resets the cumulative
214
+ * value to zero and sets a new start time for the following
215
+ * points.
216
+ *
217
+ * @generated from enum value: CUMULATIVE = 3;
218
+ */
219
+ CUMULATIVE = 3,
220
+ }
221
+
222
+ /**
223
+ * Describes the enum google.api.MetricDescriptor.MetricKind.
224
+ */
225
+ export const MetricDescriptor_MetricKindSchema: GenEnum<MetricDescriptor_MetricKind> = /*@__PURE__*/
226
+ enumDesc(file_google_api_metric, 0, 0);
227
+
228
+ /**
229
+ * The value type of a metric.
230
+ *
231
+ * @generated from enum google.api.MetricDescriptor.ValueType
232
+ */
233
+ export enum MetricDescriptor_ValueType {
234
+ /**
235
+ * Do not use this default value.
236
+ *
237
+ * @generated from enum value: VALUE_TYPE_UNSPECIFIED = 0;
238
+ */
239
+ VALUE_TYPE_UNSPECIFIED = 0,
240
+
241
+ /**
242
+ * The value is a boolean.
243
+ * This value type can be used only if the metric kind is `GAUGE`.
244
+ *
245
+ * @generated from enum value: BOOL = 1;
246
+ */
247
+ BOOL = 1,
248
+
249
+ /**
250
+ * The value is a signed 64-bit integer.
251
+ *
252
+ * @generated from enum value: INT64 = 2;
253
+ */
254
+ INT64 = 2,
255
+
256
+ /**
257
+ * The value is a double precision floating point number.
258
+ *
259
+ * @generated from enum value: DOUBLE = 3;
260
+ */
261
+ DOUBLE = 3,
262
+
263
+ /**
264
+ * The value is a text string.
265
+ * This value type can be used only if the metric kind is `GAUGE`.
266
+ *
267
+ * @generated from enum value: STRING = 4;
268
+ */
269
+ STRING = 4,
270
+
271
+ /**
272
+ * The value is a [`Distribution`][google.api.Distribution].
273
+ *
274
+ * @generated from enum value: DISTRIBUTION = 5;
275
+ */
276
+ DISTRIBUTION = 5,
277
+
278
+ /**
279
+ * The value is money.
280
+ *
281
+ * @generated from enum value: MONEY = 6;
282
+ */
283
+ MONEY = 6,
284
+ }
285
+
286
+ /**
287
+ * Describes the enum google.api.MetricDescriptor.ValueType.
288
+ */
289
+ export const MetricDescriptor_ValueTypeSchema: GenEnum<MetricDescriptor_ValueType> = /*@__PURE__*/
290
+ enumDesc(file_google_api_metric, 0, 1);
291
+
292
+ /**
293
+ * A specific metric, identified by specifying values for all of the
294
+ * labels of a [`MetricDescriptor`][google.api.MetricDescriptor].
295
+ *
296
+ * @generated from message google.api.Metric
297
+ */
298
+ export type Metric = Message<"google.api.Metric"> & {
299
+ /**
300
+ * An existing metric type, see [google.api.MetricDescriptor][google.api.MetricDescriptor].
301
+ * For example, `custom.googleapis.com/invoice/paid/amount`.
302
+ *
303
+ * @generated from field: string type = 3;
304
+ */
305
+ type: string;
306
+
307
+ /**
308
+ * The set of label values that uniquely identify this metric. All
309
+ * labels listed in the `MetricDescriptor` must be assigned values.
310
+ *
311
+ * @generated from field: map<string, string> labels = 2;
312
+ */
313
+ labels: { [key: string]: string };
314
+ };
315
+
316
+ /**
317
+ * Describes the message google.api.Metric.
318
+ * Use `create(MetricSchema)` to create a new message.
319
+ */
320
+ export const MetricSchema: GenMessage<Metric> = /*@__PURE__*/
321
+ messageDesc(file_google_api_metric, 1);
322
+
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ // Copyright 2018 Google LLC.
3
+ //
4
+ // Licensed under the Apache License, Version 2.0 (the "License");
5
+ // you may not use this file except in compliance with the License.
6
+ // You may obtain a copy of the License at
7
+ //
8
+ // http://www.apache.org/licenses/LICENSE-2.0
9
+ //
10
+ // Unless required by applicable law or agreed to in writing, software
11
+ // distributed under the License is distributed on an "AS IS" BASIS,
12
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ // See the License for the specific language governing permissions and
14
+ // limitations under the License.
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.MonitoredResourceMetadataSchema = exports.MonitoredResourceSchema = exports.MonitoredResourceDescriptorSchema = exports.file_google_api_monitored_resource = void 0;
17
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
18
+ const label_pb_1 = require("./label_pb");
19
+ const wkt_1 = require("@bufbuild/protobuf/wkt");
20
+ /**
21
+ * Describes the file google/api/monitored_resource.proto.
22
+ */
23
+ exports.file_google_api_monitored_resource = (0, codegenv2_1.fileDesc)("CiNnb29nbGUvYXBpL21vbml0b3JlZF9yZXNvdXJjZS5wcm90bxIKZ29vZ2xlLmFwaSKRAQobTW9uaXRvcmVkUmVzb3VyY2VEZXNjcmlwdG9yEgwKBG5hbWUYBSABKAkSDAoEdHlwZRgBIAEoCRIUCgxkaXNwbGF5X25hbWUYAiABKAkSEwoLZGVzY3JpcHRpb24YAyABKAkSKwoGbGFiZWxzGAQgAygLMhsuZ29vZ2xlLmFwaS5MYWJlbERlc2NyaXB0b3IiiwEKEU1vbml0b3JlZFJlc291cmNlEgwKBHR5cGUYASABKAkSOQoGbGFiZWxzGAIgAygLMikuZ29vZ2xlLmFwaS5Nb25pdG9yZWRSZXNvdXJjZS5MYWJlbHNFbnRyeRotCgtMYWJlbHNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIsoBChlNb25pdG9yZWRSZXNvdXJjZU1ldGFkYXRhEi4KDXN5c3RlbV9sYWJlbHMYASABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0EkoKC3VzZXJfbGFiZWxzGAIgAygLMjUuZ29vZ2xlLmFwaS5Nb25pdG9yZWRSZXNvdXJjZU1ldGFkYXRhLlVzZXJMYWJlbHNFbnRyeRoxCg9Vc2VyTGFiZWxzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4AUJ5Cg5jb20uZ29vZ2xlLmFwaUIWTW9uaXRvcmVkUmVzb3VyY2VQcm90b1ABWkNnb29nbGUuZ29sYW5nLm9yZy9nZW5wcm90by9nb29nbGVhcGlzL2FwaS9tb25pdG9yZWRyZXM7bW9uaXRvcmVkcmVz+AEBogIER0FQSWIGcHJvdG8z", [label_pb_1.file_google_api_label, wkt_1.file_google_protobuf_struct]);
24
+ /**
25
+ * Describes the message google.api.MonitoredResourceDescriptor.
26
+ * Use `create(MonitoredResourceDescriptorSchema)` to create a new message.
27
+ */
28
+ exports.MonitoredResourceDescriptorSchema = (0, codegenv2_1.messageDesc)(exports.file_google_api_monitored_resource, 0);
29
+ /**
30
+ * Describes the message google.api.MonitoredResource.
31
+ * Use `create(MonitoredResourceSchema)` to create a new message.
32
+ */
33
+ exports.MonitoredResourceSchema = (0, codegenv2_1.messageDesc)(exports.file_google_api_monitored_resource, 1);
34
+ /**
35
+ * Describes the message google.api.MonitoredResourceMetadata.
36
+ * Use `create(MonitoredResourceMetadataSchema)` to create a new message.
37
+ */
38
+ exports.MonitoredResourceMetadataSchema = (0, codegenv2_1.messageDesc)(exports.file_google_api_monitored_resource, 2);
@@ -0,0 +1,188 @@
1
+ // Copyright 2018 Google LLC.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v2.7.0 with parameter "target=ts"
16
+ // @generated from file google/api/monitored_resource.proto (package google.api, syntax proto3)
17
+ /* eslint-disable */
18
+
19
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
20
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
21
+ import type { LabelDescriptor } from "./label_pb";
22
+ import { file_google_api_label } from "./label_pb";
23
+ import { file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
24
+ import type { JsonObject, Message } from "@bufbuild/protobuf";
25
+
26
+ /**
27
+ * Describes the file google/api/monitored_resource.proto.
28
+ */
29
+ export const file_google_api_monitored_resource: GenFile = /*@__PURE__*/
30
+ fileDesc("CiNnb29nbGUvYXBpL21vbml0b3JlZF9yZXNvdXJjZS5wcm90bxIKZ29vZ2xlLmFwaSKRAQobTW9uaXRvcmVkUmVzb3VyY2VEZXNjcmlwdG9yEgwKBG5hbWUYBSABKAkSDAoEdHlwZRgBIAEoCRIUCgxkaXNwbGF5X25hbWUYAiABKAkSEwoLZGVzY3JpcHRpb24YAyABKAkSKwoGbGFiZWxzGAQgAygLMhsuZ29vZ2xlLmFwaS5MYWJlbERlc2NyaXB0b3IiiwEKEU1vbml0b3JlZFJlc291cmNlEgwKBHR5cGUYASABKAkSOQoGbGFiZWxzGAIgAygLMikuZ29vZ2xlLmFwaS5Nb25pdG9yZWRSZXNvdXJjZS5MYWJlbHNFbnRyeRotCgtMYWJlbHNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIsoBChlNb25pdG9yZWRSZXNvdXJjZU1ldGFkYXRhEi4KDXN5c3RlbV9sYWJlbHMYASABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0EkoKC3VzZXJfbGFiZWxzGAIgAygLMjUuZ29vZ2xlLmFwaS5Nb25pdG9yZWRSZXNvdXJjZU1ldGFkYXRhLlVzZXJMYWJlbHNFbnRyeRoxCg9Vc2VyTGFiZWxzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4AUJ5Cg5jb20uZ29vZ2xlLmFwaUIWTW9uaXRvcmVkUmVzb3VyY2VQcm90b1ABWkNnb29nbGUuZ29sYW5nLm9yZy9nZW5wcm90by9nb29nbGVhcGlzL2FwaS9tb25pdG9yZWRyZXM7bW9uaXRvcmVkcmVz+AEBogIER0FQSWIGcHJvdG8z", [file_google_api_label, file_google_protobuf_struct]);
31
+
32
+ /**
33
+ * An object that describes the schema of a [MonitoredResource][google.api.MonitoredResource] object using a
34
+ * type name and a set of labels. For example, the monitored resource
35
+ * descriptor for Google Compute Engine VM instances has a type of
36
+ * `"gce_instance"` and specifies the use of the labels `"instance_id"` and
37
+ * `"zone"` to identify particular VM instances.
38
+ *
39
+ * Different APIs can support different monitored resource types. APIs generally
40
+ * provide a `list` method that returns the monitored resource descriptors used
41
+ * by the API.
42
+ *
43
+ * @generated from message google.api.MonitoredResourceDescriptor
44
+ */
45
+ export type MonitoredResourceDescriptor = Message<"google.api.MonitoredResourceDescriptor"> & {
46
+ /**
47
+ * Optional. The resource name of the monitored resource descriptor:
48
+ * `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where
49
+ * {type} is the value of the `type` field in this object and
50
+ * {project_id} is a project ID that provides API-specific context for
51
+ * accessing the type. APIs that do not use project information can use the
52
+ * resource name format `"monitoredResourceDescriptors/{type}"`.
53
+ *
54
+ * @generated from field: string name = 5;
55
+ */
56
+ name: string;
57
+
58
+ /**
59
+ * Required. The monitored resource type. For example, the type
60
+ * `"cloudsql_database"` represents databases in Google Cloud SQL.
61
+ * The maximum length of this value is 256 characters.
62
+ *
63
+ * @generated from field: string type = 1;
64
+ */
65
+ type: string;
66
+
67
+ /**
68
+ * Optional. A concise name for the monitored resource type that might be
69
+ * displayed in user interfaces. It should be a Title Cased Noun Phrase,
70
+ * without any article or other determiners. For example,
71
+ * `"Google Cloud SQL Database"`.
72
+ *
73
+ * @generated from field: string display_name = 2;
74
+ */
75
+ displayName: string;
76
+
77
+ /**
78
+ * Optional. A detailed description of the monitored resource type that might
79
+ * be used in documentation.
80
+ *
81
+ * @generated from field: string description = 3;
82
+ */
83
+ description: string;
84
+
85
+ /**
86
+ * Required. A set of labels used to describe instances of this monitored
87
+ * resource type. For example, an individual Google Cloud SQL database is
88
+ * identified by values for the labels `"database_id"` and `"zone"`.
89
+ *
90
+ * @generated from field: repeated google.api.LabelDescriptor labels = 4;
91
+ */
92
+ labels: LabelDescriptor[];
93
+ };
94
+
95
+ /**
96
+ * Describes the message google.api.MonitoredResourceDescriptor.
97
+ * Use `create(MonitoredResourceDescriptorSchema)` to create a new message.
98
+ */
99
+ export const MonitoredResourceDescriptorSchema: GenMessage<MonitoredResourceDescriptor> = /*@__PURE__*/
100
+ messageDesc(file_google_api_monitored_resource, 0);
101
+
102
+ /**
103
+ * An object representing a resource that can be used for monitoring, logging,
104
+ * billing, or other purposes. Examples include virtual machine instances,
105
+ * databases, and storage devices such as disks. The `type` field identifies a
106
+ * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object that describes the resource's
107
+ * schema. Information in the `labels` field identifies the actual resource and
108
+ * its attributes according to the schema. For example, a particular Compute
109
+ * Engine VM instance could be represented by the following object, because the
110
+ * [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] for `"gce_instance"` has labels
111
+ * `"instance_id"` and `"zone"`:
112
+ *
113
+ * { "type": "gce_instance",
114
+ * "labels": { "instance_id": "12345678901234",
115
+ * "zone": "us-central1-a" }}
116
+ *
117
+ * @generated from message google.api.MonitoredResource
118
+ */
119
+ export type MonitoredResource = Message<"google.api.MonitoredResource"> & {
120
+ /**
121
+ * Required. The monitored resource type. This field must match
122
+ * the `type` field of a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object. For
123
+ * example, the type of a Compute Engine VM instance is `gce_instance`.
124
+ *
125
+ * @generated from field: string type = 1;
126
+ */
127
+ type: string;
128
+
129
+ /**
130
+ * Required. Values for all of the labels listed in the associated monitored
131
+ * resource descriptor. For example, Compute Engine VM instances use the
132
+ * labels `"project_id"`, `"instance_id"`, and `"zone"`.
133
+ *
134
+ * @generated from field: map<string, string> labels = 2;
135
+ */
136
+ labels: { [key: string]: string };
137
+ };
138
+
139
+ /**
140
+ * Describes the message google.api.MonitoredResource.
141
+ * Use `create(MonitoredResourceSchema)` to create a new message.
142
+ */
143
+ export const MonitoredResourceSchema: GenMessage<MonitoredResource> = /*@__PURE__*/
144
+ messageDesc(file_google_api_monitored_resource, 1);
145
+
146
+ /**
147
+ * Auxiliary metadata for a [MonitoredResource][google.api.MonitoredResource] object.
148
+ * [MonitoredResource][google.api.MonitoredResource] objects contain the minimum set of information to
149
+ * uniquely identify a monitored resource instance. There is some other useful
150
+ * auxiliary metadata. Google Stackdriver Monitoring & Logging uses an ingestion
151
+ * pipeline to extract metadata for cloud resources of all types , and stores
152
+ * the metadata in this message.
153
+ *
154
+ * @generated from message google.api.MonitoredResourceMetadata
155
+ */
156
+ export type MonitoredResourceMetadata = Message<"google.api.MonitoredResourceMetadata"> & {
157
+ /**
158
+ * Output only. Values for predefined system metadata labels.
159
+ * System labels are a kind of metadata extracted by Google Stackdriver.
160
+ * Stackdriver determines what system labels are useful and how to obtain
161
+ * their values. Some examples: "machine_image", "vpc", "subnet_id",
162
+ * "security_group", "name", etc.
163
+ * System label values can be only strings, Boolean values, or a list of
164
+ * strings. For example:
165
+ *
166
+ * { "name": "my-test-instance",
167
+ * "security_group": ["a", "b", "c"],
168
+ * "spot_instance": false }
169
+ *
170
+ * @generated from field: google.protobuf.Struct system_labels = 1;
171
+ */
172
+ systemLabels?: JsonObject;
173
+
174
+ /**
175
+ * Output only. A map of user-defined metadata labels.
176
+ *
177
+ * @generated from field: map<string, string> user_labels = 2;
178
+ */
179
+ userLabels: { [key: string]: string };
180
+ };
181
+
182
+ /**
183
+ * Describes the message google.api.MonitoredResourceMetadata.
184
+ * Use `create(MonitoredResourceMetadataSchema)` to create a new message.
185
+ */
186
+ export const MonitoredResourceMetadataSchema: GenMessage<MonitoredResourceMetadata> = /*@__PURE__*/
187
+ messageDesc(file_google_api_monitored_resource, 2);
188
+