Skip to content

Commit 25383be

Browse files
chore: regenerate serviceusage client
1 parent 38c1764 commit 25383be

26 files changed

+1054
-68
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-rev20260210-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-rev20260210-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: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public class ServiceUsage extends com.google.api.client.googleapis.services.json
103103
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
104104
* <li>Android: {@code newCompatibleTransport} from
105105
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
106-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
106+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
107107
* </li>
108108
* </ul>
109109
* @param jsonFactory JSON factory, which may be:
@@ -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
*/
@@ -1835,8 +1836,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
18351836
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
18361837
* <li>Android: {@code newCompatibleTransport} from
18371838
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
1838-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
1839-
* </li>
1839+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
18401840
* </ul>
18411841
* @param jsonFactory JSON factory, which may be:
18421842
* <ul>

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@ public final class Aspect extends com.google.api.client.json.GenericJson {
3737
@com.google.api.client.util.Key
3838
private java.lang.String kind;
3939

40+
/**
41+
* Optional. Rules of the Configuration.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key
45+
private java.util.List<AspectRule> rules;
46+
4047
/**
4148
* Content of the configuration. The underlying schema should be defined by Aspect owners as
4249
* protobuf message under `google/api/configaspects/proto`.
@@ -62,6 +69,23 @@ public Aspect setKind(java.lang.String kind) {
6269
return this;
6370
}
6471

72+
/**
73+
* Optional. Rules of the Configuration.
74+
* @return value or {@code null} for none
75+
*/
76+
public java.util.List<AspectRule> getRules() {
77+
return rules;
78+
}
79+
80+
/**
81+
* Optional. Rules of the Configuration.
82+
* @param rules rules or {@code null} for none
83+
*/
84+
public Aspect setRules(java.util.List<AspectRule> rules) {
85+
this.rules = rules;
86+
return this;
87+
}
88+
6589
/**
6690
* Content of the configuration. The underlying schema should be defined by Aspect owners as
6791
* protobuf message under `google/api/configaspects/proto`.
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
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+
* Rule-based configuration for an aspect.
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 AspectRule extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. Rules of the configuration. The underlying schema should be defined by Aspect owners
34+
* as protobuf message under `google/api/configaspects/proto`.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.util.Map<String, java.lang.Object> config;
39+
40+
/**
41+
* Required. Selects the RPC methods to which this rule applies. Refer to selector for syntax
42+
* details.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private java.lang.String selector;
47+
48+
/**
49+
* Required. Rules of the configuration. The underlying schema should be defined by Aspect owners
50+
* as protobuf message under `google/api/configaspects/proto`.
51+
* @return value or {@code null} for none
52+
*/
53+
public java.util.Map<String, java.lang.Object> getConfig() {
54+
return config;
55+
}
56+
57+
/**
58+
* Required. Rules of the configuration. The underlying schema should be defined by Aspect owners
59+
* as protobuf message under `google/api/configaspects/proto`.
60+
* @param config config or {@code null} for none
61+
*/
62+
public AspectRule setConfig(java.util.Map<String, java.lang.Object> config) {
63+
this.config = config;
64+
return this;
65+
}
66+
67+
/**
68+
* Required. Selects the RPC methods to which this rule applies. Refer to selector for syntax
69+
* details.
70+
* @return value or {@code null} for none
71+
*/
72+
public java.lang.String getSelector() {
73+
return selector;
74+
}
75+
76+
/**
77+
* Required. Selects the RPC methods to which this rule applies. Refer to selector for syntax
78+
* details.
79+
* @param selector selector or {@code null} for none
80+
*/
81+
public AspectRule setSelector(java.lang.String selector) {
82+
this.selector = selector;
83+
return this;
84+
}
85+
86+
@Override
87+
public AspectRule set(String fieldName, Object value) {
88+
return (AspectRule) super.set(fieldName, value);
89+
}
90+
91+
@Override
92+
public AspectRule clone() {
93+
return (AspectRule) super.clone();
94+
}
95+
96+
}

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)