Skip to content

Commit 49c0a9d

Browse files
chore: regenerate serviceusage client
1 parent 5ec85f7 commit 49c0a9d

22 files changed

+810
-62
lines changed

clients/google-api-services-serviceusage/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-serviceusage</artifactId>
25-
<version>v1-rev20251021-2.0.0</version>
25+
<version>v1-rev20260120-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-serviceusage:v1-rev20251021-2.0.0'
38+
implementation 'com.google.apis:google-api-services-serviceusage:v1-rev20260120-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-serviceusage/v1/2.0.0/com/google/api/services/serviceusage/v1/ServiceUsage.java

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -738,30 +738,31 @@ public List setPageToken(java.lang.String pageToken) {
738738

739739
/**
740740
* When set to `true`, operations that are reachable are returned as normal, and those that
741-
* are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can
742-
* only be `true` when reading across collections e.g. when `parent` is set to
743-
* `"projects/example/locations/-"`. This field is not by default supported and will result in
741+
* are unreachable are returned in the ListOperationsResponse.unreachable field. This can only
742+
* be `true` when reading across collections. For example, when `parent` is set to
743+
* `"projects/example/locations/-"`. This field is not supported by default and will result in
744744
* an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or
745745
* product specific documentation.
746746
*/
747747
@com.google.api.client.util.Key
748748
private java.lang.Boolean returnPartialSuccess;
749749

750750
/** When set to `true`, operations that are reachable are returned as normal, and those that are
751-
unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true`
752-
when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This
753-
field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless
754-
explicitly documented otherwise in service or product specific documentation.
751+
unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true`
752+
when reading across collections. For example, when `parent` is set to
753+
`"projects/example/locations/-"`. This field is not supported by default and will result in an
754+
`UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific
755+
documentation.
755756
*/
756757
public java.lang.Boolean getReturnPartialSuccess() {
757758
return returnPartialSuccess;
758759
}
759760

760761
/**
761762
* When set to `true`, operations that are reachable are returned as normal, and those that
762-
* are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can
763-
* only be `true` when reading across collections e.g. when `parent` is set to
764-
* `"projects/example/locations/-"`. This field is not by default supported and will result in
763+
* are unreachable are returned in the ListOperationsResponse.unreachable field. This can only
764+
* be `true` when reading across collections. For example, when `parent` is set to
765+
* `"projects/example/locations/-"`. This field is not supported by default and will result in
765766
* an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or
766767
* product specific documentation.
767768
*/

clients/google-api-services-serviceusage/v1/2.0.0/com/google/api/services/serviceusage/v1/model/Control.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
public final class Control extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* The service controller environment to use. If empty, no control plane feature (like quota and
34+
* The service controller environment to use. If empty, no control plane features (like quota and
3535
* billing) will be enabled. The recommended value for most services is
36-
* servicecontrol.googleapis.com
36+
* servicecontrol.googleapis.com.
3737
* The value may be {@code null}.
3838
*/
3939
@com.google.api.client.util.Key
@@ -47,19 +47,19 @@ public final class Control extends com.google.api.client.json.GenericJson {
4747
private java.util.List<MethodPolicy> methodPolicies;
4848

4949
/**
50-
* The service controller environment to use. If empty, no control plane feature (like quota and
50+
* The service controller environment to use. If empty, no control plane features (like quota and
5151
* billing) will be enabled. The recommended value for most services is
52-
* servicecontrol.googleapis.com
52+
* servicecontrol.googleapis.com.
5353
* @return value or {@code null} for none
5454
*/
5555
public java.lang.String getEnvironment() {
5656
return environment;
5757
}
5858

5959
/**
60-
* The service controller environment to use. If empty, no control plane feature (like quota and
60+
* The service controller environment to use. If empty, no control plane features (like quota and
6161
* billing) will be enabled. The recommended value for most services is
62-
* servicecontrol.googleapis.com
62+
* servicecontrol.googleapis.com.
6363
* @param environment environment or {@code null} for none
6464
*/
6565
public Control setEnvironment(java.lang.String environment) {

clients/google-api-services-serviceusage/v1/2.0.0/com/google/api/services/serviceusage/v1/model/GoogleApiService.java

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,12 @@ public final class GoogleApiService extends com.google.api.client.json.GenericJs
130130

131131
/**
132132
* Configuration for network endpoints. If this is empty, then an endpoint with the same name as
133-
* the service is automatically generated to service all defined APIs.
133+
* the service is automatically generated to service all defined APIs. WARNING: Defining any
134+
* entries in the `endpoints` list disables the automatic generation of default endpoint
135+
* variations (e.g., `{service}.clients6.google.com`, `content-{service}.googleapis.com`, and mTLS
136+
* variants like `{service}.mtls.googleapis.com`). To retain these default variations, you are
137+
* required to explicitly include your main service endpoint (e.g., `myservice.googleapis.com`) in
138+
* this list alongside any other custom endpoints (like REP, GFE, etc.).
134139
* The value may be {@code null}.
135140
*/
136141
@com.google.api.client.util.Key
@@ -197,7 +202,7 @@ public final class GoogleApiService extends com.google.api.client.json.GenericJs
197202

198203
/**
199204
* Defines the monitored resources used by this service. This is required by the
200-
* Service.monitoring and Service.logging configurations.
205+
* `Service.monitoring` and `Service.logging` configurations.
201206
* The value may be {@code null}.
202207
*/
203208
@com.google.api.client.util.Key
@@ -475,7 +480,12 @@ public GoogleApiService setDocumentation(Documentation documentation) {
475480

476481
/**
477482
* Configuration for network endpoints. If this is empty, then an endpoint with the same name as
478-
* the service is automatically generated to service all defined APIs.
483+
* the service is automatically generated to service all defined APIs. WARNING: Defining any
484+
* entries in the `endpoints` list disables the automatic generation of default endpoint
485+
* variations (e.g., `{service}.clients6.google.com`, `content-{service}.googleapis.com`, and mTLS
486+
* variants like `{service}.mtls.googleapis.com`). To retain these default variations, you are
487+
* required to explicitly include your main service endpoint (e.g., `myservice.googleapis.com`) in
488+
* this list alongside any other custom endpoints (like REP, GFE, etc.).
479489
* @return value or {@code null} for none
480490
*/
481491
public java.util.List<Endpoint> getEndpoints() {
@@ -484,7 +494,12 @@ public java.util.List<Endpoint> getEndpoints() {
484494

485495
/**
486496
* Configuration for network endpoints. If this is empty, then an endpoint with the same name as
487-
* the service is automatically generated to service all defined APIs.
497+
* the service is automatically generated to service all defined APIs. WARNING: Defining any
498+
* entries in the `endpoints` list disables the automatic generation of default endpoint
499+
* variations (e.g., `{service}.clients6.google.com`, `content-{service}.googleapis.com`, and mTLS
500+
* variants like `{service}.mtls.googleapis.com`). To retain these default variations, you are
501+
* required to explicitly include your main service endpoint (e.g., `myservice.googleapis.com`) in
502+
* this list alongside any other custom endpoints (like REP, GFE, etc.).
488503
* @param endpoints endpoints or {@code null} for none
489504
*/
490505
public GoogleApiService setEndpoints(java.util.List<Endpoint> endpoints) {
@@ -606,7 +621,7 @@ public GoogleApiService setMetrics(java.util.List<MetricDescriptor> metrics) {
606621

607622
/**
608623
* Defines the monitored resources used by this service. This is required by the
609-
* Service.monitoring and Service.logging configurations.
624+
* `Service.monitoring` and `Service.logging` configurations.
610625
* @return value or {@code null} for none
611626
*/
612627
public java.util.List<MonitoredResourceDescriptor> getMonitoredResources() {
@@ -615,7 +630,7 @@ public java.util.List<MonitoredResourceDescriptor> getMonitoredResources() {
615630

616631
/**
617632
* Defines the monitored resources used by this service. This is required by the
618-
* Service.monitoring and Service.logging configurations.
633+
* `Service.monitoring` and `Service.logging` configurations.
619634
* @param monitoredResources monitoredResources or {@code null} for none
620635
*/
621636
public GoogleApiService setMonitoredResources(java.util.List<MonitoredResourceDescriptor> monitoredResources) {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.serviceusage.v1.model;
18+
19+
/**
20+
* McpEnableRule contains MCP enablement related rules.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Service Usage API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class GoogleApiServiceusageV2betaMcpEnableRule extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* List of enabled MCP services.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.List<GoogleApiServiceusageV2betaMcpService> mcpServices;
38+
39+
/**
40+
* List of enabled MCP services.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.util.List<GoogleApiServiceusageV2betaMcpService> getMcpServices() {
44+
return mcpServices;
45+
}
46+
47+
/**
48+
* List of enabled MCP services.
49+
* @param mcpServices mcpServices or {@code null} for none
50+
*/
51+
public GoogleApiServiceusageV2betaMcpEnableRule setMcpServices(java.util.List<GoogleApiServiceusageV2betaMcpService> mcpServices) {
52+
this.mcpServices = mcpServices;
53+
return this;
54+
}
55+
56+
@Override
57+
public GoogleApiServiceusageV2betaMcpEnableRule set(String fieldName, Object value) {
58+
return (GoogleApiServiceusageV2betaMcpEnableRule) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public GoogleApiServiceusageV2betaMcpEnableRule clone() {
63+
return (GoogleApiServiceusageV2betaMcpEnableRule) super.clone();
64+
}
65+
66+
}

0 commit comments

Comments
 (0)