You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/google-api-services-serviceconsumermanagement/v1/2.0.0/com/google/api/services/serviceconsumermanagement/v1/model/MetricRule.java
Copy file name to clipboardExpand all lines: clients/google-api-services-serviceconsumermanagement/v1/2.0.0/com/google/api/services/serviceconsumermanagement/v1/model/QuotaLimit.java
+27Lines changed: 27 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -109,6 +109,14 @@ public final class QuotaLimit extends com.google.api.client.json.GenericJson {
109
109
@com.google.api.client.util.Key
110
110
privatejava.lang.Stringname;
111
111
112
+
/**
113
+
* Optional. This is only informational, the logic to allocate the quota to the correct metric
114
+
* (such as in `metric_rules`) should identify which quota metrics to allocate to.
115
+
* The value may be {@code null}.
116
+
*/
117
+
@com.google.api.client.util.Key
118
+
privatejava.lang.StringtrafficSource;
119
+
112
120
/**
113
121
* Specify the unit of the quota limit. It uses the same syntax as MetricDescriptor.unit. The
114
122
* supported unit kinds are determined by the quota backend system. Here are some examples: *
@@ -306,6 +314,25 @@ public QuotaLimit setName(java.lang.String name) {
306
314
returnthis;
307
315
}
308
316
317
+
/**
318
+
* Optional. This is only informational, the logic to allocate the quota to the correct metric
319
+
* (such as in `metric_rules`) should identify which quota metrics to allocate to.
320
+
* @return value or {@code null} for none
321
+
*/
322
+
publicjava.lang.StringgetTrafficSource() {
323
+
returntrafficSource;
324
+
}
325
+
326
+
/**
327
+
* Optional. This is only informational, the logic to allocate the quota to the correct metric
328
+
* (such as in `metric_rules`) should identify which quota metrics to allocate to.
329
+
* @param trafficSource trafficSource or {@code null} for none
0 commit comments