diff --git a/clients/google-api-services-serviceconsumermanagement/v1beta1/2.0.0/README.md b/clients/google-api-services-serviceconsumermanagement/v1beta1/2.0.0/README.md index cc8c42a3ec4..8e940e46ea2 100644 --- a/clients/google-api-services-serviceconsumermanagement/v1beta1/2.0.0/README.md +++ b/clients/google-api-services-serviceconsumermanagement/v1beta1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-serviceconsumermanagement - v1beta1-rev20260423-2.0.0 + v1beta1-rev20260721-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-serviceconsumermanagement:v1beta1-rev20260423-2.0.0' + implementation 'com.google.apis:google-api-services-serviceconsumermanagement:v1beta1-rev20260721-2.0.0' } ``` diff --git a/clients/google-api-services-serviceconsumermanagement/v1beta1/2.0.0/com/google/api/services/serviceconsumermanagement/v1beta1/model/MetricRule.java b/clients/google-api-services-serviceconsumermanagement/v1beta1/2.0.0/com/google/api/services/serviceconsumermanagement/v1beta1/model/MetricRule.java index fa238ab6a11..22eac28a9fe 100644 --- a/clients/google-api-services-serviceconsumermanagement/v1beta1/2.0.0/com/google/api/services/serviceconsumermanagement/v1beta1/model/MetricRule.java +++ b/clients/google-api-services-serviceconsumermanagement/v1beta1/2.0.0/com/google/api/services/serviceconsumermanagement/v1beta1/model/MetricRule.java @@ -31,6 +31,16 @@ @SuppressWarnings("javadoc") public final class MetricRule extends com.google.api.client.json.GenericJson { + /** + * Optional. Metrics to update when the selected methods are called, and the associated cost + * applied to each metric, iff the source of the call is an agent. The key of the map is the + * metric name, and the values are the amount increased for the metric against which the quota + * limits are defined. The value must not be negative. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.util.Map agenticMetricCosts; + /** * Metrics to update when the selected methods are called, and the associated cost applied to each * metric. The key of the map is the metric name, and the values are the amount increased for the @@ -40,6 +50,16 @@ public final class MetricRule extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.util.Map metricCosts; + /** + * Optional. Metrics to update when the selected methods are called, and the associated cost + * applied to each metric, iff the source of the call is not an agent. The key of the map is the + * metric name, and the values are the amount increased for the metric against which the quota + * limits are defined. The value must not be negative. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key @com.google.api.client.json.JsonString + private java.util.Map nonagenticMetricCosts; + /** * Selects the methods to which this rule applies. Refer to selector for syntax details. * The value may be {@code null}. @@ -47,6 +67,29 @@ public final class MetricRule extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String selector; + /** + * Optional. Metrics to update when the selected methods are called, and the associated cost + * applied to each metric, iff the source of the call is an agent. The key of the map is the + * metric name, and the values are the amount increased for the metric against which the quota + * limits are defined. The value must not be negative. + * @return value or {@code null} for none + */ + public java.util.Map getAgenticMetricCosts() { + return agenticMetricCosts; + } + + /** + * Optional. Metrics to update when the selected methods are called, and the associated cost + * applied to each metric, iff the source of the call is an agent. The key of the map is the + * metric name, and the values are the amount increased for the metric against which the quota + * limits are defined. The value must not be negative. + * @param agenticMetricCosts agenticMetricCosts or {@code null} for none + */ + public MetricRule setAgenticMetricCosts(java.util.Map agenticMetricCosts) { + this.agenticMetricCosts = agenticMetricCosts; + return this; + } + /** * Metrics to update when the selected methods are called, and the associated cost applied to each * 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 metricCos return this; } + /** + * Optional. Metrics to update when the selected methods are called, and the associated cost + * applied to each metric, iff the source of the call is not an agent. The key of the map is the + * metric name, and the values are the amount increased for the metric against which the quota + * limits are defined. The value must not be negative. + * @return value or {@code null} for none + */ + public java.util.Map getNonagenticMetricCosts() { + return nonagenticMetricCosts; + } + + /** + * Optional. Metrics to update when the selected methods are called, and the associated cost + * applied to each metric, iff the source of the call is not an agent. The key of the map is the + * metric name, and the values are the amount increased for the metric against which the quota + * limits are defined. The value must not be negative. + * @param nonagenticMetricCosts nonagenticMetricCosts or {@code null} for none + */ + public MetricRule setNonagenticMetricCosts(java.util.Map nonagenticMetricCosts) { + this.nonagenticMetricCosts = nonagenticMetricCosts; + return this; + } + /** * Selects the methods to which this rule applies. Refer to selector for syntax details. * @return value or {@code null} for none diff --git a/clients/google-api-services-serviceconsumermanagement/v1beta1/2.0.0/com/google/api/services/serviceconsumermanagement/v1beta1/model/QuotaLimit.java b/clients/google-api-services-serviceconsumermanagement/v1beta1/2.0.0/com/google/api/services/serviceconsumermanagement/v1beta1/model/QuotaLimit.java index c00c3a8478b..cc203d5a2e5 100644 --- a/clients/google-api-services-serviceconsumermanagement/v1beta1/2.0.0/com/google/api/services/serviceconsumermanagement/v1beta1/model/QuotaLimit.java +++ b/clients/google-api-services-serviceconsumermanagement/v1beta1/2.0.0/com/google/api/services/serviceconsumermanagement/v1beta1/model/QuotaLimit.java @@ -109,6 +109,14 @@ public final class QuotaLimit extends com.google.api.client.json.GenericJson { @com.google.api.client.util.Key private java.lang.String name; + /** + * Optional. This is only informational, the logic to allocate the quota to the correct metric + * (such as in `metric_rules`) should identify which quota metrics to allocate to. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String trafficSource; + /** * Specify the unit of the quota limit. It uses the same syntax as MetricDescriptor.unit. The * 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) { return this; } + /** + * Optional. This is only informational, the logic to allocate the quota to the correct metric + * (such as in `metric_rules`) should identify which quota metrics to allocate to. + * @return value or {@code null} for none + */ + public java.lang.String getTrafficSource() { + return trafficSource; + } + + /** + * Optional. This is only informational, the logic to allocate the quota to the correct metric + * (such as in `metric_rules`) should identify which quota metrics to allocate to. + * @param trafficSource trafficSource or {@code null} for none + */ + public QuotaLimit setTrafficSource(java.lang.String trafficSource) { + this.trafficSource = trafficSource; + return this; + } + /** * Specify the unit of the quota limit. It uses the same syntax as MetricDescriptor.unit. The * supported unit kinds are determined by the quota backend system. Here are some examples: * diff --git a/clients/google-api-services-serviceconsumermanagement/v1beta1/2.0.0/pom.xml b/clients/google-api-services-serviceconsumermanagement/v1beta1/2.0.0/pom.xml index 0a63f5bedb6..140e199c94b 100644 --- a/clients/google-api-services-serviceconsumermanagement/v1beta1/2.0.0/pom.xml +++ b/clients/google-api-services-serviceconsumermanagement/v1beta1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-serviceconsumermanagement - v1beta1-rev20260423-2.0.0 - Service Consumer Management API v1beta1-rev20260423-2.0.0 + v1beta1-rev20260721-2.0.0 + Service Consumer Management API v1beta1-rev20260721-2.0.0 jar 2011 diff --git a/clients/google-api-services-serviceconsumermanagement/v1beta1/README.md b/clients/google-api-services-serviceconsumermanagement/v1beta1/README.md index cc8c42a3ec4..8e940e46ea2 100644 --- a/clients/google-api-services-serviceconsumermanagement/v1beta1/README.md +++ b/clients/google-api-services-serviceconsumermanagement/v1beta1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-serviceconsumermanagement - v1beta1-rev20260423-2.0.0 + v1beta1-rev20260721-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-serviceconsumermanagement:v1beta1-rev20260423-2.0.0' + implementation 'com.google.apis:google-api-services-serviceconsumermanagement:v1beta1-rev20260721-2.0.0' } ```