Skip to content

Commit c876ee9

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

File tree

18 files changed

+362
-61
lines changed

18 files changed

+362
-61
lines changed

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-rev20251023-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-serviceconsumermanagement:v1-rev20251023-2.0.0'
38+
implementation 'com.google.apis:google-api-services-serviceconsumermanagement:v1-rev20260210-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public class ServiceConsumerManagement extends com.google.api.client.googleapis.
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:
@@ -756,30 +756,31 @@ public List setPageToken(java.lang.String pageToken) {
756756

757757
/**
758758
* When set to `true`, operations that are reachable are returned as normal, and those that
759-
* are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can
760-
* only be `true` when reading across collections e.g. when `parent` is set to
761-
* `"projects/example/locations/-"`. This field is not by default supported and will result in
759+
* are unreachable are returned in the ListOperationsResponse.unreachable field. This can only
760+
* be `true` when reading across collections. For example, when `parent` is set to
761+
* `"projects/example/locations/-"`. This field is not supported by default and will result in
762762
* an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or
763763
* product specific documentation.
764764
*/
765765
@com.google.api.client.util.Key
766766
private java.lang.Boolean returnPartialSuccess;
767767

768768
/** When set to `true`, operations that are reachable are returned as normal, and those that are
769-
unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true`
770-
when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This
771-
field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless
772-
explicitly documented otherwise in service or product specific documentation.
769+
unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true`
770+
when reading across collections. For example, when `parent` is set to
771+
`"projects/example/locations/-"`. This field is not supported by default and will result in an
772+
`UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific
773+
documentation.
773774
*/
774775
public java.lang.Boolean getReturnPartialSuccess() {
775776
return returnPartialSuccess;
776777
}
777778

778779
/**
779780
* When set to `true`, operations that are reachable are returned as normal, and those that
780-
* are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can
781-
* only be `true` when reading across collections e.g. when `parent` is set to
782-
* `"projects/example/locations/-"`. This field is not by default supported and will result in
781+
* are unreachable are returned in the ListOperationsResponse.unreachable field. This can only
782+
* be `true` when reading across collections. For example, when `parent` is set to
783+
* `"projects/example/locations/-"`. This field is not supported by default and will result in
783784
* an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or
784785
* product specific documentation.
785786
*/
@@ -961,24 +962,24 @@ public Search setParent(java.lang.String parent) {
961962

962963
/**
963964
* Optional. The maximum number of results returned by this request. Currently, the default
964-
* maximum is set to 1000. If `page_size` isn't provided or the size provided is a number
965-
* larger than 1000, it's automatically set to 1000.
965+
* maximum is set to 256. If `page_size` <= 256, the request proceeds. Else, the request fails
966+
* with an `TU_INVALID_PAGE_SIZE` error.
966967
*/
967968
@com.google.api.client.util.Key
968969
private java.lang.Integer pageSize;
969970

970971
/** Optional. The maximum number of results returned by this request. Currently, the default maximum is
971-
set to 1000. If `page_size` isn't provided or the size provided is a number larger than 1000, it's
972-
automatically set to 1000.
972+
set to 256. If `page_size` <= 256, the request proceeds. Else, the request fails with an
973+
`TU_INVALID_PAGE_SIZE` error.
973974
*/
974975
public java.lang.Integer getPageSize() {
975976
return pageSize;
976977
}
977978

978979
/**
979980
* Optional. The maximum number of results returned by this request. Currently, the default
980-
* maximum is set to 1000. If `page_size` isn't provided or the size provided is a number
981-
* larger than 1000, it's automatically set to 1000.
981+
* maximum is set to 256. If `page_size` <= 256, the request proceeds. Else, the request fails
982+
* with an `TU_INVALID_PAGE_SIZE` error.
982983
*/
983984
public Search setPageSize(java.lang.Integer pageSize) {
984985
this.pageSize = pageSize;
@@ -2543,8 +2544,7 @@ private static String chooseEndpoint(com.google.api.client.http.HttpTransport tr
25432544
* {@code com.google.api.client.extensions.appengine.http.UrlFetchTransport}</li>
25442545
* <li>Android: {@code newCompatibleTransport} from
25452546
* {@code com.google.api.client.extensions.android.http.AndroidHttp}</li>
2546-
* <li>Java: {@link com.google.api.client.googleapis.javanet.GoogleNetHttpTransport#newTrustedTransport()}
2547-
* </li>
2547+
* <li>Java: {@code com.google.api.client.http.javanet.NetHttpTransport}</li>
25482548
* </ul>
25492549
* @param jsonFactory JSON factory, which may be:
25502550
* <ul>

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

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

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

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

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

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

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

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

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

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public final class ListOperationsResponse extends com.google.api.client.json.Gen
4646

4747
/**
4848
* Unordered list. Unreachable resources. Populated when the request sets
49-
* `ListOperationsRequest.return_partial_success` and reads across collections e.g. when
49+
* `ListOperationsRequest.return_partial_success` and reads across collections. For example, when
5050
* attempting to list all resources across all supported locations.
5151
* The value may be {@code null}.
5252
*/
@@ -89,7 +89,7 @@ public ListOperationsResponse setOperations(java.util.List<Operation> operations
8989

9090
/**
9191
* Unordered list. Unreachable resources. Populated when the request sets
92-
* `ListOperationsRequest.return_partial_success` and reads across collections e.g. when
92+
* `ListOperationsRequest.return_partial_success` and reads across collections. For example, when
9393
* attempting to list all resources across all supported locations.
9494
* @return value or {@code null} for none
9595
*/
@@ -99,7 +99,7 @@ public java.util.List<java.lang.String> getUnreachable() {
9999

100100
/**
101101
* Unordered list. Unreachable resources. Populated when the request sets
102-
* `ListOperationsRequest.return_partial_success` and reads across collections e.g. when
102+
* `ListOperationsRequest.return_partial_success` and reads across collections. For example, when
103103
* attempting to list all resources across all supported locations.
104104
* @param unreachable unreachable or {@code null} for none
105105
*/

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

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,12 @@ public final class Service extends com.google.api.client.json.GenericJson {
131131

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

211216
/**
212217
* Defines the monitored resources used by this service. This is required by the
213-
* Service.monitoring and Service.logging configurations.
218+
* `Service.monitoring` and `Service.logging` configurations.
214219
* The value may be {@code null}.
215220
*/
216221
@com.google.api.client.util.Key
@@ -494,7 +499,12 @@ public Service setDocumentation(Documentation documentation) {
494499

495500
/**
496501
* Configuration for network endpoints. If this is empty, then an endpoint with the same name as
497-
* the service is automatically generated to service all defined APIs.
502+
* the service is automatically generated to service all defined APIs. WARNING: Defining any
503+
* entries in the `endpoints` list disables the automatic generation of default endpoint
504+
* variations (e.g., `{service}.clients6.google.com`, `content-{service}.googleapis.com`, and mTLS
505+
* variants like `{service}.mtls.googleapis.com`). To retain these default variations, you are
506+
* required to explicitly include your main service endpoint (e.g., `myservice.googleapis.com`) in
507+
* this list alongside any other custom endpoints (like REP, GFE, etc.).
498508
* @return value or {@code null} for none
499509
*/
500510
public java.util.List<Endpoint> getEndpoints() {
@@ -503,7 +513,12 @@ public java.util.List<Endpoint> getEndpoints() {
503513

504514
/**
505515
* Configuration for network endpoints. If this is empty, then an endpoint with the same name as
506-
* the service is automatically generated to service all defined APIs.
516+
* the service is automatically generated to service all defined APIs. WARNING: Defining any
517+
* entries in the `endpoints` list disables the automatic generation of default endpoint
518+
* variations (e.g., `{service}.clients6.google.com`, `content-{service}.googleapis.com`, and mTLS
519+
* variants like `{service}.mtls.googleapis.com`). To retain these default variations, you are
520+
* required to explicitly include your main service endpoint (e.g., `myservice.googleapis.com`) in
521+
* this list alongside any other custom endpoints (like REP, GFE, etc.).
507522
* @param endpoints endpoints or {@code null} for none
508523
*/
509524
public Service setEndpoints(java.util.List<Endpoint> endpoints) {
@@ -625,7 +640,7 @@ public Service setMetrics(java.util.List<MetricDescriptor> metrics) {
625640

626641
/**
627642
* Defines the monitored resources used by this service. This is required by the
628-
* Service.monitoring and Service.logging configurations.
643+
* `Service.monitoring` and `Service.logging` configurations.
629644
* @return value or {@code null} for none
630645
*/
631646
public java.util.List<MonitoredResourceDescriptor> getMonitoredResources() {
@@ -634,7 +649,7 @@ public java.util.List<MonitoredResourceDescriptor> getMonitoredResources() {
634649

635650
/**
636651
* Defines the monitored resources used by this service. This is required by the
637-
* Service.monitoring and Service.logging configurations.
652+
* `Service.monitoring` and `Service.logging` configurations.
638653
* @param monitoredResources monitoredResources or {@code null} for none
639654
*/
640655
public Service setMonitoredResources(java.util.List<MonitoredResourceDescriptor> monitoredResources) {

0 commit comments

Comments
 (0)