@viamrobotics/sdk 0.40.0 → 0.40.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.
@@ -244,6 +244,95 @@ export declare class QuotaFailure_Violation extends Message<QuotaFailure_Violati
244
244
  */
245
245
  description: string;
246
246
 
247
+ /**
248
+ * The API Service from which the `QuotaFailure.Violation` orginates. In
249
+ * some cases, Quota issues originate from an API Service other than the one
250
+ * that was called. In other words, a dependency of the called API Service
251
+ * could be the cause of the `QuotaFailure`, and this field would have the
252
+ * dependency API service name.
253
+ *
254
+ * For example, if the called API is Kubernetes Engine API
255
+ * (container.googleapis.com), and a quota violation occurs in the
256
+ * Kubernetes Engine API itself, this field would be
257
+ * "container.googleapis.com". On the other hand, if the quota violation
258
+ * occurs when the Kubernetes Engine API creates VMs in the Compute Engine
259
+ * API (compute.googleapis.com), this field would be
260
+ * "compute.googleapis.com".
261
+ *
262
+ * @generated from field: string api_service = 3;
263
+ */
264
+ apiService: string;
265
+
266
+ /**
267
+ * The metric of the violated quota. A quota metric is a named counter to
268
+ * measure usage, such as API requests or CPUs. When an activity occurs in a
269
+ * service, such as Virtual Machine allocation, one or more quota metrics
270
+ * may be affected.
271
+ *
272
+ * For example, "compute.googleapis.com/cpus_per_vm_family",
273
+ * "storage.googleapis.com/internet_egress_bandwidth".
274
+ *
275
+ * @generated from field: string quota_metric = 4;
276
+ */
277
+ quotaMetric: string;
278
+
279
+ /**
280
+ * The id of the violated quota. Also know as "limit name", this is the
281
+ * unique identifier of a quota in the context of an API service.
282
+ *
283
+ * For example, "CPUS-PER-VM-FAMILY-per-project-region".
284
+ *
285
+ * @generated from field: string quota_id = 5;
286
+ */
287
+ quotaId: string;
288
+
289
+ /**
290
+ * The dimensions of the violated quota. Every non-global quota is enforced
291
+ * on a set of dimensions. While quota metric defines what to count, the
292
+ * dimensions specify for what aspects the counter should be increased.
293
+ *
294
+ * For example, the quota "CPUs per region per VM family" enforces a limit
295
+ * on the metric "compute.googleapis.com/cpus_per_vm_family" on dimensions
296
+ * "region" and "vm_family". And if the violation occurred in region
297
+ * "us-central1" and for VM family "n1", the quota_dimensions would be,
298
+ *
299
+ * {
300
+ * "region": "us-central1",
301
+ * "vm_family": "n1",
302
+ * }
303
+ *
304
+ * When a quota is enforced globally, the quota_dimensions would always be
305
+ * empty.
306
+ *
307
+ * @generated from field: map<string, string> quota_dimensions = 6;
308
+ */
309
+ quotaDimensions: { [key: string]: string };
310
+
311
+ /**
312
+ * The enforced quota value at the time of the `QuotaFailure`.
313
+ *
314
+ * For example, if the enforced quota value at the time of the
315
+ * `QuotaFailure` on the number of CPUs is "10", then the value of this
316
+ * field would reflect this quantity.
317
+ *
318
+ * @generated from field: int64 quota_value = 7;
319
+ */
320
+ quotaValue: bigint;
321
+
322
+ /**
323
+ * The new quota value being rolled out at the time of the violation. At the
324
+ * completion of the rollout, this value will be enforced in place of
325
+ * quota_value. If no rollout is in progress at the time of the violation,
326
+ * this field is not set.
327
+ *
328
+ * For example, if at the time of the violation a rollout is in progress
329
+ * changing the number of CPUs quota from 10 to 20, 20 would be the value of
330
+ * this field.
331
+ *
332
+ * @generated from field: optional int64 future_quota_value = 8;
333
+ */
334
+ futureQuotaValue?: bigint;
335
+
247
336
  constructor(data?: PartialMessage<QuotaFailure_Violation>);
248
337
 
249
338
  static readonly runtime: typeof proto3;