From cd9de008021e3f950a225134d08a6e4032b68964 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Wed, 12 Aug 2026 17:53:54 -0700 Subject: [PATCH] chore: regenerate servicemanagement client --- .../v1/2.0.0/README.md | 4 +- .../servicemanagement/model/MetricRule.java | 66 +++++++++++++++++++ .../servicemanagement/model/QuotaLimit.java | 27 ++++++++ .../v1/2.0.0/pom.xml | 4 +- .../v1/README.md | 4 +- 5 files changed, 99 insertions(+), 6 deletions(-) diff --git a/clients/google-api-services-servicemanagement/v1/2.0.0/README.md b/clients/google-api-services-servicemanagement/v1/2.0.0/README.md index d515520e9cc..1ea8e26186c 100644 --- a/clients/google-api-services-servicemanagement/v1/2.0.0/README.md +++ b/clients/google-api-services-servicemanagement/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-servicemanagement - v1-rev20260430-2.0.0 + v1-rev20260731-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-servicemanagement:v1-rev20260430-2.0.0' + implementation 'com.google.apis:google-api-services-servicemanagement:v1-rev20260731-2.0.0' } ``` diff --git a/clients/google-api-services-servicemanagement/v1/2.0.0/com/google/api/services/servicemanagement/model/MetricRule.java b/clients/google-api-services-servicemanagement/v1/2.0.0/com/google/api/services/servicemanagement/model/MetricRule.java index 24585136ea3..899c63cdbae 100644 --- a/clients/google-api-services-servicemanagement/v1/2.0.0/com/google/api/services/servicemanagement/model/MetricRule.java +++ b/clients/google-api-services-servicemanagement/v1/2.0.0/com/google/api/services/servicemanagement/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-servicemanagement/v1/2.0.0/com/google/api/services/servicemanagement/model/QuotaLimit.java b/clients/google-api-services-servicemanagement/v1/2.0.0/com/google/api/services/servicemanagement/model/QuotaLimit.java index e84211dfc13..842cb0da8e6 100644 --- a/clients/google-api-services-servicemanagement/v1/2.0.0/com/google/api/services/servicemanagement/model/QuotaLimit.java +++ b/clients/google-api-services-servicemanagement/v1/2.0.0/com/google/api/services/servicemanagement/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-servicemanagement/v1/2.0.0/pom.xml b/clients/google-api-services-servicemanagement/v1/2.0.0/pom.xml index 094f635c079..174fa673806 100644 --- a/clients/google-api-services-servicemanagement/v1/2.0.0/pom.xml +++ b/clients/google-api-services-servicemanagement/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-servicemanagement - v1-rev20260430-2.0.0 - Service Management API v1-rev20260430-2.0.0 + v1-rev20260731-2.0.0 + Service Management API v1-rev20260731-2.0.0 jar 2011 diff --git a/clients/google-api-services-servicemanagement/v1/README.md b/clients/google-api-services-servicemanagement/v1/README.md index d515520e9cc..1ea8e26186c 100644 --- a/clients/google-api-services-servicemanagement/v1/README.md +++ b/clients/google-api-services-servicemanagement/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-servicemanagement - v1-rev20260430-2.0.0 + v1-rev20260731-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-servicemanagement:v1-rev20260430-2.0.0' + implementation 'com.google.apis:google-api-services-servicemanagement:v1-rev20260731-2.0.0' } ```