Skip to content

Commit 7a1ecd9

Browse files
chore: regenerate serviceconsumermanagement client (googleapis#32340)
Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-java-client-services/actions/workflows/codegen.yaml
1 parent 1e65378 commit 7a1ecd9

5 files changed

Lines changed: 99 additions & 6 deletions

File tree

clients/google-api-services-serviceconsumermanagement/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-serviceconsumermanagement</artifactId>
25-
<version>v1-rev20260713-2.0.0</version>
25+
<version>v1-rev20260721-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-serviceconsumermanagement:v1-rev20260713-2.0.0'
38+
implementation 'com.google.apis:google-api-services-serviceconsumermanagement:v1-rev20260721-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-serviceconsumermanagement/v1/2.0.0/com/google/api/services/serviceconsumermanagement/v1/model/MetricRule.java

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@
3131
@SuppressWarnings("javadoc")
3232
public final class MetricRule extends com.google.api.client.json.GenericJson {
3333

34+
/**
35+
* Optional. Metrics to update when the selected methods are called, and the associated cost
36+
* applied to each metric, iff the source of the call is an agent. The key of the map is the
37+
* metric name, and the values are the amount increased for the metric against which the quota
38+
* limits are defined. The value must not be negative.
39+
* The value may be {@code null}.
40+
*/
41+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
42+
private java.util.Map<String, java.lang.Long> agenticMetricCosts;
43+
3444
/**
3545
* Metrics to update when the selected methods are called, and the associated cost applied to each
3646
* metric. The key of the map is the metric name, and the values are the amount increased for the
@@ -40,13 +50,46 @@ public final class MetricRule extends com.google.api.client.json.GenericJson {
4050
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
4151
private java.util.Map<String, java.lang.Long> metricCosts;
4252

53+
/**
54+
* Optional. Metrics to update when the selected methods are called, and the associated cost
55+
* applied to each metric, iff the source of the call is not an agent. The key of the map is the
56+
* metric name, and the values are the amount increased for the metric against which the quota
57+
* limits are defined. The value must not be negative.
58+
* The value may be {@code null}.
59+
*/
60+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
61+
private java.util.Map<String, java.lang.Long> nonagenticMetricCosts;
62+
4363
/**
4464
* Selects the methods to which this rule applies. Refer to selector for syntax details.
4565
* The value may be {@code null}.
4666
*/
4767
@com.google.api.client.util.Key
4868
private java.lang.String selector;
4969

70+
/**
71+
* Optional. Metrics to update when the selected methods are called, and the associated cost
72+
* applied to each metric, iff the source of the call is an agent. The key of the map is the
73+
* metric name, and the values are the amount increased for the metric against which the quota
74+
* limits are defined. The value must not be negative.
75+
* @return value or {@code null} for none
76+
*/
77+
public java.util.Map<String, java.lang.Long> getAgenticMetricCosts() {
78+
return agenticMetricCosts;
79+
}
80+
81+
/**
82+
* Optional. Metrics to update when the selected methods are called, and the associated cost
83+
* applied to each metric, iff the source of the call is an agent. The key of the map is the
84+
* metric name, and the values are the amount increased for the metric against which the quota
85+
* limits are defined. The value must not be negative.
86+
* @param agenticMetricCosts agenticMetricCosts or {@code null} for none
87+
*/
88+
public MetricRule setAgenticMetricCosts(java.util.Map<String, java.lang.Long> agenticMetricCosts) {
89+
this.agenticMetricCosts = agenticMetricCosts;
90+
return this;
91+
}
92+
5093
/**
5194
* Metrics to update when the selected methods are called, and the associated cost applied to each
5295
* metric. The key of the map is the metric name, and the values are the amount increased for the
@@ -68,6 +111,29 @@ public MetricRule setMetricCosts(java.util.Map<String, java.lang.Long> metricCos
68111
return this;
69112
}
70113

114+
/**
115+
* Optional. Metrics to update when the selected methods are called, and the associated cost
116+
* applied to each metric, iff the source of the call is not an agent. The key of the map is the
117+
* metric name, and the values are the amount increased for the metric against which the quota
118+
* limits are defined. The value must not be negative.
119+
* @return value or {@code null} for none
120+
*/
121+
public java.util.Map<String, java.lang.Long> getNonagenticMetricCosts() {
122+
return nonagenticMetricCosts;
123+
}
124+
125+
/**
126+
* Optional. Metrics to update when the selected methods are called, and the associated cost
127+
* applied to each metric, iff the source of the call is not an agent. The key of the map is the
128+
* metric name, and the values are the amount increased for the metric against which the quota
129+
* limits are defined. The value must not be negative.
130+
* @param nonagenticMetricCosts nonagenticMetricCosts or {@code null} for none
131+
*/
132+
public MetricRule setNonagenticMetricCosts(java.util.Map<String, java.lang.Long> nonagenticMetricCosts) {
133+
this.nonagenticMetricCosts = nonagenticMetricCosts;
134+
return this;
135+
}
136+
71137
/**
72138
* Selects the methods to which this rule applies. Refer to selector for syntax details.
73139
* @return value or {@code null} for none

clients/google-api-services-serviceconsumermanagement/v1/2.0.0/com/google/api/services/serviceconsumermanagement/v1/model/QuotaLimit.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,14 @@ public final class QuotaLimit extends com.google.api.client.json.GenericJson {
109109
@com.google.api.client.util.Key
110110
private java.lang.String name;
111111

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+
private java.lang.String trafficSource;
119+
112120
/**
113121
* Specify the unit of the quota limit. It uses the same syntax as MetricDescriptor.unit. The
114122
* 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) {
306314
return this;
307315
}
308316

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+
public java.lang.String getTrafficSource() {
323+
return trafficSource;
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
330+
*/
331+
public QuotaLimit setTrafficSource(java.lang.String trafficSource) {
332+
this.trafficSource = trafficSource;
333+
return this;
334+
}
335+
309336
/**
310337
* Specify the unit of the quota limit. It uses the same syntax as MetricDescriptor.unit. The
311338
* supported unit kinds are determined by the quota backend system. Here are some examples: *

clients/google-api-services-serviceconsumermanagement/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-serviceconsumermanagement</artifactId>
11-
<version>v1-rev20260713-2.0.0</version>
12-
<name>Service Consumer Management API v1-rev20260713-2.0.0</name>
11+
<version>v1-rev20260721-2.0.0</version>
12+
<name>Service Consumer Management API v1-rev20260721-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-serviceconsumermanagement/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-serviceconsumermanagement</artifactId>
25-
<version>v1-rev20260713-2.0.0</version>
25+
<version>v1-rev20260721-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-serviceconsumermanagement:v1-rev20260713-2.0.0'
38+
implementation 'com.google.apis:google-api-services-serviceconsumermanagement:v1-rev20260721-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)